yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] zaclimon:
True to this. I would consider it if you didn't said that the iPhone had it. NO APPLE ALLOWED HERE!!

Jokes aside, I can check for it but as I said earlier, I doubt I will implement another touch input method.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] WiwiPouPou:
^^ that's OK !

Mmh.. Maybe adding USB OTG ? Hellsdoctor just did it, that's a useful I'll to have !

Anyway, you're very kind, thanks a lot !
[Nexus 4 Android Development] jkyoho:
adding adjust brightness level tweak plz. backlight minimum20 still tooo bright for me...
[Nexus 4 Android Development] WiwiPouPou:
Use semaphore manager to toggle exponential brightness or that cmd line in tasker :

echo 0 > /sys/devices/i2c-0/0-0038/lm3530_br_mode
[Nexus 4 Android Development] zaclimon:
Ya this would be easy to implement, though I remember that the nexus 4 needs an external power source in order to do OTG. Please correct me if I'm wrong though.

For the frequencies I'm less sure because I want to keep it as Franco-esque as possible though if it can save some battery I'll check it. :)

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] WiwiPouPou:
Indeed it needs external power, but with a y cable and an external battery it's still a useful option !

That's cool ! I will donate to you next month on payday ! ;)

Please don't integrate the files that mods framework apk in the ROM, it causes errors with ART, just commit as barome did in HD22 !
[Nexus 4 Android Development] zaclimon:
Alright, I'll add it then. Also don't worry about the framework mods, I only want this to be a kernel first and foremost. :p

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] ernestnwanu:
210 is out! ?
[Nexus 4 Android Development] zaclimon:
Yep, getting this worked on Thursday. :p

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] zaclimon:
Said I would get it today, here it is! :p

r210:

- Upstream code from franco.Kernel (thermal code rebasing and the logic for interactive changed)

- Linux 3.4.101

- Added USB-OTG support

- Compiled using my own newer SM 4.9.2 GCC

- Removed sched_deadline (Was conflicting with some newer stuff included in newer linux versions and I haven't found a difference so far hmm)

Download:

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

CM: http://d-h.st/5sp

I changed up the naming of my branches so it won't affect those who wanted to see the deadline_sched changes. They are now sm-4.4 and sm-4.4-CM:

https://github.com/zaclimon/mako-linaro/tree/sm-4.4

https://github.com/zaclimon/mako-linaro/tree/sm-4.4-cm

Also I was thinking perhaps on making a new thread in order to not clutter this one anymore. Plus I could take on xcstacy's work and add my personal features. What do you guys think of it?

Enjoy!! :)
[Nexus 4 Android Development] philosophics:
I'm for it. It would also alleviate the confusion when people see the title of r204
[Nexus 4 Android Development] desiromeo719:
Thanks man we deff appreciate all the work you do!
[Nexus 4 Android Development] Maibol:
is cool buddy you have been doing a great job and a new thread will be helpful and less confusing for newcomers ;)
[Nexus 4 Android Development] famewolf:
I'm all for a new thread as well...I would have had no idea a new kernel was available if I hadn't happened to click on last page by accident. I assumed franco's n4 stuff had been dropped when he went to n5 (I have both).....please start a new thread.

A couple of questions:

1) If deadline scheduler has been removed what one is a suitable alternative as this is the one I usually picked. I liked that it worked well with flash and worked to reduce latency....on another rom I use noop.

2) Is there a way I can track YOUR kernel using franco's kernel updater? I have the "supporter version". I'd like notification when a new version comes out.
[Nexus 4 Android Development] KcLKcL:
sched-deadline is not the deadline IO Scheduler. I forgot what it was, but it's not related to I/O, IIRC.

Try to do a search in this thread. It was discussed back then If I'm not mistaken.
[Nexus 4 Android Development] zaclimon:
Sched_deadline isn't an i/o scheduler. (not to confuse with deadline i/o scheduler) it is explained on the first page what it is about.

Also no I can't do anything regarding this because the updater checks from the official Franco server and I can't do anything related to it. I could try to add it into OTA update center if people really want OTA but I'll make a new thread so normally the newer version will appear on the thread title.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] TheDarkDefender:
Zac, i lost root after flashing the last one and can't get it back even after a reflash of su. :(

Edit : few pages back, i read a workaround. But it isn't useful cos I'm not running cm. ( Mahdi-rom aosp)
[Nexus 4 Android Development] famewolf:
File Pulled?

*disregard*
[Nexus 4 Android Development] zaclimon:
Hmm that's strange, can I have the permissions of the files present in /sbin? Also is mahdi using supersu or koush's su?
[Nexus 4 Android Development] TheDarkDefender:
Mahdi uses koush's su. But if you flash SuperSU, koush's su is hidden and you see SuperSU instead.
[Nexus 4 Android Development] zaclimon:
Yeah in theory it should be hidden, though both of them can conflict. Normally the quickfix for it would be to go into settings in SuperSU then uncheck "Respect CM's root Policy".

Now if it's isn't working regardless, I'm a bit clueless, because I just tried SuperSU as well as koush's SU on PA and it works flawlessly + your permissions on the scripts looks fine too.
[Nexus 4 Android Development] TheDarkDefender:
Oh . I don't see any such option?
[Nexus 4 Android Development] zaclimon:
Ahh true you aren't running CM. It appears when you're running CM. Though when flashing the zip, it should have erased koush's SU as well. Alright, I'll try mahdi later to see what's this issue about.

Also is the issue occuring with original franco.Kernel or the stock mahdi kernel?
[Nexus 4 Android Development] TheDarkDefender:
Nope. I'm running franco210 and mahdi right now. ( reverted from yours after trying a few work arounds )
[Nexus 4 Android Development] zaclimon:
Alright hmm just tried my kernel with mahdi and it seems to work well so far. (with both koush's superuser and superSU) I doubt it'll do something but have you tried to wipe data to see if it could fix it?
[Nexus 4 Android Development] TheDarkDefender:
Umm.. No. I haven't wiped data in a really long time.

Weird that I'm the only one with the issue. :/
[Nexus 4 Android Development] zaclimon:
That's strange indeed because the only cause I could find is that the Franco ramdisk script wouldn't be working but permission wise, it's looking good hmm...

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] zaclimon:
[MENTION=4778194]TheDarkDefender[/MENTION] I was wondering if you could still use dt2w on your device after flashing the sabermod franco. (with the dt2w.conf) If it doesn't work, it means that the fkbootscript.sh isn't functionning normally and thus, requiring some little changes from me. If it works, then I would require your assistance so I can pinpoint what's the problem. :p
[Nexus 4 Android Development] TheDarkDefender:
Hey sorry Zac. Just noticed the post. D2w doesn't work out of the box, or should I make any configuration changes on trickster?
[Nexus 4 Android Development] zaclimon:
Mehh don't worry about it. :)

Dt2w doesn't work out of the box when enabled with the dtw2.conf? If so then, maybe the fkbootscript.sh isn't executed which would cause your root not to work hmm.

The reason I ask for the dt2w.conf is because the fkbootscript.sh calls a script that reads through the conf file that configure dt2w at boot which is why I'm surprised that it isn't working.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] TheDarkDefender:
Ah ok. Gotcha. I haven't been testing completely since root continues to be broken.

If root doesn't work, FkU doesn't work and so the screen color calibration doesn't apply. I use halfbreed colors and I hate the stock Google colors with a passion. My eyes hurt and can't stand them. Lol. [emoji12] so I switch immediately back to original Franco. I will test dt2w when i get a chance and let you know.
[Nexus 4 Android Development] WiwiPouPou:
I've just reflashed previous 209 version to see... it's me or its a lot smoother than 210 ? (Stock settings on madhi)
[Nexus 4 Android Development] zaclimon:
Could be possible. I didn't found any differences and I'm running on PA, though I'm using some of my own settings for battery saving. Maybe it's something related to sched-dl.
[Nexus 4 Android Development] desiromeo719:
R211 released! Zaclimon work your magic! :)
[Nexus 4 Android Development] zaclimon:
Yep saw it, [MENTION=4778194]TheDarkDefender[/MENTION] I'll need your assistance for this one. :p
[Nexus 4 Android Development] TheDarkDefender:
Lol. How can i help you Zac? :)
[Nexus 4 Android Development] zaclimon:
Getting this root issue fixed for all!
[Nexus 4 Android Development] TheDarkDefender:
At work ,at the moment. PM me your gmail and I ll hit you up on hangouts when I'm back.
[Nexus 4 Android Development] zaclimon:
Update + new thread

Hey guys I just pushed an update, though it's available in the new thread because I don't want to clutter that one anymore:

http://xdaforums.com/nexus-4/development/kernel-sabermod-franco-kernel-r211-t2858561

Also it will be easier to update stuff from the OP. Without any due now here's the changelog.

r211:

- Upstream updates from franco

- Built using up-to-date 4.9.2 SM GCC

- Linux 3.4.103

Enjoy!! :)
[Nexus 4 Android Development] derEremit:
What I'm missing from OP:

Is this for KitKat only?
[Nexus 4 Android Development] mnajem:
just enabled fast charge in the /sys ;)
[Nexus 4 Android Development] xcstacy:
All r194 and above kernels are only for Kitkat ROMs so do not flash them on any 4.2/4.3 ROMs. :)
[Nexus 4 Android Development] MotoFlasher:
I have a question .... has your version of the kernel a init.d support. Could not find anything in the start post about it.

As I've read, has franco's kernel no init.d support.....

Thanks in advance :)
[Nexus 4 Android Development] y3mita:
WiFi notifications working fine when phone sleep. Latest prima kernel here and PXS 2 as well.
[Nexus 4 Android Development] gharrrrrr:
Yes there is init.d support. Regular Franco has init.d as well.
[Nexus 4 Android Development] xcstacy:
Guys how is the kernel performing? How's the battery life?
[Nexus 4 Android Development] Luigiesin:
Excellent!
[Nexus 4 Android Development] dioadi:
Hi,

Why not put Prima on the Test version as well?

I mean, look at that changelog of Test version, Prima included then it will be perfect !
[Nexus 4 Android Development] gharrrrrr:
^kinda agree. I don't see big deal with latest prima drivers. My WiFi works just fine. But test build is running swell for me and adding prima to it couldn't hurt. Would be like ultimate of extras and test stats. But cheers. I'm happy with test build. Fast smooth and battery seems right on par. Cheers
[Nexus 4 Android Development] Luigiesin:
I would like the test version with Prima as well... The prima drivers definitely saves me some battery on wifi.. Plus is super fast!
[Nexus 4 Android Development] kalpik:
Ok, one request, could you please add the brightness driver from Semaphore? It's an awesome feature to have!
[Nexus 4 Android Development] xcstacy:
Yea sure why not? Its test kernel anyway ;)

I will compile it and release as alpha. Then we will decide whether to include it in OP.
[Nexus 4 Android Development] Aashrey99:
Any comments on test vs prima versions? I did try searching for it but this hasn't been asked yet I guess. Thanks! I was on test r195 earlier and I was pretty good. I didn't notice much change in the battery consumption from franco's r195 which is awesome given how optimized battery is on it. :)
[Nexus 4 Android Development] xcstacy:
I have pretty much listed out all the features in OP already. It depends on your personal preference really.

If you want original franco + prima then go for prima version and if you want something more then you can go for test version. :)
[Nexus 4 Android Development] xcstacy:
Alright guys, here's r196 Test alpha version.

Changelog:

Based on Test branch

Added caf v3.2.3.197 Prima

Added faux slab/slub/slob commits

Added stratosk LED control driver

From Stratosk thread:
lm3530_min_br: sets the minimum brightness level (2-114)
lm3530_max_br: sets the maximum brightness level (2-114)
lm3530_br_mode: sets the linear (default 1) or exponential (0) brightness mapping mode.
The sysfs path is /sys/devices/i2c-0/0-0038/

All brightness changes will take effect in the next brightness update from framework i.e. change brightness manually

Flash this at your own risk

Link

Edit: Credits to stratosk and faux BTW.
[Nexus 4 Android Development] nachordez:
If someone has doubts about speed of Wi-Fi with prima drivers, just look that:

Spoiler content hidden.

Never had that before :thumbup:

BTW, the new alpha release. Working fine!

from Nexus 4
[Nexus 4 Android Development] gharrrrrr:
Anyone else having high android OS keep awake with latest alpha release?
[Nexus 4 Android Development] ernestnwanu:
Reporting back. WiFi still cuts off in deep sleep. It connects to mobile data then WiFi after I wake up the phone.. I'm on the stock version.
[Nexus 4 Android Development] xcstacy:
Do you mind flashing the Prima version and see if you still have problem?

Anyone else who is using stock version please let me know if you have deep sleep WiFi problem! Thanks!
[Nexus 4 Android Development] Tagilso:
I know benchmark is just for fun, but i get 18K with prima and alpha version, while stock franco usally hits 21K.

A part from this, everything runs well and WiFi is solid!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] gharrrrrr:
I consistently hit 21-22k with the test version of this kernel. How many times did you run a benchmark? Could have just been bad circumstances.
[Nexus 4 Android Development] Tagilso:
OK it seems that a kernel and patches reflash solved the issue... Back to 21K club!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] anshumandash:
I want use the prima version. Wanted to check if this will work with the latest radio .97?

Good work. :)
[Nexus 4 Android Development] kelvin99:
Yes it will work
[Nexus 4 Android Development] cryingrock:
Idk y, but test build is the smoothest for me, a bit smoother than the alpha. It flies with ART:)
[Nexus 4 Android Development] dxxvi:
I have a few questions

Hi All,

I have a few questions

Could anybody help me clarify what CAF is? As far as I know, CAF (Code Aurora Forum) is a mutually beneficial non-profit corporation promoting open source. Does that mean they have their own ROM or do they just add/change something in the AOSP source code?

What is the Prima driver and what does it do?

Could anybody confirm that this kernel has the slide2wake feature without using TouchControl? As I read from all 7 previous pages, this kernel has this feature but it is not very stable (not as stable as TouchControl or not stable because it doesn't work some times?) and this feature can be turned on with Trickster?

If you're in the US and using t-mo, which radio are you using?

Thanks.
[Nexus 4 Android Development] johnson8cyl:
Not well educated on caf or prima but I am a tmous user. Screen shot shows build, kernel and radio. Double tap to wake works great (enabled with trickster).
[Nexus 4 Android Development] genevois26:
I lose root when I install the PRIMA Kernel. I'm on SLIMKAT 1.6.

What is the problem?

Thanks
[Nexus 4 Android Development] Luigiesin:
Try flashing supersu ZIP... That should take care of it.
[Nexus 4 Android Development] dr_jerremy:
I flashed prima kernel and after that fleshed stock franco kernel 197 and I don't have wifi any more...whats going on? Wifi driver messed up or ?
[Nexus 4 Android Development] nachordez:
Obviously. FK has stock WiFi.

You can dirty flash your ROM and FK again.

Or, if I understood properly OP, flash the non prima in this thread, it will revert prima, and then FK.

Or...... Just wait a bit next time and flash this thread build of FK, probably will be fast :beer:

from gt-p5110
[Nexus 4 Android Development] gharrrrrr:
To your first two questions: Google search. It does wonders. And no one said this has slide to wake. It has a tap to wake that Franco made himself. But it is still buggy and experimental. And it can be turned on by trickster or entering a terminal command.
[Nexus 4 Android Development] Luigiesin:
Hey brother... 197 is out... I just flashed your Test-prima version and it's rock solid! Coukd you compile a version just like that one but with 197? Because 196 test prima is working amazingly!

Thanks!
[Nexus 4 Android Development] dxxvi:
I already did but no useful information came up. I might use the wrong keyword "android prima"

My bad. I thought tap2wake, slide2wake .... used the same technique, so if somebody can implement one, they will implement the others.
[Nexus 4 Android Development] xcstacy:
Alright guys, I am going to merge r197 now. There will be 3 builds as usual plus an additional alpha build. Alpha will stay as alpha for 2 builds then we will have a poll or something to decide what to include or not to include in the next build. :)
[Nexus 4 Android Development] gharrrrrr:
Franco's tap to wake is his own thing that has nothing to do what the Dev of S2w does.

Brief break down of AOSP vs Caf I found from a Google search:

http://xdaforums.com/showthread.php?t=1205686

And another answer for Prima Drivers I found from a Google search:

http://xdaforums.com/showthread.php?t=2454354

Both answers were here on XDA so could have even used XDA forum search function.
[Nexus 4 Android Development] xcstacy:
OP updated.

- franco r197

Stock

Test

Prima - prima v3.2.3.198 caf

Alpha

Same as r196 alpha

Slab default

prima v3.2.3.198

Again guys, please try and compare different versions and let me know what to include from alpha to test branch.
[Nexus 4 Android Development] Luigiesin:
Hey brother.. Which one is the test 196 with Prima and 197 merges? I'm confused.. LOL

Edit: got it.. I think it's the Alpha version....
[Nexus 4 Android Development] cryingrock:
I've installed r197 test, but in "about phone", it shows r197 prima
[Nexus 4 Android Development] loukvlav:
Touchcontrol not working with r197 Alpha

[MENTION=4888112]xcstacy[/MENTION]

I just installed r197 alpha but now Touchcontrol cannot find a compatible kernel module to install, so it cannot be used any more with this kernel.

It was working fine with r196 alpha by downloading Franko Nightly r194 module within the app. Now it is not working any more.

LaboDJ added the following to his R193v2 to make it compatible with Touchcontrol:

- Add CONFIG_KALLSYMS=y to support bponury work (touchcontrol dev)

Can you check if this option was included in your kernel build?

Thanks :)
[Nexus 4 Android Development] xcstacy:
Sorry guys I think I might have messed up the zip files. Will fix it now.
[Nexus 4 Android Development] xcstacy:
Yup I'm aware of that. I was just waiting all this while to see if anyone notice that the module was not enabled. :p

Will include it in the next build.
[Nexus 4 Android Development] cryingrock:
Maybe there are too many versions:p
[Nexus 4 Android Development] ZULU2189:
This is the first time I've ever heard a complaint about options. Are you an iPhone user in disguise? Haha.
[Nexus 4 Android Development] xcstacy:
OP links updated. Should display the correct versions now.

Unfortunately I can't do anything with the files uploaded on xda server. Please avoid downloading from there for now. :laugh:

Added new poll as well, please vote and the least favourite feature will not be added into r198.
[Nexus 4 Android Development] stonebear:
I use a rooted stock ROM on the Mako and just use a custom kernel, I flashed the 197 Prima and it feels great, good battery too. Thanks for your work. I am not knowledgeable enough to say what features I want etc. Just wanted to say thanks. :)
[Nexus 4 Android Development] gharrrrrr:
So anyone else getting high android OS keep awake. Its at 2hrs keep awake for me now. Which it didn't do with regular Franco kernel. I'm using the 197 prima version.
[Nexus 4 Android Development] xcstacy:
Mine deep sleep just fine. Have you tried clearing cache although its unnecessary?
[Nexus 4 Android Development] Luigiesin:
I'm good here... I get 0 awake time on Android OS.. :) using prima too.
[Nexus 4 Android Development] gharrrrrr:
That's strange. And yes I tried clearing both cache and even did a clean install. Still after 4hrs on batt life android OS was showing keep awake 2hrs and battery was draining. Using latest purity ROM and 197 prima. I just cleared caches again and did a dirty flash. Flashed regular Franco and android OS keep awake hasn't moved a second since.
[Nexus 4 Android Development] y3mita:
It's gotta be the ROM... I'm running PSX 2 with no problems at all.
[Nexus 4 Android Development] joni_strokes:
i'm using purity here with franco sabermod r197 stock, didn't find that problem
[Nexus 4 Android Development] gharrrrrr:
Well I'm stumped.
[Nexus 4 Android Development] XsceneXhippieX:
Having ridiculously awesome performance on the latest version of this kernel and slim kat 4.4.1 with the moto x optimizations and xposed, Thank you for the optimized Franco kernel, exactly what I was looking for
[Nexus 4 Android Development] C.T.Richter:
Awesome performance and batery life with the Test version.

I did some testing with the Alpha version, and it wouldn't auto-disconect from out-of-range connected WiFi networks, I mean, I was still "connected" to my home WiFi all the way at college (over 1.5Km [~1 mile] away), needless to say it wasn't really connected to any network, and because of that the phone wasn't even trying to connect to my college WiFi.

Also, Franco just released version 198 a few minutes ago.
[Nexus 4 Android Development] nachordez:
That was happening also to me. Exactly.

from Nexus 4
[Nexus 4 Android Development] xcstacy:
Thanks for the feedback guys!

I will be syncing new sched-dl patches from [MENTION=3875215]Synthetic.Nightmare[/MENTION] and revert the prima version to v3.2.3.197. So it will take awhile before I can upload r198. :)
[Nexus 4 Android Development] y3mita:
Yep I had the same issue with WiFi getting stuck and not disconnecting.
[Nexus 4 Android Development] Joloxx9:
198 is up

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] stonebear:
I am getting some amazing battery life with Prima. ☺.
[Nexus 4 Android Development] mystx2112:
I've been using this kernel for all most 2 weeks now. What drew me in was the implementation of EDF. I'm still learning the ins and outs of them, but I really like the edf along with deadline io. Seems to give me better read speeds. Looking forward to r198
[Nexus 4 Android Development] C.T.Richter:
In my last feedback I said in the Alpha version the wireless connection was "stuck" (wouldn't d/c even miles away from where the source), well, after a fresh install, using the test version, the same thing has been happening.
[Nexus 4 Android Development] xcstacy:
Alright guys, here's r198. Feel free to make mirrors.

Stock

- Updated to franco r198

Test

- Updated to franco r198

- Added new sched-dl commits

(Would love feedback on this i.e. wakelocks/performance etc)

- Updated prima to v3.2.3.14 (android 4.4.1 has v3.2.3.13)

- Implemented faux slab slub slob commits

No prima builds at the moment until I figure out what's wrong with it. Sorry for the delay guys! :)
[Nexus 4 Android Development] mallez:
Just installed your kernel for the first time and I must say I'm really impressed how fast it :) using r198-test. Feels faster than original Franco r198.

Thank you very much.

Gesendet von meinem Nexus 4 mit Tapatalk