Can't reinstall any rom on Honor 9 - Honor 9 Questions & Answers

Hi all,
I m facing a trouble with my Honor 9
I first installed the TRWP and magisk on my stock rom. After a day or two my files in the internal storage were been encrypted (except when I look them into twrp). I tried to flash and restore to stock but he didn't let me access to write on the internal storage. I try to move the update.app in the dload folder but it's too big for the fat 32 partition. I tried to extract the recovery.img and the system.img to reflash them with twrp but error each time. Tried to flash the zip directly error on 2 on 3. I tried to flash lineage 14.1 it s flash good until the end but the phone stops and make black screen re-enter after the booting message on bootloader and after 5mn its overheating. Tried another custom rom but it did the same... Any help of what I can do?
I can't restore by wiping its tells me no OS present
EDIT : I was finally success to be able to access back to normal with the HWOTA method. I was able to access to my sd card by a HUAWEI p8 lite 2017, i copied files onto instead of place them on the computer, it works i installed first the B130 update but the back buttons weren't working, finally did again the process with the B120 and it fixes all my troubles. Don't forget to format data one time to not be in my situation of encryption of system storage without a first official update (i have read that if you update your phone the encryption will be disabled because it's by default enabled.
Thanks to all this community because i found the solution here on the Rebrand Honor 9 Thread. Even if i had no answer here, i had to thanks all devs here who make a lot of hard work
You can now close this topic, I can't find where to close it by myself.

Related

Can Not install any zip files in recovery. ( i9100 intl.) Resolved!!

Little bit of history. Stumbled into CM13 and android 6 via a "Nightly" download. So hadn't read up on it beforehand!
So chickened out and went back to CM12.1 and android 5.1.1.
I got so fed up running out of memory when reinstalling all my Apps so looked into increasing the partion size .
The thread I followed , by gsstudios, indicated I needed to have the pit file and the recovery file in at the same time.
That bit worked for me.
I could not get Iso Rec or TWRP to load up on my phone via Odin so I am stuck with CWM 6.0.5.1.
I am able to get into Recovery with CWM, clear all the caches, select a 12.1 zip file and confirm install. Next the android comes up briefly with some text, a couple of lines that disappear too quickly for me to see and it drops back into the CWM menu.
I have installed the files "emmc" , on my SD card, to check for "bricks" in the memory, again they take me straight back into the CWM menu so I have no idea if they have run correctly?
I have an identical phone, Samsung GTi9100 intl, running CM12.1 and android 5.1.1, just trhe sd card a different size,
so if anyone has an idea how to clone this onto my sick phone and get it working, "I'm yer friend for life"!!
Just referring back to when I briefly had Cyanogen Recovery on my phone when it failed to do something in recovery I could not read the writing that came with it so no use to me!
Volume Two
During one of my tries to flash a zip file from my SD01 card whilst using CWM, the error I was able to read said "something" like unable to load this file " you need TWRP Recovery".
So first lesson learnt, do as you are told!
So after a lot of searching and reading through the threads I found this one worked for me Via Odin.
AOSP.LP-Kernel+_25-08-2015.TWRP-2.8.7.0 tar. Sorry to the "Author" can't remember where I got it from but you know who you are and thanks. It may have not been an exact "Fit" but it got me TWRP on my phone!
An observation whilst using "Odin", a few of the posts seem to indicate it can be a bit "Flakey". I was using version 3.10.7 in the end and adopted the method of removing the battery and the USB lead after any error, bringing up "Odin Mode" on the phone again, starting the program in supervisor mode on the PC and reloading the files again.
I suspect if I had followed this method in the first place a few more "ideal" kernels would have worked for me!
So that's a second lesson.
Now I have a working TWRP. So I go into TWRP, (don't see many People using it on Youtube?), and the"Wipe" button gives me the basic wipe of the caches but I see some errors occuring, so I run it again and it shows just one error. So I go for broke a try and install a Zip file, it fails. So I look at the "in depth" wipe that shows up a heap of registers you can select so I select the lot and eventually I get a clean result but i've managed to wipe my SD card 01 with all my Zips on it.
I enabled USB storage in TWRP and was able to view my SD card 01 on my PC .So I tried to reload a Zip file to it "not enough storage"! Only 36 MB of a 15 GB SD card available?? Tried a Format of the SD card 01 from the PC that didn't help, although through the PC "Disk Manager" I could see the full 15GB.
So I formatted it in TWRP and that solved it I was able to reload my Zip files. After a "Careful" "Wipe" I was able to load a CM13.0-20160209-NIGHTLY-i9100 and BaNkS-Dynamic-GApps-6.x.x-10-20-15.
pa-gapps mod pico 5.0.1-20150221 came up with an error when I tried to load it.
I have read in one of the threads that later "Nightly's" have some problems?? I am having problems with MD5 failures indicated after the download finishes so perhaps I've been lucky?
If I look I'm sure there's and better GApps recommended out there.
When the Cyanogenmod loads it gives an option to use "Google Settings" to download your apps and settings, so as I had an identical phone I thought this was a quick way to get my apps loaded up. According to the write up on Android 6 that feature has been "Dropped/Discontinued",Shame!!
I should point out that I used a i91001GB_6GB.pit when I loaded my Kernel that all indicated a "Pass".
I reinstalled all my Apps from my PC and did not get a "not enough memory" error but will wait until I get a few updates OTA before I call that a success.
Hope this helps some one out there that there is another "Div" out here trying to make sense of it all.
Reminds me of IBM "Maps". Who does that ring a bell with??

How can I force reset all TWRP recovery settings and configuration on my Honor 5x?

Sorry for my bad English
I have a China Variant Honor 5x and installed TWRP for kiwi now
I installed a recovery theme for TWRP few months ago. When I delete the theme and reboot, TWRP will still keep finding the theme related files and shown errors like ‘No such files’.
I tried:
Flashing update.zip
Wipe recovery partition
Unplug SD card
Delete all the files related to TWRP and recovery
Unfortunately the issue still exists Does anyone know where do TWRP placed its configuration files?
Thanks!

TWRP restore on vf-895 Smart Prime 6 (how)

Hi,
I need to restore some twrp images. I have these on my PC but I forget where they should go. I've tried putting there on the SD card in TWRP\Backup but restore doesn't see them so I moved them to the top of the SD card but it still doesn't see them. Where should they go?
FYII recently had my vf-895 play up. I'd previously installed twrp and magisk and it was working if rather slow. Then it started to take 20min to send or receive txts and swapping sim to another phone stopped that (so fault was with phone). I thought I'd try LineageOS since getdriodtips site says there is a 14.1 version for the smart prime 6. Didn't work for me although I'm not sure I did it right. I just pointed twrp at the zip. But also zip has 839 in the name not 895 and more googling suggests the getdriodtips for for the smart ultra 7 (or 6 I forget, not not the prime anyway). The other getdroidtips suggestion of MIUI 8 also didn't work for me but maybe I'm not doing it right.
Will twrp just install a zipped custom rom or does it have to be a special zip? Or how to I do this (other than using adb which often take a while to get working I find).
Thanks
UPDATE, after posting this I had a though, do a backup and see where it goes. Now I'm really confused as the files I have are TWRP 3.0.0-0_VF-895N.img and the like so all *.img where as the backup is a folder with *.win and *.win.md5.
I've come to the conclusion that TWRP 3.0.0-0_VF-895N.img is just the recovery img to load TWRP instead of stock recovery. Hence I don't have a backup like I thought. If anyone has a TWRP backup for a smart prime 6 (UK) I would appreciate a copy.
I've tried stock rom downloads but they all use sugar and I can't get sugar to recognise the phone and/or install the usb drivers. When I put TWRP in adb sideload then the phone with adb appears in control panel so the cable works.
I've tried other ROM and some even flash but after the phone just boot loops.

Data partition stuck in encryption after custom rom install

I´ve tried to find any specific info on the subject for this phone but found none.
Maybe someone can help.
All was good on my phone when using Havoc custom rom. Yesterday I tested an android 11 custom rom on the device but decided to go back to 10. Orange Fox recovery restore gets stuck in the boot process. When using TWRP it can´t acess Data partition, so I´m unable to make any backups of data partition with it.
I´ve tried two diferent versions of either, and on TWRP after formating data the partition is once again acessible, but as soon as I flash a custom rom (tried two diferent one´s), boot to it and then reboot to recovery the Data partition is once again unacessible (encrypted) showing "0 MB".
Orange Fox recovery allows to access the data partition and so allows for backups to be created, but the restore process always ends up suck at boot (odly enough when enabling MTP on Orange Fox and connecting the phone to my Windows 10 machine two internal storage partitions appear in Explorer along side the SDCard one - all with the same content exactly). Something weird is going on here.
I´ve tried the steps on this post regarding DM verify (I do not know if it has got something to do with it) but it did not work (the fstab file already shows decryption on its entries):
[Deprecated] Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [11/2/2020]
Hi all! For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch...
forum.xda-developers.com
Has anyone had similar problems or knows what might be going on on my device?
Is the internal flash memory going bad maybe? I´m at a dead end here.
Apreciate any idea.
Thank you.

How to flash official stock rom after an older stock rooted rom

Hello I have a rooted phone with official miui12 rom.
TWRP is flashed but I can also run TWRP using adb.
How can I flash the New miui13 stock version ? Do I use the official Xiaomi flash tool? Or do I use TWRP to flash the stock rom?
iostrym said:
Hello I have a rooted phone with official miui12 rom.
TWRP is flashed but I can also run TWRP using adb.
How can I flash the New miui13 stock version ? Do I use the official Xiaomi flash tool? Or do I use TWRP to flash the stock rom?
Click to expand...
Click to collapse
Through fastboot, you should use the fastboot ROM, and through TWRP, you should use the recovery ROM.
Thanks. A preferred option ?
Using TWRP do I need to erase stuff before or can I install directly the rom and this is all ?
I guess that recovery room is not the one provided officially by Xiaomi, right ? It the same but packaged a different way ?
Do you know if SD card will be erased during the stock rom flashing process ?
I see on official Xiaomi site that official rom is quite old. Miui11 version so I guess I will need to perform a lot of OTA update... Can I trust recovery rom provided on other websites to have the latest stock rom version ?
iostrym said:
Thanks. A preferred option ?
Using TWRP do I need to erase stuff before or can I install directly the rom and this is all ?
Click to expand...
Click to collapse
Normally, you don't need to erase data, as they just update without erase per se.
iostrym said:
I guess that recovery room is not the one provided officially by Xiaomi, right ? It the same but packaged a different way ?
Click to expand...
Click to collapse
As I said you, there are two official versions, the fastboot and the recovery ROM.
iostrym said:
Do you know if SD card will be erased during the stock rom flashing process ?
Click to expand...
Click to collapse
No.
iostrym said:
I see on official Xiaomi site that official rom is quite old. Miui11 version so I guess I will need to perform a lot of OTA update... Can I trust recovery rom provided on other websites to have the latest stock rom version ?
Click to expand...
Click to collapse
The OTA updates come, either in form of fastboot or recovery ROM, when Xiaomi provides an update, you will, also, find the minimal OTA package, yet included in the whole ROM.
In this site, you will find the most up-to-date releases https://xiaomifirmwareupdater.com/archive/miui/joyeuse/
thanks. I would like to be sure that my flashed TWRP will be erased during the process, will both flashing process (fastboot or TWRP) erase all my phone and put in a new "clean" state ? (except maybe for sdcard content)
iostrym said:
thanks. I would like to be sure that my flashed TWRP will be erased during the process, will both flashing process (fastboot or TWRP) erase all my phone and put in a new "clean" state ? (except maybe for sdcard content)
Click to expand...
Click to collapse
Nope, both the processes, don't wipe per se, either through recovery or fastboot, in the Mi Flash tool, there is an option to format data, if you like it, if not, it remains un-ticked.
Sorry to insist but what are you calling 'data' ? Is it the SD card content (I don't think so) or is it the data partition on my internal memory ? So it could be :
Photo taken in internal memory
Data stored by apps like photo from WhatsApp or stuff like that ?
Temp file of each app like settings of app, etc.
Would it be a problem if I erase all my phone and loose all my apps but data off app are still there, it will take space for nothing right ?
What about flashed TWRP? will it be removed by the flashing process ? I think TWRP is flashed in recovery partition but not sure.
As you see I'm not familiar with android partition even if I did several times this kind of process with different phones.
iostrym said:
Sorry to insist but what are you calling 'data' ? Is it the SD card content (I don't think so) or is it the data partition on my internal memory ? So it could be :
Photo taken in internal memory
Data stored by apps like photo from WhatsApp or stuff like that ?
Temp file of each app like settings of app, etc.
Would it be a problem if I erase all my phone and loose all my apps but data off app are still there, it will take space for nothing right ?
What about flashed TWRP? will it be removed by the flashing process ? I think TWRP is flashed in recovery partition but not sure.
As you see I'm not familiar with android partition even if I did several times this kind of process with different phones.
Click to expand...
Click to collapse
Not exactly what I call data, but, what data means in Android World.
Formatting data, it's deleted all the data from apps stored in /data partition, all the data regards settings, all the apps installed by the user, general configurations and all the data stored in internal storage, also the system apps uninstalled by the user can come again.
As per the SD Card, if you have one inside, it is not touched in the process.
If you flash the recovery ROM using TWRP, it won't be overwritten, if you flash the fastboot ROM, you'll lose the access to TWRP.
Thanks. Tell me if I'm wrong but if a choose to flash stock miui 13 version whereas I'm currently in miui12 I should maybe erase data also ? Maybe apps won't works again from 12 to 13 version ? I should be cleaner to reinstall them again don't you think ?
About fastboot stock rom isn't it strange that the official website provides only miui 11 rom whereas your site has miui13 version? How is it possible ? For recovery rom I understand because people can backup their phone and could create a recovery rom like this with miui13 after doing the ota. But for the fastboot rom, if Xiaomi don't provides it and provides only miui11 one, where does the miui13 come from ?
iostrym said:
Thanks. Tell me if I'm wrong but if a choose to flash stock miui 13 version whereas I'm currently in miui12 I should maybe erase data also ? Maybe apps won't works again from 12 to 13 version ? I should be cleaner to reinstall them again don't you think ?
Click to expand...
Click to collapse
It would work even if you don't erase data, but, I personally prefer erasing it, to avoid some lags/bugs in the future.
iostrym said:
About fastboot stock rom isn't it strange that the official website provides only miui 11 rom whereas your site has miui13 version? How is it possible ? For recovery rom I understand because people can backup their phone and could create a recovery rom like this with miui13 after doing the ota. But for the fastboot rom, if Xiaomi don't provides it and provides only miui11 one, where does the miui13 come from ?
Click to expand...
Click to collapse
Firstly, be sure that your device is Joyeuse.
All the updates, either recovery and fastboot ROM, are provided by Miui, all of them are official updates, not uploaded from users´ devices.
It's A12, not A13, I don't think your device see the light on A13.
Yes android 13. But miui 13 comes with android 12 and my current os is miui12 that comes with android11. (If I'm correct).
I have Redmi note 9 pro, M2003J6B2G (photo is 64M). I don't know where Curtana or joyeuse word can be really found in my phone but after some readings I had the feeling that M2003J6B2G = joyeuse version.
iostrym said:
Yes android 13. But miui 13 comes with android 12 and my current os is miui12 that comes with android11. (If I'm correct).
Click to expand...
Click to collapse
Xiaomi also could update the Miui version, so Miui 13 came with Android 11 for some devices, don't stay there, just check the Android version that is specified in a tab, at the download list.
iostrym said:
I have Redmi note 9 pro, M2003J6B2G (photo is 64M). I don't know where Curtana or joyeuse word can be really found in my phone but after some readings I had the feeling that M2003J6B2G = joyeuse version.
Click to expand...
Click to collapse
There are some apps like Device Info and other similar, from Play Store that can tell you, exactly, which your model is, Anyway, Redmi Note 9 Pro is Joyeuse but, be sure, before to proceed, consult some app like the mentioned.
SubwayChamp said:
Xiaomi also could update the Miui version, so Miui 13 came with Android 11 for some devices, don't stay there, just check the Android version that is specified in a tab, at the download list.
There are some apps like Device Info and other similar, from Play Store that can tell you, exactly, which your model is, Anyway, Redmi Note 9 Pro is Joyeuse but, be sure, before to proceed, consult some app like the mentioned.
Click to expand...
Click to collapse
Cpu-z indicate joyeuse-eea. Should be good.
Ok so I will delete the data partition and I will use fastboot flash using Xiaomi tool. I'm not sure to understand your answer about the SD card. Will it be erased during the process ? I know that sdcard are now crypted so that they could be used only by my phone. If the os is modified, maybe I won't be able to read it even if it is not formated. Don't you think ?
iostrym said:
Cpu-z indicate joyeuse-eea. Should be good.
Click to expand...
Click to collapse
Good, then it is the european version.
iostrym said:
Ok so I will delete the data partition and I will use fastboot flash using Xiaomi tool. I'm not sure to understand your answer about the SD card. Will it be erased during the process ? I know that sdcard are now crypted so that they could be used only by my phone. If the os is modified, maybe I won't be able to read it even if it is not formated. Don't you think ?
Click to expand...
Click to collapse
Just to not confuse, sdcard is the internal memory, that is symlinked as /data/media/0, all the internal memory is gone when we format data, some folders are recreated at the first boot, after performing it.
SD Card refers to Secure Digital card, that is an external media storage, it is absolutely excluded to any operation from Android, when flashing, updating the system or formatting data, of course, you should consider that some apps like camera can store its pictures there, previous authorization from user, but they will stay there yet, and some folder can be created too, at the first boot, but nothing that harms.
Just to know, sdcard as internal memory is not encrypted at all, it's accessible for any user, always, that can bypass the locking feature of the choice of the user, i.e. PIN, pattern, etc.
Thanks I didn't know that sdcard and SD card weren't the same. My concern is about external memory card (SD card). If not formated. I'm afraid that it couldn't be used after reboot. Except if the decryption key is linked to my phone (hardware) and not the software part (os) of my phone
iostrym said:
Thanks I didn't know that sdcard and SD card weren't the same. My concern is about external memory card (SD card). If not formated. I'm afraid that it couldn't be used after reboot. Except if the decryption key is linked to my phone (hardware) and not the software part (os) of my phone
Click to expand...
Click to collapse
The encryption is permanent since A6, it remains, at least, you can do something about it, using a custom recovery, a custom module, script, or something, nothing that the end user can worry about, for the normal use of the device.
Trying to guess, you did encrypt your SD card, then the encryption key is linked, only to your SD card, the SD card, specially, in newer Android versions, is treated as a privacy media user concern, so every time more, apps can't access to, as easy as the older times, it is RO by default.
Sorry I have difficulties to read and understand your last message as my English is bad.
Especially the second part... I don't encrypt anything myself. I just now that recent version of Android encrypt the sdcard and it couldn't be used in a computer for instance or another phone. So I think that maybe after new rom flashed. SD card won't be read or write from the phone and I will have to format it myself so that I can read it from my phone. Correct ?
iostrym said:
Sorry I have difficulties to read and understand your last message as my English is bad.
Click to expand...
Click to collapse
Probably my English is worse than yours.
iostrym said:
Especially the second part... I don't encrypt anything myself. I just now that recent version of Android encrypt the sdcard and it couldn't be used in a computer for instance or another phone. So I think that maybe after new rom flashed. SD card won't be read or write from the phone and I will have to format it myself so that I can read it from my phone. Correct ?
Click to expand...
Click to collapse
You are again mixing the terms, in the first part, you're saying "...recent version of Android encrypt the sdcard" and linking to the second part, you're saying "...after new rom flashed. SD card won't be read or write"
As I said to you previously /sdcard AKA internal storage is not encrypted at all, at any time, the fact that you need to authorize the MTP connection within your device and a PC, doesn't change that, if you or anyone else, have access to the Android interface, then you or anyone else, can see all the data/files/pictures/audio/video stored, in the internal storage, by using a file manager app, or a specific app for every file instance/format, i.e. a music player for videos/sounds/musics, a gallery app for pictures/images, and so on.
As per the SD card, the same, if the user (you, in this case), didn't encrypt it, then, Android, also, doesn't encrypt it, so you and anyone else, can access to the data stored in it, either during the OS functioning normally, and/or after the flashing/formatting process.

Categories

Resources