yashsingh1/xdaforums huggingface dataset:
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
This is because twrp on our phone doesn't support encryption-decryption things. So, they can only mount internal storage when you perform a complete data format by typing "yes".
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
I do, but I'm unfamiliar with how to get the recovery.img from the zip file. If you can tell me how to extract it or attach one that would be great!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Actually, flashing it should replace twrp with stock one didn't it?

You can extract it with 7zip. It worked for me.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
What do you mean by flashing it, the update file? I updated from EMUI 5 to EMUI 8 using a update.zip file and HWOTA method so I am not sure if that is the same thing as just flashing the update.zip file. Also, just extracting the files doesn't produce anything useful. I used a firmware extractor from this thread, which comes up with the files shown in the screenshot. Now I'm not sure which file is the stock recovery image. I also tried flashing Magisk for root access and using Flashify to backup the stock recovery image, but the app would just freeze, I'm not sure why.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Well you could directly flash update.zip with twrp.

Wail I'll attach it in a while. Just turned on my PC to search for it and this bloody "working on updates" came up. 😑😑
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Yeah I've faced the same problem with flashify and ofcourse other similar apps. The problem I usually get is that system partition isn't writable. After changing it to r/w, I get an error that boot image not found. (This doesn't happen in flashify, it just freezes). Not sure what the problem is maybe, huawei's anti modding measures...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
This might be the stock recovery(its in between some 10 other recoveries so, not sure). Try it and inform me

EDIT : THIS IS NOT THE RIGHT ONE. STOCK RECOVERY WAS ATTACHED IN POST #1.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
I don't think that is the correct file, as I flashed it and "adb reboot recovery" just causes it to be stuck on the "your phone is unlocked" screen, and so does clicking the factory reset option in eRecovery. I tried extracting the RECOVERY_RAMDIS(K).img file and flashing it, which worked, and successfully failed (lol) to reset the phone.

EDIT: I got into the OS successfully. It is unexpectedly smooth, good job!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
So you liked it? 😊😊

And hey, attach the stock recovery for future reference if someone needs it.

Use the camera patch to fix cam and flashlight issues. It just replaces the libraries. Flash any emui 8 compatible twrp with fastboot. Take a migrate backup in case.

Google Camera GO app works like a charm and is better than the stock one so I recommended using it.

Enjoy your phone! 😃
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
You must thank @phhusson for his legendary builds...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
Yes! I haven't flashed the patch yet but I'll do that soon. I am going to document my entire process on a thread starting from a bricked phone to a fully working phone, and provide all of the appropriate files. I think that it'll make the process much easier for other noobs like me.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
Haha, I'll be sure to!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Great! That's a really good idea.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] dpenra.stha@gmail.com:
how could i get back to emui 8 oreo again?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Well, why do you want to do that?

Anyways, you can just flash update.zip if you are having one or use HWOTA method.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
you can also use the dedicated software "Huawei update extractor"
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
please attach it to the first post, and maybe edit it, to make the tutorial mor efficiant
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
maybe you should cook a twrp flahsable file with all your mods
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
great !!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Its only one mod. So I think it isn't needed. And what about your android 11…? Waiting for that...

I'm also working on AOSP 11 from tomorrow.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
no time for that today
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] OrionThyHunter:
Can you tell me please how did you manage to boot up into the system? I followed every step except the factory resest, my phone is bootlooping now, I couldn't however flashstock recovery, or rather I dont know how. I tried many sock recoveries but nothing seemed to help. (I have read the replies on this post but forgive me I am a noob, I need explanation in simpler way =) )
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] lmaohelp:
You can check out my thread about the process if it helps: here. But since your only problem seems to be with the stock recovery I can just attach the one I used on this post, which I used Huawei Update Extractor for. Make sure you are flashing it to the recovery_ramdisk partition. After reboot into recovery and it should take you to the eRecovery UI where you can clear cache and factory reset.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Download the attached file from @lmaohelp in previous post.

Get a USB cable and plug it to your pc.

Hold the power button on your device for more than 10 seconds(when its still bootlooping).

Or

If its switched off, normally boot to fastboot mode and skip the next few steps.

As soon as the screen gets switched off, press and hold volume down button and plug in your USB cable (This must be done in the right order).

Now the device must boot to fastboot mode.

Flash the file you have downloaded.

Press and hold power and volume up buttons until you see the boot up screen.

Release the buttons after a second or so.

You'll now boot to stock recovery.

Perform a factory reset and wipe cache.

Reboot.

Get a coffee(or whatever you want for successfully booting your device) and explore your device. 😀😀
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Update on AOSP 11:

check out the dedicated thread here.

I was able to successfully boot and test AOSP 11 GSI. It had no bugs and worked as smooth as AOSP 10.

But a simple reboot is causing errors. It means you have to perform factory reset with Stock recovery or eRecovery every time you boot it. This was also mentioned as a known issue in developers.android.com.

So, I recommend sticking with AOSP 10. You can still try it safely without getting back to stock emui 8 and again get back to AOSP 10 without going to stock emui 8 just by directly flashing system images. Feel free to try it and try fixing this issue if you can.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
You should open a new thread about phh's aosp11, and edit post #1 here to include stock recovery file.

Buy using a dedicated threat about phh's aosp 11, this aosp 10 one will be more clear, and more people Wil give a try to phh aosp 11 and look for a solution.

Thx
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Agreed. And updated post #1.

Opening a new thread tomorrow.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] OrionThyHunter:
Thanks a million 😀 that recovery worked flawlessly.

Some notes here and there:

- I don't recommend flashing ROM directly from internal storage, using an SD card will save you a lot of trouble (mainly encryption problem caused by formatting /data). If you are a noob (Just like me) copy the ROM into an external SD card, DON'T format /data partition.

- Keeping the phone pluged to PC will cause booting into recovery to fail, remove the USB after flashing the stock recovery (whilst in fastboot mode)

- Don't try to wipe cache using TWRP, IT WILL NEVER WORK!

- I suggest the camera patch to be flashed using Flashify (or other similar tools), flashing TWRP again after a successful boot up will likely cause the phone to hang at a weird updating problem (that I could never find a solution for)

A little side note: Using the famous "Greenify" app will cause the fingerprint sensor to stop working (which is not supposed to happen on a stock ROM), you can simply fix that by disabling "Alternative Screen Off Mode".

That's what I have for the moment ☺️ Thanks again to @Venkata Lochan Nune and @lmaohelp for your help.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Flashify and other apps didn't wierdly work for me. Did they work for you?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Did you mean this is a device specific problem or something? It always worked on my Gionee S6s.

Thanks for your feedback!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] OrionThyHunter:
As far as I have tested It's a device specific problem (Maybe safe to say a Kirin-ish problem, needs confirmation!). I am used to wipe cache on MediateK devices using TWRP without any issues.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] OrionThyHunter:
Didn't try really, it's just a suggestion. for me I was forced to flash the ROM again but this time with the Camera patch before rebooting into stock recovery.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Same with me.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] dpenra.stha@gmail.com:
its amazing rom but some feature like, portrait camera, huawei health (pedometer), Auto screen bright not working well. My banking app detect root so cant open app. cam scanner freeze while scanning .... i hope these will be fixed soon. thank you...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Portrait mode works on google camera go. Try using it.

Auto brightness doesn't exist anymore, its called adaptive brightness. It learns and gets better the more you use it. But still, there is a manual fix for that. Follow this. You just need to flash the attachment.

To fix the safety net issue (to make your banking apps work) follow this guide. Or try This its more clear. Thanks to @Hami_Do for this guide.

Try disabling battery optimisations for Huawei health's pedometer.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] dpenra.stha@gmail.com:
thank you sir, what about cam scanner. it freezes while scanning.

can you please tell procedure to use HURUupdater so i can get back to oreo again if i need again... update by dload method works but some of the native apps like theme wont work after dload method

i found this link , but i am confused how to do it...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
The freeze is because this is a gsi and some properties don't match between system and vendor. Try using doc scanner. It works perfectly on my device and I personally like it more than Cam scanner. You can also try Adobe Scanner but I didn't try it yet.

I checked out the link you've mentioned. It doesn't mean they don't work, the problem only occurs on some devices. And the post itself is very clear and easily understandable. If you still need somewhat clear instructions, ask me

*And don't call me "sir". I'm still a student LOL 😂

Update : I tested Adobe Scanner, it also works perfectly.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
@Venkata Lochan Nune , do you think you can update post#1 with helps given in post #34 #35 #39 #46 #48, for future users ?

thx !
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] dpenra.stha@gmail.com:
is there any way to have smaller view mode, because provided view mode is still seems bigger.

can i flash opengapp stock on this rom? i tried once, but it is unsuccessful.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
That's what I was just thinking man! Will definitely do it.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Size : settings > display > screen size

Yes. I'm using opengapps nano on vanilla. You have to resize system partition before flashing.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] dpenra.stha@gmail.com:
how to resize?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Twrp > wipe > advanced wipe > select system > change or repair partition > resize.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
what is "vanilla" opengapps? link ?

you should also add thuis link, and describe complet gapps installation in post #1 (including resize)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Alrighty, vanilla means stock one without any google apps (pure android). Will update the 1st post. Opengapps is like an organization which makes flashable installers to get gapps on other variants like vanilla and floss.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
UPDATED post #1.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
I didn't know this vanilla term! Opengapps, I use it extrensivly on devices "non vanilla" so ;)

thx for post#1, very useful for future reader!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
you should clearly write in post#1 :

opengapps.org

ARM64

android 10

nano
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
OK will update post 1.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Updated post #1. please check it out.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] OrionThyHunter:
Few bugs found:

- Screen shots are not working

- Bluetooth is constantly connecting and disconnecting

Is this only mine !?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Screen shots work perfectly on mine. Long press power button and choose screenshot.

Bluetooth works fine in my case. I'll test it again.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
might be a mistake in post #1, the file in the text below should be STOCK_RECOVERY_RAMDISK.img , no ?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
In the twrp recovery I have attached, it shows as recovery itself. In some it'll show as recovery_ramdisk. So if one exists, other doesn't exist. You could flash it to any thing but DONT FLASH TO ERECOVERY. its totally different
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Djiban:
my point is: the twrp.img is indeed TWRP recovery , and not stock recovery. If so your explanation is wrong, to flash stock recovery, the command is not

adb push -p twrp.img /sdcard/

but

adb push -p STOCK_RECOVERY_RAMDISK.img /sdcard/

right?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Opps. I forgot to modify it after editing the procedure... Hell MAN!!!! I'll update it. 😶🙄😔
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Spiteful:
Hi, I was using the TWRP Recovery provided by the in the post, but for some reason I was not able to resize the System partition to install gapps. Is there something I have to do to allow the partitions to be resized?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Unmount and remount system partition as writable or reboot to recovery again
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Spiteful:
I tried the second method in this video which also did the trick, apparently older versions of TWRP do not support resizing of partitions. I will try your suggestion and let you know if that also works.

I ran into another issue after flashing in gapps where I get stuck in 'Just a sec...' after declining to allow connecting to WiFi. There is some window that flashes away really quickly so I cannot see what it was saying.

Edit: It's phhusson's GSI AOSP 11 that seems to be having trouble with gapps. If you flashed the phone with AOSP 10 image and gapps, the set up process work. Also alternatively instead of using system-quack-arm64-aonly-vanilla.img, you can also just use system-quack-arm64-aonly-gapps.img which comes with gapps preloaded into the image.

Edit2: I took a leap of faith and tried flashing a TWRP 3.5.2 build from haky86 and I was able to get it to boot! I guess it really is true that the ROMs and Recoveries for the Hi6250 (EMUI 8) are interchangeable. The partitions seemed to look different in the new version. You can still downgrade to an older TWRP build by flashing the recovery ramdisk which is a good thing. The problem is that if you flash images using the new TWRP build, Android won't boot up.

https://xdaforums.com/t/twrp-figo-emui-9-x-twrp-3-5-2-for-huawei-p-smart-2018.3980019/
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Spiteful:
Was anyone successful on installing Magisk on pphusson's GSI roms? I tried to install 22.1 and 23.0 and both failed to work.

For anyone also trying this, don't forget to back up your /boot partition in TWRP. Installing Magisk modifies the boot.img and if it fails to work, you can restore the image without having to dload back to EMUI 5 and upgrading your way back up again.

Edit: I was able to flash in a working Android 11 build by DarkJoker360. There is no need to flash back the stock firmware to fix the boot loop. You just need to flash the zip that decrypts the storage just one time. The data wiping seems to work in TWRP as well. You should now just be able to use a much newer version of TWRP + Android 11. It seems to also have the ability to support Magisk.

https://xdaforums.com/t/rom-prague-11-lineageos-18-1-for-huawei-p8-lite-2017.4275551/
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Magisk is totally different in our device. See P Q R manual fixes thread in xda for its installation procedure and files. You can also find them in the telegram group. Android 11 has boot issues on our device. So, you need to decrypt the device first.

Umm sorry didn't see your full message.

That isn't needed. You can see my thread on getting back to emui 8 in the guides section.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Spiteful:
I was looking through that P Q R manual fixes posts and I think I found it.

https://xdaforums.com/t/gsi-p-q-r-manual-fixes-for-hi6250-devices-emui8.3936745/post-85370897
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Great !
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Haytham Tantoush:
hey thanks for the build apreciate your work for what seems a dead phone on all threads.

i was just wondering if i could flash havoc gsi since it is based on aosp 10 and run the same fixes you did will it work or am i just gonna have to try it out?

edit: just found out you said you can use other gsi builds
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Havoc seems to work fine as per some users. Nevertheless you could try it.

See this group for many more roms, fixes and support : https://t.me/hi6250group.

The latest tested havoc one https://t.me/hi6250group/179459 (https://sourceforge.net/projects/ha...20201230-Official-arm64-aonly.img.xz/download)

Remember they might have small bugs as they are gsi's.

Good luck.

PS. When there's android 11, why did you try the old 10?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Haytham Tantoush:
the linage os18.1 by DarkJoker360 post was good but im aiming for something more stable if the 11 is as stable as the 10 link me would appreciate it
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
DarkJoker's Lineage OS was the most stable ROM i've ever used. you can find it in the telegram group i've mentioned or you can even find it here : https://t.me/DarkJoker360 (his own channel)

Direct Link : https://darkjoker360.github.io/2021/LineageOS-18.1-P8-Lite-2017/
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Haytham Tantoush:
thanks will try it out.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] rndm-guy:
So this was my first custom rom installation and I clearly didn't bring a human brain as recommended...

Turns out I didn't read that you have to extract the .img.xz and just deleted the .xz.

Followed by 2 hours of stupid me trying to install a compressed image and wondering why it softbricked my device...

At least I learned lot during this session and seeing the Android logo in the end was worth it. Won't be my last flash for sure!

Thanks a lot for your work and effort that went into this :)

I'll put my steps here from bootlooping (softbrick) to success, maybe it helps somone:

0. Don't Panic, you don't have to open your device again!

1. Shutdown phone > Volume down + plug in cable > Fastboot mode

2. on CMD: "fastboot flash recovery_ramdisk [TWRP image from Post #1]" > succesfull

3. for some reason I can't get into recovery (TWRP) with Volume Up + Power so I make a factory reset in the original eRecovery which brings me to recovery (TWRP)

4. on CMD: "adb push -p system-quack-arm64-aonly-vanilla.img /sdcard/"

5. on TWRP: install > install image > system-quack-arm64-aonly-vanilla.img > system image > swipe.

6. on CMD: "adb push -p STOCK_RECOVERY_RAMDISK.img /sdcard/"

7. on TWRP: install > install image > STOCK_RECOVERY_RAMDISK.img > system image > swipe.

8. in TWRP I choose reboot to recovery

9. EMUI original recovery opens > Clear Cache > Factory reset (Fails at ~7%) > Reboot

10. :)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
🤣🤣🤣🤣 You've literally made my day with this.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
Corrupted data partition. More common on android 11 roms.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Dartypier:
Hi @Venkata Lochan Nune thanks for the guide. I installed AOSP GSI 10 on my Honor 6x, it works great, but I have two problems (I already tried to reflash the ROM):

The minimum brightness is too high (that's a real problem with the battery). I found the actual brightness value under /sys/class/leds/lcd_backlight0/brightness (the minimum i get is 160). Lowering it works (I lowered it to 5), but if you lock and unlock the phone, the value is resetted to the minimum (that is 160 in my case). So this strategy doesn't work so well.

The other (minor) problem I encountered is the screen, that in some apps is a little blurred.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] jaYINGLING:
@Venkata Lochan Nune. Thank you, this guide was great and helped me make my old 6x relevant again.

I'm trying to do something that I'm hoping you can shorten the learning and development curve on. The overall goal is a very low power headless server running docker.

Running docker natively on Android has been demonstrated, but requires building a custom kernel.

https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d74bd770dce27

Rather than starting from scratch, do you still have the modified kernel source files that you built when making this ROM?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] MrBrowseGierza:
did you fix the problem of high brightness?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] tberma:
I wonder if I can install Android 13 on Honor 6X or Only Android 10 GSIs.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Venkata Lochan Nune:
AB2A Converter is deas AFAIK. So no Android 12 or 13 builds.. check hi6250 group for latest ones.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] tberma:
Can

Can not access it in the group. Please upload it to a mirror.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] tberma:
It did not work. If you are sure, then do a tutorial about it. Tried makemesar.zip It did not work also.