Internal memory loss - Installing twrp - Locked BL - Mi Max 32GB - Xiaomi Mi Max Questions & Answers

Hi Guys,
I installed TWRP in my Mi Max (32GB) (locked BL) yesterday by replacing stock recovery.img with twrp image and flashing that miui8 dev build through MiFlash in EDL mode. After that my total space was showing nearly 8GB.
To mention, I followed all steps properly like clearing dalvik and cache as well as formatting system, data, internal mem but the same happened.
Again I completely removed mods and installed stock, 24GB space was regained. But now when this time also I installed Resurrection Remix CM13 in the same way as no other way worked for locked BL and unlocking bug has really frustrated me, same thing happened.
Somebody please take up this issue and help me. I wonder how people who installed CM13 RR on locked BL are not facing this issue..

hi karanhv post ur question in q&a forum that way more people will be able to respond to u . anyways from what i gathered ur trying to install global developer build over the global stable that came with ur phone so that u could unlock ur device so that u could flash custom rom like cm or rr . good news is that u can do that without unlocking ur bootloader just follow this guide here from step 1-17 : http://forum.xda-developers.com/mi-max/how-to/guide-install-global-miui8-root-t3435594 . just substitute the rom with cm or rr(personally tested by me on global dev rom.)
but things get a bit tricky if u want to stay on stock miui but want to have a custom recovery and root.skip steps 12,13,14,15. and go thru steps 16 & 17.now u will have stock miui with twrp recovery . now if u want to update the stock miui.go to updater app> click the 3 dot button on upper rt side> click on "download update" > the update will downloaded to "downloaded_rom" folder in ur internal storage.now boot to twrp recovery by switching of phone & switching it on again this time holding the vol+ button while it boots up.now after u boot into twrp recovery ,install the zip file that has been downloaded in the "downloaded rom" folder,immidiately after the install,flash supersu zip.now dont reboot yet, using TWRP's file manager navigate to system folder and delete file named "recovery from boot" and then reboot into system thus u will be updated on stock miui while still retaining root and twrp recovery. hope this clears up for u .if u follow all these steps u wont be faced with any memory loss

easy solution
karanhv said:
Hi Guys,
I installed TWRP in my Mi Max (32GB) (locked BL) yesterday by replacing stock recovery.img with twrp image and flashing that miui8 dev build through MiFlash in EDL mode. After that my total space was showing nearly 8GB.
To mention, I followed all steps properly like clearing dalvik and cache as well as formatting system, data, internal mem but the same happened.
Again I completely removed mods and installed stock, 24GB space was regained. But now when this time also I installed Resurrection Remix CM13 in the same way as no other way worked for locked BL and unlocking bug has really frustrated me, same thing happened.
Somebody please take up this issue and help me. I wonder how people who installed CM13 RR on locked BL are not facing this issue..
Click to expand...
Click to collapse
I had the same problem with 64gb version.
In twrp go to wipe
Click option to delete data partition
It will tell you all data will be deleted and encryption disabled.
After data partition gets deleted twrp will report proper internal space, and ROM will also report proper internal space.
Be sure to backup everything before.

Related

How to flash official nougat without wiping internal storage?

Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Edit : Nougat running on my op3.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
anshulajain said:
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Click to expand...
Click to collapse
I don't have any issues with ext4, infact i do feel ext4 is more stable than f2fs so file system is my last concern. Thanks for your method, but then how did u root again? Installing nougat is fine but what after that? I have read that you can't use modified twrp without formatting internal memory first, as it'll show you the pin issue. Let me know how do you propose a safe method to achieve root.
Renosh said:
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
Click to expand...
Click to collapse
Yes i am encrypted, rooted, stock OOS 3.2.8 + Franco kernel. Official TWRP(not modified). I am using ext4, never used f2fs at all. The time to backup data and then to restore it all back is the reason formatting is not an "preferred" option for me. I can do it, but i would have to wait until i find enough time to do the whole process. I am in a full time job, so i hope you would understand.
Puddi_Puddin said:
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
Click to expand...
Click to collapse
Well this again defeats the purpose of my original question, but thanks mate. I would definitely read the guide if decide to switch to f2fs.
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Puddi_Puddin said:
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
Click to expand...
Click to collapse
Thanks a lot for informing me mate. I really don't want to decrypt my storage as of now. I guess flashing stock recovery is the only solution now. Will hope someone would pick up the twrp and update it.
anshulajain said:
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Click to expand...
Click to collapse
Seems like stock recovery is the best way as of now. Seems like I'll have to love without root until someone updates twrp to support encrypted storage.
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Zielony360 said:
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
Click to expand...
Click to collapse
That i already knew mate. But i WANT my storage to remain encrypted. And that's the issue with modified TWRP. You can't enter into recovery on that if your storage is encrypted.
kpmohamedhussain said:
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Click to expand...
Click to collapse
Again, "You can't enter into recovery on modified TWRP if your storage is encrypted." So i won't be able to enter into twrp in the first place, let alone flash anything.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Go to twrp. Press backup. Select only data. Save to PC youre backup for safety..
3.2.8 it's Android 6, 4.0 it's Android 7. Some apps might not work from base to base.
If you want to change to F2FS it will format youre phone, wipe phone full internal memory. If you want to change it back to ext4, same.
Clean flash, full wipe it's always better.
dmoses1969 said:
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Click to expand...
Click to collapse
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
anshulajain said:
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
Click to expand...
Click to collapse
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
abhibnl said:
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
Click to expand...
Click to collapse
I dont know. I found this on Oneplus forum. May be worth trying. Just not 100% sure.....
Thanks! Will try and let you know
abhibnl said:
Thanks! Will try and let you know
Click to expand...
Click to collapse
Well, I tried something, waiting on it to finishing booting and see how it went.
I flashed twrp-3.0.2-1.28-oneplus3p version,
Flashed the OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip inside TWRP,
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip right after flashing OTA zip.
Its rebooting and says Android is upgrading. Fingers crossed.
EDIT: Its booted and I am on Nougat, didnt lose my data and phone is still encrypted!
Edit: Ended up having issues with settings app locking up. So, I went a different route and its all working great now.
Downloaded the stock recovery image and renamed it to recovery.img
Make sure after you rename it its not named recovery.img.img, If you have show file extensions enabled on your pc you should already see the file extension.
Rebooted to bootloader - adb flash recovery recovery.img
Using the volume keys and power button selected - reboot recovery.
Now in stock recovery - flashed OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip
After rom is done flashing, went right back into bootloader. Did not let my phone reboot to start the OS.
Renamed twrp-3.0.2-1.28-oneplus3p.img to recovery.img
adb flash recovery recover.img
Powered off phone and Manually boot it into recovery by holding Power + Volume Down button.
Phone booted into TWRP
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip
Wiped cache / dalvik
Rebooted system from TWRP and waited. System is really smooth now, no issues yet. Been playing with it for awhile now.
During the booting up process it might take a minute and it will reboot twice. Dont get nervous like I did thinking it was going to start bootlooping. It booted just fine. I read in a nother thread that SuperSU is what causes it to boot twice.
So......Now I have OOS 4.0 Nougat, Rooted, Encrypted and everything seems to be working fine.

Pls help me to install custom ROM

I'm having lot of difficulty while installing custom ROM
1. mobile shows warning your bootloader is unlocked and dm variety issue
2. it ask password which I didn't set and I have to format user data
3. it shows only 25 GB storage available and mobile do not boot
4. if it boot properly and if I go to twrp OS start from beginning like app optimization and setup screen
pls give the proper instructions to install custom ROM
r u wanting to do OxygenOS or CM14.1 roms
1. Warning messages are normal and will not go away while ur bootloader is unlocked, do not attempt to re lock bootloader u will just brick, there are instructions on how to go about it.
Bradl79 said:
r u wanting to do OxygenOS or CM14.1 roms
1. Warning messages are normal and will not go away while ur bootloader is unlocked, do not attempt to re lock bootloader u will just brick, there are instructions on how to go about it.
Click to expand...
Click to collapse
Think you mean "soft brick" locked my bootloader several times always got my phone running again. Ideally tho don't lock bootloader stupid move hahaha. Pain in the ass to fix ?
1. For that, you can sideload oos.
2. Which Rom are you on?
3. Go to TWRP, wipe, advanced-wipe, select internal storage, format it (use ext4, don't fall for f2fs myths). Note: you will loose data, please backup first.
4. Well, you can use titanium backup for easy Backup/Restore.

Problem with flashing ROMs (only official developer ROM working)

Hey guys,
I got a problem and I am not sure what I’m doing wrong. I wanted to install a custom ROM to my Xiaomi Mi 6 but it doesn’t work. I’ve done similar steps to my Redmi 4X and there it worked just fine. A little help would be really appreciated.
Here is what I did. I updated my new device to the latest stable version with the updater app. I then had to install the official developer ROM (from MIUI) because of a bug (not able to register for unlock). I requested the unlock officially and after the waiting time unlocked the device with the MIUI unlock flash tool. In the developer options the device was shown as unlocked and also the bootloader was unlocked.
I installed TWRP 3.2.1-1 from the official website. After booting into TWRP I installed the latest mi-globe ROM (v9.5.3.0 oreo!). After a reboot I could see the logo of the mi-globe ROM but nothing would happen.
I did one mistake. The first time I installed the mi-globe ROM I forgot to wipe Dalvik, Cache, Data and System partition (clean install). So, after I recognized my mistake I rebooted into TWRP made the wipe and installed again but with no success.
After that I tried to install the next lower version of mi-globe (v9.2.4.0 with Android 7.1.1) but this got also stuck at the boot animation. The animation still moves but nothing happens. I waited for about 10 minutes.
5 minutes ago I flashed the official developer ROM with TWRP and it worked. The phone is booting. I was not able to flash the official stable ROM only the developer version works?!?!
Any idea what I did wrong? I flashed custom ROMs a couple of times but never got a problem like this.
Thank you!
Problem solved!
I got it working now. Problem was that wiping data is not enough. I read it in another post. So, if someone has the same problem here is how I solved it:
1. Boot into TWRP
2. FORMAT data (not wipe) - go to wipe, click button in right corner to format data
3. Type in “yes” (all data will be erased!!)
4. Reboot into recovery (TWRP)
5. Go to wipe and wipe Dalvik, Cache, and System
6. Reboot into recovery (TWRP)
7. Go to install and install zip of ROM you would like to install
8. Reboot system - worked!!
:good::good:
The rebooting into recovery is just for safety. I read that if system is wiped the partition could not be available for installation if you don't reboot. So, I guess its better to reboot just be sure.
I have one question or help if I can. I have Mi6 with a global stable rom 9.5.3.0 version. I want to go to the global developer rom. 8.4.12 how to do it if there is a way to not open the bootloader.
zolika1 said:
I have one question or help if I can. I have Mi6 with a global stable rom 9.5.3.0 version. I want to go to the global developer rom. 8.4.12 how to do it if there is a way to not open the bootloader.
Click to expand...
Click to collapse
just download the developer rom an place it in phone memory. goto settings>about>system update. press the 3 dot button and choose update package . Developer rom will be installed without unlocking bootloader.
saadtariq73 said:
just download the developer rom an place it in phone memory. goto settings>about>system update. press the 3 dot button and choose update package . Developer rom will be installed without unlocking bootloader.
Click to expand...
Click to collapse
thank you very much for the instructions, to erase everything from the phone or not?
zolika1 said:
thank you very much for the instructions, to erase everything from the phone or not?
Click to expand...
Click to collapse
It probably will yes. I seem to remember it happening even with locked bootloader

ROM][10] LineageOS 17.1 for honor 6x

I just find out that this rom https://forum.xda-developers.com/p8...m-lineageos-17-1-huawei-p8-lite-2017-t4064121 could be installed on our device wtih minor changes.After installing all things you will need to install stock recovery and wipe cache and try to do factory reset(i tried to but i got error massage) then you will successfully boot into rom
Contributors
 @DarkJoker360
I can confirm that this works like a charm, here I posted the instructions for those who want to install it!
Hi when I try to wipe data and cache... I have an error because the data is not mounted, I've trying to change the system file to ext2 and ext4 but nothing change. I also tried to repair system file. What can I do ? My device is already emui 8 and it's an Huawei gr5 2017 bll-l22. Thanks for your help ?
Momo745040 said:
Hi when I try to wipe data and cache... I have an error because the data is not mounted, I've trying to change the system file to ext2 and ext4 but nothing change. I also tried to repair system file. What can I do ? My device is already emui 8 and it's an Huawei gr5 2017 bll-l22. Thanks for your help
Click to expand...
Click to collapse
Try the lastest TWRP in this thread
https://forum.xda-developers.com/p8...wrp-3-3-1-0-huawei-p8-lite-2017-t3953122/amp/
After installing system.img, u need to resize the system partition, until see the used space ~17xxmb and free ~18xx mb,
after that flash gapps
and MUST flash Magisk Phh 19.3
the flash the patch file.
After first boot, you need to, format data in erecovery
Everything works smoothly except......can not make and receive calls, ooopss
update, i try to roll back to emui8, and start the process again. it works now.
recommend to update, lets teach the old dog new trick
A big job ahead ?. I will try and I will tell you if it works thank you for your answer. One last question is there a way to keep a custom recovery because sometimes magisk's module causes a botloop (sorry for my bad English ?)
lucsi said:
Try the lastest TWRP in this thread
https://forum.xda-developers.com/p8...wrp-3-3-1-0-huawei-p8-lite-2017-t3953122/amp/
After installing system.img, u need to resize the system partition, until see the used space ~17xxmb and free ~18xx mb,
after that flash gapps
and MUST flash Magisk Phh 19.3
the flash the patch file.
After first boot, you need to, format data in erecovery
Everything works smoothly except......can not make and receive calls, ooopss
update, i try to roll back to emui8, and start the process again. it works now.
recommend to update, lets teach the old dog new trick
Click to expand...
Click to collapse
So I came back (finally) to emui 8 and I tried to install the recovery custom but I still cannot access the internal storage memory.
I think it comes from my model because I have a Huawei GR5 2017 which is supposed to be a 'copy' of the honor 6x but all the roms which require emui 5.x installed do not work.
In any case thank you very much for your help! [emoji106]
Envoyé de mon BLL-L22 en utilisant Tapatalk
Momo745040 said:
So I came back (finally) to emui 8 and I tried to install the recovery custom but I still cannot access the internal storage memory.
I think it comes from my model because I have a Huawei GR5 2017 which is supposed to be a 'copy' of the honor 6x but all the roms which require emui 5.x installed do not work.
In any case thank you very much for your help! [emoji106]
Envoyé de mon BLL-L22 en utilisant Tapatalk
Click to expand...
Click to collapse
The trick is you need 2 twrp.
https://drive.google.com/file/d/1-iErvJefoFri7HKNEU8uSnYo8kmIyVd9/view?usp=sharing
https://drive.google.com/file/d/1MnFBplsp3nZ3b0BiJ764cV67kHXeRzL4/view?usp=sharing
use twrp-3.3.1emui8v2.img for everything
In the last step after everything flashed, you flash the other twrp huaweitwrp.img
reboot into that twrp
chooose advances; fix encryption
reboot system, then you can access internal memory
the same process with android 10.
mine is also Gr5 2017 and now running 10, no bug
lucsi said:
The trick is you need 2 twrp.
https://drive.google.com/file/d/1-iErvJefoFri7HKNEU8uSnYo8kmIyVd9/view?usp=sharing
https://drive.google.com/file/d/1MnFBplsp3nZ3b0BiJ764cV67kHXeRzL4/view?usp=sharing
use twrp-3.3.1emui8v2.img for everything
In the last step after everything flashed, you flash the other twrp huaweitwrp.img
reboot into that twrp
chooose advances; fix encryption
reboot system, then you can access internal memory
the same process with android 10.
mine is also Gr5 2017 and now running 10, no bug
Click to expand...
Click to collapse
Thanks you very much for your help!
I'll try this weekend (I don't have time in week).
I will come back to say if it worked
Has anyone tried these github projects to unlock the bootloader of his Honor (6X) or Huawei Device?
Maybe it is possible to accelerate these programs by using cuda cores on nvidia graphic card(s).
https://github.com/SkyEmie/huawei-ho...ock-bootloader
https://github.com/Martazza/Huawei-Bootloader-Unlocker
lucsi said:
The trick is you need 2 twrp.
https://drive.google.com/file/d/1-iErvJefoFri7HKNEU8uSnYo8kmIyVd9/view?usp=sharing
https://drive.google.com/file/d/1MnFBplsp3nZ3b0BiJ764cV67kHXeRzL4/view?usp=sharing
use twrp-3.3.1emui8v2.img for everything
In the last step after everything flashed, you flash the other twrp huaweitwrp.img
reboot into that twrp
chooose advances; fix encryption
reboot system, then you can access internal memory
the same process with android 10.
mine is also Gr5 2017 and now running 10, no bug
Click to expand...
Click to collapse
I managed to find a compatible recovery but when I flashed everything and I did a factory reset from the erecovery the phone restarts and it displays the logo lineageOs for 5 seconds then it restarts and the screen remains black then it restarts and displays the logo then it restarts in erecovery telling me that the memory has been seriously damaged.
I think I will give up here([emoji28])but anyway thank you for your help [emoji106].
Envoyé de mon BLL-L22 en utilisant Tapatalk
at first it says encryption unsuccessful then i was told to format the date from twrp, now it stuck on boot animation, i have left it overnight and it reboots to bootloader with code BFM_S_NATIVE_DATA_FAIL 211 NA
reboot_panic_and_wdt_process_func
finally i managed to get it work, so now i'm going to post every single thing i did to make this rom works and i will try to be as noob friendly as possible
first thing first in case you mess everything up, i found out this guide to be some sort of remedy for all problems regarding honor 6x, because from here you will install stock emui 5 which you can use to upgrade to stock emui 8 from this guide
use the guide above if you want to go back to stock rom because every single custom rom will require you to flash from the stock rom
next i follow the guide provided here, after flashing the patch go back to stock oreo recovery which is available on the emui 8 folder you downloaded earlier
do factory reset and wipe cache after that load to bootloader again
finally flash huaweitwrp.img provided by lusci on the post #7
boot to system and enjoy
Raxul said:
at first it says encryption unsuccessful then i was told to format the date from twrp, now it stuck on boot animation, i have left it overnight and it reboots to bootloader with code BFM_S_NATIVE_DATA_FAIL 211 NA
reboot_panic_and_wdt_process_func
Click to expand...
Click to collapse
Have you followed all these instructions?
matyrock said:
How can there be such awesome people? It works in my Honor 6X! And it's fully de-googled man this is just perfect! Thank you very much for this...
These are the steps (thanks @DunoCZ) I followed if an Honor 6X user want to install this ROM:
- *Upgrade to EMUI 8!*
- *Remove the saved fingerprints and Google Accounts just in case*
- Flash the TWRP recovery from @Dil3mm4
- Format cache, dalvik cache, data and system: TWRP -> Wipe -> Advanced Wipe
- Flash the ROM via TWRP (you can try with fastboot but it already works with TWRP): TWRP -> Install -> Install Image
- Resize the system partition: TWRP -> Wipe -> Advanced Wipe -> System -> Resize (DO NOT FORMAT!)
- (Optional) Install GApps, Magisk
- (Required) Install patch
- Reboot and wait
Click to expand...
Click to collapse
D0ping said:
Have you followed all these instructions?
Click to expand...
Click to collapse
i did and the diffferent thing i did is to flash back stock recovery as mentioned by op, wipe the cache and then flash huaweitwrp.im provided by lusci
i edited my post above
Yea, i cant get it to work. No matter what i do after
- flashing system.img
- resizing the system partition
- installing opengapps
- installing magisk
- installing the patch
followed by either:
-straight up booting it.
- doing everything i can in every bootloader.
evenm if i freshly format /data the system get stuck in a boot. Have tried all of the recoveries in this thread. All are basically the same, from what i have observed.
Edit: Figured it out. apparently my gapps was somehow broken. Downloaded a fresh arm64-ogapps and all is working now
Darkitz said:
Yea, i cant get it to work. No matter what i do after
- flashing system.img
- resizing the system partition
- installing opengapps
- installing magisk
- installing the patch
followed by either:
-straight up booting it.
- doing everything i can in every bootloader.
evenm if i freshly format /data the system get stuck in a boot. Have tried all of the recoveries in this thread. All are basically the same, from what i have observed.
Click to expand...
Click to collapse
follow my guide here, this is how i managed to get it work, make sure you flash the rom with your CLEAN STOCK rom
Raxul said:
first thing first in case you mess everything up, i found out this guide to be some sort of remedy for all problems regarding honor 6x, because from here you will install stock emui 5 which you can use to upgrade to stock emui 8 from this guide
use the guide above if you want to go back to stock rom because every single custom rom will require you to flash from the stock rom
next i follow the guide provided here, after flashing the patch go back to stock oreo recovery which is available on the emui 8 folder you downloaded earlier
do factory reset and wipe cache after that load to bootloader again
finally flash huaweitwrp.img provided by lusci on the post #7
boot to system and enjoy
Click to expand...
Click to collapse
Raxul said:
at first it says encryption unsuccessful then i was told to format the date from twrp, now it stuck on boot animation, i have left it overnight and it reboots to bootloader with code BFM_S_NATIVE_DATA_FAIL 211 NA
reboot_panic_and_wdt_process_func
finally i managed to get it work, so now i'm going to post every single thing i did to make this rom works and i will try to be as noob friendly as possible
first thing first in case you mess everything up, i found out this guide to be some sort of remedy for all problems regarding honor 6x, because from here you will install stock emui 5 which you can use to upgrade to stock emui 8 from this guide
use the guide above if you want to go back to stock rom because every single custom rom will require you to flash from the stock rom
next i follow the guide provided here, after flashing the patch go back to stock oreo recovery which is available on the emui 8 folder you downloaded earlier
do factory reset and wipe cache after that load to bootloader again
finally flash huaweitwrp.img provided by lusci on the post #7
boot to system and enjoy
Click to expand...
Click to collapse
Ok let me make it simple for you.
1. Flash stock Oreo Rom (no need to boot it)
2. Flash TWRP by Dilemma in fastboot.
3. Go to recovery and wipe data by typing yes to decrypt data partition (if not already decrypted)
4. Go to fastboot and flash system.img
5. Reboot to recovery and resize system partition
6. Flash GApps
7. Flash los patches zip
8. Flash disable Dm verity patch
9. Flash magisk-phh zip in the end.
10. Reboot and wait.
I used these steps to flash different GSIs/ROMs and it works perfectly.
I managed to flash the rom but without flashing the gapps because I don't know exactly which one to flash should I flash gapps for android 10 arm64 or gapps for android 8.0 ??
try both and it gives me error 20
victorgrey999 said:
I managed to flash the rom but without flashing the gapps because I don't know exactly which one to flash should I flash gapps for android 10 arm64 or gapps for android 8.0 ??
try both and it gives me error 20
Click to expand...
Click to collapse
You need to resize the partition
flash android10 arm 64
lucsi said:
You need to resize the partition
flash android10 arm 64
Click to expand...
Click to collapse
I managed to flash the rom successfully, but I don't know if this only happens to me, I feel it is slow and the cell phone is heating up more than normal. ?
victorgrey999 said:
I managed to flash the rom successfully, but I don't know if this only happens to me, I feel it is slow and the cell phone is heating up more than normal. ?
Click to expand...
Click to collapse
Mine is ok. battery backup is ok.
Antutu ~96K point
You can install kernel management app to tweak the CPU freq

Question Urgent! Flashing ROM gone wrong!

I finally unlocked my bootloader todaye and tried to flash Crdroid following the Munchy youtube tutorial as well as the instructions on the Crdroid forum post.
I've used TWRP 3.9 skkk and the Crdroid build from 28/07/22. Everything was going as planned until i rebooted back in to recovery after flashing the Crdroid ROM. I went to try and flash Gapps and Magisk but no I longer had access to the phones internal storage even though I flashed the ROM from my internal storage. I plugged in my USB stick which also had the Gapps and Magisk files and I flashed them without any errors and then rebooted again.
After rebooting I cant even select internal storage, it stays "stuck" on OTG storage and the internal storage is reported to be "0mb". See picture here (I had unplugged the USB stick before taking this picture).
I decided to try and format data but that was unsuccessful, presumably because there's nothing to format!! Please see picture here.
I followed the Munchy tutorial carefully whilst also reading the Crdroid instructions so I really dont know what I did wrong and i'm now just hoping I haven't bricked my phone as its not even 2 weeks old.
I'd be really grateful for some help.
Go back to stock (without locking bootloader) then follow the first time installation instructions in the crdroid thread
So you had crDroid working, and when you've simply booted into TWRP SKKK, you didn't see the Internal Storage? After flashing GApps or...?
Have you used DFE ?
Are you still able to boot the system?
cyanGalaxy said:
So you had crDroid working, and when you've simply booted into TWRP SKKK, you didn't see the Internal Storage? After flashing GApps or...?
Have you used DFE ?
Are you still able to boot the system?
Click to expand...
Click to collapse
I flashed crDroid without any errors but I never attempted to actually boot in to it, i rebooted back in to recovery after flashing the ROM and when i tried to flash Gapps i realised that something had messed up the internal storage.
I have actually managed to fix the problem using the 'repair file system' option in TWRP. I still dont know why things got messed up in the first place though.
use usb otg to install gapps and magisk from that usb.
if you dont have a usb otg, you can use adb sideload
We have the same issue, but I managed to fix it by using the previous version of TWRP 3.6.0 from SKKK and the version you're referring to version of TWRP 3.9.0 is still buggy for now on alioth/aliothin devices.
TWRP SKKK doesn't seem to be all that reliable. :S
Goooober said:
I flashed crDroid without any errors but I never attempted to actually boot in to it, i rebooted back in to recovery after flashing the ROM and when i tried to flash Gapps i realised that something had messed up the internal storage.
I have actually managed to fix the problem using the 'repair file system' option in TWRP. I still dont know why things got messed up in the first place though.
Click to expand...
Click to collapse
Lol so you had a working ROM but got scared...
When u format data + flash new system u lose access to data untill phone boots for the first time - Rebooting recovery at this point let's you flash gapps from external storage/pc to second slot - But magisk can't be flashed before the phone boots , it will say flashed and all but when you boot the phone magisk won't be there
Instead flash gapps then boot the phone , give it few mins to set everything up then reboot twrp and install magisk.
I don't recommend skk when nebrasy twrp exists
What the **** does "SKKK" mean anyway?
Did the dev's cat's paw land on the keyboard?
Goooober said:
I finally unlocked my bootloader todaye and tried to flash Crdroid following the Munchy youtube tutorial as well as the instructions on the Crdroid forum post.
I've used TWRP 3.9 skkk and the Crdroid build from 28/07/22. Everything was going as planned until i rebooted back in to recovery after flashing the Crdroid ROM. I went to try and flash Gapps and Magisk but no I longer had access to the phones internal storage even though I flashed the ROM from my internal storage. I plugged in my USB stick which also had the Gapps and Magisk files and I flashed them without any errors and then rebooted again.
After rebooting I cant even select internal storage, it stays "stuck" on OTG storage and the internal storage is reported to be "0mb". See picture here (I had unplugged the USB stick before taking this picture).
I decided to try and format data but that was unsuccessful, presumably because there's nothing to format!! Please see picture here.
I followed the Munchy tutorial carefully whilst also reading the Crdroid instructions so I really dont know what I did wrong and i'm now just hoping I haven't bricked my phone as its not even 2 weeks old.
I'd be really grateful for some help.
Click to expand...
Click to collapse
happend with my dad's phone wipe userdata from xiaomiADB/Fastboot Tools watched countless indian videos to fix it

Categories

Resources