yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] dominj97:
This is most probably already being used...

I think the most important strings you have provided are:

# update cpuset now that processors are up
# Foreground should contain all cores
[B]write /dev/cpuset/foreground/cpus 0-7[/B]
# Add foreground/boost cpuset, it is used for app launches,
# and maybe other high priority tasks in the future.
# It's to be set to whatever cores should be used
# for short term high-priority tasks.
[B]write /dev/cpuset/foreground/boost/cpus 0-7[/B]
#background contains a small subset (generally one little core)
[B]write /dev/cpuset/background/cpus 0[/B]
# add system-background cpuset, a new cpuset for system services
# that should not run on larger cores
# system-background is for system tasks that should only run on
# little cores, not on bigs to be used only by init
[B]write /dev/cpuset/system-background/cpus 0-4[/B]

I have found this in omni source here:

https://github.com/OpenKirin/android_device_huawei_alice/blob/mm/rootdir/etc/init.hi6210sft.power.rc

# Update foreground and background cpusets
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 2
write /dev/cpuset/system-background/cpus 4-7

I have tried to find this in [MENTION=7354786]XePeleato[/MENTION] los 14.1 source (there is no openkirin device tree for nougat available yet) but I couldn't... so maybe it's not being used (but I'm pretty sure it is...).

I'm not a dev and I don't have enough technical knowledge this is just logical thinking :)
[MENTION=2335078]surdu_petru[/MENTION] will know the answer.
[P8lite Android Development] Tomekb530:
[MENTION=5363220]dominj97[/MENTION] you need to unpack boot.img and check if this lines exist in init.hikey.rc file

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] aureliomilitao:
No possible fix the bugs ????
[P8lite Android Development] zhaozihanzzh:
I think it is possible to fix CPU bug. But it may be difficult to fix HwComposer.
[P8lite Android Development] D1stRU3T0R:
Not really, they abandoned this/these project(s) ...
[P8lite Android Development] Bombobux:
Really they abandoned this??
[P8lite Android Development] dominj97:
It's only your opinion. There is no post where they said this.

https://xdaforums.com/showpost.php?p=72574241&postcount=677

https://xdaforums.com/showpost.php?p=72574804&postcount=686

https://xdaforums.com/showpost.php?p=72705557&postcount=1167
[P8lite Android Development] K4CZP3R:
-- delete me --
[P8lite Android Development] allrightlite:
Wow, that's kewl. Possible on LOS14.1, too?
[P8lite Android Development] Giuseppe300715:
The CPU problem with these settings being resolved?
[P8lite Android Development] Tomekb530:
Nah, they are trying to fix this but if they make i will change from emui

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] D1stRU3T0R:
They work on honor 8 mate...
[P8lite Android Development] K4CZP3R:
Somehow fixed cpu issue like in los14.1. Problem was related with ramdisk. Here github page to download fixed boot.img: (screenshots are there) https://github.com/K4CZP3R/p8lite-cpufix/releases/tag/1.1

Thanks for idea! [MENTION=5363220]dominj97[/MENTION]

---------- Post added at 02:54 PM ---------- Previous post was at 02:48 PM ----------

Warning: It's stock image without Magisk installed. So you need first uninstall magisk then install this image

Here I'm playing Real Racing 3 with no lags on RROS: https://drive.google.com/open?id=0B-5Wqqs1Gx_od0xNZHhoRVg5X1k
[P8lite Android Development] Bombobux:
Is it tested?
[P8lite Android Development] K4CZP3R:
Post #765 is tested : )
[P8lite Android Development] Bombobux:
Ok i will test it now
[P8lite Android Development] Vika__:
On week used RR. With your patch i got 31448 points on Antutu. On clean install it could be more, but this is more than good!:good:
[P8lite Android Development] Mirdeusz:
Holy sh*t you are a god man!

Even on emui is 31kView attachment 4193121

Wysłane z mojego UNKNOWN przy użyciu Tapatalka
[P8lite Android Development] Mirdeusz:
Holy sh*t you are a god man!

Even on emui is 31k

Wysłane z mojego UNKNOWN przy użyciu Tapatalka
[P8lite Android Development] salembream:
I had an video playback issues on this rom, almost all videos ,

Will the CPU fix resolve this issue ?
[P8lite Android Development] Tomekb530:
<3 Man

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] K4CZP3R:
It should, not 720p60 videos but others yes
[P8lite Android Development] :
Great work! Does OpenKirin know it already? This will help a lot with nougat ROMs! Thanks man.
[P8lite Android Development] Bombobux:
Awesome! Thanks for this man!:)
[P8lite Android Development] Giuseppe300715:
Great work compliments !! iNow we need to find out how to solve deep sleep.
[P8lite Android Development] Bombobux:
I can feel my phone less overheating

And in Kernel adiutor i can see first core on only 16 % usage which was 100% before flashing fixed boot.img
[P8lite Android Development] Mirdeusz:
But deepsleep is working with 2 apps.

Force doze, Ds battery saver.
[P8lite Android Development] Geekmv1:
It's a huge step. Maybe this will motivate our devs to continue with this
[P8lite Android Development] ParanoidNemo:
I can simply reinstall magisk after or I cannot use root if flashing these?
[P8lite Android Development] K4CZP3R:
Yes, you can install it after replacing boot.img!
[P8lite Android Development] peligropowers:
https://github.com/K4CZP3R/p8lite-cpufix/releases/tag/1.0

From other nougat ROM...maybe it will be the solution.

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Android Development] Amiriboy1234:
if you enable magisk , would apps like snapchat and all work? because it hides the root so i was wondering
[P8lite Android Development] K4CZP3R:
Yes with magisk hide it'll work
[P8lite Android Development] Amiriboy1234:
thanks :)
[P8lite Android Development] zhaozihanzzh:
Yes, kacperes00 said he had already told XePeleato and surdu_petru: https://xdaforums.com/p8lite/development/xepeleato-s-lineageos-14-1-t3542120/post72800213

:)
[P8lite Android Development] K4CZP3R:
Yup, and they responded already!
[P8lite Android Development] Vinnipinni:
Don't know if you wanna try to fix more issues, but If yes here are some things that you should notice:

Deep Sleep issue Seems to be related to the Google localisation feature. You know, you can choose to scan with you internet connection. If Gapps isnt flashed, the issue won't appear.

Camera: there are some apps with a working camera, Snapchat is working if you press ones to activate the filters. I'm not 100% sure, but I think [MENTION=4883214]haky 86[/MENTION] fixed it on his Android N AOSP ROM, development build can be found in the General Section. Don't know if he provided sources though. EDIT: The fix applies for Android 6, but because Video Recording isn't working there either, it might be possible to apply it on 7 too.

I think those two are the biggest issues, there are some minor ones, but they are not that important.
[P8lite Android Development] DarkJoker360:
Tomorrow I' ll fix 720p video bugs
[P8lite Android Development] IAmLemby:
Hows youtube?
[P8lite Android Development] :
Last question :D are you getting any FCs / heavy lags when switching or multitasking apps?
[P8lite Android Development] Bartoshevsky:
I think that youtube on this is working the best of others OpenKirin roms on this phone simply because 720p60fps is working, but 60 fps is pretty laggy cause cpu problem.

---------- Post added at 07:27 PM ---------- Previous post was at 07:27 PM ----------

Nah no lags at all, everything works super fast.
[P8lite Android Development] Geekmv1:
Viper4android works there?
[P8lite Android Development] Bartoshevsky:
I can test it for you but i dont know how to install this (i tried on omni before and somehow i ****ed it up and doesnt works there for me). If you can tell me how to do it :D
[P8lite Android Development] Dakatar:
Not working, pity:(

but thank for trying!
[P8lite Android Development] Vinnipinni:
Install the Viper4AndroidFX app and install the Magisk Module from the selection.
[P8lite Android Development] MarJK102:
A good piece of work :) Unfortunately double tap to wake does not work.
[P8lite Android Development] Bartoshevsky:
Okay Viper4Android works pretty good. Sound quality is nice. Tested on few metal tracks on Blackstar Fly 3.
[P8lite Android Development] Geekmv1:
Now I have good reasons to try it. Downloading now
[P8lite Android Development] EzioTheDeadPoet:
Does this ROM support the SD card as main storage for installing apps and so on ?
[P8lite Android Development] Giuseppe300715:
Does Rom work well for gaming?
[P8lite Android Development] Vinnipinni:
[MENTION=2335078]surdu_petru[/MENTION] I think I know why this happens. After booting the phone, it will soft reboot again. So you have to be fast when you want to unlock the SIM. I tried this several times now. If I wait until it soft reboots without unlocking the SIM, it will not show up again and I need to full reboot to use it again. If I type in the PIN before the soft reboot, everything works fine. I suggest everyone to unlock the SIM and then disable the PIN for the time being.
[P8lite Android Development] Dakatar:
My sim card not lock. Btw, in LOS 13 sim work fine.
[P8lite Android Development] _OBEDDO:
There is a problemi with downloaded apps, if i use pixel launcher as main, it doesn't show me my downloaded apps; viceversa with trebuchet as main.
[P8lite Android Development] Vinnipinni:
Do you have SIngle or Dual SIM? It might be because your cust partition is broken. There are two ways, you either flash EMUI or you restore my cust TWRP backup. But this will only work if you have ALE-L21 Dual SIM.
[P8lite Android Development] Dakatar:
I'm tryed wipe cust and not (before i flash EMUI 4.0.3), it not help. I have dual sim. So, we'll try with your cust:)
[P8lite Android Development] Vinnipinni:
Here you Go!

If this doesnt work, the problem might be, that the SIM wasn't locked. You could try to put it into another phone, put a PIN and then try again. But you probably should reflash your ROM, because you installed the Fix that enables both Sims and that will probably cause problems with calling ans stuff
[P8lite Android Development] :
Hey, what do I have to do with that file? I have the same issue like the guy above you. And yes I read the post that you posted but didn't get what I have to do with that file.
[P8lite Android Development] Dakatar:
U must push that (first unzip) in TWRP/Backup/@yourserialnumber@/ and restore in TWRP.
[P8lite Android Development] JpegXguy:
Glad to see activity again. This change has given hope to the community here it seems :)
[P8lite Android Development] Dylaan01:
Can use the "cpufix_rrn" in los 14.1? Or need to use the other boot in the same Page?

Enviado desde mi ALE-L23 mediante Tapatalk
[P8lite Android Development] zhaozihanzzh:
I think you can't. Maybe you should use the fix for LOS.
[P8lite Android Development] Enrico Vialli:
Deep sleep is working without force doze
[P8lite Android Development] adenurzaman578:
Hello all, how to uninstall magisk?
[P8lite Android Development] Tomekb530:
[MENTION=8199727]adenurzaman578[/MENTION] use uninstaller from magisk thread
[P8lite Android Development] Bombobux:
Flash this file : https://drive.google.com/file/d/0BwLsBwRLqUe4dHQ4ZGowWW1iUDg/view?usp=drivesdk
[P8lite Android Development] Tomekb530:
P8Lite community is awesome, now we need to wait to someone who fix the gps :D
[P8lite Android Development] K4CZP3R:
You need to use los fix at the same github page, or go to rros thread to get download link :)
[P8lite Android Development] DarkJoker360:
I fixed video problems by coping emui codecs in RR. sorry for bad english
[P8lite Android Development] dominj97:
You mean 60fps ?

That's possible because surdu was talking about blobs :)
[P8lite Android Development] Mirdeusz:
Can you tell me how can i do this?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] Amiriboy1234:
Does anybody know if you can pass safety net on magisk?
[P8lite Android Development] Gwozdem:
Enable magisk hide.
[P8lite Android Development] SuperProHacker:
You need to install Magisk Beta v13.0, use UPDATE-UNSU and enable magisk hide :)
[P8lite Android Development] D1stRU3T0R:
Does that work on stock rom?
[P8lite Android Development] karimromsmaker:
can anybody help me? im not good at this stuff but im at omni rom right now and i want to change to the rros 7 rom bacause of this new cpu fix but can somebody tell me all the bugs that are not fixed yet in this rom and how fix the cpu .. should i just flash the files or what to do ..
[P8lite Android Development] Gwozdem:
Everything is in the OP...
[P8lite Android Development] dominj97:
[MENTION=8357980]Lemby[/MENTION]

But community wouldn't be able to make this ROM without devs :p

It was possible because they forgot about something and cpu fix was actually very easy and simple...
[P8lite Android Development] XePeleato:
What's the purpose of this comment? I imagine it's a joke (a mean one) but still, you aren't doing yourself a favor disrespecting Surdu's work.
[P8lite Android Development] K4CZP3R:
Updated cpu fix image; reduced background cpus to 1.

https://github.com/K4CZP3R/p8lite-cpufix/releases/tag/1.3
[P8lite Android Development] Giuseppe300715:
The CPU now works better or has been decommissioned?
[P8lite Android Development] dominj97:
pretty much the same ;)
[P8lite Android Development] JpegXguy:
Trying to set a lock pattern makes the settings app crash. hmm... Using cpu fix v2.

CPU is working very nicely with the fix, as shown by experience and benchmark but thermals and battery are still bad.

I'll try without GApps to see if it's related

UPDATE

: Reinstalled ROM, cpufix, Latest Magisk Beta OpenGApps. Thermals got better over time but I can set a lockscreen and CPU works good. Footej Camera works fine as a camera app except for a bit of stutter in 1080p video. 720 is fine for me :) Conclusion: Can be used as a daily driver, you can customise so much stuff!
[P8lite Android Development] Bombobux:
Bugs? 2nd SIM card not working.

Video recording. But can be solved by downloading Footej Camera from play store.

HWC disabled.
[P8lite Android Development] JpegXguy:
also battery life is bad and thermals too. Also some other minor bugs. In my case if I have GApps I can't set a lockscreen password/pattern because the settings app crashes. One thing is for sure, the CPU performance is consistently good with the fix, better than EMUI in fact (for me), but I cannot use RROS as a daily driver for now. (Man I love these customisation options :( ) Back to EMUI and hoping for these to get fixed. I'm glad to see activity again here :)

UPDATE: Will be using it.
[P8lite Android Development] allrightlite:
You are funny :D I have LOS14.1 with cpu fix and use it as daily driver. And battery life is better as on EMUI (Force Doze and Doze App make it possible).
[P8lite Android Development] JpegXguy:
Indeed The battery life can be improved with these apps. Are your thermals good? How about video recording? I heard the Footej Camera app gives video, but with bad FPS. Maybe I'll test

So, update on that: Footej Camera is actually a nice, clean and simple app. I love it and video up to 720p works no problem. 1080p is a bit stuttery but all good
[P8lite Android Development] Salacue:
Can I make zip file from this img (just zip it), and then install that zip file through TWRP?
[P8lite Android Development] rookie12:
Guys sorry this is off topic bit can you flash boom. Img crust.img etc extracted from update.app using adb with LOCKED bootloader?

If anyone has a stock l23 lollipop B130 recovery. Img pls sent it to me i need it
[P8lite Android Development] Bombobux:
You can install .img file in twrp..
[P8lite Android Development] K4CZP3R:
I added flashable zip to download on github :)
[P8lite Android Development] Clark Joseph Kent:
Enough.

Any more back and forth will result in being addressed. Thread Cleaned.
[P8lite Android Development] Salacue:
Thanks! Let`s try this rom again!
[P8lite Android Development] Bombobux:
How i can install Viper4android? I flashed it but app crashes every time i open it
[P8lite Android Development] K4CZP3R:
You'll need special V4A when you are using Magisk.
[P8lite Android Development] Bombobux:
I installed v4a in magisk modules and it dont seem to work.. i cant see viper app in my app list
[P8lite Android Development] Tomekb530:
Could you provide these files ?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] Vinnipinni:
Yeah, now you just need to install the viper APK.
[P8lite Android Development] Bombobux:
Can you gave me link to the APK? Every APK i try to install is blank (no icon and no name) or broken.

---------- Post added at 09:19 PM ---------- Previous post was at 09:19 PM ----------
[P8lite Android Development] Dylaan01:
You can see this:

https://xdaforums.com/showthread.php?t=3535401

Its a module based in this app

Enviado desde mi ALE-L23 mediante Tapatalk
[P8lite Android Development] Sputnik2001:
Hi guys...for the battery life is there anything Can i do? (Sorry for bad english)
[P8lite Android Development] JpegXguy:
Get the ForceDoze app from the Play Store (or apk if you don't have GApps)
[P8lite Android Development] karimromsmaker:
what is the OP
[P8lite Android Development] karimromsmaker:
LOL my bad thanks, but which rom should i have as a daily driver lineageos 14.1 or rros?
[P8lite Android Development] miststudent2011:
for daily usage try Omni Rom it is more stable and battery drain is less compared to others.
[P8lite Android Development] K4CZP3R:
Tbh omni have the same problem with wifi like rros. When Wi-Fi scanning or just wifi is turned on, phone can't get into deep sleep. So if you just will turn off wifi after using it, you will have deep sleep.
[P8lite Android Development] miststudent2011:
I am having 4C and it is fine even without Wi-Fi scanning turned off. But due to some other reason P8Lite has that problem.
[P8lite Android Development] xander33:
On Omni on developer option check the option "use lollipop dhcp instead marshmallow" and you will have a deep sleep also with wi-fi enable
[P8lite Android Development] Giuseppe300715:
CPU fixing has increased the score and not only ... The 3d test shows less lag than Emui ..
[P8lite Android Development] TheWolfie:
How do i enable sim2? :/
[P8lite Android Development] Giuseppe300715:
It must be enabled by the developers of Rom, but if you have knowledge of the Roma field you can also enable yourself.
[P8lite Android Development] dominj97:
Yep because GPU can work on higher frequency than on emui 4.0 :)

It's a case in all p8 lite customs.
[P8lite Android Development] D1stRU3T0R:
What frequency?
[P8lite Android Development] Giuseppe300715:
Here it is.
[P8lite Android Development] D1stRU3T0R:
I mean the gpu...
[P8lite Android Development] Giuseppe300715:
Where can you see it?
[P8lite Android Development] D1stRU3T0R:
Nowhere, cuz mali is dikhead and we can't easly check specs... But dominij can tell us I guess, he said that it have higher frequency
[P8lite Android Development] kosmitchak:
500mhz, technically mali 450MP4 can work at 700mhz, but you know, huawei always downgrades hardware.
[P8lite Android Development] D1stRU3T0R:
I know, there is a way to unlock the 700mhz? And if emui is running on 500, what settings does the rros have?
[P8lite Android Development] dominj97:
Emui 4.0 is running on 400 :D
[P8lite Android Development] kosmitchak:
It's 500mhz on rros, probably you can't unlock 700mhz bacause p8 lite won't be able to handle this maybe because voltage on motherboard or something IDK.
[P8lite Android Development] D1stRU3T0R:
Not 450? And didn't they said that last roms have 500?sh#t, I'm going to install the 500mhz patch

---------- Post added at 06:53 PM ---------- Previous post was at 06:52 PM ----------

Xe said he will do an overclockable kernel, but sadly he bricked his phone.
[P8lite Android Development] Giuseppe300715:
How can I increase the battery life?
[P8lite Android Development] dominj97:
Turn off wifi scaning and always turn off wifi when you are not connected to any network. This is important because otherwise deepsleep won't work.

Apps that need internet like fb, messenger google now will also make wakelocks and drain battery.

You can also use some third party app like force doze or naptime.
[P8lite Android Development] K4CZP3R:
https://pastebin.com/N2bv3HEc <- GNSS Crash, if this is going be fixed I think GPS is going to work.
[P8lite Android Development] Misiantowski:
Would be great Dude :)
[P8lite Android Development] JpegXguy:
What you're doing here is really cool and we thank you for it :)
[P8lite Android Development] Giuseppe300715:
Great job ... I hope you will also find the problem of deep sleep ...
[P8lite Android Development] salembream:
Edit: fixed it

Anyone having a problem with TWRP after CPU fix ?

Today I can't read internal memory to install ZIPs or IMGs,

i.e that TWRP not mounting data partition

How to solve it ?

Before 2 days

I just uninstalled magisk 12

Flashed CPU fix

Installed magisk 13 beta

Rebooted

Edit: my data partition is in f2fs
[P8lite Android Development] dominj97:
Maybe you have encrypted it?
[P8lite Android Development] salembream:
I figured out that my TWRP was buggy version, cause it was on my full backup for the rom :(

Updated to latest openKirin recovery and it worked
[P8lite Android Development] TheWolfie:
He didnt say he fixed it nor that he will try to fix it.
[P8lite Android Development] baloon dai:
i need it for my samsung j100h
[P8lite Android Development] JpegXguy:
Check the forum for your device mate
[P8lite Android Development] DarkJoker360:
I deleted it, you need codecs of P9 emui 5.0
[P8lite Android Development] dominj97:
You can always copy it from your system folder if you are still using this ROM :)
[P8lite Android Development] TheWolfie:
I doubt that u fixed something.
[P8lite Android Development] dominj97:
Yep, He didn't fix anything :)
[P8lite Android Development] JpegXguy:
I see progress:

https://github.com/hak86/android_device_huawei_hi6210sft/commits/cm-14.1

https://github.com/hak86/android_vendor_huawei_hi6210sft/commits/aosp-7.0
[P8lite Android Development] Bombobux:
SIM 2 dont work for now.
[P8lite Android Development] nicolasf_000:
It means a new build soon?
[P8lite Android Development] luserzero:
Hola amigos hice todo desbloque el bootloader he instale twrp pero no me quiere funcionar la rom solo se queda en el logo de huawein hice un wipe completo antes de intalar la rom tendra algo que ver?
[P8lite Android Development] Bombobux:
English...
[P8lite Android Development] nicolasf_000:
Lo hiciste en un p8 Lite cierto??.....haz un wipe completo, deja el teléfono en blanco e instala la rom, sin instalar las gapps portal ahora
[P8lite Android Development] Clark Joseph Kent:
As per Forum Rules:

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).
[P8lite Android Development] peligropowers:
You need a lot of time to boot.

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Android Development] achmed2:
GPS is working if you install LOS13 and after that install RR without Factory reset. I dont know why...
[P8lite Android Development] khangmjjzz:
I flashed this rom for my p8lite it works great but when I flashed it on My Friend's y6ii it can't turn on the wifi:(( what should I do:(( he's very angry with me ( rom openkirin RR 7.1.2) help me:((
[P8lite Android Development] IneedAbetterUsername:
jesus christ,this rom is for p8 lite!
[P8lite Android Development] Tomekb530:
You sure ? Or gps was locating your ip address, check if you had use only devicen sensor in gps settings

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] Enrico Vialli:
It is clearly stated by OP that this rom is for P8 lite only

go buy a p8 lite for your friend lol
[P8lite Android Development] Bombobux:
Is this rom has full substratum support?
[P8lite Android Development] dominj97:
Yes :)