[ROM][prague][11] LineageOS 18.1 for Huawei P8 Lite 2017

Search This thread
Hi


The latest version of Lineage is very slow to start, because the vold unmount /mnt/phh... waits 20 seconds (2 times)

LogCat :

07-31 09:06:13.390 675 675 I vold : Vold 3.0 (the awakening) firing up
07-31 09:06:13.391 675 675 D vold : Detected support for: ext4 f2fs vfat
07-31 09:06:13.398 675 675 D vold : Tearing down stale mount /mnt/phh/_apex_com.android.vndk.v26_lib_libsoftkeymasterdevice.so
07-31 09:06:13.449 675 675 D vold : Tearing down stale mount /mnt/phh/_system_lib64_vndk-26_libsoftkeymasterdevice.so
07-31 09:06:33.565 675 675 I vold : ForceUnmount failed: Device or resource busy
07-31 09:06:33.565 675 675 D vold : Tearing down stale mount /mnt/phh
07-31 09:06:53.675 675 675 I vold : ForceUnmount failed: Device or resource busy

Is there a way to fix it?
Nobody find a fix to this issue ? :-(
 

tjw100

New member
Feb 6, 2018
2
0
great work, thx. I used LineageOS with adoptable storage feature, but I don't find this in v17. Therefore one - maybe stupid - question:
is it possible to enable adoptable storage, e.g. via ADB?
 

1nsan1-T

Member
Dec 13, 2020
7
1
Rooting Honor 6x with Lineageos 18.1
I recently installed @DarkJoker360 build of Lineageos android 11. Camera and flashlight became an issue after a short period, but that's an issue for later.
My current concern is the procedure for installing root, preferably with magisk. Trying to flash magisk v23 phh provided zip file leads to error 127; updater ended with error 127. I extracted the ramdisk.img and patched via the magisk 23 app but that caused bootloop, among other errors. What should I try next?
 

Kurt Krummbein

Senior Member
Jul 19, 2011
554
406
OnePlus X
OnePlus 3T
Rooting Honor 6x with Lineageos 18.1
I recently installed @DarkJoker360 build of Lineageos android 11. Camera and flashlight became an issue after a short period, but that's an issue for later.
My current concern is the procedure for installing root, preferably with magisk. Trying to flash magisk v23 phh provided zip file leads to error 127; updater ended with error 127. I extracted the ramdisk.img and patched via the magisk 23 app but that caused bootloop, among other errors. What should I try next?
Latest canary (Magisk 24303) might work. See: Release note 24303 and @pndwal note

:).
 

1nsan1-T

Member
Dec 13, 2020
7
1
Latest canary (Magisk 24303) might work. See: Release note 24303 and @pndwal note

:).
I'd tried patching ramdisk and kernel images with the latest version 24.3 and ended up with a bootloop and error for ramdisk patching and no effect with kernel patching. I was thinking I've been patching the wrong partitions, or is there a specific step I've missed;
-Extracted kernel and radisk from the phone, not install image.
-patched ramdisk in magisk(first with v23 phh from @DarkJoker360 then with official magisk v24.3). Both times, boot error/bootloop
-patched kernel images after reflashing unpatched ramdisk. With both versions, no effect, no root.
-Reflashed original images and returned to system, no errors but no root:sleep:
 

AltairFR

Senior Member
Apr 22, 2021
332
159
Huawei P8lite/P8 Lite
Huawei P8
I'd tried patching ramdisk and kernel images with the latest version 24.3 and ended up with a bootloop and error for ramdisk patching and no effect with kernel patching. I was thinking I've been patching the wrong partitions, or is there a specific step I've missed;
-Extracted kernel and radisk from the phone, not install image.
-patched ramdisk in magisk(first with v23 phh from @DarkJoker360 then with official magisk v24.3). Both times, boot error/bootloop
-patched kernel images after reflashing unpatched ramdisk. With both versions, no effect, no root.
-Reflashed original images and returned to system, no errors but no root:sleep:
If you want root your GSi, You can use a Lineage 18 with Dynamic root option
 

victorcastillab

New member
Apr 13, 2022
2
0
Hi All,

I tried install it on my Huawei P8 Kite 2017 but something was wrong. I followed all the Steps but, seems to work fine with the Lineage Logo but, when the configuration language and region appears, the screen blinked all the time so I couldn't configure it. After restart phone pressing power button same happened, and with some new retarts the emui recovery showed down.

I've tried two times and don't know what I'm doing wrong, or what is missed. I've read that perhaps I have to do the process without the Sdcard, because it's now the main storage, and could damage the process.

I'd be very greatful if some "guru" of this post could give me some tips or help me!

Thank you so much in advance!
Muchas Gracias de antemano.
 

AltairFR

Senior Member
Apr 22, 2021
332
159
Huawei P8lite/P8 Lite
Huawei P8
Hi

Use this guide

The complete way to boot a11 on emui8 gsi (prague or warsaw)
Coming from stock emui8

Step 1
1- Install TWRP for Prague (PRA) - version 3.5 or superior (https://twrp.me/huawei/huaweip8lite2017.html)
2- Boot to twrp and make twrp backup ( all available partitions )
3- Wipe system, cache, dalvik/art cache
4- Flash this file 1-Huawei-disk-UnCrypt-v1.2-signed.zip to disable storage encryption or
this file 1-Huawei-disk-Crypt-v1.2-signed.zip to enable it. This two zip change fstab file (vendor partition)
5- Reboot to bootloader

Step 2
1- Flash system img in system image partition with fastboot
cmd : fastboot flash system <drag system.img here>
2- Reboot to TWRP (recovery)
3- Resize system via advanced wipe menu
4- Flash this file 2-Huawei-system-UnCrypt-v1.2-signed.zip to not-allow data encryption or
this file 2-Huawei-system-Crypt-v1.2-signed.zip to allow it
5- (optional) flash patch
1 - Google Apps pico (open_gapps-arm64-11.0-pico-20220215.zip)
2 - Enable AGPS (2 - AGPS-FIX-AltairVendor-v3.3-signed.zip)
5- Reboot to System
6- (optional) install GCamGo (GoogleCamera_2.12.413042791.apk)

Enjoy !!!
 
  • Like
Reactions: 11spqr

victorcastillab

New member
Apr 13, 2022
2
0
Hi

Use this guide

The complete way to boot a11 on emui8 gsi (prague or warsaw)
Coming from stock emui8

Step 1
1- Install TWRP for Prague (PRA) - version 3.5 or superior (https://twrp.me/huawei/huaweip8lite2017.html)
2- Boot to twrp and make twrp backup ( all available partitions )
3- Wipe system, cache, dalvik/art cache
4- Flash this file 1-Huawei-disk-UnCrypt-v1.2-signed.zip to disable storage encryption or
this file 1-Huawei-disk-Crypt-v1.2-signed.zip to enable it. This two zip change fstab file (vendor partition)
5- Reboot to bootloader

Step 2
1- Flash system img in system image partition with fastboot
cmd : fastboot flash system <drag system.img here>
2- Reboot to TWRP (recovery)
3- Resize system via advanced wipe menu
4- Flash this file 2-Huawei-system-UnCrypt-v1.2-signed.zip to not-allow data encryption or
this file 2-Huawei-system-Crypt-v1.2-signed.zip to allow it
5- (optional) flash patch
1 - Google Apps pico (open_gapps-arm64-11.0-pico-20220215.zip)
2 - Enable AGPS (2 - AGPS-FIX-AltairVendor-v3.3-signed.zip)
5- Reboot to System
6- (optional) install GCamGo (GoogleCamera_2.12.413042791.apk)

Enjoy !!!
Hi,

Thanks for your prompt reply, I'll try as soon as my two little boys give me a chance!!👍🏻

Regards!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Hello, released a surprise massive update

    Changelog:
    * Synced with latest LineageOS 18.1 source code
    * Merged May 2022 security patches
    * Fixed UI lags and janks
    * Fixed lags during screen recording
    * Fixed sim card signal icon strength
    * Improved boot time

    Check OP for more info and downloads.
  • 24
    Hi,

    2okPze5.png


    LineageOS 18.1 for Huawei P8 Lite 2017

    *** Stable Version ***

    About
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.



    Working
    * Touchscreen
    * Audio
    * Boot
    * Bluethoot
    * Internal/External storage
    * Mtp / Adb
    * Sensors
    * Wifi
    * RIL
    * Camera
    * NFC
    * FP gestures​


    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
    * you must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! )
    WARNING: You must be decrypted before installing it otherwise it won't boot. (Read second post.)
    * go to TWRP
    * format data
    * reboot to TWRP again
    * do a full wipe (system, data, cache, dalvik/art cache) !
    * reboot to bootloader
    * extract LineageOS 18.1
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    Update
    * reboot to TWRP and do a wipe cache, dalvik/art cache
    * reboot to bootloader
    * extract LineageOS 18.1
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    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 !
    14
    New LineageOS 18.1 update

    Changelog
    * Synced with latest LineageOS 18.1 source code
    * Merged June 2021 security patches
    * Fixed headphones crackling audio
    * Removed buggy AudioFX
    * Fixed random /data corruption
    * Fixed BasicIntegrity

    Check OP for more info and downloads !

    Donations
    Support Group
    9
    New LineageOS 18.1 update

    Changelog
    * Synced with latest LineageOS 18.1 source code
    * Merged July 2021 security patches
    * Fixed styles/overlays reset at boot
    * Fixed ui lags
    * Used proper gpu drivers
    * Fixed graphics artifacts and glitches on some apps
    * Fixed lags while using screenrecorder
    * Performance improvements
    * Fixed some BLE issues

    Check OP for more info and downloads !

    Donations
    Support Group
    7
    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
    5
    Updated decrypt zip to work on latest recoveries !
    Download