yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] nk1982:
Yesterday, my OPO was updated to latest Lineage nightly dated 27-Mar-2017 via OTA. After successful update I flashed Franco Kernel via TWRP.

Today in the morning, I put my OPO on charging when it was at 40%. And while charging I found 2 issues :

1. Charging was comparatively slow, it worked great before I flashed latest nightly & Franco kernel.

2. One weird observation - I was checking battery charging in small intervals. Once I checked it was 55%, and after 5 mins or so I saw it at 53%. Again when it was at 77%, few mins later it was down to 75%.

I am using Original Charger, and charging was perfectly fine day before yesterday.

I am clueless if it is something with latest LOS nightly or the Franco Kernel.

* Apart from this, I found the Franco kernel really nice. My phone was at 40% when I ended my day yesterday, and in the morning it was still at 40% ... not a single drop in the battery charge. Pretty awesome. Earlier it used to go down by 2-3 percent.
[ONE Original Android Development] franciscofranco:
That's probably just the battery percentage calculation correcting itself. It's hard to estimate battery percentages.
[ONE Original Android Development] Dward40:
deep idle support this kernel?
[ONE Original Android Development] freshgiammi:
But are we sure about that commit? Last time I tried it out, I didn't notice any improvement at all.

Also, it looks like "CONFIG_MACH_OPPO" isn't set in defconfig, so this part of code shouldn't even get compiled.. right? (line 5766-5769)

#ifdef CONFIG_MACH_OPPO
#define SOFT_AICL_VOL	4390
#endif

From my tests, I haven't seen a difference until I've set the flag as CONFIG_MACH_OPPO=y on my defconfig.

(Apparently, the flag gets removed by this commit https://github.com/franciscofranco/bacon/commit/e67adba9d6fa372cc3149132fd86e062f37ad9ea)

[MENTION=3292224]franciscofranco[/MENTION] please, correct me if i've said anything wrong.

(Just incase, these are the patches that I've used to fix the slow charging issue. https://github.com/AOSPlusone/andro...mmit/de11298ab342f6fa87d95ef3c6c4d9bb47dc06a2

https://github.com/AOSPlusone/andro...mmit/3d132a19221f28a4f8df3fcd4fe413758f5887cf

https://github.com/AOSPlusone/andro...mmit/5f79c2d291391d3fd0e903f87eb7b70470e2e123)
[ONE Original Android Development] ab123321:
Simple as

one

two

three

and

four
[ONE Original Android Development] freshgiammi:
Hm, weird.. We probably share different sources, somehow. It didn't apply until I set the flag explicitly.

Thanks for the clarifications!
[ONE Original Android Development] franciscofranco:
The config flags are properly set on my build.
[ONE Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus One

r47

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. Couple changes to reduce needless cpu wakeups from idle

3. Merged a patch to increase charging rate

zip: https://kernels.franco-lnx.net/OnePlusOne/7.1.1/anyKernel/fk-r47-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!
[ONE Original Android Development] sabrefresco:
Is this commit safe to use with bacon? I am asking this because of these comments from one of the Lineage team members.
[ONE Original Android Development] Kalyan nath:
You should check sultansxda thread buddy ?
[ONE Original Android Development] silverkin:
Cannot find it on mobile, can you bring a link which wakelocks are blocked?
[ONE Original Android Development] om22:
I don't think this patch lets us charge at a higher rate than the stock values (app is reporting ~1750mA just like the stock setup). It's more like a patch to enable fast charging (which is already present in stock kernels) with more charger/cable combinations as the OPO is very selective when it comes to cables or chargers which it charges at max speed from.

All my cheap cables charge much slower than my better low resistance usb cables. Didn't test it with other cables yet but my better usb cable charges just like before.

For some reason people have experienced slow charging even with original chargers and cables and that should theoretically fix it.

I'm using an anker power port charger with 5x 2.4 A usb ports and a low resistance cable and like I said I always charge at about 1750mA with or without this patch
[ONE Original Android Development] Gawd:
Yes, charges at about 1150 when screen is on, and 1900 when off. If you used the phone with CM11S on stock kernel and it didn't burn, then it won't burn this time as well.

Without patch and with patch attached in the screenshot below
[ONE Original Android Development] nk1982:
After flashing r47 Kernel, my charging issue is gone. With r46 it took considerable amount of time to charge. But with r47 my phone got charged from 5% to 100% in flat 1 hour 30 mins. Back to normal.

Also, battery backup has increased by 2-3 hours after replacing Stock LOS Kernel with Franco Kernel.

The Temperature stays between 33-35 Degrees under normal usage.

Thanks to both ([MENTION=3292224]franciscofranco[/MENTION] [MENTION=6363737]Gawd[/MENTION]) :good:
[ONE Original Android Development] kartik93:
We should​ thank [MENTION=6363737]Gawd[/MENTION] he is the real mastermind behind this with his support we can get fast charging in many roms and kernel. Respect to everyone
[ONE Original Android Development] nk1982:
Of course, I agree :good:
[ONE Original Android Development] franciscofranco:
It blocks:

* IPA_WS

* wlan_extscan_wl

* qcom_rx_wakelock

* wlan_wow_wl

* wlan

* netmgr_wl

* timerfd

* NETLINK
[ONE Original Android Development] sabrefresco:
That Reddit comment makes it sound like a dirty workaround that was not used before.
[ONE Original Android Development] TimeFlies7:
Can i flash hybrid blobs with r47?
[ONE Original Android Development] zephiK:
View attachment 2882747

Oh hello ;)
[ONE Original Android Development] digweed4me:
Did u do it?
[ONE Original Android Development] zephiK:
Nope. Just remembered that Calkuin updated his patch. Heres how to get Franco Kernel working on non-stock ROMs,

1. Flash http://xdaforums.com/oneplus-one/development/dev-cm11-users-heres-how-cm11s-kernels-t2814265

2. Flash Franco Kernel r9.

.... works with Mahdi, and it should work with other ROMs although I'm not 100% sure on AOSP roms or Gummy. Give it a try, be sure to make a backup if u try it on non-Mahdi. It works with Mahdi for sure, I'm running it now.
[ONE Original Android Development] digweed4me:
Thanks man got it
[ONE Original Android Development] zephiK:
Enjoy :D ... I just saw that the thread was most recently posted in and I was like hmm, might as well give it a try if it works for CM11 then it should work for Mahdi too and bam.

Can't promise that it'll always work though, so be careful when new updates are made to Mahdi.

Nice to see that it works on Gummy too.
[ONE Original Android Development] 530farm:
[MENTION=3292224]franciscofranco[/MENTION] Any plans to have a version for the aosp roms in the future?

Coming from a nexus 5, i'm so use to only aosp computability and the anti-cm.
[ONE Original Android Development] zephiK:
Serious? Read the posts above.
[ONE Original Android Development] Tzfardaya:
Reading? What's that?
[ONE Original Android Development] 530farm:
Don't see how u just addresses my question about Franco m making a version for aosp in the future.
[ONE Original Android Development] Tzfardaya:
Franco builds for the stock os... Anything else is coincidental... So odds are he won't be...
[ONE Original Android Development] zephiK:
Franco in the past only supports stock ROM, if you read on the previous page. I posted a workaround to be able to use Franco Kernel on non-stock ROMs. In the meantime, use that. If you're asking generally, if you did search

http://xdaforums.com/showpost.php?p=53983164&postcount=173

... general rule of thumb, the question you asked is most likely already asked by another user before. search before you post, you'll find your answer to your question sooner than someone replying. In the past Franco only releases 1 version of his kernel. Like I said on the last page and reiterated numerous times in this one post. The workaround is there, use it. Its not hard. You're just flashing a extra zip file.
[ONE Original Android Development] Tzfardaya:
Put the lime in the coconut and drink it all up
[ONE Original Android Development] 530farm:
I did search, however probably should have searched for posts only by franco.

Do you know what the patch does? I read through the thread and doesn't really mention anything. Just wondering if it's something that will hold computability for a while or of its something that will have to et updated regularly to not break compatibility.
[ONE Original Android Development] zephiK:
It will hold for awhile. When it doesn't, just reflash the ROM that will just override the changes that were made by the zip. You'll know when it won't work because you'll just be stuck on the boot animation.... but for now, it'll work. Flash it if you want to, I've been using it for a couple hours now. Not noticing any problems.

If you want to know what the patch does, then I can't explain that because I didn't make it. All I can say from my observations is that it changes a number of files to make the kernel bootable on non-11S roms.

Edit: It looks like the new FKU just got pushed and is available for download with the color control for RGB

Don't forget that with the RGB that is available in FKU, you can also go into Settings -> Display -> Screen Color -> Custom to further customize your screen settings.
[ONE Original Android Development] paychex:
We shouldn't have to read through pages of OT dedicated to making this run on anything other than what Franco intended. Start your own thread
[ONE Original Android Development] aeppacher:
Just had a sleep of death issue running r9 within 45 minutes of flashing never happened on previous releases. Running stock cm11s, no modifications besides root. Not undervolted or overclocked, stock settings. Not sure if a last_kmsg would help since its SOD and I had to manually reboot but here it is anyway:

http://pastebin.com/uGzfrW0W
[ONE Original Android Development] Red5:
Thanks for both the r9 and FKU update Franco.

Now we need some color profiles...

---------- Post added at 09:59 PM ---------- Previous post was at 09:58 PM ----------

How did you get your data to say LTE instead of 4G? Xposed?
[ONE Original Android Development] zephiK:
http://xdaforums.com/oneplus-one/themes-apps/screen-color-setting-t2823879 A existing thread has RGB and built-in ROM (hue/saturation/contrast/intensity) that could be a good start.

You can modify SystemUI.apk and change the images of _4g and replace them with _lte.... it only sticks with stock theme though as other themes will have their own skinned version. At least thats how I changed mines.

Here are my color settings that I've been using for awhile and I personally like the set up I have,

R: 232

G: 226

B: 238

Settings -> Display -> Screen Color -> Custom

Hue: 0

Saturation: 0.15

Contrast: 0.12

Intensity: -5

Maybe Franco could include the built in ROM screen colors to be apart of the Profiles in FKU app in a future update?
[ONE Original Android Development] digweed4me:
It's in a gummy rom I know cm11s only has 4g
[ONE Original Android Development] Tzfardaya:
Third party rom... Check the Android version.
[ONE Original Android Development] JJohnson1988:
Pretty sure he's in the wrong thread.

There's a custom kernel for the OPO that has specific camera firmware. He's referring to that.
[ONE Original Android Development] mustang_ssc:
No, it requires a kernel with a compatible camera HAL to work with.

He was refering to a flashable camera library package (custom camera blobs) based on OxygenOS developed by ab123321: Link to his thread.

By the way, now that we are talking about camera HALs i wanted to ask you about one think. I guess the answer is probably no but didn't find any answer on the thread by you, so it would be good to have a definitive answer about it to make thing clear for future requests.

Do you have any plan to build a kernel with custom camera HALs to support roms with sultan's or oos' blobs? The advantage of this is to have this great kernel compatible with roms that have those custom camera blobs which improve the camera experience compared to the CM/LOS camera blobs. This is also because the CM/LOS camera blobs use to be buggy when recording and taking photos, i sometimes had bad experiences with them.
[ONE Original Android Development] agstn.tanmay:
i wanna ask can we change the dpi at 2160p!!??
[ONE Original Android Development] Бахрам Байрамза:
Thank you for the kernel)) the battery keeps wonderful)) But there is one problem. Headphones hiss after installing the kernel. How to fix it?
[ONE Original Android Development] C4SCA:
Im on stock kernel (forgot to flash franco after the update) and the hiss is present too. So its lineage kernel base fault
[ONE Original Android Development] TimeFlies7:
I'm lost lol... isn't this a kernel thread?

I'm running lightning kernel with Hybrid blobs frm abkernel.

But i want to try Franco kernel.

So i cant flash franco r47 with what i have now ( hybrid blobs )?

I'm on TugaPower ROM btw.
[ONE Original Android Development] wszebor:
Can we change voltages on this Rom?

Edit: sorry, I mean kernel :P

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Original Android Development] franciscofranco:
I now remember why I often felt discouraged when working on the OPO...

The HAL has nothing to do with the Kernel. That said I strongly advise against mixing stuff like that. It's like asking for issues.

What?

It's not FK's fault, sound drivers are stock.

This is not a rom. And no you cannot change voltages, it's pointless and it's asking for issues.
[ONE Original Android Development] nk1982:
No hissing on my side. Using latest LOS nightly with Franco r47 Kernel. Headphone is working perfectly fine.
[ONE Original Android Development] sabrefresco:
What's the best way to convert KCAL values used in Synapse to the Display Profile under FK manager?
[ONE Original Android Development] Бахрам Байрамза:
I'm using AOSPExtended.
[ONE Original Android Development] Timmmmaaahh!:
I admire your perseverance in that case. Your kernel is a great addition to a relatively old but still widely supported device. I had been experimenting with Boeffla based on [MENTION=5811506]Saber[/MENTION]'s amazing guide (basically: well informed tweaking) but I never got to your level of battery friendliness. I do get more heat during heavy gaming but that's a small price to pay for an awesome flash-and-forget kernel. So thank you and I hope you'll stick around a while longer ^_^
[ONE Original Android Development] meph02:
[MENTION=3292224]franciscofranco[/MENTION] thx for this awesome kernel
[ONE Original Android Development] aqilsoomro:
[MENTION=3292224]franciscofranco[/MENTION] thank you so much for amazing work and bearing the eccentric community of one plus one owners. We are indeed the crazy lot of android users but we are most active and colorful community of all.
[ONE Original Android Development] Fenvarien:
Thank you [MENTION=3292224]franciscofranco[/MENTION] for your hard work and support. I've always used your awesome franco.Kernel since I had the Galaxy Nexus! :good: :)
[ONE Original Android Development] Gawd:
This is so sad, but true. Some users just don't get it. But most of us really admire your work. It's the best-in-class and we were so hyped about the news that Franco kernel was going to be available for our OnePlus One. Even the free auto-update app it comes with is free of hassle, and it truly is flash and forget. Never let some of the harsh or off-topic comments/ remarks come in the way and continue working. It is a joy to use your kernel!

Please people, stop asking about custom camera blobs support in the kernel, in this thread. The answer is no if you still didn't get it, and it will most probably annoy the developer more. Hope you all understand the notion.
[ONE Original Android Development] Бахрам Байрамза:
[MENTION=6363737]Gawd[/MENTION] I don't like blobs)))
[ONE Original Android Development] rauldzmartin:
Thanks for all the work you have done in this device.
[ONE Original Android Development] dolbylogic:
[MENTION=3292224]franciscofranco[/MENTION] thank you for your hard work on this OLD OPO... Don't get discourage... Once again Thank you...
[ONE Original Android Development] mustang_ssc:
Just to make things clear:

I asked him about that just to know an answer that, after a while of search on the thread with many key words about this topic, did't find any answer of the topic. I dedicated 5 minutes of my time to write a friendly and not answered question of what i think it's interesting to know for everyone.

Obviously i didn't mean to make part (in case i did) of the negative (and stupid) comments written between mine.

Hope you all understand it.
[ONE Original Android Development] franciscofranco:
Thanks for the words everyone.
[ONE Original Android Development] Setting.Out:
I feel your pain.. Often it feels like reliving the same day only with more "users" and fewer "members".. :)
[ONE Original Android Development] CooperBrick:
Is it possible to enable fast charge?

By the way, excellent kernel, I bought the fk manager:)
[ONE Original Android Development] Setting.Out:
This subject has been discussed, please read the last few pages..
[ONE Original Android Development] DeadFox-xda:
In the OP said flash and forget so if I flash the kernel do I have to use kernel auditor or apps like that to get legendary battery life? Or is it flash and everything is handled? Sorry for asking I don't really look into kernels much

Oh and your naptime changed my charging habit, no more charging over night now :)
[ONE Original Android Development] ziepicwaffle:
You don't have to use kernel adiutor. The stock settings are very good. You can tweak if you'd like but it's not necessary at all in my opinion.
[ONE Original Android Development] rolarocka:
Awesome kernel, the only problem i have is that I'm hearing white noise on low levels and overcompression on high levels with headphones. Anyone else?

OnePlus One - Tapatalk
[ONE Original Android Development] pk5720:
Fabulous work sir..!

But I'm facing wired issue..I flashed r46 and sound gone..then I flashed lightning kernel and sound is back.and now again I flashed r47 and sound gone..what can be the issue?
[ONE Original Android Development] Gawd:
Hi [MENTION=3292224]franciscofranco[/MENTION]

I've yet another kernel request, this time regarding charge level interface. Could this be implemented?

- what it will do is add a slider that will let the user choose the on-screen charge rate. This slider will appear in the "Power and Battery" section of Kernel Adiutor-Mod only, and there is no other way to tweak the on-screen charge. And again, for the normal user, there will be no difference at all. The charging will remain the same as before if nothing has been changed.

However, power users can tune the on-screen charging rate as they please. This is familiar to what we have seen in Boeffla kernel and Lightening kernel.

You can also add this slider in your own App, which would be a wonderful utility for most of us.

Thankyou so much for the amazing kernel! :D

(thanks [MENTION=947981]Lord Boeffla[/MENTION], [MENTION=4633983]nikhil18[/MENTION] and [MENTION=5586476]iDorkKnight[/MENTION])
[ONE Original Android Development] Setting.Out:
If you flashed over another custom kernel, try instead flashing clean over the stock rom instead.. No sound issues here..
[ONE Original Android Development] 0r32:
I also hear white noise on low volume but high volume seems to be fine. Tested with headphones and speaker on the newest version of Resurrection Remix. Doesn't really bother me though.

The slow charging issue is indeed fixed. Thank you for this great kernel [MENTION=3292224]franciscofranco[/MENTION]!
[ONE Original Android Development] franciscofranco:
This has stock sound drivers.

This has stock sound drivers.

Sure, don't see any problem with it.
[ONE Original Android Development] DeadFox-xda:
The results of this kernel is amazing. You have to give it 1 day and you will see a different I get extra screen on time now with this kernel. The standby time is much better over night I get about 1-2% drop before I had 3-5% drop this is a big difference, this has stopped me charging overnight. Thanks for the kernel
[ONE Original Android Development] :
Man I hope I will get my battery soon to try this kernel. Many compliments for this. Wow
[ONE Original Android Development] iDorkKnight:
High temperature

I am on idprophecys LOS with Franco Kernel. I was simply texting on telegram and scrolling a bit. The temperature shooted to 81 degrees celsius. I noticed later on that the throttle was not turned on by default so I did turn it on now. Looks kinda scary. Turned off my phone now. Can the dev look into this?
[ONE Original Android Development] Traace:
The sound issue exist here too. The loud-speakers ain't work, but the calling speaker does. Headphones work also fine.

There is another issue I run into. In some applications the proximity sensor reacts to strong which leads to a display power off when u just wave the finger over.

Everything else works fine so far, great work :good:
[ONE Original Android Development] franciscofranco:
EDIT: after closer observation there's something weird with how cores are being throttled. Investigating.

I'll say again, FK is built from LOS sources, has the same sound drivers LOS uses, no changes.
[ONE Original Android Development] franciscofranco:
Pushed r48 with an important fix for thermal throttling. Flash asap.
[ONE Original Android Development] merothh:
I feel really depressed when I see this thread. Good times with bacon.
[ONE Original Android Development] kartik93:
How to get cpu and temperature in status bar
[ONE Original Android Development] Traace:
Edit: Build #48 fixed the sound issues. For reference below is a log from the old #47 build.

Anyway, well done :victory:

The touch error happens like it says, it start spamming when I touch the screen. E/QCOM PowerHAL
[ONE Original Android Development] :
Reboot with r_48. Was browsing in xda labs. r_46 and 47 worked fine.

https://www.dropbox.com/s/ws4v2xwb6irs5x8/last_kmsg.txt?dl=0

Using DU 11.2
[ONE Original Android Development] aqilsoomro:
+1 (rom idprophecy unofficial LOS)

:crying::crying::crying: but sorry no kmsg
[ONE Original Android Development] Dward40:
Of lineage os n48 i dont have reboot
[ONE Original Android Development] evronetwork:
I use "CPU Temp" and it has a setting to show it in the middle of the status bar
[ONE Original Android Development] iDorkKnight:
https://play.google.com/store/apps/details?id=com.waterdaaan.cpufloat
[ONE Original Android Development] Dazzel:
Had an hard reboot last night with version 47. May be related to the thermal throttling but maybe not so I've attached the last_kmsg.

Had to .zip it. Sorry, was 400kb too large..
[ONE Original Android Development] TimeFlies7:
Great Work!!!

Thanks for the awesome kernel!!!

ROM : TugaPower N29

Kernel Version : r47
[ONE Original Android Development] alvin182:
Working great! Thank you franco (paquito in España) see you in the OP3T thread:laugh:
[ONE Original Android Development] franciscofranco:
There was no change what-so-ever related to sound on r48. Which concludes, once again, your sound issues were unrelated to FK.

There is no touch error, that's just the PowerHAL spamming crap.

Log showed no Kernel errors. Your reboot came from somewhere else.

That crash came from the ext4 file system drivers. Probably something very random. Upgrade to r48.