Recovery Mode/Boot Screen Loop - One (M7) Q&A, Help & Troubleshooting

Hi all,
I have an HTC One M8. I bought it used and run a AT&T sim on Straight Talk. Previous owner had rooted it. I was trying to get the 4.4 updates and Sense 6.0.
The phone was already running HD Revolution 12.1 and Android 4.2.2 with TeamWin Recovery Partition v2.5.0.0
I downloaded and installed Android_Revolution_HD-One_71.1.zip.
I've run it several ways:
1. First w/o wiping from TWRP. (Factory reset settings)
2. Installed w/o "Wiping Userdata Partition" and then tried "Wiping Userdata Partition" from the HD Revolution installer.
3. SuperUser by Koush checked.
4. Stops at setting permissions "set_metsdata_recusrsive: some changes failed."
5. Finish
6, Zip Install details say "no MD5 file found".
7. Reboot System and it tells me "Root permissions appear to be lost. Fix root permissions now?" Yes....
Then reboots into white Bootloader screen. Anything selected here takes me to the Recovery page. Anything selected from the REBOOT menu in TWRP takes me to the Bootloader screen.
When this is done it reboots into the white bootloader screen. Any option I pick there takes me to the TWRP recovery.
I'm stumped. Any help /bread crumbs would be appreciated.
Bootloader shows:
**TAMPERED**
**UNLOCKED **
M7_UL pvt ship s-on rh
HBOOT-1.44.0000
RADIO-4A.14.3250.15
OPENDSP-v26.120.274.0202
eMMC-BOOT
May 3 2013, 20:01:28-1
Thanks
TJB

fastboot erase cache
Then flash TWRP 2.6.3.3
Then reflash the ROM.

TWRP 2.6
BenPope said:
fastboot erase cache
Then flash TWRP 2.6.3.3
Click to expand...
Click to collapse
I'm actually trying to mount the phone so I can see it from the PC update the TWRP. I downloaded openrecovery-twrp-2.7.1.1-m7.img but can't see how to load it to the phone.
PC sees the phone from Device Manager as a Disk Drive but it doesn't show up as a drive under My Computer.
I have Minimal ADB and Fastboot. Am I on the right track?
TJB

BenPope said:
fastboot erase cache
Then flash TWRP 2.6.3.3
Then reflash the ROM.
Click to expand...
Click to collapse
I tried to install openrecovery-twrp-2.7.1.1-m7.img but I can't see HTC from my PC. It shows up as in Device Manager but there's no way to write to it. I have Minimal ADB and Fastboot. Do I need a USB OTG cable. What else can I do from the PC side to see the phone?
Right now I'm just trying to get files to the phone. Am I on the right track?
THB

teebright said:
I tried to install openrecovery-twrp-2.7.1.1-m7.img but I can't see HTC from my PC. It shows up as in Device Manager but there's no way to write to it. I have Minimal ADB and Fastboot. Do I need a USB OTG cable. What else can I do from the PC side to see the phone?
Right now I'm just trying to get files to the phone. Am I on the right track?
THB
Click to expand...
Click to collapse
You cannot install like that, they have to be flashed via bootloader.
Do you have ABD installed on your PC?
If not you have two options.
OPTION 1
This guide for Windows 7 machine, this is the quickest way IMHO
Download the adb files for your respective PC from here : http://developer.android.com/sdk/index.html
Once you have downloaded the correct one for your PC (i.e. 32 or 64bit) you will be left with a zip FOLDER named something like this adt-bundle-windows-x86_64-20130522.zip (this is for 64 bit machine), Unzip it somewhere on your pc
Locate the unzipped folder and you should have/see the following inside
• Eclipse
• Sdk
• SDFK manager .exe
Open up the sdk folder and you will find 6 folders inside, cut the 'platform-tools’ folder , then double click my computer and then enter the C: drive of your PC. Paste this folder here in the C: drive and rename it Andriod-adb.
Then right mouse click my computer and go properties, then go and click Advance system settings located on left hand side this will bring up system properties box, click the Environment Variables… tab (it will open further details) and locate the Environment Variables list scroll down until you find path, highlight this then click edit.
Click mouse in here and scroll right to the end after the last entry
Type the following ;C:\Android-adb (noting only adding the first ; if not already there), if it is already there just type C:\Android-adb. Then hit Ok then OK again and your ADB should now be successfully setup.
To test this
From the windows start button, and in the search programs and files box type cmd and enter, this should bring up a command window.
Plug in your device and type adb devices, you should see it locate your phone
OPTION 2
Or try this, extract the attached file to your desk. place your recovery img in here and in a blank spot here hold the shift key down and right mouse click this should bring up list allowing you to "open command prompt here" then follow instructions below..View attachment 2850273
------------------------------------------------------------------------------------------------------------------------------------------------------
Once you have ADB working via either of the above sorted from a
1. Command prompt you should be able to type adb reboot boatloader, if you phone reboots into bootloader go to next step
2. Place the recovery image "openrecovery-twrp-2.7.1.1-m7.img " in the same adb folder as downloaded in option 2
3. Open a command prompt from within this folder and then type fastboot flash recovery openrecovery-twrp-2.7.1.1-m7.img
4. Once sent it should com back to prompt
5. Type fastboot erase cache, then when completed type fastboot reboot
Good luck

fixed!
I fixed it! Per the recommendation I was trying to upgrade TWRP to 2.6.3.3.
I plugged in the phone to the PC via USB and made sure the phone is in FASTBOOT USB mode from the bootloader menu.
I installed "Minimal ADB and Fastboot" on the PC. Running that from the command line (cmd.exe) you type "fastboot flash recovery " then drag the file in. (watch the youtube video "How to install TWRP recovery on the HTC One M8" by ROOTJUNKIE-it will make more sense). In my case it was the 2.6.3 TWRP.img file. That pushes the update to the phone. I already had the HD 71.1 zip on the phone. I installed that via the TWRP install and from there it booted up normally. Had to setup the phone again but my music/pics were still there. Thanks all for the help!

Related

Please Help Tried Updating to 4.4 Kitkat Bricked

Ok so I tried updating my phone that was already rooted on Android 4.3 S-OFF to 4.4 kitkat with sinless rom sense. Transferred the rom zip to my phone, then proceeded to wipe the system and data, as well as davalik cache with clockworkmod recovery. Attempted to flash the rom and it aborted. Tried a few times and nothing worked. Didn't realize till after that my phone had no OS, and now all I can do is enter the bootloader. Can't enter recovery as the phone will enter clockworkmod then abort and reboot the phone. Not sure what to do at this point as I tried one of the guides and couldn't figure it out. If anyone can help me I'd greatly appreciate it. At least I backed everything up on my computer manually and am using my iPhone 4 until I can get this fixed. Thanks in advance.
Try reflashing recovery then if that works ad b push or usb otg a working Rom to your phone
Sent from my HTC One using Tapatalk
nathlynn22 said:
Try reflashing recovery then if that works ad b push or usb otg a working Rom to your phone
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
How do I reflash recovery when I can't access the filesystem? Do I need to setup ADB and connect to my phone via command line to initiate the transfer? Can you link me to a thread that explains how to setup ADB in a case like this? Thanks
You need to reflash cwm. I'll try find a link. But after recovery is working you would have to use ad b to sideload the Rom. Have you tried from bootloader fastboot erase cache?
Sent from my HTC One using Tapatalk
nathlynn22 said:
You need to reflash cwm. I'll try find a link. But after recovery is working you would have to use ad b to sideload the Rom. Have you tried from bootloader fastboot erase cache?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
My biggest issue is being able to reflash clockworkmod. If I could that out of the way, I already have the rom on the phone storage, so I should in theory be able to reflash I'd think.
I don't have the option to delete cache within the bootloader under fastboot
One Hype said:
How do I reflash recovery when I can't access the filesystem? Do I need to setup ADB and connect to my phone via command line to initiate the transfer? Can you link me to a thread that explains how to setup ADB in a case like this? Thanks
Click to expand...
Click to collapse
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
Gotcha. Makes sense. Will try and let you know. Thanks so much!
Htc one kiktkat 4.4 update gone wrong
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
I did all what you said there its still takes me back to bootloader...
and that red message active cmdline overflow (1085bytes) still there...any soulutions to fix this please?
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
Just tried everything and it worked 100%! Can't thank you enough!

URGENT: HTC One m7 Developer Edition - No OS, only Bootloader and TWRP [SOLVED]

Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
shabx said:
Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
Click to expand...
Click to collapse
You will need to unzip the nandroid backup and place it in the <serial #> directory for TWRP to see it. The nandroid backup folder needs to be in //sdcard/TWRP/BACKUP/<Serial #>/<Nandroid_folder_name>. You might also change to TWRP 2.6.3.3 it works best with stock roms.
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/nandroid/<contents of zip file>
shabx said:
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/5.11.1540.9 TWRP NANDROID
Click to expand...
Click to collapse
See attached pictures, this is the view from the zip. You see there is only one folder in the zip. This folder is extracted out of the zip and it becomes the folder that is placed in the serial # folder. The contents of the folder are shown in the second picture. The serial # is the serial # of your phone. If you don't know it then you can find it in fastboot getvar all.
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
shabx said:
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
Click to expand...
Click to collapse
No, I don't think you can unpack the zip in TWRP. Just what is the file you are trying to move? Could you give the name and location where you got the file?
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
shabx said:
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
Click to expand...
Click to collapse
That file may not work with your phone it is pretty outdated. Can you post a fastboot getvar all (except for imei and serialno)? So, we can see if there is a better version or way to do the same thing.
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
shabx said:
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
Click to expand...
Click to collapse
ADB works in OS if USB Debugging is enabled and in custom recovery. In other words, the phone is in Recovery and attached to your computer you can run the command adb devices and you should see your serial number and next to it "recovery". If you are in FASTBOOT USB, only fastboot will work not ADB. Depending on your hboot you can use revone (hboot 1.4X), rumrunner (hboot 1.54) or firewater (hboot 1.5X) to achieve S-OFF.
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
shabx said:
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
Click to expand...
Click to collapse
Here try this method:
How to get ADB to recognize the device​
After you re-install adb & fastboot
Disconnect your phone from the computer
Then reboot the computer and open the command window
Type: adb kill-server
Then when it is finished
Type: adb start-server
Now connect your phone to the PC
Type: adb devices
Click to expand...
Click to collapse
majmoz said:
Here try this method:
Click to expand...
Click to collapse
@majmoz
shabx said:
@majmoz
Click to expand...
Click to collapse
This is an old method that I used to get S-OFF with revone:
Revone S-OFF on the phone method​Revone Download:
http://revolutionary.io/revone
Big thanks to the Revolutionary dev team. The original thread can be found here.
Written instructions:
 Download the Revone file above and transfer it to your phone (or download on your phone)
 Use a root file explorer and paste the file inside the /data/local/tmp folder
 Open a terminal emulator and type the following:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]chmod 755 revone[/I][/B] (enter) (IF revone doesn’t work, type revone.bin)
[B][I]./revone -P[/I][/B] (enter)
 Reboot
 Open terminal again and type:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]./revone -s 0 -u[/I][/B] (That would be a ZERO) (enter)
 Reboot
 That’s it! To get rid of the tampered, or relock, follow instructions below
To remove “tampered”
open terminal
Code:
[B][I]cd /data/local/tmp[/I][/B]
[B][I]su[/I][/B]
[B][I]./revone.bin -t[/I][/B]
These are other commands that you can fill in above to
-u – Unlock the device
-l – Lock the device (as if it was never unlocked)
-r – Relock the device (mark the device as relocked)
-t – Reset the device’s tamper flag.
Click to expand...
Click to collapse
You will need a terminal emulator you can download one from the Google Play Store.
majmoz said:
This is an old method that I used to get S-OFF with revone:
You will need a terminal emulator you can download one from the Google Play Store.
Click to expand...
Click to collapse
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
shabx said:
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
Click to expand...
Click to collapse
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
shabx said:
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
Click to expand...
Click to collapse
Let's get a rom on your phone first. Did you have a rom that you wanted to put on your phone? It should be a Sense ROM.
Originally posted by @alrayHTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer,
either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
You need TWRP recovery on your device.
We still recommend to use version 2.6.3.3 for all roms
except if another version is specified in the rom OP.
Use 2.7.1.1+ for roms that require "block:by-name" support (CM11)
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
follow the below instructions to fix
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
Here is a list of the HTC M7 roms. Some other roms can be found here.
Connect your phone to computer using usb cable
(if not using the official HTC USB calble, make sure
you are using a USB data cable and not only a charging
cable. Data cables have 4 contacts: 5V, GND, DATA+, DATA-.
Charging cable only have 5V and GND contact and will not work)
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes (5-15) and there is no progress bar, the command prompt will be unresponsive for that duration. When the command prompt is responsive again and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
Click to expand...
Click to collapse
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
shabx said:
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
Click to expand...
Click to collapse
That file is a RUU rom zip for your phone. I believe you will have to flash it in bootloader like firmware. Your bootloader will need to be relocked.
Rename file to rom.zip and put in your fastboot/adb folder.
Put the phone in bootloader/FASTBOOT USB:
After that, type:
Code:
fastboot oem lock
Code:
[B][I]fastboot oem rebootRUU [/I][/B]
NOTE: You should see a silver HTC logo come up on your phone after executing this command.
NOTE: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Finally:
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
Repeat the same command: IMPORTANT
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
NOTE: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Last Step:
Code:
[B][I]fastboot reboot[/I][/B]
Click to expand...
Click to collapse
The phone came with an unlocked bootloader. Then why do I need to relock it. You have given me 2 sets of instructions above.. One is using adb and other is flashing the ruu in bootloader.

[Q] Can't Load OS via USB otg or computer, stuck in TWRP.

Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Aceboog33 said:
Ok so I screwed up.
I'm not a developer but i'm familiar with most of the basics. So my m7 was rooted with android revolution 81.0. I was having unrelated problems with calls and also some other small things like a lock screen delay. I decided I was gonna do a system wipe (which I've done plenty of times before with no problems) but this time I forgot to put the OS on the sd card before the wipe. As of now my phone turns on but stays on the HTC screen unless I force it into bootloader and I can also get into TWRP still. I also noticed I wiped the sd card as well by accident so everything is gone. I tried loading the OS via USB OTG but when i go to mount OTG in TWRP I can't select "USB-OTG".I can only select "system" "cache" and "data" I also tried mounting the phone via the computer but it doesn't show up but it does come up on device manager with a yellow exclamation sign next to it. I've heard you can do something with the ADB Sideload but I have no idea how to do that so if that's the answer please explain in detail.
If someone can get it to where I can mount the OTG then I can handle it from there.
Just some details:
S-on
TWRP version 2.6.3.2
I think i've wiped everyting there is to wipe trying to fix this, (
I've been without a phone for a week now and I'm desperate for any kind of fix. I'd greatly appreciate if someone could steer me in the right direction.
Click to expand...
Click to collapse
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Seanie280672 said:
first thing is first, you need to sort out your driver, so when you see "one " with the yellow exclamation mark in your device manager, right click on it and select update driver, select the 2nd option, browse for driver software, again select the 2nd option which is something like let me choose the driver, it may give you a list after that of the type of device connected, select android devices, then select your latest myHTC driver from the list, it will give you some warning about it may not be the correct driver, are you sure you want to install, select yes.
Next, do you know how to use adb and fastboot ?
Click to expand...
Click to collapse
I know it involves the command terminal but no, I've never used it before.
Aceboog33 said:
I know it involves the command terminal but no, I've never used it before.
Click to expand...
Click to collapse
still need help?
madboy_maduka said:
still need help?
Click to expand...
Click to collapse
yes yes i dooo
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Seanie280672 said:
Sorry I had to leave for work, what you need is adb and fastboot files, so download this link and extract it to your desktop https://www.androidfilehost.com/?fid=23329332407580571
Then download either twrp 2.6.3.3 or 2.6.3.4 from the twrp recovery web site, when it's downloaded, rename it to recovery.img for ease and place it in the same folder as adb and fastboot.
You will then need to open a command Windows within that folder by holding control, shift and right mouse click on any white area within that folder, select open command window here.
Make sure your phone is plugged into the computer, and in the bootloader with fastboot usb showing on the screen.
At this point your drivers must be working as per my other post, then issue the following commands one at a time.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery, your usb otg cable should work now for flashing a Rom, be sure to do a full wipe before flashing, your current recovery sounds too old to me for usb otg support.
---------- Post added at 11:09 AM ---------- Previous post was at 11:00 AM ----------
If your still having problems with usb otg cable at this point, take the Rom which you want to flash and again place it in the same folder on your desktop as adb and fastboot, rename it to Rom.zip for ease, put your phone into recovery and then plug it into the computer, with recovery main screen showing on the phone, once again open a command window on your computer from within the adb and fastboot folder and issue the following command
adb push Rom.zip /sdcard/
Takes about 5 mins and will look unresponsive but it will let you know when it's done, unplug your phone when done, wipe and install.
Click to expand...
Click to collapse
What the guy above me said was right, the problem I think with your phone is drivers I'll upload a link to adv drivers in my next post, basically using recovery (twrp recommend) wipe /data, /cache & /system. Then go to adb sideload which is in the recovery (it should say something like adb server started). Then using adb devices command check if your computer sees your device if not you gotta install drivers for your computer. In device manager on your computer your device should be something like ADB interface if not drivers are not correctly installed. Right click update drivers I'll link it in ma next post
---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------
Follow these instructions to install the driver http://visualgdb.com/tutorials/android/usbdebug/manualinstall.php
Aceboog33 said:
yes yes i dooo
Click to expand...
Click to collapse
Use this guide. Saved me one time
http://android-revolution-hd.blogspot.ro/2013/12/how-to-copy-rom-zip.html?m=1

[HELP] Android not booting [URGENT]

It's a bit urgent to get solved, I'm at college, and that's the only way to talk with my parents, being 1 or 2 days without answering them would be a problem, since they will start to get worried.
Phone: Motorola Moto G 2014, XT1063
Using Team Win Recovery Project v2.8.0.1
Basically I was trying to update to the Android 5.0, since I had my phone rooted, I decided to go with an customized ROM.
DIdn't understand why, but it f**ed up.
Basically I cleaned everything, and in an act of desperation I also lost my sdcard, I've been trying to install the ROM through sideload, but it's not working, I get the error *failed to write data protocol fault no status*, and the phone keeps rebooting, and stuck in the "WARNING BOOTLOADER UNLOCKED"
I appreciate any kind of help, as I said, it's really important to solve this ASAP.
Thanks in advance!
Sir,
Please wait until mods will move this thread to the device specific forum for more relevant answers.
Stand by
Good luck
gouzzz said:
Basically I was trying to update to the Android 5.0, since I had my phone rooted, I decided to go with an customized ROM.
Click to expand...
Click to collapse
1) download TWRP 2.8.4.0 and install it through fastboot.
2) Since you have no sdcard we will use the mtp capability of twrp
-- Boot into your newly installed recovery. Check the version
-- Go to Mount and disable mtp and unmount everything. Now enable mtp. You should see that Data is mounting automatically and should appear on your Computer.
-- Transfer your ROM (I recommend The Titan Prime Rom for XT1063/64. It's based on stock and much more polished than CM12)
-- Download and transfer pa-gapps (MICRO MODULAR PACKAGE).
-- Download and transfer latest SuperSU (min version 2.45 is required by our device).
-- Wipe Dalvik, Cache, System and Data
-- Now Flash ROM, GApps and SuperSU. reboot and wait. it will take a couple of minutes.
Doppel u r right. follow doppel steps.
doppelhelix said:
1) download TWRP 2.8.4.0 and install it through fastboot.
2) Since you have no sdcard we will use the mtp capability of twrp
-- Boot into your newly installed recovery. Check the version
-- Go to Mount and disable mtp and unmount everything. Now enable mtp. You should see that Data is mounting automatically and should appear on your Computer.
-- Transfer your ROM (I recommend The Titan Prime Rom for XT1063/64. It's based on stock and much more polished than CM12)
-- Download and transfer pa-gapps (MICRO MODULAR PACKAGE).
-- Download and transfer latest SuperSU (min version 2.45 is required by our device).
-- Wipe Dalvik, Cache, System and Data
-- Now Flash ROM, GApps and SuperSU. reboot and wait. it will take a couple of minutes.
Click to expand...
Click to collapse
The device appear as offline in the fastboot, sometimes even doesn't appear, where can I get the drivers?
I searched for naked versions, and "universal" ones, but none seems to work.
gouzzz said:
The device appear as offline in the fastboot, sometimes even doesn't appear, where can I get the drivers?
I searched for naked versions, and "universal" ones, but none seems to work.
Click to expand...
Click to collapse
You can get Motorola drivers here. You probably also need a recent version of adb and fastboot. You can ge it here Minimal ADB and Fastboot. Install it.
start "Minimal ADB and Fastboot" by navigating to the Start Menu Folder you choose to create during installation or the desktop shortcut you choose to create and select "Minimal ADB and Fastboot"
You should now see a command window open.
Put your device in fastboot mode and connect usb.
Now just do verify type this command
Code:
fastboot devices
the output should show something like this (your number is different)
Code:
fastboot devices
ZX1D225X69 fastboot
now put your recovery.img into the directory where your command window is open and start flashing
Code:
fastboot flash recovery NAME_OF_RECOVERY.img
---------- Post added at 15:34 ---------- Previous post was at 15:31 ----------
gouzzz said:
EDIT: Now it doesn't charge, or something. I connected it to charge, but it keeps appearing 0% for more than 30 minutes, I can't even access the menu from "Volume Down + Power On"
Click to expand...
Click to collapse
You need a wall charger. USB from pc does not supply enough power. And you need at least 25% (ish) otherwise fastboot will refuse do do anything.
doppelhelix said:
You can get Motorola drivers here. You probably also need a recent version of adb and fastboot. You can ge it here Minimal ADB and Fastboot. Install it.
start "Minimal ADB and Fastboot" by navigating to the Start Menu Folder you choose to create during installation or the desktop shortcut you choose to create and select "Minimal ADB and Fastboot"
You should now see a command window open.
Put your device in fastboot mode and connect usb.
Now just do verify type this command
Code:
fastboot devices
the output should show something like this (your number is different)
Code:
fastboot devices
ZX1D225X69 fastboot
now put your recovery.img into the directory where your command window is open and start flashing
Code:
fastboot flash recovery NAME_OF_RECOVERY.img
---------- Post added at 15:34 ---------- Previous post was at 15:31 ----------
You need a wall charger. USB from pc does not supply enough power. And you need at least 25% (ish) otherwise fastboot will refuse do do anything.
Click to expand...
Click to collapse
On the MOUNT and UNMOUNT processing I don't see anything on my PC, I don't even know how to unmount it. It only appears Enable MTP and disable.
How am I supposed to load the ROMS?
Tried with sideload but got an errror : "Error executing updater binary in zip .."
Seems like the drivers aren't working properly, I have Windows 8.1, on the site it doesn't talk about it, this might be the problem? Cause I instaled motorola device manager, I scan for drivers but it doens't find anything, and the phone apperas with the yellow triangle on the Device Manager.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
EDIT: I managed to boot the Titan 5.0.2, but now it's stuck in the 4 balls moving around, i waited for about 1hour.

[How To] Unlock Bootloader, Install Recovery and Root

Everytime I have to unlock,flash recovery and root I can't remember how to do it....
So I'm writing this very easy guide.
This was a fiddly little phone to root!!!
First off get the One Mini 2 drivers from here:
http://www.htc.com/uk/software/htc-sync-manager/
I personally cannot stand HTC Sync, it's totally pointless but it does contain all the drivers, if you can extract just the drivers then do...
Download Android SDK Slim from here:
https://mega.nz/#!8tETTbga!iVOYHGwT7...PNuQCrX6zJxpwQ
Unzip it anywhere you like, desktop's easy but it can be anywhere...
Go to https://www.htcdev.com log in click on Get Started then Unlock Bootloader and choose One Mini 2 from the dropdown.
Click Yes and Tick the two boxes for all the legal stuff.
Now go into your One Mini 2 Phone Developer Settings and switch on USB debugging.
Next go to Power settings and switch off Fast boot.
Then connect the phone to your PC via USB cable.
Allow your PC to recognise it and download any stuff it wants to.....
Go make a cup of Tea while this is happening.
Next go to your SDK folder, wherever you ended up putting it, click through to the Platform Tools folder where you will see ADB and Fastboot.
Hold down Shift and Right Click anywhere in the folder, choose Open Command Window Here.
In Command Window Type: adb reboot bootloader
Your Phone will boot into Bootloader
Keep the Command Window open...from now until the very end!!
That has just skipped all the 4 Steps on the HTC Dev site!!!
Proceed to Step 5
Now in the Command Windows Type: fastboot oem get_identifier_token
You will see a long block of text. Copy and paste this text into the the token field on the HTC Dev site. Right Click choose Mark and highlight the square bit of code then press Enter to copy.
Paste that into the My Device Identifier Token
HTC will email you a little Unlock_code.bin file within seconds (Check your Junk folder)
Then copy or move the token to the Platform Tools folder.
Back to your Command Window which should still be open!!
Type: fastboot flash unlocktoken Unlock_code.bin
Now follow the instructions on the Phone....
The phone will Unlock the bootloader....
And Reboot your phone....
You need to go back to settings and switch on USB Debugging and switch off Fastboot (See start of tutorial)
Make sure you are still plugged into your PC
In Command Window Type: adb reboot bootloader and your phone will go back into the Bootloader screen.
Next go here: https://forum.xda-developers.com/on...recovery-twrp-3-0-2-0-unofficial-htc-t3555343
Download this TWRP
Place that file in the Platform Tools folder
Then in Command Window type: fastboot flash recovery twrp_3.0.2-0_v0.1.img
This will install your TWRP Recovery!!!
This bit took me a day to sort out... You need to install SuperuserSU but you can't do it using the TWRP "Do you want to install SuperuserSU" method...
The easiest way I found was to Reboot your phone normally into the OS.
Go to Google Play and download ESFile Explorer
Then in a browser go here: http://www.supersu.com/download and download the Recovery V2.79 Flashable.zip don't be tempted to use the 2.8 version...yet!
Now you have the SuperuserSU in downloads...
Boot into Recovery and in TWRP press Install and find the Download folder, then open that to find Recovery V2.79 Flashable.zip.
Select that and swipe to install....voila!!!
Reboot your phone into the OS
From there open the Super SU app and update your Super User Binaries...
And that's how to Unlock the Bootloader, Install TWRP Recovery and Root....
EASY!!!!
:silly::silly::silly:
If you want to S-Off you can only do it using Sunshine and you have to relock bootloader!!!
To relock bootloader connect phone to PC with USB Debugging switched on and Power/Fast boot switched off.......right click holding shift in platform tools click on open command window here...
Type: adb reboot bootloader
Once in Bootloader...
Type: fastboot oem lock
EASY!!!!
:silly::silly::silly:

Categories

Resources