yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] TarteMan:
Hey franco, i always wanted to know why did you create this kernel, for Stock Rom, or AOSP rom (CM, C-rom...) ?
[Nexus 7 Original Development] lolcopter:
I'm using all default settings, except I changed the i/o scheduler from deadline to cfq and I'm very satisfied. Deadline was fine too, just messing around to see which I prefer day to day
[Nexus 7 Original Development] khaytsus:
Should work on any ROM. If you get the kernel for 4.4, it's for a 4.4 ROM, etc.
[Nexus 7 Original Development] HTCDreamOn:
RE: [KERNEL][GPL][N7]franco.Kernel - r79

I've cherry-picked the appropriate commits for F2FS support (in fact I used the commits from your github) and used the unmkbootimg and mkbootimg tools to add the new zImage to franco's r97 boot.img but I'm unable to boot, I can't get past the splash screen. I've tried the tegra3_android_defconfig, and also the cyanogendmod_grouper_defconfig from you github but either way I'm unable to boot.

Do I need to modify the ramdisk also, or am I missing something from the kernel? I noticed that the final zImage was a couple MB larger than francos, do I have to use -Os to make it small enough?

Thanks for the help, I'll try to get a last_kmsg or something if needed.

EDIT: I read your post through again and am currently facepalming at my idiocy, I assume all I need to do is edit fstab.grouper in the ramdisk?

EDIT2: I edited fstab.grouper but still no luck.
[Nexus 7 Original Development] asturel:
It must be other problem, if it didnt boot when u repacked and didnt modified the fstab. If u want to switch to f2fs you need new recovery too (it reads from fstab too and format the partition depends on the fstab entry) I used cm11's inline kernel build to compile the kernel, so idk what flags do u need, but i assume all its in makefile (my boot.img is 5.2MB)
[Nexus 7 Original Development] HTCDreamOn:
I'm using the latest MultiRom with F2FS support, I've tested it with M-Kernel, Oxydo, and it boots fine. All I did in the grouper.fstab file was to replace all the instances of "ext4" with "f2fs" instead, like so:

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/sdhci-tegra.3/by-name/APP /system f2fs noatime,nodiratime,nodev,data=writeback,barrier=0,noauto_da_alloc,discard wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache f2fs noatime,nodiratime,nosuid,nodev,data=writeback,barrier=0,noauto_da_alloc,nomblk_io_submit,errors=panic wait
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data f2fs noatime,nodiratime,nosuid,nodev,data=writeback,barrier=0,noauto_da_alloc,nomblk_io_submit,errors=panic wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
/dev/block/platform/sdhci-tegra.3/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/SOS /recovery emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/USP /staging emmc defaults defaults

# USB storage device
/devices/platform/tegra-ehci auto vfat defaults voldmanaged=usbdisk:auto

I'm not using CM11's inline kernel build, I just forked and git cloned franco's source, cherry-picked the commits, and compiled. I've tried a variety of toolchains including the ones found in the NDK. As you say it must be another problem though, which sucks as franco's kernel is my favourite. Thanks for the help anyway :)
[Nexus 7 Original Development] asturel:
I mean maybe u repack it in wrong way or something like this (or the toolchain wasnt right)
[Nexus 7 Original Development] HTCDreamOn:
I might have repacked it wrong, I've never done ramdisk unpacking and meddling with boot.img before. I'll unpack the M kernel boot.img and repack it with the new f2fs franco kernel zImage so that way I know the ramdisk should definitely work with f2fs.
[Nexus 7 Original Development] frantisek.nesveda:
Could you please post your zImage here? I'd like to try if it works too...
[Nexus 7 Original Development] rjmohit:
CM11 support? :confused:
[Nexus 7 Original Development] aoh1996:
It works great here on CM11 M6.

Отправлено с моего Nexus 7 через Tapatalk
[Nexus 7 Original Development] rjmohit:
Anyone tried it on the latest nightlies?

EDIT: Works fine!
[Nexus 7 Original Development] HTCDreamOn:
RE: [KERNEL][GPL][N7]franco.Kernel - r79

Sure: http://d-h.st/k7O good luck, maybe it'll work for you.
[Nexus 7 Original Development] frantisek.nesveda:
It works for me on Data-F2FS, not sure about All-F2FS. I took your zImage and packed it with franco's ramdisk with my fstab for Data-F2FS. Maybe the problem is in your All-F2FS fstab, I use a little different one.

Anyway, I made a flashable zip which should work both on All-F2FS and Data-F2FS, you can try that and then tell us if it works.
[Nexus 7 Original Development] dareino:
Ill give it a go.....
[Nexus 7 Original Development] HTCDreamOn:
[MENTION=4431376]frantisek.nesveda[/MENTION] thanks a lot :) that works perfectly! I seem to have disabled some stuff (schedulers etc.) whilst trying to get it to work so I'll recompile it during the week and upload it fully working. I might add some other stuff (governors etc.) but as I know that's sort of against franco's philosophy (I think?) I'll only share a modded version if he's cool with it and anybody else wants it.
[Nexus 7 Original Development] dareino:
I added it to my secondary ROM (LiquidSmooth)....booted fine, got a Google Play error but it still opened....but seems stable

d
[Nexus 7 Original Development] JerryPi:
Thanks for this. It's running great on my n7 with all f2fs rastakat rom :)
[Nexus 7 Original Development] HTCDreamOn:
I've uploaded a new zImage with modifications mainly the extra RAM stuff from legolas but some other stuff too (which may not be useful: dyninteractive for example is good on worse hardware but may not perform as well on our Nexus 7). I repackaged the original boot.img with this new zImage too into the agnostic zip but it might not work, give it a go and see. I'm compiling with the cyanogenmod defconfig right now.

p.s. make sure to thank [MENTION=3109285]asturel[/MENTION] too as I've used his commits so have ended up pretty much compiling his source

EDIT: looks like my modded version doesn't have kexec support.... recompiling with kexec right now.

EDIT: the cyanogenmod zImage works! Just repackage if you know how
[Nexus 7 Original Development] frantisek.nesveda:
I installed your agnostic-kernel zip and it doesn't boot for me... it doesn't get past the Google logo.
[Nexus 7 Original Development] HTCDreamOn:
for some reason if you modify any options using make menuconfig it seems to mess the whole thing up. I'll compile again but edit the defconfig manually.
[Nexus 7 Original Development] frantisek.nesveda:
Weird... Just FYI, I repacked the boot.img with the zImage_cyanogenmod and it booted. And I gotta say it feels really fast.
[Nexus 7 Original Development] HTCDreamOn:
I've mucked about with the cyanogenmod defconfig manually this time so I don't see any reason why it shouldn't work with the modifications now... I'll upload the zImage in this post once it's done.

EDIT: Here's a flashable zip of the kernel using this config.

EDIT: for some reason I can't get the defconfig modifications to work at all... it always just boots into M-kernel which is what I've got on my internal ROM partition. Maybe a kexec problem?

EDIT: I've uploaded a new version with some options I wanted enabled... you may or may not want these, but I'll upload it anyway. Here's the stuff I enabled.
[Nexus 7 Original Development] dareino:
Getting Kexec error when booting w/options zip
[Nexus 7 Original Development] homerograco:
Just passing to say that the version with options worked well with Rastakat F2FS! And it feels much faster!
[Nexus 7 Original Development] HTCDreamOn:
Do you mean that you don't get kexec errors with the unmodified one, because looking now I don't think either one has kexec enabled?
[Nexus 7 Original Development] dareino:
ya that is strange....the first kernel (non-options) I flashed to a secondary rom (in MultiRom I dont share kernels) , all was well. Then I tried the options mod and got the kexec error. I reflashed the non-options kernel and got the kexec error.....
[Nexus 7 Original Development] dareino:
EDIT-Before I installed your roms , I installed the Frantiseks rom to the Primary rom, that for whatever reason caused the secondary roms from booting, giving me the kexec error.

I reinstalled m-kernel to primary.I then reinstalled Frantiseks kernel to secondary's and it booted fine....

EDIIT- I flashed you mod/options kernel onto my secondary rom and it installed and booted fine
[Nexus 7 Original Development] HTCDreamOn:
Oh I see what's happening: You only need kexec on the primary kernel so it would have worked for you when you had M-kernel on your primary ROM. I've compiled a version with kexec enabled and it worked when I flashed it to my internal and primary ROM so I think all the problems should be fixed now. So to everyone else who wants to use f2fs franco.Kernel on their primary ROM: you need to use this version as the previous version will

not

work unless flashed to secondary ROMs. If you're not using MultiROM then it doesn't matter either way.
[Nexus 7 Original Development] dareino:
Thxs man. Ill give it a try....
[Nexus 7 Original Development] rjmohit:
Anyone tried this kernel with 4.4.3 ROM?
[Nexus 7 Original Development] domg73:
Me... it seems to work without any problem...
[Nexus 7 Original Development] ariesgodofwar:
I flashed r79 over stock 4.4.3 on both my Groupers and have not had any compatibility issues.
[Nexus 7 Original Development] gerardo87:
I'm on paranoid android 4.4.3 and I haven't issues with this kernel too ?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Nexus 7 Original Development] occtec:
SlimKat + Franco r79 perfect combo
[Nexus 7 Original Development] occtec:
link please
[Nexus 7 Original Development] jocke_lulle:
Someone who is running this kernel on stock 4.4.3 ROM? Is it better than stock kernel? Since I flashed 4.4.3 factory image my device has been pretty snappy and batterylife has been better than before so I wonder if I should give this kernel a shot or not:)
[Nexus 7 Original Development] razielpr:
Flashed this kernel on stock rom im having one issue my tablet takes forever to charge and battery life is poor if I use wifi it won't charge it displays the battery is charging but won't charge battery keeps dropping any solution for this??
[Nexus 7 Original Development] occtec:
same issue for me but on slimkat
[Nexus 7 Original Development] occtec:
[MENTION=3292224]franciscofranco[/MENTION], I know you don't like being pushed or asked for updates but it's there any chance you could look at what's causing the long charging issue please mate whilst using a wall charger. I'm running slimkat on my son's Nexus 7 no other mods and your latest kernel. Charging takes forever. Thanks mate! I'm happy to assist with test boot if you like [emoji6]
[Nexus 7 Original Development] Daniel DS:
Every custom kernel is seemingly better than the stock kernel, otherwize custom kernels wouldn't exist in first place :)

Franco kernel is the s**t, and at least 20% more battery life than in stock and the community/support is great
[Nexus 7 Original Development] rainboycool:
i try to instal this kernel now.

tilapia 4.4.4 cm11 nightly

in the firstime .. i really shock tooo.... "instaling virus " WTF !!! #!*#(*@&# LOL

^_^V

and reboot sytem after flash this kernel on CM1 4.4.4

so many erorr like calender .. core etc. reboot sytem.

and ... now nothing erorr notice...

am try this kernel and smooth from stock.... need test for a week so can see this performe kernel.

thx to you... guy
[Nexus 7 Original Development] hadramos:
Hi,

I'm noob with Nexus 7.

I have unlocked my bootloader and i have rooting my Nexus with Nexus ToolKit.

This Kernel it's ok with Stock Rom (4.4.4) ?

Very thanks!
[Nexus 7 Original Development] nexusmaniac:
Yes it's all good :)
[Nexus 7 Original Development] bhu1:
Guys I am in need of assistance.

Two days ago I wiped my device clean and moved to CM and Franco kernel, everything has been great including battery, performance, etc except for the fact that I am getting SODs.

Their occurrences are random but most times I switch the screen off and switch it back on it doesn't switch back on.
[Nexus 7 Original Development] khaytsus:
Have you messed with the frequencies or voltages? Governors? If so, reset all of that stuff back to defaults in whatever app you have setting them, reboot, see if it still happens.
[Nexus 7 Original Development] lolcopter:
That specific problem was fixed with r79

I thought Franco wasn't compatible with CM, may be thinking of MIUI tho

Previously one way to fix was turn up the minimum CPU speed
[Nexus 7 Original Development] bhu1:
All settings are stock, and I thought that low frequency might be a problem so I already ramped it up to 200 from 100. I still get the SODs.

Tried increasing minimum, still get the SODs.
[Nexus 7 Original Development] abuttino:
Is there a Franco for grouper?
[Nexus 7 Original Development] nexusmaniac:
Yes... And you're in the correct thread, read the op for the download
[Nexus 7 Original Development] abuttino:
I'm getting build.prop errors.
[Nexus 7 Original Development] android4temo:
I was using the Franco Kernel app and downloaded and installed the recommended Kernel for my N7 in TWRP recovery. Now... My N7 just sits (for 3 hours now) on the starting apps screen. Never had this happen before therefore, I haven't a clue how to fix this. Umm... Help.... Pls.

Sent From My Rooted Nexus 5
[Nexus 7 Original Development] slebit:
Reboot to recovery by holding power + volume down. Flash your ROM again in recovery.
[Nexus 7 Original Development] abuttino:
Any clues as to the the reason I can't install this are?
[Nexus 7 Original Development] slebit:
Update twrp.
[Nexus 7 Original Development] abuttino:
Ahh.. Thanks!
[Nexus 7 Original Development] android4temo:
Thanks for the advice. I wasn't flashing a ROM. I was completely stock and rooted only flashing a kernel.

Sent From My Rooted Nexus 5
[Nexus 7 Original Development] JerryPi:
Does anybody have any issues with the latest Franco kernel updater and overclocking your gpu? I can't manually set my gpu frequency because it shows the same drop down menu as the cpu does where it goes to 1300mhz, and clicking any of the options doesn't do anything.
[Nexus 7 Original Development] weirdsciencex:
If it ever sticks on starting apps etc, hold the power button for approx 10 seconds which will force it to reboot.

Do you have a custom recovery installed? If so if the problem persists wipe cache/dalvik and try again.

Sent from my Nexus 7
[Nexus 7 Original Development] woodyxxl:
Thx to GedBlake

Same problem I have with 4.4.2 -> 4.4.3 OTA and 4.4.4 OTA - so I fix it like GedBlake and now I´ve 4.4.4
[Nexus 7 Original Development] franciscofranco:
Pushed r80:

* Merge 4.4.3/4 patches

* Merged my Hotplug driver improvements

* Better battery life due to some changes in the CPU frequency scaler

Have fun!

Small bug, I'll fix it soon.
[Nexus 7 Original Development] OGroteKoning:
Thanks for the continued support!
[Nexus 7 Original Development] andrew9292:
Im currently on faux now. But i had charge issues with former r79 and faux itself until I did this. May or may not help if you are facing the forever charge / dropping batt % while using & charging issue.

Those having charge issues, here's what I did. Credits google.

1. Purchased a can of contact cleaner from hw store. Removed back cover, unplugged batt and spray a cotton swab with the cleaner, clean the pins. Do the same with a rolled and flattened tissue on the microusb port. Plug the batt back in.

2. Disable USB Debug from Developer Ops. Change root access to Apps only (instead of apps and ADB)

3. Under storage tab in settings, click the 'menu' button at top right corner. Click the usb connection menu, disable mtp and ptp

4. Go to battery and connect wall charger. Make sure it says Charging (AC) and not (USB). If it does, rapidly unplug and replug the cable on charger end (i think its more sturdy there) until it says Charging AC

If you need to transfer files or use ADB, im sure you know how to enable them againm. Not sure if it screws things again tho.

Not sure which actually worked it out, but it has been 3 restarts and all is fine. Before this, tablet was charging at 500mah I suppose, battery drops while charging and using the n7. Now, battery charges while charging & charge time back to normal. Take precaution not to destroy the hardware when you open the back cover or if you have a really borked gonna-spoil-soon usb port.
[Nexus 7 Original Development] villemann:
Franco, I'm a noob and have no idea how you did it, but my N7 haven't worked this well for a year or so. Never flashing anything else :p

Great job. So happy that you still support this device.

Thanks and cheers!
[Nexus 7 Original Development] JerryPi:
Franco thanks for the update, i haven`t tested it because i have my partitions formated to f2fs. Can we get another f2fs modified kernel form HTCDreamOn? ;) The r79 f2fs one worked like a charm, and i was toying with agnostic kernel tool from frantisek.nesveda with no luck :(
[Nexus 7 Original Development] HTCDreamOn:
It's building this instant ;)
[Nexus 7 Original Development] Shivam Kuchhal:
Great man! You're a life saver here. Eagerly waiting for it.
[Nexus 7 Original Development] D_Viper:
Sorry if say before... Do this kernel supporto NTFS forma otg?
[Nexus 7 Original Development] franciscofranco:
As far as I remember yes.
[Nexus 7 Original Development] JerryPi:
Tnx, so did it boot? ?
[Nexus 7 Original Development] HTCDreamOn:
Only on secondary ROM... [MENTION=3292224]franciscofranco[/MENTION] are you not using tegra3_android_defconfig or something because that config doesn't even have kexec enabled despite the fact that your kernel definitely has kexec support. Whatever I do I cannot get a) cyanogen's config working b) tegra3_android_defconfig with kexec added manually or c) tegra3_android_defconfig working with kexec enabled in menuconfig which also adds a load of autogenerated stuff not previously in the config.

By "not working", I mean I can't even get past the Google logo. Do you have any idea what's going on?

Here's my source: https://github.com/enssorcel/Grouper-3.1.10/commits/nightlies-4.4-f2fs
[Nexus 7 Original Development] Shivam Kuchhal:
Can you post a build without kecec? I really want to try r80.
[Nexus 7 Original Development] HTCDreamOn:
Yeah I'm an idiot it wouldn't boot 'cos of the -O3 flags, it works perfectly all round now.

F2FS BUILDS ARE HERE

Sauce

Of course all credit goes to franco cos he's awesome, which makes our N7s awesome.

These are identical to the latest r80 aside from:

F2FS support (All-F2FS and F2FS /data)

Packaged in agnostic zip so it's safe to flash for ext4, all-f2fs, or f2fs /data

Disabled conservative and ondemand governors otherwise the kernel won't build

Enabled row iosched because it was disabled but I could've sworn this was in franco.Kernel already

Likewise for kexec, I enabled all the kexec configs even though the original is kexec patched :silly: franco must use another config

Better background gradients (different dithering mode, check github)

Compiled with @Christopher83 's Cortex-A9 optimized linaro gcc 4.9.1 toolchain

Check the sauce link above to see for yourself

So overall it should be exactly the same aside from F2FS support.

Click me

here

to download.

EDIT: Anyone who downloaded before 19:00 GMT 19/07/2014 please redownload, as I have now applied the better background gradient which I forgot beforehand (and also fixed the typo in the filename) thanks :)
[Nexus 7 Original Development] nexusmaniac:
I know this isn't there perfect thread to ask this but. Do I need to have a specific ROM to enable f2fs or can I just use your modded kernel and normal PA?

Thanks!
[Nexus 7 Original Development] franciscofranco:
You need to have your partitions formatted into F2FS instead of the default ext4. I'm not sure it's worth the hassle to be really honest.
[Nexus 7 Original Development] nexusmaniac:
As in format them through TWRP? Because that bit's fine, if I need to start modding custom ROMs to make it work then I won't bother :)
[Nexus 7 Original Development] TheDarkDefender:
Yes, there's an ntfs format option in twrp. You will also have to use f2fs modded roms.

IMO, it is all just placebo, and isn't worth the hassle.
[Nexus 7 Original Development] HTCDreamOn:
You need a special TWRP. The latest MultiROM has an option to format all partitions to F2FS.

The Franco kernel I built with F2FS support should work on any F2FS ROM apart from CyanogenMod. All you need to do to make a ROM F2FS compatible is to follow this guide. It's literally a matter of editing 2 lines in the updater script.

Eh if there's one thing I've learned from being on XDA then it's that everyone loves a good bit of placebo. The problem is, if you ask people who run f2fs then they'll say it's great, and if its a placebo then hey no harm done; if you ask people who run ext4 they'll say don't bother, too much hassle.

In my opinion, it still just comes down to which ROM and kernel you use. SlimKat and OmniROM f2fs were horrifically slow for me, but Rastakat, Purity, AOSPA have been great on ext4 and f2fs. However any good effects of f2fs were slightly discounted by the fact I couldn't use Franco kernel which imho is the be all and end all of kernels for Grouper, so I just had to make it f2fs compatible.

Overall I can't say whether f2fs is any better as I can't remember what ext4 was like. f2fs certainly works though, and I don't get any visible slowdowns even after using the same ROM for months. If you experience this then you might want to try f2fs.

As for the hassle, it is annoying that you need to format everything but if you manage your time well then it doesn't take you too long e.g, just leave your files copying to you computer over night, then maybe half an hour total setting up MultiROM and flashing a ROM, then copy your files back over when you're nor using your N7 again.

Either way, I'll continue making f2fs compatible versions of franco kernel as long as he keeps updating it.
[Nexus 7 Original Development] espaciosalter20:
In fact, latest twrp (7.1.1.x) have f2fs-tools by default....

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 7 Original Development] Reiven89:
Thank you very much, i think that the f2fs partitions on nexus 7 2012 are very useful on certain operations. On everyday use the difference wont be very noticeable but having f2fs partitions really help when moving files, wiping and doing many other things. Using your kernel with Purity f2fs and everything work good :)
[Nexus 7 Original Development] khaytsus:
The ROM does not care about the filesystems on the Nexus 7, the kernel/ramdisk is what mounts things, so the kernel has to be configured for it.

As for placebo, there's a lot of snake oil on XDA, but f2fs is not one of them. It doesn't fix the core problem on the n7 (crappy IO on the Tegra 3 controllers) but it mitigates it to the point of being usable. Yes, it still sometimes lag. It doesn't lag all of the time.

The biggest hassle, IMO, is restoring the SD card... So I just purchased an OTG 32G flash drive, backed up everything with tibu, then copied the SD card contents to it, formatted f2fs on /data, then restored. Not too big a deal.

As for /system on f2fs? That's just stupid and pointless. I can see an argument for /cache but it's used so much less than /data I don't bother.
[Nexus 7 Original Development] D_Viper:
I have try it... This kernel dont support NTFS on otg... Cm11 kernel yes