yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam General] vze33jng:
Greetings.

After searching through the forums, I have what I believe to be a different variation of the volume issues with the TyTN models. Please correct me if I'm wrong.

When using .mp3's (and even preloaded tones) for custom ringer-ID's, my phone defaults to maximum blow-my-speaker and distort-the-crap-out-of-the-music volume. My device volume slider is set to the second notch, as in

one away from off

.

I have looked for a universal ringtone volume setting in "Settings>Sounds & Notifications>Notifications>Phone: Incoming Call" to no avail. When I play the same mp3 in Media Player, the volume is fine and sound is high quality. If I go to my contacts and tap the custom ringtone to play a sample, it is the same. When the ringtone is triggered the next time, however, it is the same unbearably loud squawking distorted crap.

Is there a registry fix for this? Maybe a setting I have overlooked? I am considering cooked ROMs, but until I decide which one I want and see a need to change, I'm sticking with this one.

Thanks for your time!

-Graham

I am running the latest official at&t WM6 release

(About screen)

CE OS 5.2.1622 (Build 18128.0.4.4)

(Device Info screen)

ROM V. 3.62.502.3

ROM d 10/11/07

Radio 1.54.07.00

Protocol v 32.86u.7020.23h
[8525, TyTN, MDA Vario II, JasJam General] vze33jng:
You coulda just told me I'm a moron with no brain!

That slider on the right that looks like a phone ringing, and lowers the volume of ringtones... I thought it was the in-call volume.

Sorry for the waste of time... Thanks for the forum.

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

DarkJoker360 AOSP 11 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 root method read this post, for rooting with magisk read this instead.

* If you face corrupted storage issues you need to go back on emui and re-install the rom.

* 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.
[P8 Lite (2017) Development] hardcorehenry:
Hi, I flashed yesterday AOSP 11via fastboot, storage decrypted with recommanded TWRP using edited fstab.hi6250. Rom seems to work better for me than AOSP 10, screen recorder works, backlight works, already resolved problem with bluetooth(connected/disconnected) by disabling HD Audio in developer options.

Battery drainage while using worries, but it is too early to say, still testing it. There is no way I can get NFC fix working(never could on any custom rom) so obviously I’m doing something wrong. Hope I’ll figure it out.

Thanks @DarkJoker360, great work!

View attachment 5194331 View attachment 5194333

EDIT: Flashing NFC fix worked and it is present in settings(Connected devices), but it's absent in status bar(I can live with that;))
[P8 Lite (2017) Development] piterconlai:
Hi . how can i "resize system" ?
[P8 Lite (2017) Development] latviandude:
Go to twrp recovery, press "Wipe" Then choose "Advanced Wipe". After that select/check "System" box and then press on "Repair or Change File System" and then you will see down "Resize File System" - press on it and done ur System has been resized. :)
[P8 Lite (2017) Development] piterconlai:
Hello I would like to ask you some information

- the bluetooth headphones work?

- How's the battery drain going? More or less how many hours of screen does it make?
[P8 Lite (2017) Development] DarkJoker360:
Added to AOSP 11 accent, font and icon shape picker (like theme picker), now working on an aosp icon pack picker (aka styles) !
[P8 Lite (2017) Development] hardcorehenry:
I made more thorough research, hope it’ll be useful for further development.

Battery:

When idle(sleep) it looses 1% overnight, when only screen on battery drain is 1% per 10 min, when only stopwatch on it looses 1% per 5 min. Checked without SIM and brightness level 45%. Now I’m going to let it drain completely and charge again. Maybe this results are normal(right define normal:D) and needles to worry about.

Bluetooth:

After pair my earbuds automatically trying to switch to aptX audio codec(they have aptX, AAC and SBC support) without success(connected/disconnected again and again), not possible to chose other codec when HD Audio in developer options is enabled. When disabled it automatically chooses SBC(without possibility of change), but this codec works without problems.
[P8 Lite (2017) Development] piterconlai:
Thanks for the reply

so can you do 8 h of screen with this rom?

Have you tried if the blutooth smartwatch works by accident?

Last question :

Would it be possible to go back to a previous version if I didn't like it? I am currently using lineage 16 and I am very happy with it
[P8 Lite (2017) Development] hardcorehenry:
Well you have to calculate yourself from data I provided or flash rom and find out.

I don’t have such device.

If you are more interested in comfort than struggle, testing and help DEV to perfect this rom don’t change anything. Going back means flash and install everything from scratch.
[P8 Lite (2017) Development] Junkilito:
I'm always getting an error when flashing system img via fastboot...

error code : Invalid sparse file format at header magic

The system partition can't be written after the first sparse.

I tried with linux and windows, changed the usb cable but nothing change.

Is there anything to do before this operation except the ones in the insttructions ?
[P8 Lite (2017) Development] hardcorehenry:
I’m not sure I also had this warning( Invalid sparse file format at header magic) but after a while flash went from beginning till the end without problems. Two things come to my head: outdated platform-tools or/and you are on wrong firmware(take a look at screenshots DarkJoker 8.0.0.400 and mine 8.0.0.402), but as I said not sure and it’s pure guess from my side. Wait for second opinion.
[P8 Lite (2017) Development] Friedensfurz:
I have exactly the same problem. Adb also gives me this error, even though it always continues flashing though and also finishes then.

The ROM is however never bootable for me and I can't figure out what I have done wrong. I was on 8.0.0.402 before and used AEX 9 ROM just fine.

What version of TWRP did you use for successful results? I can't find a newer one from pretoriano80 but 3.2.1.0. Maybe that is a problem?

Regards
[P8 Lite (2017) Development] hardcorehenry:
Hi,

I’ll try exactly step by step how I did it(I’m on macOS so there might be small differences). When on stock after unlocking bootloader and flashing TWRP(took from this post), you need to copy on your external sdcard or USBOTG NFC_fix.zip, gapps(optional) and fstab.hi6250b.zip or edit your own from /vendor/etc like in this post. Boot into TWRP (backup just in case your vendor partition)and either flash fstab.hi6250b.zip(easy way) or replace fstab.hi6250 in /vendor/etc with edited one via TWRP file manager(harder way). After flashing/replacing enter in TWRP into Wipe and Format Data>yes then reboot into TWRP, wipe: cache, dalvik cache and data and reboot into system. You should reboot into ugly looking stock rom. In settings>security>more you should see Encrypt phone that means storage is decrypted. Enable debug and confirm via adb and boot into TWRP. Make backup(ramdisk, kernel, data, system) enter section Wipe>Advanced Wipe and wipe Dalvik/ART Cache, Cache, Data and System. Don’t Format Data again because most probably it'll f*up Internal Storage besides internal storage is already decryptet. Reboot into bootloader. Run in terminal(macOS) or whatever is used in Windows/Linux:

fastboot devices

fastboot flash system drag and drop aosp-11_prague_20210117.img

Reboot into TWRP, resize System if needed, flash NFC_fix.zip and gapps(optional).

Wipe Cache and Dalvik, reboot and that should be all.
[P8 Lite (2017) Development] DarkJoker360:
It is a know "issue", just ignore it and boot it.

It is most likely a warning.
[P8 Lite (2017) Development] DunoCZ:
Nope it's caused by new version of official firmware for this phone, system partition on newer versions is 2GB on b388 is 3GB.
[P8 Lite (2017) Development] hardcorehenry:
That would explain why in the past I had troubles reflashing even stock SYSTEM.img via fastboot on latest official firmware. @DarkJoker360 maybe it’s worth mentioning that flashing anything on latest firmware is not advised, and firmware should be downgraded(latest safe confirmed working firmware 8.0.0.402[service rom] or 8.0.0.400 [the same as developer's]).
[P8 Lite (2017) Development] DarkJoker360:
I recommend .360 firmware or .400 (the one I am using)

Newer firmwares with newer security patches may refure to boot due to some Huawei changes for avoiding modding.
[P8 Lite (2017) Development] Friedensfurz:
Thanks for all of your help. I managed to get AOSP 11 to boot, the reason why it initially just bootlooped for me was that I did not directly come from Stock ROM. Very weird. Following @hardcorehenry 's steps worked fine. Is it somehow possible to get Magisk going on this ROM? I read the AOSP 10 thread and installed the "magisk phh v21.0".zip file, but now I am stuck on the "Your device cannot be trusted, your device is booting" screen. Any ideas for this? Many thanks.
[P8 Lite (2017) Development] DunoCZ:
No magisk at the moment, I'm sticking with A10 untill Magisk 19.3 will work on this rom (need to pass safety net)
[P8 Lite (2017) Development] hardcorehenry:
If you are able to reproduce steps I described in this post, you shouldn't have any problems.
[P8 Lite (2017) Development] AltairFR:
The correct sequence is

run fstab.hi250b.zip , reboot and format data
[P8 Lite (2017) Development] LesterDMolester:
Try this:

Flash the fstab.hi250b.zip while using this recovery.

Reboot to recovery again.

Wipe Cache, Cache/Dalvik, Data and Internal Storage.

Reboot to bootloader and flash the new recovery that DarkJoker360 made.

Go back to recovery and wipe those same partitions. (THIS TIME WIPE THE SYSTEM PARTITION TOO)

And flash the system.img via TWRP.
[P8 Lite (2017) Development] B3rtm3n:
Thanks, I could not flash the system.img via TWRP because it asked the following

select partition to flash image

and it gave plenty of options and I did not knew what to choose.

I flashed using fastboot and it is working ... THANKS A LOT, you really helped me out! I took me soooo many hours trying and this did the trick.

So the following steps I did to get it working (for anyone else who is a noob like me)

- Boot stock rom (download correct rom version for your device for downgrade from here PRA-LX1 8.0.0.360 til 8.0.0.400). Use dload to downgrade. Afterwards reboot system.

- Log in to Google/Huawei services (else you can not enable OEM unlock)

- enable developer options

- in developer options enable USB Debugging + OEM unlock

- boot to bootloader holding volume down + start button

- in fastboot ADB console type the following : fastboot oem unlock (+ the unlocking code)

- in fastboot console type fastboot reboot

- system restarts and does a factory reset

- boot into bootloader

- install this recovery by typing in ADB fastboot console fastboot flash recovery_ramdisk twrp.img

(rename the file you downloaded to twrp.img)

- in fastboot console type fastboot reboot

- while system is starting hold volume up + down at the same time + start button when

release buttons when boot menu from Huawei is starting warning the device is no longer safe

and hold again buttons volume up + down to enter TWRP menu

- flash this fstab.hi250b.zip

- reboot and go enter again TWRP menu

- Wipe Cache, Cache/Dalvik, Data and Internal Storage

- reboot (in TWRP MENU choose bootloader)

- in fastboot ADB console install this recovery using ADB fastboot by typing fastboot flash recovery_ramdisk twrp.img (rename the file you downloaded to twrp.img)

- in fastboot console type fastboot reboot

- Go back into TWRP recovery and wipe Cache, Cache/Dalvik, Data, Internal Storage + system

- reboot (in TWRP MENU choose bootloader)

- in fastboot console install the system - (run: fastboot flash system <drag system.img here>)

- Reboot into recovery TWRP menu and in wipe resize system partition

- install from TWRP menu NFC_fix.zip and the VoLTE-FIX

- install opengapps

reboot system

Thanks everyone, I just got a new working smartphone

Ps. this also works for the LineageOS 18.1
[P8 Lite (2017) Development] LesterDMolester:
I'm glad it worked out for you ☺
[P8 Lite (2017) Development] damiendroid:
Hi,

AOSP11 installed without major problem and it's now working like a charm on my P8 Lite 2017 : impressive work, thank you DarkJoker360.

The only problem I have is I tried the new kernel and everything's fine except for calls : audio is working but the dialer isn't displayed as expected and explained by DarkJoker360.

I found the Catuva21 thread (https://xdaforums.com/t/kernel-morfuz-5-6-eas-oreo-for-p20-lite-by-catuva21.3840969/) but all the MEGA dl links are dead.

I would be very grateful if someone could provide it or a working link.
[P8 Lite (2017) Development] speedson:
Hi Joker i see that you have build number with 400 C432 without Error. Is that because of new Kernel? If i remember you had 378 C432 on older Screens and working build number.

if i have latest Stock 398 C432 on my p10 lite i never get it work without error. after downgrade to 378 C432 it works on custom rom without error. so how about that...can i upgrade to stock rom 398 again and get then custom rom then without error in build number.

How about the selinux status...is permissive possible with the new kernel? But i think i know the answer right now :)

great thanks for all the work you Hami and all the others doing..love it

solong

speedson 🤘 🙃 🤘
[P8 Lite (2017) Development] Everywhere I go:
Hi can I ask why cant we set the selinux to permissive in this device
[P8 Lite (2017) Development] LesterDMolester:
Hey bro i'm running it on build WAS-LX1A 8.0.0.394 (C432), But i'm using this recovery and it lets me boot the system.
[P8 Lite (2017) Development] speedson:
Hi...

the stock Kernel does not have funtionallity to set the Selinux State to permissive. Cause of this its not able to get dolby atmos or Viper4Android working. So you need a custom Kernel for that. I found after searching a while the Elemental-KernelV5.8-EMUI8.0.zip and the Version 21 indeed have Selinux permissive but after flashing this Kernel. My WAS-LX1A wasnt possible to connect with Wlan any more. But i did notice that the Developer from this Elemental-KernelV5.8-EMUI8.0.zip is back in Buissnes here on XDA. So we will see if something will coming in the future :)

solong

speedson

🤘 🙃 🤘

Hi...

the Problem if i startet from Stock 8.0.0C432B398 is the Build-Number Error. It doesnt work with B398 Firmware and it doesnt matter wich TWRP i used for flashing. The A11 v2.5 AIO fix doesnt help and all other patches also doesnt help ti fix it.

So one Day take a look at the Screenshot from Darkjoker360 and there was the B378 C432 Firmware in Build Number without Error.

Cause of this i downgrade to the same for my Device and after that the Error was never seen in my Build Number...wayne wich Firmware i did test.

Now i see on newer Screen that he have now B400 C432 on his Device. Cause of this i asking him. I know he have p8 lite 2017 and p10 lite but Lineagos 18.1 and AOSP firmware running on on my Device to. Now there is a new Kernel for p8 lite 2017 and same time he have now B400 C432. Is it cause of the new Kernel and did the Kernel running on p10 lite? Thats the big Question that i asking for :)

BTW i didnt use TWRP 3.4.0.0 cause i often have Problem that i doing the flash step by step like i should and get bootloop. Then i have notice that i didnt get bootloop when i use fastboot and the rest of the step by step and i wonder....it works pretty well. So i change my TWRP to twrp_p10_lite_0.5_test.img. Since that i never have Problems like bootloop.

solong

speedson🤘🙃🤘
[P8 Lite (2017) Development] curious13:
hello, first of all, I would like to say that the rom is very nice and fluent, but the camera gives an error to insert sd card and no files can be downloaded from the internet
[P8 Lite (2017) Development] AltairFR:
Hi.

I have already signal this bug and post the workaround , in a Lineage 18 post, see :

https://xdaforums.com/t/rom-prague-11-lineageos-18-1-for-huawei-p8-lite-2017.4275551/#post-85020833

So after format data you must set the right permission and owner on /data/media/0 subfolder or (/data/media)

Just open a terminal in TWRP and type

cd /data/media

chown media_rw:media_rw 0

chmod 770 0
[P8 Lite (2017) Development] Djiban:
Hello all, We plan to try this rom on Honor 6X, if somebody is interested to help:

https://xdaforums.com/t/development-active-android-11-on-huawei-honor-6x.4283969/post-85115795
[P8 Lite (2017) Development] kkgodygah:
goodjob，thanks a lot
[P8 Lite (2017) Development] damiendroid:
Hello Passi36,

Did you finally find it ?

I thought I found it on this thread : https://xdaforums.com/t/rom-morfuz-v4-0-gt-emui-8-0-kangvip-p8-lite-2017-by-catuva21.3784634/

But still broken. Is there a copyright issue when it comes to catuva21 call fix mod ?
[P8 Lite (2017) Development] GizmoTheGreen:
I hear this GSI ROM works on p10 lite why have't you posted in p10 lite forum bro @DarkJoker360 :cry:

I'm testing tonight!!!

working great just really sensitive exactly how to install...
[P8 Lite (2017) Development] aryan k:
Hey, any way this rom can be used on Honor 6x BLN-L22? I've seen some posts that claim P8 lite android pie was usable on Honor 6x don't know about this one. Thanks in advance.
[P8 Lite (2017) Development] brackenhill_mob:
Try it and see ;) Honor/Huawei phones are very difficult to brick. I've got the same phone in a drawer so I'd be interested to know how you get on.
[P8 Lite (2017) Development] aryan k:
I've experimented a lot in past and even ported ROMs so I'm all in, the problem is that it's my sis secondary phone and she well loves it as it was her first phone and now she wants to get newer android for some reasons, but will only give green flag if it's completely stable lol, trying my best though xD, Will report back if I am successful :)
[P8 Lite (2017) Development] AltairFR:
Install my last altair patch for GPS (see https://xdaforums.com/t/rom-prague-11-lineageos-18-1-for-huawei-p8-lite-2017.4275551/post-85400763)
[P8 Lite (2017) Development] Gtkall:
Hi! I used this reply to install the rom and everything went smoothly!

I have a few things to report:

- the rom is a bit more taxing on the battery, so a charge per day will be required (keep in mind that the current device in use is heavily used though)

- there seems to be an error with formatting SD cards. Specifically, the format "for this device" option gets stuck at 40%.

Other than that, the rom runs great and hardware support is almost manufacturer-level. Great job!
[P8 Lite (2017) Development] KukhtoSlava:
Hi! Please, help me. I stopped at a step 'resize system'

Error message:

Repairing System before resizing.

Repairing System using e2fsck...

/sbin/e2fsck -fp /dev/block/mmcb1kop51 process ended with ERROR: 4

Unable to repair System

Thanks
[P8 Lite (2017) Development] speedson:
Hi...

why repairing before resizing???

just follow the pictures...

solong

speedson
[P8 Lite (2017) Development] domcars0:
Hi,

May be an information for those who have bluetooth aptX sound devices. Probably, on your P8 Lite with LOS 18.1, the bluetooth Audio HQ (aptX) does not work out of the box. But I've just discovered this post (https://xdaforums.com/t/gsi-p-q-r-manual-fixes-for-hi6250-devices-emui8.3936745/post-85648803 ) , I've tried it and it works on my P8 Lite with LOS18.1 (at least with SMSL AD18 digital amplifier).

Have a nice day ;-)
[P8 Lite (2017) Development] effendi360:
The "/Huawei/fstab.hi6250..ei/fstab.hi6250b.zip" file could not be found or is not available. Please select another file

HELP ???

OK I managed to install but I'm gettin error: THIS DEVICE ISN'T PLAY PROTECTED CERTIFIED
[P8 Lite (2017) Development] effendi360:
OK I managed to install but I'm gettin error: THIS DEVICE ISN'T PLAY PROTECTED CERTIFIED
[P8 Lite (2017) Development] effendi360:
THIS IS THE WAY EVERY GUIDE SHOULD BE WRITTEN
[P8 Lite (2017) Development] effendi360:
I installed this ROM and I have issue with bluetooth connection.

It's very lagy when I'm using smartphone during connention with bluetooth speaker...

Any solution ?
[P8 Lite (2017) Development] PanRebigiusz:
After flash this rom on huawei p9 lite 2017 my phone reset and go to erecovery. What should I do? ( sorry for my english)
[P8 Lite (2017) Development] sdkyron:
Where is the option to disable gesture hints in this rom, i just can't find it anywhere :/
[P8 Lite (2017) Development] SquallDNA:
I tired flashing Nikgapps via twrp. It was successful. But after reboot, no apps were added. Also, im not sure if the Volte fix work. There is still no volte toggle.
[P8 Lite (2017) Development] Oğuz Karagöz:
Hi. My device is P9 Lite (P8 lite) 2017 8.0.0.375 (C464). Can I install this ROM?
[P8 Lite (2017) Development] paralias7:
Hello. I am on android 8 stock rom. I have a 128GB sd card. Unfortunately as we all know it does not give us the option to set sd card as expanded internal memory(if i say this correct) as it was on android 6. If i install this custom rom will i be able to make my sd card as internal memory? I am asking because i have free space problems! I know that there is an option to do this via adb command,but i am asking for original option of making this through the os as it was on android 6.

Sorry for bad english!
[P8 Lite (2017) Development] TMHAKIM:
@DarkJoker360 I am having SIM issues like the SIM would be detected as "1B Meals DU" and goes to No Service
[P8 Lite (2017) Development] TMHAKIM:
something i feel that huawei is trash in modding
[P8 Lite (2017) Development] excelsi:
Maybe somebody can have a look here on my newbie problems (3 posts on this page). Try to get this Android 11 Image running here on my P10 Lite and have problems with a bootlop after Twrp Wipe and also issues to get newer Twrp Versions running

https://xdaforums.com/t/rom-10-darkjoker360-aosp-10-for-huawei-p10-lite.4008983/page-9
[P8 Lite (2017) Development] polux6:
Hello, after obtaining a P8 lite 2017, I tried to follow the installation procedure for AOSP 11. I think I followed the procedure correctly until the reboot after the NFC flash, but the phone remains stuck on the android logo for several minutes then reboot.

Do you have an idea of the symptom and solution to fix it?

Thanks in advance!
[P8 Lite (2017) Development] ncc1977d:
When should the Android 11 Kernel be installed ?

Before or after rom install ?

Edit:

Problem solved.
[P8 Lite (2017) Development] polux6:
It's OK, i switch on lineeage OS, but I think the ROM version was not correct (8.0.0.408)
[P8 Lite (2017) Development] ncc1977d:
You have to downgrade your firmware before to 360-400.

I used "Huawei P8 Lite 2017 PRA-LX1 PRA-L31 Prague-L31 8.0.0.366(C432) Firmware Android8.0.0 EMUI8.0.0 05014FFV" for downgrading.
[P8 Lite (2017) Development] umitto6:
merhaba, p9 lite 2017 (pra-lx1 c464) cihazımı HiSuite ile downgrade yaptım. emui 8.0.0.376 ve 5.0.2 ve Hindistan. şu an ise upgrade yapamıyorum. Sistem güncellemede yeni versiyon yapılmalıdır. eKurtarma ve menüler arasındaydık. Daha önce hiç uğraşmadım bilgim "0". En basit yolla nasıl upgrade yapabilirim ?