I used F2FS file system on data and cache partition and now its like i have a nexus 6p there is little to no UI lag or even any delay in opening apps.
Used to use F2FS on my previous devices(lg g2, Galaxy S2 and Xperia Z ultra) and man the effect was noticeable from day1, so tried it on this device and guess what it works flawlessly.
Here is a thread for comparition between F2FS vs EXT4(the default one).
So here is guide for you guys its Highly dangerous setup so please follow this if you know how to restore a SoftBrick status.
Caution:--
ONLY FOR CM13 and N based roms which support F2FS, If used on OOS3 or H2OS(mm) it will result in not converting the data/cache partition properly and will end up 0mb partition because of modified twrp used for these roms and you wont be able to be mount your internal memory too.
Backup backup backup. Make sure you take a backup and save it on your pc before performing the steps.
Things you can do to make your life easier:--
Clean flashing of rom is highly recommended but you can try dirty too as it does not touch the system partition but still clean is preferred.
Use ZipMe app to make a zip file for your apps so that installing all those apps becomes easier if coming from clean flash.
Full backup of your internal memory files as this setup formats even your internal memory even if you select only the data partion.
Best stay on stock kernel as there is no mention of any cm13 custom kernel to have f2fs support. They may have but in any thread of these i couldnt find f2fs word anywhere. So stay stock.
Rom compatibility/tried on:--
Exodus.
All cm13 based roms work flawlessly.
LineageOS14
Kernel compatibility:--
Darkbeast
Stock kernel or the one provided by default by the rom.
Yarpin's kernel.
Benschold kernel.
Note:- Please this method has worked on F2FS supported roms only before following any of it make sure your rom developer has incorporated f2fs support in his/her rom.
Steps:--
Use revert2lollipop to revert back to lollipop firmware if you are on OOS3/H2OS and wanna try f2fs.
Download and upgrade your twrp version to latest.
Copy the .img file to your root folder and reboot to twrp select--->Install-->Install images button-->select the new .img file you copied and reboot to recovery.
Format everything including your internal memory.
Go to advance wipe and select cache partition and select repair and change file system, once there select change file system and change it to f2fs and swipe. Images.
Repeat the above step for data partition.
Go to twrp settings and tick rm -rf, this will make your device retain your f2fs system after clean flash of some roms.
Reboot your recovery once and copy back all your data back to your internal memory.
Flash the required modem for your rom and clean flash your rom for the best bug free experience.
Benefit!
PS:- Please if someone daring does use this on another rom and if everything works flawlessly then please post about it, i will add it compatible roms/kernels.
Press thanks if it worked for you and do post about any improvements you saw.
Credits:-
@Androguide.fr
@ opt devs for awesome roms.
@ jrummy Apps for zipme app.
Seems rock solid for me! I'm running AICP Nightlies .... Running great! Getting it all set back up but no issues at all.
jbarcus81 said:
Seems rock solid for me! I'm running AICP Nightlies .... Running great! Getting it all set back up but no issues at all.
Click to expand...
Click to collapse
Ohhh great will add aicp in the compatible ROMs.
BTW are you on stock aicp kernel?
So we need stock kernel
isoladisegnata said:
So we need stock kernel
Click to expand...
Click to collapse
Yeah for now, since for f2fs roms to work properly the kernel also needs to support the file system and no custom kernel has f2fs as a feature mentioned in their list. I couldnt find anything related to f2fs even with the search function, will update the thread if f2fs support is confirmed by the devs of the respective kernels.
chintu1234 said:
Ohhh great will add aicp in the compatible ROMs.
BTW are you on stock aicp kernel?
Click to expand...
Click to collapse
Yeah.. Not using any kernel other than what's built into AICP from the OP.. :highfive:
Added yarpin's kernel to the compatible kernels.
Using AOKP with stock kernel perfectly! Thanks for this OP and also for sharing the ZipMe app! Which is amazing, Didnt work for me on CM13 though but love the idea! JRummy devs make the best apps
Can i use titanium backup to app+data?
isoladisegnata said:
Can i use titanium backup to app+data?
Click to expand...
Click to collapse
Yes you can.
A noob questions:
- How do I put my data in internal sd...?
. I save the internal memory sd on pc before
. will format everything including internal memory.
. change cache and data partition in F2FS...
when I reboot in twrp.. how do I put all data in sd card?..with ROM ..Modem etc..?
is it possible? if I connect the phone to usb..I'll see internal memory?
isoladisegnata said:
A noob questions:
- How do I put my data in internal sd...?
. I save the internal memory sd on pc before
. will format everything including internal memory.
. change cache and data partition in F2FS...
when I reboot in twrp.. how do I put all data in sd card?..with ROM ..Modem etc..?
is it possible? if I connect the phone to usb..I'll see internal memory?
Click to expand...
Click to collapse
Yeah if you connect to PC after conversion you will be able to access your memory as you used to with default system.
Just make sure to wipe system,data,cache,dalvic,internal before going any further for good measure.
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
boulder96 said:
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
Click to expand...
Click to collapse
how it compare with ext4? u see the different?
Sent from my ONE A2003 using XDA-Developers mobile app
Tatsuya_ said:
how it compare with ext4? u see the different?
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Honestly I wouldn't notice a difference unless you put 2 phones running ext4 and f2fs side by side for comparison. But if I were to really force an answer out from myself I would say that app opening and switching times are greatly reduced.
you really deserved more thanks for this guide.. keep it up and great work!
boulder96 said:
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
Click to expand...
Click to collapse
Nice! thanks for reporting, will add to OP.
Works great with Exodus ROM !!!
very good. Thank you very much. wonder why only cache and data? What about the system partition?
rakieta said:
very good. Thank you very much. wonder why only cache and data? What about the system partition?
Click to expand...
Click to collapse
It really isnt needed because in system partition most of the time only read function is done while data and cache constantly need read/write functions to be performed so you wont notice anything different if you format system to f2fs.
Related
I know i777 does not officially have SlimKat so I apologize if it's not appropriate to ask this question.
I'm using SlimKat 2.6 RC2 from 9100 forum and got one problem. My internal storage goes haywire out of no where. It does that I have ~300MB available but I've only used up around 200 MB to include cache data. The bar on top of the screen shows that I still got plenty of space left. I tried clearing everything and even re-flash but nothing help.
After a full re-flash it would be fine, but as soon as I install an app, the available internal memory would drop.
Any help is greatly appreciated it. Thank you!
I'm on the same rom as you, so I just checked my storage: sorry to report that mine is working fine - and I think yours is also. When you wipe in recovery, you must format /system, along with the other stuff (if you aren't already doing that).
My advice would be to use a file explorer and manually check what you have filling up your phone. If you were recently on a stock rom I would manually delete the preload folder (the only danger in doing that is it might corrupt a backup of a stock rom, if you have one. If you don't have that type of backup, delete away), or even something like this app can help: https://play.google.com/store/apps/details?id=com.cleanmaster.mguard
Yes, You need to format system from Recovery and that should fix that, by the way do you install this rom with CWM or TWRP?? Because my i777 with kitkat the phone keeps rebooting itself i dont know why
Thanks!
juanqui1893 said:
...do you install this rom with CWM or TWRP??
Click to expand...
Click to collapse
I use TWRP for KK, have never had a problem at all.
Render Broken Kernel??
juanqui1893 said:
Render Broken Kernel??
Click to expand...
Click to collapse
Yes, it's currently the only kernel that will work on ported KK roms.
SteveMurphy said:
Yes, it's currently the only kernel that will work on ported KK roms.
Click to expand...
Click to collapse
Ok, I wanna port Celeriter rom 4.4.2 for i9100 to my i777, do you think that this procedure can brick my phone??
Regards!
juanqui1893 said:
Ok, I wanna port Celeriter rom 4.4.2 for i9100 to my i777, do you think that this procedure can brick my phone??
Regards!
Click to expand...
Click to collapse
You shouldn't have any trouble porting that rom, but because it's based on CM and not Slim, you can't use Renders' Slim kernel. I would suggest the TWRP CM version, only because I've not used the CWM version personally, but you shouldn't have any issues. Just make sure you follow the OP instructions and use the gapp package they suggest.
SteveMurphy said:
You shouldn't have any trouble porting that rom, but because it's based on CM and not Slim, you can't use Renders' Slim kernel. I would suggest the TWRP CM version, only because I've not used the CWM version personally, but you shouldn't have any issues. Just make sure you follow the OP instructions and use the gapp package they suggest.
Click to expand...
Click to collapse
AOcP announce the update to final version , As soon as they publicate the rom I'll flash that rom, cause I like Celeriter and Resurrection Remix, both kitkat, but Its based on AOSP and Celeriter is based on CM11 with RenderBroken I guess it will work fine, but lets try lol
Thanks for your help!
SteveMurphy said:
I'm on the same rom as you, so I just checked my storage: sorry to report that mine is working fine - and I think yours is also. When you wipe in recovery, you must format /system, along with the other stuff (if you aren't already doing that).
My advice would be to use a file explorer and manually check what you have filling up your phone. If you were recently on a stock rom I would manually delete the preload folder (the only danger in doing that is it might corrupt a backup of a stock rom, if you have one. If you don't have that type of backup, delete away), or even something like this app can help: https://play.google.com/store/apps/details?id=com.cleanmaster.mguard
Click to expand...
Click to collapse
Thanks for the help. If you look at the screen shot I included, the top bar says there's still plenty of room left. So, in actuality, the phone is almost empty with the exception of the 2 apps I installed (SuperSU and TiBu). Maybe there's just bad remnant of previous ROMs. I came from AoCP to SlimKat.
Anyhow, I reflash the rom again without using MrCook's wipe script and pretty much wipe and format everything that's possible. The phone is somehow working normally now *finger crossed*. I think the problem is the /data. MrCook's script doesn't format /data, and I never had to format data, only /system. But this time, I include /data with all the formatings. But who knows, it could be something else.
Thanks again.
Edit: I take it back, I just looked over mr-cook's wipe script and the script does format /data...so not sure what's the problem was.
Edit 2: Just in case anybody is reading this thread. Don't use mr-cook's wipe script for SlimKat 2.6, wipe and format everything manually. I just tried again with the RC3 and mr-cook's wipe script didn't clear everything so my internal storage was still filled up from previous ROM. Just FYI.
juanqui1893 said:
Yes, You need to format system from Recovery and that should fix that, by the way do you install this rom with CWM or TWRP?? Because my i777 with kitkat the phone keeps rebooting itself i dont know why
Thanks!
Click to expand...
Click to collapse
Formatting /system didn't help, I format /system every time I flash new ROM. But to your question, I'm using Render's TWRP and do not get any reboot so far.
So let me get this straight, and please quote me; we can actually flash ROMs from the i9100 forum as long as steps are taken to manually format partitions? Cause man, I've just been dying to give SlimKat a whirl on my i777, along with checking out other ROMs there. The i777 just doesn't seem to be as popular as its counterpart.
Sent from my SGH-I777 using XDA Premium 4 mobile app
CyanJustice said:
So let me get this straight, and please quote me; we can actually flash ROMs from the i9100 forum as long as steps are taken to manually format partitions? Cause man, I've just been dying to give SlimKat a whirl on my i777, along with checking out other ROMs there. The i777 just doesn't seem to be as popular as its counterpart.
Sent from my SGH-I777 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's as straight as it can be from me. I have i777 and is using SlimKat 2.6 RC3 weeklies with RenderBroken's kernel right now. I don't know about others but I have to manually wipe it. Also, I'm using TWRP when I do the wipes so I'm not sure if mr-cook's wipe script works differently with TWRP and CWM or not. Either way, manually wipe everything with TWRP is my way of doing it now.
And hmm, I don't know about ROMs but SlimKat works, and you need RenderBroken's kernel for it to work completely because 9100 doesn't have the same buttons as i777.
wolftou said:
I don't know about ROMs but SlimKat works, and you need RenderBroken's kernel for it to work completely because 9100 doesn't have the same buttons as i777.
Click to expand...
Click to collapse
This is true, but the real reason you can only use Renders' slim kernel on SlimKat is because they use different ramdisks: no other kernel will work on that rom.
For other i9100 KK roms, his TWRP and CWM kernels work, so for those not based on Slim you can use whichever you prefer.
SteveMurphy said:
This is true, but the real reason you can only use Renders' slim kernel on SlimKat is because they use different ramdisks: no other kernel will work on that rom.
For other i9100 KK roms, his TWRP and CWM kernels work, so for those not based on Slim you can use whichever you prefer.
Click to expand...
Click to collapse
Great! So hey, help me out; which partitions do I have to wipe exactly, in which order? A chronological how-to would get my thanks for sure. SlimKat has always been my favorite ROM.
Sent from my SGH-I777 using XDA Premium 4 mobile app
CyanJustice said:
...which partitions do I have to wipe exactly, in which order?
Click to expand...
Click to collapse
You only need to manually format /system when installing other roms, along with the usual factory reset/wipe data stuff. As long as you install a rom after you format system, the order doesn't matter.
Example, you could format system first then factory reset - the order is irrelevant. What the system format is doing is removing the current system installed on the device (the OS). All a factory reset does is restore the current rom to basic factory settings - it doesn't erase anything in terms of the OS.
That's why formatting /system (especially when changing bases) is so important; it prepares the device for the new rom you install by allowing a clean install every time.
SteveMurphy said:
You only need to manually format /system when installing other roms, along with the usual factory reset/wipe data stuff. As long as you install a rom after you format system, the order doesn't matter.
Example, you could format system first then factory reset - the order is irrelevant. What the system format is doing is removing the current system installed on the device (the OS). All a factory reset does is restore the current rom to basic factory settings - it doesn't erase anything in terms of the OS.
That's why formatting /system (especially when changing bases) is so important; it prepares the device for the new rom you install by allowing a clean install every time.
Click to expand...
Click to collapse
Cool, thanks for the info! You guys generally like SlimKat? Is the memory usage better CM or Omni?
Sent from my SGH-I777 using XDA Premium 4 mobile app
CyanJustice said:
Cool, thanks for the info! You guys generally like SlimKat? Is the memory usage better CM or Omni?
Click to expand...
Click to collapse
Try all 3 and decide which one you prefer; we all like different things in our roms.
I may try and port slimkat over tonight, you think people would like that?
Sent from my SGH-I777 using XDA Premium 4 mobile app
CyanJustice said:
I may try and port slimkat over tonight, you think people would like that?
Sent from my SGH-I777 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The Slim team doesn't approve of ports, I'm afraid you'd get shut down. I think people would like it, but I'd advise against posting it.
The workaround would be to build your own version from source, with additions from other roms. That way it isn't a straight port.
CyanJustice said:
I may try and port slimkat over tonight, you think people would like that?
Sent from my SGH-I777 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You know, if you're capable, I'd say just join the Slim Team. They discontinued i777 probably because of lack of device or developer. So if you can port/dev, why not just join the team and head up the i777 development. And since the i9100 and i777 is practically the same device, it wouldn't be too hard to work with the i9100 dev team. Just a thought.
I'm using the SlimKat 3 with Render's latest CWM test kernel and everything is working well so far.
hi
here is the flashable d855 20d rom
Italy
for 16/32gb
testet
how to :
1.install latest 4.4.2
2.root then install recovery (unlock)
3.(optional , wipe cache,dalvik,system,data,internal)
4.copy to memory then flash through recovery
5.then reboot
6.go to recovery and flash super su
all partitions are stock
rom:
Code:
http://uptobox.com/znwrofiifz9u
http://oceanhost.eu/aowq7vl2h57k/20d_g0dsend313v2.zip.htm
http://ul.to/631f6ec9
md5 :
067651767d3f59cc68673b9bc56a4ee0
supersu:
Code:
http://download.chainfire.eu/636/SuperSU/UPDATE-SuperSU-v2.37.zip
Credit:
@cybojenix
@bump! team
@thecubed
Skin1980_autobump script
if you have problem with using internal memory
in cmd type
Code:
adb shell
su
restorecon -v -R /data/media
or
adb shell
su
restorecon -FR /data/media/
It includes 20D bumped kernel or another kernel?
Thank you!
davidep85 said:
It includes 20D bumped kernel or another kernel?
Click to expand...
Click to collapse
Well, if it is Stock, then it should be the original 20D kernel. The OP did not say otherwise.
tobitege said:
Well, if it is Stock, then it should be the original 20D kernel. The OP did not say otherwise.
Click to expand...
Click to collapse
yes
all partitions are stock
mlm1102003 said:
yes
all partitions are stock
Click to expand...
Click to collapse
Can you upload the kernel please ..cos i flashed kdz rom and im not rooted ..my internet too slow to download this rom
rom is not working for me, I have problems with secure boot, like not bumped kernel. restored my backup.
davidep85 said:
rom is not working for me, I have problems with secure boot, like not bumped kernel. restored my backup.
Click to expand...
Click to collapse
tested 10 times
check md5
Code:
9e4082949fdc71da61d8254ccb8d5161
Hi, thank you for the great work! I am on AOSP liquid smooth rom. Is it possible to flash/update only the modem?
chaosnever said:
Hi, thank you for the great work! I am on AOSP liquid smooth rom. Is it possible to flash/update only the modem?
Click to expand...
Click to collapse
the best way to install it
is in first post
install 10n
then install root and recovery(unlock)
then flash the rom
mlm1102003 said:
the best way to install it
is in first post
install 10n
then install root and recovery(unlock)
then flash the rom
Click to expand...
Click to collapse
Entirely clear,
but one thing I am not clear (in general) about the internal SD memory: moving from KitKat to Lollipop ROM by using TWRP recovery should I format the internal SD (or delete all content manually)?
In generally, I didn't understand if there's an incompatibility of data applications residues coming from KitKat that might annoy Lollipop.
Thanks in advance
Romulus76 said:
Entirely clear,
but one thing I am not clear (in general) about the internal SD memory: moving from KitKat to Lollipop ROM by using TWRP recovery should I format the internal SD (or delete all content manually)?
In generally, I didn't understand if there's an incompatibility of data applications residues coming from KitKat that might annoy Lollipop.
Thanks in advance
Click to expand...
Click to collapse
/system format means your Android system is removed
/data format means your apps are erased
/cache format means.. pretty much what it says
That's all what you need for a new ROM. It's called a "clean flash"
A dirty flash would be the above, but without formatting /data. This retains the installed apps and their settings, but it might upset the new system and cause incompatibilities. It's not a recommended move.
But now, if, for some reason (like selling your phone), you'd like to "FULLY wipe" the phone
/data/media fully wipes your visible folders (not system ones, but the one where apps stores data files, photos, images, music etc)
So wiping Data is mandatory? No way to keep the apps, when coming from an older stock rom 10l?
Download link? I tried all links but only ads become in my screen...
thedoginthewok said:
So wiping Data is mandatory? No way to keep the apps, when coming from an older stock rom 10l?
Click to expand...
Click to collapse
Yes, always do when between different Android or ROM versions. Dirty flashing usually only works without issues when upgrading from a ROM version (example) 4.0 to 4.1 etc. But going from Kitkat to Lollipop it is required or the phone may not boot at all. There are obviously plenty of tools to help with backup/restore of apps+settings, but time spent on fresh install well spent compared to fixing issues or doing it all over again later.
Please anyone who downloaded this rom upload the kernel
Hi i have a few questions about this rom
1-is it necessary to install a 4.4.2 rom and then flash this rom or i can clean flash this rom over android HD 4.0 rom that i have right now ?
2-is this rom smooth or it has lags ?
3-how much screen time do u get with this rom?
Thanks in advance
Stupid quesiton, sorry, delete this post.
mlm1102003 said:
hi
rom:
Code:
updating
md5 :
Click to expand...
Click to collapse
Thanks for all, but where is the link
Edit : Link is back... You uploaded 313V2.... What's the difference between V1 and V2 ?????
TeamR said:
Thanks for all, but where is the link
Edit : Link is back... You uploaded 313V2.... What's the difference between V1 and V2 ?????
Click to expand...
Click to collapse
v1 sometime have problem with system ui (it does not load)
v2 just fix that problem
DualBootPatcher
A big thanks to @chenxiaolong for originally creating this wonderful utility.
What is dual booting?
It is like having 2 ROMs installed at once, and you can switch to other ROM without flashing it all over again, your data, stuff everything is preserved.
How to use the patcher?
A quote from the author himself:
Android
Download the patcher apk and run it. Tap "Patch Zip File" from the navigation drawer and choose the file you want to patch.
Windows (GUI)
Double click DualBootPatcher.exe and choose the file you want to patch.
--------
After patching the zip file, a new file, like some_rom_dual.zip file will be created. For example, patching ktoonsez's
KT-SGS4-JB4.3-AOSP-TMO-08.28.2013.zip
would create a new
KT-SGS4-JB4.3-AOSP-TMO-08.28.2013_dual.zip
Click to expand...
Click to collapse
For now we dont have Windows executable, so only prefer to use the android app.
How to dual boot?
Before doing anything, download the Dual Boot Patcher app and the DualBootUtilities.zip from the download section below.
The patcher offers several locations for installing ROMs:
Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.
Dual: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.
Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Galaxy S4, that have a massive cache partition.
Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.
With that said, let's get to the "how to"!
First, boot into your primary ROM and install the Dual Boot Patcher app
Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install. You can select one of the installation locations described above.
There are two ways of flashing the patched zip file. You can either flash it normally from recovery or flash it using the in-app flashing feature. Both methods are explained below.
Flashing from recovery
To flash from recovery, just flash the patched zip file like you would for any other zip. Nice and simple.
In-app flashing
To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.
A normal backup from recovery will backup every ROM. If you would like to back up ROMs individually, please see @rlorange's awesome tool: http://forum.xda-developers.com/showthread.php?t=2491299
Click to expand...
Click to collapse
App and data sharing?
DualBootPatcher very recently got support for sharing apps and their data across ROMs. Maybe sharing is somewhat of a misleading term. The feature actually makes Android load the shared apps and data from a centralized location, /data/multiboot/_appsharing. So you're not sharing apps from one ROM to another per se. The ROMs are just loading the apps from one shared location. Let me make this clearer with an analogy.
Think of the people in a company office as ROMs. You want to share with your coworkers some documents (apps). Instead of telling them to come over to your desk to see those documents (sharing apps from one ROM to another), everyone goes to the conference room to look at the documents together (loading apps from a shared location). That's how app and data sharing is implemented.
To use app sharing, follow these steps in every ROM that you want to use app sharing:
Install the app you want to share
Open DualBootPatcher and go to "App Sharing" in the navigation drawer
Enable individual app sharing
Tap "Manage shared applications" and enable APK/data sharing for the app
Reboot
When you uninstall an app that's shared, it simply become unshared for the current ROM. That way, other ROMs are not affected. To continue the analogy above, if you quit your job, you won't shred the documents that everybody else was looking at.
If you unshare an app's data, it will go back to using the data it had before it was shared. In other words, you leave the conference room and go back to work on your own documents at your desk.
(Hope my analogy didn't suck too much )
Click to expand...
Click to collapse
How do I?
Switch the ROM if something doesn't work properly?
You can flash the DualBootUtilities zip from recovery. It will provide a menu interface that allows switching to the various ROMs.
If you have TWRP, you can also switch manually by tapping Install -> Images (bottom right) -> Go to /sdcard/MultiBoot/[Your ROM]/ -> flash boot.img.
Wipe /cache, /data, /system, or dalvik-cache?
The easiest way is to do it from the app while booted in another ROM. Just go to "Roms" in the navigation drawer, tap the 3 dots options menu for the ROM you want to wipe, and tap "Wipe ROM".
Alternatively, flash the DualBootUtilities zip from recovery, which will also allow you to wipe a ROM.
NOTE: Don't use the recovery's built-in wiping abilities as that may delete non-primary ROMs!
Update the primary ROM?
Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.
Update a non-primary ROM?
Patch and flash the zip exactly like how you did it the first time.
Flash a mod or custom kernel for the primary ROM?
Patch it for primary before flashing. If the zip does not wipe /cache, it is also safe to flash it directly.
Flash a mod or custom kernel for a non-primary ROM?
Just patch and flash it
Click to expand...
Click to collapse
Just in case, if the app does not work, use the DualBootUtilities.zip from recovery to switch.
Downloads
App - https://www.androidfilehost.com/?fid=24438995911976818
Utilities - https://www.androidfilehost.com/?fid=24438995911976820
Credits
@chenxiaolong and to all the contributors in this project
XDA:DevDB Information
DualBootPatcher for Samsung Galaxy Star, ROM for the Samsung Galaxy Star
Contributors
corphish, chenxiaolong
ROM OS Version: 4.2.x Jelly Bean
Version Information
Status: Beta
Created 2016-03-11
Last Updated 2016-03-11
Reserved
Info about partitions
Our system partition is large enough to hold both CM10.1 and CM11.
I am currently using CM11 as primary and CM10.1 as secondary ROM.
In any case, one of the ROMs is stock, you may want to install the other on some other partitions.
It is recommended to use stock as primary.
If you are installing any ROM on ext-sdcard, you would need a fast sdcard.
corphish said:
Info about partitions
Our system partition is large enough to hold both CM10.1 and CM11.
I am currently using CM11 as primary and CM10.1 as secondary ROM.
In any case, one of the ROMs is stock, you may want to install the other on some other partitions.
It is recommended to use stock as primary.
If you are installing any ROM on ext-sdcard, you would need a fast sdcard.
Click to expand...
Click to collapse
Just in one day you did it ! you're GREAT corphish !
At all can the system partition hold both of cm12.1 and JB4.1 ? also what about kernel ? will the both of them use the same one or each one uses its individual one ?
This will save a lot of time for me when I want to test cm12.1 as I have to flashed it then restore the one I use :crying:
thanks @corphish
i cant open shared apps menu while on cm11(primary).. and rom menu wont open too in cm10(secondary) but can access shared apps menu
LahKeda said:
Just in one day you did it ! you're GREAT corphish !
At all can the system partition hold both of cm12.1 and JB4.1 ? also what about kernel ? will the both of them use the same one or each one uses its individual one ?
This will save a lot of time for me when I want to test cm12.1 as I have to flashed it then restore the one I use :crying:
Click to expand...
Click to collapse
You will have to check how much space is left in system when on stock. Then calculate accordingly.
And kernel used is different for different ROMs.
aLchiEro_06 said:
thanks @corphish
i cant open shared apps menu while on cm11(primary).. and rom menu wont open too in cm10(secondary) but can access shared apps menu
Click to expand...
Click to collapse
App works perfectly fine on kitkat. But not in jb because it is not able to load libs, I will have a look on it.
corphish said:
You will have to check how much space is left in system when on stock. Then calculate accordingly.
And kernel used is different for different ROMs.
Really ! Ok I will try it !
Click to expand...
Click to collapse
@corphish
That moment, when u helped me to remember about somebody who tried to make multi-boot supporting kernel for gts5282.
And we have the thing now.
---------- Post added at 12:54 PM ---------- Previous post was at 12:53 PM ----------
[/COLOR @corphish
That moment, when u helped me to remember about somebody who tried to make multi-boot supporting kernel for gts5282.
And we have the thing now.
can i instal stock jb 4 .1.2 on my secondary partition? ,, thanks
duck'man said:
can i instal stock jb 4 .1.2 on my secondary partition? ,, thanks
Click to expand...
Click to collapse
you need to patch it's zip first , and if you will use original ..tar file you won't be able to do it !
LahKeda said:
you need to patch it's zip first , and if you will use original ..tar file you won't be able to do it !
Click to expand...
Click to collapse
for primary partition its only working for KK+ right?
duck'man said:
can i instal stock jb 4 .1.2 on my secondary partition? ,, thanks
Click to expand...
Click to collapse
yah
duck'man said:
for primary partition its only working for KK+ right?
Click to expand...
Click to collapse
I don't think so you can flash any ROM in primary one !
LahKeda said:
I don't think so you can flash any ROM in primary one !
Click to expand...
Click to collapse
im using 4.1.2,, it cant instal dualbootpatcher.apk
duck'man said:
im using 4.1.2,, it cant instal dualbootpatcher.apk
Click to expand...
Click to collapse
this app still not usable for jb
How to delete or disable this dual boot
Any way
Hridul P.K said:
How to delete or disable this dual boot
Any way
Click to expand...
Click to collapse
by wiping system/data/cache/dalvik from recovery
Dark Knight Begins said:
by wiping system/data/cache/dalvik from recovery
Click to expand...
Click to collapse
Thanks man
Going to boot cm 11 and cm 12 in external sd
Is there any problem iam gonna face
Or
Can i flash a new cm 12.1 on old cm 12.1
Hridul P.K said:
Thanks man
Going to boot cm 11 and cm 12 in external sd
Is there any problem iam gonna face
Or
Can i flash a new cm 12.1 on old cm 12.1
Click to expand...
Click to collapse
to do a clean install u should wipe things first.
hit d thank button, don't say it
Help me plzzzz..........
I am using gts5282 resurrection remix marshmallow custom ROM and I want dual boot but my kernel is not supported and in the previous link of gts5282 in which the developer has given a link of kernel which supports dual boot. This is the link- http://forum.xda-developers.com/showthread.php?t=2733137.
But the download link was expired so I kindly request you guys who downloaded that kernel to please update that link or just upload that kernel in this blog so that I can flash that kernel . And MY device will also be dual boot supported .Your help will be appreciated :good: .
Mohsin Pathan said:
I am using gts5282 resurrection remix marshmallow custom ROM and I want dual boot but my kernel is not supported and in the previous link of gts5282 in which the developer has given a link of kernel which supports dual boot. This is the link- http://forum.xda-developers.com/showthread.php?t=2733137.
But the download link was expired so I kindly request you guys who downloaded that kernel to please update that link or just upload that kernel in this blog so that I can flash that kernel . And MY device will also be dual boot supported .Your help will be appreciated :good: .
Click to expand...
Click to collapse
It's not necessary just use this tool and it will patch the kernel image for you .
So I tried the Flash TWRP recovery version 3.0.3-1 and found out that it can format the cache partition to f2fs without any error. It also persistent across reboot. Been running since morning and don't see any issue with performance. So I see this as big step forward for Nexus 6p phone. My device have data and cache are running on F2FS and with the flash kernel.
ll
minhgi said:
So I tried the Flash TWRP recovery version 3.0.3-1 and found out that it can format the cache partition to f2fs without any error. It also persistent across reboot. Been running since morning and don't see any issue with performance. So I see this as big step forward for Nexus 6p phone. My device have data and cache are running on F2FS and with the flash kernel.
Click to expand...
Click to collapse
where did you get 3.0.3-1 if you don't mind me asking?
And doesn't f2fs not play so well with supersu? And i heard, on the 6p, f2fs isn't any faster than ext4.
Check the flash kernel page at the end of the thread. The Flash had a link that point to his own personal site. It should be located in the TWRP folder. Anyway, I didn't link it directly since he have gone private at the moment.
I am using the latest SuperSu 2.79S3.
Does it work with pure nexus?
minhgi said:
Check the flash kernel page at the end of the thread. The Flash had a link that point to his own personal site. It should be located in the TWRP folder. Anyway, I didn't link it directly since he have gone private at the moment.
I am using the latest SuperSu 2.79S3.
Click to expand...
Click to collapse
His personal site that you directed me to does not have that link. All it has is a link for his kernel. Would you please PM me the exact link?
TrainNanpaMaster said:
His personal site that you directed me to does not have that link. All it has is a link for his kernel. Would you please PM me the exact link?
Click to expand...
Click to collapse
It's definitely there.
Sent from my Nexus 6P using Tapatalk
minhgi said:
It's definitely there.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It's not the official link. Might be an unofficial release.
The Frustrated Indian said:
It's not the official link. Might be an unofficial release.
Click to expand...
Click to collapse
Official TWRP does not support F2FS. You need this version made by The Flash (XDA moderator) in order to use F2FS, along with a ROM and kernel that support it. He's been supporting F2FS TWRP for some time now. That's his personal website.
So /system is useless since it's 'read-only' 99% of the time (this was Flashes findings he posted in his thread, feel free to search it yourself). He did note that he saw significant speed improvements in his testing for /data.
If you do decide to give it a try, you'll probably want to back up all of your data and decrypt your phone by formatting userdata. Older releases of Flashes F2FS TWRP do not support encryption. Even if your pattern/pin/pass is correct TWRP will say it's not and won't let you in. I haven't tried that newest release, but I did on the older ones. Maybe someone else could speak to encryption on 3.0.3-1. Aside from that, converting from F2FS will format your internal SD regardless, even if his TWRP works on encrypted devices. So back up and give it a shot.
Edit: if anyone stumbles upon this, Flashes 3.0.3-1 DOES work on encrypted devices now.
which rom are you on ?
As long as you use flash kernel, you can run any rom besides stock with f2fs. Ive used almost every rom for our phone with f2fs. There are quite a few unofficial versions of twrp that supports f2fs. The 3.0.3.. versions are really slow at restoring nandroid backups for some reason. I use multi rom twrp. I forget the version, its 3.0.2-2 i think.
Cache
It's official. I'm now a BELIEVER.
In F2FS.
I finally took the plunge and converted to it.
To anyone that I showed doubt to in regards to f2fs, I sincerely apologize. It is indeed noticeably faster than ext4. Apps fly open now, everything is glassier, and snappier. There is definitely a profoundly noticeable difference over ext4. In fact, it really feels like I have a new device. The best way I can explain it - is that the phone feels like it's running at a constant 60fps now.
I was able to move my ext4 nandroid over to my freshly partitioned f2fs 6p. This saved HUGE amounts of time setting everything back up. I just had to copy over TWRP backup (and restore) the DCIM folder, as well as my titanium backup folder, along with all the standard rom stuff like gapps, rom, kernel etc.
All in all, I'm extremely impressed with f2fs. On paper, it looks to be only marginally faster than ext4. But in real life, you can definitely see a big difference. Now a believer.
Ok, so I took the plunge into this F2FS thing. I followed this tutorial. Wiped everything including internal cache, converted to f2fs. Now, I'm trying to copy rom and gaaps from pc to phone by mounting system and data but having issues. My pc can see the phone in explorer but can't seem to copy. screenshots below.
Any help would be greatly appreciated.
EDIT: silly me, forgot to reboot the recovery lol.
TrainNanpaMaster said:
It's official. I'm now a BELIEVER.
In F2FS.
I finally took the plunge and converted to it.
To anyone that I showed doubt to in regards to f2fs, I sincerely apologize. It is indeed noticeably faster than ext4. Apps fly open now, everything is glassier, and snappier. There is definitely a profoundly noticeable difference over ext4. In fact, it really feels like I have a new device. The best way I can explain it - is that the phone feels like it's running at a constant 60fps now.
I was able to move my ext4 nandroid over to my freshly partitioned f2fs 6p. This saved HUGE amounts of time setting everything back up. I just had to copy over TWRP backup (and restore) the DCIM folder, as well as my titanium backup folder, along with all the standard rom stuff like gapps, rom, kernel etc.
All in all, I'm extremely impressed with f2fs. On paper, it looks to be only marginally faster than ext4. But in real life, you can definitely see a big difference. Now a believer.
Click to expand...
Click to collapse
Somehow my nandroid backup of lineage os wiped internal storage again (I restored after formatting /data and /cache to f2fs). Ended up doing clean install.
Anyone tried this using custom kernels? whenever i seem to flash a custom kernel nathans TWRP throws the error of either ramdisk unpack failed or recovery busybox problem.
xSilas43 said:
Anyone tried this using custom kernels? whenever i seem to flash a custom kernel nathans TWRP throws the error of either ramdisk unpack failed or recovery busybox problem.
Click to expand...
Click to collapse
I use a kernel that i think is even better than flash kernel (IMO). It's fundamentally identical to Uber kernel, but made by a team member. He also makes uberstock nightlies which is the best ROM in my opinion because it's gcc 6.3.1 and clanged to 3.9.1. Combined with F2FS, and it's pure glassy snappy butter multiplied to power level 9000.
I've literally flashed every single ROM including PureNexus, and these kernel and nightlies absolutely teabag everything I've tried.
Silas i know you know about this already, but The kernels and nightlies can be found here:
https://temp.bbqdroid.org/
TrainNanpaMaster said:
I use a kernel that i think is even better than flash kernel (IMO). It's fundamentally identical to Uber kernel, but made by a team member. He also makes uberstock nightlies which is the best ROM in my opinion because it's gcc 6.3.1 and clanged to 3.9.1. Combined with F2FS, and it's pure glassy snappy butter multiplied to power level 9000.
I've literally flashed every single ROM including PureNexus, and these kernel and nightlies absolutely teabag everything I've tried.
Silas i know you know about this already, but The kernels and nightlies can be found here:
https://temp.bbqdroid.org/
Click to expand...
Click to collapse
yeah that's the kernel i normally use, however, i tried using r48 and r49 still get the same error, i even tried flash's kernel and I'm getting the same error, guess ill just stick with stock kernel for now. Very weird it worked fine for you but not me.
EDIT:
Somehow when i decided to try reflashing except not using SuperSU the kernel was able to flash.
Try a different twrp. The multirom twrp supports f2fs and a few more. Ive tried alot of them and never seen an error like yours.
TrainNanpaMaster said:
I use a kernel that i think is even better than flash kernel (IMO). It's fundamentally identical to Uber kernel, but made by a team member. He also makes uberstock nightlies which is the best ROM in my opinion because it's gcc 6.3.1 and clanged to 3.9.1. Combined with F2FS, and it's pure glassy snappy butter multiplied to power level 9000.
I've literally flashed every single ROM including PureNexus, and these kernel and nightlies absolutely teabag everything I've tried.
Silas i know you know about this already, but The kernels and nightlies can be found here:
https://temp.bbqdroid.org/
Click to expand...
Click to collapse
why is this rom and kernel not on xda???? or maybe i havent spotted it..... it is SUPER SMOOTH, in F2FS it is running amazing... didnt mess with the kernel at all, and this thing is fire!!!!
i42o said:
why is this rom and kernel not on xda???? or maybe i havent spotted it..... it is SUPER SMOOTH, in F2FS it is running amazing... didnt mess with the kernel at all, and this thing is fire!!!!
Click to expand...
Click to collapse
It's fundamentally very similar to Uberstock ROM and kernel.
A lot of people on these forums think Purenexus is the best rom ever. (most likely because the developer really branches out with social media and branding).
They obviously haven't tried this or uberstock.
Introduction
Hello all, this is my version of TWRP for the Nexus 6P, which includes the ability to convert your /data and /cache partitions to F2FS. This will stay inline with TWRP's changes for the most part, the changes will be listed below.
What in the world is F2FS?
From Wikipedia:
F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.
The motive for F2FS was to build a file system that, from the start, takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
F2FS was designed on a basis of a log-structured file system approach, which it adapted to newer forms of storage. Jaegeuk Kim, the principal F2FS author, has stated that it remedies some known issues of the older log-structured file systems, such as the snowball effect of wandering trees and high cleaning overhead. In addition, since a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme (such as the Flash Translation Layer or FTL), it supports various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms.
Click to expand...
Click to collapse
Before diving into this, I would recommend reading the official F2FS documentation to understand why this may be good for you. This is potentially unstable, F2FS is a file system that is very much in active development. There is a reason that most OEMs go with ext4 out of the box. But I digress, I am NOT here to sell you on F2FS; it makes zero difference to me if you use it or not, I am merely providing you with a tool to do so.
Changelog + differences
Differences:
f2fs-tools bumped to 1.7.0 (Omni's 6.0 branch is on 1.4.0)
TWRP app installation offer disabled by default
Conversion procedure
Download TWRP from the link above
Grab a kernel that supports F2FS (I use my own as I know it works)
Back up any important data as this will wipe your entire internal storage
Boot into the bootloader and flash the recovery
Boot into TWRP and go into Wipe > Advanced Wipe
Select Data and then hit "Change or Repair File System"
Hit Change File System
Choose F2FS and slide to confirm
Repeat the previous three steps for cache
Reboot and move all of your files back over (if restoring through TWRP, make sure to check the option to use rm -rf instead of formatting)
If you have any issues with this, you may need to ask your ROM developer to merge the two commits below.
Bug reports
You are NOT in ANY circumstance to report ANY bugs to the TWRP team.
If you have an issue with flashing something in TWRP, copy the recovery log to your sdcard and post it here.
If swapping to F2FS does not stick, try formatting your data with TWRP (Wipe > Format Data) or fastboot format userdata first.
If your phone does not boot after swapping to F2FS, either your kernel or ROM does not have proper support; post in their thread.
Additionally, check out some of these helpful posts:
https://forum.xda-developers.com/showthread.php?p=70699197
https://forum.xda-developers.com/showthread.php?p=71074016
Adding support to ROM
In order to properly support the initial conversion to F2FS, please add these two commits to your source:
https://github.com/omnirom/android_system_core/commit/1c6700a8fb31c6e314df4f031fa23fa9178c7ca7
https://github.com/omnirom/android_system_vold/commit/c879edb2fecae709f404c2d71c1d47ceac3a325e
The reason some people have issues converting is fs_mgr will try to read the block device as ext4 and destroy the f2fs block. This commit skips that check, allowing F2FS to pass through.
Sources
TWRP is licensed under GPLv3, meaning my changes must be disclosed. I also inline a custom kernel so that source is included as well. I also add in the other repos I modify.
Recovery: https://github.com/nathanchance/android_bootable_recovery/tree/android-7.1
Kernel: https://github.com/nathanchance/angler/tree/7.1.2-flash
Device tree: https://github.com/nathanchance/twrp_device_huawei_angler/tree/android-6.0
f2fs-tools: https://github.com/nathanchance/android_external_f2fs-tools/tree/android-6.0
First!
Thanks for the recovery. Been using it with flash kernel. I see considerable performance improvement in asphalt Xtreme game( idk if its the f2fs or kernel ).
Nice !!! :fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
Thank you, and thank you for the exemplary GPL compliance. It's noticed and appreciated.
Now this is awesome... On it, will report soon
Much appreciated!
Sent from my Nexus 6P using Tapatalk
So what rom is compatible with f2fs ?
Lineage : yes
RR : yes
UberRom : of course
pN : idk
DU : idk
Nitrogen : yes
Somebody must report it and i will update my post.
ThNks
ariefabuzaky said:
So what rom is compatible with f2fs ?
Lineage : yes
RR : yes
UberRom : of course
pN : idk
DU : idk
Somebody must report it and i will update my post.
ThNks
Click to expand...
Click to collapse
Nitrogen should also work but i am doing something wrong... PN should only work with data to f2fs... i am trying different ways right now.
I restored everything to ext4 but i get bootloops now with everyrom... reboots constand... damnit
restored my twrp to latest 3.0.3 but i still get bootlooping... whay did i wrong :S Going back to complete stock latest google image... can anoyone tell me what i did wrong here?!
Restoring factory worked... back on 3.0.3 twrp and with PN rom installed. I will wait a couple of days on how to get it working properly on PN
Worked perfect! Thanks Flash!!!
I tried this with PN and am now stuck in a boot loop. I flashed the twrp with F2FS support then tried to change the file system followed by installing the latest vendor, latest flashable bootloader+radio, latest pure nexus and gapps, flash kernel, and latest su. Didnt work. Im not stuck in a boot loop I cant get out of. Ive tried every combination of the above. I also tried restoring my backup but that gives me an error. I also tried changing the file system back to ext4. Nothing works. Anyone experience this or have any suggestions?
---------- Post added at 09:09 AM ---------- Previous post was at 08:58 AM ----------
jochem86 said:
Nitrogen should also work but i am doing something wrong... PN should only work with data to f2fs... i am trying different ways right now.
I restored everything to ext4 but i get bootloops now with everyrom... reboots constand... damnit
restored my twrp to latest 3.0.3 but i still get bootlooping... whay did i wrong :S Going back to complete stock latest google image... can anoyone tell me what i did wrong here?!
Restoring factory worked... back on 3.0.3 twrp and with PN rom installed. I will wait a couple of days on how to get it working properly on PN
Click to expand...
Click to collapse
Im in the same boat.....what steps did you do to get back to stock?
Data keeps reverting back to ext4 after 1st boot.
vnphantom said:
Data keeps reverting back to ext4 after 1st boot.
Click to expand...
Click to collapse
Mine too....Im stuck in a bootloop. Are you?
Whats also weird is switching too f2fs wiped my storage but once the data reverted back to ext4....my original storage came back too!! Im not sure how or why that is happening either.
I just followed OP and formatted everything first, now i have SAOSP running with flash on f2fs..
Works great, so far it doesn't feel like a huge improvement though..
Sent from my Nexus 6P using XDA-Developers Legacy app
vnphantom said:
Data keeps reverting back to ext4 after 1st boot.
Click to expand...
Click to collapse
What makes you say that?
Back then when I was using Temasek on my Note 3, he incorporate a script that automatically format the system partition to F2FS when flashing his ROM. That is if the system partition is already in f2fs and I think that was pretty amazing but short live. I wonder if other ROM developer could go the same route if formatting F2FS system was popular enough. That would make updating new rom one step easier. Just for thought.
---------- Post added at 09:38 AM ---------- Previous post was at 09:16 AM ----------
Hi All,
Make sure to restore your backup with "Use rm -rf instead of formating"; else the restore will reformat the partition back to the file system use in the backup.
minhgi said:
Hi All,
Make sure to restore your backup with "Use rm -rf instead of formating"; else the restore will reformat the partition back to the file system use in the backup.
Click to expand...
Click to collapse
I wish you told this earlier....This is exactly what happened and I had to clean install
NoobInToto said:
I wish you told this earlier....This is exactly what happened and I had to clean install
Click to expand...
Click to collapse
It wouldn't matter though, I get a warning that the backup was made with EXT4 and that backup may not boot unless changed back to it
Iceburn1 said:
What makes you say that?
Click to expand...
Click to collapse
Because that's what's happening to me. Maybe it's because I'm on PN. At this time f2fs has not been widely adopted by too many devs so compatibility could be an issue. I think I'll stick with ext4 a bit until f2fs is fully mature.
vnphantom said:
Because that's what's happening to me. Maybe it's because I'm on PN. At this time f2fs has not been widely adopted by too many devs so compatibility could be an issue. I think I'll stick with ext4 a bit until f2fs is fully mature.
Click to expand...
Click to collapse
Exactly doing the same....
vnphantom said:
Because that's what's happening to me. Maybe it's because I'm on PN. At this time f2fs has not been widely adopted by too many devs so compatibility could be an issue. I think I'll stick with ext4 a bit until f2fs is fully mature.
Click to expand...
Click to collapse
That's too bad its not working for you, its working on my side no problem, did you format in twrp if its not sticking? Im on RR with Flash kernel.