yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Sam Nakamura:
You should give basic information about your set-up if you expect someone to help... :)

Rom, Android Version?

Flashed stock boot image before Franco's?

Root? (not only yes but what "magisk or Supersu"?

Flashed by TWRP or FK Manager?

Using latest FK Manager?

-> try both possibilities

-> try flashing your rom kernel before

-> try to flash FK via Kernel Manager
[OnePlus 2 Original Android Development] magnamentis:
ignore the message and flash the latest kernel version r7, the message is a false alarm.

further make sure you have root, open magisk manager, you need at least 2 green hooks.

further perhaps you gonna delete one of your double posts :) it's always a good idea to check own posts before leaving the site but things can happen, no real problem, just hinting.
[OnePlus 2 Original Android Development] anupritaisno1:
You are right. 2 security patches have been released in the last 2 months
[OnePlus 2 Original Android Development] muralidharpattar7:
Thanks for the info.

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

Yeah! I got the information about the kernel in settings.
[OnePlus 2 Original Android Development] franciscofranco:
Ok break from XDA is over, and vacations are over. Sorry for the absence but I had to rest.

r8 is up synced with LineageOS and other security patches + enhancements from other devices.

You can flash it with https://play.google.com/store/apps/details?id=com.franco.kernel or any other mean you're used to!

Hope you're having a great start of summer!
[OnePlus 2 Original Android Development] Sam Nakamura:
Good to hear, some where already speculating from self chosen hermit life to alien abduction :)

Interestingly no one guessed "vacation"...

Welcome back!
[OnePlus 2 Original Android Development] franciscofranco:
Even I have to rest sometimes, haven't had a proper vacation for 5-6 years.
[OnePlus 2 Original Android Development] aviraxp:
I am afraid that you forgot to push your latest source..
[OnePlus 2 Original Android Development] franciscofranco:
Ups, you are right, I forgot. Fixed.
[OnePlus 2 Original Android Development] Sam Nakamura:
Even though you're principally right I want to clear up here that [MENTION=7551742]aviraxp[/MENTION] is contributing to franco's github for the OP2 and has also own kernel projects that partially depend on franco's work, if I have read correctly, so having the latest source pushed does indeed infect his real life projects :) sometimes passion is overwhelming - let's leave it right here...
[OnePlus 2 Original Android Development] aviraxp:
Nope. I did not do any contributing....
[OnePlus 2 Original Android Development] saurabhp75:
Getting error on flashing r8. Recovery log below.

/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment initialized. Archive: /sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip inflating: META-INF/MANIFEST.MF inflating: META-INF/CERT.SF inflating: META-INF/CERT.RSA inflating: META-INF/com/google/android/update-binary inflating: META-INF/com/google/android/updater-script inflating: README.md inflating: anykernel.sh inflating: ramdisk/fstab.qcom inflating: ramdisk/init.fk.rc inflating: ramdisk/init.performance_profiles.rc inflating: ramdisk/init.special_power.sh inflating: ramdisk/init.supolicy.sh inflating: tools/ak2-core.sh inflating: tools/busybox inflating: tools/mkbootfs inflating: tools/mkbootimg inflating: tools/unpackbootimg inflating: zImage franco.Kernel by franciscofranco @ xda-developers AnyKernel2 by osm0sis @ xda-developers Checking device... OnePlus2 Installing kernel... /tmp/anykernel/anykernel.sh: line 6: kernel.string=franco.Kernel: not found /tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found /tmp/anykernel/anykernel.sh: line 8: do.initd=0: not found /tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found /tmp/anykernel/anykernel.sh: line 10: do.cleanup=1: not found /tmp/anykernel/anykernel.sh: line 11: do.cleanuponabort=1: not found /tmp/anykernel/anykernel.sh: line 12: device.name1=OnePlus2: not found /tmp/anykernel/anykernel.sh: line 13: device.name2=oneplus2: not found 131072+0 records in 131072+0 records out 67108864 bytes (64.0MB) copied, 0.360226 seconds, 177.7MB/s BOARD_KERNEL_CMDLINE androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3 buildvariant=userdebug BOARD_KERNEL_BASE 00000000 BOARD_NAME BOARD_PAGE_SIZE 4096 BOARD_HASH_TYPE unknown BOARD_KERNEL_OFFSET 00008000 BOARD_RAMDISK_OFFSET 01000000 BOARD_SECOND_OFFSET 00f00000 BOARD_TAGS_OFFSET 00000100 BOARD_OS_VERSION 7.1.2 BOARD_OS_PATCH_LEVEL 2017-06 9123 blocks error: unknown hash algorithm 'unknown' Repacking image failed. Aborting... Updater process ended with ERROR: 1 I:Legacy property environment disabled. Error installing zip file '/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip'
[OnePlus 2 Original Android Development] franciscofranco:
I don't know any of that, flashes fine here. Don't know what recovery you're using, but something is pretty derped there.
[OnePlus 2 Original Android Development] Aahan:
Flashes fine here as well. Are you using official TWRP?
[OnePlus 2 Original Android Development] saurabhp75:
Using twrp 3.0.2.2 , which one is recommended?

Edit : Tried with latest twrp 3.1.1, but got the same error. I am able to flash other kernels without any issue.
[OnePlus 2 Original Android Development] franciscofranco:
I have a standard zip structure, works on all devices, and has done so for a long time. I think you have something else going on there.
[OnePlus 2 Original Android Development] saurabhp75:
This issue is present in only r8. I can flash earlier versions without any issue.
[OnePlus 2 Original Android Development] casual_kikoo:
1. Your first post is a pain tout read, not formated at all. There is plenty of tool, like pastebin/hastebin, or even

hello world

2. As Franco says, he has a standard Zip structure, based on anykernel, which has already proved its worth.

3 It might be a problem on your own, please download again the kernel and check thé MD5.
[OnePlus 2 Original Android Development] saurabhp75:
With all due respect, #2 and #3 in your response are not helpful as francesco has already replied, to add to it I am also an experienced user.

For #1, let it come from Francesco, I will provide logs in appropriate format.

PS : If you have the required skill set and authorization, I can provide to you as well.
[OnePlus 2 Original Android Development] casual_kikoo:
You are an experienced user but you don't know how to use "[ CODE ]" tag on XDA ? Hmm, ok.

You are an experienced user but, you are the only one who has a problem with the zip and you say this is Franco's | zip's fault ? Hmm. ok.
[OnePlus 2 Original Android Development] saurabhp75:
Hey hey stop this, don't try to be Francesco's mouthpiece. He can reply on his own.

Keep the drama out of this, don't plant words like "problem" and "fault".
[OnePlus 2 Original Android Development] Sam Nakamura:
Have you tried to flash the stock boot.img before flashing franco's?

Have you tried flashing from updater app and twrp?

People reported that sometimes one works better than the other..

Have you tried on another rom and what rom you're actually on?
[OnePlus 2 Original Android Development] saurabhp75:
I am on OctOS, which is lineage based. I have tried all previous versions of franko kernel and they work. I tried 3 other kernels and they are also OK.

I have already tried ALL your suggestions except using a different ROM and flashing a stock boot image, will try and report when I get back home.
[OnePlus 2 Original Android Development] Hell_Dog:
How does the apparatus behave on the new kernel version?
[OnePlus 2 Original Android Development] parasthakur37:
Did you know that you should get banned for writing this? As you can clearly make out (maybe) this is a development thread and not a place to share your English literature. Also I think you might be able to clearly see in the next few posts, Franco himself says he forgot to do it and he uploaded it right away.

If Wang was being impatient then you didn't show any patience yourself, you jumped on him right away without waiting for Franco to say anything.

Sad, reported.

---------- Post added at 12:52 PM ---------- Previous post was at 12:51 PM ----------

You did. Ignore these people, they don't do anything and still object others' work.

---------- Post added at 12:55 PM ---------- Previous post was at 12:52 PM ----------

It seems like your system and data are not mounted by default. Update to the latest twrp from twrp.me . If that doesn't solve the problem, mount both system and data and then flash the zip, after downloading it again (might also be a faulty download).
[OnePlus 2 Original Android Development] chetan_1215:
Highly agree with you here!
[OnePlus 2 Original Android Development] saurabhp75:
I tried flashing with latest twrp (3.1.1) but still got the same error. Also I am not sure if twrp is actually mounting the partition. The mount screen in twrp does provide the option to select the partition to mount, but there is no option to actually mount the selected partition.

PS : I tried with redownloaded kernel zip as well.

---------- Post added at 03:32 PM ---------- Previous post was at 03:03 PM ----------

@franciscofranco, I was overjoyed when I heard about Franco kernel for op2 and purchased the app right away.

I used all versions of your kernel till v7. Then unfortunately I could not flash r8 version, most probably due to some unique issues with my device. But at the same time I got no errors while flashing other kernels.

One thing that struck me is the level of support from developer. Which is non existent, probably due to some genuine reason.

But overall the end user experience for me is not satisfactory. I will update my play store comments accordingly.
[OnePlus 2 Original Android Development] Sam Nakamura:
If you going to report every user who suggests to be patient and don't push the dev you got lots to do :) the post was neither abusive nor threatening, I on the other hand wanted to show with my previous post that Wang probably wanted the source to be published immediately because of his projects depending on it...

No seriously, I observed not the first time that you announce "reported" in a post, it's totally up to you to report but to write it in "big letters" won't help to keep the peace in the forums, it's very provocative and rather a disadvantage for the community as other users will get triggered by this unnecessary announcement and that prolongs the discussion...

Also I may remind you of your inappropriate "BUMP" post here not to long ago which also doesn't belong to a development thread, so blaming others for something you already did yourself is a not to cool, so please stop the drama and focus on being helpful..

Thanks and let's calm down
[OnePlus 2 Original Android Development] aviraxp:
OK let the argument stops here. The reason why I want to see the source is that I always have a look at source and determines whether I should use it. That will avoid many bad things such as noob developers' bad rom. My kernel does not depend on it. Next time I will use a better way to remind.

Please do not comment on it anymore. Too many OTs here.
[OnePlus 2 Original Android Development] parasthakur37:
I always ignore your posts anyway because what can be said in about ten words, you use at least a hundred words to convey it. As I said before. This is not a platform to showcase your literary skills. Period.
[OnePlus 2 Original Android Development] Sam Nakamura:
Well, it's hard to investigate an isolated issue on user's device, no one else has reported it yet...

Forum rule is to wait at least 24 hours before reposting a issue, so please don't pressure with bad reviews, this is not polite nor effective, if it's your honest opinion go ahead...
[OnePlus 2 Original Android Development] fuser1337:
Flashed r8. On latest Lineage. Maxed the GPU again and my phone is on roids. I still get battery life. FK is best thing happened to OP2 development.
[OnePlus 2 Original Android Development] KYKYLLIKA:
Installation fails.

Device: ONEA2005

Android Version: 7.1.2

LineageOS Version: 14.1-20170615

API Level: Guava(7)

Installing fk-r8-anykernel2.zip results in this:

Invalid partition. Aborting
Updater process ended with ERROR: 1
Error installing zip file /sdcard/fk-r8-anykernel2.zip

Should I fiddle with the zip file?
[OnePlus 2 Original Android Development] Sam Nakamura:
You're the 2nd one reporting that "error 1", I'd wait what the chef cook says...

Maybe try to get logs after failed flash from twrp options, it's in settings..
[OnePlus 2 Original Android Development] saurabhp75:
Try flashing your stock boot.img, it did the trick for me, thanks to [MENTION=7125933]Sam Nakamura[/MENTION].

---------- Post added at 07:51 PM ---------- Previous post was at 07:50 PM ----------

Flashing stock boot.img worked, thanks a ton.
[OnePlus 2 Original Android Development] magnamentis:
thanks for the heads up, as it happens too often, being generally right, once one decides to make a point it't the exception LOL

i thought there was an undertone, perhaps i was wrong and overshot, apologies in that case.

enjoy further
[OnePlus 2 Original Android Development] saurabhp75:
Display values are not sticking in fk. Am I missing something?
[OnePlus 2 Original Android Development] Sam Nakamura:
Welcome, happy to help, just do me a little favor, next time please check all options you've been given before thinking of a bad Playstore review, usually we get things sorted out here :)

---------- Post added at 08:41 PM ---------- Previous post was at 08:39 PM ----------

It's a Magisk issue, they actually get applied on boot if you switch on the option, it just won't show up in settings, a cosmetic issue if you will...
[OnePlus 2 Original Android Development] saurabhp75:
Thanks I will take care in future :D

Thanks it works! There is one minor issue[emoji4] dt2w is not working after flashing kernel.
[OnePlus 2 Original Android Development] Sam Nakamura:
Anyways, the other person with "error 1" output had success with flashing the stock boot.img before franco's kernel, either dirty flash or take the boot from the rom zip...

---------- Post added at 09:47 PM ---------- Previous post was at 09:13 PM ----------

Likely a rom issue as it works for me on unofficial RR and AICP, problem is that aosp & lineageOS implementation is different, if they choose the aosp way it's not going to work from what I understand... But I never used OctOS or what you're running :)
[OnePlus 2 Original Android Development] KYKYLLIKA:
Which boot img did you flash? I took the ones from OOS2 and OOS3, no luck, and the phone stopped booting altogether until I reflashed the one from LineageOS.
[OnePlus 2 Original Android Development] saurabhp75:
Stock boot.img of whatever ROM you are using (lineageos in your case). Also try dirty flash of lineagos.
[OnePlus 2 Original Android Development] KYKYLLIKA:
Okay. I’ll try different builds of Lineage. Clearly this one does not work for me.
[OnePlus 2 Original Android Development] Sam Nakamura:
Not different, just use the one that came with the rom you're on (needs to be lineageOS based), either open the rom zip and copy boot.img from there or dirty flash the whole rom BEFORE you attempt to flash franco's kernel...
[OnePlus 2 Original Android Development] KYKYLLIKA:
The thing is, I could not install after I clean flashed the latest rom from here: https://download.lineageos.org/oneplus2,

Then I could not install after I flashed the boot from a bunch of different roms. Then I flashed the boot from this rom again, and it still did not work. Then I dirty flashed this same rom and it still did not work, so I will try to clean flash a new rom altogether.
[OnePlus 2 Original Android Development] Sam Nakamura:
Chances are good that by flashing all kinds of different kernels (including OOS which is a no go) something broke, flashing clean is definitely the best thing now..
[OnePlus 2 Original Android Development] saurabhp75:
My case was different, I was getting error only in r8 kernel version. All other versions flashed normal. I was also able to flash other kernels as well.
[OnePlus 2 Original Android Development] Hell_Dog:
Uses somebody that's the kernel on the official firmware AICP 12.1?
[OnePlus 2 Original Android Development] Sam Nakamura:
Works perfectly, as it is close enough to lineageOS source-wise... Just backup your boot partition in twrp to have a easy way to revert
[OnePlus 2 Original Android Development] The nuub:
getting error 1 when flashing in twrp. using multi rom so not sure if it has to do anything with that?
[OnePlus 2 Original Android Development] Sam Nakamura:
Read a little back, flash your stock boot.img before franco's kernel in case you had any custom kernel installed before, also try to flash from within franco's kernel updater not only twrp, could be that it's indeed a multi rom issue but that's the least you can try, also a recovery log (twrp->settings) from failed flash could maybe be helpful...
[OnePlus 2 Original Android Development] KYKYLLIKA:
So far, I clean-flashed the following:

LineageOS 2017-06-15

LineageOS 2016-06-08

Seraph’s LineageOS 2017-06-23

Got Error 1 on all of them both before and after putting superSU.

The only thing that worked is the kernel manager application, which is glorious.

So yeah. Maybe it is the difference between r8 and other versions, but flashing the zip file was not the way to do it.
[OnePlus 2 Original Android Development] The nuub:
had flashed in twrp and with updater app. didn't have a custom kernel on that rom since it was a fresh install still nice feedback some users said i should try to update my twrp/multi rom. gonna try that now and if that won't work i will try to provide some twrp logs tnx anyway!
[OnePlus 2 Original Android Development] Techgod:
How much SOT we get as compared to stock kernel on lineage OS?
[OnePlus 2 Original Android Development] magnamentis:
http://elementalx.org/the-truth-about-kernels-and-battery-life/

read the above, invalid question. neither is there one value nor is the kernel as long as it does not have bugs which it does not, responsible for more than 10% of battery efficiency.

even those 10% (+/- 5%) are always a trade off, performance again endurance and vice versa.

as long as the kernel is good it can be considered as no major player towards battery life in default settings. you can alter settings to one or another side but then the same applies for the rest of your setup.

your apps and setup of system and apps are mostly responsible for battery life. some get 2.5h and other like myself up to 7.5h SOT which shows very well why the question is a shot into a blackhole. you would get almost as many different answers as there are users ( somehow LOL )

this kernel (like most others) is an attempt to optimize the two in itself contradictory tasks to last longest and perform best. the attempt can be considered successful but does not go beyond the +5% mark battery life wise.

i get the same SOT on stock kernel minus perhaps 10-15 minutes. there are other primary reasons why most people use a custom kernel, at the knowledgable users. display tweaks and many other things are significant improvements as to individual taste and needs.
[OnePlus 2 Original Android Development] khalidoedilo:
could i update

could i update lineage nightlies without issues in bootloop when using this kernel ?

thank you for your effort
[OnePlus 2 Original Android Development] Sam Nakamura:
Sure but you'll have to reflash the kernel...
[OnePlus 2 Original Android Development] Op1_2:
Hi I just switched from oxygen os to lineage nightlies and I get an error when flashing this kernal. Do I have to have the official lineage or am I missing something. Thanks
[OnePlus 2 Original Android Development] Sam Nakamura:
Try to flash from within the "Franco Kernel Updater App" and if that's not working from TWRP and vice versa, depending on what you tried already...

If you come from another kernel restore your stock boot.img first by either dirty flashing the rom or restoring your boot partition in twrp, if you have a backup..
[OnePlus 2 Original Android Development] Mirk0:
A couple of issues

I tested FrancoKernel for OP2 and I want to report a couple of problems I have.

First, when I receive a call the screen turns on only a few seconds after the phone started ringing. If this is a wanted feature, I find it a bit annoying if I have the phone on the desk while I'm working and not in my pocket. Furthermore when the screen turns on for like 1 second after the phone becomes laggy - both the screen and the sound. By the way I'm using Google Dialer (com.google.android.dialer).

And second, I had a terrible experience with Google Calendar (com.google.android.calendar), which became extremely laggy after flashing the kernel, and I can't understand why.

I was on an almost fresh install of the official LineageOS 14.1 (15/06/2017) with the r8. The OS is rootless, so I tested this kernel as I flashed it, without changing any of its settings. Because of these issues I was forced to flash the stock LineageOS back.

I only wanted to inform you, Franco, of these problems I was facing, hoping that your kernel will pull out the most from this device. Thank you for your work, you are a great developer!
[OnePlus 2 Original Android Development] magnamentis:
please consider that it's something on your side since you're either the only one wiht all those issues and even if there were a few others, all other users including myself have not the slightest kernel related issue. if you have a problem with an app it's either and app or incompatibility problem, for example flashing too large gapps packages that overwrite the built in apps and become incompatible.

further, if already you jump to such conclusions, you should provide a log, the info you provide is just stating and assuming without any evidence.

if something happens after flashing a kernel it's mostly a coincidence and only logs can point the culprit if the issue is not widely spread among many users.
[OnePlus 2 Original Android Development] franciscofranco:
New Franco Kernel version for the OnePlus 2

r9

1. Synced with LineageOS's Kernel tree

2. Merge some patches from July's Security release from Google

zip: https://kernels.franco-lnx.net/OnePlus2/7.1.2/anyKernel/fk-r9-anykernel2.zip

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

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 2 Original Android Development] Zaid313:
Can i flash Franco kernel over h2os or oos roms
[OnePlus 2 Original Android Development] franciscofranco:
It says in the OP that this is only for custom roms...
[OnePlus 2 Original Android Development] varuniyer:
Would it be beneficial to use this if I am already using Greenify's aggressive doze feature? If not, is your approach to aggressive doze more extensive in some way?
[OnePlus 2 Original Android Development] franciscofranco:
Hmm probably not. I don't know how Greenify implements it, but I'm sure you're good with it as it is.
[OnePlus 2 Original Android Development] The nuub:
can anybody still see the free version of francos kernel updater? it disapeared for me a while ago. so i went in this thread cuz i knew there was a link to it but it said this content is nto available. anyboy else has this? tnx
[OnePlus 2 Original Android Development] franciscofranco:
The free app is dead, it was hurting me more than it helped while atracting idiocy in its reviews because every mother and son wanted their devices to be supported and didn't care to read the description. Sorry!
[OnePlus 2 Original Android Development] The nuub:
understandable! and its fine i can just flash anyway and had it backed up in titanium so no worries. keep up the great work on the battery life ;)