yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] Leks2:
Temp

Hello! Help me please. I need your help. The phone honor 4c and it broke the temperature sensor of the battery and now it does not seem right temperature, at +65 it turns off permanently, although the battery is cold, tried to put another battery, but the same thing, after that does not charge the battery writes overheating you have to climb into the folder / Class / power_supply / battery / temp and remove the permission to read the file and so I decided to flash another kernel, found the kernel on your site, help me in the kernel find the file fix the maximum temperature or even remove it, so that it always was good, thanks for the answer
[P8lite Android Development] HoldMySoul69:
I nāve problems, first, Meta info or something like that is not found, sec, can I flash via TWRP?
[P8lite Android Development] keikari:
Did you downloaded source code or actual release. Top left-ish corner of the dowload site click releases.
[P8lite Android Development] HoldMySoul69:
Source code only!

---------- Post added at 06:39 PM ---------- Previous post was at 06:13 PM ----------

My Phone doesn't boot up! Why?
[P8lite Android Development] keikari:
You propably downloaded wrong version.

2.2 = emui 4.1.x

2.1 = emui 4.0.x

Or you installed root in system mode.
[P8lite Android Development] HoldMySoul69:
I have 4.0.1 emu I and downloaded right vers. But I have problem

su

root@hwALE-H:/ # cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq

sh: cat: /sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq: No such file or directory 1|root@hwALE-H:/ #

I tried to see if my all CPU's working and I get this error
[P8lite Android Development] HoldMySoul69:
They don't want to work
[P8lite Android Development] keikari:
Sry, can't really help with that.
[P8lite Android Development] D1stRU3T0R:
Wait what? We have emui 4 and emui 4.0.3.. How you habe 4.0.1? Typo?

---------- Post added at 08:24 PM ---------- Previous post was at 08:24 PM ----------

Try activating them with kernel auditor, even if it show in auditor that aren't active, activate them...
[P8lite Android Development] HoldMySoul69:
I have 4.0.3 sorry!:D and they cannot ne activated, I just can't
[P8lite Android Development] bandos23:
Hi guys. Will work with omnirom?
[P8lite Android Development] Giuseppe300715:
Difference between PMC and smartmax governors?
[P8lite Android Development] Enrico Vialli:
PMC = Performance May Cry, for max battery saving if not mistaken,

Smartmax, use google,
[P8lite Android Development] D1stRU3T0R:
[MENTION=7354786]XePeleato[/MENTION] do you have an ideea why it's doing this? I have gcc even 2 times, 1 in orebuild/gcc/linux folder and one in root...
[P8lite Android Development] XePeleato:
You have to change the path in the shell script.
[P8lite Android Development] D1stRU3T0R:
English pls xd i mean, can you repeat it in newbie language?

In build.sh script? I changed there, now makefile errors

Olrak2's kernel was working, but too outdated. Wifi and sim wasn't working
[P8lite Android Development] D1stRU3T0R:
...

(fml, wrong picture the first one, wtf?)
[P8lite Android Development] XePeleato:
Yeah, just change the path, I don't know what instruction to give to change one line of text!
[P8lite Android Development] D1stRU3T0R:
Did that ;) now fixed, ty!
[P8lite Android Development] D1stRU3T0R:
Rly niga?
[P8lite Android Development] D1stRU3T0R:
Sorry for multiple posts.
[P8lite Android Development] XePeleato:
Are you able to READ?
[P8lite Android Development] D1stRU3T0R:
Maybe I'm wrong, but that isn't a folder... :D when i compiled olrak2s kernel was almost (i think) the same folder... And it wasn't there... There isn't out folder.
[P8lite Android Development] XePeleato:
Because with Olrak's kernel you weren't using build.sh, and if you actually have a look inside, you'll see that it creates the out folder. Since you are using Ubuntu desktop you can just go to the root directory and search in Nautilus 'Image'.
[P8lite Android Development] D1stRU3T0R:
Iiiii think i used build.sh even there... But nwm, will check it, thanks!

---------- Post added at 04:52 PM ---------- Previous post was at 04:19 PM ----------

@XePeleato compiled this: https://github.com/XePeleato/ALE-L21_ESAL(hope that was for emui 4.1) and wasnt booting, stuck at pre-boot logo... now downloading 2.1, will compile it and test. If its boot and its working good, i will upstream it :)

booted with compiled 2.1 :) finally im ready to upstream a kernel, one of my dream come true <3

To 3.10.98 everything was fine.. 99 got 4 skipped gpu drivers, now i compile to test it, hope i won't block myself here
[P8lite Android Development] D1stRU3T0R:
Any ideeas? What's wrong with that sub thing? [MENTION=7354786]XePeleato[/MENTION]
[P8lite Android Development] XePeleato:
Who knows? How are we supposed to know with a screenshot? Probably by editing the kernel you broke something unintentionally.

The error is up in the log, so no idea, anyway now you are on you own because you edited it so it isn't really on topic nor related to my kernel posted here.
[P8lite Android Development] e-cl:
Good day, gentlemen.

If sombody could help a little. I'm trying to compile kernel from huawei EMUI 4.1 sources, but in the end i'm getting this:

Image.gz make[2]: *** No rule to make target 'arch/arm64/boot/dts/hi6210-sft.dtb', needed by 'arch/arm64/boot/Image.gz-dtb'. Stop. /Makefile:78: recipe for target 'Image.gz-dtb' failed make[1]: *** [Image.gz-dtb] Error 2

That's if i use

make ARCH=arm64 O=../out mrproper

make ARCH=arm64 O=../out hisi_hi6210sft_defconfig

make ARCH=arm64 O=../out Image.gz-dtb

But if i use

make ARCH=arm64 mrproper

make ARCH=arm64 hisi_hi6210sft_defconfig

make ARCH=arm64 Image.gz-dtb

then i get this:

LD init/mounts.o

/cam/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-ld: no input files

scripts/Makefile.build:454: recipe for target 'init/mounts.o' failed

make[1]: *** [init/mounts.o] Error 1

Makefile:883: recipe for target 'init' failed

make: *** [init] Error 2

How to deal with this?

Thank you.
[P8lite Android Development] _OBEDDO:
I get the same errors, but no fix
[P8lite Android Development] XePeleato:
Do it specifying the out dir, and instead of using: 'make ARCH=arm64 O=../out Image.gz-dtb' just use 'make ARCH=arm64 O=../out'
[P8lite Android Development] D1stRU3T0R:
I'm having problems too, for ex: nor OpenKirin's stock kernel or esal can't be upstreamed whitout problems (not hunks ones...) bcs it's giving errors at compiling... Even at 3.10.87 lol, both of them, in other news, olraks one can be upstreamed easly, but it's not working (not even whitout upstreams) I gave up, i will wait official sources, Huawei, JUST DO IT.
[P8lite Android Development] allrightlite:
Why should huawei do give out new sources? I think that they want sell new devices to get new money.
[P8lite Android Development] surdu_petru:
I can not agree with you for the simple reason : I already updated the both source kernel relesed from Huawei ( the first one to 3.10.105 ) and the last kernel used on EMUI 4.1 to 3.10.107 , without issues :)
[P8lite Android Development] D1stRU3T0R:
Emui 4.1 is official one, i could upstream that whitout problem, but can't use it, so i didn't continued... The first one... Idk, i got upstream error at 98-99 and compile error even at 87...

Despre care source kernel vorbești? Că nuprea avem emui 4 kernel. (adică eh... Ăla de pe github?)

Btw, why don't you release the 105? I would use it for sure.
[P8lite Android Development] e-cl:
Thank you. Ok, split original boot.img, replaced zimage with compiled one, repacked, flashed, and the result is the same as with ESAL kernel - blue screen with honor logo. Very strange. Compiled from official huawei sources for the same build currently installed - cam-tl00c10b212 EMUI 4.1.3. Is it somehow possible to see boot log to get an idea why it is hanging?
[P8lite Android Development] XePeleato:
The kernel logs from the last boot are stored in /sys/fs/pstore/console-ramoops-0
[P8lite Android Development] e-cl:
That is most helpful, thank you very much.
[P8lite Android Development] D1stRU3T0R:
[MENTION=7354786]XePeleato[/MENTION] i questioned already, but you didn't answered. On your github we can found Esal 2.1 (not beta, so it doesn't have your gpu improvements) and esal 2.2 which has gpu improvements but it's not booting, you know. Do you still have the Esal 2.1 beta 2(or 1, if it has the gpu patch) source files?
[P8lite Android Development] XePeleato:
Everything is in github, every single version, the problem is that I didn't add versioning to the commits.

Also, every release boots fine if you follow the instructions.

Lastly, there's no GPU improvement, (how many times do I have to explain it...) just this https://github.com/XePeleato/ALE-L21_ESAL/commit/8f3b499b67bd82319fb5498128f66216388a54a3 and it isn't mine
[P8lite Android Development] D1stRU3T0R:
What instructions :D ?

What is the difference between KIW&CHM&Cherry&ALE, Android 6.0, EMUI4.0 and Che2&CHM&CHE&ALE开源代码（Android 6.0， EMUI4.0，kernel，中国区）kernels ? Che2etc wasn't really working, like olraks kernel(no sim, wifi, bt even without upstream, simply download-build.sh)
[P8lite Android Development] XePeleato:
Check the OP for the instructions (if you build it yourself and mess up, it's not a problem in my end).

I honestly haven't run a diff over those kernels, but you could do it to see by yourself.
[P8lite Android Development] D1stRU3T0R:
Sorry, I'm talking about the source kernels, not your one.. I know that 2.1 is for emui 4 and 2.2 for emui 4.1
[P8lite Android Development] allrightlite:
EMUI 4.1, not 4.4
[P8lite Android Development] salembream:
If you accept suggestions,

Instead of spending such a big time trying to enhance this phone, you can find any extra job and buy a very strong phone in less time and effort

#off_topic
[P8lite Android Development] D1stRU3T0R:
If we think like that, we wouldn't have devs. I won't change this phone only bcs it has a **** gpu. I really start learning developing this kind of things.
[P8lite Android Development] XePeleato:
Graphic composition isn't actually something a beginner can easily understand... Why don't you start with something easier?
[P8lite Android Development] D1stRU3T0R:
I'm starting with upstreams, I'm not doing anything to the graphics... Only -p patch 3.10.6-87 xd and fixing hunks, etcetc.
[P8lite Android Development] Adi5:
working good in b604 ale-l21? What are the bugs? improve game performance?How battery live?Better than stock kernel?
[P8lite Android Development] D1stRU3T0R:
Not anymore... This kernel was originally made for old B586 etc... It's still working, but even stock kernel is better now :/
[P8lite Android Development] Adi5:
thanks guy! :)
[P8lite Android Development] StybsonEk:
I tried to flash zip but it told me that this zip is unflashable.
[P8lite Android Development] keikari:
Were you flashing source-code or kernel itself. Check releases in download page if you were flashing source code.
[P8lite Android Development] StybsonEk:
It's ok now. TWRP flashed it, but when i want to reboot system then it always show me TWRP screen. What now? I can't flash my rom because it says that "/cache" (Invalid argument). What to do?:(

Ok, don't worry about me, i flashed my rom.
[P8lite Android Development] wmdesign:
hi, can install this kernel on a p8 lite whit slim rom 6?

thanks!!!
[P8lite Android Development] Adi5:
No
[P8lite Android Development] panchovix:
[MENTION=7354786]XePeleato[/MENTION] Probre tu kernel ahora, y quiero decir que los juegos son más rápidos, pero de todos modos siento que los governos, no se, raros, siento que cambiandolos no hace mucha diferencia entre ellos, excepto que en performance, los cores estan a 1.2Ghz, pero estan constantemente siendo activados y desactivados, por lo cual en los juegos puedes tener unos frames constantes, digase 40, y derrepente se "freezea" por unos milisegundos/segundo, bajando a 1 fps y despues vuelve a seguir, pero esto todo el rato, hasta ahora por ejemplo, pasa más en governos más alejados de performance, con performance es el que pasa menos pero sigue pasando

Tested your new kernel now, and i want to say the games are faster, anyways i feel the governos, i dont know, strange, i feel changing them arent much a difference between them, except that on performance governos cpu's are on 1.2Ghz, but they are constantly being enabled and disabled, so on games happens that the frames are good but it has like "lags" or something like that, i mean, it can get stuck a few milisecs and then keep playing at the same frames

i dont know if i exlained well

EDITO: y te agrego que pasa también en el uso general, lo siento bastante más "pegado"/"lento" que tu kernel anterior / And i add that happens the same on general use, except on performance governor

EDIT2: and i think its becuase the 4 visible cores are not always running, diff from stock kernel or Hkernel

EDIT3: edited the UMBRAL CPU on the hotplug, phone now is fast as ****, atleast on performance, optdemand,ondemand, the rest is sort of laggy
[P8lite Android Development] Kostyan_nsk:
It's not because of emui, it's because Huawei had hidden CPU managing code from kernel into separate image (mcuimage.img).

In this way it's hard to OC/UV, but it's possible. For example, your Kirin620 has predefined frequency 1500MHz, but it's just locked.
[P8lite Android Development] panchovix:
[MENTION=6152035]Kostyan_nsk[/MENTION] ah then its a bad thing, because if you do something bad with mcuimage.img, you will be screwed, Source: me, i bricked mcuimage.img partition and the phone wouldnt boot, on recovery or anything, except fastboot, and you cant flash mcuimage.img there, Huawei dont allow it

I recovered my phone thanks to warranty, otherwise i would be with my moto g 2013 lte lol
[P8lite Android Development] Kostyan_nsk:
@panchovix, you're right, this image (like and some others) is signed and thus, cannot be modified. But no one forbids you to hack bytes in RAM on booted device. ;)
[P8lite Android Development] catalinutzz:
[MENTION=7354786]XePeleato[/MENTION]

Hi, i just Flashed the v2 Version trough twrp, i had some issues with the sim card, i had to put the pin like 7-8 times to make it work.

Here c432b575, stock recovery.
[P8lite Android Development] panchovix:
[MENTION=7419288]catalinutzz[/MENTION] i have the Honor 4x, but i installed via fastboot and i had no problems (4x,4c,p8 lite uses the same kernel)
[P8lite Android Development] catalinutzz:
I have another question:

I rebooted the phone and all previous settings on kernel auditor got ****ed up, it's like the app reseted itself, and i had to set it again... Is there a way to fix that?
[P8lite Android Development] XePeleato:
Yes, there's an option called apply on boot, please check it's enabled.
[P8lite Android Development] :
That sounds interesting ?

Also you can flash this image while phone is booted.

You can either use a flash tool for android or a script.sh which will flash it to correct partition

Edit if you come from stock boot you'll get

But just download fastboot image and you can flash it in twrp ?

And yes sim takes a bit longer to recognize
[P8lite Android Development] Lemon476:
I have Android 6.0 Marshmallow on Huawei P8 Lite, Firmware B574, I've flashed via adb the v2 version.
[P8lite Android Development] XePeleato:
I guess that the bootloop is gone reflashing your boot partition. Can you try the TWRP method?
[P8lite Android Development] Lemon476:
I could try but I have a problem with Twrp. The 3.0.2 version isn't working on my phone so I have to flash with Twrp 2.8.7. But with this version anything can be flashed. I dont know what to do
[P8lite Android Development] :
Xepelato can you advise people about http://xdaforums.com/showthread.php?p=68552487

Since if you're on stock kernel you'll face this issue with your flashable zip
[P8lite Android Development] XePeleato:
What flashable zip are We talking about? Can you link me to it please?
[P8lite Android Development] :
I rather say its the powergenie which is implanted. The settigs which are written there effect cpu freqs and governor. Since I know you can change it and it should work. I don't say you re wrong but chaging to an aosp based rom would make it easier I guess
[P8lite Android Development] :
This one

21.3 MBESALv2.1.zip.Recovery.zip

https://github.com/XePeleato/ALE-L21_ESAL/releases/download/2.1/ESALv2.1.zip.Recovery.zip
[P8lite Android Development] XePeleato:
I have re-uploaded it, you may note that the file is lighter, could you please try it now?
[P8lite Android Development] mathei:
Question!

This kernel can be installed on Huawei P8 Lite ALE21 single sim? I installed Android 6.0 B575.
[P8lite Android Development] xander33:
Hi,

Apply on boot it'not enough, you need also to protect the app like whatsapp

At least on my phone without that when i made the reboot i loose all the modification
[P8lite Android Development] XePeleato:
I think so, mine is also an ALE 21
[P8lite Android Development] :
Yes now it works coming from stock kernel?
[P8lite Android Development] panchovix:
[MENTION=7354786]XePeleato[/MENTION] can i post your kernel on htcmania? i wanna post it on the 4x/4c forum D:
[P8lite Android Development] XePeleato:
You can do everything you want while you include a link to this thread.

Thanks!
[P8lite Android Development] Dakatar:
Hi everyone! Tell me please, this kernel after flash give root access? I mean, after flashing i can download supersu and use that.?
[P8lite Android Development] :
No , just root with this

http://huaweip8lite.blogspot.de/2016/02/tutorial-root-emui-40-android-60.html?m=1
[P8lite Android Development] mokariem:
Installed via TWRP. Works fine except for taking a while to detect sim.
[P8lite Android Development] catalinutzz:
[MENTION=7354786]XePeleato[/MENTION] maybe its just me,but i can't make phone calls.when i try to call someone the app crashes.
[P8lite Android Development] xander33:
just to inform that on my phone everything it'ok ...

usefull information could be the version of your rom
[P8lite Android Development] Sjamaan:
Strange. I can also make calls without problems.

Do you have by chance Xposed installed?
[P8lite Android Development] fitsuli:
Hi, [MENTION=7354786]XePeleato[/MENTION] , I have two "why" questions about your custom kernel.

First, why is your kernel includes systemless root? Maybe you'd better take it out of kernel?

I think that this is useless s**t (because no one on our devices doesn't use Android Pay or somethink like that, because it isn't useful if you already have non-systemless root, and because some apps (like ES Explorer or AdAway) may not recognize this root).

Second, KSM/UKSM. Why this is enabled? It just use some of CPU and does nothing good for using. Our devices have 2GB of RAM, and always have about 1GB free (that's why this is unnecessary).
[P8lite Android Development] XePeleato:
Hi, first of all, the root option is just at the fastboot option because I need a ramdisk to pack the kernel with and I just had that one, the recovery option doesn't include it, but it's really easy to disable it. About KSM, it was there on EMUI (enabled or disabled, but it was there) and I just wanted to try it out, like everything, if it's good it will stay and if it isn't, it will leave.

Thanks for your feedback!
[P8lite Android Development] catalinutzz:
yes i do,i do also have ale-l21c432b575 as serial number.hope it helps somehow
[P8lite Android Development] xander33:
well i have xposed too

so the only difference with mine is the rom, im on ale-l21c432b564 dual sim
[P8lite Android Development] Beveridge106:
Hi if you have exposed with some modules active it will do that eg. Lucky patcher module so just disable all module restart the try adding them on one by one till the phone app cashes remember to restart the phone every time you add a new module

Hope it helps
[P8lite Android Development] keikari:
Are you sure u haven't accidentally deleted soemthing important with huawei bloatware like Vmall app.
[P8lite Android Development] catalinutzz:
Nope,i haven't deleted anything with huawei bloatware.
[P8lite Android Development] XePeleato:
If you flash the stock kernel back, are you able to call again?
[P8lite Android Development] :
This problem is caused by xposed framework, not the kernel. A reboot usually fixeS it.
[P8lite Android Development] Szabi01:
Installed, working fine so far! I will play with the settings in the next few days, school is getting boring...
[P8lite Android Development] catalinutzz:
Yea,i flashed the stock one and phone calls worked again.

EDIT So,i've unchecked all my modules in xposed,rebooted into twrp,flashed the modded kernel.

Now the sim unlocked at the 1st try,and the phone calls works.
[P8lite Android Development] Beveridge106:
As I said its the modules in exposed if you start adding them on one by one and restarting after each one till it stops working then you will know what one is doing it I know that lucky patcher module dose it hope it helps
[P8lite Android Development] Szabi01:
Any update yet? I can't get enough of this kernel. 3Dmark showed ~6000 points with this kernel, and ~3000 with stock.
[P8lite Android Development] :
Only issue I noticed (might not be related to kernel) was one random reboot.

Also could you make performance the default kernel setting optdemand gives lag issues over time
[P8lite Android Development] panchovix:
[MENTION=4435346]LastStandingDroid[/MENTION] i think optdemand is by default from stock kernel, so in the moment you flash this kernel it will keep at optdemand
[P8lite Android Development] :
Lucky patcher is not the culprit here, Xposed is. At least on stock MM. The bug has a nasty habit of returning unexpectedly.
[P8lite Android Development] BigD18t:
Tried twice downloading the .zip file but when i flash it gives me an error saying zip file is corrupt.
[P8lite Android Development] Beveridge106:
I had the bug myself on stock mm removed the lucky patcher module and all returned to normal of course that just my experience the main thing is it seems to be fixed for the guy with the problem
[P8lite Android Development] :
Temporarily or permanent? Note: A reboot also fixes it but just temporarily. Of course, any solution here needs days of testing.
[P8lite Android Development] kè95:
otg work?
[P8lite Android Development] Beveridge106:
Permanently fixed

for the last month I have had no issuse. just reactivated the module to test and the phone app crashes again ofcourse only my experience
[P8lite Android Development] Sp3cTeR:
No, it doesn`t .

It's a ROM problem that I hope will be solved.
[P8lite Android Development] :
Strange games has never lagged on stock kernel but on this it has no optdemand ?
[P8lite Android Development] godoy.rafa:
As soon as I wait the 14 days to unlock my bootloader, I will test this!
[P8lite Android Development] spkahal:
I face similar issues.

Optdemand is integraded and standard governor.

After reboot it is always turned back to lagging optdemand.

A have to change to performance governor manually.

With optdemand I can't scroll trough listings at online shops. It's too mich lagging.

With performance it's nearly stock smooth.

I think that the kernel manager can't write permanently data to system
[P8lite Android Development] :
This kernel rocks! Videos on YouTube look sooo much better. It runs smoother plus it gives you tweaking options, I use Kernel Adiutor. And the best is Immense battery saving in idle mode. Such a joy!
[P8lite Android Development] Online-cw:
How many screen on time do all here have?

Gesendet von meinem ALE-L21 mit Tapatalk
[P8lite Android Development] Prostokuche:
I get around 4 hours and something with wifi, mobile data, GPS, max brightness, and regular usage like messenger, XDA labs, yoanime (although when I watch too much I end up wasting half of the battery on 2 hours on screen time).
[P8lite Android Development] XePeleato:
I think I found why the governor is set to optdemand at every restart, let me fix it and upload a new version.
[P8lite Android Development] xander33:
Just for info

I haven't this issue since I have protected kernel auditor and put it on auto start.
[P8lite Android Development] Sjamaan:
Me too.

Enviado desde mi ALE-L21 mediante Tapatalk