[Q] No OS stuck in TWRP - One (M7) Q&A, Help & Troubleshooting

I know this has already been posted but I've tried to read the other posts and don't understand so step by step instruction would be helpful. I'm an idiot and advanced wiped my AT&T HTC One M7 so now all I can do is access TWRP and it says I have no OS. Can someone please help me it would be much appreciated

maxbwb said:
I know this has already been posted but I've tried to read the other posts and don't understand so step by step instruction would be helpful. I'm an idiot and advanced wiped my AT&T HTC One M7 so now all I can do is access TWRP and it says I have no OS. Can someone please help me it would be much appreciated
Click to expand...
Click to collapse
Make sure you have latest adb version installed.
If not download from here
http://dottech.org/21534/how-to-ins...ows-computer-for-use-with-your-android-phone/
Make sure you have TWRP 2.6.3.3 installed
Rename the custom rom... rom and put the rom in your adb folder.
enter recovery and connect the phone to the PC.
from within the adb folder. Press shift/right mouse
Then open command prompt here
From advanced menu in recovery enter ADB sideload
Then from command line
type adb sideload /path/to/rom.zip
It will take a while for the rom to be copied
Sent from my HTC One using XDA Premium 4 mobile app

Also an output of fastboot getvar all will help greatly in pointing to the right file

Related

[Q] Accidently deleted my OS

Hi guys
This is my first time posting here, but have been following up the forum for some time.I have deleted my OS through TWRP when I wanted to clean my mobile's cache. It doesn't boot now, and is stuck on the HTC Quietly Brilliant screen. I can boot into bootloader, and have removed TWRP, but I am not able to reset to factory settings, and cannot upload a recovery image through ADB. I tried using Hasoon2000's AIO Toolkit, but to no avail.
I have an unlocked HTC One, modelid: PN0710000, cidnum: HTC__J15, and can lock/unlock the bootloader.
I adb sideloaded HTC One's firmware (downloaded from HTC Dev, OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0) but I get a file_getprop: failed to stat "/system/build.prop": no such file or directory error, and the installation aborts.
Any help is highly appreciated!
Thanks
Can you detail the steps that lead to (assuming it still gets past the bootsplash) the bootloop youve created?
AT&T HTC One
ARHD 12.0
Tbalden Perf Kernel 2.1.4 UV/OC/UC
Download the appropriate RUU for your One and then run it. It will fix everything. This happened to me and doing the RUU was the only way to fix it
@Toxicoblivion: If I turn the mobile the normal way, I'd get the to the HTC logo and nothing more. I keep the vol down and power buttons pressed to get to the bootloader screen.
@xeron72548: I am new to this, so please bear with me. I tried searching for my RUU, but couldn't find it. As mentioned, I have cidnum: HTC__J15, and firmware 1.29.401.12-12
(Henace OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip).
Thanks a million
KhaldoonSaid said:
@Toxicoblivion: If I turn the mobile the normal way, I'd get the to the HTC logo and nothing more. I keep the vol down and power buttons pressed to get to the bootloader screen.
@xeron72548: I am new to this, so please bear with me. I tried searching for my RUU, but couldn't find it. As mentioned, I have cidnum: HTC__J15, and firmware 1.29.401.12-12
(Henace OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip).
Thanks a million
Click to expand...
Click to collapse
To get your phone running now use adb sideload in TWRP to flash a stored rom from the pc see here for how to :
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
Thank you gee2012, but I don't have an RUU rom. Can you help in guiding me where I can download it (other than HTC Dev's site, as they don't have the RUU for my version)?
KhaldoonSaid said:
Thank you gee2012, but I don't have an RUU rom. Can you help in guiding me where I can download it (other than HTC Dev's site, as they don't have the RUU for my version)?
Click to expand...
Click to collapse
No, just flash a custom rom in adb sideload to get the phone running for now.
For flashing the RUU you have you need to have the 1.44.000 Hboot or need to be S-Off see here for how to http://forum.xda-developers.com/showthread.php?t=2314582.
You also change your CID if you have the phone running in for instance HTC__001 or SuperCID 11111111 and than you can flash any WWE or European rom. Change CID in fastboot: fastboot oem writecid HTC__001,, hit enter and check fastboot oem readcid.
Thanks gee2012. I am now on Android Revolution HD, and it's working. Time to find out how to return to factory firmware ....Amazing help, guys...much appreciated!!!!
for me adb sideload just keeps saying starting adb sideload feature. Anyway on how to fix this? I'm also plagued with no backup and a deleted OS. Please help me!!:crying:
@KashyapG: You need to be in recovery mode in your phone, and then you must activate the adb sideload uploading function from there. After that, adb sideload from your computer should work. don't forget to add .zip to the filename
adb sideload itself won't work, it's stuck on adb sideload feature starting- unless that means it's started- I have put in .zip at the end of the rom file name.
Try this how to:
http://forum.xda-developers.com/showthread.php?t=2318497
same problem
hi nitin this is haider from bhopal
please help me to out of this i have rooted my htc dual sim indian version to install custom rom but after rooting i am unable to install any custom rom i have tried many now i want to unroot my phone but i cant i havnt find any ruu for my devise i have tried allot to find it out at google but i am fail
pleaseeeeeeeeeeeeeeeeeeeeeee help me to unroot and to install my original factory firmware
my device details are as under
Android Version 4.2.2
HTC Sence Version 5.0
Software No 2.23.720.1
Kernel Version 3.4.10-g597332e
[email protected] # 1
Baseband Version 1.01.32.0708-1237.20.28.0614
Build number2.23.720.1 CL223177 release-keys
KashyapG said:
adb sideload itself won't work, it's stuck on adb sideload feature starting- unless that means it's started- I have put in .zip at the end of the rom file name.
Click to expand...
Click to collapse
Try it like this.
Boot into recovery
Click on adb sideload and let it run
Go to computer and open terminal
Gain root access (sudo -I if ubuntu)
Press enter and type password
Connect your phone to computer
Type in "adb devices"
Press enter
Your computer should say device in recovery
Then type in adb sideload and drag the file into the terminal window
Press enter and profit
Sent from my HTC One using XDA Premium 4 mobile app

Need Help Unbrick My HTC One M7

My HTC One M7 is stuck at HTC logo and will not boot further. I've tried many methods, but cannot repair the phone. It's M7 Europe HTC_001 Firmware 1.29.401.13.
With bootloader unlocked I flash cwm recovery and tried to copy custom rom to flash but phone cannot mount usb storage. I tried to flash stock RUU 1.28.401.7, it won't flash because of hboot error. I tried to flash PN07IMG_1.29.401.13.zip using fastboot flash zip. firmware.;zip, with locked or unlocked bootloader, it won't flash, giving error.
Is there any full RUU 1.29.401.17 or RUU 2.17.401.1 firmware out there for download? I think that's my only solution is to get the same or higher full and not OTA firmware. Would it be possible to ADB push custom rom to phone if it can only power and stuck at logo? Or any other solution, please help, thanks.
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
citifone said:
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
Click to expand...
Click to collapse
Try ADB push/sideload: http://forum.xda-developers.com/showthread.php?t=2325853&highlight=sideload
FIX
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
I've tried to use adb push method but when I put phone to recovery (phone shows red triangle) and run command adb devices, it cannot see the device. Is it because of the drivers? I've installed all drivers and do not see any drivers error in device manager...I really appreciate all the helps from everyone and I spent so much time trying to fix this phone already and I feel I'm so closed now to fix it but just need little more help..Thanks..
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Samper27 said:
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
Click to expand...
Click to collapse
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
HTC ONE not started, only htc logo
Hi how are you? I have a one mobile Htc One M7, just not started but show only htc logo. Plase help me!
citifone said:
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
Click to expand...
Click to collapse
epic, thank you for the useful post

[Q] HTC One Bricked, Need Help...

Hey Guys,
I have scoured forums for hours trying to copy solutions and i am at wits end.
I was running the latest version of arhd and chose to switch to Paranoid. In recovery, as you do, i accidentally formatted everything so now there is no directory, roms etc on the phone at all.
I am able to get into recovery but adb sideload wont work. I can sometimes get ADB to recognize the device but it wont allow me to push or sideload. I really don't know what else to do. Any information i can give you please let me know.
Regards
Check that you have the latest version of adb installed, then you should get sideload to work.
Sent from my HTC One using xda app-developers app
paul_59 said:
Check that you have the latest version of adb installed, then you should get sideload to work.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Hey thanks Paul, I currently have Clockwork mod recovery 6.0.3.1 that i am able to get into, but when i go to "install zip from sideload" it says "failed to open driver control: no such file or directory" twice.
I have installed the latest ADB drivers.
Seems to be driving me nuts at the moment.
sneakers2606 said:
Hey thanks Paul, I currently have Clockwork mod recovery 6.0.3.1 that i am able to get into, but when i go to "install zip from sideload" it says "failed to open driver control: no such file or directory" twice.
I have installed the latest ADB drivers.
Seems to be driving me nuts at the moment.
Click to expand...
Click to collapse
Just to confirm, CWM wont allow me to mount anything, i have nothing on the phone (no roms, recoveries etc), when i reboot the phone and allow it to sit on the htc screen with red warning text, i can sometimes get the device recognised by adb however, when trying to push or sideload anything onto it, it tells me i do not have permissions or that it is read only.
sneakers2606 said:
Hey thanks Paul, I currently have Clockwork mod recovery 6.0.3.1 that i am able to get into, but when i go to "install zip from sideload" it says "failed to open driver control: no such file or directory" twice.
I have installed the latest ADB drivers.
Seems to be driving me nuts at the moment.
Click to expand...
Click to collapse
This link should give you a copy of a Stock nandroid backup, but for the 64gb Dev Edition. Not sure what phone you have.
I don't have all the links on my work computer and forgethow I searched, but look for "Fastboot recovery" or something like that.
darkjuan said:
This link should give you a copy of a Stock nandroid backup, but for the 64gb Dev Edition. Not sure what phone you have.
I don't have all the links on my work computer and forgethow I searched, but look for "Fastboot recovery" or something like that.
Click to expand...
Click to collapse
hey, thank you for your help.
That link appears to be broken. Anyhow, i am unsure how i could get the nandroid onto my htc one 32gb without being able to adb push or sideload.
regards
Basically you need the latest version of HTC driver for your pc, plus latest adb on pc and latest cwm or twrp recovery on your HTC One
It's been a while since I used CWM recovery as I now prefer twrp recovery.
However you seem to have a fairly old version of cwm recovery, I would suggest first flashing a more recent recovery, either cwm or twrp.
Then reboot to recovery, check that your HTC One is seen on pc by typing adb devices
It should list the serial number of your phone.
Then select sideload options in recovery, then follow instructions, which is usually
adb sideload name_of_rom.zip
Hope this helps
Sent from my HTC One using xda app-developers app
paul_59 said:
Basically you need the latest version of HTC driver for your pc, plus latest adb on pc and latest cwm or twrp recovery on your HTC One
It's been a while since I used CWM recovery as I now prefer twrp recovery.
However you seem to have a fairly old version of cwm recovery, I would suggest first flashing a more recent recovery, either cwm or twrp.
Then reboot to recovery, check that your HTC One is seen on pc by typing adb devices
It should list the serial number of your phone.
Then select sideload options in recovery, then follow instructions, which is usually
adb sideload name_of_rom.zip
Hope this helps
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Hey,
This sounds like a perfect plan. Could you please tell me how i can update the recovery if i cannot find a way to put the file on the phone. I have started another thread in this category where i will offer £20 via paypal for the solution, if you can offer it ill be happy to honour it from this thread,
regards
sneakers2606 said:
Hey,
This sounds like a perfect plan. Could you please tell me how i can update the recovery if i cannot find a way to put the file on the phone. I have started another thread in this category where i will offer £20 via paypal for the solution, if you can offer it ill be happy to honour it from this thread,
regards
Click to expand...
Click to collapse
search google for twrp
get newest img file for your phone.
load bootloader "fastboot flash recovery twrp****.img"
Make sure you get img file not the goo install thing
Don't need payment, just press thanks button if I helped you.
See my reply on your other thread.
http://forum.xda-developers.com/showthread.php?p=46516720
Sent from my HTC One using xda app-developers app

Can someone please HELP me

Hello Everyone,
I want to make my htc one work again as I have accidentally deleted its OS without creating any backup now Im stuck and unable to use my phone since a week.
I have tried using adb sideload and adb push to flash rom but its not working even though its says my device is connected PLEASE HELP so i can make my phone work again.I have attached the screenshots to the method I have used for flashing rom as well as the error I am facing in command prompt.
Please explain the answer in detail as I am not a tech geek so most of the technical terms and procedures are new to me.
Thanks in advance awaiting your kind assistance
Did you try this method to "push" your ROM to your SDCard?
http://forum.xda-developers.com/showthread.php?t=1667929
In a command prompt, juste type "adb push androidrom.zip /sdcard/androidrom.zip" (without quotes)
Just wait, reboot in recovery, u should find ur rom...and flash it...
Khurram Abbasi said:
Hello Everyone,
I want to make my htc one work again as I have accidentally deleted its OS without creating any backup now Im stuck and unable to use my phone since a week.
I have tried using adb sideload and adb push to flash rom but its not working even though its says my device is connected PLEASE HELP so i can make my phone work again.I have attached the screenshots to the method I have used for flashing rom as well as the error I am facing in command prompt.
Please explain the answer in detail as I am not a tech geek so most of the technical terms and procedures are new to me.
Thanks in advance awaiting your kind assistance
Click to expand...
Click to collapse
Is "androidrom.zip" in the directory you're running adb from?
Yes
mb_guy said:
Is "androidrom.zip" in the directory you're running adb from?
Click to expand...
Click to collapse
yes it is in the directory but still not working
In TWRP you go to advanced, then ADB Sideload, then swipe.
Then run adb sideload androidrom.zip
Also, where did this androidrom.zip come from??
SaHiLzZ said:
In TWRP you go to advanced, then ADB Sideload, then swipe.
Then run adb sideload androidrom.zip
Also, where did this androidrom.zip come from??
Click to expand...
Click to collapse
Wonder if he may have a double file extension? androidrom.zip.zip? His first screen shot looks like it's in sideload
But good question. Where id the file come from.
Thanks
dd66 said:
Did you try this method to "push" your ROM to your SDCard?
http://forum.xda-developers.com/showthread.php?t=1667929
In a command prompt, juste type "adb push androidrom.zip /sdcard/androidrom.zip" (without quotes)
Just wait, reboot in recovery, u should find ur rom...and flash it...
Click to expand...
Click to collapse
Hey thanks for your help I haven't tried this method il do it now and get back to you, in your post you have mentioned androidrom.zip 2 times im confused which one related to command and which one relates to original rom as I have renamed by rom android.zip, secondly the method you have quoted requires cwm recovery but I have twrp will it work with twrp as well ?
Thanks in advance
Khurram Abbasi said:
Hey thanks for your help I haven't tried this method il do it now and get back to you, in your post you have mentioned androidrom.zip 2 times im confused which one related to command and which one relates to original rom as I have renamed by rom android.zip, secondly the method you have quoted requires cwm recovery but I have twrp will it work with twrp as well ?
Thanks in advance
Click to expand...
Click to collapse
We got the name androidrom.zip from your first screen shot. If that's not the actual rom name it should be. If you created android.zip use android.zip
Will lso work with twrp

Looking for All in One Toolkit to Root HTC One M7

I am a complete newbie when it comes to rooting phones and stuff. I have been going through the tutorials and the toolkits that have been posted here years ago. However, when I click on "install HTC drivers" the program doesn't do anything...
Are there current and working All in One Toolkits to root my HTC One M7? Would be highly highly appreciated.
MrAlexM said:
I am a complete newbie when it comes to rooting phones and stuff. I have been going through the tutorials and the toolkits that have been posted here years ago. However, when I click on "install HTC drivers" the program doesn't do anything...
Are there current and working All in One Toolkits to root my HTC One M7? Would be highly highly appreciated.
Click to expand...
Click to collapse
I would recommend you to do it without using any toolkit. There are all outdated anyway and doing it the right way is only 3 steps:
Unlock your bootloader
Flash twrp recovery
Install the latest supersu.zip using twrp recovery
alray said:
I would recommend you to do it without using any toolkit. There are all outdated anyway and doing it the right way is only 3 steps:
Unlock your bootloader
Flash twrp recovery
Install the latest supersu.zip using twrp recovery
Click to expand...
Click to collapse
Sounds good but how do I do it exactly? is there a step by step tutorial that I can "blindly" follow?
MrAlexM said:
Sounds good but how do I do it exactly? is there a step by step tutorial that I can "blindly" follow?
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=xuIq0gmYpFA
https://www.youtube.com/watch?v=EE6F-4KjR9I
Just make sure to use the latest twrp recovery and supersu.zip, not the versions instructed in the videos.
I am stuck at the bootloader unlocking stage where I download the fastboot.exe on the desktop and run it within cmd.exe
But it does virtually nothing. The bootloader zip from htcdev contained just the bootloader.exe whereas in the video tutorial it comes with a DLL and another file.
I specified the HTC One M7 as this is the phone that I am currently working with and want to root.
What am I missing, what am I doing wrong?
MrAlexM said:
I am stuck at the bootloader unlocking stage where I download the fastboot.exe on the desktop and run it within cmd.exe
But it does virtually nothing. The bootloader zip from htcdev contained just the bootloader.exe whereas in the video tutorial it comes with a DLL and another file.
I specified the HTC One M7 as this is the phone that I am currently working with and want to root.
What am I missing, what am I doing wrong?
Click to expand...
Click to collapse
You can use minimal adb and fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
This will install the correct files (adb.exe fastboot.exe and their dll) and create a shortcut to launch a termimal window from the correct folder (start menu --> program ---> minimal adb and fastboot --> minimal adb and fastboot.exe
Then continue with step 5 from htcdev.com/bootloader
When you'll get your Unlock_code.bin file, don't forget to save it in the same folder where minimal adb and fastboot is installed on your computer (by default C:\minimal adb and fastboot\)
Fantastic, thank you, I was able to unlock the bootloader. Now I am off to the second video to actually root my phone now. Will let you guys know how it goes!
The problem now is that in the thread that the said root video's thread is now different. There is not the root "SuperSU" file in it anymore, what to do? I either need to find the supersu root files or I need a different tutorial. Sorry for the noobish questions I am just scared to break my phone so I need to make sure to follow the steps closely and not improvise stuff
Edit: I did it and I finally got the hang of it.
1. I unlocked the bootloader
2. I installed the twrp ROM for my HTC One M7
3. I downloaded the newest supersu zip from the original supersu site and put that into my internal storage
4. I entered into the recovery mode and picked "install" and chose the supersu zip
Thanks for your help guys

Categories

Resources