Strange Brick, Sdcard empy,TWRP unable to mount sd dacr,s-on, ruu not working - One (M7) Q&A, Help & Troubleshooting

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:

Related

Help. Htc one brick

please help me..
I try to format sdcard on my htc one and i got some problem. the problem my h1 can't process RUU. always error during installation. please help me.
kAskAdu said:
please help me..
I try to format sdcard on my htc one and i got some problem. the problem my h1 can't process RUU. always error during installation. please help me.
Click to expand...
Click to collapse
flash a custom recovery onto your phone then sideload or use otg cable to get a rom back onto your phone
your device is not bricked as long as you are s-on. it's almost impossible to brick it with s-on. follow ratcoms instructions and it should work again.
ratcom said:
flash a custom recovery onto your phone then sideload or use otg cable to get a rom back onto your phone
Click to expand...
Click to collapse
but if i try adb sideload <filename>. i got problem my devices not found.
kAskAdu said:
but if i try adb sideload <filename>. i got problem my devices not found.
Click to expand...
Click to collapse
you know that you have to actually boot to recovery and choose install zip via sideload to sideload right?
George_Mn said:
you know that you have to actually boot to recovery and choose install zip via sideload to sideload right?
Click to expand...
Click to collapse
but, i confused with my internal storage ( 0 mb ) on my h1. i can't access everything i just on recovery mode
stuck on same problem, but loaded the rom via adb push command to /sdcard
but cant flash as it keeps saying
Error flashing zip /sdcard/cm101.zip
Updating partition details
E:Unable to mount /cache
E:Unable to mount /data
E:Unable to mount internal storage
moloch said:
stuck on same problem, but loaded the rom via adb push command to /sdcard
but cant flash as it keeps saying
Error flashing zip /sdcard/cm101.zip
Updating partition details
E:Unable to mount /cache
E:Unable to mount /data
E:Unable to mount internal storage
Click to expand...
Click to collapse
moloch,
You can't mount anything in recovery because you locked your bootloader. I sent you a PM.
kAskAdu said:
but if i try adb sideload <filename>. i got problem my devices not found.
Click to expand...
Click to collapse
Did you actually boot into recovery and select the sideload mode? What recovery are you using? Try "adb devices" once in sideload it should return "serial number sideload".
AT&T HTC One
BaadNewz's InsertCoin 3.0-7
Flar2's Bulletproof 3.4
Same issue
crushalot said:
moloch,
You can't mount anything in recovery because you locked your bootloader. I sent you a PM.
Click to expand...
Click to collapse
I'm having the same issue but my bootloader does say it's unlocked. Trust me when I say I have been searching on the topic for hours. Any help would be greatly appreciated.

Can't install anything not even stock ROM

I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
UPDATE 1:
I was able to repair the SDCARD mounting error by following the steps from here: http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Sirricharic said:
I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
Click to expand...
Click to collapse
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Konfuzion said:
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
I tried that with the encrypted rom thats supposedly stock and a few others all of them return :
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: closed
Click to expand...
Click to collapse
elvisypi said:
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Click to expand...
Click to collapse
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: device not found
Click to expand...
Click to collapse
Sirricharic said:
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
Click to expand...
Click to collapse
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
lafomamone said:
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
Click to expand...
Click to collapse
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Sirricharic said:
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Click to expand...
Click to collapse
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Sirricharic said:
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Click to expand...
Click to collapse
UPDATE:
I was able to flash the Ecliptic One Rom however it doesn't receive a signal nor does it recognize my IMEI

recovery/fastboot only (need rom on phone)HELP PLS

I flashed a new recovery twrp 2.6.3.3 to flash android revolution rom... I am new to this recovery so I made an error of deleting formatting the internal storage and in turn the android rev zip I wanted to flash.. so now im stuck in recovery with no rom to flash..and no backup to flash or restore.
I can access fastboot and I tried doing fastboot flash zip rom.zip said remote not allowed:failed...
this twrp wont mount the phone on my pc so I can drop the zip on the phone and flash it.
removable storage shows on my pc but it says please insert removable storage when I click it
I also went to mount on twrp and put the x throu system cache and data.. and tried without the x.. usb-otg is non selectable..but I don't even know what that is.. either way I still cant get access on my computer to drop the zip..
so is there any quick way I can get a darn zip transferred to my phone so I can flash it throu twrp.?
any help would be great
thanks
matthewstice said:
I flashed a new recovery twrp 2.6.3.3 to flash android revolution rom... I am new to this recovery so I made an error of deleting formatting the internal storage and in turn the android rev zip I wanted to flash.. so now im stuck in recovery with no rom to flash..and no backup to flash or restore.
I can access fastboot and I tried doing fastboot flash zip rom.zip said remote not allowed:failed...
this twrp wont mount the phone on my pc so I can drop the zip on the phone and flash it.
removable storage shows on my pc but it says please insert removable storage when I click it
I also went to mount on twrp and put the x throu system cache and data.. and tried without the x.. usb-otg is non selectable..but I don't even know what that is.. either way I still cant get access on my computer to drop the zip..
so is there any quick way I can get a darn zip transferred to my phone so I can flash it throu twrp.?
any help would be great
thanks
Click to expand...
Click to collapse
I think you just need an OTG cable... download and copy ROM of your choice, copy it to a USB drive, then mount the USB drive to your phone using OTG cable (available in most electronics stores for something like $2)
Once the USB is mounted, go into recovery, click install, and at the top there should be a menu that lets you choose between internal sdcard and OTG. Click OTG, and you'll be able to choose the ROM to install on the USB drive.
There's a way to "push" the files to your phone when it's hooked up through USB cable to the PC, but that's a bit more complicated. You can google or search on the forums (how to push files to HTC ONE)
Ya I googled..pushed zip over fastboot as I heard adb won't work..or is that wrong? just dont know if i did it right.. fastboot flash zip yourrom.zip..I'll give that other option a try but I guess I need a USB drive..and a cord.
Thanks
Sent from my LG-P769 using xda app-developers app
Go to recovery and adb push rom,zip /data/media
matthewstice said:
Ya I googled..pushed zip over fastboot as I heard adb won't work..or is that wrong? just dont know if i did it right.. fastboot flash zip yourrom.zip..I'll give that other option a try but I guess I need a USB drive..and a cord.
Click to expand...
Click to collapse
No, that's not right for flashing a custom ROM. That would be for flashing a ROM from HTC. They're both distributed as .zip, but are different formats. @SaHiLzZ got the right answer, but I'll explain it a little further:
- Install/configure ADB (you probably already did this if you can run fastboot).
- Boot the phone to recovery
- I would run two commands just for a little added safety:
Code:
adb shell mkdir /data/media
adb shell mkdir /data/media/0
Then the key command:
Code:
adb push name-of-ROM.zip /data/media/0/
Make sure the ROM is in the present shell directory on your computer, or type the full path to the ROM. The transfer takes a few minutes. The procedure is identical on Linux/OSX/Windows.
Now the ROM is on your phone, and you can install in TWRP.
Easiest way is 2 buy a USB OTG cable and put the ROM in the USB storage
fenstre said:
No, that's not right for flashing a custom ROM. That would be for flashing a ROM from HTC. They're both distributed as .zip, but are different formats. @SaHiLzZ got the right answer, but I'll explain it a little further:
- Install/configure ADB (you probably already did this if you can run fastboot).
- Boot the phone to recovery
- I would run two commands just for a little added safety:
Code:
adb shell mkdir /data/media
adb shell mkdir /data/media/0
Then the key command:
Code:
adb push name-of-ROM.zip /data/media/0/
Make sure the ROM is in the present shell directory on your computer, or type the full path to the ROM. The transfer takes a few minutes. The procedure is identical on Linux/OSX/Windows.
Now the ROM is on your phone, and you can install in TWRP.
Click to expand...
Click to collapse
Adb push myrom.zip /data/media/0
Waited 5 min then
Failed to copy "myrom.Zip" to /data/media/0/: Is a directory
Not working.. Want to get this work in over adb as I don't want to go out an buy a cord and USB drive
First I'll try
Adb push myrom.zip /data/media
I notice the ROM zip showing on the data/media directory on the phone..but something seems to be interrupting and failing the transfer before its completed
Second attempt worked...thank you..I'm back in business
Sent from my LG-P769 using xda app-developers app
Wonderful!

sdcard wiped, Rom in loop

Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
when I had that problem, I ended up wiping everything and then rebooted to recovery and it finally worked.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try what @JudgeFutta said. The error's most likely due to corrupt partitions.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try to get in Recovery and from mount option mount system and then try it will work or try this
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit andvanced and find Sideload
3. Swipe to start Sideload
4. Open a CMD Prompt window and Change Directories to where your adb.exe is
5. type adb devices and it should show your device conntected and say sideload
6. Your ZIP file should already be in your adb folder
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip
9. Wait until it says 100% and reboot back into recovery to flash the ROM
10. If hitting power does not make the screen come one, type adb reboot recovery
11. if adb reboot recovery does not work, hold power and volume down until it reboots to fastboot then go to recovery
ADB Push from Recovery - If Sideload Fails For You
adb push rom.zip /data/media/0/
Be sure u r in Recovery when using ADB Push command.
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
p1mpin said:
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
Click to expand...
Click to collapse
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
User420s said:
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
Click to expand...
Click to collapse
@p1mpin Can vouch for that ROM, it's amazing. Might also want to flash Kangaroo Kernel while you're at it. It'll give you great battery life.

[Q] 6 Hours later - Still Bricked.

Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
haqsaber said:
Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
Click to expand...
Click to collapse
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
alray said:
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
Click to expand...
Click to collapse
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
I flashed the ROM using this command: fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
then after the transfer was done typed: fastboot erase cache
as of now when I type adb devices into the command prompt my phone is being detected which is an improvement from last night! Thanks!
haqsaber said:
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
Click to expand...
Click to collapse
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
alray said:
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
Click to expand...
Click to collapse
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
haqsaber said:
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
Click to expand...
Click to collapse
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
alray said:
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
Click to expand...
Click to collapse
And that worked! Thank you so much!!

Categories

Resources