yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 00day:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

​

- Kernel upstream 3.18.132

- KCAL

- GPU OC ( 744Mhz )

- Tuned GPU frequencies table

- CPU OC ( 2,4Ghz )

- CPU Governors: alucard, nightmare, elementalx, smartmax, lionfish, darkness, impulse, wheatley, blu_active, nebula, despair, interactive, conservativex, conservative, onemand, userspace, powersave, bioschock, lionheart, performance

- I/O Schedulers: noop, deadline, cfq, bfq, fiops, sio, fifo, sioplus, tripndroid, vr, zen

- TCP: westwood, reno, bic, cubic, highspeed, hybia, htcp, vegas, scalable, lp, yeah, ilinois

- Thermal Simple

- tuned thermal configuration

- Compiled using GCC 8.0 and Ubertc 8

- Adreno idler

- Arch Power

- Gentle fair sleepers

- Boeffla Wakelock Blocker

- USB Fastcharge

- Several subsystems converted to use power efficient workqueues

​

Download

Active AOSP PIE HMP ( Should also work on aosp oreo roms )

mirror

If you are experiencing crashes during games/benchmarks lower GPU frequency in kernel aduitor

744Mhz - max OC

724Mhz - high OC

654Mhz - stock frequency

INSTALLATION:

Boot to recovery

Flash kernel zip

Reboot

Yay! You've installed the kernel

​

1) Q: Is overclock safe?

A: I didn't touch voltage so it should be

2) Q: How can i get more battery life or performance?

A: Play around with cpu governors and frequencies

3) Q: I'm having random reboots, freezes, crashed

A: Lower your GPU frequency

4) Q: Are you Planning to support MIUI?

A: Yes, miui support will come in the future however right now miui is UNSUPPORTED

5) Q: Could you include feature x,y and z in your kernel please?

A: If i find it useful then yes

6) Q: The kernel is f*cking up my battery! Plz...

A: Stop right there. The Kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone. If verified the clocks are always online and on the max clock, then it'll checked out what's happen. Anyway logs are necessary.

XDA:DevDB Information

[Kernel][3.18.132] Active Kernel, Kernel for the Xiaomi Mi 5s Plus

Contributors

00day

Source Code: https://github.com/00day0/idle_kernel_xiaomi_msm8996

Kernel Special Features:

Version Information

Status: Testing

Created 2019-03-06

Last Updated 2019-03-06
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 00day:
​

Special thanks to

Jonas Cardoso - for many ideas especially permissive script and init tweaks

Hlcpereira - for some ideas

nathanchance - kernel upstream

franciscofranco - many optimizations

osm0sis - AnyKernel2

LuK1337 and Mi5Devs - for making this possible

Source code:

https://github.com/00day0/idle_kernel_xiaomi_msm8996/tree/idle-pie-oc

​

If you want feel free to donate via PayPal https://www.paypal.me/00day0
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yoshidaharu:
Only pie support?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 00day:
It also should work on Oreo roms
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Fahripradityo16:
Cool, I'm gonna try this kernel on Bootlegger rom
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 00day:
Bootleggers doesn't support any hmp kernel
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yucastanharo:
Don't know if it's related but the whatsapp audio bug in Syberian has increased. =/
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] trutta:
hello, i have installed one Kernel from Jonas Cordoso. What is the right way to install this kernel? Dirty Flash?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] maniakjabuek:
What cpu&gpu governors combo you find best for performance and battery life?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 00day:
Dirty flash your current rom

Then flash this kernel
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 2220209876:
Thanks for releasing the kernel for 5s plus

By the way, will you continue to update the Mi 5s Plus rom in the future?

Because seeing your signature written to "Mi 5s Plus - RIP"
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] ddrulze:
does it support stock miui 10 rom based on oreo 8.0 ?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yoshidaharu:
"4) Q: Are you Planning to support MIUI?

A: Yes, miui support will come in the future however right now miui is UNSUPPORTED"

Did you read that Q&A ? lol
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] kanarya5193:
root

i want to root bootlegger rom.i was try magisk and supersu and ı cant flash root.what can ı do?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] John Cruz:
It works but sadly it doesn't work on FGO so i'll try to use an custom kernel if it'll work on FGO for now i'll stick with the stock kernel.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yoshidaharu:
In this case, I'm facing too in princess re:connect, is always detect root even use hide magisk option. Simply, just delete folder patch on zip. Then re-flash your rom include this kernel, you need to clean install.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] John Cruz:
I've actually did an fresh install there is no os on my phone and flashed los,gapps,active kernel and lastly magisk. So you mean that after I've flashed the rom I'll need to redo it again to work?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yoshidaharu:
Did you Hide Magisk Manager before? If the problem still there, just delete patch folder on active kernel zip. Then clean install.

Wipe all (system, data, cache) and data( type yes) in twrp, then flash the rom, firmware, rom, gapps, active kernel and magisk.

After boot up try to hide FGO or other japan games, if still detect, try to Hide Magisk Manager then clear data FGO apps, then run again.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] NatriumLink:
I'll try it again some time since I'm testing Resurrection Remix for few days. Btw what rom do you use or recommend?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yoshidaharu:
For now I'm using Miuipro v9.5.2 (with floppy kernel), but for based AOSP i would recommend for ViperOS (Nougat withot cs kernel) or Havoc (Pie with cs kernel).
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] NatriumLink:
I'll go for Havoc for now then next will be ViperOS. I'll pass on miui temporarily but if I still can't get the performance and battery efficiency on other roms then I'll try to use miuipro. And also thanks for helping.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] John Cruz:
And also do I really need to flash firmware for the custom kernel to work on with magisk hide? If it's really necessary then where can I download the firmware?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] NatriumLink:
Need recommendations on what governor to use and frequency to set.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
The gpu overclock really pays. i can play pubg in hd graphics 1080 p 40 fps without any lag whatsoever. But it overheats easier (obviously).
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Cath97:
support for f2fs?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] F-Cup-Chan:
android 10 support?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] deviangel:
The link for EAS in web is broken and direct to the Bootleggers ROM, i need it for EAS...thx be4

---------- Post added at 10:18 AM ---------- Previous post was at 10:17 AM ----------

If use booleggers 10 it is already included
[Google Pixel 2 XL Questions & Answers] last_nooby:
Hi folk, so I've something strange: when I'm on voice call (make or receive) my network change from 4G to H/H+ and internet doesn't work. When call finishes, network go back to 4G and I'm able again to surf internet.

I called my mobile company, Vodafone IT and they told me it's a phone problem (they don't use VoIP) so I contacted Google assistance but since my phone is magisked they can't help me.

Any idea?
[Google Pixel 2 XL Questions & Answers] BabelHuber:
This is a normal behavior and has nothing to do with your phone or Magisk: If your carrier does not support VoIP, the phone has to switch to 3G or even 2G to make the phone call. After the call has ended, it switches back to LTE.

I know that this can be a PITA, especially when you are supposed to take part in a Skype or Webex meeting with screen sharing and you are sitting in a hotel with bad WIFI. Then you use the phone as WIFI hotspot. As soon as you call in, your web meeting is unreliable.

Been there, done that. There is no way around this, the only thing which works for me is to take part in the call via my notebook instead of calling in via the phone. Then LTE stays - as long as nobody calls you :)
[Google Pixel 2 XL Questions & Answers] last_nooby:
[MENTION=4850077]BabelHuber[/MENTION] thank you for your answer.

But why this happens?

Why isn't possible to have call and 4G/LTE at same time?
[Google Pixel 2 XL Questions & Answers] BabelHuber:
Because the LTE standard simply does not support voice calls. :p

Hence if you don't have VoIP, the phone has to switch to 2G or 3G. The alternative would be not being able to perform voice calls at all!
[Huawei Mate 20 X Questions & Answers] wpkwolfseye:
In the settings I have seen the section BACKUP & RESTORE. In there, Backups can be done on external drives. And among other things, it says there can be shared folders from for example a NAS. Problem is, I dont find any shared folders although i have a NAS from Synology running with a lot of shared folders. However when I search in that setting, it doesnt show any NAS or folder. Why is that ?
[Huawei Mate 20 X Questions & Answers] gothikserpent:
I use my shared folders to backup my phone and it's really convenient.

Try accessing your shared folders with the built in file explorer to make sure you can communicate with your NAS.

Steps :

1 - Connect your phone to your local wifi

2 - Launch file explorer

3 - Select Network neighborhood and you should see your shared folders

If it still doesn't work then you should probably have a look at your NAS settings.
[LG G6 Guides, News, & Discussion] badmaan:
Oof. ?
[LG G6 Guides, News, & Discussion] runningnak3d:
Just an FYI that is just a REALLY rough outline. Lots of little steps to be added. I have had to reset and start over a couple of times because I messed up.

Bottom line though, no matter how detailed I make this post, the potential for a brick is way out there. This will be by far the most complicated root procedure I have published yet. Thank you LG (and Qualcomm) for being such utter d*ck heads.

-- Brian
[LG G6 Guides, News, & Discussion] Dr. Furet:
Will this be working for h873 too? Just wondering
[LG G6 Guides, News, & Discussion] runningnak3d:
Yes. The H873 was the first device tested. That is the only model that is absolutely KNOWN to work on. It is still a shot in the dark for all other models although I don't see why it won't work (except for MAYBE the H870 and H870DS -- those will probably require either a donor H870, or at the very least a custom kernel).

Anyway. After much frustration and aggravation, the first part is done -- temp root:

# whoami
root
# uptime
18:17:21 up 5 min, 0 users, load average: 5.96, 3.76, 1.63
# id
uid=0(root) gid=0(root) groups=0(root) context=u:r:vold:s0

Now on to perm root....

-- Brian
[LG G6 Guides, News, & Discussion] Gerilac:
What about 870S version? It is dual sim also.

Послато са LG-H870S уз помоћ Тапатока
[LG G6 Guides, News, & Discussion] Dr. Furet:
Perfect!! I'm happy to know that! Thanks foe the quick responce! Keep up the good work :)
[LG G6 Guides, News, & Discussion] Blackperalta:
I hope this works for the h870 as well, I was so disappointed when I discovered that this phone can't be rooted or even unlocked, at least now there is a light at the end of the tunnel. (I just hope that it isn't a train?)
[LG G6 Guides, News, & Discussion] engMTW:
Will test on other G6es once the post is up.
[LG G6 Guides, News, & Discussion] 9bestenbier:
I'll follow this thread. Hope it works on the H870.
[LG G6 Guides, News, & Discussion] runningnak3d:
Just a heads up. I had to take some time out to make some of the tools that will be used user friendly. Hell I got tripped up TWICE and I (at least I think ;) ) know what I am doing.

So, I finished the rewrite, but still have some polish to do, and then I can try again from start to finish.

I know you guys are ready to try it -- but trust me -- you WANT me to take this extra time.

-- Brian
[LG G6 Guides, News, & Discussion] Arif.Hameed:
What about ARB1 devices?
[LG G6 Guides, News, & Discussion] jthein1989:
[MENTION=3167089]runningnak3d[/MENTION]. You are the man. Do you have a PayPal? I'd like to buy you a beer or two.
[LG G6 Guides, News, & Discussion] runningnak3d:
Thanks dude. My PayPal donation email is in my profile.

-- Brian
[LG G6 Guides, News, & Discussion] 9bestenbier:
Hi Brian

I just wanted to ask why the H870 would require a custom kernel to unlock the bootloader?

Also, if this method works with my H870 would it be safe to flash a custom ROM?
[LG G6 Guides, News, & Discussion] crumbling9999:
Because not all G6 are the same, and the root process involves frankensteining vulnerable parts from different firmware build. Even the V20 which are nearly identical hardware wise require a custom kernel to get rid of the on-boot screen static, due to using aboot from an engineering US996.
[LG G6 Guides, News, & Discussion] runningnak3d:
It may because you would have a US997 aboot, and that can be device dependent. However, it can usually be overcome with a few kernel tweaks.

-- Brian
[LG G6 Guides, News, & Discussion] 9bestenbier:
I don't really understand since I'm still a noob lol

But I have the South African H870 which I assumed have the exact same hardware as the EU version.

Also, I saw a custom kernel for the H870 so maybe that would work?
[LG G6 Guides, News, & Discussion] JeOZ:
Will there be problem for those H871 converted to H873?
[LG G6 Guides, News, & Discussion] Silver Wx:
Yes but the author have some personal problem actually :(
[LG G6 Guides, News, & Discussion] Zryxeon:
Oh.. ?

Makes sense why he wasn't as active recently.

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

Can you send screenshots?

I don't have Telegram...
[LG G6 Guides, News, & Discussion] blackhopes:
Hi every one !!

My phone is LG G6 H870S Dual Sim , and i want to ROOT my phone but lgdeveloper website say me that yor phones bootloader cant be unlocked

How i can root my phone ????

Can anybody help me ??????
[LG G6 Guides, News, & Discussion] Tinyshy:
I'm sorry but your device isn't officially supported by LG for bootloader unlocking and third party solutions aren't quite working yet. The dev who was working on this thread has called it quits after a tragic family incident so as of this moment there isn't much you can do (besides maybe pledge to the bounty thread to pull someone new into working on this?). in the meantime check out the debloating threads and try out the non root options for a faster device overall if that's what you're after like most g6 users seem to be
[LG G6 Guides, News, & Discussion] iamcubeman:
I have an non-unlockable US997.ocl, will this work for me to install a custom ROM?
[LG G6 Guides, News, & Discussion] Carlos2200:
Your best bet is to install the Canadian rom like i did. Not only will you get updated to Oreo but tethering is unlocked as well.
[LG G6 Guides, News, & Discussion] Riadhasanmitul:
I need a video tutorial for understanding this.please make a video.?????

:crying:
[LG G6 Guides, News, & Discussion] rahanasi:
please share link download tool
[LG G6 Guides, News, & Discussion] region05:
I did the same for g600l and successfully installed custom firmware according to the instructions for h872, but there is one problem the mobile network is not active and the same thing happened when switching to h870 h873 ... if you solved it, you’re the bootloader available for Korean and by the way, where are the links to I can’t see the files?
[LG G6 Guides, News, & Discussion] Arif.Hameed:
You mean you unlocked the bootloader of Korean G6 by this method?
[LG G6 Guides, News, & Discussion] region05:
Yes, and installing custom firmware ... but the mobile network is not available I don’t know why and how to solve it
[LG G6 Guides, News, & Discussion] Arif.Hameed:
Can you post pics of your phone model and root?
[LG G6 Guides, News, & Discussion] patato21:
The Korean model is way different that all the rest. For one, it comes with the Quad DAC chip, and the WiFi chip is different too. You could try to flash just system, boot, and modem partitions in LGUP or extract them and manually flash them either in TWRP or using dd commands.
[LG G6 Guides, News, & Discussion] renguer0:
It's real or fake?
[LG G6 Guides, News, & Discussion] sayefchamp:
[MENTION=3167089]runningnak3d[/MENTION] any progress...??
[LG G6 Guides, News, & Discussion] sayefchamp:
???

---------- Post added at 10:40 AM ---------- Previous post was at 10:36 AM ----------

What happened brian...???

You just got inactive after this massage.....
[LG G6 Guides, News, & Discussion] Salote:
How to Root
[LG G6 Guides, News, & Discussion] dioadi:
[MENTION=3167089]runningnak3d[/MENTION] since you are back to LG, any plan to continue this?
[LG G6 Guides, News, & Discussion] Rafeh:
[MENTION=3167089]runningnak3d[/MENTION] this guy achieved root on LG H873, don't know how he did it as he is not sharing any info yet.

https://www.youtube.com/watch?v=2Z7UNviNt7M&t=45s
[LG G6 Guides, News, & Discussion] sayefchamp:
Yeah.....

I saw that too.....

Come on [MENTION=3167089]runningnak3d[/MENTION].... We are waiting.....
[LG G6 Guides, News, & Discussion] Muadh09:
Just because he is back to LG doesnt mean he will try achieving root for the g6
[LG G6 Guides, News, & Discussion] wassname:
Maybe they used CVE-2019-2215, it seems that if you don't update your device then the LG-G6 is vulnerable. Here's is a POC for pixel (and S9) devices that install magisk. To make it work we still need to work out the offsets for the LG-G6 which apparently isn't hard, but I don't know where to start.

https://github.com/kangtastic/cve-2019-2215

https://github.com/grant-h/qu1ckr00t
[LG G6 Guides, News, & Discussion] antintin:
There's a lg v20 thread where they developed it a lot more. They already made an app that should work on g6, but the guy who made the GitHub got scared for some reason because he thought it was illegal. You guys can ask some other people for the app
[LG G6 Guides, News, & Discussion] wassname:
Great I'll do that! Looks like this is the thread https://xdaforums.com/showpost.php?p=80702567&postcount=167

EDIT: Seems to work, just need to work out what to do with root shell now

Kernel version 3.18.71

Build number: OPR1170623.023

Software version: v20e-TWN-XX

Android security patch level: 1 Sep 2018

Model numer: LG-H870DS

EDIT2: Yes it worked I got adaway working. You can just install the apk

There is a chance this will brick you device. The author of the app said he had one expected reboot, but it's worked OK for me and others so far. Some people got boots or hangs. More info: https://xdaforums.com/showpost.php?p=80702567&postcount=167.

It will probobly only work for Oero roms with security patch 1 Sep or below. But it seems ok to try. If it fails you will get a log like this: https://xdaforums.com/showpost.php?p=80694861&postcount=163

Rough instructions:

try adaway, it doesn't work as you don't have root

Get the app from https://xdaforums.com/showpost.php?p=80702567&postcount=167. (Specifically go to https://repo.or.cz/cve2019-2215-3.18.git you can click on "zip" then download, unzip the downloaded zip, and find `app-release.apk` in the release folder.)

we now install the zip. For example you can use `adb install app-release.apk` or some other method.

open the new app, it's called SU98, and choose "install" to install the root. I wouldn't choose the extra option "install on boot", untill you have have tested a reboot with it installed. Note that google play protect may also remove the app unless you disable it.

You are now rooted but also vunruble because all apps have root :eek:, not to worry you can always uninstall it or add a whitelist. Let's add a whitelist

Now we want to add a whitelist so only approved apps can use root:

open a root shell, e.g. `adb shell` then `su`

in the adb root shell create a root whitelist with command `echo org.adaway >> /data/local/tmp/su98-whitelist.txt` (for detailed instructions see https://xdaforums.com/showpost.php?p=80684883&postcount=15)

now try adaway which requires root... it works :)

titanium backup, greenify, lumencf, etc all work if added to the whitelist. Works after a reboot too if using the app with the reboot option :) Thanks to the original dev

My whitelist:
[LG G6 Guides, News, & Discussion] antintin:
Did you get the app? There was an app developed previously but I deleted it sadly
[LG G6 Guides, News, & Discussion] wassname:
Yeah it's on that ilikenwf's mirror with all the source code https://repo.or.cz/cve2019-2215-3.18.git you can click on "zip" then download, unzip, and find it in the release folder.

Now I'm trying to find out which block is the boot.img, let me know if anyone has tips.

EDIT: found it, but there's no point since we have a locked bootloader. Oh well at least we have root

1|lucye:/ $ ls -altr /dev/block/platform/soc/*/by-name/boot
lrwxrwxrwx 1 root root 15 2018-02-04 13:00 /dev/block/platform/soc/624000.ufshc/by-name/boot -> /dev/block/sde1
[LG G6 Guides, News, & Discussion] Arak0n:
Hm.. just to clarify.. does this work on Pie (30a) for the other models too?

All I really ever need root for is to install an ad blocker HOST file (doesn't even need to be updated all the time). Everything else I can pass on, and this would make using banking apps etc without having to battle the root detection at every update much easier.
[LG G6 Guides, News, & Discussion] wassname:
Not sure what Pie (30a) is. I would imagine it would work on all lg g6 models that haven't got the latest security updates (since Fri, Sep 27, 2019, the date of CVE-2019-2215). For example I had "Android security patch level: 1 Sep 2018".

But we don't know that for sure, all we know is it worked on mine. Chances are good though.

EDIT: Oh I see it's a version of android. You should be able google and find out which versions of android are vulnerable to CVE-2019-2215. It seems to rely on Linux kernel version in a certain range and for a certain android version. I specifically was waiting for a generalized android exploit to come out, so I avoided updating my software once I heard of one.

You can also look on the threads I link where people try it on a wide variety of devices.

---------- Post added at 08:28 AM ---------- Previous post was at 08:10 AM ----------

Now if anyone wants to go further, and go from root to unlocked bootloader it seems we would need to follow a process like this https://forums.oneplus.com/threads/...ithout-using-fastboot-wiping-userdata.442988/ which would risk bricking the device

It is possible that we can get an unlocked bootloader from an unlocked lg g6 device and flash that onto aboot with dd? Or does the bootloader check the devices serial number?

I wonder if we can use engineering aboot from the v20, I've seen runningnak3d mention it works for the G6 I think (https://xdaforums.com/showpost.php?p=74811592&postcount=156)

Nope they tried that here and bricked a device: https://xdaforums.com/lg-g6/how-to/root-models-dont-t3848460/post77806572#post77806572
[LG G6 Guides, News, & Discussion] MexHH:
Nice work on that !!

I am quite tempted to try it but it will trigger SafetyNet right ?

On V20h-TWN-XX, 8.0.0, 1 April 2019 security patch
[LG G6 Guides, News, & Discussion] nazem:
Has anyone tried this on the sprint g6? If not then if someone can simplify the steps for me a little i'm willing to try.