Transfert file with ADB - One (M7) Q&A, Help & Troubleshooting

Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.

JadeAmineHa said:
Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.
Click to expand...
Click to collapse
USB debugging doesnt matter in custom recovery.
adb push <name of ROM>.zip /data/media/0/
or
adb sideload <name of ROM>.zip
you can always try googling, and come up with a few tutorials:
http://forum.xda-developers.com/showthread.php?t=2317986
http://android-revolution-hd.blogspot.com/2013/12/ow-to-use-adb-sideload.html
http://android-revolution-hd.blogspot.com/2013/12/how-to-copy-rom-zip.html
etc.

This shows device not found when i use adb devices there is nothing

JadeAmineHa said:
This shows device not found when i use adb devices there is nothing
Click to expand...
Click to collapse
Open Device Manager do you see something like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if yes, please go to my guide and check FAQ #2.

nkk71 said:
Open Device Manager do you see something like:
if yes, please go to my guide and check FAQ #2.
Click to expand...
Click to collapse
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying: and just to mention that im in bootloader in fastboot usb mode ??

JadeAmineHa said:
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying:
Click to expand...
Click to collapse
like i said, just go to my guide and check FAQ #2 (in post #1), http://forum.xda-developers.com/showthread.php?t=2541082
has all the instructions, pictures, etc.

Related

need rooting help please

Hi all I am following the info for this rooting method http://forum.xda-developers.com/showthread.php?t=544654 when i get to the section where i try and type comands in with the phone in fastboot i get errors saying cant load radio.img and it won't find the device with "adb devices" command but it will find it if the phone is on and running and pluged in to usb its a rogers htc dream using sdk 1.6 any ideas ?
what kind of phone do you have?
He has a rogers htc dream.
If it says it cannot load the .img make sure it is in the folder that you are operating from. If that still doesn't work, then make sure you have adb/fastboot properly set up
david1171 said:
He has a rogers htc dream.
If it says it cannot load the .img make sure it is in the folder that you are operating from. If that still doesn't work, then make sure you have adb/fastboot properly set up
Click to expand...
Click to collapse
How does one set up adb?
flexylexy said:
How does one set up adb?
Click to expand...
Click to collapse
there is a sticky in this section and it points to another guide if you can't get it with that one.
I think the problem is getting the computer to recongize the phone in fastboot mode because when I try adb devices it returns a device but when the phone is completly booted but will not return device in fastboot runing windows sdk 1.6 and I updated the driver
pwrjetta said:
I think the problem is getting the computer to recongize the phone in fastboot mode because when I try adb devices it returns a device but when the phone is completly booted but will not return device in fastboot runing windows sdk 1.6 and I updated the driver
Click to expand...
Click to collapse
the phone wont be recognized as a fastboot device if it is fully booted. It has to be in fastboot mode to be recognized. Boot phone into fastboot (back+power) then your 3 androids skateboarding screen. it will say fastboot. plug in your cable and it will say fastboot usb. then try fastboot devices.
Should it matter when I plug in the usb cable have tried putting it fastboot mode already pluged in and it says fastboot usb but the commands don't work should I plug the cable in after fastboot is started
It shouldnt matter.
allright got all the steps to work except for install the new update it gives me errors and says "e:can't open /sdcard/update.zip
(bad)
installation aborted"
What am i doing wrong?
you need some vodka, it will all work out ok then
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
pwrjetta said:
allright got all the steps to work except for install the new update it gives me errors and says "e:can't open /sdcard/update.zip
(bad)
installation aborted"
What am i doing wrong?
Click to expand...
Click to collapse
i got that one and the md5 didn't match, re-download your rom.

Help: I Wiped Everything

Good day. I am using viper one ROM and today I mistakenly wiped everything on my phone using TWRP recovery. So I can not boot my phone but I am able to enter TWRP. I tried to push ROM zip to phone using adb to data/media/0 but I cannot find the zip file anywhere, this is strange since the storage size on my phone showed in TWRP changes meaning the file is succesfully copied. My only choice now is use RUU which I never did before. I am coming from Samsung so HTC is new to me. I cannot run ADB sideload, it is stuck on starting when I do this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My main version number is: 2.24.707.1 CID is 0_44. I have read that RUU's for this is not available?
Use vomers Guide
and also Mike`1986's guide
http://forum.xda-developers.com/showthread.php?t=2365506&page=4
http://forum.xda-developers.com/showthread.php?t=2265618
KristianKenneth said:
Good day. I am using viper one ROM and today I mistakenly wiped everything on my phone using TWRP recovery. So I can not boot my phone but I am able to enter TWRP. I tried to push ROM zip to phone using adb to data/media/0 but I cannot find the zip file anywhere, this is strange since the storage size on my phone showed in TWRP changes meaning the file is succesfully copied. My only choice now is use RUU which I never did before. I am coming from Samsung so HTC is new to me. I cannot run ADB sideload, it is stuck on starting when I do this.
My main version number is: 2.24.707.1 CID is 0_44. I have read that RUU's for this is not available?
Click to expand...
Click to collapse
I honestly never tried TWRP (though will do so in a minute or two, just out of curiosity), but did you try pushing the rom to /sdcard/ or /data/media/ (no 0)?
I'm downloading TWRP now, just out of curiosity :cyclops:
EDIT: ok, tried TWRP and it seems it does go to /data/media/0 as default, though it seems some files were hidden or I just overlooked them.
Anyway, try pushing to /data/media/ and then in TWRP use the "up one level" or whatever they called it, and you should see your zip there.
you can adb sideload in TWRP http://forum.xda-developers.com/showthread.php?t=2317986
I always just do adb push rom.zip /sdcard/Roms/rom.zip and it shows up fine.

install recovery using adb

Windows users should already have :
<<adb drivers>>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and
<<usb drivers>>
------------------------------------------------------------------------------------------------------------------------------------------------------
so u did root. u unlocked bootloader. u flashed a recovery and u installed a new rom. one day u start "digging" things to see if u can delete all the unwanted files so u make the phone faster and accidentally u deleted an important file and now it cant boot and it cant go into recovery. you are wondering what you CAN do now ! The answer is : Everything !
You can either go back to stock rom or
you can re-flash the recovery and then reinstall the rom.
1. Download the platform tools for your machine ( windows , linux or mac-os ). Here i have the adb fastboot for you.
2. Copy the recovery image to a location on your computer thats easier for you. The recovery image should have .img extension. If it is in a zip file, extract the .img file from it before proceeding.
3. Connect the phone to the pc and open cmd inside the fastboot folder you downloaded ( windows ). The others not on windows must use cd [path to their desktop,inside the platform tools where they see the adb file].
** If you are on a boot loop but the pc gets to recognize the phone even for a second then
4. Type
i) adb reboot-bootloader
ii) fastboot flash recovery recovery.img ( the command is: fastboot flash recovery [recovery image path/filename] )
5. When its done , reboot. Hold Volume down and power button to see if u get in recovery mode. :highfive:
Install the rom now the way you already know. There are many guides for that so i won't make a new.
cheers :good:
**Windows users can use this fastboot to unlock bootloader too. Lite fastboot commands guide provided here
**Linux users don't even need to download it , they can just directly download it from their terminal
I hope this thread helps a little those that dont know what to do when they delete an important file. *Pictures coming soon*

[Q] Can't Open My HTC One M7

Hi all. I've try to install today Android Revolution Google Edition 6.1.
So, my phone is S-OFF, i've install but after boot my phone all time restart. Not open, so, i don't have another rom in my SD card and now, i can't login my sd card for copy. So, i've try too many time from diffrent computer (windows 7 64bit, windows 8 64bit) from cmd and "adb" and i've receive all the time "device not found" error. So, i can flash recovery but "adb" is not work. I've install SDK and install everything but still not show. Any idea?
By the way so sorry for my bad English. Please help me.
soundeluxe said:
Hi all. I've try to install today Android Revolution Google Edition 6.1.
So, my phone is S-OFF, i've install but after boot my phone all time restart. Not open, so, i don't have another rom in my SD card and now, i can't login my sd card for copy. So, i've try too many time from diffrent computer (windows 7 64bit, windows 8 64bit) from cmd and "adb" and i've receive all the time "device not found" error. So, i can flash recovery but "adb" is not work. I've install SDK and install everything but still not show. Any idea?
By the way so sorry for my bad English. Please help me.
Click to expand...
Click to collapse
can you check my guide http://forum.xda-developers.com/showthread.php?t=2541082 under FAQ #2 if that's the problem with Windows Device Manager.
you can disregard the guide only check FAQ #2
nkk71 said:
can you check my guide http://forum.xda-developers.com/showthread.php?t=2541082 under FAQ #2 if that's the problem with Windows Device Manager.
you can disregard the guide only check FAQ #2
Click to expand...
Click to collapse
Thanks for you reply. Actually my drivers looks like ok. Please check image;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"flash" command its ok, but adb still not work :S I've try too many time reinstall driver.
soundeluxe said:
Thanks for you reply. Actually my drivers looks like ok. Please check image;
"flash" command its ok, but adb still not work :S I've try too many time reinstall driver.
Click to expand...
Click to collapse
fastboot commands work in bootloader
adb commands work in custom recovery (eg TWRP) or booted up ROM (with USB debugging enabled)
so if you need adb then enter custom recovery, check your device manager again, because it changes depending on where you are (bootloader, TWRP ... even version matters, or ROM)
once in TWRP, and device manager is good, adb devices should return you serial number and "recovery" -> then you can use adb commands
24945626 720
nkk71 said:
fastboot commands work in bootloader
adb commands work in custom recovery (eg TWRP) or booted up ROM (with USB debugging enabled)
so if you need adb then enter custom recovery, check your device manager again, because it changes depending on where you are (bootloader, TWRP ... even version matters, or ROM)
once in TWRP, and device manager is good, adb devices should return you serial number and "recovery" -> then you can use adb commands
Click to expand...
Click to collapse
Finally. Thank you very much for your help dear @nkk71, i've lost the adb command just work on custom recovery
I've install driver and now everythings its ok, i'm try adb sideload rom.zip

Kindle Fire HD (Tate) stuck in Recovery

Hello community I need your help!
I was running CM 12.1 on my tablet and I wanted to make a factory reset, well... I did and because the tablet has to restart, it did and since then I got stuck on the TeamWin logo page
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And I cannot go to the option, it just stays there
This are some of the output I get from ADB
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
0123456789ABCDEF recovery
And if I uses "adb reboot fastboot" it does, but then the output of "adb devices" and "fastboot devices" is null
I have tried a lot commands, but I always get the same results <waiting for device>
My drivers are working.
I already unplug/plug/restart the table but the <waiting for device> is still there
I still tried with this tool http://forum.xda-developers.com/showthread.php?t=1951254 but it doesnt work, event trying a fastboot command manually doesn't work.
Any ideas!! please help!
DarkWolfSLV
I have the exact same problem i have been trying all day to find a fix but no luck D;
Fixed it DUDE I Kinda Found A Fix i can know access TWRP DDD
1. Download This https://docs.google.com/uc?id=0B4lZE...xport=download
2.connect kindle to pc and boot up the kindle normally
3.extract the Zip and open tha bat file
4. select option 4 It should then say waiting for device
5.open up cmd adb and type adb reboot-bootloader then it should say clearing cashe or user data then after about a min power off ur device then power it back on
6.then it should now say clearing cashe or user data On of them then after a min switch of ur device then back on and team win should load the next problem is that i cant send files through to my kindle so i cant flash anything. maybe i need newdrivers cna someone link me to one.
Edit; reboot The device again and it should boot into cm12 but once again im stuck in a boot loop and unsure of what to do the boot loop is just the cm12 logo it does not go onto the actual os
nvm lol wait about 5 mins it should boot.

Categories

Resources