yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] Vinnipinni:
If you can't reboot into TWRP, try to use vol up + vol down + power. Or adb reboot recovery.
[P8lite Android Development] D1stRU3T0R:
You need to flash v2.1 beta for emui 4...
[P8lite Android Development] XTutorials:
It can boot to TWRP, it can't boot in EMUI back.
[P8lite Android Development] XTutorials:
... I have EMUI 4.1... here screenshot
[P8lite Android Development] D1stRU3T0R:
Vodafone rom or sokkobans or stock? If stock or sok rom, there is glitch, i had it too, but if it's vodafones rom and still fail try with twrp 3.0.2.0
[P8lite Android Development] XTutorials:
It is Vodafone's, I'll try.

Thanks

---------- Post added at 06:18 PM ---------- Previous post was at 05:33 PM ----------

Flashed it with 3.0.2-0. Still same glitch.
[P8lite Android Development] Nasosdem:
Solution found

I tried ESAL V2.1, works fine... But ESAL V2.2 doesn't work with EMUI 4.0.3. So do as followed below!

If your EMUI version is lower than 4.1, download the ESAL V2.1.

If your EMUI version is 4.1, download the ESAL V2.2.
[P8lite Android Development] D1stRU3T0R:
Lol, just read the op's tutorial, it's saying that 2.1 is for emui 4 and 2.2 for emui 4.1
[P8lite Android Development] XTutorials:
Have anyone encountered the same error as mine? Someone told me that there are 2 version of EMUI 4.1 : sokkoban's and vodafone's, and said both are glitched. I don't understand. Why it doesn't work!? Is there a fix? I'm sure it is, many people installed it on emui 4.1, so there should be a glitch fix or another emui 4.1 version.

Thanks
[P8lite Android Development] Vinnipinni:
Nope. Sokobans Version is the newest EU version with added things. It is EMUI 4.0.3 AFAIK.
[P8lite Android Development] XTutorials:
And why v2.2 isn't working on vodafone's if it's the "only" emui 4.1?
[P8lite Android Development] Vinnipinni:
I don't know. Why would you even use Vodafone? It's older, they can spy on you and have full control over your phone. B596 is newer than Vodafone.
[P8lite Android Development] XTutorials:
And it is EMUI 4.1? If not, ESAL V2.1 will work?
[P8lite Android Development] Vinnipinni:
On the vodafone ROM you need 2.2 afaik. At any other, you need 2.1 beta 2. I would suggest you to use either stock B596 or sokobans B596 and then flash ESALv2.1 beta2
[P8lite Android Development] XTutorials:
Done. But i cannot find any 2.1 beta. I found on github just release 2.1
[P8lite Android Development] D1stRU3T0R:
Search on these posts, page 30-40-50,and you will find it ;)
[P8lite Android Development] XTutorials:
Thanks. It is post #360.

https://goo.gl/0hI1Ed -- Here is a link for 2.1 beta 2 to find it easier, for other people like me

---------- Post added at 03:39 PM ---------- Previous post was at 02:51 PM ----------

I flashed esal V2.1 beta 2 on rooted emui 4.0.3 b596. The flash was instant, and after I boot I found out that I lost root acces and flashing a new root in TWRP 3.1.0-1 doesn't solve nothing. I done something wrong?

Thanks

---------- Post added at 03:45 PM ---------- Previous post was at 03:39 PM ----------

Solved the problem, but now I see I have no intelliplug governor. What is the best governor for maximum performance?

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

Solved the problem, but now I see I have no intelliplug governor. What is the best governor for maximum performance?

Sorry for duplicates. The android chrome version of xda is not that good
[P8lite Android Development] D1stRU3T0R:
1. You didn't lost root, you just need to reboot a few times with different method

2. For me, intelliplug never dissapeared, strange

3. Performance governor is the best for performance

4.This is why I use opera on android, I even uninstalled stock browser along with many apps(sms, music, video etc)
[P8lite Android Development] XTutorials:
Thanks man, I am dumb, intelliplug was not a cpu governor, was a CPU hotplug. 3: Well if the benchmark scores are lower with 300-500, 1000 in antutu, means "performance improvement", then... . And I put everything in "performance" on Kernel Adiutor, cpu governor-- performance, intelliplug governor-- performance, z-ram: 1000mb, and other things that should improve performace. But for me even in stock kernel if I would set cpu governor to performance I would've get 200-300 points decrease than optdemand in geekbench. This is just my device's problem? I don't think so, I read other replies too and people said their performance is degrading too. Or maybe all we don't set things up to get performance improvements, I don't know.
[P8lite Android Development] Nasosdem:
It says

"* Updated GPU drivers to be compatible with EMUI 4.1.

* Added Intelliplug hotplugging driver.

* Improved GPU performance."

Do you see anywhere the OP claiming that V2.2 is compatible only with EMUI 4.1 and for older EMUI version to use V2.1? I don't.
[P8lite Android Development] D1stRU3T0R:
Yes, that is more than enough, but if you want you can search in these pages, somewhere HE said, for those who can't get it, that esal 2.1 is for emui 4 and esal 2.2 is for emui 4.1...
[P8lite Android Development] zaszas:
What i'm supposed to do in this case?
[P8lite Android Development] Vinnipinni:
You are using the wrong file. Go some posts back, there is a link for the right version. 2.1 beta 2 for EMUI 4.0 and ESAL 2.2 for EMUI 4.1
[P8lite Android Development] keikari:
Download kernel itself instead of sourcecode zip. On donwload link click releases on top left-ish corner.
[P8lite Android Development] Axel85:
Just a quick question. I have a p8 lite with an hardware problem that cause a freeze when I turn off the screen and put the phone flat on a desk. It's for sure related to CPU because I can prevent it by installing sod killer app that prevent the phone to sleep or go to doze . Is it possible with this kernel to rise the minimum frequency or to overvolt some cores or the whole CPU? Is it possible to disable the little core of the CPU?

I ask because it would be useful to debug my hardware problem . I'm a technician , I just tried to factory reset ,reflash ,ota , safe mode . One user of this forum has the exact same problem as mine, and deep searching through internet I found some others. Aside from this the smartphone is perfect like new ,had this problem 3 days after purchase and refused from repair for water damage which after inspection has not even a minimal trace inside. With the mentioned app is running without any issue, only causing a little battery drain
[P8lite Android Development] IAmLemby:
Try kernel auditor... U might find something useful in that app...
[P8lite Android Development] RizwanH20:
[MENTION=7354786]XePeleato[/MENTION] just a silly question and a request

Can I turn on both hotplugs...Intelliplug and Thunder plug at same time ?

Would you please make an Esal V 2.1 with only Intelliplug and not Thunderplug ?

Using kernel auditor is bad....it turns off the last 4 cores

Really sorry if it's too much ?

Already happy with this kernel
[P8lite Android Development] IAmLemby:
No u cant. It will end in World War 3
[P8lite Android Development] Giuseppe300715:
Can I install it in a modified rom?

I have a Huawei p8 lite (Ale-L21)
[P8lite Android Development] RizwanH20:
Yes
[P8lite Android Development] Giuseppe300715:
I can not install it ... I have the roI can not install it ... I have the rom omin
[P8lite Android Development] RizwanH20:
NOW YOU ARE TELLING THIS.....Just tell before doing that which ROM you have....My context was almost every EMUI Rom....LOL

---------- Post added at 01:50 PM ---------- Previous post was at 01:49 PM ----------

And that isn't a modified ROM that is a whole new OS
[P8lite Android Development] RichardSauer:
Sry, but which rom i must have. I have actually the rom from sokkoban B598, can i use this ?
[P8lite Android Development] D1stRU3T0R:
Don't use it, it will lower the performance of you're phone...wait for the next update
[P8lite Android Development] RichardSauer:
NOT Use the Kernel ?

I search what which battery life makes better my life is very bad :-C
[P8lite Android Development] D1stRU3T0R:
[MENTION=7354786]XePeleato[/MENTION] how is the new kernel? 3.10.105? Latest GPU drivers?
[P8lite Android Development] XePeleato:
Unfinished, that's why I haven't posted it yet, as always...

I don't know what you mean with 'latest GPU drivers', we can only use the GPU drivers compatible with Huawei's userspace driver.
[P8lite Android Development] D1stRU3T0R:
Can we get an OTA?

Forget about that, i just want some more gpu power... Vulkan api support would be my dream xd... Latest kernel 3.10.105?
[P8lite Android Development] XePeleato:
Do you mean an ETA? Not really.

Even if this GPU had Vulkan support, it's still limited by hardware, it's from 2012 and yes, it will be 3.10.105.

Sincerely, updating a few kernel patches won't alter performance (that's why those are patches, nothing critical). The only thing that can help a bit is overclocking the GPU but I think that I have already explained that
[P8lite Android Development] D1stRU3T0R:
Damn, yes, I mean ETA (i was thinking 2 mins and not came in mind this word xd)

This GPU won't get Vulkan API support soon, because it need at least opencl 3 (btw, I read somewhere that a kirin 620 phone is getting android nougat, official one... Soo I hope huawei will remaster this phone...)

About patches, that's good, that's why i wanted this kernel, it's containing some patches that I need (related to browser and some games)

Thank you for everything, again!
[P8lite Android Development] Giuseppe300715:
What's the difference with this Kernel with the Huawei Kernel?
[P8lite Android Development] Guysho_2112:
Can I install it on OmniRom? Is it convenient to do so?

Puedo instalarlo en OmniRom? Es conveniente hacerlo?
[P8lite Android Development] Giuseppe300715:
No you can not install on any custom rom. It only works on EMUI
[P8lite Android Development] Guysho_2112:
Ok Thanks!
[P8lite Android Development] PLSBX:
I downloaded .zip, copied to phone, reboot to recovery, tried to install and error.

Something wrong with files inside.
[P8lite Android Development] Vinnipinni:
You downloaded the source.
[P8lite Android Development] PLSBX:
https://gyazo.com/9644fbf7d8ff0b0e62df388136c0d785

Is it source?

I will try to build it :D

EDIT: I just found right version... https://github.com/XePeleato/ALE-L21_ESAL/releases/download/v2.2-4.1/ESAL-v2.2.zip

EDIT2: After install it not going to boot without restoring old boot.

Firmware: ALE-L21C09B584 - something wrong? - Okey, i need 2.1v.
[P8lite Android Development] D1stRU3T0R:
[MENTION=7354786]XePeleato[/MENTION] how is the kernel project doing? I can't wait for it, and build it for the latest rom :d
[P8lite Android Development] IAmLemby:
He bricked his p8 lite completely soo he is waiting for a new mother board rn
[P8lite Android Development] XePeleato:
You'll have to.
[P8lite Android Development] D1stRU3T0R:
I saw that, but i believed that some of the kernel parts be written without having the phone.
[P8lite Android Development] IAmLemby:
Makes sense
[P8lite Android Development] Giuseppe300715:
I have the version Emui 4.0.3 version ESAL2.2 I have to download?
[P8lite Android Development] XTutorials:
Will ESAL 2.3 appear?
[P8lite Android Development] D1stRU3T0R:
Yes, he said that he is building kernel 3.10.105 with oc capabilities, new esal... I can't wait for it ❤️❤️
[P8lite Android Development] XTutorials:
If oc capabilities come to this phone I won't buy a new phone for a long time, hopefully he will release it soon and it will be for EMUI 4.0.3, because 4.1 is just from vodafone and it's slow
[P8lite Android Development] D1stRU3T0R:
Me too, i can't wait to receive this kernel ❤️❤️ I'm checking this forum only for this kernel every hour (and for new cpu/gpu improvements, new official build etc) I will wait others to test the OC, and I will max out the sh#t out of this p8 lite, idk about heat or battery drains...

I feel bad cuz Huawei announced that they abandone p8 lite support, so we won't get updates as fast as we got these years (last months only record time security patches, so they abandoned even earlier :D.. Even android 6 is hard for this)
[P8lite Android Development] XTutorials:
If this phone has OC and custom Nougat that would be amazing.. I heard that Mali450MP4 can be OC'ed up to 700mhz, but I don't know about CPU limits, because it is custom, not like Snap or Mtk.

I have a phone that is OC'ed from 1.3GHz to 2 GHz and it does not heat that much. Every custom kernel and every OC if they're optimized very well baterry does not drain fast and phone doesn't heat that much.

But I'm still mad on Huawei that left back this amazing budget phone, they even released a 2017 version because of how popular was.
[P8lite Android Development] D1stRU3T0R:
650 mhz is the stock for the mali 450mp4, huawei downclocked it soo hard, and for thr cpu, even 1.5 would be amazing... Can't imagine how good this phone will be ?
[P8lite Android Development] zhaozihanzzh:
I think OC to 1.5GHz is possible because Chinese Enhanced version Honor 4X (such as CHE-TL00) has a 1.5GHz Kirin 620 (Balong V8R2).
[P8lite Android Development] catalinutzz:
You can check it trough terminal emulator verifiyng each core current freq.

If you get an error with core 4 5 6 and 7 it means they are not running, so them are not having any frequency.

Just paste that in terminal emulator.

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu5/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu6/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu7/cpufreq/scaling_cur_freq
[P8lite Android Development] XePeleato:
I guess you can, 99% sure, the worst thing that could happen is a bootloop, but taking a backup of the Boot partition with TWRP, you shouldn't have any problem, I am using a similar version (Android 6 of course).

Actually, at the 2nd screenshot (removed it from the quote to save space) there are 5 cores enabled.
[P8lite Android Development] mr_sjs:
This was the output...
[P8lite Android Development] XePeleato:
Then there are just 4 cores running, Hotplugging will improve at the next release.
[P8lite Android Development] mr_sjs:
Had this on "stock" kernel to.... Have to say battery is amazing! Looking at 6hrs+ sot on ondemand
[P8lite Android Development] Lemon476:
I'm sorry for the question, I'm not so expert at this but, how do I use the cpu governors? I mean where can I find it? Thank you!
[P8lite Android Development] Firicel69:
use kernel adiutor from playstore
[P8lite Android Development] donjamal:
Hi.. is twrp enough or need to be rooted to use this? How's battery ? Thx :)

Tapatalkkal küldve az én ALE-L21 eszközömről
[P8lite Android Development] XePeleato:
Hi, you just need TWRP, people report that battery life improves when changing to another governor, I'd love to know what you think about it!
[P8lite Android Development] VladHD:
the p8 lite uses only 4 cores in daily usage(videos,images,browsing etc)

the other 4 cores are used only in gaming mode, it's a smart mode for saving battery in daily usage, it's not a bug.
[P8lite Android Development] XePeleato:
V2.1 is out! Check the OP, the link and changelog are there!
[P8lite Android Development] DStyl3:
Hey First of all thank you for developing for this device, keep Up the good work ^^

I'm a Little bit afraid that i cant Take Advantage of your work, I tried to Change some settings in Kernel Auditor, but it seems like there aren't any changes at all.

Goveneur Performance should be working, right?
[P8lite Android Development] XePeleato:
Hey, yes, every governor should work. Could you please describe your issue? That way I may be able to fix it.
[P8lite Android Development] DStyl3:
As i can say from playing a Little bit with the Kernel, things improved. The issue i mentioned earlier wasnt really a issue, i just realized that now, over- and underclocking might just Not be possible now, isnt it? ^^

Besides that, i can say for sure that Sim detecting speeded up, almost instant after Boot i've got the Signal.

Doing a long Term test now, testing battery life.

Again, Thank you very much :good:
[P8lite Android Development] :
I hope this kernel is now good enough to use a daily driver. I will be testing for the next couple of days. Thanks [MENTION=7354786]XePeleato[/MENTION] for all your hard work
[P8lite Android Development] godoy.rafa:
Does it work for ALE-UL00, with Kirin 620 chipset?
[P8lite Android Development] XePeleato:
Yes it does!
[P8lite Android Development] Lemon476:
When I flash the custom kernel on the phone it gets stuck in bootloop.

How do I install it in the right way?
[P8lite Android Development] :
Over and underclocking is generally not makeable on devices with emui.
[P8lite Android Development] XePeleato:
What Android version are you on? What EMUI version? Have you installed ESAL v2.1? Why device have you installed it on? That should help to determine what happens.
[P8lite Android Development] D1stRU3T0R:
If stock have 1.5,we can OC even to 1.6-1.7, with voltage changes... Aaaahhh, I'm dying, can't wait for this
[P8lite Android Development] Kostyan_nsk:
No, 1.5 will be the limit. If will be at all...
[P8lite Android Development] zhaozihanzzh:
I saw a result in Chinese benchmark LuDaShi. It's an Honor 4C with 3.8GHz Kirin 620!! Its benchmark even higher than Huawei Mate 9. I can't believe it.
[P8lite Android Development] XTutorials:
That would be AMAZING. But right now developers need to analyze device's voltage because if there is a overvolt the CPU is fried. I'm not sure if 4X and P8L have same voltages.
[P8lite Android Development] D1stRU3T0R:
Wow, can you give a link? I guess we can achieve the same results with a good refrigerator if you know what I mean ??? nwm, i still believe we will have better oc than 1.5 GHz, huawei is known for their huge downclocks
[P8lite Android Development] XTutorials:
WHAT THE ACTUAL ****!? THAT IS 1,2 GHz even faster than my full computer CPU. I NEED TO SEE SCREENSHOTS, PLEASE!
[P8lite Android Development] XePeleato:
Please stop speculating and hyping, are you trying to get me to notice you? Yeah the notifications arrive I am not blind.
[P8lite Android Development] Kostyan_nsk:
And don't believe in it. It's a fake. :D:D:D

Huawei have hided low level code regarding freq/voltage cpu management from kernel into separate prebuilt binary image. It's in partition "mcuimage".

So all you can do is not overclocking actually, better call it unlocking additional 1500MHz frequency which do exist in this image.

And it's pretty tricky task to find necessary bytes in RAM to patch them...
[P8lite Android Development] XTutorials:
:( , sad that it could be fake, but yea, I could not belive a 120$ phone to have 3,8 GHz
[P8lite Android Development] XePeleato:
Quite right, although whenever the kernel boots, it remains as the only responsible of the hardware, and the kernel has no connection with mcuimage, so it can be done as shown here, this is a screenshot of an overclocked Honor 8.

As you can see the LITTLE cores have been overclocked to 2GHz.
[P8lite Android Development] :
Hmm interesting, battery drain is somewhat faster ? also I don't feel the need the actual need of overclock honor 8 might be great for cm i can't tell
[P8lite Android Development] Giuseppe300715:
Has anyone tested the kernel on emui 4.0.3?
[P8lite Android Development] D1stRU3T0R:
Yes, it will make you're phone even worse... (3 guy tested afaik, and they all experienced lower scores, which is normal)
[P8lite Android Development] XTutorials:
For sure, with 2.1 beta I get 25k in antutu...
[P8lite Android Development] Kostyan_nsk:
Wrong. If you hadn't find where kernel interacts with mcuimage, it does not mean that it does not do it. ;)

Take a look at directories drivers/hisi/pm/ and drivers/hisi/mailbox/hi6xxx_mailbox/ (for P8 Lite).

Actually, I don't see OC, I just see added freq number in kernel. That's what I have done firstly. Kernel was reporting that it successfully switching to new freq, but there wasn't real performance gain. So in fact, cpu wasn't really switching to this freq because it wasn't allowed in mcuimage. In the same manner you can make 4000MHz instead of 2000MHz, but there won't be any profit.

P.S. Maybe for Kirin950 you can really enable this freq for little cores because big cores has this freq too, dunno, I wasn't digging in this way. But I dont't see any sense to OC little cores, and this trick will not work for big cores and for Kirin620 too.
[P8lite Android Development] Vinnipinni:
There is also this HWPowerGenie or however it's called. Switching freqs won't do anything, unless you uninstall that app. it has full control over the cores.
[P8lite Android Development] D1stRU3T0R:
Or change its name...
[P8lite Android Development] Zeuss92:
can I use this kernel on Lineage 13 by installing through TWRP?
[P8lite Android Development] D1stRU3T0R:
No
[P8lite Android Development] Zeuss92:
bummer :(
[P8lite Android Development] Enrico Vialli:
flashed v2.2 version, but it gets to emui recovery only....im on B896 firmware..any way to fix this?
[P8lite Android Development] Zeuss92:
are u meaning that u are stuck on boot? If yes, flash a clean boot partition
[P8lite Android Development] Enrico Vialli:
did that....thanks, is this kernel works with this firmware B896?
[P8lite Android Development] D1stRU3T0R:
Yes, but don't use it, it will slow down you're phone...
[P8lite Android Development] Enrico Vialli:
can't even use it...the phone reboots back into emui recovery when trying to boot into android
[P8lite Android Development] Vinnipinni:
Its Your. You're = You are. Please. I am sorry, but this is not acceptable.

It will slow down your phone.

I kinda feel bad, but I also feel great. Please don't make this mistake again. I know, that English is not the mother language for Most users, mine neither. But this mistake annoys me a lot. I hope I didn't insult you and I hope you learn from your mistakes.
[P8lite Android Development] D1stRU3T0R:
Hi

I know about that rule, but I often make this wrong decision to write "you're" instead of "your"... I really try to fix this problem, but I'm not even paying attention when I'm writing those words :D

Ty
[P8lite Android Development] Enrico Vialli:
decided to use sokoban's rom + esal V2.1

just curious, how did Xe get his 3D score up to 3224 in antutu?? I'm at performance setting but mine is lower :confused:
[P8lite Android Development] D1stRU3T0R:
As we said, this kernel is for old roms... Even newer stock roms have better kernel.. Install latest [MENTION=5218324]persona78[/MENTION] B600 rom and you'll be fine... Btw, you can have even better performance on newer stock kernel than on ESAL.
[P8lite Android Development] Enrico Vialli:
I see! might try that later :good: ;)
[P8lite Android Development] D1stRU3T0R:
[MENTION=7354786]XePeleato[/MENTION] how is the work going? Can we see the light of the ElementalX kernel? Only thing I want is to be 3.10.105 and to have OC settings :) Oh, and build it for B600, and with latest driver from everything, if posibble
[P8lite Android Development] XePeleato:
ElementalX? This is ESAL not ElementalX and it will never be.

As you know my device doesn't work, 80$ (I haven't seen anything cheaper) is not a price that I am willing to pay right now so whenever my phone works again I'll release a new version, that's all I can say by now.

About including the 'latest drivers', yeah, I am using the latest kernel source released, I don't know if that's what you mean.
[P8lite Android Development] matt4321:
Please keep this on topic and refrain from discussing the buying of replacement phones/parts.

Forum moderator,

Matt