yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] unalex:
I have some questions about b896 and this custom ROM

Huawei P8 Lite ALE21 dual SIM Europe

i use just one SIM card(other slot i use for SD card)

with stock firmware(b636) is OK, but with b898(installed with mfastboot) - upon SIM PIN request display is OFF, and i must push power button and enter the SIM PIN again

with LineageOS(14.1 - installed via TWRP with wipe) i must enter SIM PIN twice, and sometimes after display unlocking i see SIM PIN request again

it's this a firmware bug?

PS. sorry for my bad english
[P8lite Android Development] TureX:
Install b896 with twrp
[P8lite Android Development] unalex:
Thanks, it worked
[P8lite Android Development] MagMerlin:
Dear Experts, a newbe question. The b895_update.zip can be flashed over the lollipop 5.0.1 b203 i have right now after succesful downgrade to get bootloader code? (i used c900b500 as transition rom). I means over the top of Lollipop 5.0.1 with the dload folder method, becouse i see i can't flash open kirin twrp in lollipop becouse it need EMUI 4.x ...and is b895 usable daily and good to flash twrp? Thanks in advance.

EDIT: i read a lot but not all is clear to me.
[P8lite Android Development] TureX:
First upgrade to marshmallow than flash b895
[P8lite Android Development] MagMerlin:
Ok senior, ty you for your answer. I abused of your time just becouse i felt yummy going direct to b895, also becouse i have a microSD Kingston 8 Gb call 4, so slow, and can't be trusted. I get errors often and in puppulinux i do gparted check and in win i use teracopy with verify, and also md5sum check also in local copy.
[P8lite Android Development] doctor-who:
Can't believe you ppl working on oreo and we still don't have even aosp marshmallow stable without bugs...
[P8lite Android Development] DarkJoker360:
Unfortunately on this soc and closed sources developement this is the most stable that we can have
[P8lite Android Development] doctor-who:
IS THERE any way to use some sources open and closed doesnt matter just to make this fully stable?
[P8lite Android Development] breversa:
You don't quite understand how this works, do you ? :)

"Closed source" basically means "black box". You may know what comes in, you may see what comes out, but you have no idea what's happening between. It might look stable, but you have no way to be sure. It's "dude trust me", and hope for the best.
[P8lite Android Development] doctor-who:
You're right man I don't understand how this works. Thanks for good reply :)
[P8lite Android Development] :
Could you update the ROM, that is would include the latest security patch from february?
[P8lite Android Development] DarkJoker360:
Feb patches aren' t merged yet on N code.

You can follow the updates here: https://github.com/LineageOS/android_build/blob/cm-14.1/core/version_defaults.mk
[P8lite Android Development] Thespartann:
The security patch can be updated mannualy, just like LineageOS does it :)
[P8lite Android Development] allrightlite:
Ok, sounds great. But how do this working? Any tutorial for that?
[P8lite Android Development] DarkJoker360:
I know but i prefer to way Los' s code
[P8lite Android Development] DarkJoker360:
It is just from source, before the building phase
[P8lite Android Development] D1stRU3T0R:
Wait what? Manually upgrading security patch?
[P8lite Android Development] edilson123:
When i try to connect my miband 3 with this ROM it says that my phone dont support bluetooth 4.0. Why? Some bug on bluetooth?
[P8lite Android Development] edilson123:
How can i donwgrade frm this rom to 5.0?
[P8lite Android Development] fardin_dg73:
che2-L11

Hi.can I install this rom for honor 4x che2-L11

same kirin 620
[P8lite Android Development] pawelik001:
W.O.W

From others rom, i get max 29k.

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] DarkJoker360:
I will do crdroid too that is a rros more optimized and smooth
[P8lite Android Development] pawelik001:
Yeeeah, ill wait for this rom. I want it :D

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] zeratos:
Are wifi hot spot and offline charging working in this rom?
[P8lite Android Development] Antox97:
How about Bluetooth?
[P8lite Android Development] pawelik001:
Don't working, but share app stopped work.

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] xysen0:
Hey,

Is the crashing of the sharing bluetooth apps is the only one bug?

Is that the rooted OS ?
[P8lite Android Development] DarkJoker360:
Yes.

You can root with magisk ;)
[P8lite Android Development] xysen0:
Look better than great... ;)

But... Did someone tried to do something with that bluetotoh malfunciotns?
[P8lite Android Development] pawelik001:
Yes, unfortunately it's hard to fix, right [MENTION=7019289]DarkJoker360[/MENTION]?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] DarkJoker360:
I tried everything, I am doing wrong something, I know but I don t know what... This is the problem, tomorrow I will try another time with openkirin sources :(
[P8lite Android Development] DarkJoker360:
A major update will come asap, let's see if I really fixed bt. Anyway I ll add dt2w node and some tweaks. Regard.
[P8lite Android Development] Geekmv1:
Any news here? is this room fluid?
[P8lite Android Development] pawelik001:
Bt isn't working

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] Geekmv1:
BT is not a big deal for me! All i want to know is if it is smooth, and doesnt have UI lags?

Enviado de meu ALE-L21 usando o Tapatalk
[P8lite Android Development] DarkJoker360:
I used it for a week and switched back to my Emui extended (an own private build of emui). I was happy with Lineage and sad to say goodbye to it, with live disolay I never seen a lag, just rom issues on rendering of Image (screen flash).
[P8lite Android Development] Geekmv1:
Many thanks

Enviado de meu ALE-L21 usando o Tapatalk
[P8lite Android Development] elraffa:
why do you leave lineage?

Enviado desde mi ALE-L23 mediante Tapatalk
[P8lite Android Development] doctor-who:
This is for Huawei P8 lite dual sim stock rom

Flash it trough twrp

https://1drv.ms/u/s!AvXv8h9c00N1hUaWU54ZE2brM7dO
[P8lite Android Development] edilson123:
Thanks :)

But im on single SIM ALE-L21. Its no problem install this stock rom?
[P8lite Android Development] Thespartann:
There is no tutorial :rolleyes:

With mannualy i meant taking AOSP code and merging it into LineageOS, not waiting LineageOS to do it.
[P8lite Android Development] Vsx06:
Patching system image

Tried few times and I always get stuck (mostly at the beginning of installation) at "Patching system image unconditionally..."

1. Flashed B896 (also tried B895) via fastboot

2. Reboot into OS, config till working desktop is shown

3. Flashed TWRP 3.1 via fastboot

4. Reboot into TWRP

5. Full wipe - dalvik, cache, data, custom, system

6. Install "lineage-14.1-20181215-DarkJoker360-alice.zip"

7. Stuck at "Patching system image unconditionally..." most of the time bar is at the end of "Updating" and it's stuck there :(
[P8lite Android Development] DarkJoker360:
I had one time. Try to go back to emui and reflash, I fixed in this way in my experience.
[P8lite Android Development] Vsx06:
So it's a recovery thing? Just flash huawei recovery, than again twrp?

Tried only recovery, than full system and it's stays stuck - every time.

I pushed los with use of adb sideload... and it's working

I say that twrp 3.1.1 sucks
[P8lite Android Development] DarkJoker360:
No it doesn' t. It can be also hw problems.
[P8lite Android Development] doctor-who:
Aaa I don't know mate, ask someone here who know better because im not sure really
[P8lite Android Development] Ainalcar:
Installed this rom, everything seems to work fine so far. My only concern is that battery life is decently shorter now.

Edit:

After some more testing i have to say that this rom is almost unusable as a daily driver. Battery drain is just nowhere near what it should be.

I tested the recently updated roms from [MENTION=8173346]XTutorials[/MENTION] (dotOS in particular) and they don't seem to have this problem.

Either way thanks for your efforts DarkJoker360, other than this problem it's a very good and stable rom.
[P8lite Android Development] allrightlite:
That wasn't on 20191001-version, that's why I was keep on this first and now I'm on AOKP 7.1.2. There battery is normal here.
[P8lite Android Development] marianobianchi:
Do you find the battery life better in AOKP 7.1.2 than in 20191001-version? Does the camera (video recording) work in AOKP?
[P8lite Android Development] allrightlite:
It's the same. Camera same, too.
[P8lite Android Development] DarkJoker360:
New build is up with February 2019 security patches !

I am heading to oreo right now.
[P8lite Android Development] allrightlite:
That's cool. Maybe I should switch back to this one, again. Is the battery this time like in 20181001 and not so bad how in 20181215-build?
[P8lite Android Development] DarkJoker360:
Sorry I didn' t test because I am using another p8 lite with battery high damaged. I had to borrow the mine to my sister :(
[P8lite Android Development] aciupapa:
Can someone mirror the B896 update? androidfilehost is very slow and since 3 days i cant download that file :/
[P8lite Android Development] doctor-who:
https://1drv.ms/u/s!AvXv8h9c00N1hVr9gsgo8KDkW2yc
[P8lite Android Development] Canna77:
hello sorry for my english but use google translator, I wanted to go to los but I did not want to lose all the apps and data, and can only do the wipe chache and davil?
[P8lite Android Development] allrightlite:
Change can be working between los based roms without losing data. Have tested from this to AOKP has worked, but not to Cosmic. More I haven't tested.
[P8lite Android Development] Canna77:
How to backup data and then restore them?
[P8lite Android Development] FrikkieSoekTiete:
Not sure what causes this error

Hi guys I keep getting Updater process ended with ERROR:7

I have changed the updater.script file and removed the assert line.

I then used winrar to save the new one but I still get the same error.
[P8lite Android Development] allrightlite:
Don't have back up to switch from this to AOKP. Just wipe system, dalvik, cache and flash new rom and gapps.
[P8lite Android Development] Kpsr94:
Hello guys,

I'm having problem with this ROM. I successfully rooted and then unclocked bootloader. Right after that I installed TWRP 3.0.2 and now I keep trying to install this ROM. Recovery says that installation was completed but after reboot I'm waiting like 15 minutes and nothing happens. Tryed 3 times still the same.

Any ideas?
[P8lite Android Development] davidkejzlar:
TWRP 3.0.2, is this typo, or wrong version? Acording to first post you have to install TWRP 3.1.1-0 (I've installed 3.2.3-0 and it works also). Made full wipe before flashing?

Have you flashed B895/B896 before? Someone correct me, if I'm wrong, but I think this needed for mobile network (radio doesn't work on custom ROMS flashed from EMUI 4.0x, you have to flash Vodafone EMUI 4.1 update before). I have rebranded my unbranded C432 to Vodafone C02 before flashing and had no problems at all to install the ROM on ALE-L21.

https://www.htcmania.com/showthread.php?t=1282305
[P8lite Android Development] Kpsr94:
Just forgot to mention that when I restore my backup (5.0 stock) then everything works as it was working before.

I changed my recovery for the version u wrote about and still bootloop.

I've tryed everything: full wipe; only Dalvik, Cache and Data (without System); factory reset only; or even not wiping at all and still LOS doesn't boot. Maybe I should install it on 6.0 stock or LOS 13.0?

I'm not sure if I'm correct but right now I have B311. In order to unlock my bootloader I had to downgrade my stock from 6.0 to 5.0 so I can easly get the code for it. TWRP says I have "19-07-14_BalongC50B311" on my backup.

I must say I kinda worry about the radio. Once I screwed up my efs partition when I was trying to change the radio on my old LG

edit: I followed these instruction to unlock my bootloader (and it is done succesfully) https://xdaforums.com/showpost.php?p=78371413&postcount=26
[P8lite Android Development] davidkejzlar:
So if I understand it right, you have Android 5.0 now (balong is some chinese crap, I don't know what version B311 is)?

I have also downgraded to 5.0, then unlocked bootloader, after this updated to official version (either OTA, or istalling Full ROM package from teammt, or carbontesla, you have to download the ROM for your model, I have european unbranded dualsim and latest ROM for this model is ALE-L21C432B638), which magically locked my bootloader again (but after update you can unlock it with the unlock code you got on Android 5), then rebranded and downgraded to Vodafone firmware C02 (because to flash most custom ROM you need EMUI 4.1, which is included just in Vodafone ROM) with package mentioned in my previous post, flashed TWRP, made full wipe as described in 1st post (not all terms are exact, some areas have slightly different names in TWRP wipe section), flashed ROM, booted to system, rebooted to TWRP again and flashed GoogleApps. Everything worked without problems, so I think updating to Vodafone B895 (for singlesim) or B896 (dualsim) before flashing this ROM is needed, else flashing fails.

I think if you are on Android 5 now, you can probably skip updating to official Android 6 and can directly rebrand/update to Vodafone firmware and then try to flash TWRP and LineageOS ROM.

https://pro-teammt.ru/firmware-database/
[P8lite Android Development] Kpsr94:
Okay I will follow your instruction but I can't find B895 on the website u sent the link. There is only B898 or B9XX. Should I install one of them or only B895?

I found one mirror on XDA but it takes ages to download (300 MB within hour). Do you know any other mirrors?

---------- Post added at 04:03 PM ---------- Previous post was at 03:40 PM ----------

Nevermind I found mirror https://xdaforums.com/showpost.php?p=77480001&postcount=4
[P8lite Android Development] Kpsr94:
Okay, I finally installed this ROM! Thx David for help
[P8lite Android Development] ender1324:
Is it ok to be on B603 because I dont know how to downgrade....
[P8lite Android Development] Kpsr94:
Do you have your bootloader unlocked?
[P8lite Android Development] ender1324:
Of course
[P8lite Android Development] davidkejzlar:
It's because of EMUI 4.1 is needed to updat, does B603 have 4.1? If not, then downgrade, otherwise new will not boot.

This is mentioned in prequisities in 2nd post (togegther with very slow and very unreliable links).

Mirror here:

https://xdaforums.com/showpost.php?p=77480001&postcount=4
[P8lite Android Development] gabo1982android:
Hi DarkJoker360, other link for .zip of lineage 14.1?? please no mega. :)

Hi DarkJoker360, other link for .zip of lineage 14.1?? please no mega. :):good:
[P8lite Android Development] cmarcom:
enable camera2api

Hey, how can I enable camera2api in this ROM, if I can?

I've tried with Magisk and editing build.prop but nothing.

Great ROM!!
[P8lite Android Development] marianobianchi:
Hello everyone. I'm using the 20181001 version. I found that NFC service was using the "keep awake" permission all the time although p8 lite hasn't NFC. Until the last week I was having no problem with battery but since then my battery was draining faster than before. I started to dig in privacy configuration to see which process or service was using the "keep awake" permission and I found NFC being one of the higher in the rank (almost the same as whatsapp).

So I finally put some time to see if I could find a solution and I did. I searched how to stop services using adb without root and after a few links I found this post in stackoverflow: https://stackoverflow.com/a/47610937/1029019

I ran this command after I pluged in my phone in my notebook:

This way I could disabled nfc service and now it won't keep my phone awake again.

Hope this helps anyone else having this NFC service issue!
[P8lite Android Development] MIcHiJK:
[MENTION=6795592]marianobianchi[/MENTION]

The p8lite have NFC? Will this disable NFC completely? And I thought the battery problem has something to do with HWC which is fixed already in other ROMs but not here. Battery here latest not even a day with a brand new replaced battery.
[P8lite Android Development] marianobianchi:
No, p8 lite doesn't have NFC. But for some reason, NFC service wasn't removed from the image (at least not from 20181001 version) and it was using the "keep awake" permission a lot. You can check if you have that problem going to Configuration -> Privacy -> Privacy protection -> Advanced an there you have to go to the "device" tab. You can see there how many times each service/app used the keep awake permission. If NFC is one of the topmost, then you have the same problem as I did.

With the command I mentioned you can disable NFC service. If you want to enable it again (I don't know why you would want that) yo can run

adb shell "svc nfc enable"
[P8lite Android Development] DarkJoker360:
New LineageOS stable update !

Changelog

[CENTER]* Based on latest source code (March 2019)
* March 2019 security patches
* Fixed USSD codes[/CENTER]

Check OP for more info and download​

!

Regards.
[P8lite Android Development] MIcHiJK:
[MENTION=7019289]DarkJoker360[/MENTION]

What's about HWC or general battery drain in the march update?

Thanks, I appreciate your work.
[P8lite Android Development] DarkJoker360:
Hwc is included but it seems to be sometimes enabled and sometimes no, otherwise if you have some problems try hwc enabler module.

I can' t notice battery drains on my side as I said in older posts.
[P8lite Android Development] Fedroid:
It depends on model

Mine has NFC
[P8lite Android Development] DarkJoker360:
Did someone test USSD codes?
[P8lite Android Development] allrightlite:
I'm on AOKP (7.1.2), I have switched from LOS14.1 to AOKP for few weeks without wiping data. Can I go back to LOS 14.1 now at the same way? I would do it only because the newer security patch level, maybe not a good idea, right? I should maybe wait until AOKP will be updated, too. Almost the same.

Other queston, has anyone tested LOS14.1 without modification related to battery drain? So, LOS14.1 and gapps wothout flashing magisk (and the hwc part). Battery was fine on 20181001 build. After that version it was not good anymore and magisk was needed with the fix.
[P8lite Android Development] DarkJoker360:
Magisk fix is needed if hwc results disabled. It is already working in this rom and it isn' t the cause od battery drain.
[P8lite Android Development] allrightlite:
I have switched back to this rom and battery seems working very well again like on 20181001(?). All fine without needed magisk and there needed to flash the hwc additional patch. Geekbench 3 cpu has here 565 on single core, 2522 on multi core. That's the best result which I ever had. So, I can recommend this rom, very good.
[P8lite Android Development] He.Art:
Really slow and bad performance in menu and apps in general. I tested subway surfers (and other games) and the game doesn't work properly smooth in 58/60 fps. The phone are hot all the time and cpu hotplug with terrible fails. The kernel or hotplug (?) continually turns off some CPU cores and the mobile phone loses performance and gain high temperature without reasons.

I tried test other hotplugs flashing with TWRP but is the same thing. The problem is the construction of the rom per se. Good job anyway.

ALE L21 (converted from L23) B896.
[P8lite Android Development] allrightlite:
You are funny, doesn't have any of this issues. Here super fast. Good joke on 1. april ;):cool:

If no joke, ok, you have a converted phone. Here I have L21 with B895 and not really problems. Love it so far.
[P8lite Android Development] He.Art:
If you think it's a joke, there's no problem in showing what's different. In a few hours I will again install LineageOS on my P8Lite. I will film the whole process with a digital camera. Then you tell me what you think. I have no problem, bro.
[P8lite Android Development] marianobianchi:
Did you tried 20181001 version? Are you saying that there is a regression in battery performance with the new build? Or it is the first version of LOS you try? I'm asking this because at first I have problems with 20181001 version too, but they have gone after I made a few tweaks in settings.
[P8lite Android Development] allrightlite:
Ok ;)

The new version don't have the battery issue. And for me it's all fast, faster than my Z Play. So, can't complain. It's smoother than stock. Don't know why. And right, you should do the right settings. Have switch off NFC, no bluetooth, no Wifi scanning in local settings. But that's normal, was known before and if we use this phone for really simple normal communication, all it's fast in fine.
[P8lite Android Development] marianobianchi:
Yeah! It improved my phone performance a lot! Stock rom was a little slow and it had a horrible UI (I hate EMUI). I will try this new version in a few weeks. Does it fix the camera issue?
[P8lite Android Development] allrightlite:
I would say that's all the same.
[P8lite Android Development] bennywayne23:
where is the last update link for this rom ? I have November 2018 security patches installed how can i update it ? If there is an latest update what about battery drain fix ? My battery goes very fast
[P8lite Android Development] AdRi_232:
The OP can solve your questions about updating, downloading the newest version, and for battery drain, read the "What's working partially" in the DotOS OP.
[P8lite Android Development] allrightlite:
File in first post. Load it with a normal browser, not with the app.

Battery perfect here (nov-version was very bad, so normal that you have draining fast batt.), 3 days by normal use (arround to 3h SOT). So good like on 20181001-version again, but little bit faster on Geekbench 3 and USSD code is working now. For me last update is the best until now for this phone.
[P8lite Android Development] marianobianchi:
Great! Thanks for the reply! I will update it this weekend
[P8lite Android Development] kajulisi:
Will this free up more LTE frequencies on the device? So one can use it in the US?
[P8lite Android Development] davidkejzlar:
Which device, carrier, bands? LTE support depend on device (for example ALE-L21 has LTE bands 1,3,7,8,20, but I believe US carriers use mostly different bands). If there was P8 lite device produced for US market, which supports LTE bands used in US, it will work also with this ROM. If not, this ROM can't unlock bands which phone doesn't support.
[P8lite Android Development] german_psycho:
Hmmz, on stock ROM I have 585/2709 :)

But will still give this LOS ROM a try. At least better than being stuck on an older Android version that won't get update any more. Even if this ROM here will get no further updates, should still be more fun to play around with than the stock ROM..
[P8lite Android Development] allrightlite:
That was 7.1.2 related. From all this versions best result.
[P8lite Android Development] german_psycho:
I have a german Telekom branded ALE-21 (C105). Whatever I try, I can't get this ROM to detect and use the SIM card.

If I try to flash it over the installed stock ROM, System boots, Wifi, etc. works, everything seems to be fine - but no SIM card detected.

If I flash B895 first and then install a custom ROM, it behaves the same. System working - but still no SIM detected.

I also tried it with B896, but same results.

Did also a backup of the 3rd Modem with TWRP from my working stock ROM and restore it over the LOS modem. Still doesn't work.

Any advice what else I could try?
[P8lite Android Development] marianobianchi:
I was reading some old replies in this thread and I believe I never check if HWC was working/enabled or not or if I should apply the patch (I read there is a patch but didn't find it in this thread). How can I check if HWC is enabled or not? If it isn't enabled, how can I enable it? Thanks in advance!
[P8lite Android Development] DarkJoker360:
New LineageOS Update !

Changelog

* April 2019 Source code

* April 2019 security patches

Check OP for more info and download !

Best Regards.
​
[P8lite Android Development] ender1324:
Thank you for keeping this thing alive :)