Phone soft-bricked after bad manipulations (need help from advanced users) - Ascend Mate 7 Q&A, Help & Troubleshooting

Hello
First of all, I'd like to excuse myself because of my lack of knowledge in all that android stuff and also in english. I got my phone rooted just by following tutorials on internet.
I have a Huawei Ascend Mate 7 MT7-L09. Probalby half a year ago, I have unlocked bootloader and installed CWM-based Recovery v6.0.5.1 and got it rooted.
Not long ago, Huawei released a new version of the EMUI, wich I guess is the Android 6.0 marshmallow thing (logically, I was using the previous version). After downloading, I tried to install it but it would reboot to the CWM everytime I was trying. And then, after booting, the phone would tell me the update failed. It's normal, I know. I needed to install it manualy and etc
BUT instead, by pure ''I don't give a crap what may happend'', I did some big crap.
First of all, in the phone's settings, I did a factory reset. I made a backup of all my files and data before (not in the CWM, but in the phone's tools). After the reset, the phone booted in an old-fashioned android version.There wasn't any keys to go home/back on the bottom of the screen. Because of this, the phone was almost unusable because I had to reboot the phone to leave an app and select another.
I raged and booted to the CWM by pressing the + button and the lock phone button.
I went to Mounts and Storage Menu and did all of this
format /boot
format /system
format /cache
format /data
format /storage/sdcard1
format /data and/data/media (/sdcard)
I did the wipe data/factory reset
I also went to Backup and Restore
I made the
delete from /sdcard
delete from /storage/sdcard1
free unused backup data
choose default backup format
I went in Advenced Menu aswell
I chose
wipe dalvik cache
I think that's it. No wonder why it doesn't work well now LOL...
Later on, I thought I may try to fix it. After reading some stuff, I downloaded a package from the official Huawei website, I think it was with the 5.5.3 EMUI or some sort of. After mounting USB storage to my pc, I put the zip file, wich was not really a zip file because it had a .tar format, it would show me by going to the install zip: Impossible to read format lol. Then I found a package of a rom wich was zip. After putting on the phones storage this zip it would start to install and show installing update and then show me: Installation aborted. Then i gave up and decided to ask some help from pros.
So..... What should I do?
I know my explications are weird, but this is the only way I can describe my problem.
Thank you for reading this long story, and even a bigger one if you help me.

hi,
i don't know cwm recovery.
I suggest you install TWRP recovery , then flash the rom image found here.
(i have installed B571 by this way)
http://forum.xda-developers.com/mat...overy-twrp-2-8-7-0-mate7-android-5-1-t3156779
http://forum.xda-developers.com/mate-7/general/huawei-mt7-l09-l10-stock-firmware-ota-t3275784
regards

tar is another compression format like rar and zip.
If you have the software installed to use terminal commands (ADB) to connect to your phone when it is in so called 'recovery'or 'fastboot' mode you should flash the TWRP recovery image for Mate 7 posted somewhere on the forum for better compatibility. It is basically similar as CWM (clockworkmod) but newer.
In another post here there is a summary of firmwares and in that list is also the 'Twrp Backup' of a fresh installation. That should be downloaded, unpacked and placed in the folder where other/previous backups are stored. To find out where that it is you can create a backup yourself in recovery but only select the 'boot' so the backup is done immediately (and useless) and you can browse your phone to see where to put the downloaded recovery backup.
Next is restoring that backup within recovery.
Personally I would also do a factory reset after that but you should be ready to go after that.

Related

Stupidly encrypted my Nexus S, how would I go about removing this encryption?

From what I read you need to unroot the phone but I can not find a guide about this. I do not need to remove the encryption right now but I would like to remove it soon so I can flash a new rom.
maybe this? http://forum.xda-developers.com/showpost.php?p=21755219&postcount=11
sean1984 said:
maybe this? http://forum.xda-developers.com/showpost.php?p=21755219&postcount=11
Click to expand...
Click to collapse
That guide is for the Galaxy Nexus. I will look it over later and see if I could possibly use it. At first glance it looks like I can't.
Probably just best to backup all your data (Titanium backup for apps, copy all SDCard contents to your PC) then go intor recovery:
factory/data reset
format /system
format /boot
Flash FULL OTA for your phone
I also stupidly encrypted my phone without realizing that I cannot undo it later on. Now most of my apps force closes very often especially the games that I have installed before encryption.
The phone also heats up very quickly at times. Not sure if it's related to this or not.
I'm just hoping that the next OTA update to either 4.04 or 4.05 would solve these issues. If not, then I'll have to do the whole factory reset thing
Harbb said:
Probably just best to backup all your data (Titanium backup for apps, copy all SDCard contents to your PC) then go intor recovery:
factory/data reset
format /system
format /boot
Flash FULL OTA for your phone
Click to expand...
Click to collapse
Just wanted to say that this worked for me. The one thing I would like to add though is that you will still need to mount the usb storage and format before you are allowed to copy files to the sd card.
Wiping encrypted /sdcard
Luckily, Clockwork can still make the USB interface available. If you're on Windows, you can format the "Removable Disk" device that appears when you use the USB mount option in "mounts and storage" in Clockwork. It only needs a quick format.
Once you're done with that, go back to Clockwork and wipe it. You should be good.

[Q] bad scenario

Hello, i am quite panicked about this problem so i will cut to the chase.:crying: I will write down stuff i did in numerical orders.
1. Using TWRP 2.8.6.1, I was curious to try to go to Wipe>Advanced>full wipe (wiping everything). After i did and tried to reboot, it said there is no OS. So i tried flashing my flashable stock rom 4.4.4 in zip form but it didn't boot.
2. So i flashed to stock in fastboot. (For flashing to stock, i used this instructions http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/). After finish flashing, i went to stock recovery and wiped dalvik cache and data.
3. After that, i rebooted and... that when it didn't seem right. Nexus 5 COULD connect to my PC but it only showed "Internal Storage" and nothing else. If i tried to move something to the storage, it would immediately say i can't move it there.
4. So i thought this was because the full wipe i did before and that the system partition got totally wiped. So i used TWRP again but to restore my old nandroid backup.
5. After i flashed my nandroid backup, twrp said this one line that goes in red "unable to mount /firmware. I ignored and rebooted. It still had the problem where i couldn't move anything to my storage by MTP but also adb push. It even couldn't save screenshots and download anything from internet like apk or some sort. When i went into the app called "Zipper", it said 'no sdcard'.
6. I searched through the internet to fix this but i kept failing to solve it. I tried going to TWRP and doing chmod, chmod 755, using these instructions (http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749)
TL;DR : I did a full wipe in TWRP and lost all permissions to read or write. Nandroid backup didn't help. Whatever i flash in twrp, it says "unable to mount /firmware" at the end.
metallikoh said:
Hello, i am quite panicked about this problem so i will cut to the chase.:crying: I will write down stuff i did in numerical orders.
1. Using TWRP 2.8.6.1, I was curious to try to go to Wipe>Advanced>full wipe (wiping everything). After i did and tried to reboot, it said there is no OS. So i tried flashing my flashable stock rom 4.4.4 in zip form but it didn't boot.
2. So i flashed to stock in fastboot. (For flashing to stock, i used this instructions http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/). After finish flashing, i went to stock recovery and wiped dalvik cache and data.
3. After that, i rebooted and... that when it didn't seem right. Nexus 5 COULD connect to my PC but it only showed "Internal Storage" and nothing else. If i tried to move something to the storage, it would immediately say i can't move it there.
4. So i thought this was because the full wipe i did before and that the system partition got totally wiped. So i used TWRP again but to restore my old nandroid backup.
5. After i flashed my nandroid backup, twrp said this one line that goes in red "unable to mount /firmware. I ignored and rebooted. It still had the problem where i couldn't move anything to my storage by MTP but also adb push. It even couldn't save screenshots and download anything from internet like apk or some sort. When i went into the app called "Zipper", it said 'no sdcard'.
6. I searched through the internet to fix this but i kept failing to solve it. I tried going to TWRP and doing chmod, chmod 755, using these instructions (http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749)
TL;DR : I did a full wipe in TWRP and lost all permissions to read or write. Nandroid backup didn't help. Whatever i flash in twrp, it says "unable to mount /firmware" at the end.
Click to expand...
Click to collapse
EDIT: alright i did a mess up. When i flashed the stock, i didn't rename the radio from radio-hammerhead-m8974a-2.0.50.1.16 to radio.img.

[q] oneplus one urgent!!!! Help

Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Ricardo-Fr said:
Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Click to expand...
Click to collapse
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Heisenberg said:
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Click to expand...
Click to collapse
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Ricardo-Fr said:
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Click to expand...
Click to collapse
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Heisenberg said:
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Click to expand...
Click to collapse
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Ricardo-Fr said:
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Click to expand...
Click to collapse
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Heisenberg said:
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Click to expand...
Click to collapse
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Ricardo-Fr said:
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Click to expand...
Click to collapse
It doesn't really matter where you put them, I have a dedicated folder for ROMs so they're easy for me to find. But as long as you use the Advanced Wipe menu and only select system, data, cache, and dalvik cache (not internal storage) you'll be fine.

not booting after encryption attempt - stuck on cyanogen logo -- phone now restored

I have a phone that was rooted with the original rom (CyanogenOS but not cyanogenmod I think?) and had TWRP 2.8.5.1 installed. I initiated the encryption process and let it run. I returned to it after a couple of hours and found it displaying the cyanogen logo. I waited another 30 minutes before deciding it was stuck. I tried restarting the phone but it would get stuck on the cyanogen logo.
I then booted to recovery and was prompted for the decryption code, but the correct code was rejected. After researching here I concluded that the TWRP version was part of the problem so I flashed version 3.2.1-0
I was then able to boot to TWRP and decrypt the data partition and browse files. Unfortunately it still gets stuck at the cyanogen logo.
I also tried wiping the cache, and wiping and replacing the persist.img.
I'm not very experienced or skilled with these issues. I'm looking for a way to restore the phone to how it was before my encryption attempt; for now I'm abandoning the idea of encrypting the phone.
If it isn't in bad taste or obnoxious to ask this here, I'm willing to pay for help.
edit-0:
I was thinking of using TWRP to backup the decrypted data partition, wiping the encrypted version, then restoring the decrypted version.
It seems like this should restore the pre-encryption state, but am I missing something? Any downside to trying this?
edit-1: a follow-up
I was able to restore the phone by the method proposed above in edit-0
I made a backup with TWRP using a method similar to what's discussed in these threads:
https://forum.xda-developers.com/general/general/twrp-backup-including-internal-storage-t3660479
https://forum.xda-developers.com/android/general/tutorial-create-internal-storage-backup-t3389172
I followed roughly these steps:
1) temporarily rename the "media" folder to "mediabak" from the TWRP file manager
2) confirm size of the "data" partition has increased to expected value after renaming
3) plug in USB drive and mount
4) backup data partition to USB drive
5) make a backup copy of the USB drive to PC
5) wipe the data partition
6) restore the data partition using the backup on the usb drive
7) reboot to TWRP recovery (not a necessary step as far as I can tell)
8) note that at this point apparently TWRP automatically re-creates the "media" directory
9) delete the TWRP-generated "media" directory and rename the "mediabak" to "media"
10) reboot to TWRP recovery and browse restored files to see if things look right
11) reboot phone
Rebooting phone took longer than normal, as I think one would expect.
After lingering for a while the "cyanogen" logo animation disappeared and the message about android updating apps appeared
Phone seems to be working normally.
In retrospect my only exposure to actual data loss the database of Signal app messages. It seems like everything else I could have extracted from file based backups and also directly from the phone after I upgraded to TWRP 3.2.1-0

0 mb in TWRP internal storage

I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying

Categories

Resources