yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] XePeleato:
So, since the other thread is pretty clogged up, I have decided to create a new one (even tough I know this is going to get even more clogged up...)

So the day has come, since the closed beta I have fixed some bugs and I have (finally) setup the downloads server, it's the right time.

I am not really good writing this kind of posts, you know what you want, and I am too tired to talk about the risks of not being careful flashing, etc...

Installation Instructions

Your device must be updated to EMUI 4.1 !

You should have already installed TWRP 3.1.1-0 !

Format data in TWRP and reboot device again into TWRP ( if you come from stock EMUI 4.1 )

Wipe Factory Reset in TWRP

Flash LOS 14.1 zip and reboot to System

Reboot device in TWRP and install Gapps ( optional )

Install Magisk or SuperSU if you need ROOT ( optional )

Enjoy

Currently Working List

Audio

Camera fully working with Footej Camera ( via PlayStore )

WiFi

BT with a2dp

dual SIM with data network connecting

Lights

Sensors

Off-mode charging

adb & mtp

Internal/External Storage

Flash

Touch-screen

LiveDisplay

Screenrecord

HWC partially

GPS

NFC

DT2W

Currently Not Working

Encryption

SIM without LTE/4G support

Stock camera video recording, please use Footej Camera via PlayStore !

There may be others small issues !

Downloads

lineage-14.1-20171231_141649-UNOFFICIAL-alice.zip md5 : 1078349b8c78652ba1aaf2ed7548d361

Gapps ( recommended version : ARM64 - 7.1 - nano )

Please use always the latest update from Gapps

Misc

If you have a Honor 4X and the rom isn't compatible (it shouldn't be compatible so don't worry) send me a PM (unless you are @panchovix because I already know that he is interested lol), because I need a little group of people to test the adapted 4X version, but that rom will be published in the correct subforum, so please let's keep it tidy.

Please think before you post, I wouldn't like to reach 50 pages within 2 weeks, so if you just want to post "OMG SO HYPED" do it in the other thread or don't do it at all.

P.S: The Github repo will be updated as fast as I can, I understand that some people want to port roms now that we have reached 'certain stability', but I am just one person and my time is limited.

Kernel GPLv2 compliant : android_kernel_huawei_hi6210sft !

This ROM is provided by OpenKirin TEAM (XePeleato, OldDroid, surdu_petru )​

XDA:DevDB Information

LOS 14.1, ROM for the Huawei P8lite/P8 Lite

Contributors

XePeleato, surdu_petru, OldDroid, olrak2

Source Code: https://github.com/OpenKirin

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Android MM (EMUI 4.1)

Based On: LineageOS

Version Information

Status: Stable

Stable Release Date: 2017-10-15

Created 2017-01-21

Last Updated 2017-12-31
[P8lite Android Development] panchovix:
[MENTION=7354786]XePeleato[/MENTION] OMG SO HYPED, ok nope haha, thanks man, finally it is here now on XDA, good luck on the rest (because just watching there are just little bugs, atleast for me), as always i say it to you, Good job! and Thanks for remembering us 4X users!

[MENTION=6543708]MarcoPLs[/MENTION] [MENTION=7649457]Zizo17[/MENTION] [MENTION=7482861]ericotena[/MENTION] [MENTION=5573400]keikari[/MENTION] good luck here, we have someone that want to help us :) send him a PM, and if you know more people using the 4X (i know there are more, probably you that are you reading this :I), PM him (don't comment here, he doesn't want to inundate the thread)

And for you P8 lite users that can get the rom working already, you are lucky! enjoy the rom, for me it is stable for daily use in my case
[P8lite Android Development] Z3NG3R1:
it's the same rom from the other thread? but on a zip file?

what are the requirements to safely flash this trough twrp?
[P8lite Android Development] panchovix:
[MENTION=6719049]Z3NG3R1[/MENTION] this is different one from htcmania, this one has a lot of less bugs, and yes on a zip file

i think you should know how to flash roms at this moment, make a backup and flash it, if something goes wrong restore lol (flashing custom roms has no requeriments, except for having OBV unlocked bootloader and twrp)
[P8lite Android Development] De EmperoR:
Oh wow! So, those are the only bugs? Everything else is up and running? Cool. I'll try this. I can't say thanks enough. :) [MENTION=7354786]XePeleato[/MENTION] the site isn't loading??
[P8lite Android Development] Z3NG3R1:
[MENTION=4551537]panchovix[/MENTION] yeah, I know how to backup and flash a ROM...but what I was saying is that in the toher post, the were saying that you needed a different twrp recovery bro...so that's why I asked...but I'll install it right away then! I'm so happy that this phone is getting custom roms!!! :D
[P8lite Android Development] panchovix:
[MENTION=6719049]Z3NG3R1[/MENTION] oh i see, reading the update binary it seems you need that twrp itself recognizes your phone as hi6210sft (this depends on TWRP) and ALE-L21 (this depends of build.prop), so if you have both you are good
[P8lite Android Development] Z3NG3R1:
[MENTION=4551537]panchovix[/MENTION] well...I think I have both..my twrp version is 3.0.2.0 and my phone is ALE-21 converted to dual sim..do you think I'm good?
[P8lite Android Development] ignacio8790:
Not working Website :crying:

Not working website :crying:
[P8lite Android Development] nicolasf_000:
WoW!! Great work thanks!

The Play store is working?
[P8lite Android Development] panchovix:
seems the link died or it is saturated, atleast i got the download before the site went down, weird
[P8lite Android Development] Mirdeusz:
So, if you get the ear speaker working i will flash it on my Honor 4c, and try it for daily use :)
[P8lite Android Development] Slariax:
link error?

link no funciona?
[P8lite Android Development] Iceman66:
Please report bugs to Xepeleato only with a logcat file. There are free Apps for logcats available in playstore. The Dev can only fix bugs if he knows what went wrong.
[P8lite Android Development] speedster_no1:
http://lineageos.org/Update-and-Build-Prep/

We will NOT be shipping root baked into the ROM.

Root will be a downloadable zip based install similar to gapps installation (only need to flash it once).

Home builders that want to bake su back into the ROM can use the command ‘export WITH_SU=true’ prior to building.
[P8lite Android Development] Lemon476:
Link is not working
[P8lite Android Development] SuperProHacker:
Is there ota updates yet?
[P8lite Android Development] xdk78:
Btw https://stats.lineageos.org/

84. hi6210sft 163
[P8lite Android Development] RizwanH20:
Can you please upload it somewhere
[P8lite Android Development] XePeleato:
The link is fixed, the backend server died in the middle of the night, it should be fine now.
[P8lite Android Development] juanche007:
+1 I have Gplay mini CHC-U01
[P8lite Android Development] giusedeppa:
SIM doesn't work in the linked build of lineage os
[P8lite Android Development] Yoshikage_Kira:
What do you mean?
[P8lite Android Development] Santho07:
[MENTION=7354786]XePeleato[/MENTION]

Are you planning to release any update? Not impatient, just asking! Is the rom going to be stable someday? ? Thanks btw! ?
[P8lite Android Development] XePeleato:
Yes, but not today lol

Unfortunately I don't have the answer to that question
[P8lite Android Development] Vika__:
Could weird voices on call be issued by low performance since it only uses 1 core?
[P8lite Android Development] Szabi01:
What can be the problem here? I'm using dualbootpatcher, any help appreciated! Thanks
[P8lite Android Development] p8tgames:
Awesome work! However i think that you should take the Network performance bug more inportant than NFC (for example) Sry for bad english (cause i live in germany lol)
[P8lite Android Development] allrightlite:
Yes, german people don't speak english very well :D
[P8lite Android Development] p8tgames:
U need to wait. It is normal. Do NOT close the APP while doing so. And i think this is the wrong Thread for that Question lol.
[P8lite Android Development] juanche007:
Sorry, I just wanted to say that what happens to your device happens to my device.

I use the google translator, I'm spanish
[P8lite Android Development] Szabi01:
I left the app open and the screen on for the whole night, nothing happened. Asked in the correct thread too, but it's pretty dead.
[P8lite Android Development] Z3NG3R1:
Why you dont have an answer to that question? if you plan not to update the ROM, why did you release it then? I dont understand this developers...too much talking and then f*** the others...

Good luck then ;)
[P8lite Android Development] Gwozdem:
Why don't you get out of here and never come back if you don't understand that building a Rom without any sources ain't such a piece of cake...
[P8lite Android Development] papsi177:
You have to know..thats no one schould here! Most of devs working on roms along. This is really hard job and take very much time! If rom will be released ONLY, you have to say hundred times thank you! If dont like it, spend you time and make it youself! If you can..

Because of people like you , i dont have a wish to update release CM13 for Honor 7..
[P8lite Android Development] Z3NG3R1:
i miss understood me...I believe that's very hard to make a custom ROM, but when you say a answer like that, what do you expect? that the developer doesn't care and it doesn't put too much effort...I'm very thankfull that he released the ROM, but common...leaving it now?

Im sorry again if I missunderstood...
[P8lite Android Development] XePeleato:
That's so unfair.

I'll copy the question for you:

Now concentrate and think for a second; Do you really, like, really think that I know if I am going to be able to know if in the future I am going to be able to fix every bug? Please I'd like to know your opinion!
[P8lite Android Development] myclarity:
Typical Tuga thought. Where the hell did he talk too much? He promised a beta, and the beta was released. You are in no position to demand anything.

He doesn't get any money for building the ROM, he does it in his free time, is he your servant, does he have any obligations to deliver ANYTHING? You should be really thankful, because most Kirin-Powered ROMs come from the work of this SOLE guy, most times without any help. I talked on /r/jailbreak about this yesterday, the XDA community is becoming pure trash, no respect for DEVs and demanding ETA's and 1-click tools to everything. I feel ashamed of sharing the same nationality as you.
[P8lite Android Development] dominj97:
Tell me where he said that he is aborting it? He has his own life. You are not paying him for this (he even doesn't takes donations). He is doing this in his free time (mostly on weekends i think) because he likes it. People like you are a cancer of xda forum.
[P8lite Android Development] mbwambo:
Sorry on behalf of him......ur doing a good job... But trust me some of us here we are sick (pschyosis or mood disorder)...... There is no logic on his post and I wonder why he did soo

Mbwambo??
[P8lite Android Development] Szabi01:
Formatted everything but SDCARD, started flashing again...Waiting 30 minutes is enough, or should I wait longer (again) ?
[P8lite Android Development] panchovix:
man why do you talk so much ****? if you don't want to wait, start yourself studying about language programming, then rom compilation and a lot of things more, do it yourself and then talk

do you want that 1 just person works everyday everytime just to make you happy? hell no, even your attitude is **** too, how it is "he doesn't care" WTF, do you think devs only compile all the time? they have a life you know? man i'm mad with comment like these, it seems you guys just want the dev to stop working in these roms (even you're probably one of the reason that the OP waited to released the rom after in this page, to evade **** people like you)

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

@Szabi01 i don't know if this works for you, Xepeleato is working for a rom for us 4X users, and when we install it, it boots like in 2 min or less (the first boot like 2 mins, then like 20 secs?), i would redo and do it again
[P8lite Android Development] Szabi01:
Thanks for suggestion! I'm now flashing back stock system, I can't boot the rom! Maybe some info about making fastboot flashable boot and system.img?
[P8lite Android Development] panchovix:
[MENTION=6998991]Szabi01[/MENTION] i would like to help but i don't know more :( good luck tho
[P8lite Android Development] Szabi01:
Thanks, But IDK what I'm doing wrong.

1, booted into TWRP

2, wiped data(later I wiped everything but SDcard, that didn't work too,)

3, started flashing (Tried to mount system before flash--nothing happened)

4, Stuck at that line for ever...Left it for flashing overnight, nothing happened.
[MENTION=7354786]XePeleato[/MENTION], please, could you write a more detailed install instruction sometime? I don't really want to stress you, so if you'd like, say f*ck off to me, I understand.

Thanks in advance.
[P8lite Android Development] XePeleato:
I wouldn't do that.

Are you using that dualboot app? If you are, I can't give you good advice because I haven't tried it out nor I do know how it works. I'd get in contact with the developer or with someone who got it working using that method.
[P8lite Android Development] panchovix:
[MENTION=6998991]Szabi01[/MENTION] my bad i was confused, you were talking about the dualboot, i was talking about other thing, probably you will need to ask to the autor of the post himself :/
[P8lite Android Development] Szabi01:
[MENTION=4551537]panchovix[/MENTION] [MENTION=7354786]XePeleato[/MENTION]

I'm now talking about TWRP, I couldn't flash it in the dualboot app, so I've tried twrp.

Stuck at that line 4ever:(
[P8lite Android Development] Neraeh:
Thank you [MENTION=7354786]XePeleato[/MENTION] and the others for everything you do for our devices

Maybe if I manage to free some time I will grab the sources and try to help fixing bugs, but I'm pretty overbooked at this time

If I come back to you in a few time with a PM, would you agree to discuss about what you already discovered from these bugs ? I'd be very glad to help instead of lurking around
[P8lite Android Development] powerpaul1:
I have a similar problem as Szabi01, it does not boot after flashing, stuck at boot logo. Maybe the problem is related.
[P8lite Android Development] ignacio8790:
http://hisiliconroms.pw/ not working
[P8lite Android Development] doctorex1:
can any one here make a nandroid backup for this rom and upload it please guys
[P8lite Android Development] spkahal:
You don't want restore any nandroid backup.

There is no guarantee for your phone.

Nandroid is a individual backup for for every phone.

You could destroy your partitions and more.

Normally you can't restore this backup on your phone
[P8lite Android Development] xdk78:
Yes, fact . for me I tried without the backup and after that I had to repartioned my data partition.

Backup is very important. :p
[P8lite Android Development] Justreboot94:
2017.01.22 build. Dual sim working, 2g working, LTE 3G not working. Earspeaker working.
[P8lite Android Development] Zizo17:
You mean this build , aren't you ?
[P8lite Android Development] metonator:
[MENTION=7354786]XePeleato[/MENTION], is possible on this rom (since it's not stock anymore) to enable USB OTG?

Also, if is possible to add "cdrom sysfs entry" inside kernel (just to enable hosting ISO images through 3rd party application called "DriveDroid")?
[P8lite Android Development] XePeleato:
It is impossible to enable a feature that our phone doesn't have, so it isn't.

Why not, that can't be too hard.
[P8lite Android Development] Szabi01:
Phone recognizes the sim card, but no reception at all. What can I do?
[P8lite Android Development] Yoshikage_Kira:
Which sim card tray are you using. 1st or 2nd (from bottom).

1st uses micro sim

2nd uses nano SIM or sdcard.
[P8lite Android Development] Szabi01:
I use micro sim, because I need sd card.
[P8lite Android Development] Justreboot94:
How to root Lineage OS?
[P8lite Android Development] keikari:
Just the basic thing.

Flash superSU.

Should work.

I haven't tested.
[P8lite Android Development] metonator:
As of message above, just flash SuperSU-v2.78.zip (or newer, i've tested that one) and wait for 1 fast bootloop (then it will run normally)
[P8lite Android Development] juanche007:
Use TWRP recovery to flash the last supersur.zip,

http://www.supersu.com/
[P8lite Android Development] Laodeus:
Free beer.

If, someday, you come here, in belgium, i'll offer you the best beer in the world to thank you for your work.
[P8lite Android Development] allrightlite:
Now I'm using Lineage OS, too. But just on Moto G to test it. Don't root anymore out if the box. Works great so far. But I like EMUI 4.0, too. So I don't miss it on the good P8 Lite. One phone with Lineage OS is enough for the first. Maybe in few months it comes to this phone, too. Must be stable first. I need this phone for important things, so bugs are not very useful ;)
[P8lite Android Development] Fedroid:
I am using SIM on slot1 recognised but no signal at all

On second slot using micro SD

Thanks

Must say by the way that I am using this ROM as secondary ROM with multiboot rooted with Magisk and phh
[P8lite Android Development] zhaozihanzzh:
I am sorry that I don't think so. In fact, many phones can be enabled OTG by editing the Kernel such as HUAWEI U9508. OTG is supported by hardware. And Honor 4C has OTG.
[P8lite Android Development] Vika__:
I know so far that we could have otg support but first it needs to be enabled on kernel and after that you have to use otg y cable since our phone can't give power out of it's port. And that is thing that can't be enabled through kernel since our phone doesn't support it
[P8lite Android Development] XePeleato:
50 dollars to the one that can activate OTG on a Huawei P8 Lite ALE-L21. (And records a video where it's clearly showed)

I know what I am talking about, it can't be done.
[P8lite Android Development] :
Can this be used as a *daily* driver? Anyone tested for long? Random reboots? What has been fixed & what hasn't been fixed? What new features over EMUI?

Am eager.

Also [MENTION=7354786]XePeleato[/MENTION] is it possible to update the main post at the top with bugs that has been fixed etc. I have seen your github commits fixed some of these issues. Thank you for your work.
[P8lite Android Development] capriady78:
Screen cast is ok?
[P8lite Android Development] Yoshikage_Kira:
I don't think this rom can be used as a daily driver. However it is fairly stable. There were no random reboots. Apps work fine including play store. However some features don't work. Like I didn't get any reception with this rom (so can't make/receive calls or send/receive text). Also apps can't detect sdcard and you can't record videos. There are several other issues I have listed the most important ones.
[P8lite Android Development] papsi177:
Honor 2(u9508) no OTG support. Look it works with cabel which have extra power..
[P8lite Android Development] zhaozihanzzh:
I am sorry that I can't, but I found some schematics. If necessary, you can look at it.

https://mega.nz/#F!lFlwWCaA!ZZ7CWYp5QoHqj-dw-jyc1g
[P8lite Android Development] Kravarnik:
First and foremost! XePeleato you did a great job on that ROM. I've been following the changes from htcmania and I've downloaded this OS as soon as you uploaded it. Overall, surprisingly enough it's a rather stable rom.

Stable as in: No random restarts, RIL kind of working, Playstore works etc.. Although I wouldn't recommend it for a daily use as RIL still needs a bit of optimisation, so if you're receiving an important call that would be a huge problem (unless of course you use a dummy phone, like I do).

Navigation, most of the time, is flawless. Yes, when I load apps which contain lots of images/videos (i.e. youtube,facebook etc..), the phone kind of glitches out, status bar is rapidly flashing and even the image is kind of spazzing around the screen.

These might be serious for other users, so you'll probably want to avoid having this ROM as a daily driver. To me though, I don't really care. I always hated that dreadful EMUI and I wanted to get rid of it as soon as I could. So this ROM is the answer to all of my prayers to say the least.

Again thank you very much XePeleato for giving me hope on this device! I will be patiently waiting for all the future updates and let me tell you, that, I'm really grateful for what you delivered us.
[P8lite Android Development] :
Thanks. So it is still "Wait a few more months to see if the bugs fixed". Inability to make calls/messages is a real bumber. I guess I'll be sticking to emui until when the time is right.
[P8lite Android Development] De EmperoR:
I tested it and you are good to go if you aren't using it as your primary device. After i installed the ROM, there seems to have been a problem with the cellular connection. I was unable to make phone calls. It just said "No service". Bluetooth didn't work either. And the stock camera didn't have the tap to focus feature. Was unable to turn on mobile hotspot as well.

I immediately went back to stock ROM.
[P8lite Android Development] MultiGamer:
I wanted to download the rom but the link just doesn't work.
[P8lite Android Development] Misiantowski:
Post #97
[P8lite Android Development] MultiGamer:
Thanks
[P8lite Android Development] :
The download site doesn't work?
[P8lite Android Development] keikari:
Check few posts above yours for answer.

check post #97
[P8lite Android Development] :
Thank you, found it! Downloading now!

1) So, does Earspeaker work now? (asking before attempting to install)

2) Does multiwindow work from Android 7.0?
[P8lite Android Development] xdk78:
1. Distorted voice and other issues

2 . yes
[P8lite Android Development] :
I see. I installed the ROM as my main and it's decent, I heard something about OTA updates but I don't see anything in the settings related to updates (first time I flash Cyanogen, so I am a bit clueless).

Also, it recognises my SD Card but the music app doesn't see my songs and gallery doesn't see my pictures either. Hope that gets fixed!

Lastly, I get reception occasionally (signal) but I can't make or get any calls?
[P8lite Android Development] keikari:
Yeah it is not good for daily use yet. But hopefully some day it is.
[P8lite Android Development] Asaf04:
install but not working

This ROM install with twrp but huawei stuck logo and not work

Help me
[P8lite Android Development] :
Download a program called huawei update extractor.

Go to huafirmware.com and download the update.app for your device. (Latest ROMs)

Open update extractor that you installed, find update.app file and choose it. Extract boot, recovery, cust, system images and then flash them one by one using ADB after being booted in fastboot.

Make sure you put the 4 images you extracted into adbs location so that it recognises them
[P8lite Android Development] Vinnipinni:
Soo, you need to turn it off and boot to TWRP. This part may be a bit tricky. Hold the power button and volume up until shut down, release and hold again and try this until you boot into TWRP. Then just restore your backup or flash boot again. And if you didn't made a backup, flash the EMUI sokoban ROM. That's the easiest way
[P8lite Android Development] RizwanH20:
[MENTION=7354786]XePeleato[/MENTION] any ..News about functioning of HW Composer ....????
[P8lite Android Development] XePeleato:
No, forget about it. I am sorry but the P8 lite's framebuffer driver is different from the one present in newer Huawei devices, so I don't have time to figure out how everything works there. But it isn't so 'critical' so don't worry too much about it.
[P8lite Android Development] RizwanH20:
I trust you....What ever you say ☺
[P8lite Android Development] Justreboot94:
New build up?
[P8lite Android Development] Szabi01:
Don't be so impatient! Let him live, please.

P.s: I forgot to thank you for building a working rom for P8 lite [MENTION=7354786]XePeleato[/MENTION]!
[P8lite Android Development] papsi177:
For my Honor 7 it work great on my CM13) No problem.
[P8lite Android Development] MultiGamer:
[MENTION=7354786]XePeleato[/MENTION] can you add option "Reboot to Recovery" in to Power Menu?