yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III General] SchmilK:
i should look inot what you did for the screen rotation..whenever i am in opera with the screen landscape and i touch the top windows tool bar my screen gets turned 180' so now the keboard is out and my screen is upside down :(

but ONLY in opera this hapens, then i have to go to screen settins and rotate :(
[Tilt, TyTN II, MDA Vario III General] DonToolBag:
Fear not....that is actually a known issue with Opera Mobile. (9.5 Beta, right?)

http://www.opera.com/products/mobile/download/

Landscape mode does not take keyboard position into consideration

DTB
[P8 Lite (2017) Development] DarkJoker360:
Hi,

LineageOS 18.1 for Huawei P8 Lite 2017

*** Stable Version ***

About​

Working​

Not Working​

NOTE: The signal icon is buggy due to Huawei weird ril implementation, I am still looking to fix it over the new Android 10-11 telephony changes.

Installation​

Update​

If you are getting Error 70 while flashing gapps just resize system from TWRP !

If gapps are giving network errors or other kind of errors install them after first boot !

Download​

Please support my work, it's very important! Thanks

DONATIONS

Regards !
​
[P8 Lite (2017) Development] DarkJoker360:
NOTES

* For rooting with magisk use this.

* If you face corrupted storage issues you need to go back on emui and re-install the rom or fastboot erase userdata + twrp format data.

* I recommend NikGapps core with SetupWizard add-on.

* Use 8.0.0.360 or maximum .400 firmware for booting the rom.

* Gapps can may give "Uncertified device" error and abort the google account login, use this guide to fix it (thanks to @latviandude )

* If you want VoLTE/Wifi Calling working flash this zip

** You must be decrypted for booting this rom **

Before following the installation steps format data and flash this file via TWRP.

Changelog from initial build

* Fixed offline charger for all devices

* Fixed gapps uncertified error

* Improved performance

* Fixed animations janks and lags

Useful links

My telegram channel

HI6250 support group
[P8 Lite (2017) Development] Ham1do:
Great work 👍

Thank you !

View attachment 5306605
[P8 Lite (2017) Development] Everywhere I go:
What is the features of this rom?
[P8 Lite (2017) Development] amrqqq:
its lineage os rom
[P8 Lite (2017) Development] amrqqq:
@DarkJoker360 hi , will there be a descendent rom ?

thanks so much!
[P8 Lite (2017) Development] DarkJoker360:
No, I just work on a rom only !
[P8 Lite (2017) Development] Rortiz2:
Looks nice. I will try it later. Thanks.
[P8 Lite (2017) Development] AltairFR:
Hi

Here is a little feedback from the first tests (I am in EMUI version 8.0.0.390):

- No problem for installing the ROM and Google Apps (NikGapps-basic-arm64-11-20201231)

- Playstore: ok

- Wifi: ok

- Touchscreen : ok

- Bluetooth: ok

- Location: ok after clear and update AGPS in GPS Test.

- Cast / Miracast: ko (smartphone reboot)

- NFC: ok (service started but intermittent crash when reading an NFC card with NFC Test)

- Camera lineage OS: ko (unable to take a photo, error message insert SD Card)

- Camera Gcam Go : ok (front and back camera). Unable to store photo on sdcard also

- Alarm and clock lineage : ko . You must install another clock apps

- Fingerprint : ok

I continue the tests ....
[P8 Lite (2017) Development] latviandude:
Thanks man for Lineage 18 . 1!!! It's awesome!​

View attachment 5307427

P.S. Great job like always! Thank you for supporting our device! Please continue working on it! Your the best. :)

I hope that more people will appreciate your work, it's really great!
[P8 Lite (2017) Development] latviandude:
- Lineage Camera : OK

- Location : Google Maps, fails to detect correct location (some meters accuracy inside house but I'm sure it works, u just need to go outside and do some walking to get more accurate location)

- Gallery : Ok.

- Fingerprint : At first I couldn't add my FP, then I went to "Settings/System/Gestures" and enabled "Swipe fingerprint for notifications" and tested if I can scroll notifications with it, after that I disabled it and then I noticed that I could add FP. So in the end it WORKS.

- Calling : If you are using NikGapps, u need to go to "Settings/Apps and Notifications/Default Apps" and set default Phone app/Dialer. Then you can make calls without problems.

- NFC : I can enable it and disable but I can't use it for mobile contactless payments because my Banking app shows that I'm rooted, even I have no root enabled.

- Performance, animations : Ok.

- RIL/Network : As I have Latvia SIM Card and Dual Sim Variant - PRA-LX1, after first boot I notice - Network restart issue. To fix it you need to set PIN Lock from different device, if it doesn't help, you need to disable Dual sim with "persist.radio.multisim.config=none" and reboot ur device, usually it works, else u need to go to Settings and reset APN settings.

- Battery : Ok.

- Audio : OK.

- Playstore/Gapps : OK

- Bluetooth : Haven't tested yet.

- Cast Screen : Haven't tested yet.

- Touchscreen : OK.

- Messaging : Seems to be OK.

- Notification LED/Light : can't be tested, cuz it's dead for me. :(

- Sounds for notifications/alarm : Can't be found, you need to download and install "Google/Pixel Sounds app" and set ringtone sound manually.

- Brightness : Seems to be +- good.

- Root : As default it doesn't work. But it can be enabled using one of Hamido's 3 methods. Not gonna add em, you can find them in hi6250 community group or XDA.

- Alarm : OK. So don't worry you will be able to wake up in time LOL

- Instagram : Everything is ok except you can't add Story from Gallery, so to fix this you need to install older Instagram version.

- OneDrive : It's ok, except you can't download your files, documents using app. But there's an workaround, Thanks to Hamido. You can download your files using ADM Browser app.

- Netflix : Latest versions doesn't let you play videos, I believe.. So to be able do that you need to download this version - "6_26_1_build_15_31696_31696". It will still give you sometimes error messages ,for example, when you try to play next episode but at least you will be able to watch something. :)

I think that this is it for now. Will update things, if I notice something new. Thanks for reading lol.
[P8 Lite (2017) Development] AltairFR:
What version of MUI is your smartphone ?

Does the alarm work?
[P8 Lite (2017) Development] DarkJoker360:
AOSP clock is broken here, install Google one !
[P8 Lite (2017) Development] latviandude:
Actually AOSP clock works fine here.
[P8 Lite (2017) Development] AltairFR:
Hi

I am found my problem (clock, camera etc..)

Before flashing the rom, I wipe data and internal storage in TWRP.

So when system start for the first time, it doesn't set the right permission and owner on /data/media/0 subfolder

If you have the same problem, just open a terminal in TWRP and type

cd /data/media

chown media_rw:media_rw 0

chmod 770 0
[P8 Lite (2017) Development] DarkJoker360:
I don't understand, can you describe the problem at all?
[P8 Lite (2017) Development] AltairFR:
do you want the cause of the problem or the consequence?
[P8 Lite (2017) Development] DarkJoker360:
The cause
[P8 Lite (2017) Development] AltairFR:
I will try to reproduce the problem, the cause is a problem of access rights on the folder /data/media/0

In my smartphone the owner of 0 subfolder was "root"
[P8 Lite (2017) Development] DarkJoker360:
Alright, I need to know now what was the problem. What was it giving, I already understood but please tell me exactly.
[P8 Lite (2017) Development] chinderdelis:
installed from sdcard? so after twrp installation , wiped data, cache , dalvik, system, reboot IN Twrp and install decrypt?
[P8 Lite (2017) Development] Momin8454:
Yes
[P8 Lite (2017) Development] chinderdelis:
try to wipe and reinstall fix
[P8 Lite (2017) Development] Momin8454:
When you are in EMUI 8,You have to first decrypt and then Format Data via TWRP and reboot to TWRP

And then wipes

Just to be clear wipes and format data are different things.
[P8 Lite (2017) Development] chinderdelis:
FAILED (remote: sparse flash write failure)​

new error now. i think modding this phone is not for me
[P8 Lite (2017) Development] Momin8454:
Strange
[P8 Lite (2017) Development] hassan7192:
Hi, thanks for releasing this amazing ROM. I flashed my Honor 6x with this ROM. The only thing I encountered while flashing was that just full wipe (system, data, cache, dalvik / art cache) is not enough and I had to format them one by one to another format like ext2 and reformat to the original. also NikGapps not work for me, i used pico.

Overall I have a good experience using this ROM.

I saw some problems while working with this firmware, thank you for solving them.

1) If I change the navigation system to gesture navigation, sometimes the return function does not work in the apps. To fix the problem, i have to exit the app and open it again. This happens 10% to 15% of the times.

2) In Mobile Network, I can not manually select between 2g, 3g and LTE. If I select another network, it will still remain on LTE.

3) If the phone charge is empty and off, and immediately connect the charger to the phone and turn it on, the status bar will be reset and the text messages that I restored in the new ROM will be deleted.

4) The x-plore file manager app in this version of the firmware does not recognize the phone's internal storage and does not have access to it. But it works quite well on my Xiaomi phone, which has Android 11. I think the problem is with this firmware. There is a version of x-plorer on the Internet that works well in this ROM but I want to use the original version of the Play Store.

5) In the Telegram app, when i play a video and hold it on the left or right side to move the video forward or backward, the Telegram message cannot play the video. Use an external player, and when i press the open button, the phone will be restart.

6) I feel the phone has a slightly longer charging time than the stock ROM. And also the battery discharges a little faster.

7) battery usage does not display anything.

8) I am still waiting for fix the problem of displaying the x symbol on the signal icon. I had previously installed the fluidOS ROM on my phone but The reboot data corruption problem occurred. In that ROM, the signal icon was displayed correctly and x was not displayed on the icon. I link to that thread. Maybe you can get help from the author of that thread to solve this problem.

I hope you release Android 12 for p8 lite and honor 6x. thanks a lot

fluidOS thread: https://xdaforums.com/t/fluid-os-android-11-guide-to-install-fluid-os-on-huawei-honor-6x.4289969/
[P8 Lite (2017) Development] chinderdelis:
I resolved it flashing system.img from twrp : selected install/install image/ and flashed in section sysetm image when asked i hope it will be useful
[P8 Lite (2017) Development] Momin8454:
Good. Now resize system via TWRP and Flash Gapps. I Flashed NikGapps Core January 30 build.
[P8 Lite (2017) Development] 💋 Mumu:
Hello,

For decrypted data partition we can:

1/ Either do it manually by deleting « fileencryption=aes-256-xts:aes-256-cts » from « fstab.hi6250 » as explained in post post-85133691 from vjjmaster

2/ Either by flashing ZIP provided by OP DarkJoker360 available in post post-84997819

However, I noticed that OP decryption’s ZIP has a few more changes than just removing « fileencryption=aes-256-xts:aes-256-cts »

Indeed,

A/ It contains the following extra line addition:

/dev/block/bootdevice/by-name/modem_secure /modem_secure ext4 rw,noauto_da_alloc,nosuid,nodev,noatime,data=ordered,barrier=1,context=u:object_r:modem_secure_file:s0 wait,check

B/ And he removes the « verify » option from

/dev/block/bootdevice/by-name/patch /patch_hw ext4 ro wait,verify

I'm afraid to brick my phone with this ZIP because of Huawei inconsistency.

Case A/ According to DuckDuckGo, it has something to do with the IMEI… But what for ? Is that so it can be viewed and saved in TWRP?

Case B/ I can't find anything on « patch_hw » so I understand even less the « verify » option for this case…

Could someone explain me a little more ? Or just a French’s user under EMUI 8.0.0.410 confirm to me that this ZIP decrypt without breaking this version/lang of Stock ROM?

By awaiting,

Many kisses 💋💋 !

Edit

: for the sake of clarity, here added a comparison file in HTML.
[P8 Lite (2017) Development] zehnx_:
I install the ROM by following the steps, then the device restarts itself 2-3 times, then enters eRecovery, how do I solve this situation. Can you help on Discord? Sorry for my English I use google translate.
[P8 Lite (2017) Development] AltairFR:
Bonjour

En théorie la ROM Lineage n'est pas compatible avec une version d'emui supérieur à 8.0.0.400 car Huawei a modifié son système de partition, cela semble ailleurs être le cas vu votre rapport .

Je vais regarder sur mon téléphone et je vous fait un mail en privé
[P8 Lite (2017) Development] 💋 Mumu:
— 🇫🇷 ————————————————————————

Merci AltairFR pour ta grande réactivité !

J’en étais sûr… Huawei voue une haine féroce aux développeurs car ça sabote leur mesure d’espionnage de masse. À chaque mise à jour il tente de verouiller de plus en plus le système…

Dans le pire des cas il semblerait que la solution soit un downgrade en DLOAD et installer LOS18.1 depuis une vieille stock ROM comme l’a fait notre collègue lapourganer (post-85216675 qui d’ailleurs semble avoir la même ROM que moi, FR et dernière mise à jour en cours)

— 🇬🇧 ————————————————————————

Thank you AltairFR for your great responsiveness!

I was sure ... Huawei fiercely hates developers because it sabotages their mass spy move. With each update they tries to lock more their phones ...

In the worst case, it would seem that the solution is to donwgrade then DLOAD and install LOS18.1 from an old stock ROM as our buddy lapourganer.
[P8 Lite (2017) Development] 💋 Mumu:
You can try :

1/ Volume up + power without USB pluged

2/ Volume down + power without USB pluged

3/ Volume up + plug phone on USB

4/ Volume down + power without USB plug phone on USB (Edit : copy/paste typo)

If none of this four solutions works, you have to DLOAD.

a/ Find the right ROM here for example : androidhost.ru

b/ Extract the file in a dload folder at the root of an SD Card

c/ Volume down + Volume up + Power to force install of this ROM

Example or here or here
[P8 Lite (2017) Development] tinchozaviolon:
Vol down + usb cable went well for me!!! Thanks a lot!!
[P8 Lite (2017) Development] tinchozaviolon:
Hi, right now I can enter download mode and install twrp. I tried installing ROMs but the phone does not boot. It keeps showing the huawei logo. Is it possible that I fcked up all when I did install the twrp selecting boot instead of recovery??
[P8 Lite (2017) Development] 💋 Mumu:
Normaly you have to : fastboot flash recovery_ramdisk twrp.img

If you try to fastboot *boot* recovery_ramdisk twrp.img

You end up with a error message (don’t know why, but we can simply boot this TWRP, we had to flash it)

On the other hand indeed, if you have flashed on another partition (ramdisk for example and not recovery_ramdisk) you will have to either find which partition to repair/restore or simply start from scratch with a DLOAD ...
[P8 Lite (2017) Development] worriedaddy:
hi @DarkJoker360

I installed the ROM and haven't had any problems so far. I wrote also my steps in a comment above.

Today, after the phone lost its charge, after booting up I can't access the OS. I enter the correct PIN but the phone seems to stay in the same screen.

Any idea what this could be?

Do you have any suggestions on what I can do. I would like to avoid reinstalling everything if possible. Thanks!
[P8 Lite (2017) Development] AltairFR:
Could you send a hardcopy ? It is SIM or OS pin code ?
[P8 Lite (2017) Development] worriedaddy:
Is the OS pin code.

How can I send an hardcopy?

I'm reviewing the guide a wrote because I'd like to reinstall anything, but it's a PITA :(

Edit: I've seen that there is an update in this post. I'd like to try and update with the latest ROM and see if it solves. But if you need something useful for debugging, please let me know how I can help.
[P8 Lite (2017) Development] AltairFR:
Do you have set a pin code ? Use an another phone or camera to take an hardcopy
[P8 Lite (2017) Development] worriedaddy:
Sorry but I'm not sure I got your request.

I put the sim in another phone and removed the PIN. The I put the same SIM in the P8 lite, and the OS is asking for the OS pin, which I never changed. With the right PIN it's not able to enter the phone, and reasks the pin over and over again.
[P8 Lite (2017) Development] worriedaddy:
I've update to the latest img: lineage-18.1-20210809-UNOFFICIAL-prague.img but still I cannot go behind the pin :(

It looks like the Google Play Services / System UI is constantly rebooting and I cannot access the phone.
[P8 Lite (2017) Development] DarkJoker360:
DarkJoker360 channel

New LineageOS 18.1 update for P8 Lite 2017 * Added unlimited google photo hack * FIxed wifi display

t.me

New update released there, sorry I can't upload to sourceforge because of my network.

Changelog

* Added unlimited google photo hack

* FIxed wifi display
[P8 Lite (2017) Development] AltairFR:
This version normally also fix miracast/cast bug
[P8 Lite (2017) Development] zehnx_:
please help me i can't install rom even though i follow the steps it's like i said
[P8 Lite (2017) Development] domcars0:
Hi,

Thank's for this nice rom. Is there an howto to root it ? I'm unable to install Magisk with twrp (after renamed it Magisk-v23-canary-phh.zip) ? The installation failed with the error msg :

Updater process ended with ERROR : 127

Error installing zip file /sdcard/Download/Magisk-v23-canary-phh.zip

Any help would be appreciate ;-)

Thanks.

EDIT: Found a method and files on the HI6250 Telegram community

HI6250 Community

HUAWEI hi6250 Community group	Release channel: @hi6250releases

t.me

PS : LineageOS 18.1 release 20210910 installed over PRA-LX1 8.0.0.408(C432)
[P8 Lite (2017) Development] Momin8454:
Please join telegram group, there are others who can help you with your situation. Because not everyone uses XDA all the time.
[P8 Lite (2017) Development] Momin8454:
Explain your problem here. What TWRP you used? What is your mobile model? How are you Flashing Files?
[P8 Lite (2017) Development] PRXVISION:
I seem to have found an issue no one else has reported, or is it somehow related to just my device?

Essentially this seems to be a an issue on the software side. When shooting videos in Snapchat app the audio that it captures is kind of muffled and distorted (bitcrushed to be more specific, it has this kind of ringing tone and extra noise to it) and it seems to be present only with Snapchat. When recording audio with the stock Recorder app or shooting a video with the default camera app the audio is absolutely fine.

Steps to reproduce the problem: Literally just record a video with Snapchat.
[P8 Lite (2017) Development] Aken6:
Hi, I'm trying to install this ROM but I get stuck when it comes to flash the image file. I come from this build: PRA-LX1 8.0.0.410(C432).

I used this script to decrypt: Huawei-Decrypt-Emui_8.zip.

I flash TWRP_3.5.2-prague_DarkJoker360_20210508.img and follow all the instructions.

I get this error after running "fastboot flash system lineage-18.1-20210809-UNOFFICIAL-prague.img":

FAILED (remote: sparse flash write failure)

So I try to flash the image with TWRP and get this error:

Size of image is larger than target device

So I think it's because of the size of the image which is 2,3Go but the size of my partition for the system is only 2Go.

I search on the forum but don't find an answer, can someone help me solve this problem ?

Thanks.
[P8 Lite (2017) Development] Junkilito:
Hello,

you should carefully read notes from post n°2... You have wrong stock firmware. You have to downgrade.
[P8 Lite (2017) Development] Aken6:
Oh yes indeed I missed that detail. Thank you for your answer it works now :)
[P8 Lite (2017) Development] effendi360:
So yeah.

I have been testing this ROM for several days on my P8 Lite 2017.

There is a problem with bluetooth connection when the phone is under load and this is not a one-time case. Unfortunately, this happens often. I use this phone in conjunction with a JBL speaker while listening to audiobooks. When I use the phone during playback, the sound is very interrupted.

This ailment unfortunately disqualifies this ROM for me.
[P8 Lite (2017) Development] AltairFR:
Patch to unable AGPS/AGNSS on hi6250 device (Prague/Warsaw....). To use AGPS you must have a data sim.

Après deux mois de travail, voici le patch pour avoir enfin un GPS assisté sur le prague. Il faut bien sur avoir une carte SIM avec la data pour que cela fonctionne. Sans la data vous aurez un GPS normal :)
[P8 Lite (2017) Development] arkonoiid:
Yo o/

about the steps to install, in every topic/thread you made it's written :

* extract LineageOS

* run: fastboot flash system <drag system.img here>

I've never had to do that for other phone

what do you mean "drag system.img here" ???

when I extract the zip I get one big .img (2.3GB)

is that the one I should flash ?

why can't I flash it in TWRP ?
[P8 Lite (2017) Development] AltairFR:
Drag system.img here mean tape the name of the image file here

The Android 11 rom doesn't support twrp, so you must flash with fastboot cmd
[P8 Lite (2017) Development] Alex261099:
this is the right procedure. Thanks a lot

NB in twrp select image flash and then system image to flash an img!
[P8 Lite (2017) Development] AltairFR:
News SUPL20 Service to assist GPS

Update to fix some call of deprecated vndk API
[P8 Lite (2017) Development] sdkyron:
Hello,

I'm gettting this:

C:\platform-tools>fastboot flash system C:\platform-tools\lineage-18.1-20210809-UNOFFICIAL-prague.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.020s]
Writing 'system' FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed

What's wrong please ?
[P8 Lite (2017) Development] AltairFR:
3 reasons :

Bad USB cable

Old version of fastboot

FRP or OEM not unlock
[P8 Lite (2017) Development] sdkyron:
I've tested several cable and ports, all give the same result.

Current status of the phone is phone unlocked and frp unlock.
[P8 Lite (2017) Development] lapourganer:
Hi, it's now few month I'm using this ROM on my main phone and i'ts works pretty well, I've installed magisk. Only few issues I will investigate/share later.

For now I'm looking in enabling a contactless payment app. I dont want GPay. My bank offer a paylib implementation ("Mes paiements" from La Banque Postale). The issue is that the app says "La configuration de cet appareil n'est pas compatible avec les exigences de sécurité qu'impose la protection de vos données", just meaning they know I'm rooted. Months ago during tests, i've trying to enable Magisk Hide but it just ****ed up the OS now I have all my things on it...

Does anyone already have done that ?
[P8 Lite (2017) Development] AltairFR:
Hi, send me a private post, in french 😁
[P8 Lite (2017) Development] PanRebigiusz:
Can i boot it on Huawei P9 Lite 2017 (PRA LX1)?
[P8 Lite (2017) Development] AltairFR:
Yes of course
[P8 Lite (2017) Development] mutonic:
Hi,

I tried flashing this rom on my stock P8 lite 2017.

After unlocking BL, installing TWRP, and starting installation, I got this issue when typing:

fastboot flash system lineage-18.1-20210809-UNOFFICIAL-prague.img

Invalid sparse file format at header magic
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 34.846s]
Writing 'system' FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed

I also have this other issue when trying to format data or wipe system, data ...:

failed to mount system invalid argument

Any idea what could be wrong?
[P8 Lite (2017) Development] mxcion:
Had the same issue. After installing stock emui and trying again the issue was gone.
[P8 Lite (2017) Development] mutonic:
do you mean the stock rom? I will try. For now I don't any system available anymore

EDIT: do you know how I can get the stock? tried using huawei firmware finder, but didn't find instructions to use it