[ROM][Huawei][11] LeaOS - Lineage 18.1 for Huawei device (EMUI 8)

Search This thread

shezza1

Member
Dec 11, 2016
10
0
You can "untick" Disable audio effect in PHH Treble Settings(reboot). Enter AudioFX.app and while connected with headphone set, set Reverb: Bass and Virtualizer to 0%.

P.S. After those adjustments audio/sound initialize with delay(couple of seconds). To ged rid of the delay I enabled Phh Treble settings>Misc features>Force-disable A2DP offload.
Thanks. I unticked disable audio effect and rebooted. I ony have speaker mode in audiofx app and those 2 settings, Bass and Virtualizer, are not supported in speaker mode.

Should I have a headset mode in audiofx too?
 
Last edited:

hardcorehenry

Senior Member
Dec 2, 2020
97
62
Thanks. I unticked disable audio effect and rebooted. I ony have speaker mode i audiofx app and those 2 settings, Bass and Virtualizer, are not supported in speaker mode.

Should I have a headset mode in audiofx too?
You have to connect headphenes to your phone, open AudioFX.app and adjust, apply Phh Treble settings, then reboot.
 

Attachments

  • Screenshot_20230515-154013_Trebuchet.png
    Screenshot_20230515-154013_Trebuchet.png
    63.6 KB · Views: 27
  • Screenshot_20230515-154049_Trebuchet.png
    Screenshot_20230515-154049_Trebuchet.png
    93.5 KB · Views: 27
  • Screenshot_20230515-154113_Trebuchet.png
    Screenshot_20230515-154113_Trebuchet.png
    121.3 KB · Views: 26
Last edited:

shezza1

Member
Dec 11, 2016
10
0
You have to connect headphenes to your phone, then open AudioFX.app and adjust, apply Phh Treble settings, then reboot.
R
The headphones were attahched but I cannot see them in audiofx.

There is no issue with the headphones or device aa they were working perfectly with stock rom yesterday
 
Last edited:

shezza1

Member
Dec 11, 2016
10
0
HI,

Just installed April ROM and can't see Netflix on the play store. Do I need to use version 6.26 with this ROM and where wpould I source the apk from.

Thanks
 

shezza1

Member
Dec 11, 2016
10
0
In AudioFX.app touch “speaker icon” upper-right corner and see if you can switch to headset manually.
The ony option is speaker. If I attach a bluetooth headphone I can see speaker and the bluetooth headset but still no headphone option.

Looks like the plugged in headset is not being recognized by AudioFX
 

hardcorehenry

Senior Member
Dec 2, 2020
97
62
The ony option is speaker. If I attach a bluetooth headphone I can see speaker and the bluetooth headset but still no headphone option.

Looks like the plugged in headset is not being recognized by AudioFX

Those settings work for PRA-LX1, maybe you need additional settings for your mediapad. Have you tried Phh Treble settings>Misc features>Use alternative way to detect headsets?
 
Last edited:

shezza1

Member
Dec 11, 2016
10
0
Hi

Thanks for reporting. I just tested, I have the same problem. To fix it you have to go to PHH Treble Settings -> Misc Features -> Audio and check "Force headset switch (Huawei default)", and Disable audio effects

Cheers
HI,

The above fix does not work on my freshly installed April 2023 ROM. Do I need to go bck to a previous ROM to get this working?

Thanks

Mediapd T5 8.0.0.371
 

La_Forge

Member
Jul 20, 2022
22
5
@AltairFR I have used the Huawei GSI Partition kit, but I am stucked at point 8.
After executing "4-ProcessData.cmd" I have followed the Instructions: "Please reboot to twrp and lunch 5-FlashIMG.cmd", but the device does not boot into TWRP anymore. The Phone boots only into the Huawei eRecovery and in the Huawei eRecovery it is not possible to execute adb commands...
 
Last edited:

toshidude

Member
Jan 14, 2015
9
1
Hello,
just want to drop a big thanks. Succeded in installing this on a PRA-LX1. To get the unlock code was very adventureous. I had no idea something like a "test point" exists :)

Kind regards
Alexander
 
  • Like
Reactions: AltairFR
Jun 27, 2009
29
10
Dear community,
Couple days ago, my phone stop working and rebooted itself, I just discovered this when I put it off of my pocket.
Thinking that it was about I pushed a button when I was seated, I do not worry and let the phone booting.

After several minutes, no boot, just the LineageOS animation, and the phone finally rebooted itself to EMUI recovery telling me "Data partition severely corrupted".

I rebooted in TWRP, it took long time, and after having the control, checked the data partition.
TWRP was unable to mount the partition, any action to recover it failed.
So I used Terminal to launch fsck.f2fs tool to try to recover the partition, no way.
The tool told me that there is no error other than the last line "[FSCK] Other corrupted bugs [Fail]" it propose to fix the issue, but still, no possibility to mount it.
data partition is F2FS type, so using e2fsck could not be used.

After different attempts, I finally formatted the data partition, losing my data was not really a big deal. But TWRP failed to do this action, and the only solution was to let the phone booting, falling back in EMUI recovery and use the factory reset function.
After that, I rebooted in TWRP, data partition was here, able to parse it.
So I reformatted with TWRP, to remove potential bloat tools and data pushed by default from EMUI.

I rebooted the phone, normally it take a long time during the first boot, system configuring first startup and deploying default app.
I let the phone trying to boot for several hours, the battery was totally drained.
I charged the phone, let it rebooted under charge, and...... fail.

Rebooted to TWRP, checked the data partition, some folders were created, so the intiial startup seems to done something.
Reformatted data partition ad tried again. No way.

So today I am stuck in first boot step, LineageOS animation.

I think that my eMMC is dead, and the system could not copy/write something at a specific place, implying this situation.

I do not know if it is possible to copy the last boot log, connecting the phone when it is under TWRP should allow MTP transfer right?
Where I could find any relevant information? @AltairFR?

Thanks for your feedbacks.
 

jc700

Member
Dec 5, 2022
18
3
Hi, anyone can help me?. I'm trying to install leaos on my Huawei Mediapad T5 (i'm not new on this), but everytime i reboot It when It finish installing, It keeps rebooting when It has to show the first configuration screen.
 

Eduardo4218

Member
Jun 5, 2023
5
3
19
Perú
Yes, but use huawei partition kit to resize system partitiion
Thanks man! I had a small error when I tried to resize the system but I was able to solve it and continue with the other steps. Everything works well!
Screenshot_20230606-203808_Settings.png


Edit: I am having problems regarding calls. When I try to call, the call ends as soon as it starts.
 
Last edited:
  • Like
Reactions: AltairFR

Eduardo4218

Member
Jun 5, 2023
5
3
19
Perú
Check your apn, your mobile icon is not good
I configured the APN a few times but the error is still the same, I try to call and the call ends but the other person's cell phone does ring and indicates that I am calling.

Edit: I fixed the problems I was having, changed the network type and.... I could call again!
Screenshot_20230609-200602_Settings.png

I also reformatted the internal storage to fix errors I had with some apps. Now everything seems to be working fine, thanks for the help.
 
Last edited:
  • Like
Reactions: AltairFR
Hey!

Had stock emui 8 + root but now I followed the instructions pdf on the first page on how to install TWRP and my OEM Unlock toggle is greyed out. Before I downgraded to EMUI 5, it wasn't greyed out but now it is. I can't get the FRP unlocked. Boot loader is unlocked but not FRP. Weird. Anyone know how to solve this?

Thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Does the rom support signature spoofing for installing NanoDroid/microg? Also is it recommended to use magisk for rooting or there's another?
    1
    Does the rom support signature spoofing for installing NanoDroid/microg? Also is it recommended to use magisk for rooting or there's another?
    Yes this rom support signature spoofing. For root you can use kernelsu or magisk
    1
    @AltairFR To clarify, will I be installing twrp-3.7.0_9-0-prague.img from https://dl.twrp.me/prague/ ? Not the Android 11 Unofficial TWRP? I'm on EMUI 8.0.0.402(C432).

    I already have the original bootloader unlock code for my device, so can I just skip the PotatoNV steps and EMUI 5 downgrade in the ...(en).pdf file in pages 4-6?
  • 24
    Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS

    yUIn6TF.png



    LeaOS is a project which based on LineageOS 18.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Encryption, Signal Strengh, Speed Boot, Assisted GPS, NFC, CAST/Miracast, Media App fixes etc..) and some eremitein patch

    Changelog :


    LeaOS March 2023 version

    • March 2023 SPL
    • Synchronize with last Lineage Source
    • Fix dynamic root functionnality

    LeaOS February 2023 version
    • Synchronize with last Lineage Source

    LeaOS January 2023 version
    • January 2023 SPL
    • Synchronize with last Lineage Source
    • Add more resolution for offline charging


    LeaOS December 2022 version
    • December 22 SPL
    • Synchronize with last Lineage Source
    • Fix selinux display status bug
    • Add more resolution for offline charging (BAH2 support)
    • This version pass now safetynet (enable it in phh trebleapp - misc)
    LeaOS November 2022 version
    • November 22 SPL
    • Synchronize with last Lineage Source
    • Fix NFC bug found in October version
    LeaOS October 2022 version
    • October 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS September 2022 version

    LeaOS August 2022 version
    • August 2022 SPL
    • Synchronize with last Lineage Source
    • Fix minor SE denied ioctl
    • Update Lite Google Apps to 2.6

    LeaOS July 2022 version
    • July 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS Jun 2022 version
    • Jun 2022 SPL
    • Synchronize with last Lineage Source
    • Fix MediaScanner crash and no default sound (ringtone, alarms..)
    • Add support of 8.0.0.412 and superior

    LeaOS May 2022 version
    • May 2022 SPL
    • Synchronize with last Lineage Source
    • Correct missing ui sound
    • Update Lite Google Apps to 2.5

    LeaOS April 2022 version
    • April 2022 SPL
    • Synchronize with last Lineage Source
    • Replace std menu by Lir shutdown menu
    • Remove vndk-29 and vndk-28 libs
    • Remove unused overlay and media files in product folder
    • Support multi-user
    • Add more options in misc menu of TrebleApp (Safetynet, Spoof pixel, Dump system log)
    • Add GCam Go Greatness NS2 (credit to : @RakinTheGreat)

    LeaOS March 2022 version
    • March 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS Febrary 2022 version
    • Febrary 2022 SPL
    • Synchronize with last Lineage Source
    • Update superuser app (thanks ponce)
    • Add support storage encryption (activate by flashing a zip file)
    • Add support of internal storage
    • Add more choice in telephony network type (2G,3G,4G)

    LeaOS January 2022 version
    • January 2022 SPL
    • Synchronize with last Lineage Source
    • Support now dynamic root (Treble Settings->Misc)

    LeaOS December 2021 version
    • Decembre 2021 SPL
    • Synchronize with last Lineage Source
    • Integrate all patches (NFC, CAST, LibAptx, Media..) in the img
    • Add Google Camera Go optional package
    LeaOS November 2021 version
    • Initial build - November 2021 SPL


    Pre-requisite :

    You must have TWRP installed, use this one. To install twrp follow this guide "How to unlock Huawei P8 lite 2017 (en).pdf" or french version "How to unlock Huawei P8 lite 2017 (fr).pdf"

    EMUI 8 version must > 8.0.0.360
    If EMUI > 8.0.0.408 use my tools to resize system partition (https://forum.xda-developers.com/t/huawei-partition-kit-enlarge-system-partition.4545993/)

    Installation (crypt or uncrypt)


    Update (crypt or uncrypt)


    Source Code:

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.4.x (stock 4.4.23+ or Siberia_4.4.302-1.1.zip)
    ROM Firmware Required: EMUI 8
    Based On: LineageOS (AndyGCYan)

    Credits:

    And all the others who tested my patches and helped me improve this ROM

    Support Group (telegram)
    3
    3
    1--You must be decrypted before installing it otherwise it won't boot
    2--resize system
    How to do these steps plz???

    Install a ROM in Android 10 or 11

    1. Start under TWRP
    2. Press the Mount
    3. Press Select Storage and select Micro SD Card (the SD card where you put before your patches). Return to the main menu
    4. Tap Install
    5. Install the Huawei-Decrypt-Emui_8.zip zip (it allows you to remove the encryption). Return to the main menu
    6. Tap Reboot, then tap Recovery. The phone will restart under TWRP
    7. Press Wipe, then “Format Data” (type yes).
    8. Return to the main menu
    9. Tap Reboot, then tap Recovery. The phone will restart under TWRP
    10. Go back to the Wipe menu to empty certain partitions: Wipe menu then Advanced Wipe. Check the partitions: Cache, dalkwik / ART Cache, System then "Swipe to Wipe"
    11. Return to the main menu
    12. Press Reboot, then Bootloader
    13. Connect the USB cable between the phone and the PC
    14. Under a DOS command line, Flash the ROM image: fastboot flash system <image.img file>
    15. Reboot under TWRP (Volume up button + Power button), disconnect the USB cable before
    16. Resize the partition. Wipe menu, then Advanced Wipe, check System then ask for "Repair or Change File System." TWRP displays information about the partition and therefore the available space. Now press "Resize File System", TWRP will resize the partition with the maximum remaining space available.
    17. Return to the TWRP main menu
    18. Install the patches: Install menu and click on the zip of the patches you want to install.
    19. Start normally. If everything is ok it should start without problem and you are under your new ROM

    3
    Thank you. Feel free to let me know which bugs you detect
    2
    Finally LineageOS where headphones can be plugged and detected. Nice! I hope it will be more reliable than DarkJoker's one.