yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] fajarlazuarding:
I'm using 204 now, and core online still 2. confirmed using perfmon's app and system monitor in FKU itself.
[Nexus 4 Android Development] hrishi420:
I want more battery instead of performance, what parameters should i change
[Nexus 4 Android Development] gharrrrrr:
Lower max CPU and GPU. Increase hotplug and governor load threshold and reduce input boost frequencies and boost pulse duration.

Sent from my Hammerhead using my TARDIS.
[Nexus 4 Android Development] amarb70:
I don't understand something, I used this kernel for a large amount of time and liked it loads but am now looking to test another.

For some reason, I flashed the ak prima uninstaller zip and flashed the 4.4.2 stock kernel but still don't have any WiFi, like it's the "turning on WiFi" message. I thought flashing the zip would fix this. Any idea? :)

...sent from space
[Nexus 4 Android Development] gharrrrrr:
Dirty flash ROM?

Sent from my Hammerhead using my TARDIS.
[Nexus 4 Android Development] amarb70:
I'm not the biggest fan of dirty flashing since I have a lot of things set a certain way with my ROM (ie, certain zips and apps removed etc) but I'm sure there must be a way to instead of reflashing? I don't understand why it would do this though :S

...sent from space
[Nexus 4 Android Development] Luigiesin:
I know what you mean about dirty flashing but that's the only way brother.
[Nexus 4 Android Development] gharrrrrr:
I am only dirty ;)

Sent from my Hammerhead using my TARDIS.
[Nexus 4 Android Development] amarb70:
Ahh I guess I dirty flashing is the only way. But then what's the purpose of the prima uninstaller zip? Does that render it useless? Since it doesn't actually remove the drivers?:confused:

Easy there man, don't wana get too excited do we ;)

...sent from space
[Nexus 4 Android Development] server3249:
[MENTION=4888112]xcstacy[/MENTION] Is there something different about fast charge in this kernel? It charges faster than other kernels on fast charge.
[Nexus 4 Android Development] Luigiesin:
It's the supercharger mod...
[Nexus 4 Android Development] FalenDemon:
Hello guys! Is this normal behavior? Almost all time on 3g, auto brightness, uv to 1100000 max, underclock to 1,0ghz.

CM nightly, no wakelocks.
[Nexus 4 Android Development] Luigiesin:
You'll get even more battery if you disable wifi always scanning.
[Nexus 4 Android Development] xcstacy:
The latest SaberMod Toolchain 4.8.3 with graphite flags are making things fly! :D
[Nexus 4 Android Development] xcstacy:
I'm using this commit ec34cd5 from faux.
[Nexus 4 Android Development] davemuir:
I'm having weird issues with the Prima drivers.

I'm currently on my second Nexus 4 (had an unfortunate accident with my last one!) and I have used various ROMs and kernels over the time since release.

Whenever I have used any kernel with the new Prima drivers, I can never seem to use my work's WiFi, but most other WiFi setups are fine.

Has anyone else experienced this?
[Nexus 4 Android Development] amarb70:
Tbh, it would be great to see a version of 204 without prima drivers (everything else which is already included is there expect that)

I feel prima drivers can cause weird problems and an option to not have them included in the kernel would be great.

Of course this is only a suggestion ;)

*edit* just saw the op saying he doesn't have time to make more builds, oops. Maybe someone with building knowledge can build one without prima? :)

...sent from space
[Nexus 4 Android Development] jolinnard:
Hey [MENTION=4888112]xcstacy[/MENTION]

I'm trying your kernel but it doesn't mount /data correctly with F2FS filesystem. You need to enable CONFIG_F2FS_FS_SECURITY in config. Can you include in next version?

Thanks
[Nexus 4 Android Development] TheDarkDefender:
I think there needs to be an entry in fstab to mount /data as f2fs which would affect the other users. So you'll probably need separate kernels.

Btw.. What happened to jolie kernel?
[Nexus 4 Android Development] jolinnard:
Hi! Jolie kernel is alive... But I'm playing with f2fs for a while, in different kernels and I know exactly the right fstab that I need to use. In fact I am running HellsDoctor now with system, data and cache formatted in f2fs.

So, somebody ask me to patch this kernel to make it selectable (chosing what partitions you want to mount as f2fs simply renaming the zip). All this is done but /data doesn't work right, and it is because that missing kernel option. I enabled in all my builds in last days (Hellsgod, Jolie, MiRaGe... etc) and I know it's needed.

I can rebuild this kernel from source, that would be easy, but if the op said that f2fs is suppported is better to be correct.
[Nexus 4 Android Development] xcstacy:
r204 test build 1

I'm really sorry about the F2FS. Thanks [MENTION=2002216]jolinnard[/MENTION] for pointing out my mistake.

Here's a test build with fixed F2FS, stock Prima driver, reimplementation of sched-dl with upstream lsk sched patches and the kernel is now compiled with SaberMod GCC 4.9 with graphite on!!

Link: Dev-host
[Nexus 4 Android Development] davemuir:
Daaamn!!

Thank you!!!
[Nexus 4 Android Development] amarb70:
Would you mind if I ask what are stock prima drivers? What was the difference between the drivers in this version and the normal 204?

...sent from space
[Nexus 4 Android Development] desiromeo719:
glad I was able to flash to the new test kernel from the previous one with prima drivers without having any issues with wifi. No need to flash rom, for me. Also, boy does it feel fast! Thanks!
[Nexus 4 Android Development] xcstacy:
Is F2FS working? I don't have time to reformat my partitions so I would appreciate it if you guys can test it for me. :)
[Nexus 4 Android Development] xcstacy:
Stock prima is from google's repo : https://android.googlesource.com/kernel/msm/+/android-msm-mako-3.4-kitkat-mr1/drivers/staging/prima/

The normal 204 had upstream prima driver from CAF: https://www.codeaurora.org/cgit/qui...om-opensource/wlan/prima/log/?h=kk_2.7_rb1.33
[Nexus 4 Android Development] Luigiesin:
Hey Xtacy... Just wanted to thank you for your kernel support brotha... I just got an HTC M8 and won't be able to use your kernels... Though, it would be awesome if you could compile M8 kernel for sense... Or maybe guide me through the process of getting the tools to do it myself.

Thanks brother!

Lu
[Nexus 4 Android Development] qwerty123321:
Can you make a revert zip file for default drivers ? The AK link you provided earlier that is suppose get rid of prima driver doesn't work :/
[Nexus 4 Android Development] RedGoblinz:
Is this kernel supposed to work with f2fs? I keep getting the password decryption dialogue.
[Nexus 4 Android Development] gharrrrrr:
Did you try the test build posted a page back?
[Nexus 4 Android Development] RedGoblinz:
Yes I did. Still the same problem :(
[Nexus 4 Android Development] gharrrrrr:
Bummer. Good to know though. I was thinking of switching my N4 to f2fs and hoped to use this kernel. Did you do full f2fs or just /data? Just curious.
[Nexus 4 Android Development] RedGoblinz:
Data is f2fs, but I can't get cache to mount as f2fs. I assume that's the problem.

_____

I got it to work, cache is still ext4 but booted without decryption dialogue.

I'm not sure if it actually is this kernel I'm using, I extracted the zImage and placed it into the selectable zip for HellsDoctor made by Jolinnard.
[Nexus 4 Android Development] fluffier:
Hi, these are my results with AOSP version r204. First cycle, no wifi just 3G. I changed nothing with trickstermod.
[Nexus 4 Android Development] deedeeceleb:
I'm not even able to boot on f2fs-all. It gets always stuck on Google logo...

Gesendet von meinem Nexus 7 mit Tapatalk
[Nexus 4 Android Development] mikaole:
Same here full f2fs. Hellsdoctor and ak are working, but Sabermod not booting at all. Damn I love this kernel.
[Nexus 4 Android Development] jolinnard:
To boot, you need to patch fstab.mako file inside boot.img, this tells to android what partitions you have. If not, kernel is capable to mount f2fs partitions, but if fstab.mako is set to default (ext4) it will crash.
[Nexus 4 Android Development] deedeeceleb:
Thanks for the answer.. What exactly should i change in fstab?

Thought it should already be changed in sabermod Franco with f2fs support?

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Android Development] jolinnard:
No, you need to change it manually, but first you have to format your partitions to f2fs. Check this post first. You need a special recovery to format properly your desired partitions and then ROM and kernels should have the correct commands in flash scripts. I made some kernel rebuilds there and some other stuff to help anybody that want to try f2fs.
[Nexus 4 Android Development] deedeeceleb:
Iam already on f2fs, but Franco isn't booting! Tried the test version here and the selectable version. [MENTION=4439521]mikaole[/MENTION] can't manage to boot it, too.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Android Development] jolinnard:
Ok, I need help here... I can boot a zImage of this kernel but flashed with AnyKernel zip file. Wifi isn't working in this case.

On the other hand, selectable version I made before, unpacks boot.img, patch fstab.mako and repack it with typical AnyKernel method:

mkbootimg --kernel /tmp/boot.img-zImage --ramdisk /tmp/boot.img-ramdisk.gz --cmdline \"$(cat /tmp/boot.img-cmdline)\" --base 0x$(cat /tmp/boot.img-base) --pagesize 2048 --ramdiskaddr 0x81800000 --output /tmp/newboot.img

in this case Android boots, but you are not able to write into f2fs partitions (/data and /cache for instance).

Somebody knows what's the difference in ramdisk that franco use over stock? I found the repo but I don't see it...

Thanks
[Nexus 4 Android Development] anandbibek:
Open the anykernel patch modrd.sh from CM compatible franco kernel zip. It's all there
[Nexus 4 Android Development] xcstacy:
Did you copy the entire zip file when you replaced it with your own f2fs scripts? It contains v3.2.7.47 WiFi drivers and are essential for WiFi to work.
[Nexus 4 Android Development] jolinnard:
Yes of course. You mean files in system folder, right?

/system/vendor/firmware/wlan/prima/WCNSS_cfg.dat

/system/etc/wifi/WCNSS_qcom_cfg.ini

In my zip, I replace zImage with AOSP build and I add my script to patch fstab in anykernel.sh.
[Nexus 4 Android Development] xcstacy:
Yup those two files. You've only used r204 zip right? Not the r204 Test zip I posted several pages ago.
[Nexus 4 Android Development] jolinnard:
Thanks, you are right again. With that test image wifi is working ;)
[Nexus 4 Android Development] desiromeo719:
r205 dropped!!
[Nexus 4 Android Development] xcstacy:
Sorry guys. I don't think I can build r205 or any future Franco release. My HDD died a few days ago and I have been trying to rescue all my files in it. I will probably get a new laptop soon (2-3 months) so till then someone can fork my repo and build the kernel.
[Nexus 4 Android Development] philosophics:
Epic Whomp!
[Nexus 4 Android Development] jkyoho:
So sorry to hear that. May be you would try open up donate link to get help from ppl in XDA
[Nexus 4 Android Development] gharrrrrr:
Noooooooooooooooooooo!

Sent from my Hammerhead using my T.A.R.D.I.S.
[Nexus 4 Android Development] desiromeo719:
Bummer.. Anybody know how to do what he does? Lol
[Nexus 4 Android Development] philosophics:
I'm going to attempt it. The only problem I have is that I don't run Linux. Will have to setup my machine. As slow as I am, someone else might get to it before me...
[Nexus 4 Android Development] gharrrrrr:
Any point me towards a guide for kernel compiling? I have never tried it before but I am willing to take a stab at it.

Sent from my Hammerhead using my T.A.R.D.I.S.
[Nexus 4 Android Development] XsceneXhippieX:
man i was holding out on updating to the franco 206 release i found until i saw a sabermod version released and now i read that the HDD that builds this masterpiece is crashed, guess ill have to test out some other stuff, just tried hellscore for the first time though, is decent but TARDIS breaks like everything i run it on, prolly the dalvik libs though. philosophics, you think your machine would be up to compiling this kernel with some tinkering?
[Nexus 4 Android Development] xcstacy:
I actually did quite a lot with Saber r205. I have upstreamed the sched codes to linaro stable kernel (LSK) branch with the help of synthetic.nightmare git and also patched the kernel to work correctly with GCC 4.9 and 4.10 (r204 test was compiled using SaberMod GCC 4.9).

Now with my HDD dead, I will need to reapply the patches again to the codes on my git. :(

I have added a paypal link in my profile.

If you guys are planning to build the kernel on Ubuntu, this link and this link provides an extensive guide on how to setup the build environment and kernel directory.

Then once everything is set, you can run "git clone https://github.com/xcstacy/mako-linaro.git" to download my repo.

To build, cd into the kernel directory (in this case it would be "mako-linaro) and type "make franco_defconfig" followed with make -jx (x is the number of cpu cores + 1).

Let me know if you run into any problem and I will try my best to help.
[Nexus 4 Android Development] philosophics:
Once I get a Linux environment up, I will make my best attempt. But I won't have time until Friday.

The race is on!
[Nexus 4 Android Development] gharrrrrr:
Thanks man. I have a desktop running Lubuntu right now that I pretty much don't use for anything. Been reading a couple of other guides I found on the net. Thanks for the info. When I find time I think I'll take a crack at this.

Sent from my Hammerhead using my T.A.R.D.I.S.
[Nexus 4 Android Development] gharrrrrr:
Just took a stab at compiling it but several errors popped up.

Sent from my Hammerhead using my T.A.R.D.I.S.
[Nexus 4 Android Development] zaclimon:
I just got a kernel compiled (with newer sabermod build) but it contains some stuff that hasn't been pushed yet through normal mako builds so try at your discretion... (it would be maybe r207 based)

http://d-h.st/2uk

EDIT: BTW this is AOSP...

Also [MENTION=4888112]xcstacy[/MENTION] I can try to replace you for the time being, I just got myself a mako and I would like to get something out of this kernel. I'll send you a PM regarding what you were working on.
[Nexus 4 Android Development] jmtjr278:
Does your new build support f2fs?
[Nexus 4 Android Development] zaclimon:
It is the same (in theory) kernel that xcstacy builds only that it uses a sightly updated sabermod gcc and uses the newest franco patches. So I would guess that f2fs should be supported.

That said, is the kernel working at least? I haven't got time to unlock my mako yet so it has been a *blind* build. Considering that it compiled fine, I would guess that it's working.
[Nexus 4 Android Development] jmtjr278:
Does not boot. Gets stuck at black Google screen. I'm using PA newest beta f2fs. Dirty flashed ROM and get stuck on reboot.

---------- Post added at 09:54 PM ---------- Previous post was at 09:39 PM ----------

Are you building with 4.9 or 4.10 sabermod toolchain?

[MENTION=5334172]Gnome[/MENTION] has been trying to build the arkenstone with said toolchains and has been having similar results I believe.
[Nexus 4 Android Development] zaclimon:
I was building it with the 4.8 sabermod toolchain but I was kinda expecting this. I'll try to investigate more on it.
[Nexus 4 Android Development] zaclimon:
Ok, I unlocked my device, just tried the boot.img looks like it works nicely so far only that I have an issue with wifi. Maybe I got something wrong when I merged the repos. I'll investigate more deeply during the weekend.
[Nexus 4 Android Development] zaclimon:
Update time!

Alright guys, in waiting for xcstacy to get his stuff back, here's a little update for those who have been waiting. :p

- Based on r206 (with some newer commits not present yet on the normal f.k. kernel)

- Reverted the prima drivers (were causing me some issues)

- Cleaned up the optimisations a little bit

- Updated the F2FS drivers

Note: These are AOSP kernels.

Ext4: http://d-h.st/DIy

F2FS: http://d-h.st/TGb

Enjoy!! :)

Also I had an idea actually to avoid compiling multiple builds. I could build one the zImage then use anykernel to do the trick (This way the ramdisk remains which means no more F2FS and/or Ext4 builds and only CM and AOSP ones)

What do you think about it?
[Nexus 4 Android Development] hrishi420:
Thanks zaclimon
[Nexus 4 Android Development] philosophics:
I see a significant performance increase with the ext4 build. Tried using the f2fs first but it kept boot looping. And yes, I did do all the converting before just flashing it.

Thank you very much for that! Can't wait to see if you'll release a 207 build...
[Nexus 4 Android Development] boardlord:
Here's hoping for CM-compatible version :D
[Nexus 4 Android Development] zaclimon:
Hmm I don't quite know what's needed to get full f2fs support, I guessed that I only needed to tweak the ramdisk a bit + updating the f2fs drivers but I think it needs something else. Also an r207 build should come tomowrrow and I'll try as well to use the 4.9 or 4.10 sabermod toolchain. :p

I may try to get this tomorrow for you CM guys.
[Nexus 4 Android Development] zaclimon:
Thing said, thing done, here's the r207 based build.

- Based on r207

- Compiled using the 4.10 SM toolchain + Graphite (Note: it may be possible that it is not as smooth as r206 because I removed some optmizations needed to get it booting, though there's some more memory improvements)

- Updated the kernel to 3.4.90

- Updated the prima drivers once again (found the issue)

- CM support

Note: These builds are Ext4 only.

AOSP: http://d-h.st/xWQ

CM: http://d-h.st/BHn

As I don't use CM personally, could someone report to see if it works?

Enjoy!! :)
[Nexus 4 Android Development] abubakr125:
Just flashed CM r207. I can confirm that it isn't working for me. It boots, but has the same problem with display corruption and inverted colors as stock Franco.

Thanks for the effort
[Nexus 4 Android Development] zaclimon:
Alright I just re-compiled the CM kernel, seems like I was missing something. Could you confirm to see if it works?
[Nexus 4 Android Development] mchartier:
Just flashed it, the colors are fixed but root appears to be broken... :confused:

Edit: Just the CM root is broken, works after installing SuperSU zip and un-ticking "Respect CM Root Settings", Thanks for the hard work and cheers! :)
[Nexus 4 Android Development] zaclimon:
Hmm that's strange. Are you using a custom cm build or a nightly?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] y3mita:
Which one you use as your primary kernel?
[Nexus 4 Android Development] xcstacy:
I switch between prima and test. Can't decide which is better haha :p
[Nexus 4 Android Development] gharrrrrr:
Does the test build have latest prima drivers as well?
[Nexus 4 Android Development] xcstacy:
Nope, test build doesn't have the latest prima driver unfortunately. I have indicated the changelog in OP. Please do take your time to read through. :)
[Nexus 4 Android Development] gharrrrrr:
I did read. Thank you very much. But you said you were switching between the two. And as far as I know that means a dirty flash or else WiFi problems. Thanks for your response. Glad you are such a cool guy with such a great attitude.

Edit: wow. Respond sarcastically and get a thanks for it. Cool.
[Nexus 4 Android Development] y3mita:
Well I'm happy with test kernel... I had to switch to trickster for tap to wake option. FKU doesn't show this option, weird since its based on Franco.

I don't see the need for me to try the other 2 kernels you provide. The test one flies :)
[Nexus 4 Android Development] gharrrrrr:
FKU doesn't show included tap to wake feature because it is still unstable and experimental. There is a code you can enter in terminal to activate or deactivate it if you wish to use FKU
[Nexus 4 Android Development] xcstacy:
cuz i'm cool like dat~ ;)
[Nexus 4 Android Development] Luigiesin:
196 is out! Oh yeah :)
[Nexus 4 Android Development] xcstacy:
OP updated.

- Franco upstream r196

- Added codel net scheduler to Prima branch

Download links are in OP and xda server as usual. :)

Edit: Oh and you can now switch between branch without having to reflash your ROM. I have included the necessary prima files in the zips.
[Nexus 4 Android Development] gharrrrrr:
Cool as a cucumber :thumbup:
[Nexus 4 Android Development] desiromeo719:
Damn your fast! Really glad you started this kernel :)

Can you explain what this codel net scheduler is?
[Nexus 4 Android Development] Luigiesin:
Flashed.. Thanks man! Running great!
[Nexus 4 Android Development] ScoolAir:
from all the 3 options, what the best kernel to battery life? the prima or stock?

sory, new in that
[Nexus 4 Android Development] Luigiesin:
They should have the same battery life... But the prima drivers are know to be awesome for wifi and battery during wifi..
[Nexus 4 Android Development] xcstacy:
CoDel - Controlled delay.

Its basically a new TCP algorithm to manage bufferbloats during packet sending. It makes sure that no packet is queued for too long by adding a 'expiry time' to each of the packet.

You can read more about it here

Long story short, it improves end user wireless ping. (Please correct me if I am wrong, I'm not very familiar with this).
[Nexus 4 Android Development] ernestnwanu:
WiFi cuts off when phone sleeps for me. On the stock version. (I'm used to this happening on the Prima version)
[Nexus 4 Android Development] xcstacy:
Hmm that's weird. I can still receive whatsapp messages when my phone sleeps with stock version.

Which ROM are you using?

I didn't change much on stock version so it should be almost the same as franco's.
[Nexus 4 Android Development] joni_strokes:
thanks bro for continuing Labo works :)
[Nexus 4 Android Development] ernestnwanu:
On PSX. Having the phone forget the network and setting it back up seems to have solved it. I'll let you know if I ever see it again, thanks for the kernel.
[Nexus 4 Android Development] mchartier:
I'm using the official 05/12 nightly with Stock PA Gapps
[Nexus 4 Android Development] chipstien:
CM kernal v207 working great on Liquidsmooth. No loss of root as reported.
[Nexus 4 Android Development] zaclimon:
Hmm that's just weird, I'll investigate that but if it's working well with supersu, I guess there's nothing to be afraid of. :p

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] desiromeo719:
AOSP r207 working great here on cataclysm! Thanks for keeping this kernel alive :)
[Nexus 4 Android Development] mchartier:
r208

r208 is out! Any chance to get a new build? :)
[Nexus 4 Android Development] slipknot31:
AOSP , CM?
[Nexus 4 Android Development] mchartier:
CM :D
[Nexus 4 Android Development] slipknot31:
Likn r208 CM?
[Nexus 4 Android Development] mchartier:
AOSP Version of r208 is out but I am hoping for a CM build of the Sabermod Version of this Kernel
[Nexus 4 Android Development] zaclimon:
r208 anybody? :p

- Based on r208

- Updated to 3.0.91

- Downgraded the SM toolchain to 4.9 (for stability purposes)

- Added more optimization flags (The device should be smoother now)

- Misc fixes and optimisations

AOSP: http://d-h.st/i97

CM: http://d-h.st/aon

Enjoy!! :)
[Nexus 4 Android Development] gharrrrrr:
Still no f2fs support?
[Nexus 4 Android Development] zaclimon:
Not yet as I didn't had the time to focus myself on it. That said, the kernel support f2fs itself supports f2fs so I would guess that if you try anykernel on it, it would work no problem. Also I don't know if it worth that much because I would have to support 4 builds of the same kernel version which is a little bit tiresome. :)

That said, if there's major interest for f2fs, I'll try to make a build for it.
[Nexus 4 Android Development] gharrrrrr:
Shouldn't have to make different build just for f2fs. At least as far as I understand it. Just going on the other kernels I've seen and tried like HellsDoctor which works fine on ext4 but also supports f2fs.