[Q] F2FS question - Nexus 7 Q&A, Help & Troubleshooting

I'm sorry if this has been asked, but I have looked and am not able to post in the developer thread yet. I've got everything up and running on my N7 with f2fs, but I'm curious now if I update my ROM do I have to go through all the steps again? Do I always need to format data at the end and lose everything? Should I be using titanium backup to solve this? Hopefully someone can help me out.

waywardsojourner said:
I'm sorry if this has been asked, but I have looked and am not able to post in the developer thread yet. I've got everything up and running on my N7 with f2fs, but I'm curious now if I update my ROM do I have to go through all the steps again? Do I always need to format data at the end and lose everything? Should I be using titanium backup to solve this? Hopefully someone can help me out.
Click to expand...
Click to collapse
If everything is up and running on F2FS already, you can flash and restore titanium backups as normal. You just now have to make sure the ROM and/or kernel you're flashing supports F2FS or has been converted to support F2FS.

PrizmaticSmoke said:
If everything is up and running on F2FS already, you can flash and restore titanium backups as normal. You just now have to make sure the ROM and/or kernel you're flashing supports F2FS or has been converted to support F2F2.
Click to expand...
Click to collapse
Thanks for the info!

PrizmaticSmoke said:
If everything is up and running on F2FS already, you can flash and restore titanium backups as normal. You just now have to make sure the ROM and/or kernel you're flashing supports F2FS or has been converted to support F2FS.
Click to expand...
Click to collapse
I am already on Carbon Rom All-F2FS, should I switch to another F2FS rom, what wipes are necessary? And should I format my tab again to all F2FS?

Leonhan said:
I am already on Carbon Rom All-F2FS, should I switch to another F2FS rom, what wipes are necessary? And should I format my tab again to all F2FS?
Click to expand...
Click to collapse
Just do a normal clean flash like you would if you were still on ext4. No need to reformat. That's how i switched to Carbon. As far as nightlies on Carbon (or others), just dirty flash them. I've had no problems doing that.

Related

about nandroid backup

can i ask from u guys? i dont know where to ask. so this is how it goes,
im using now [ROM][PORT][CM]Jellybread v5.1 FINAL..
blackreactorCM kernel..
and i want to change back to original stock galaxy Y.. like buying it brandnew..
can i restore the nandroid backup that i made right away?
or another way except flashing with odin
kaiserlourdes said:
can i ask from u guys? i dont know where to ask. so this is how it goes,
im using now [ROM][PORT][CM]Jellybread v5.1 FINAL..
blackreactorCM kernel..
and i want to change back to original stock galaxy Y.. like buying it brandnew..
can i restore the nandroid backup that i made right away?
or another way except flashing with odin
Click to expand...
Click to collapse
That ROM is ext4 based. First you need to restore kernel supporting both EXT4 and RFS, then convert to rfs, then restore nandroid.
Long process (may lead to complications in case of stock incompatible kernels).
Better use odin.
hnkotnis said:
That ROM is ext4 based. First you need to restore kernel supporting both EXT4 and RFS, then convert to rfs, then restore nandroid.
Long process (may lead to complications in case of stock incompatible kernels).
Better use odin.
Click to expand...
Click to collapse
thanks for answering
so it means that i cant get the original kernel anymore even restoring nandroid?
kaiserlourdes said:
thanks for answering
so it means that i cant get the original kernel anymore even restoring nandroid?
Click to expand...
Click to collapse
Galaxy y CWM is broken. It cannot restore Kernel. It can only restore /system, /data, /cache.
For kernel restore use my SGY Toolkit. Link is in my Signature.
Press Thanks if helped.
hnkotnis said:
Galaxy y CWM is broken. It cannot restore Kernel. It can only restore /system, /data, /cache.
For kernel restore use my SGY Toolkit. Link is in my Signature.
Press Thanks if helped.
Click to expand...
Click to collapse
then i will flash first hellsfusion#50
then format /system, wipe /data /cache /dalvik.
then flash toolkit and restore my nandroid?
kaiserlourdes said:
can i ask from u guys? i dont know where to ask. so this is how it goes,
im using now [ROM][PORT][CM]Jellybread v5.1 FINAL..
blackreactorCM kernel..
and i want to change back to original stock galaxy Y.. like buying it brandnew..
can i restore the nandroid backup that i made right away?
or another way except flashing with odin
Click to expand...
Click to collapse
Of course you can restore it using CWM, as long as the backup done before you change anything on your phone :good::good::good::highfive::highfive:
kaiserlourdes said:
then i will flash first hellsfusion#50
then format /system, wipe /data /cache /dalvik.
then flash toolkit and restore my nandroid?
Click to expand...
Click to collapse
Do it this way.
Flash Hell's Fusion.
Go to Advanced ====> Reboot Recovery
Then Format /system, /data, /cache.
Restore Nandroid.
Then Reboot phone. (Not reboot recovery
Put stock kernel's boot.img in root of SD Card.
Go to recovery.
Then flash my SGY Toolkit and choose kernel restore.
hnkotnis said:
Do it this way.
Flash Hell's Fusion.
Go to Advanced ====> Reboot Recovery
Then Format /system, /data, /cache.
Restore Nandroid.
Then Reboot phone. (Not reboot recovery
Put stock kernel's boot.img in root of SD Card.
Go to recovery.
Then flash my SGY Toolkit and choose kernel restore.
Click to expand...
Click to collapse
im gonna msg u if anything bad happens. hopefully none. thanks! pressed.

Nexus f2fs mistake

I converted a stable version of cyanogenmod into f2fs format. Everything was going well until I accidentally updated it and now it just sits on a bootloop. Anyone have any ideas how I can fix this without wiping. No i didnt get to create a nandroid.
lovesmyandroid said:
I converted a stable version of cyanogenmod into f2fs format. Everything was going well until I accidentally updated it and now it just sits on a bootloop. Anyone have any ideas how I can fix this without wiping. No i didnt get to create a nandroid.
Click to expand...
Click to collapse
The update you installed likely reformatted your system and cache partitions back to ext4. Try reformatting them and reflashing your ROM.
Alternatively, you could also try just flashing an f2fs-compatible kernel first to see if that gets it booting for you. That may be all you need if /data is still formatted as f2fs.
Did you used TWRP to convert to f2fs ?

Factory image / OTA and F2FS

Hi there,
I searched a lot on the subject, but I'm still not sure if/how this would work:
Can you install a factory image or an OTA update on a F2FS formated Nexus 7 2012?
Currently I have a lollipop custom ROM and kernel, with all F2FS and TWRP running on my Nexus 7. Could I install a custom F2FS kernel on my F2FS formated Nexus 7, like Phantom, and then only flash system.img and userdata.img from a lollipop factory image? Then, could I simply flash future OTA update zips?
Thanks!
It will just format it back to ext4. I've been trying to get f2fs to wepork on mine but I can't get the damn thing to recognize and side load. So I keep having to reflash official builds and it just rewrites everything to the stock build. I flashed the whole thing as f2fs wiped the device.
bill3508 said:
It will just format it back to ext4. I've been trying to get f2fs to wepork on mine but I can't get the damn thing to recognize and side load. So I keep having to reflash official builds and it just rewrites everything to the stock build. I flashed the whole thing as f2fs wiped the device.
Click to expand...
Click to collapse
Hi,
I got as far as (in short):
- Flash factory image
- Flash openrecovery TWRP
- Backup system and data (you have to make some space on system first, e.g. by moving some apps over to data)
- Format system, cache and data to F2FS in TWRP
- Restore system and data backup with "Use rm -rf instead of formatting" checked in TWRP settings
- Flash boot.img from Phantom kernel
I got this to work with LP 5.02, but for some reason with 5.1 the system restore failed so far... As for updates, I thought that, in the same way, you could just restore a system backup of a newer factory install over your actual system, but I haven't tried that yet.
Then again, this all is quite tedious. I'm not very advanced in img or ROM modification, but I'd like to know what one would have to modify in factory images or ROMS to make them F2FS compatible. For JB there are ressources out there, but I haven't found anything for LP so far... Anyone?
All I did was on 5.1 flashed a F2FS kernel then in TWRP formated cache. It was like night and day.
Simply formating cache to f2fs makes already such a difference? Interesting, will give this a try. This would be a fairly easy solution to have a fast stock experience. I might try formating data to f2fs as well (and restoring backup), but leaving system on ext4. This way you may be able to simply flash the system image from future factory images to update your system, that would be a good enough solution for me.
First try updating to 5.1.
5.1 is running and performing so much better than on 5.0.2.
Even with ext4 filesystem and stock kernel.
Sent from my Nexus 7 using XDA Free mobile app
I already am on 5.1. Intitially it ran pretty good indeed, but I'm starting to get occasional lags again now. Not as bad as before, but still not as smooth as with JB when it was new... Like I said earlier, I haven't managed to do the TWRP f2fs backup and restore method for some reason with 5.1, but keeping system on ext4 might do the trick, so I'll try that and see if it improves upon stock 5.1...
rbeavers said:
All I did was on 5.1 flashed a F2FS kernel then in TWRP formated cache. It was like night and day.
Click to expand...
Click to collapse
Hey rbeavers, what kernel did you flash? I tried with Phantom Kernel r1 and r2, and I get NFC force close at startup, which prevents from using the tablet...
Thanks.
maksmtl said:
Hey rbeavers, what kernel did you flash? I tried with Phantom Kernel r1 and r2, and I get NFC force close at startup, which prevents from using the tablet...
Thanks.
Click to expand...
Click to collapse
I'm using Franco Kernel(r82). It supports F2FS(formatted /cache and /data to F2FS) and it works flawlessly.
TWRP backups fail on stock 5.1 with f2fs/franco?
I downloaded the 5.1 factory image; installed it using the included batch file; installed franco r82 and formatted /cache and /data to f2fs. It seems to run reasonably well, but TWRP 2.8.5.1 and 2.8.6.0 both fail to make a backup, giving an unspecified error when backing up the data partition. Do you experience the same thing? Do you know of a workaround?
maksmtl said:
Hey rbeavers, what kernel did you flash? I tried with Phantom Kernel r1 and r2, and I get NFC force close at startup, which prevents from using the tablet...
Thanks.
Click to expand...
Click to collapse
Franco Kernel(r82) sorry so late.
Still working great! Only gripe 2 - 3 second delay on waking up.
rbeavers said:
All I did was on 5.1 flashed a F2FS kernel then in TWRP formated cache. It was like night and day.
Click to expand...
Click to collapse
rbeavers said:
Franco Kernel(r82) sorry so late.
Still working great! Only gripe 2 - 3 second delay on waking up.
Click to expand...
Click to collapse
Running really good so far with Franco Kernel and Cache and Data in f2fs. Thanks guys.
I also don't get that wake delay btw. Maybe wipe cache again?
@CCarson: I made a successful backup using TWRP 2.8.6.0. Maybe backup your sdcard and then re-format data. Also, don't know if this applies to you, but if you have the 16GB model, the 5.1 factory image formated mine to 8GB, so I had to re-format data once to get it back to 16GB and only then I changed it to f2fs.

F2FS Compatible??

Greetings;
Would anyone know if there is a F2FS compatible Custom Rom for N6P?
Thank you.
There is a custom ROM which supports F2FS, but AFAIK there is no way to format the system and data partitions to F2FS. Hopefully one day TWRP will support native F2FS formatting.
samteeee said:
Greetings;
Would anyone know if there is a F2FS compatible Custom Rom for N6P?
Thank you.
Click to expand...
Click to collapse
ripv2 said:
There is a custom ROM which supports F2FS, but AFAIK there is no way to format the system and data partitions to F2FS. Hopefully one day TWRP will support native F2FS formatting.
Click to expand...
Click to collapse
A custom TWRP was released today for this....
http://forum.xda-developers.com/showthread.php?p=65193930
Batfink33 said:
A custom TWRP was released today for this....
http://forum.xda-developers.com/showthread.php?p=65193930
Click to expand...
Click to collapse
Merci.........
So twrp gives error trying to change cache to f2fs. Also, system gets rewritten to ext4 when you flash. Data will stay at f2fs though.

Moto X play Original Kernel

Hello, I'm still a noob so please pardon me, I was wondering, I'm planning to flash Ultra kernel to my MXP but I've got to have a backup plan in case of something went wrong. Yes, my MXP is still on its Original kernel.
So my question is what is MXP original kernel's name and any of you guys have the answer then may I trouble you to link me to the site that posted the Original kernel?
Thank you
HerySean said:
Hello, I'm still a noob so please pardon me, I was wondering, I'm planning to flash Ultra kernel to my MXP but I've got to have a backup plan in case of something went wrong. Yes, my MXP is still on its Original kernel.
So my question is what is MXP original kernel's name and any of you guys have the answer then may I trouble you to link me to the site that posted the Original kernel?
Thank you
Click to expand...
Click to collapse
I am expecting that you are rooted and have twrp installed. Make a backup through twrp. If you flash any other kernel, then just flashing the backup kernel won't make you phone all working as wifi would break down.
So, take a twrp backup and if something's wrong, then restore the whole backup or just system.
K.khiladi said:
I am expecting that you are rooted and have twrp installed. Make a backup through twrp. If you flash any other kernel, then just flashing the backup kernel won't make you phone all working as wifi would break down.
So, take a twrp backup and if something's wrong, then restore the whole backup or just system.
Click to expand...
Click to collapse
Yes, I'm already rooted and installed twrp, so restore my backup will eventually restore my original kernel?
in twrp while backing up you'll see a "boot" partition, that is your kernel.
bablu048 said:
in twrp while backing up you'll see a "boot" partition, that is your kernel.
Click to expand...
Click to collapse
So when I flash a new kernel, are all my data will be wiped? like it will automatically do a factory wipe?
HerySean said:
So when I flash a new kernel, are all my data will be wiped? like it will automatically do a factory wipe?
Click to expand...
Click to collapse
No data would be wiped.
Automated reply by JARVIS
K.khiladi said:
No data would be wiped.
Automated reply by JARVIS
Click to expand...
Click to collapse
Oh okay, thank you.

Categories

Resources