So like an idiot I wiped all data and system on my n6 and do t know what to do. There is no os to reboot to. Twrp. I downloaded a Rom and gapps to try and move it to the storage but it won't let me. Any ideas?
Sent from my HTC One using XDA Free mobile app
whozilla said:
So like an idiot I wiped all data and system on my n6 and do t know what to do. There is no os to reboot to. Twrp. I downloaded a Rom and gapps to try and move it to the storage but it won't let me. Any ideas?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
I believe you will have to use "ADB push" to move the files to your phone.
Use adb to push to internal....boot to twrp and flash the rom. ..simple
If your nexus drivers are properly installed in your Windows, you can get storage even in twrp, just download any Rom, move it to storage and flash it, but you've to hav drivers installed to get storage in recovery
Could use the toolkit to download a factory image to push to it also.
Another thought as well, if he only wiped, hook to PC and his internal storage may show up as well, won't need to push thru ADB but could copy/paste the ROM to the unit.
I did the same thing to my old GNex getting it ready for my daughter, had loaded up a ROM, but in recovery thought I may as well wipe it all out... Doh!
but hooked to my PC, the internal was seen and given adrive letter, so I cut/paste the files needed and reflashed in recovery, all good.
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
I was having trouble using adb. Huge cluster of mistakes I made. What solved it was using the toolkit to unroot and go back to stock.
Sent from my Nexus 6 using XDA Free mobile app
rootSU said:
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
Click to expand...
Click to collapse
I totally forgot that, root to the rescue, even though he seemed to have solved it.
You don't have to do adb push when you are in custom recovery and plug your phone into a computer your phone comes up on the folder section down load a ROM and drag and and drop
---------- Post added at 02:22 AM ---------- Previous post was at 02:21 AM ----------
rootSU said:
Don't need adb. TWRP has an "enable MTP" button, so you can drag and drop just like in android
Click to expand...
Click to collapse
Best me to it
Related
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
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
Hi, I am having problem, rooting my HTC One. I have done boostloader unlocking everal times with different devices, but HTC One is giving me some weird problems...
To start off with, the recovery could not be flashed at one go. I had to command flash recovery ' ' three times to get it installed. Anyhow, I did manage to flash it, but now recovery cannot mount any storage /data, /sdcard as well as /cache.(Ii.e. I cannot see any file even if I click install from SD card.) Also, tried rooting via clicking reboot, it says to root device and I am saying to it for more than five times, but it cannot be rooted. And now i am stuck .... -_-
Any suggestion/help please?
uggies said:
Hi, I am having problem, rooting my HTC One. I have done boostloader unlocking everal times with different devices, but HTC One is giving me some weird problems...
To start off with, the recovery could not be flashed at one go. I had to command flash recovery ' ' three times to get it installed. Anyhow, I did manage to flash it, but now recovery cannot mount any storage /data, /sdcard as well as /cache.(Ii.e. I cannot see any file even if I click install from SD card.) Also, tried rooting via clicking reboot, it says to root device and I am saying to it for more than five times, but it cannot be rooted. And now i am stuck .... -_-
Any suggestion/help please?
Click to expand...
Click to collapse
Use TWRP and sideload a ROM
Rex2369 said:
Use TWRP and sideload a ROM
Click to expand...
Click to collapse
Tried, but even sideload says failure...
Are you sure you have the proper drivers installed? You need HTC Sync Manager if you're on Windows in order for the proper drivers to be loaded. And um, do you have the mini-SDK or full SDK folders?
TarekElsakka said:
Are you sure you have the proper drivers installed? You need HTC Sync Manager if you're on Windows in order for the proper drivers to be loaded. And um, do you have the mini-SDK or full SDK folders?
Click to expand...
Click to collapse
Yes, I am sure.. If that was the problem than I could not unlock bootloader. I dont think that is the problem here
I have sdk tool downloaded from xda. i think it was called all-in-one rooting/unlocking or something
Are you sure you are navigating to the correct SDK folder which has the ROM you want to download inside it? I just tried sideloading a ROM using my Mac but for some reason it actually did not work. I used Windows, however, with full Android-SDK and Java-JDK installed and it worked brilliantly, so I am assuming it is because I did not have the platform-tools folder on Mac but rather the mini-SDK which doesn't seem to work well for sideloading ROMs using ADB.
You need to let the device boot properly at least once for the partitions to be set up properly before you go about rooting and stuff.
Sent from my SGH-M919 using xda app-developers app
TarekElsakka said:
Are you sure you are navigating to the correct SDK folder which has the ROM you want to download inside it? I just tried sideloading a ROM using my Mac but for some reason it actually did not work. I used Windows, however, with full Android-SDK and Java-JDK installed and it worked brilliantly, so I am assuming it is because I did not have the platform-tools folder on Mac but rather the mini-SDK which doesn't seem to work well for sideloading ROMs using ADB.
Click to expand...
Click to collapse
Thanks for your advice, I try it with new sdk tool.
Dark Nightmare said:
You need to let the device boot properly at least once for the partitions to be set up properly before you go about rooting and stuff.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
It did boot up normally, and everything seems just fine including storage its just recovery that is causing problem
Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Also, i forgot to mention. I was running the stock ROM.
Youssef26500 said:
Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Click to expand...
Click to collapse
Since you can still access recovery..
1. Find a guide on how to 'adb push' or 'adb sideload' a ROM to your phone.
2. I'd recommend a ROM that doesn't require AROMA installer, it makes it a little easier. For now, CM 10.1 will be fine.
3. Once you can access your phone again, put your backups onto your phone from your computer.
4. Restore your backup in recovery.
Or you could just buy a USB-OTG cable and put the backup on a USB and restore in it TWRP.
Sent from my HTC One using XDA Premium 4 mobile app
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
fenstre said:
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
Click to expand...
Click to collapse
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Youssef26500 said:
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Click to expand...
Click to collapse
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
redbull123 said:
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
/data/media/0/TWRP/BACKUPS/
There will be another folder inside the above with a random string of alpha numeric characters. The backups are inside there.
If you perform a backup, you will see its location. Then you can place any others in there also.
Youssef26500 said:
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
Click to expand...
Click to collapse
Good to hear.. As nobnut says - do a backup then see where it saves it to, then just put your backup in there, then restore :good:
Sent from my HTC One using XDA Premium 4 mobile app
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