yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] Funnnny:
here is what I did:

1. Fresh install the original factory image.

2. Move most system apk from /system/app to /data/app (because F2FS need more space)

- including: LatinIme, koreanIME, pinyinIME, Maps, Hangout, YouTube, Drive, Music, Books, Chrome, PLusOne.

There should be at least 140MB free space in /system

3. Backup all /system, /data, copy backup file to computer

4. In TWRP, format system, data, cache to F2FS.

5. TWRP->Settings->Check use rm -rf for .....

6. Copy backup back to your tablet, restore /system and /data

7. Flash the kernel boot.img

8. Reboot

9. Profit
[Nexus 7 Original Development] Shivam Kuchhal:
Phantom Kernel r2

Sorry for the buggy agnostic flasher zip yesterday! Here's a new one. Somebody please confirm that it works(it worked for me).

Changelog:

Switched to latest agnostic flasher release.

Download- http://d-h.st/2bYP

boot.img(same as r1) can be downloaded from dev-db. Zip will be uploaded to deb-db when it starts functioning.
[Nexus 7 Original Development] javivalle:
Thanks a lot, that worked beautifully!
[Nexus 7 Original Development] buffal0b1ll:
R2 seems to have fixed the issue. Successfully flashed agnostic zip on ext4. Thanks
[Nexus 7 Original Development] ZenInsight:
Nexus sat on charger all night (about 6 hours) and went from %30 to only %85 and still says it has two hours to go. Something doesn't seem right. Has rapid charging been affected somehow?
[Nexus 7 Original Development] El Aero:
Hi everyone! Does this kernel support 2ttw? I use the tablet as a car pc, so I really need this feature:)
[Nexus 7 Original Development] Shivam Kuchhal:
Thanks for report!

Kernel doesn't have any charger related changes. Your problem is related to something else.

I understand your concern but nope, it isn't there in this kernel and probably won't be available later on too.
[Nexus 7 Original Development] PatrickMac:
What do you think of CPU OC? Would give our old tablet a nice boost :)

Btw. works really fine for me on F2FS LP
[Nexus 7 Original Development] ZEII:
[MENTION=3567762]Funnnny[/MENTION] [MENTION=2229042]javivalle[/MENTION] in 6. How to copy backup back to n7?

Thank for advice.
[Nexus 7 Original Development] javivalle:
I did that via MTP with the N7 in recovery mode.
[Nexus 7 Original Development] ZEII:
I use TWRP 2.8.1.0 and when i go to recovery mode and connect to my computer,but nothing happen.

what should i do? :crying:
[Nexus 7 Original Development] javivalle:
You should check in Device Manager (assuming you use Windows), if windows is detecting your device as MTP. If not, try reinstalling the drivers.

Also, you could go, in TWRP, to Mount, and check is MTP is enabled.
[Nexus 7 Original Development] ZEII:
Thanks man... you just saved me a ton of trouble. :good:
[Nexus 7 Original Development] qualitymove13:
Anything new aside from latest agnostic flasher? Been running first kernel since yesterday and all is great!
[Nexus 7 Original Development] probals:
Thank you! Will try this. Your work and this thread has been very helpful!
[Nexus 7 Original Development] javivalle:
Glad I could help!
[Nexus 7 Original Development] Bert98:
Can you upload the zip file to another file host next time? dev-host is painfully slow, it's 15-20kb/s :(
[Nexus 7 Original Development] ichigo_kurosaki:
mirror links

no. you shouldn't be suggesting that.:D i benefit from dev-host because it can be captured by IDM..which boosts the download.:D what you should suggest are mirror links that are non dev-host instead.:D
[Nexus 7 Original Development] rhcreed:
Should I be seeing oc options somewhere after I flash this? Seems to be running better, thank you so much!
[Nexus 7 Original Development] Bert98:
Yes, that's what I meant :) sorry, it was quite late and I spent so much time flashing, changing file system to the partitions and all over again because it didn't boot that I forgot how to write haha :D

Inviato dal mio Moto G utilizzando Tapatalk
[Nexus 7 Original Development] ichigo_kurosaki:
i have no confidence trying to convert to F2FS. but if i have a lot of time i'll probably gonna give it a go to have lollipop on F2FS. so far Phantom kernel works well on my nexus. i can even use a screen recorder and play games like Dead Trigger (occassional hiccups though) and real Racing 3.
[Nexus 7 Original Development] wywerny:
How to copy BACKUP back to tablet after format system+data+ cache:confused:
[Nexus 7 Original Development] R3Lax1:
MTP in twrp.
[Nexus 7 Original Development] Funnnny:
Either adb push or MTP (MTP is supported in newer TWRP)
[Nexus 7 Original Development] pride007.2012:
FIRST:

If you are formatting system+data+cache and not internal then your backup will be still there in your Internal. But if you format internal also then follow the following steps:

1 : Boot to twrp

2: In Nexus root toolkit click on advance button

3: Go to bottom of the window and in the middle you will find Push/Pull File

4: Click on it and then in next window select push Folder

5: Rest is self Explanatory enjoy.

6: If any more problems i am here to help.
[Nexus 7 Original Development] frantisek.nesveda:
The Nexus 7 uses the /data/media layout, which means internal storage is just a folder on the /data partition. So when you format /data, you loose internal storage as well.
[Nexus 7 Original Development] stadicon:
I am also having extremely slow charging times. It took about 8 hours to get from 12% to 48%!

This is definitely wrong. data and internal are on the same partition, therefore formating data will also wipe internal (in fact, the internal option on twrp format won't work).

An easy way I used to keep my zip while formating and avoid PC connection was:

1. Copy /system at sdcard

2. Format only /system and /cache

3. Use TWRP->Advanced->File manager to copy backup at system and cache

4. Then format /data

I did that with the flashable zips, because I didn't want to mess with the PC. It can only be done for limited space, of course.
[Nexus 7 Original Development] BlackBull:
How to root the f2fs system

Hi there,

i´ve managed to format the partitions to f2fs and restored the fresh android installation.

Now how to root this system?

Chainfire´s autoroot doesnt seem to mount the f2fs partitions.
[Nexus 7 Original Development] lcu1:
how move apk from /system to /data? there is some magic special apk for this?
[Nexus 7 Original Development] 9Lukas5:
Isn't the flashable option for all combinations? I formatted /system and /cache to F2FS and then flashed the kernel. But it doesn't boot.

Changed the fstab now manually on my pc for my needs.

L

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] BlackBull:
I´ve done this by booting into twrp and than move the files via adb shell. (mv /system/YouTube /data/app/.......)
[Nexus 7 Original Development] Shivam Kuchhal:
There's no fstab for only system and cache formatted to f2fs and trust me, it doesn't make any sense too. It's the data and cache file system formatted to f2fs which makes a difference.
[Nexus 7 Original Development] 9Lukas5:
But I didn't want to copy ally stuff again to the tablet, as I did it yet after flashing the official factory image ^^

L

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] frantisek.nesveda:
Did you use version 2 from this post?

The new agnostic-kernel flasher zip should support all layouts.
[Nexus 7 Original Development] trvbone:
The agnostic link ain't working for me.
[Nexus 7 Original Development] 9Lukas5:
:facepalm: no, used the zip in OP

L

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] frantisek.nesveda:
Dev-host had some issues a few hours ago, but now it seems to be working.
[Nexus 7 Original Development] trvbone:
Nailed it... Thanks
[Nexus 7 Original Development] izagooner:
So if I'm on f2fs i just need to flash the boot IMG. ?
[Nexus 7 Original Development] wywerny:
Thank you Shivam Kuchhal& Funnny

My Nexus 7 was just reborn after F2FS

After lollipop update made my tablet a slow zombie. :D
[Nexus 7 Original Development] BlackBull:
How to get root?
[Nexus 7 Original Development] kfiaciarka:
So far (on 5.0) successful metod for me was one with CF-AUTO-ROOT.
[Nexus 7 Original Development] harry_fine:
Does this kernel support over/under clocking, and if so, what do you recommend as a tweaking application?
[Nexus 7 Original Development] Iced-Earth:
Ok guys,

i know this thread is not for the general ifnormation about installing a rom with f2fs, but i'm not able to manage it :D

what i did:

- flashed system, boot and userdata in fastboot (to keep TWRP from this week)

- directly used cf autoroot via fastboot

- boot into android and move some folders (don't remember which, but got enough free space) in /system/app/ to /data/app/ (with Dateimanager HD)

- rebooted to TWRP and made a backup of system and data and transferred it via USB-OTG

- Formatted system, cache and userdata to F2FS and ticked the option in settings

- restored the backup

- boot into fastboot and flashed boot.img

- reboot tablet

--> bootloop

Where's my mistake?
[Nexus 7 Original Development] manulemaboul:
Restoring an ext4 backup on f2fs partitions
[Nexus 7 Original Development] Iced-Earth:
Allright, so the method posted on page 6 (?) does not work if you come from stock.

But HOW do I get the Lollipop stock image on f2fs partition. As I know, the partitions will be formatted to ext4 by flashing stock image via fastboot, right?

best regards, Markus
[Nexus 7 Original Development] AJ06:
This kernel and f2fs is amazing. Wow. It gave new life to my OG N7. So thanks.
[Nexus 7 Original Development] adomol:
If you flash the stock image it's only going to produce an ext4 install. If you want f2fs you first you have to format all your partitions to f2fs, then flash an all-f2fs rom and kernel. BSZAospLP is a good choice for a fairly stock experience and with the PA lp gapps.
[Nexus 7 Original Development] LoveForEver:
Thank you for the kernel :D
[Nexus 7 Original Development] ltredbeard:
I formatted my /data and /cache partitions as f2fs and flashed the kernel (no ROM) and don't seem to have any issues. Are you saying this method doesn't work?
[Nexus 7 Original Development] cmason37:
I converted to all-f2fs and unfortunately, the kernel won't boot. I've tried everything, I wiped my partitions about 10 times, converted to data-f2fs and even back to ext4, followed the instructions in this thread to a tee, unfortunately it's still not working. I pulled a last_kmsg, and I tried the kernel from the ROM posted earlier in this thread, and it does not boot either.
[Nexus 7 Original Development] dareino:
what rom are you using?
[Nexus 7 Original Development] cmason37:
Stock Lollipop, with some apps deleted to fit F2FS.
[Nexus 7 Original Development] dareino:
Try this all-f2fs rom..works nice w/any f2fs 5.0 kernel...

http://xdaforums.com/showpost.php?p=56955419&postcount=2757
[Nexus 7 Original Development] ltredbeard:
I'm on stock android (only data and cache partitions converted) with no problems. What apps did you delete?
[Nexus 7 Original Development] cmason37:
Definitely not any important ones, I deleted some Google apps like Chrome, Photos, Wallet, etc.
[Nexus 7 Original Development] lanrey:
How do flash the kernel?

Okay seriously,

Firstly, thanks for sharing the Kernel...much appreciated. Now, I do I flash the kernel? I already flashed the Manufacturers rom from google... I have bootloader unlocked and rom is rooted. I tried flashing your kernel with a boot.img I found somewhere and got stock at the boot screen. I have to flash the stock boot.img back which made me lose my root ....so I had to start allover again (Lollipop is a ***** to root...I'm guessing you know know that)

So how do I flash your kernel onto my rooted stock rom (bootloader unlocked) without compromising all my data on my Nexus 7? Any guides/steps/ellaborated procedure will be appreciated

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

yeap had SAME problem too. got stock at the google screen for eternity
[Nexus 7 Original Development] cmason37:
How did you fix it? I'm flashing a bunch of kernels and none of them work... Fastboot format boot gives: Formatting is not supported for filesystem with type 'emmc'.
[Nexus 7 Original Development] ltredbeard:
Are you using the boot.img or the zip from this post?
[Nexus 7 Original Development] cmason37:
Used both multiple times, doesn't work.
[Nexus 7 Original Development] ltredbeard:
Do you reboot TWRP after converting to f2fs?
[Nexus 7 Original Development] cmason37:
Yes, I've tried everything, even going back to my previous ext4 + stock kernel setup.
[Nexus 7 Original Development] jonny68:
Flashed ok for me so see how it goes.
[Nexus 7 Original Development] cmason37:
Fixed it! Turns out it had nothing to do with kernel, I had a faulty system partition all along! A simple fastboot format system fixed it.
[Nexus 7 Original Development] mrchezco1995:
Do I really need to convert every partition to F2FS before flashing this?
[Nexus 7 Original Development] 9Lukas5:
No. You can

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] sldier11:
The above steps worked perfectly for me plus it was the quickest. I wasted too much time trying to get the stock rom ready by moving apps around to make room for the F2FS format.

All you need to after the above steps is also flash this zip of the system apps and then boot into lollipop like you would with the stock rom.

GApps (from http://xdaforums.com/goog...ckage-t2930260)

After having my Nexus 7 running on F2FS for over a week I can't believe Google wouldn't make this their default for new phones and tablets it's blazing fast and even quicker then when I bought it new two years ago!
[Nexus 7 Original Development] Shinare:
Link above to gapps I get 404 error. Which gapps should I use with the above suggested ROM and kernel?
[Nexus 7 Original Development] toucan4267:
CPU Overclock

Also posted in feature request. I think I saw someone else mention, but never saw a response. CPU overclock to 1500 or 1600 would be awesome. I played Real Racing 3 on Kitkat with M-kernel (I think) overclocked to 1500 while using RR3 graphics to up graphics settings. The fps boost of overclocking versus stock is considerable. Any possibility of seeing this? Thanks in advance.
[Nexus 7 Original Development] sldier11:
I hope linking this doesn't break any forum rules but this is where it takes you to.

https://s.basketbuild.com/gapps

Only issue I had with lollipop and this kernel although fast I have had a few unexpected reboots from time to time.

It doesn't happen often but using something an app like chrome and my nexus 7 suddenly has rebooted with no warning.

Hopefully a newer release of the kernel might fix this but I would still recommend converting to F2FS over the default ext4 file format.
[Nexus 7 Original Development] qualitymove13:
How were you able to flash the rom/gapps if you formatted the partitions? I now have no OS and no files on the device. I cant boot into it to enable debugging etc... TIA
[Nexus 7 Original Development] Shinare:
Boot into recovery and connect to pc. You will then see internal storage,. Copy zips over then flash.

The key being after formatting to reboot recovery.
[Nexus 7 Original Development] sldier11:
I used a usb flash drive with an OTG cable otherwise try connecting to your computer through usb

If you dont have an otg cable consider getting one in the future they're like $1 on ebay
[Nexus 7 Original Development] qualitymove13:
Which partitions did you format? I see different info out there. THanks again.
[Nexus 7 Original Development] sldier11:
To take full advantage of f2fs you format all of them.

System

Data

And

Cache

Be sure if you made a back up of your apps not to format your data partition back to the old file format as your backup file is a copy of the entire partition.

I used titianium backup to back up all apps and my data like photos and files i just copied to my computer before wiping the partition.
[Nexus 7 Original Development] Shinare:
I just used nexus root toolkit to backup and restore individual apps that I wanted to keep data for.
[Nexus 7 Original Development] qualitymove13:
I connect computer after formatting and rebooting to recovery and see nothing. A bit lost.
[Nexus 7 Original Development] Shinare:
Dunno... maybe try mounting the partitions? not sure how to help you as I had the same problem once I formatted I lost internal storage but after rebooting recovery I was able to see the storage on my pc and was able to copy over the zips.

Try a different cable?
[Nexus 7 Original Development] Rexobias:
Hi.

I'm having some trouble to make a fresh install of Stock Lollipop with the System, Data and Cache as F2FS.

Looking to your tutorial I have some questions (sorry, I'm a noob in this matter). In 2. how I move the system apk's? I found a app on Google Play called /system/app mover * root *. Can I use it? To do it I will need to root my device between 1. and 2. right?

In 6. restoring /system and /data will from a ext4 backup will no change the partitions back to ext4? Before encounter your tutorial I made almost the same steps (the exception was the point 2) and when restoring the System and Data backup they changed back to ext4.

If someone could provide a tutorial for noobs to get Stock Lollipop with the three partitions as F2FS would be great.

Thanks for your attention, and sorry for something
[Nexus 7 Original Development] 9Lukas5:
I made a nandroid in twrp 2.8, copied it to the pc, changed the filesystem of all three to F2FS, adb pushed the backup back in place and set in twrp to use rm/rf instead of formatting, then restored the backup, sideloaded the flashable kernel zip, rebooted

L

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] Rexobias:
So you didn't need to move Apps from System to free some space?
[Nexus 7 Original Development] Rexobias:
Sorry for posting again, but I didn't found how to edit my last post.

I tried to follow this instructions, but I'm facing troubles right in the point 2. How do I move most system apk to /data/app and what apps can I move without afraid. In point 3, should I use TWRP to create the backup?

Thanks everyone for everything and sorry for my doubts, but I'm really new in this Android world and your instructions are hard to follow.

I'm tired of trying to get Stock Android 5 with all partitions in F2FS :S

Right now I'm using this method in my Nexus 7 (2012):

1 - Flashing Android 5 factory image;

2 - Installing TWRP;

3 - Root the device;

After this I don't know what to do ...
[Nexus 7 Original Development] sldier11:
There is an easier way as mentioned before in this thread.

Quote:

Originally Posted by Shivam Kuchhal

Still Nexus 7 needs many changes.

1. Format all partitions to F2FS using TWRP.

2. Reboot recovery.

3. Flash this ROM- hhttp://d-h.st/Qkqn

4. Flash Phantom R2 kernel. http://d-h.st/2bYP

5. Also flash this Gapps zip for 5.0 to get all google apps https://s.basketbuild.com/gapps

Boot and ENJOY!

The above steps worked perfectly for me plus it was the quickest. I wasted too much time trying to get the stock rom ready by moving apps around to make room for the F2FS format.
[Nexus 7 Original Development] Rexobias:
Thanks for the attention.

I saw that one and even installed it with only one problem: my System partition gone back to EXT4. Maybe I will try again with that ROM and quit the idea of installing the Stock one.

I wanted the stock one to stay as close as possible with the original, but probably going to that ROM is what I'm going to do.

Thanks once again ;)
[Nexus 7 Original Development] Rexobias:
Hi again.

I follow your directions and this time I got the ALL-F2FS version of the ROM ("lost" in the thread). What can I say?! It's incredible, I'm completely amazed with the speed of my Nexus 7. It gained a new life, is like it turned into Super Sayajin :D

I did't know there was a ALL-F2FS version of that ROM. There was some problems, but I will talk about them on the correct thread.

Thanks for everything and sorry for something. Congratulations to Shivam Kuchhal for this Kernel. Really thanks.
[Nexus 7 Original Development] Traediras:
Can anyone else install CF.lumen with this kernel installed on a custom Lollipop ROM (Rastapop/BSZAospLP/etc)? I've been getting bootloops whenever I install it.
[Nexus 7 Original Development] brooker88:
Is this compatable with kitkatt too? or only lollipop?
[Nexus 7 Original Development] 9Lukas5:
It's based on the stock lollipop kernel to have root on lollipop. So, no it's not ;)

L

Gesendet von meinem One mit Tapatalk
[Nexus 7 Original Development] jtrentha:
Fantastic kernel - runs like a beast ! Thank you! Absolutely night and day over stock Lollipop - was a deflated after initially flashing 5.0 factory image on my younger son's Grouper - very laggy. Followed OP's 5-step directions (just transfer ROM. gapps and kernel AFTER rebooting recovery of course as they're wiped during the f2fs conversion of data partition) and 'voila', N7 runs just as smooth and fast as the older son's N7 Razor.

Thanks again!
[Nexus 7 Original Development] trvbone:
Why am I unable to flash this on

Freak-SlimLp
[Nexus 7 Original Development] ayoraider07:
I'm running phantom kernel r2, on slimLP alpha 0.7. All-f2fs, running smoother and quicker than ever!! Much thanks
[Nexus 7 Original Development] khaytsus:
I want to try this kernel, but why is the zip file an exe? Something is fishy here.

EDIT: Nevermind, the Downloadhost has two HUGE Download buttons, the first one is some fishy exe, the second one is the zip. Pretty lame. But nothing to do with the OP here, so ;)
[Nexus 7 Original Development] ScumDroid:
Yes, people need to stop using DevHost. Ive noticed a bunch of times now redirects to a .Exe file that my AV quarantined while trying to download kernels and roms ect from there. I used adblock to filter the big download banner that leads to the .exe, so now only the real link shows. Not cool. :rolleyes:
[Nexus 7 Original Development] sldier11:
Will this kernal be updated to 5.0.2? Not sure how much has changed with ROM at that version but I heard google made kernel tweaks that might fix some spontaneous crashes that happen once in awhile
[Nexus 7 Original Development] Reiven89:
Im having slow charging issue with this kernel...charged 10 percent in 5 hours
[Nexus 7 Original Development] sldier11:
No issues on this end with charging. Check your cable or do a fresh restart .
[Nexus 7 Original Development] Reiven89:
my cable is good and changing kernel fixes the issue....
[Nexus 7 Original Development] ogilviea:
+1

Another satisfied customer here. Phantom r2 running nicely with SlimLP (all-f2fs variant). Flashed r2 straight over my existing SlimLP (m-kernel) setup.
[Nexus 7 Original Development] khaytsus:
Same. I've used m-kernel for at least a year now, and was reluctant to try a different kernel but figured hey, at worst it's a ROM reflash. I went to SlimLP f2fs a few weeks ago and for the first week it was about on par with my typical experience, not bad, some lag, some really bad lag sometimes. Saw a post about this kernel figured I'd try it and it's working really well. I haven't seen any terrible lag, not sure what to make of it since I'm pretty sure the really bad lags are IO related.

I did set scheduler to noop, but otherwise didn't change anything.
[Nexus 7 Original Development] ogilviea:
Check out my latest post on the SlimLP thread re. I/O lags.
[Nexus 7 Original Development] Prof Peach:
The question of over clocking has been asked a few times but no acknowledgement or answers have been given.

What's the chances of an OC version of this kernel which up to now is working great for me. The boost for gaming would be much appreciated.
[Nexus 7 Original Development] mariocaraujo:
Really great performance with this kernel(F2FS), thanks a lot!
[Nexus 7 Original Development] yupiter00:
Why cannot flash to aosp rom 4.4.4?
[Nexus 7 Original Development] BlueKnightedDragon:
Because this kernel is made for 5.0 aka lollipop
[Nexus 7 Original Development] Reiven89:
After using this kernel i must say that i didnt had slow charging anymore but i have bad artifacts at boot before google logo...with other kernels i dont have them
[Nexus 7 Original Development] yupiter00:
And which kernel is good for him?