yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] mrjazzit:
Great work!, with only underclocking CPU to 1958 I got 10 hours lasting with my normal use instead of 7 with stock
[OnePlus X Original Android Development] Aamod Joshi:
How much SOT?
[OnePlus X Original Android Development] Aamod Joshi:
For me, it runs through like water. Doesn't get stuck at 100%
[OnePlus X Original Android Development] OnePlusXEquals:
Try reflashing i don't know. Haha
[OnePlus X Original Android Development] ze7zez:
Where is the latest for Android 6.0.1?

Where is fk-r4-anykernel2.zip ?

---- edit ----

... or the latest for Android 6.0.1?

[MENTION=3292224]franciscofranco[/MENTION] !?
[OnePlus X Original Android Development] OnePlusXEquals:
Franco you are a god!
[OnePlus X Original Android Development] Aamod Joshi:
You were on power save the whole day I guess, that's why you're getting a 7 hour SOT. Being on balanced mode, I could never get 7 hours SOT.

---------- Post added at 06:51 AM ---------- Previous post was at 06:30 AM ----------

How much is your wifi usage?
[OnePlus X Original Android Development] OnePlusXEquals:
Yeah I was but I've personally never seen SoT like that before on one of my devices.

Was on WiFi for probably 80% of the day.

The way I see it, this is not a device you buy for gaming, i get ample performance for browsing reddit, IMing, browsing XDA, YT and calls.

I don't see the point in using balanced mode really, i get minimal/no stuttering or lag to be honest
[OnePlus X Original Android Development] tausifahmed:
[MENTION=7742793]Aamod Joshi[/MENTION] facing the same issue as yours. With full charge battery won't last half a day. :(
[OnePlus X Original Android Development] Aamod Joshi:
At least yours took 1.5 hours to discharge to 90%, mine got to 93% in 8 minutes.....

---------- Post added at 08:02 AM ---------- Previous post was at 08:01 AM ----------

I don't play games. The only things that I use are whatsapp, YouTube, XDA, and some browsing (along with Adguard and greenify). I'll try being on power save the whole day and will post my results.
[OnePlus X Original Android Development] Dizzyrul3z:
Impressive!
[OnePlus X Original Android Development] franciscofranco:
Sigh. Always the same posts, I always answer the same things. Comon people... I already said 2934723 times, battery life varies, there are a bazillion different factors in. I control a couple of those factors, but I can't control things like signal strength/quality, GPS lock/not-locking or the apps you run.

I'm sorry, but it's really frustrating, been here for +6 years, it's always the same thing. With FK you will ALWAYS have better battery life compared to stock if you compare both in the same scenarios. But if you have stuff constantly ramping your CPU up, or keeping the device awake then FK is not magical.
[OnePlus X Original Android Development] [cz]eskimo:
I'm almost afraid to ask, but... Is this kernel able to work with AOSP based nougat rom? Or it is for oos and LOS only?
[OnePlus X Original Android Development] TECCC:
this is why franco is right with his opinion :P

If i read the first Post i see since r5 it only supports LOS and cause LOS is AOSP based , yeah i think it should support AOSP.

No OOS support since r5.
[OnePlus X Original Android Development] franciscofranco:
Should work on any 7.1.1 rom, they mostly build from LineageOS or some part of it.
[OnePlus X Original Android Development] tausifahmed:
I tried the kernel with a clean system install but it does not seem to change anything. Battery drain is same and power saving mode using the app doesn't seem to help much. Back to old kernel for daily usage for now. I'll be back! :cool:
[OnePlus X Original Android Development] franciscofranco:
O_O

This is what the Power saving profile does:

1 - cpu0 and cpu1 underclocked to 1497MHz

2 - cpu2 and cpu3 underclocked to 729MHz

3 - input boost frequency lowered to 1190MHz

4 - GPU underclocked to its minimum frequency

5 - Max display brightness caps at 100 (range is 1 to 255, where 1 is very dark, 255 very bright)

Now tell me how that doesn't reduce power consumption.

I can't control over variables (I already said this 1 billion times).
[OnePlus X Original Android Development] tausifahmed:
Can it be a device specific issue? I mean there are regional versions of Oneplus X. It can also be os related. I am using your kernel since the days of Galaxy Nexus and you have my high hope to find the reason(culprit) behind it. Seriously I am confused as other kernels are playing just fine on my system. :confused:
[OnePlus X Original Android Development] Aamod Joshi:
o_O

Didn't know that it underclocks so much.... Thanks for the kernel though! I still love it!
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Either the 3.1.4 power merge went terribly wrong or you replaced the lithium in my battery with hydrogen ions ;)
[OnePlus X Original Android Development] franciscofranco:
Well I want it to save power :p
[OnePlus X Original Android Development] [cz]eskimo:
Has anyone noticed slower charging?

When I was on sultan's CM13 I got charging current around ~1400mA, when phone is idle.

Now on AOSPextended rom with this Kernel (and also with stock kernel) I got only ~900mA.

someone in AOSPextender thread reported Boeffla kernel fixed that for him.

I just measured it with Ampere app, ofcourse with the same cable and adapter.

Anyone else with similiar experience? :)

I wouldn't mind it at all, but when I'm in car using gps navigation and charging ... it hardly charges at all. Power consumption is so big, that charger isn't able to cover it.
[OnePlus X Original Android Development] Aashay:
There is no way to could've gotten 1400mA on sultan's. Were you using arsenic or black reactor kernel?
[OnePlus X Original Android Development] [cz]eskimo:
no, I really got 1400mA. I was on older build of Sultan's CM13 (I think from June 2016), stock Sultan's kernel.

I'm using AWG 20 cable, original oneplus charger adapter.
[OnePlus X Original Android Development] BrokenBee:
Did you experience the bug where if you went into a no reception area, you had to toggle airplane mode to get signal back?
[OnePlus X Original Android Development] Aamod Joshi:
Charge rate on Android 6.0.x is different from that on Android 7.0.x and 7.1.x. On Android N, it's slower, obviously. If you want your 1400 mA charging, you can always switch to your previous ROM. But honestly, when I was charging today, I could charge it within an hour and a half from 1% to 100%, which is the same for Android M.
[OnePlus X Original Android Development] Aamod Joshi:
Now that's what I'm talking about. The entire time the screen was on, I was watching videos on YouTube (roughly the entire time). And still I got like 4.75 hours SOT which is quite a lot to be honest considering the fact that YouTube drains the battery like everything you combined. Was on power save mode but really, if you want an awesome SOT, use power save mode, it's worth it. Thanks Franco for the awesome Kernel! Sorry for irritating you so much :p love this Kernel <3 on Resurrection Remix 20170305 build, works like a charm
[OnePlus X Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus X

r7

1. Much better custom wakelock detection & blocking for lower idle battery consumption. All the wakelocks being blocked are available to check on my github repository

2. Revert to LineageOS charger driver code attempting to fix an issue reported by users in which the battery percentage would sometimes be wrongly calculated and presented

zip: https://kernels.franco-lnx.net/OnePlusX/7.1.1/anyKernel/fk-r7-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!
[OnePlus X Original Android Development] Aamod Joshi:
Damn... I'm here trying out kernel tweaks with the r6 and I'm really close to getting a balance between the maximum on time and performance (where performance is of lower priority) and you release the next update... :p I'll experiment with this newer one now, will post my results so that others don't complain about the battery life cause it's amazing :good: thanks for the update!
[OnePlus X Original Android Development] TECCC:
was on r6 only changed max cpu to 1497mhz and treshold to 1190 mhz, will continue with r7.

best kernel on OPX i´ve used.

Thanks for your great Kernel
[OnePlus X Original Android Development] [cz]eskimo:
okey, I didn't know there is this difference in android 7.x. I wouldn't have any problems with charge time .... as I said, I just have problems with charging while using gps navigation, when GPS (Waze) is draining battery faster than charger is able to charge.

I'm experiencing other problem with listening to music with headphones. Headset volume is so high even volume slider is at the very first step. Sound is also quite distorted and with loud noise in the background. anyone else with this problem? (didn't have this problem with stock rom kernel, tried different headphones, different music players). It seems like the sound is too over-gained.

also ... when I'm listening to music through bluetooth in a car, everything is fine.
[OnePlus X Original Android Development] franciscofranco:
I don't know what you mean, frequencies are stock.

Sound volume is 100% stock, no modifications on volume what-so-ever.
[OnePlus X Original Android Development] MrMysakovichCZ:
Check If you do not have turned on AudioFX (Equalizer)
[OnePlus X Original Android Development] TECCC:
yeah i set the max cpu frequency from 2256 to 1497mhz and sync treshold to 1190mhz via kernel adiutor for some more battery saving.

I hope I am not wrong with this assumption.
[OnePlus X Original Android Development] ferk:
Hi. Excuse my ignorance. Is this kernel compatible with latest SlimRoms.org 7.1.1 beta for OnePlus X?
[OnePlus X Original Android Development] franciscofranco:
It's fine. I thought you meant something else.
[OnePlus X Original Android Development] franciscofranco:
Most likely yes... I don't know every rom or what they do but it should be fine as stated in the OP.
[OnePlus X Original Android Development] alexandru tuza123:
What app should I use to disable the wakelocks?
[OnePlus X Original Android Development] franciscofranco:
I already disable some of the popular wakelocks by default. But you can use my app if you want.
[OnePlus X Original Android Development] asantin36:
there is a different revison of the oneplus, that has a different build number ONE E1003_15_161107 instead of ONE E1003_14_161107, if i try to install your kernel the phone won't boot... can you make your kernel compatible with this tipe of build number? i have already purchased your app and it would be nice to be able to continue to use your kernel
[OnePlus X Original Android Development] ChzeRub:
Any plans for supporting AOSP based roms ?
[OnePlus X Original Android Development] ron_gangte:
It does support AOSP based ROMs. I have installed it with the AOSPEX ROM.
[OnePlus X Original Android Development] franciscofranco:
This is for LineageOS type of roms only as stated in the OP :|
[OnePlus X Original Android Development] Skyfiend:
I am facing seriously heating issue with new r7 build.

My onyx is hotter than usual. yesterday, it overheated and drain 50% battery in 'round 30' i think. Freaking hot.

Does anyone else encounter this problem?
[OnePlus X Original Android Development] franciscofranco:
Nope.
[OnePlus X Original Android Development] justme1988:
Thanks for this awesome kernel. It made me try LOS once more and it has been perfect this far. I have not encountered any issues and battery seems way better then with OOS
[OnePlus X Original Android Development] Xin0F:
I still have network problems in Portugal with Meo. Maybe I have to get back to oos.

Thanks

Enviado do meu MI PAD 2 através de Tapatalk
[OnePlus X Original Android Development] Lvsitano:
I am getting slow charging with this kernel and LOS latest nightly.
[OnePlus X Original Android Development] Doubleyou:
Why Freedom app is not working after flashing this kernel? Specifically it says "Freedom app cannot work on this firmware" right after flashing this kernel. I want to use this kernel along with Freedom app, let me know what changes should I make :S
[OnePlus X Original Android Development] franciscofranco:
Not Kernel related, the Kernel doesn't know or care about signal or networks.

Charges at the same speed as LineageOS stock Kernel.

Don't know anything about that, but I'm glad it doesn't work.
[OnePlus X Original Android Development] MSF Jarvis:
Isn't Freedom warez?
[OnePlus X Original Android Development] franciscofranco:
Something like that yes.
[OnePlus X Original Android Development] EdwardK04:
Hashtag

Hi!

When the manager changes the performance profile after launching or closing a certain app (using per-app profiles) the LOS hashtag doesn't seem to go away at all, only when I launch and exit the manager. I use the hashtag to know about apps using root access without my knowledge, so you see how this can be a problem. Any way around this?

Thanks in advance!
[OnePlus X Original Android Development] :
Same here. In fact, I ended up flashing a different kernel as I didn't like the # displaying so often!! Silly perhaps but nonetheless true.
[OnePlus X Original Android Development] Aamod Joshi:
Check if any apps are using root access in the background. And by background I don't mean that if you open recents and then you swipe the apps left / right, no. Even after swiping them left / right in recents, apps have to be killed in order to make sure they are not using anything in background.
[OnePlus X Original Android Development] EdwardK04:
But the hashtag only appears when I get the toast message that the Performance profile has been set (a per-app command does this, when the kernel manager app is closed), and it doesn't disappear until I open the FK manager (which again, was not open) and close it. I'm sure it is not an other app that is using root access, as all the apps I use that need root, stop using it when I close them (the hashtag disappears once I swipe them away). And besides, this problem only started when I decided to use per-app profiles. When I disable the per-app profiles, everything works fine.

So is it possible to use per-app profiles (which I would like to) without having this hashtag problem?
[OnePlus X Original Android Development] MSF Jarvis:
Per app profiles do this because settings need to be applied blazingly fast and thus keeping a root shell open within the monitor service is less expensive on I/O rather than launching one every time you launch an app. Can't have everything at the same time.
[OnePlus X Original Android Development] LolHacker17:
Does anything happen when i disable all input boost?
[OnePlus X Original Android Development] franciscofranco:
Because I use a root shell to pipe commands faster, using less memory and less overhead instead of opening and closing a shell session every time I need to pipe a new command.

Yes, rip UI fluidity.
[OnePlus X Original Android Development] thelostneutron:
No CAF right?
[OnePlus X Original Android Development] franciscofranco:
It works on LineageOS so should work everywhere else.
[OnePlus X Original Android Development] tript:
Hey Franco, do I need your app to run this Kernel properly, or is that just for more advanced users? Would just flashing it work as optimally?
[OnePlus X Original Android Development] franciscofranco:
The app is a convenience. All the features are shown in the video in the OP.
[OnePlus X Original Android Development] LolHacker17:
I on my data 3g from my battery full charge it drain to 93% for 5hour is it normal?
[OnePlus X Original Android Development] franciscofranco:
-_-
[OnePlus X Original Android Development] anunaym14:
Battery life labs

Whenever i apply some settings at the battery life labs it gets disabled after a reboot. Please guide me so that i can set those settings to permanent.

I am totally a newbie for this kernel thing so please instruct accordingly. Thanks in advance.
[OnePlus X Original Android Development] franciscofranco:
As it's been repeated several times, the ability to re-apply battery labs tips on reboot will be added on the next app release.
[OnePlus X Original Android Development] thelostneutron:
The FK updater says no Kernel available. Running DU 7.1.2 build. Should i flash manually or 7.1.2 is not supported yet?
[OnePlus X Original Android Development] Calvin2394:
You can flash manually.

FK is based on LOS, so I guess Franco will wait for LOS to update to 7.1.2, then test his kernel before releasing a stable update.

FYI: Fk r7 works like a charm. Using it right now with DU 7.1.2
[OnePlus X Original Android Development] franciscofranco:
Check again, should work.
[OnePlus X Original Android Development] Calvin2394:
To anyone who's complaining of unnecessary wakelocks or battery drains, check the screenshot.

FYI: I get this every night, just posting it as proof to you guys.

DU 7.1.2 running with Franco Kernel r7, stockish settings, no greenify, no naptime.

Please check your apps (probably Facebook) for battery killers before reporting them here!
[OnePlus X Original Android Development] Tanner1294:
I am genuinely curious as to why there's no Low Memory Killer in this kernel? I've heard the debate about mpdecision so I'm not surprised about that being gone but I've never heard an argument against LMK.
[OnePlus X Original Android Development] franciscofranco:
Because there's an userspace replacement. But it doesn't work very well on older devices with less ram. Dunno why LineageOS team decided to go this route. I enabled in-kernel LMK for future r8.
[OnePlus X Original Android Development] franciscofranco:
Pushed r8, small maintenance release.
[OnePlus X Original Android Development] Calvin2394:
Thanks for the update!

I don't see any changes on the kernel since Mar 29 (your last build)

Has anything changed that you haven't submitted to GitHub?
[OnePlus X Original Android Development] franciscofranco:
For the OPX was mostly config changes and ramdisk.
[OnePlus X Original Android Development] :
I get 'Error 1'. I tried both DU and BS, any known issues? I'll provide logcat if I can't find a solution from the users

Edit 2; Worked magically when I flashed from the app!
[OnePlus X Original Android Development] BrokenBee:
[MENTION=3292224]franciscofranco[/MENTION] I am using naptime with your kernel. With aggressive doze enabled I dont get any whatsapp notifications until I unlock my phone :/
[OnePlus X Original Android Development] LolHacker17:
juat for ur info i got 6/5hour easily using this kernel with good standby time no wakelock ! goodjob
[OnePlus X Original Android Development] Qniichan:
IMG file of the kernel

Hello [MENTION=3292224]franciscofranco[/MENTION] ,

I am really new to this, just got my opx yesterday, and currently get stuck.

Request: Can I have the IMG format of your kernel so that I can fastboot it from PC?

Background:

This OPX has special thing that make it not easily flashed to custom ROM.

Detail of problem, I found the thread here:

https://xdaforums.com/oneplus-x/help/twrp-access-internal-storage-t3513748/page17

When I got my opx, I unlocked it with no problem, then installed official TWRP, but it can not mount storage.

Replace TWRP with patched version povided in above thread, now it can mount storage.

My mistake was I didn't do Nandroid backup.

In internal storage, I copied Resurrection Remix latest nougat ROM and gapps then installed them normally,

After reboot it stuck in OP logo, then I flashed kernel img that is also provided in above thread link. But that kernel seem to only work with LineageOS ROM, so now I am stuck in RR booting animation.

So I intend to use your kernel to replace that Lineage kernel, but can not copy your zip to internal storage.

Trying to push it using ADB always get device 'null' not found error message, and TWRP can not mount external sdcard/usb otg.

That is the reason I am asking you for the img version. Or you have other suggestion I would be very grateful.
[OnePlus X Original Android Development] franciscofranco:
Read the FAQ inside the app. It's there for a reason.

Just download lineageOS's zip and sideload it from your computer.
[OnePlus X Original Android Development] TECCC:
could be placebo but using r8 for some days now and it feels not so fluid like r7 , sometimes i got some micro stutter, is this possible cause the changes in r8 ?

best regards
[OnePlus X Original Android Development] franciscofranco:
Doubt it.
[OnePlus X Original Android Development] franciscofranco:
Just a little FYI I pushed a new version of Servicely. It goes very well with Naptime and it's free. XDA apk is ad-free, but the Play Store version has full screen ads every once in a while. Enjoy: https://xdaforums.com/android/apps-games/root-servicely-installed-apps-services-t3076769
[OnePlus X Original Android Development] Darkside1984:
Questioning myself if Hitlerkernel could be possible here...
[OnePlus X Original Android Development] Aamod Joshi:
You can build it, but the entire world would be against you...
[OnePlus X Original Android Development] Darkside1984:
So with Francisco Franco everything it's ok...
[OnePlus X Original Android Development] Aamod Joshi:
Anyone has r4? I need it as I'm on OOS currently. I really liked the battery life with FK on OOS but sadly Franco removed the links for the kernel. I'd be happy if someone gave me a drive link for r4.

P. S. I didn't have any issues with r4
[OnePlus X Original Android Development] franciscofranco:
What the **** are you talking about? This better be a joke. And if it is, it's of a really bad taste.

FK for OOS is dead.
[OnePlus X Original Android Development] Aamod Joshi:
Yes I know, but I loved FK for OOS cause it didn't give me any issues and I loved the battery life. Just asking if anyone has it. Won't report any bugs or irritate you with logs, don't worry. It's all on me
[OnePlus X Original Android Development] franciscofranco:
May the Android gods have mercy on your device.
[OnePlus X Original Android Development] Darkside1984:
Just a comment about the fact that this kernel is named with a fascist dictator...
[OnePlus X Original Android Development] franciscofranco:
Sorry for everyone else, this reply will have a lot of cursing.

How about you get your ****ing head out from your donkeys sorry arse and understand this is my ****ing real life name and I don't give a **** about your deceased dictator? It can rot in your land for all I ****ing care. You know there's more to the world than whatever happens in your country don't you? Pathetic.

Congratulations, you managed to piss the **** out of me.

Now get out and leave me alone.
[OnePlus X Original Android Development] Calvin2394:
Hey [MENTION=3292224]franciscofranco[/MENTION]

Any chance of adding USB Fast Charge as an optional kernel parameter? :)
[OnePlus X Original Android Development] Darkside1984:
Oh. Now I understand everything. My apologies. :(

Anyway, great work with it (Maybe I'd have started like this).
[OnePlus X Original Android Development] Wagner.B:
First -awesome work.. But I've got a problem.

My LTE/3g or any mobile net isn't working. Just the WLAN.

Don't know if it is the lineage's fault or a too low energy option from the kernel settings.

14.1-201 70420 - NIGHTLY - onyx

R8 with naptime.

Btw:

Is it save to update to the last weekly all the time?

Also a little bug:

The energy tile disapears to the not used tiles after reboot.
[OnePlus X Original Android Development] Kéno40:
Lineage still has data lost that needs reboot sometimes...
[OnePlus X Original Android Development] franciscofranco:
I'll look into it. no promises.

Not Kernel related.