[Q] Im out of options - Sprint HTC One (M7)

So I was about to reflash my phone and now Im stuck. I went a bit too fast maybe so now I have TWRP, no roms or backups. Not only that, I cant mount to USB because of stupid Win 8. Anyone have any ideas? Im pretty sure Im not bricked but right now I wish I had an SD card slot
Thanks again
BTW, I have the factory RUU but my computer isnt detecting the phone

aman1127 said:
So I was about to reflash my phone and now Im stuck. I went a bit too fast maybe so now I have TWRP, no roms or backups. Not only that, I cant mount to USB because of stupid Win 8. Anyone have any ideas? Im pretty sure Im not bricked but right now I wish I had an SD card slot
Thanks again
BTW, I have the factory RUU but my computer isnt detecting the phone
Click to expand...
Click to collapse
I don't know where they are exactly, but there are "universal" windows 8 ADB drivers floating around XDA that worked for me. I had to push the rom .zip to the phone from ADB in TWRP

Apk07 said:
I don't know where they are exactly, but there are "universal" windows 8 ADB drivers floating around XDA that worked for me. I had to push the rom .zip to the phone from ADB in TWRP
Click to expand...
Click to collapse
Thanks for the reply but Im retarded when it comes to ADB. I did it only once. Any page to tell me what to do exactly? Search for some reason is down for me right now.

Ok adb came back to me, like riding a bike. Turns out the image i was trying to flash was off by like a digit so it wouldnt flash. That was a waste of 4 hours

For future reference, the command to put a file onto your phone via adb is: adb push <file location> \sdcard
Sent from my HTCONE using xda app-developers app

decayer177 said:
For future reference, the command to put a file onto your phone via adb is: adb push <file location> \sdcard
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Or
adb push <filename> /sdcard/

bigdaddy619 said:
Or
adb push <filename> /sdcard/
Click to expand...
Click to collapse
Like doin stuff in adb or fastboot... Makes me feel smart! LOL
Sent from my HTCONE using Tapatalk 4

Related

[Q] Help with rom installation?

Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
Android Development is not for questions or Problems
Please post in the correct Forums
Moving to General
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
S.Meezy said:
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Awesome thanks. Now I cant get the adb shell to work. ive done it on my dads phone before so im kinda familiar with it but the sdk still seems to be updating or whatever. Should it work when its finished?
Like when I type "adb devices" it says nothing can be found.
What operating system is ur computer on? Make sure you have installed the LG drivers if Windows.. also, doesn't hurt to be up to date w the sdk...
Sent from my VS910 4G using Tapatalk
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
1. install and update adb sdk.
2. Plug your phone in and install the drivers so it is recognized by windows as the revolution.
3. once 1 and 2 are done set your phone to internet only and turn on debugging.
4. now try adb
Torin_93 said:
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
Click to expand...
Click to collapse
also it is cd c:\android-sdk\platform-tools\
Haxcid said:
also it is cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
I just figured out it was\platform-tools\
Like wtf they moved it? lol
I also forgot about internet mode. Im going to give it a go and if I bump into any problems I will let you know
Once I try to get su access (after checking adb access) it says not recognized. Why?
Torin_93 said:
Once I try to get su access (after checking adb access) it says not recognized. Why?
Click to expand...
Click to collapse
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
S.Meezy said:
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
Click to expand...
Click to collapse
Yes its there
But the su command wont work
You have skype? I could screen share.
Torin_93 said:
Yes its there
But the su command wont work
You have skype? I could screen share.
Click to expand...
Click to collapse
Make sure your screen is on when you type su so you can accept super user permission on your phone.
Sent from my VS910 4G using XDA Premium App
After I type adb devices I get the list then its:
C:\android-sdk\platform-tools>su
Right?
Cause it says not recognized
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
mtmichaelson said:
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Great thanks!!! Im in
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Torin_93 said:
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Click to expand...
Click to collapse
If you are copying it in Windows, copy it to the drive marked "internal." If not, then this is telling you that file isn't on your sdcard. You need to move it there.
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Torin_93 said:
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Click to expand...
Click to collapse
It shouldn't need to go in a folder. The error message about space is normal (expected).

[Q] i need help for my "bricked" phone.. i know it can be fix :-/

well while rooting my phone, installing the recovery and custom rom.. i made a slight (big) mistake towards the ending of root kit process by hasoon. When we are about to flash the custom rom, we're supposed to wipe everything so there wouldn't be any problems later on. We all know a fresh install always gives the best results. When i was wiping everything, i forgot to put Android Revolution HD on my sd so now i have recovery but i can't install a stock rom, custom rom, and i can't restore my phone. please someone help me.. i unfortunately have to go to work in 20 mins but when i get out of work i would greatly appreciate it if i had a few answers that can help me out with my situation. I don't care if its a hard process. this isn't my first phone i root so im not that noobie (at least i don't think so) so all im asking is to be pointed in the right direction and i would greatly appreciate that. Please and thanks for the help everyone. Hope we're all enjoying this amazing phone
Use the all-in-one toolkit in the dev forum to sideload the ROM from your PC. Rename the ROM something simple like arhd.zip on your PC to make it easier.
This helped me with a similar problem.
Sent from my HTC One using xda premium
thanks for getting me on the right track.. i honestly feel really close to having a phone again but now cwm is messing me up now. whenever i try to sideload.. i keep getting "failed to open driver control: No such file or directory" then it says "restarting adbd..." and then it just repeats with the no driver control. did this happen to u? :-/
Josh112191 said:
thanks for getting me on the right track.. i honestly feel really close to having a phone again but now cwm is messing me up now. whenever i try to sideload.. i keep getting "failed to open driver control: No such file or directory" then it says "restarting adbd..." and then it just repeats with the no driver control. did this happen to u? :-/
Click to expand...
Click to collapse
I have exactly the same problem. ADB sideload isn't working for me as the device isn't showing up in adb when booted into recovery... I've been doing this for years... I don't know how I could have done something so stupid :'(
EDIT:
I managed to fix this by installing CWM touch recovery and using LINUX to sideload the ROM .zip for installation. Good look sorting it out!
No didn't get anything like that. Maybe if you can get a USB OTG cable and try load the ROM that way through CWM from a USB or micro sd adapter?
I'm not sure if this would work as I haven't tried it - just a suggestion to try.
Sent from my HTC One using xda premium
Sideload from CWM Recovery
Just went through the whole boot loop due to Aroma freezes at the beginning of the installation, but CWM Recovery is still accessible so I went the ADB Sideload method and push the file to be installed because I didn't have any backup on the internal memory.
Just a couple of guides from the guys at XDA that got me back:
make sure you have the most up to date ADB Tools
From your phone go to Recovery>install zip from sideload
From CMD prompt, check that adb can see your device by 'adb devices' command, it should show your device number with sideload next to it.
If it doesn't see it, try 'adb kill-server' and then 'adb start-server'
Then 'adb sideload custom.zip' (custom= name of ROM zip file)
You should see the percentage completion then it will start the installation on your phone.
I am also newbie at this, was panicking and looked around here having this bricked phone next to me for 24hrs, but I asked around and they got me back in.
Good luck.
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
xdracco said:
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
Click to expand...
Click to collapse
I'd be interested to see an example of the command for future reference??
For example, the ROM is saved in C:\fastboot
Thanks.
xdracco said:
boot to recovery and push rom to phone....
'adb push /path/to/ROM/on/your/computer /path/on/device' (without quotes)
Click to expand...
Click to collapse
This is what I was going to suggest.
Sent from my HTC One using xda app-developers app
redbull123 said:
I'd be interested to see an example of the command for future reference??
For example, the ROM is saved in C:\fastboot
Thanks.
Click to expand...
Click to collapse
Code:
adb push C:\fastboot\My_Rom.zip /sdcard/Download/
Try to have no spaces in the file name. linux based systems hate that.
Then when you boot into recovery, head over to:
install zip from sdcard -> choose zip from sdcard -> Download/
You'll find your ROM there.
HTH
What model do u have?
Sent from my HTC One using xda app-developers app

[Q] Am I (soft) bricked? Can't mount SD in recovery

Hello,
I've been unlocked and rooted for a few weeks and all has been good. Not sure how I did this but I seem to have now bricked my phone though. I can only get my phone to boot to CWM recovery, not to boot properly. Also - while in CWM I get an error E: Can't mount /sdcard/ .
This means I can't copy a ROM to the phone to flash.
Any other way I can get around this? My phone is an unbranded HTC One on T Mobile in the UK. Any help would ne majorly appreciated!!
Did you find a way around as i m stuck too in recovery cant mount external sd card...
Sent from my HTC One x using xda app-developers app
Try with the command:
Code:
adb push name_of_rom.zip /sdcard
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
redbull123 said:
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Cheers for the help guys - I'll give it a go
Sooooo, possibly getting somewhere.
Basically I can now see the sdcard from within CWM. However - I can't push anything to it via adb.
If I go into fastboot and type 'adb devices' I get no devices found. However - typing 'fastboot devices' does see the device.
??
You have to use adb command in recovery..
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
thenoble06 said:
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
Click to expand...
Click to collapse
Reflash the recovery and upgrade your adb with the latest...
Or try the sideload method.
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
redbull123 said:
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
thenoble06 said:
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
Click to expand...
Click to collapse
I haven't tried this myself, but ClockworkMod Touch is supposed to support USB OTG:
http://forum.xda-developers.com/showthread.php?t=2173863
As is TWRP:
http://forum.xda-developers.com/showthread.php?t=2173870&highlight=usb+otg
Just remember to plug everything in before you enter recovery
'fastboot erase cache' before flashing a new recovery
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
thenoble06 said:
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Like i said - i haven't tried it, but there is an option to install a zip from external sdcard in recovery, so it may be that.
Sent from my HTC One using xda premium
Use hasoons toolkit, it has option to sideload. Just make sure you select sideload in recovery. I had the same issue but I was on twrp . Hopefully cwm has side load option
Sent from my HTC One using xda app-developers app
Yeah i tried, for some reason i cant get my laptop to see my phone via ADB
Sent from my GT-N7000 using Tapatalk 2
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
thenoble06 said:
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
Click to expand...
Click to collapse
regarding the device not found error, check if the adb interface is installed in the device manager. may be you have to install it manually .
Also i had the same issue with the sdcard (not able to access), i have wiped the Data partition because sdcard is included inside (in /data/media) of course you will lose all the files in sdcard.
NiceIceDice96 said:
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
Click to expand...
Click to collapse
This device it is not able to mount sdcard via recovery yet, but if you use an off cable it will work I have done it
Sent from my HTC One using Tapatalk 2

Mounting storage in recovery

So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Awesome i'll try that. Thanks!
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
It says device not found.
What about if you go into fastboot in the bootloader screen and type
fastboot devices
Maybe you need to reinstall your adb files...
Sent from my HTC One using xda premium
then you need to install HTC drivers for your phone. If configured correctly you can do adb devices and it will show up.
If you have drivers installed correctly under device manager the phone shows up as My HTC. Make sure you aren't using a USB 3 port if your computer has one.
Reboot your computer. That worked for me. I did the same thing
Also download HTC all in one tool kit. Its a lifesaver.
Sent from my HTC One using xda app-developers app
fastboot does work. Can i use the adb command in bootloader screen?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
I had same problem nothing was working .i used twrp and from there mount storage as otg as that was only working and put a rom in external pendrive and flash your rom
Sent from my HTC One aka M7
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
no only fastboot commands.
So then where do i do the adb commands? In the recovery? I don't get why adb devices isn't giving me anything when fastboot is.
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
No, adb must be done in recovery.
Go into recovery and try
adb devices
If nothing shows up you need to re-install/update your adb files and HTC drivers.
If your devices shows up this time then do what I said earlier...
Sent from my HTC One using xda premium
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
I'm guessing you update adb files via sdk manager?
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
gunnyman said:
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
Click to expand...
Click to collapse
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
jason27131 said:
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
Click to expand...
Click to collapse
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Remove and reinstall the driver
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Reasonably hard if he doesn't have a USB OTG cable atm...
Sent from my HTC One using xda premium
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
jason27131 said:
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
Click to expand...
Click to collapse
Should be good to go
If it freezes in Aroma just force reboot and try again.
Sent from my HTC One using xda premium

[Q] HTC One - Custom Recovery not mounting storage

Hi,
I've looked everywhere for a solution but couldn't find one that helped. I was trying to flash a mod via TWRP custom recovery (followed all the instructions, wiped dalvik cache etc) but when rebooting, |the phone got stuck on the HTC One logo. I can access the custom recovery but when trying to mount storage, computer -running Windows 8- doesn't seem to do anything. Also made the mistake of not making a nandroid backup beforehand, so just need to be able to flash a ROM. Tried to adb push the file, but it gives me the error 'device not found'.
Delete... Sorry, I did misread it.
A lot of people have issues with getting drivers to work on Windows 8. Probably easier if you know someone who has Windows 7 and install the drivers on that
Sent from my HTC One using XDA Premium 4 mobile app
Minimal ADB and Fastboot
Maybe you could try this one here, solved this problem for me.
http://forum.xda-developers.com/showthread.php?t=2317790
You can check if adb can find your phone with "adb devices". If there is none, you have to check your drivers again.
I then used adb sideload in TWRP. Start it when connected and type "adb sideload update.zip" (or whatever your zip is called). He will load the file to your root /data directory. You can install the zip from there then.
Thanks
Thanks for the answers! I'll try using another computer that's not running Windows 8 - I have a feeling its a problem with the drivers.
Same problem here, when i type fastboot devices the serial appeared but i cant push files like the stock odex rom, cant, i found out i cant access my internal memory, is there a solution for that?
Thanks!!
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
nateboi81 said:
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
even in settings in twrp or cwm recovery, i cant mount my memory, is there a way to remount my memory on my phone? so that i transfer stock rom to my phone

Categories

Resources