yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] s3forever:
I'm sorry, i'm not an expert, if i upload this screenshot with a little of usage is because this happened to me every day, not only in this 13minutes like you said. I'm only here because i need help and noone give me an answer about this... I installed this kernel but i have this problem... i don' t think i did something wrong, I only asked for a help.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I didn't see any wakelock issue on your screenshot, was absolutely normal.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
New Franco Kernel version for the OnePlus 3T

r15

1. Merged a patch list from sultanxda to fix a considerable number of memory leaks. He's the MVP

2. More aggressive custom wakelock blocking. If we want an wakelock blocked we really mean it. No chance wakelocks like NETLINK, timerfd or wlan will keep your device awake now

3. More aggressive custom wakelock blocking. If we want an wakelock blocked we really mean it

4. Slightly faster sampling during screen off to offset cases like Android Auto and Viper4Android hi-resolution audio decoding where 60ms was a bit too aggressive

zip: https://kernels.franco-lnx.net/OnePlus3T/7.1.1/anyKernel/fk-r15-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!

This is the last release before LineageOS support.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
reboot on switching to power saving profile set apps fixed??
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I couldn't reproduce the issue on my 3T. Can you see if it happens again on your device?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BaaDNwZ:
https://xdaforums.com/showpost.php?p=71354221&postcount=1614

He shows here (2nd video), perfectly how to reproduce... =\ it's 30+ pages ago lol... and somewhere you even told that you gonna fix that xD

Maybe i can do a log?

how to create log ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] s3forever:
Thank you very much for your reply ! Maybe I need to wait some days to see a battery improvement because for now with conservative governor my battery doesn' t make a lot of SOT, less than 4-5h
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I followed the video and couldn't reproduce that's why I asked for another step by step how to reproduce. There's nothing to log.

As said before battery life varies based on a gigantic number of variables, some of which I do not control, I'm not a magician.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] s3forever:
Unfortunately you are right ! Anyway I think your kernel is really really good, despite of my battery life that is another problem, anyway I have updatet to r15 so I will see in the next few days how good is it :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Also, I don't think 4-5h screen on time is a problem at all. Depending on usage that's nice bad at all.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BaaDNwZ:
i created a profile for camera app,

WIFI - unchangeed

android battery - disabled

location - device only

display resolution = native

auto orientation

max. brightness 90%

low & high cluter - 1516mhz max freq , 307mhz min freq.

gov - interactive

max gpu 510mhz

gpu gov powersave

now i set max cpu freq for small cluster (daily usage - not another profile) for 1286mhz and the big cluster 1056mhz [tick set on boot]

exit the FK app (don't minimize, exit)

now enter camera app, wait few sec, exit.

re-enter fkupdater, check max freq of small cluster - it will be 1056mhz.

for me - it changes the max freq to 1056mhz every second time i'm enter the camera app

please confirm if you managed to reproduce
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Guihardrock:
If I want to return to 4.0.3 for example can I flash latest kernel or flash a version for that firmware?

Thanks in advance and good night :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BaaDNwZ:
4.0.3 is android 7.0....

check the folders in the download page.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Guihardrock:
ok thank you but i mean if i want to flash a kernel for 7.0 for example it is matter the versión of the kernel with the version of oos?

edit: sorry now i realice that i wrote the question in a wrong way :/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] rohit83:
This should be the download link in the OP https://kernels.franco-lnx.net/OnePlus3T/ because the current download link in OP takes u to the 7.0 folder. [MENTION=3292224]franciscofranco[/MENTION] could you please update?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BlueWinter:
i am not able to take photos on r15 on stock 7.1.1 am i the only one?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] derdjango:
Works fine here.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BlueWinter:
While opening camera, 'Unknown Error'
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] enzzo28:
No issues here either...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Ulti2x:
Hey francisco or anyone else, what is the default clock of the cores on FK 13 - 15? Was just wondering.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Ups, fixed, thanks for the heads-up.

It's the same as it always been. I don't have the numbers from the top of my head.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] se7ensde:
Is this compatible with lineage and lineage based roms or only OOS?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Had the same problem...

Works on stock kernel...

But if you flash franco kernel the camera shows unknown error

Some other users also reported it. So it's not my problem or device alone.

[MENTION=3292224]franciscofranco[/MENTION]. Hai still waiting you to find a fix as is not my problem alone.

Now using elementalx no problem...

But want Franco kernel back...

Edit:

Someone from freedom os thread mentioned this as fix...

Fix:

Flashing ElementalX 3.0 and then flashing Franco Kernel on top of it fixes the camera issue and everything works fine (no drains or other weird behavior). It's not necessary to flash the boot image by decompressing the rom and so, whatever is broken from the beginning seems to be able to be restored By ElementalX, so it's way more simple than that storage-wearing and time consuming procedure of decompressing the Rom to extract the boot.img.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] reds9:
OOS only

it's already on the OP
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] the_rooter:
I'm currently testing another custom kernel and I want to get Back to this kernel. Ik I have to flash boot image correct to return to stock kernel for 4.1.0 so then I can flash this kernel. Is this the correct method and if so can someone please post the stock for 4.1.0? Please I am away from computer for the next two days
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I'll try to reproduce, thanks.

Just flash your rom's stock boot.img, then you can flash FK.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] BaaDNwZ:
Have you reproduced it?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I'll try tomorrow when after I wake up, it's nearly 5am and my brain is shutting down.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HampTheToker:
Did you pull r15 because of reported camera issues? I've tried flashing through fku three times, but I'm still on r14.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sakumaxp:
Flashed through fku camera is working fine over here
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] realkeule:
I get wihle flashing v15 always error unpacking ramdisk. Other zips to flash no problem. Can anyone help me with that?

Thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
Redownloading should probably solve it.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] realkeule:
Hanks, but Redownload it 2 times. Newest twrp. Anything more?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
Try reflashing your recovery and supersu zip.

---------- Post added at 08:16 AM ---------- Previous post was at 08:15 AM ----------

This works? Great to know you finally found a workaround. [MENTION=3292224]franciscofranco[/MENTION] what do you think of this workaround?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
[MENTION=3292224]franciscofranco[/MENTION] again,reboot while exiting app which is set to power saving profile
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] LazerH:
I can't flash the R15 version, I'm getting error 1

I'm on oos 4.1.0 and TWRP 4.3.0.1

I both download from webserver and with app, same results, autoflssh also isn't working
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] realkeule:
I have the same problem now with 4.1.0.1

I think i will stay on v14 because i read that more people have a problem...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] warzag:
Just flashed with the Franco's app. (FreedomOs 2.6.1 + magisk + TWRP 4.3.0.1). Weird
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
r15 is fine, I just auto-flashed and it worked.

I don't have any issue, the flashing mechanism is 100% equal to earlier versions.

I don't know how that's possible. I still think the issue is with FreedomOS rom though.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Flashing Franco over ElementslX works... [MENTION=3292224]franciscofranco[/MENTION]. I reported to you that even in OOS 4.1 STOCK your kernel gives me error on camera.

So I switched back to freedom.

Flashed magisk then elementalx and then Franco.

Now Franco works. But I reverted to elementalx. Because I don't know the underlying problems of flashing franco over elementalx.

Unless you say it is ok I won't recommend that method.

But now the solution is there.

The question is how does flashing elementalx fix the Franco problem???
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I don't know what the issue is. I'm 100% stock device and my camera works everytime, flawlessly. The camera drivers are 100% stock, same as flar's. I can try a few things, but it's a bit hard to figure out something that's working for me on the exact same setup. And I haven't even seen a log. "adb logcat | grep camera" would be a start.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
[MENTION=3292224]franciscofranco[/MENTION] encountered screen freeze n reboot again..... kindly review the log
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
I had posted the logcat on page 187 of this thread the day I first experienced the bug.

Sorry that you didn't see it.

Here it is. Hope it helps.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I see errors in the display driver, but nothing else pops up. Can you tell me exactly and in detail what is your full setup. Thanks.

I didn't see it before. The log doesn't show any promenient error. Will have to be a little creative and guess what it can be.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Ok:)

Hope you fix it somehow..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I'm not convinced there's a bug though.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
stock 4.1.0+superSU sr3+R15+FKU

profile set to balance with custom app profile set to power saving for apps like XDA, community app ....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Remind me again, that issue only occurs after you apply Power-saving performance profile, correct?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] LazerH:
Any idea what's causing the flashing error with R15 that some guys reported?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
There's no way I can reproduce this. There are no Kernel log errors, or logcat errors. Are you absolutely sure this will happen on a 100% stock, factory reset, no apps & no root scenario?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
What error? It flashes fine, flashing mechanism hasn't changed in months, it's exactly the same as r14.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
correct, it only occurs when costum app profile set to power saving on balanced profile
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Detailed description

As I told about the error you said it was a freedom os error...

So,

I wiped cache​ dalvik data and system...

Installed stock ROM 4.1.0

Rooted with magisk 11.1

And flashed your kernel...

No apps installed...

IT WORKED NO CAMERA ERRORS....

I was happy...Was late night so slept...

Next day morning opened the phone

Didn't check the camera Because as soon as I opened up the phone I received magisk update available 11.6.

Updated rebooted and opened camera error

Was shocked. Did all the work and wasted.

Since I thought I flashed magisk it may have messed up the kernel

I reflashed your kernel still error

Then I reflashed stock ROM boot image.. camera working fine

Then I reflashed your kernel again ... Camera error

Then I uninstalled magisk reinstalled older magisk 11.1

Then reflashed your kernel again....Still camera errors

Then I tried all things as I anyway have to install the os again

Flashed bluspark .... Camera working fine

Falshed elementalx ... Camera working fine...

Flashed Franco ... Camera again error..

But each time I flashed stock boot image and then flashed each of the kernels

I never flashed a custom kernel over the other without replacing stock kernel

Today as someone said I tried flashing Franco over elementalx without replacing the boot image..

And bam...Franco Kernel...CAMERA WORKS

Is it due to magisk, freedom os or kernel...Don't know

But the other kernels work fine in all scenarios

The kernel which I luv and miss badly is the one​ that doesn't work...

As ekementalx flashing corrects the issue.. I think it's some boot image related issue.. the ram disk or something....

May be that's why after updating magisk which definitely rewrites the boot image caused the error...

But why only some people have the issue..I DONT KNOW..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Thanks for the detailed post. I'm flabbergasted.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
I just appreciate your work and I have been using your kernel since I bought my phone..

Just luv to get it working

Just detailed so that you may have something...

Anything that might help you..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] LazerH:
Me and others get error code 1 when flashing. Downloaded r15 through app and server with same result. Flashing other zips is no problem
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
We all are. :eek:

(assuming you were being sarcastic about the previous post :p)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Dunno. r14 and r15 have exactly the same flashing mechanism, same AK2 binaries, same AK2 code, everything is the same. So sorry.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] joakimbo:
Flashed r15 in FKUpdater coming from r14. No issues so far! Thanks Franco
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] rauleeros:
Any idea why on OSS 3.5.4, with a r5 FK kernel, when I try to restore my backup kernel by:

-using the FK Manager app to restore the previously backed up kernel through the same app.

-restoring a different boot partition back up through TWRP.

-flashing a pre-root boot.img backup I made some time ago

After doing either one of these cases, it seems like the phone is working and boots up, not sure if with the default kernel, but the wifi does no longer work.

It does not let me turn on wifi.

I have read in the thread something like this happened with the older FK Manger/Kernel, but I thought mine was up to date.

Any ideas?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] KRHairston:
Can anyone provide any assistance?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Midomad:
How is this related to FK?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] KRHairston:
Because in the past kernels would need to be switched to Permissive for this to work. Trying to update the driver and get this error.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
Uh then switch to permissive. Or use the Magisk module. OT
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] pantmunu:
People getting the error on recovery, what version if TWRP are you guys using ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
I cannot reproduce, tried every possible way. I'm so sorry. I merged some patches that might fix it your issue though.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Because back in r5 I injected the WiFi module into /system so you end up with a non-standard module that won't load up with stock Kernel. You need to either flash to OxygenOS 4.1.0 or dirty flash stock rom. I don't touch /system anymore on newer Kernels. Sorry.

Dunno. I have the appropriate SELinux rule to allow V4A to work in Enforcing mode. Don't think that's Kernel related.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] franciscofranco:
Just had that error -1 thing when flashing through TWRP. It's their bug, it even killed my adb connection after a few tries. I had to adb kill-server and reboot the recovery (it rebooted on itself at least once in the process...) to have it work. Kind of annoying that I'm getting the yells because of a bug that ain't mine.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] exaflare:
I don't have problems with r15, im still using the old twrp from root tool kit ver. 4.7U by ahmed.

Using stock OOS 4.1.0 with r15 franco kernel the camera is 100% working :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] reds9:
I read there is some people has an error after flashing r15

there is no problem for me, running FreedomOS 2.6 + Magisk 11.6 + FK r15 and everything is fine

no camera problem, no error whatsoever

it's also gives me 7h SOT

btw I read Franco post on G+ that he'll make a kernel for LOS

the only thing make me not trying LOS yet is because there is no FK

gonna wait
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HampTheToker:
I tried with TWRP 3.0.4.1 yesterday to rule out TWRP as the source and still got error 1. I was on the latest version the first time I encountered the error. I'll try again with a different version of TWRP.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Try with bluspark twrp 3.1.0.x
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] saurabh40629:
Well, people post the observation even if its not kernel bug. Since people can't really tell if it's kernel bug or twrp, they ask here. Being a pro, you could identify, now at least we can report it to twrp thread. Thanks.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
Search this thread, I have made a post
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HampTheToker:
Where can I find that? I didn't see a thread in this subforum or the cross development subforum.

Edit: found it, but same error. Even tried reflashing r14 to see what would happen and got the same error.

Are you sure it's TWRP and not Magisk? I'm going to downgrade back to 11.1 and see if that changes anything.

Edit 2: definitely Magisk. Uninstalled and flashed r15 without error. Magisk 11.6 is the culprit.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] biyor:
How did you change font? Stock ROM?

Biyor
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
Magisk root

Use ifont or any other font changing application or change it manually(i prefer this) and reassign the permissions..

---------- Post added at 07:44 AM ---------- Previous post was at 07:38 AM ----------

There is definitely a problem with magisk and Franco kernel...

But the problem is random that people with magisk 11.6 has no errors flashing this kernel

I think [MENTION=3292224]franciscofranco[/MENTION] should definitely check into the compatibility of flashing this kernel over magisk modified boot image...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HampTheToker:
topjohnwu rewrote the boot.img patching tool code in 11.5, so I suspect therein lies the problem.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] realkeule:
As i read, Error 1 in twrp means not enough space while extract. So may i will find the problem when anyone tell me what the extract path is.

Regards
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] LazerH:
i can confirm.

i removed magisk 11.6 and flashed r15 without any issues.

i then installed magisk 11.6 again and it removed franco kernel and replaced it with oneplus kernel.

Ill try out to flash magisk 11.1.

Btw: im using supersu 2.79 for root and only have magisk for some modules
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] matust:
I have been flashing franco kernel and then magisk v11.6 without any problems
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
The right method is to flash magisk and finally the kernel

May be flashing kernel first did it for you because magisk copies and writes the entire boot image along with the kernel..

---------- Post added at 08:17 AM ---------- Previous post was at 08:15 AM ----------

That's what the rewritten magisk boot image prevents the kernel from properly being written...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] matust:
When it was just a framework to help hide root you flashed it at the end after kernel and root zip. I've always flashed it last and never had any issues. It makes sense to me since it is modifys the boot image, if you then you go and flash a kernel on top and erase those changes you might have problems.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Xennet:
[MENTION=3292224]franciscofranco[/MENTION]

FINALLY I HAVE WORKED IT OUT!!!

FOR THOSE WITH CAMERA ERROR AND ERROR 1 ON FLASHING FRANCO KERNEL DO EXACTLY AS GIVEN BELOW:

1. Reboot to recovery

2. Uninstall magisk 11.6 or 11.1 by flashing magisk uninstall zip (from official magisk thread) in twrp

3. Flash stock boot image (extract boot.img from the STOCK ROM or FREEDOM OS ROM)

4. Then without rebooting flash franco kernel R15.zip (not magisk first)

5. Then without rebooting flash magisk v 11.6

6. Then finally reboot to system wiping dalvik and cache...

I had camera error now solved camera working fine finally...

The error was with magisk rewriting the boot image which Franco kernel installer zip was unable to modify. So flash Franco kernel zip first and then finally flash magisk so that magisk rewrites the entire boot image with Franco kernel rather than Franco kernel having difficulty rewriting the altered magisk boot image.

Get back with results..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
To [MENTION=3292224]franciscofranco[/MENTION]

I like your style with changes in kernel!

Francisco the silencer [emoji23]

Nice work!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mjurgilas:
Hey, could it be that the kernel is killing some processes too aggressively? I don't have aggressive doze on and I often still don't get notifications from facebook messenger when the phone is sleeping. I have to open messenger myself and only then do i get them (usually 20-30 min late). Of course this might be a problem with messenger itself but nobody else i know has this problem. Any ideas?