Stuck in bootloader and TWRP recovery / corrupt partitions - Nexus 6 Q&A, Help & Troubleshooting

Hi,
I've got a XT1100 and some strange problems. The os won't boot up and only access to bootloader and TWRP is possible.
My bootloader is locked and looks like this:
And in TWRP I will always get some errors in mounting cache and userdata:
I can't format, mount, erase cache and data partitions.
I can't flash any image because bootloader is locked and I can't flash anything in TWRP because mounting partitions isn't possible. I also tried sideloading zip's.
I think I have some corrupt partitions and I tried to fix them with e2fsck using: e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
But when I do this command in adb shell I get an error: CANNOT LINK EXECUTABLE: could not load library "libext2_quota.so" needed by "e2fsck"; caused by library "libext2_quota.so" not found
Can you please help me? I believe that repairing partitions could help a lot. Then I can wipe again and flash some zip's to activate USB debugging and than finally to open bootloader again.
cheers,
michel

Bolemichel said:
Hi,
I've got a XT1100 and some strange problems. The os won't boot up and only access to bootloader and TWRP is possible.
My bootloader is locked and looks like this:
And in TWRP I will always get some errors in mounting cache and userdata:
I can't format, mount, erase cache and data partitions.
I can't flash any image because bootloader is locked and I can't flash anything in TWRP because mounting partitions isn't possible. I also tried sideloading zip's.
I think I have some corrupt partitions and I tried to fix them with e2fsck using: e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
But when I do this command in adb shell I get an error: CANNOT LINK EXECUTABLE: could not load library "libext2_quota.so" needed by "e2fsck"; caused by library "libext2_quota.so" not found
Can you please help me? I believe that repairing partitions could help a lot. Then I can wipe again and flash some zip's to activate USB debugging and than finally to open bootloader again.
cheers,
michel
Click to expand...
Click to collapse
Try downloading a ROM to your PC, boot your nexus to TWRP, connect to PC. Then drag and drop the ROM into your internal storage, then try to flash the ROM with TWRP.

Ok, I downloaded cm-12.1-20150728-NIGHTLY-shamu.zip for example on my pc and booted into TWRP succesfully.
But how can I drag and drop this file into internal storage? I'm not able to mount anything.
TWRP offers me the following partitions to mount:
System, data, Cache, firmware and USB-OTG. But it isn't possible to mount it with my PC (of course, device drivers already installed)
command line says "no valid storage partitions found for MTP" and afterwards "unable to mount /data"

Bolemichel said:
Ok, I downloaded cm-12.1-20150728-NIGHTLY-shamu.zip for example on my pc and booted into TWRP succesfully.
But how can I drag and drop this file into internal storage? I'm not able to mount anything.
TWRP offers me the following partitions to mount:
System, data, Cache, firmware and USB-OTG. But it isn't possible to mount it with my PC (of course, device drivers already installed)
command line says "no valid storage partitions found for MTP" and afterwards "unable to mount /data"
Click to expand...
Click to collapse
Do you see " internal storage " on your PC?
If so, just drag and drop there. No need to mount anything other than MTP which should by default.
---------- Post added at 05:34 PM ---------- Previous post was at 05:32 PM ----------
Edit: reread your post.
You said you can not issue fastboot format userdata from bootloader, then follow that with fastboot format cache?

Yeeehaa, I finally fixed it by myself.
No I wasn't able to mount the device with my PC due to faulty partitions. Solution:
I formatted cache and data with vfat and afterwards back to ext4. It won't work to format it with ext3/ext2 and back to ext4! (may be some dev could give me an answer why!?)
Then, I have seen the device connected to my PC, no more unable to mount /data again!
And now I'm on CM and activated usb debugging and now I will look for unlocking bootloader again. Hope this works as well.
Edit: I ticked usb debugging in CM but in bootloader with "fastboot oem unlock" there is the message:
Check "Allow OEM Unlock" in Developer Options FAILED (remote failure)
Edit2: Hmm, I can't get the bootloader unlocked. Is there anything I could do? USB debugging is definitly activated and pc is authorizised

Bolemichel said:
Yeeehaa, I finally fixed it by myself.
No I wasn't able to mount the device with my PC due to faulty partitions. Solution:
I formatted cache and data with vfat and afterwards back to ext4. It won't work to format it with ext3/ext2 and back to ext4! (may be some dev could give me an answer why!?)
Then, I have seen the device connected to my PC, no more unable to mount /data again!
And now I'm on CM and activated usb debugging and now I will look for unlocking bootloader again. Hope this works as well.
Edit: I ticked usb debugging in CM but in bootloader with "fastboot oem unlock" there is the message:
Check "Allow OEM Unlock" in Developer Options FAILED (remote failure)
Click to expand...
Click to collapse
Yes, you need to enable that option. If it's not available in CM, flash a stock or AOSP based ROM.

Evolution_Tech said:
Yes, you need to enable that option. If it's not available in CM, flash a stock or AOSP based ROM.
Click to expand...
Click to collapse
Yes USB debugging is definitly enabled in CM. I'm really sure. I activated dev options by ticking build number (I think) 7 times and than I could activate usb debugging in dev options itself.

Bolemichel said:
Yes USB debugging is definitly enabled in CM. I'm really sure. I activated dev options by ticking build number (I think) 7 times and than I could activate usb debugging in dev options itself.
Click to expand...
Click to collapse
No, you need to enable "allow OEM unlock" in developer options. If that option isn't there in CM (I don't use CM), then follow my previous instructions.

Evolution_Tech said:
No, you need to enable "allow OEM unlock" in developer options. If that option isn't there in CM (I don't use CM), then follow my previous instructions.
Click to expand...
Click to collapse
Ah sorry, my fault! Forgot that little thing Thank you!

I'm now full stock. The only thing is that I can't access stock recovery.
There's just a littel android with a red triangle. How can I fix this?
edit: ok fixed

Bolemichel said:
I'm now full stock. The only thing is that I can't access stock recovery.
There's just a littel android with a red triangle. How can I fix this?
edit: ok fixed
Click to expand...
Click to collapse
Try this
http://www.android.gs/how-to-enter-nexus-6-recovery-mode/

Thanks, I see that I have that little android lying on the back every time... is this normal?
May be I should not go fully stock and keep TWRP recovery...

Bolemichel said:
Thanks, I see that I have that little android lying on the back every time... is this normal?
May be I should not go fully stock and keep TWRP recovery...
Click to expand...
Click to collapse
No, this is normal for stock recovery. When dead android appears, hold power and press volume up once.

Related

Strange Brick, Sdcard empy,TWRP unable to mount sd dacr,s-on, ruu not working

Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
What version of Twrp recovery are you using?try to flash the Twrp either 2.3.3 or later but not the new version. Then try adb sideload
Sent from my HTC One using Tapatalk
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
Did u mount USB OTG ??
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
dexploit said:
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
Click to expand...
Click to collapse
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
Did you do 'ADB devices'???
raghav kapur said:
Did u mount USB OTG ??
Click to expand...
Click to collapse
yes but on twrp in logs page it says "unable to mount otg" and "unable to mount /data /system /cache" Seems like the one doesn't recognize the partition
CYNiCAL2KX said:
Did you do 'ADB devices'???
Click to expand...
Click to collapse
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
dexploit said:
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
Click to expand...
Click to collapse
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
CYNiCAL2KX said:
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
Click to expand...
Click to collapse
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
dexploit said:
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Click to expand...
Click to collapse
I think you have a corrupted partition. Try this: http://android-revolution-hd.blogspot.co.uk/2013/10/fix-data-htc-one.html
Just something I found with a quick search but, I hope that will fix your problem, if not you should google around for more alternative methods to repairing a corrupted data partition
How Do I Recognise The Problem?
When trying to mount the DATA partition from inside the custom recovery using the mount /data command you will most likely see this output: mount: mounting /dev/block/mmcblk0p37 on /data failed: Invalid argument
To be 100% sure you can check filesystem structure with the following command: /sbin/e2fsck -n -f /dev/block/mmcblk0p37
Good luck
Click to expand...
Click to collapse
---------- Post added at 11:14 PM ---------- Previous post was at 11:06 PM ----------
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Read the full thread before posting
He used CWM but it shows no files on sdcard
Thanks, but doesn't work. Buto now i can mount sd card, but not /system and /cache!
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
So, I did part of this because I'm having a similar issue. I was able to flash CWM, but unable to mount USB storage in order to get this thing booted up. I tried to sideload and that's unsuccessful.
When I use the devices command in adb, it doesn't list it. However, when I typed devices in fastboot, it listed it. Obviously, I'm starting to get pissed.
i had a same problem,needed 3 days to solve it.I understand that adb cant recognize the device(i was getting that error too)and(typing "adb devices" sometimes shows the device)--,but can you put a zip file on internal storage of the phone,now when you have cwm recovery?try to get many informations as you can,read,you will fix this.i didnt try to fix partitions mentioned above,but you can try with that.
Sent from my HTC One using xda app-developers app
It seems like your data partition is trashed, and maybe you need to format it. This is more aggressive than wiping /sdcard and /data. TWRP can do this, and CWM probably can, too. Also, "fastboot devices" should only show the phone when it's in fastboot mode, and "adb devices" will show the phone when it's in recovery or running Android (with USB Debugging enabled).
If you want to poke around a little bit before taking this drastic step, I would try one more time to get adb connected--boot the phone to recovery, wait a few seconds, attach the cable, then give "adb devices" another try. Also, I don't know if the driver necessary for ADB is the same as fastboot. It's possible your computer is configured to do one but not the other. Is there someone else's computer you can ask to use for a few minutes to check this?
Solved unmount /system /cache /data
i've format all the formattable things in twrp , reboot and used adb push and after flash cyanogenmod! ! Thank you all guys !:good:

HTC One Soft bricked many problems leading to more problems!

Ok So I have an HTC One m7. and I had CyanogenMod installed. Then jsut today I decided I would go back to Sense 6. So I download Android Revolution HD 71.1 for m7 install it on my phoen. Then CWM(Which I hate btw and can't uninstall no matter what I do) says your phone is not rooted would you like to root it when I click reboot phone. No matter which I click I get stuck on the HTC logo boot logo. I don't care if I lose my data or anything so I click factory reset, then wipe cache, then wipe dalvik cache. Then I get the error were it constantly says cant mount /cache or whatever. So to fix it i wipe Dalvik Cache again. Then I try sideloading ViperOne Rom. Guess what It give me *failed to write 'protocol fault <no status> *
Then I tried formatting my data with CWM which took 2 hours and still didn't complete so I rebooted(which led to more problems) Now I cant say install from sdcard because it gives me the error E: Can't Mount /sdcard. So that means I cant adb push Viper /sdcard. I have no Idea what to do. Help me please!
radsherwin said:
Ok So I have an HTC One m7. and I had CyanogenMod installed. Then jsut today I decided I would go back to Sense 6. So I download Android Revolution HD 71.1 for m7 install it on my phoen. Then CWM(Which I hate btw and can't uninstall no matter what I do) says your phone is not rooted would you like to root it when I click reboot phone. No matter which I click I get stuck on the HTC logo boot logo. I don't care if I lose my data or anything so I click factory reset, then wipe cache, then wipe dalvik cache. Then I get the error were it constantly says cant mount /cache or whatever. So to fix it i wipe Dalvik Cache again. Then I try sideloading ViperOne Rom. Guess what It give me *failed to write 'protocol fault <no status> *
Then I tried formatting my data with CWM which took 2 hours and still didn't complete so I rebooted(which led to more problems) Now I cant say install from sdcard because it gives me the error E: Can't Mount /sdcard. So that means I cant adb push Viper /sdcard. I have no Idea what to do. Help me please!
Click to expand...
Click to collapse
its simple to fix, your problem is simply cwm recovery, you need to use twrp to flash either of those rom's, so start there, recommended is 2.6.3.3, its the most problem free.
Code:
fastboot flash recovery recovery_name.img
fastboot erase cache
fastboot reboot-bootloader
then enter recovery, select wipe then format data, push or sideload a rom then flash it.
ViperOne Install Instructions
1. Download the the latest ViperOne full ROM zip from the download section
2. Place the file somewhere on your phone storage. Alternatively, if you have a USB OTG cable (I have this exact one), you can place the rom on a USB key (FAT32, NTFS are all supported).
3. Confirm the MD5 on the download page matches the MD5 of the file on your phone (ES File Explorer will show the MD5 of the file)
4. Reboot to TWRP Recovery
5. Backup current ROM if desired
6. Install ROM using TWRP and select wipe during aroma install if coming from another base
7. Reboot and Enjoy
Seanie280672 said:
its simple to fix, your problem is simply cwm recovery, you need to use twrp to flash either of those rom's, so start there, recommended is 2.6.3.3, its the most problem free.
Code:
fastboot flash recovery recovery_name.img
fastboot erase cache
fastboot reboot-bootloader
then enter recovery, select wipe then format data, push or sideload a rom then flash it.
ViperOne Install Instructions
1. Download the the latest ViperOne full ROM zip from the download section
2. Place the file somewhere on your phone storage. Alternatively, if you have a USB OTG cable (I have this exact one), you can place the rom on a USB key (FAT32, NTFS are all supported).
3. Confirm the MD5 on the download page matches the MD5 of the file on your phone (ES File Explorer will show the MD5 of the file)
4. Reboot to TWRP Recovery
5. Backup current ROM if desired
6. Install ROM using TWRP and select wipe during aroma install if coming from another base
7. Reboot and Enjoy
Click to expand...
Click to collapse
Ok I'm currently sideloading ViperRom but at first it was stuck at 2% so I cancelled it now it's stuck at 26% for like 30 min
radsherwin said:
Ok I'm currently sideloading ViperRom but at first it was stuck at 2% so I cancelled it now it's stuck at 26% for like 30 min
Click to expand...
Click to collapse
did you format data first ? any unable to mount messages, you could also try advanced wip and select everything in the list.
try pushing it instead
with the phone in twrp main screen only, no sub menu's and the rom in the same folder as adb and fastboot on your computer type:
Code:
adb push (name_of_rom).zip /sdcard/
takes a while and will look unresponsive, but the cmd window will let you know when its done. Make sure you unplug your phone before flashing.
Seanie280672 said:
did you format data first ? any unable to mount messages, you could also try advanced wip and select everything in the list.
try pushing it instead
with the phone in twrp main screen only, no sub menu's and the rom in the same folder as adb and fastboot on your computer type:
Code:
adb push (name_of_rom).zip /sdcard/
takes a while and will look unresponsive, but the cmd window will let you know when its done. Make sure you unplug your phone before flashing.
Click to expand...
Click to collapse
ok I 've been sitting here for a while and the cmd prompt just shows a blinking line under my command. The file is in my sdcard but is it complete?
Seanie280672 said:
did you format data first ? any unable to mount messages, you could also try advanced wip and select everything in the list.
try pushing it instead
with the phone in twrp main screen only, no sub menu's and the rom in the same folder as adb and fastboot on your computer type:
Code:
adb push (name_of_rom).zip /sdcard/
takes a while and will look unresponsive, but the cmd window will let you know when its done. Make sure you unplug your phone before flashing.
Click to expand...
Click to collapse
also it doesnt let me format data wipe. It gives me error like E: Unable to mount '/cache/
radsherwin said:
also it doesnt let me format data wipe. It gives me error like E: Unable to mount '/cache/
Click to expand...
Click to collapse
with your phone in fastboot, type fastboot format cache
Seanie280672 said:
with your phone in fastboot, type fastboot format cache
Click to expand...
Click to collapse
doesn't work either.. I tried everything nothing is working. I can't even get ViperOne Rom on my phone.
anyone? I need help! I'm looking all over the internet for solutions and apparently every has solved their problem but me. HELP!
Seanie280672 said:
with your phone in fastboot, type fastboot format cache
Click to expand...
Click to collapse
anymore help? When ever I try to ADB sideload It gets stuck on 1% forever. Whenever I try to adv push it does nothing and doesnt tell me anything. everytime I try to format It says successful but it still gives me error saying E: / cant mount cache. PLEASE HELP ME
radsherwin said:
anyone? I need help! I'm looking all over the internet for solutions and apparently every has solved their problem but me. HELP!
Click to expand...
Click to collapse
I recommend you start from scratch
from the bootloader / power down
wait a couple min and boot back to fastboot
plug the phone into the PC
from your command prompt type
fastboot devices
see your device serial number
type
fastboot erase cache
type
fastboot reboot-bootloader
now try sideload your rom from TWRP 2.6.3.3 /advanced/sideload
clsA said:
I recommend you start from scratch
from the bootloader / power down
wait a couple min and boot back to fastboot
plug the phone into the PC
from your command prompt type
fastboot devices
see your device serial number
type
fastboot erase cache
type
fastboot reboot-bootloader
now try sideload your rom from TWRP 2.6.3.3 /advanced/sideload
Click to expand...
Click to collapse
when I try fastboot erase cache it says
"******** Did you mean to fastboot format this partition?
erasing 'cache'...
FAILED (status read failed (Too many links))
finished. total time: 0.293s
So you have CWM / TWRP installed? Try copying a ROM to the external SD card, and install it that way. Clear everything in recovery first, cache, dalvik, etc... I had the same problem with the M8 and it drove me nuts until I did it all from the SD. If not, I would suggest trying the full RUU, it has saved me many a time.
hack14u said:
So you have CWM / TWRP installed? Try copying a ROM to the external SD card, and install it that way. Clear everything in recovery first, cache, dalvik, etc... I had the same problem with the M8 and it drove me nuts until I did it all from the SD. If not, I would suggest trying the full RUU, it has saved me many a time.
Click to expand...
Click to collapse
I have the m7 not the m8. So I have no sd card. What is the RUU method? I have TWRP installed right now.
This is getting on my nerves. Ive been sitting here for 6 hours and I posted 4 times and I still have not fixed this problem!!!!!!!! No one can explain clearly or respond to me even. Half my problems are being ignored. and half the things I say are being ignored.
radsherwin said:
I have the m7 not the m8. So I have no sd card. What is the RUU method? I have TWRP installed right now.
Click to expand...
Click to collapse
Oh that's right dang it. When I had my M7 I converted it to a Dev Edition by changing the CID and then using a file like this:
http://dl4.htc.com/RomCode/Source_and_Binaries/m7ul-3.4.10-g77e9ea0.zip
Mine was an ATT version so MID matched.
---------- Post added at 07:28 PM ---------- Previous post was at 07:27 PM ----------
radsherwin said:
This is getting on my nerves. Ive been sitting here for 6 hours and I posted 4 times and I still have not fixed this problem!!!!!!!! No one can explain clearly or respond to me even. Half my problems are being ignored. and half the things I say are being ignored.
Click to expand...
Click to collapse
Hey, hey, hey, patience my friend, we are here to help, ALL of us, we are trying.
Scratch that link, it doesn't like direct posts, find the Brighstar WWE RUU by searching at: http://www.htcdev.com/devcenter/downloads, or find the ATT, or TMobile. Not sure what your carrier is, but the Dev Edition is the way to go.
hack14u said:
Oh that's right dang it. When I had my M7 I converted it to a Dev Edition by changing the CID and then using a file like this:
http://dl4.htc.com/RomCode/Source_and_Binaries/m7ul-3.4.10-g77e9ea0.zip
Mine was an ATT version so MID matched.
---------- Post added at 07:28 PM ---------- Previous post was at 07:27 PM ----------
Hey, hey, hey, patience my friend, we are here to help, ALL of us, we are trying.
Click to expand...
Click to collapse
The link just sends me to the htc website. Also what does converting my m7 to dev edition do exactly? Will it help with the Sideload problem or the cant mount cache problem?
And I know you guys are trying to help me. Im just mad because everything I do is not working. Im searching all over the internet and nothing is helping. Errors lead to more errors. Reminds me of the time I tried learning progrramming and I made a simple program but It wouldnt work. I posted it on 3 websites and no one could help me. So I'm sorry for going off like that.
radsherwin said:
The link just sends me to the htc website.
And I know you guys are trying to help me. Im just mad because everything I do is not working. Im searching all over the internet and nothing is helping. Errors lead to more errors. Reminds me of the time I tried learning progrramming and I made a simple program but It wouldnt work. I posted it on 3 websites and no one could help me. So I'm sorry for going off like that.
Click to expand...
Click to collapse
I know it can be frustrating, but nothing you can do to the M7 can hurt it. Try the link above HTC doesn't like direct links.
hack14u said:
I know it can be frustrating, but nothing you can do to the M7 can hurt it. Try the link above HTC doesn't like direct links.
Click to expand...
Click to collapse
ok im doing it right now. Im AT&T btw.
I seem to have fixed the E: Can't mount cache problem. All i did was go to advance and click only on cache. Now all I need is to sideload or pus my ViperOne rom over to my HTC. Then hopefully nothing goes wrong. What do I do once the zip file is done downloading?
That might not be the right one, it should be an exe around 1 GB in size, sorry. Look around for it, if it's not still posted at the HTC Dev site, then it is around here somewhere. There are also some nandroids I have seen that should help you restore to stock. Nonetheless, once you have that Viper Rom on there, you should be able to flash anything you want. A full RUU will restore your phone to the state in which you bought it in, just like brand new.

Please help me.

Hello guys I have a real problem with my phone right now.
So I just follow this guide but get stuck on 'fastboot devices'.My pc detected the adb on command prompt but not on the fastboot.SOLVED,i just turn off windows driver signature enforcement and then the command prompt detected my phone.
Afterward I install my recovery succesfully even with some difficulties. Then after boot up my recovery & allow the modification my pc detected my phone but when open there are nothing in it.When I click the storage on MTP my device seem does'nt have any space just showing 0MB on Internal Memory. So I cannot flash the supersu nor the dm verity thus I cannot boot my device.The fastboot is still working and I have already tried this page twrp and official twrp but no luck. I also tried disable driver signature,try click on read-only on first boot twrp still no luck. I don't use adb and fastboot because I don't know how to use it.( You could guide me)
P/S: If you want any log please tell me. Right now I don't care anymore even with stock rom. Some one help me.
Try to wipe everything​ on twrp, data and internal storage included ... Maybe the data partitions is corrupt.
After wipe. Reboot back to twrp and connect the device to computer , you should see an empty drive from computer, but with correct size (make sure you use the latest TWRP by blu_spark)
theduke7 said:
Try to wipe everything​ on twrp, data and internal storage included ... Maybe the data partitions is corrupt.
After wipe. Reboot back to twrp and connect the device to computer , you should see an empty drive from computer, but with correct size (make sure you use the latest TWRP by blu_spark)
Click to expand...
Click to collapse
I did that and my phone turn on on white notification light.
Skrllux said:
I did that and my phone turn on on white notification light.
Click to expand...
Click to collapse
then you should start trying the following thread
https://forum.xda-developers.com/oneplus-3/how-to/guide-mega-unbrick-guide-hard-bricked-t3405700
try method 2
Skrllux said:
I did that and my phone turn on on white notification light.
Click to expand...
Click to collapse
Are you on stock oxygen os and were you trying to unlock your bootloader and flash a custom recovery? I didn't get your post right.

galaxy tab s2 9.7 SM-T813 to start device, enter password after stock rom flash

Hello,
So as the title says, i flashed my galaxy tab s2 9.7 with the stock rom, I am now getting a screen that says to start device, enter password. How do i get around this? Bare in mind i have no password as this is a clean flash.
Thanks.
ahewitt13 said:
Hello,
So as the title says, i flashed my galaxy tab s2 9.7 with the stock rom, I am now getting a screen that says to start device, enter password. How do i get around this? Bare in mind i have no password as this is a clean flash.
Thanks.
Click to expand...
Click to collapse
If you have twrp installed... Boot into it... Go to file manager (maybe under "advanced")... Go to Data/system and Delete the 3 locksettings files. Reboot and you should be good.
jhill110 said:
If you have twrp installed... Boot into it... Go to file manager (maybe under "advanced")... Go to Data/system and Delete the 3 locksettings files. Reboot and you should be good.
Click to expand...
Click to collapse
Hello,
i am visually impared, so use the ADB interface for twrp, but yes, twrp is installed. however, the data partition is encrypted. when i tried to access the data partition, i got a message about encryption. so i attempted to decript the data partition, and got the message: faled to decrypt data.
#6n.
still stuck, is it possible to just wipe data and erase encryption? i also can't see enough to input password guesses at the boot screen, so the command line for password input is my only option, as talkback isn't enabled on that screen.
Thanks,
Aaron Hewitt.
ahewitt13 said:
Hello,
i am visually impared, so use the ADB interface for twrp, but yes, twrp is installed. however, the data partition is encrypted. when i tried to access the data partition, i got a message about encryption. so i attempted to decript the data partition, and got the message: faled to decrypt data.
#6n.
still stuck, is it possible to just wipe data and erase encryption? i also can't see enough to input password guesses at the boot screen, so the command line for password input is my only option, as talkback isn't enabled on that screen.
Thanks,
Aaron Hewitt.
Click to expand...
Click to collapse
Boot into twrp. If it asks you to keep read only don't. Go to wipe. Select Format data and type yes. Tap the button it should format data.
Are you the original owner?
If so was FRP on?
If the tablets reset protection is on and you don't know the Google account name and password your probably the proud owner of a nice paperweight.
Also if the reset protection is on in a Samsung account and not accessible you have the same nice desk ornament.
jhill110 said:
Boot into twrp. If it asks you to keep read only don't. Go to wipe. Select Format data and type yes. Tap the button it should format data.
Are you the original owner?
If so was FRP on?
If the tablets reset protection is on and you don't know the Google account name and password your probably the proud owner of a nice paperweight.
Also if the reset protection is on in a Samsung account and not accessible you have the same nice desk ornament.
Click to expand...
Click to collapse
Unfortunately, twrp won't wipe the data. At all. Won't wipe, gives an error about being unable to mount.
ahewitt13 said:
Unfortunately, twrp won't wipe the data. At all. Won't wipe, gives an error about being unable to mount.
Click to expand...
Click to collapse
I would suggest samsung's smart switch.
Here's a link with a video to watch:
https://forum.xda-developers.com/tm...h-stock-firmware-using-samsung-t3079176/page1
There's a YouTube video link in the thread.
You can install the firmware using it or emergency install. Give it a shot.
jhill110 said:
I would suggest samsung's smart switch.
Here's a link with a video to watch:
https://forum.xda-developers.com/tm...h-stock-firmware-using-samsung-t3079176/page1
There's a YouTube video link in the thread.
You can install the firmware using it or emergency install. Give it a shot.
Click to expand...
Click to collapse
Smart switch will not connect, just sits on connecting to device. Even in download mode, i get an unsupported device error and the device does not show under emergency software recovery.
ahewitt13 said:
Unfortunately, twrp won't wipe the data. At all. Won't wipe, gives an error about being unable to mount.
Click to expand...
Click to collapse
FORMAT data not WIPE data.
ashyx said:
FORMAT data not WIPE data.
Click to expand...
Click to collapse
How would i do this with the adb twrp interface?
Thanks.
ahewitt13 said:
How would i do this with the adb twrp interface?
Thanks.
Click to expand...
Click to collapse
You can't, you need to tap the FORMAT DATA button under the WIPE options.
ashyx said:
You can't, you need to tap the FORMAT DATA button under the WIPE options.
Click to expand...
Click to collapse
no such luck, unfortunately. I cannot see enough to hit said button, and no speech in recovery.
ahewitt13 said:
no such luck, unfortunately. I cannot see enough to hit said button, and no speech in recovery.
Click to expand...
Click to collapse
OK you can try the following
adb shell
--wipe_data
OR
format DATA
But I'm not sure it'll be enough.
ashyx said:
OK you can try the following
adb shell
--wipe_data
OR
format DATA
But I'm not sure it'll be enough.
Click to expand...
Click to collapse
no such command, apart from now when i type twrp wipe data or anything like that, i get a twrp is not started, waiting for twrp to start. press control"+c to continue.
ahewitt13 said:
no such command, apart from now when i type twrp wipe data or anything like that, i get a twrp is not started, waiting for twrp to start. press control"+c to continue.
Click to expand...
Click to collapse
Boot to TWRP and type the following in ADB, be aware formatting wipes the internal storage:
adb shell
umount /dev/block/mmcblk0p39
mke2fs -t ext4 /dev/block/mmcblk0p39
Reboot twrp and data should be formatted.
ashyx said:
Boot to TWRP and type the following in ADB, be aware formatting wipes the internal storage:
adb shell
umount /dev/block/mmcblk0p39
mke2fs - t ext4 /dev/block/mmcblk0p39
Reboot twrp and data should be formatted.
Click to expand...
Click to collapse
Ok, i did this, what next?
When I flash the stock rom, the device does not boot, so I flashed twrp, and it shows that the ownly folder in internal storage Is the 'twrp' folder.
ahewitt13 said:
Ok, i did this, what next?
When I flash the stock rom, the device does not boot, so I flashed twrp, and it shows that the ownly folder in internal storage Is the 'twrp' folder.
Click to expand...
Click to collapse
After a format it takes at least 10 mins for the device to boot as the file system needs to rebuild.
Also check that data is mountable in twrp.
ashyx said:
After a format it takes at least 10 mins for the device to boot as the file system needs to rebuild.
Also check that data is mountable in twrp.
Click to expand...
Click to collapse
Is it worth noting that when I formatted, it would not process the -t and ext4 part of the command, it said invalid blocks, so I removed them. I left it all night charging and still nothing. The screen Is lit up but that's all I can tell you.
ashyx said:
After a format it takes at least 10 mins for the device to boot as the file system needs to rebuild.
Also check that data is mountable in twrp.
Click to expand...
Click to collapse
nothing happens. I've left it for a good hour now.
ahewitt13 said:
Is it worth noting that when I formatted, it would not process the -t and ext4 part of the command, it said invalid blocks, so I removed them. I left it all night charging and still nothing. The screen Is lit up but that's all I can tell you.
Click to expand...
Click to collapse
That explains it. It's important to have those flags as without the data partition will be formatted to ext2.
Are you typing the command exactly as posted, I suggest copy and paste?
Any incorrect spaces will cause issues, ensure there is no space between - and t
EDIT: just realised there was a space in my post between - and t
Damn auto complete!
Sorry about that.
ashyx said:
That explains it. It's important to have those flags as without the data partition will be formatted to ext2.
Are you typing the command exactly as posted, I suggest copy and paste?
Any incorrect spaces will cause issues, ensure there is no space between - and t
EDIT: just realised there was a space in my post between - and t
Damn auto complete!
Sorry about that.
Click to expand...
Click to collapse
Done, copy and pasted exact commands then flashed stock rom. No dice.

I might need some assistance. (EVA-L19)

After unlocking the bootloader, installing TWRP recovery and rooting my phone with SuperSU (v2.82), I was preparing to install a custom ROM (more specifically the Resurrection Remix 7.1.2.) all in all, things ended up going out of hand and I accidentally deleted my internal storage, losing every single bit of my existing ROM, not to mention the RR ROM file as well. Now when I try to wipe, I can't, it usually says "Failed to mount '/data' (Device or resource busy) and "Unable to mount storage".
I tried using ADB sideload but to no success, only the same message. What I can understand is that the previous data is gone, I tried changing the format of data, system and cache to FAT & exFAT but it still did not resolve my issue.
I'm out of options here, I don't want to have to give up this phone because of my stupidity.
I also tried flashing the LineageOS 14.1 ROM to see if anything was different, here is what it said:
Installing zip file '/sideload.package.zip'
Target: HUAWEI/EVA-L09/HWEVA:7.0/HUAWEIEVA-L09/C432B361:user/release-keys
detected filesystem ext4 for /dev/block/bootdevice/by-name/system
detected filesystem exfat for /dev/block/bootdevice/by-name/userdata
mount: failed to mount /dev/block/bootdevice/by-name/userdata at /data: Device or resource busy
unmount of /data failed; no such volume
Patching system image unconditionally...
detected filesystem ext4 for /dev/block/bootdevice/by-name/system
Script succeeded: result was [1.000000]
Although it said succeeded it clearly did not work and I am sitting without a ROM. I'm not smart when it comes to these things please help a guy out.
(Is there a way to going back to completely stock EMUI 5.0?)
Cheers.
EMUI 5.01 requires encryption, which you obviously removed.
Search for DC Unlocker, it can probably fix it for 25 Euros
zgfg said:
EMUI 5.01 requires encryption, which you obviously removed.
Search for DC Unlocker, it can probably fix it for 25 Euros
Click to expand...
Click to collapse
I know this is awkward to ask and all, but how exactly do I go about this, I'm pretty lost and I have minimal experience with this stuff..
I never had to use it but here is their portal (with download info, prices, instructions, etc)
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
If you search on XDA or search on Google for eg XDA Huawei DC Unlocker you will find threads with first hands experience (I've seen them several tines but didn't save to Favorites)
zgfg said:
I never had to use it but here is their portal (with download info, prices, instructions, etc)
If you search on XDA or search on Google for eg XDA Huawei DC Unlocker you will find threads with first hands experience (I've seen them several tines but didn't save to Favorites)
Click to expand...
Click to collapse
I'm terribly sorry for being THIS stupid. As I'm looking into this even more, I'm conflicted about the credit amount I need, been scrolling through the list and I can't really find my problem involving firmware I suppose.
People usually buy for 15 Euros. It may help you, Chrome will automatically translate from German
https://www.android-hilfe.de/forum/...-wiederherstellung-mit-dc-phoenix.818669.html
I'm not educated about DC Unlocker but that is NOT neccesary here. You can easily repair the /data partition by flashing the stock recovery via fastboot, formatting data with that stock recovery and then flashing TWRP again. After that TWRP should be able to read the data partition again.
You can easily go back to stock completely and even restore your bootloader by doing a "rollback" to Android 6. (dload method). After that you can normally upgrade from there though EMUI to the latest version of stock.
christopherpfister said:
I'm not educated about DC Unlocker but that is NOT neccesary here. You can easily repair the /data partition by flashing the stock recovery via fastboot, formatting data with that stock recovery and then flashing TWRP again. After that TWRP should be able to read the data partition again.
You can easily go back to stock completely and even restore your bootloader by doing a "rollback" to Android 6. (dload method). After that you can normally upgrade from there though EMUI to the latest version of stock.
Click to expand...
Click to collapse
I've tried using eRecovery to format the data but to no success, I can't even use the touch screen for some reason, (I know about the volume keys, but when it comes to selecting the Wi-Fi, there is no success whatsoever). If you do know a fix for this, could you possibly walk me through this?
Hexagonal said:
I've tried using eRecovery to format the data but to no success, I can't even use the touch screen for some reason, (I know about the volume keys, but when it comes to selecting the Wi-Fi, there is no success whatsoever). If you do know a fix for this, could you possibly walk me through this?
Click to expand...
Click to collapse
UPDATE: I flashed the stock recovery image and it showed me the wipe cache partition and factory data and system reset, I tried both, only the cache one succeeded, the other one failed. I saw a post that directed you to flash boot.img, recovery.img, recovery2.img and then system.img, I did that, but I couldn't boot into my phone - the good thing is however! That I can use my touchscreen in the recovery now.
Obviously the second time booting into EMUI recovery it prompts me to 'Download latest version and recovery', I try to connect to my Wi-Fi, seems okay but then it suddenly fails. More specifically it says 'Getting package info failed'. Save me please :crying:
So this "erecovery" never worked in any way for me (the one which offers you to download the latest version).
Instead you need the normal recovery you already used. Formatting failed for me the first time too, try it again and then it will try to format "low-level" which worked for me.
Go directly into fastboot from that, flash TWRP and go directly into TWRP.
After that should be able to use /data in TWRP. As soon as you are able to start TWRP without any error messages (like "Device busy" or something) go to Wipe and then format data.
Important: check which partition type you have! For EMUI you need "f2fs" and for lineage you need "ext4". You can see and change that in TWRP under Wipe -> "change or repair filesystem".
If you have any more questions, just ask.
christopherpfister said:
So this "erecovery" never worked in any way for me (the one which offers you to download the latest version).
Instead you need the normal recovery you already used. Formatting failed for me the first time too, try it again and then it will try to format "low-level" which worked for me.
Go directly into fastboot from that, flash TWRP and go directly into TWRP.
After that should be able to use /data in TWRP. As soon as you are able to start TWRP without any error messages (like "Device busy" or something) go to Wipe and then format data.
Important: check which partition type you have! For EMUI you need "f2fs" and for lineage you need "ext4". You can see and change that in TWRP under Wipe -> "change or repair filesystem".
If you have any more questions, just ask.
Click to expand...
Click to collapse
So what you're saying is, as soon as I get my data sorted and my partition set to the right one I should be able to install the custom ROM. I could use data and even formatted it, tried installing Lineage but I must've had the storage on the wrong type, now I'm back with the same issue, I'll try to fix it and post my results here. Thank you!
Hexagonal said:
So what you're saying is, as soon as I get my data sorted and my partition set to the right one I should be able to install the custom ROM. I could use data and even formatted it, tried installing Lineage but I must've had the storage on the wrong type, now I'm back with the same issue, I'll try to fix it and post my results here. Thank you!
Click to expand...
Click to collapse
Update: It did NOT work, tried flashing LineageOS through ADB sideload, it was going fine before the bar completely filled up around 50% of the way done, it said 'detected filesystem ext4 for /dev/block/bootdevice/by-name/system' and in the next line it said 'script succeeded: result was [1.000000]'
Help me, I'm begging you, at the moment I don't have an access to a microSD that has the capacity to hold the stock files to do the dload method, therefore this is my only hope.
Hexagonal said:
Update: It did NOT work, tried flashing LineageOS through ADB sideload, it was going fine before the bar completely filled up around 50% of the way done, it said 'detected filesystem ext4 for /dev/block/bootdevice/by-name/system' and in the next line it said 'script succeeded: result was [1.000000]'
Help me, I'm begging you, at the moment I don't have an access to a microSD that has the capacity to hold the stock files to do the dload method, therefore this is my only hope.
Click to expand...
Click to collapse
Whats the error? Why doesn't it work? What happens when you try to boot?
christopherpfister said:
Whats the error? Why doesn't it work? What happens when you try to boot?
Click to expand...
Click to collapse
That's what I'm trying to figure out, when I try to boot in it's just stuck on a boot loop. Unfortunate..
Remember that you have to what *a while* for the first boot. Only if you see no change after 5-8 minutes or so something is definitely wrong.
Have you checked in TWRP if your /data partition is ext4?
christopherpfister said:
Whats the error? Why doesn't it work? What happens when you try to boot?
Click to expand...
Click to collapse
christopherpfister said:
Remember that you have to what *a while* for the first boot. Only if you see no change after 5-8 minutes or so something is definitely wrong.
Have you checked in TWRP if your /data partition is ext4?
Click to expand...
Click to collapse
I know, but it was flashing the Huawei logo and the unlocked bootloader warning continuously. It was set on EXT4 but as I was saying, it said script succeeded at 50%.
Hexagonal said:
'detected filesystem ext4 for /dev/block/bootdevice/by-name/system' and in the next line it said 'script succeeded: result was [1.000000]'
Click to expand...
Click to collapse
That just said that /system partition is ext4. That is default even for stock I believe. You need to check for /data.
christopherpfister said:
That just said that /system partition is ext4. That is default even for stock I believe. You need to check for /data.
Click to expand...
Click to collapse
I deliberately set the data partition to EXT4 before installing
Hexagonal said:
I deliberately set the data partition to EXT4 before installing
Click to expand...
Click to collapse
Can you check in TWRP if it actually says /data is ext4?
Which lineage are you trying to install? Don't you need a vendor.zip for some of them?
/data is indeed on EXT4, and I was installing the one that was on the room section.

Categories

Resources