yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] jarylw:
Is it also normal that the kernel is detecting capacity as 1500 mAH instead of 3100?
[ONE Original Android Development] MICa.fighter:
I think its an app bug of battery monitor widget.

It will have for sure :) franco said he didn't change anything color related, it means the changes are in cm kernel source.

Swyped from my Oneplus One
[ONE Original Android Development] tehpud:
[MENTION=1978554]zephiK[/MENTION]

For those of us on aosp like mahdi, do you download the zip + IMG then zip those together? If not, do zips go first then image?
[ONE Original Android Development] zephiK:
What are you talking about? Franco's OP post with zip and img? You only need to use one of them. They're both the same thing, just different ways of 'flashing' the kernel.

1. Flashing the zip through recovery.

2. Fastboot flash the image or use flashify (img).

Both will get you Franco Kernel, just different ways of installing. Its either one or the other. I'd stick to the flashable zips.
[ONE Original Android Development] tehpud:
thanks man. yeah, i'm still in the learning process of all this. your posts have been extremely helpful for a lot of use cases. I agree, sticking to the flashable zip :)

I'll update mahdi first, then run the franco zip.
[ONE Original Android Development] zephiK:
For sure. General rule of thumb when you update your ROM, always flash the ROM first and then flash franco zip again even though if you had franco zip before. A kernel is included in the ROM otherwise the ROM wouldn't boot if they didnt flash a kernel after.

Basically, a ROM zip will override your kernel so you will need to reflash the kernel zip after flashing rom zip. I was just confused on what you were asking hehe.
[ONE Original Android Development] tehpud:
Yup, makes perfect sense. I ended up following procedure and it all went flawlessly. Feels more smooth than before. Not running into any volume issues, so happy about that.

Anyways, not to get off topic, but thanks again!
[ONE Original Android Development] Expliciate:
Thanks for the confirmation.

My phone had crashed requiring a full re-flash back to stock image.

Installing r2 at first still resulted in the double tap to wake not working.

What managed to fix the issue was toggling the double tap to wake settings in settings under "display & lights".

Running on XNPH22R
[ONE Original Android Development] franciscofranco:
That's a bug on their side, same thing happened to me on 100% stock device.
[ONE Original Android Development] MarvinFS:
[MENTION=3292224]franciscofranco[/MENTION]

Can you please specify the original kernel version on which you build your releases?

For example people are receiving OTA XNPH25R now, which claims to fix some NFC and sensors bugs...
[ONE Original Android Development] musashiken:
Hi Franco,

For the HTC One M7 custom kernels, they have this feature called the Pocket Detection. This works by starting the proximity sensor while the screen is off, so that double taps to wake will not activate while inside the pocket. This is a really useful feature to prevent those accidental wakes inside the pocket.

Is this feature in your kernel and if not, it is possible to port over to your kernels? It should solve all those sensitive double tap wakes in pockets some people are talking about.
[ONE Original Android Development] bwells88:
And a OnePlus One update dropped today... I imagine that would make r2 incompatible??... I haven't tried flashing the kernel in case there's a problem... 8)
[ONE Original Android Development] bwells88:
Here's a screen shot....
[ONE Original Android Development] franciscofranco:
I just fetch the patches from CM when they push new ones.

I know nothing of that, but I can take a look.

It works fine.
[ONE Original Android Development] inffy:
r2 works fine
[ONE Original Android Development] bwells88:
Thanks guys.... 8)
[ONE Original Android Development] tpcrackpipe:
So excited to see you here. I enjoyed your kernels and was glad to have your support on the nexus 5.
[ONE Original Android Development] Ok_Kaleidoscope5109:
Thanks! Mind putting together the 25R stock kernel? :)
[ONE Original Android Development] Mnt-XDA:
Here is the latest 25R...

View attachment 2832128
[ONE Original Android Development] kishenpj21:
Does oppo find 7a or 7 have any luck for ur kernel bro? Read that OPO and find 7 share almost same kernel. So tried r2, stuck at boot logo :p
[ONE Original Android Development] SleemLDJ:
Unbelievable. How could you have done that?
[ONE Original Android Development] bwells88:
Hey.... The Find 7, 7a and OnePlus One are close... ;)
[ONE Original Android Development] kishenpj21:
Shares same kernel....so tried :p btr to try than to ask and wait. Anyways... I flashd the boot image of existing rom itslf and brought it back ;)
[ONE Original Android Development] cybertlc:
I flashed the new XNPH25R update which fixes the Photosphere issue.......and from what I saw, it did. I then flashed your R2 kernel and the issue was back. I'm wondering if whatever version you're going off of doesn't include that fix. I do notice the issue in JIRA doesn't say it has been resolved (although the XNPH25R update specifically says it fixes this), so perhaps your kernel doesn't include the fix?

https://jira.cyanogenmod.org/browse/BACON-5
[ONE Original Android Development] Mnt-XDA:
Is the CM11 & CM11S branch different.... ? as we know cm11S is not open source ...!!
[ONE Original Android Development] cybertlc:
I'm not sure......I know 11S has the OnePlus specific apps.....however CM asked OnePlus to report all issues in the JIRA that I linked.....yet I find it odd that they didn't list that Photosphere was fixed in Jira, they just popped up saying it was fixed in this update before anything in JIRA was even updated to say it was fixed.

It would seem that they are 2 different branches? Photosphere is definitely fixed in the 11S update, but not the R2 of Franco.
[ONE Original Android Development] Ok_Kaleidoscope5109:
He's not talking about CM11. The Jira is specifically for the OnePlus One running CM11S.

I want to say though that it is possible that there are still Gyro issues left or Franco's kernel doesn't have the fix, but I was trying the Google I/O cardboard app out yesterday and it was not working.
[ONE Original Android Development] DespairFactor:
is it just me or does the AOSP version not work with superuser?
[ONE Original Android Development] zephiK:
Works fine here. On Mahdi + SuperSU 2.02
[ONE Original Android Development] DespairFactor:
SuperSU is not superuser...
[ONE Original Android Development] zephiK:
Oh... the built in Superuser in the ROM. I thought when you said superuser, thats what I thought. It could be possible that its missing init.superuser.rc from the ramdisk that makes it not work. Workaround is to flash supersu
[ONE Original Android Development] DespairFactor:
I already know how to fix it and what the cause of the issue is, was just wondering if something was broken in what I flashed or if it's kernel issue.
[ONE Original Android Development] tehpud:
I had some binaries that needed updating, but it works fine for me.
[ONE Original Android Development] mbudden:
Settings > Calibration > Battery Capacity
[ONE Original Android Development] Vonnegut:
I subscribe each and any word zephiK wrote.

As for the guy who want to flash everything he steps into, well, i recommend him to take his time to read and learn, and read more and learn more before doing anything. Knowledge is power.
[ONE Original Android Development] raul4916:
I know this was asked, but didn't find an answer. I know it is pointless, but I love to over power my phone when bored. Just want to know the reason that we are unable to OC. is it currently at the peak? Just wondering
[ONE Original Android Development] zephiK:
2880MHz is the peak CPU frequency at this time. Franco in the past has not been the biggest fan when it comes to overclocking as it really isn't necessary in the kernel.

Will he add it? Probably... just not one of the features on the top of his priority list, not to mention Franco is on vacation but he's been releasing updates to FKU as well as Franco Kernels on the devices he supports while he's on vacation.

So to quickly answer your question, he probably will add it, just not right now as there are other features that are way more important and it doesn't help he's on vacation so franco will get to it when he has the time.
[ONE Original Android Development] tehpud:
So after flashing the update to Mahdi and the new kernel for Franco...

My battery life has been a tank. It just doesn't drop. I am losing 1% every 30 minutes. I have about 8.5 hours of stand by, 2 hours of SoT and still sitting at 77%.

To me this is great. I haven't had battery life like this before. I did download the ROM and kernel, flash them all on this battery life right now. Impressed. Thanks for the great work Franco & Zeph for the advice/help.
[ONE Original Android Development] sharp2G:
Nope. I have changed anything. Perhaps it's not a god idea to wipe cache and dalvik cache when flashing a kernel? It's weird... As for now I'll revert back to the stock kernel and dalvik.
[ONE Original Android Development] zephiK:
Wiping cache and dalvik doesn't do anything for a kernel.

I'm glad you're enjoying yourself :) and yeah, battery life is really a tank. It just doesn't ever go down :victory: I've never been so excited to drain my battery life purposely just so I charge my phone otherwise it won't ever need to go on the charger
[ONE Original Android Development] sharp2G:
Strange... I'm not sure what I'm doing incorrectly for these issues to arise. Standby time was normal? I lost 4% overnight while on LTE and Wi-Fi off.
[ONE Original Android Development] zephiK:
Losing 4% having LTE on overnight is honestly not that bad. If you want a true measure on how well your phone does overnight. Put the phone in airplane mode (were sleeping anyways, who cares if your phone doesn't get signal right? and you wouldnt want your phone going off waking you up because some guy decided to text/email you). I lose 0% over night with airplane mode (6-7 hours).

Have CPU Spy and Wakelock Detector installed, leave that running. Although, I'm pretty sure 4% over night with cell data on is normal.
[ONE Original Android Development] tehpud:
This ^

I agree. 4% on LTE only overnight isn't bad. I use wakelock detector + greenify root to help get the best battery life I can.
[ONE Original Android Development] mbudden:
1% every 30 minutes while using the device or when on idle?

If on idle... That's horrible.
[ONE Original Android Development] sharp2G:
Thanks for the suggestion. Is there a particular "wake lock" I should be concerned about? CPU wake lock? Wakeup triggers? Kernel wake lock?
[ONE Original Android Development] zephiK:
All of them. Pretty much anything that would prevent your phone from deep sleeping. In the CPU Spy app you can see how long your phone stays within a CPU frequency. Kernel wakelock, I wouldn't worry about because well... its kernel related and there aren't any problems in that department. Usually battery issues are on the users' installed apps.

4% over night is honestly not bad though.
[ONE Original Android Development] tehpud:
In use. Definitely not on idle. Not heavy use but not light either
[ONE Original Android Development] jarjar124:
Wow. Stock settings?
[ONE Original Android Development] skydayzer:
Just love this kernel... It's massive. Battery life with default settings is awesome!!

Thanks Franco
[ONE Original Android Development] JustinOkay:
I can't seem to get AOSP kernel working with 4.4.4 Official AOSP ROM.

I've tried flashing the zip which stuck on boot.

I've also flashify with the boot IMG and also got stuck on boot.

Anyone else experiencing the same thing or had success?
[ONE Original Android Development] DespairFactor:
Which rom?
[ONE Original Android Development] zephiK:
Probably using the stock AOSP one made by OnePlus, http://xdaforums.com/oneplus-one/general/rom-oneplus-stock-android-t2826336
[ONE Original Android Development] skydayzer:
This is why I Bombard you with questions... Lol

You just Good at it.. you've got almost all the solutions..

Keep it up (Y)
[ONE Original Android Development] JustinOkay:
[ROM][OFFICIAL][4.4.4]OnePlus AOSP

I'm using the ROM originally posted on the OnePlus Forums. There was a mirror thread on XDA but it seems to have removed.

Any thoughts?
[ONE Original Android Development] DespairFactor:
Chances are the AOSP ROM's kernel is not in line with current CM kernel, which would cause it to not boot because it is missing commits.
[ONE Original Android Development] JustinOkay:
Yes exactly. When I saw Franco added aosp support I jumped over to the OnePlus aosp ROM hoping to use his awesome kernel.

Other posts say the kernel does not work with liquidsmooth but does work with slimkat

Is Franco's aosp not fully aosp?
[ONE Original Android Development] DespairFactor:
His kernel is in line with the CM11 nightlies kernel, anything that has commits than conflict with that are unlikely to work.
[ONE Original Android Development] JustinOkay:
If I understand you correctly Franco's AOSP kernel will work on CM11 nightlies but not AOSP?:confused:
[ONE Original Android Development] DespairFactor:
That AOSP build is from July 29 iirc, CM has merged several kernel commits since then, which Franco uses as his base for the AOSP kernel, making the kernel incompatible with that ROM.
[ONE Original Android Development] JustinOkay:
I understand now. Thanks for clarification! Have some Thanks.

Edit:

One more question. Since this kernel is made with latest cm commits will this kernel work on cm nightlies?

Thanks!
[ONE Original Android Development] zephiK:
If you use the AOSP version of the kernel, yes.
[ONE Original Android Development] robstunner:
How did you get back to stock kernel?
[ONE Original Android Development] chr0m:
The yellow banding at the bottom IS a hardware issue.

I can still see it on mine no matter what colour settings I use.
[ONE Original Android Development] Red5:
That sucks, I've never had any Yellow banding on this phone. Ever.
[ONE Original Android Development] paychex:
Not necessary, not gonna hurt anything. Maybe try a clean flash with the system images. They're on cyanogen's site

---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------

Partial wakelocks
[ONE Original Android Development] prstorero:
Thought I would throw my hat in as one of the few with a lockup. I was downloading an app from the play store and the device froze. Once the screen timed out it wouldn't come back on, so a SOD pretty much. Grabbed a last kmsg as well. Looks like there was a failure to suspend? The text in the log changes after copying it to my SD card, but that's what it says towards the end. Stock settings, stock ROM, R10.

https://www.dropbox.com/s/eo47jl0u5lunb68/last_kmsg
[ONE Original Android Development] chr0m:
Originally using the Franco Kernel Updater to restore the backup that I made with it. That caused my phone to not boot.

I ended up flashing it via fastboot after that.
[ONE Original Android Development] paychex:
flash the boot.img from the system image

https://cyngn.com/products/oneplusone/
[ONE Original Android Development] MICa.fighter:
There are actually 3 different kind of "yellow screen". The first is the yellowish color of the whole screen, that is due to original software settings of the kernel, and you can change it if you are using franco kernel. The newest cm sources are changed to a more colder color.

The second issue is what you mentioned, the yellow bands at the bottom of the screen. It is usual with "freshly" manufactured screens (it has been noticed on various freshly produced HTC, Apple, LG and other smartphones too) and it is caused by glue. It will cure with time, most often in a few weeks. UV light exposure of the screen accelerates the process.

The third type lf yellow screen issue is yellow dots on random places on the screen. It is a hardware defect and it's covered by warranty, if you notice it you should contact oneplus support.

Swyped from my Oneplus One
[ONE Original Android Development] chr0m:
Mine was made on July 5. I've had it for nearly 2 weeks and it doesn't seem to have improved. I'm holding out hope though. Using Franco to change RGB makes it a little less noticeable for now.
[ONE Original Android Development] pro4ever:
flashed r10 on mahdi rom lost root :(

installed different kernal came back
[ONE Original Android Development] zephiK:
Use supersu not built in superuser
[ONE Original Android Development] The Gingerbread Man:
Your doing a grand job of looking after the lesser experienced members here! How ever do feel free to drop a link to my learner lounge which has covered some of this stuff you have been answering recently ☺
[ONE Original Android Development] FordSierra88:
Great Job and The Kernel is very good but the sound from the headphone output is quieter than with the stock kernel.

It's normal ?:)
[ONE Original Android Development] zephiK:
I don't mind answering them :p at least until my little bit of summer vacation ends.
[ONE Original Android Development] cerealguy:
Hi guys... How can I set RGB colors from FKU app? The values reset after exit from app...
[ONE Original Android Development] zephiK:
It's a known bug. You can set the colors, they just won't set on boot.

http://xdaforums.com/oneplus-one/development/rgb-display-calibration-hue-cm11s-t2823043

Use that for the time being to have it set on boot. Use the fku app to tinker the rgb to find the values you like and then put those values into the script above.
[ONE Original Android Development] Red5:
TGM is here too?!? Oh this is a Happy Friday!!!
[ONE Original Android Development] Tzfardaya:
Oh, you will... You will...

No opo, just visiting..
[ONE Original Android Development] Red5:
Nice Yoda reference.

And he needs an OPO. It makes my Nexus5 feel small.
[ONE Original Android Development] zephiK:
It does to me too. Now I want my next phone to be 6" >_> theres no going back.

Time to start a OPO4Gingerbread charity :p
[ONE Original Android Development] Tzfardaya:
I think he'd rather we fund raised for his coming wedding/honeymoon... Not that any of us would be invited to the wedding... :(

And sure, my n5 feels tiny now, but these larger phones don't sit in my trucks cradle as easily...
[ONE Original Android Development] zephiK:
I don't know man. The phone is called Oneplus One so he is adding one to is life. Seems pretty worthy on the fund raiser :p okay maybe that joke wasn't as funny :(

I didn't think I'd be able to use 5.5 in one hand but I am. Next nexus is rumored to be 5.9 which should be slightly bigger than opo since it uses on screen keys.
[ONE Original Android Development] Tzfardaya:
They include the space used by the on screen nav in that screen measurement.... The opo is 5.5, and the note 3 is 5.7, with very similar physical dimensions... So the 5.9 shouldn't be too much larger....
[ONE Original Android Development] zephiK:
Sorry, I meant screen size, not physical dimensions. I still wonder why they ship these phones with such high dpis on high resolutions.
[ONE Original Android Development] Tzfardaya:
So did I... The aspect ratio seems to affect apparent screen size as much as the stated size.... The opo screen is nearly the same length as the note 3, but not nearly as wide... And an additional half inch on the diagonal really isn't that much...
[ONE Original Android Development] oriveradel:
Does it support FauxSound?
[ONE Original Android Development] zephiK:
Nope.
[ONE Original Android Development] _Beni_:
often when i try to wake the device it just dont wake up :(

http://prntscr.com/4aturg

happens if i make a circle

endless this message appears

The buttons are light up and adb shell is working nice, also the cpu freq gets more than 300mhz.

But screen keeps empty.
[ONE Original Android Development] f100cleveland:
Franco has his own sound implementation that I feel is better then faux sound. Can be adjusted thru his app or trickster.
[ONE Original Android Development] amjad_2020:
thank you so much great work :)
[ONE Original Android Development] The Gingerbread Man:
Ah man I don't expect charity for a opo, it would be too much to ask. As Tzfardaya says all my money is going into saving for my wedding, a new phone would be cool but not priority right now. How ever if one found its way to me I couldn't refuse but I won't ask for the community to donate one.
[ONE Original Android Development] 69gm:
Congratulations TGM!!!
[ONE Original Android Development] zephiK:
Heheh it was just a joke :) Congratulations
[ONE Original Android Development] Tzfardaya:
I was considering it...

Sent from backstage at the Muppet Show
[ONE Original Android Development] The Gingerbread Man:
Like I said it would be too much ask, I know people are going mental over these devices and would probably part with their wan***g hand to get their other one on one of these lol It would be a great 'gift' but seriously I don't expect anyone to part ways with their cash or valuable invites for me. Thanks for the thought buddy ?
[ONE Original Android Development] Red5:
Me too... :(
[ONE Original Android Development] Kingzak34:
[MENTION=3292224]franciscofranco[/MENTION] Glad to see you there too :)

Thanks once again for your work ! Keep it up !
[ONE Original Android Development] gd6noob:
Anyone using this on PA rom noticed any huge difference??
[ONE Original Android Development] oriveradel:
Tried on cm11s ...very poor sound, freezing, using trickster mod
[ONE Original Android Development] chr0m:
I'm suddenly seeing google play services keeping my phone awake the whole time. Not sure if it's related to Franco or not.
[ONE Original Android Development] zephiK:
It isn't. See, http://xdaforums.com/one-x-att/general/guide-google-play-services-battery-t2822726
[ONE Original Android Development] Tzfardaya:
Not kernel related, rom related, search this thread for opo forum, red5 and I were talking about it earlier and linked a couple fixes..

Sent from backstage at the Muppet Show
[ONE Original Android Development] vikash0513:
how is the battery life of this kernel and is it stable enough for daily use and what are the bugs
[ONE Original Android Development] :
just trying to help you discover the bug FK to improve the kernel:good:
[ONE Original Android Development] ludester:
I'm back on R9 as R10 kept giving me SOD's.
[ONE Original Android Development] vikash0513:
wil you loose warranty if you unlock bootloader and root and install franco kernel
[ONE Original Android Development] zephiK:
No and no. Warranty is lost when you open up your OPO in terms of hardware.
[ONE Original Android Development] tehpud:
Not sure if warranty really matters? I mean thy struggle with RMA on return devices in 14 days. I doubt much warranty will be provided.

That being said....unlocking and rooting does not. Search :)

https://forums.oneplus.net/threads/rom-official-4-4-4-oneplus-aosp.65482/
[ONE Original Android Development] Enkiduz:
[MENTION=3292224]franciscofranco[/MENTION], i bought your app yesterday and your kernel is amazing. Well done. Thanks. :)
[ONE Original Android Development] skydayzer:
Did a clean install again this time around.... No Franco's kernel.. Because i keep getting SOD... On My Oneplus One.. Maybe an update is needed for the Mahdi-Rom 2.7 [08/08]

Let's see how mahdi's kernel goes
[ONE Original Android Development] MICa.fighter:
Solution: get a 1+1 for TGM's wedding present, this way you get invited to the wedding, TGM don't have to spend money on the phone and he can save for the wedding, and he also gets The One (wife) and the other One(1+1) too. Everybody happy :)

Swyped from my Oneplus One
[ONE Original Android Development] Tzfardaya:
Taking your phone out of its box voids your warranty
[ONE Original Android Development] sien1996:
Fku free app doesn't support oir device right? Just making sure cause I'll most probably be buying the paid version tomorrow :p

Sent from a Device codenamed Bacon!
[ONE Original Android Development] Tzfardaya:
Free doesn't, paid only..
[ONE Original Android Development] MICa.fighter:
Thats right, atm only paid fku supports it.

Swyped from my Oneplus One