I wiped my phone and sdcard. I cant seem to sideload, "adb sideload" command doesnt exist... Also, adb push didnt work.. Tried teamwin recovery and cwm. Any help appreciated, need to install ROM asap.. THanks!
Alex740il said:
I wiped my phone and sdcard. I cant seem to sideload, "adb sideload" command doesnt exist... Also, adb push didnt work.. Tried teamwin recovery and cwm. Any help appreciated, need to install ROM asap.. THanks!
Click to expand...
Click to collapse
Did you read up on tutorials on how to sideload ? I had the same issue and I was using a fastboot zip. Once I actually downloaded the android sdk or whatever you call it, the command worked.
Sent from my HTC One
---------- Post added at 09:46 PM ---------- Previous post was at 09:44 PM ----------
Also, I am pretty busy at the moment so if others can assist I would appreciate it
Sent from my HTC One
killman2659 said:
Did you read up on tutorials on how to sideload ? I had the same issue and I was using a fastboot zip. Once I actually downloaded the android sdk or whatever you call it, the command worked.
Sent from my HTC One
---------- Post added at 09:46 PM ---------- Previous post was at 09:44 PM ----------
Also, I am pretty busy at the moment so if others can assist I would appreciate it
Sent from my HTC One
Click to expand...
Click to collapse
I'm using the android sdk...
C:\android-sdk-windows\platform-tools>adb version
Android Debug Bridge version 1.0.29
C:\android-sdk-windows\platform-tools>
I rebooted, phone is sitting at the white "htc quitely brilliant" and with red temper text at bottom.. Kept running "adb devices" and it showed up, now did "adb push td.zip /". Got an error "read-only file system".
C:\android-sdk-windows\platform-tools>adb push td.zip /
failed to copy 'td.zip' to '//td.zip': Read-only file system
C:\android-sdk-windows\platform-tools>
Alex740il said:
I rebooted, phone is sitting at the white "htc quitely brilliant" and with red temper text at bottom.. Kept running "adb devices" and it showed up, now did "adb push td.zip /". Got an error "read-only file system".
C:\android-sdk-windows\platform-tools>adb push td.zip /
failed to copy 'td.zip' to '//td.zip': Read-only file system
C:\android-sdk-windows\platform-tools>
Click to expand...
Click to collapse
Also tried below but that rebooted my phone..
C:\android-sdk-windows\platform-tools>adb push td.zip /data/media/0
protocol failure
C:\android-sdk-windows\platform-tools>
Alex740il said:
Also tried below but that rebooted my phone..
C:\android-sdk-windows\platform-tools>adb push td.zip /data/media/0
protocol failure
C:\android-sdk-windows\platform-tools>
Click to expand...
Click to collapse
Alex740il said:
I rebooted, phone is sitting at the white "htc quitely brilliant" and with red temper text at bottom.. Kept running "adb devices" and it showed up, now did "adb push td.zip /". Got an error "read-only file system".
C:\android-sdk-windows\platform-tools>adb push td.zip /
failed to copy 'td.zip' to '//td.zip': Read-only file system
C:\android-sdk-windows\platform-tools>
Click to expand...
Click to collapse
hey try this,
in cmd,
adb shell
su
mount -o remount rw /system
now probably you will be able to push
hit thanks if i helped you
Alex740il said:
I'm using the android sdk...
C:\android-sdk-windows\platform-tools>adb version
Android Debug Bridge version 1.0.29
C:\android-sdk-windows\platform-tools>
Click to expand...
Click to collapse
You need adb 1.0.31 to use it properly so update that and you should be good to go
Sent from my Nexus 4 using xda premium
prunzzz said:
hey try this,
in cmd,
adb shell
su
mount -o remount rw /system
now probably you will be able to push
hit thanks if i helped you
Click to expand...
Click to collapse
I'm stuck in a similar situation and unable to sideload a ROM. I keep getting the 'error closed' message. I tried your instructions above and get 'su: not found' and 'mount: mounting rw on /system failed: invalid argument'
Any advice would be appreciated.
John
Related
Hi,
I'm currently trying to use adb to push some data into my phone but i always get "error: closed". I'm using windows 7 x64 and im running it from cmd.
Almost everything i tried using adb (push, shell, remount) returns this. I've searched over the forums and tried "adb devices" as well to see if my phone is connected, but what is different from the others is i am getting
List of devices attached
XXXXXX host
instead of what most other people got
List of devices attached
XXXXXX device
Is this a problem? What am i missing? Thanks a lot for ur time in reading this
Try:
Code:
adb usb
then
Code:
adb devices
or
Code:
adb kill-server
then
Code:
adb start-server
then
Code:
adb devices
Guich said:
Try:
Code:
adb usb
then
Code:
adb devices
or
Code:
adb kill-server
then
Code:
adb start-server
then
Code:
adb devices
Click to expand...
Click to collapse
Thank you! Although after doing these commands it still returned error:closed it listed my device as being in sideload mode so all sideload commands worked after that including sideloading a rom .zip
Did you update the SDK Manager??? Try updating that, my ADB problem were gone after i updated them.....
xlxcrossing said:
Thank you! Although after doing these commands it still returned error:closed it listed my device as being in sideload mode so all sideload commands worked after that including sideloading a rom .zip
Click to expand...
Click to collapse
I've got the same situation with "error closed" message. I ran the suggestions above but am still getting the error message.... Thoughts?
jflora1 said:
I've got the same situation with "error closed" message. I ran the suggestions above but am still getting the error message.... Thoughts?
Click to expand...
Click to collapse
Try to download this, un-zip and try the tips with this
Guich said:
Try to download this, un-zip and try the tips with this
Click to expand...
Click to collapse
I downloaded the zip but haven't had any success, still getting an error:closed message
ozo012 said:
I downloaded the zip but haven't had any success, still getting an error:closed message
Click to expand...
Click to collapse
which recovery are you on? (name and version number please)
nkk71 said:
which recovery are you on? (name and version number please)
Click to expand...
Click to collapse
This is actually the only place I've found that might have had a solution to my problem (different device: Nexus 7, Stock 4.3 JWR66Y, unrooted, I'm attempting to sideload the 4.4 update but continually get this error:closed message.
ozo012 said:
This is actually the only place I've found that might have had a solution to my problem (different device: Nexus 7, Stock 4.3 JWR66Y, unrooted, I'm attempting to sideload the 4.4 update but continually get this error:closed message.
Click to expand...
Click to collapse
isnt "error closed" something to do with out of date adb?
ozo012 said:
This is actually the only place I've found that might have had a solution to my problem (different device: Nexus 7, Stock 4.3 JWR66Y, unrooted, I'm attempting to sideload the 4.4 update but continually get this error:closed message.
Click to expand...
Click to collapse
Some people had solved the issue with the command:
Code:
adb usb
and after a reboot of device.
But seems don't work for all.
nkk71 said:
isnt "error closed" something to do with out of date adb?
Click to expand...
Click to collapse
Umh, no, i don' think
Guich said:
Some people had solved the issue with the command:
Code:
adb usb
and after a reboot of device.
But seems don't work for all.
Umh, no, i don' think
Click to expand...
Click to collapse
I haven't tried rebooting the device seems to be the only thing I left out.
I was having the same problems. Couldn't sideload. When I would run "adb devices" , my device would be listed. If I ran "adb usb" I would get "error: closed" . The sideload command would just bring up a list of commands. This may help someone, I installed a new version of adb. Not sure if I can post links but the file name was adb-setup-1.1.exe. This installs the needed files, the installer didn't notify me where the files were installed but they installed right to my C:\ drive. This seemed to eliminate the problem for me. I did a lot of searching and couldn't find anyone with this specific issue, so if anyone finds themselves with this problem give this a try.
worked for me
i had the same problem
i coulnt send anyfile to my htc one but after updating plate-form tools and replacing the old adb and fastboot files with the new ones
i entered the commend adb sideload rom.zip and it started sending the rom
and the phone was on twrp recovery-advanced-sideload
morheb said:
i had the same problem
i coulnt send anyfile to my htc one but after updating plate-form tools and replacing the old adb and fastboot files with the new ones
i entered the commend adb sideload rom.zip and it started sending the rom
and the phone was on twrp recovery-advanced-sideload
Click to expand...
Click to collapse
Yay. That Just worked for me using Crunchbang Debian. Thanks morheb that little tweak of using 'sideload' was the key
Can anyone help me push vold.fstab file with adb?
Stock Recovery on mediatek platform. with adb i got same error as this thread. Error:closed
KoolAidBigMan said:
I was having the same problems. Couldn't sideload. When I would run "adb devices" , my device would be listed. If I ran "adb usb" I would get "error: closed" . The sideload command would just bring up a list of commands. This may help someone, I installed a new version of adb. Not sure if I can post links but the file name was adb-setup-1.1.exe. This installs the needed files, the installer didn't notify me where the files were installed but they installed right to my C:\ drive. This seemed to eliminate the problem for me. I did a lot of searching and couldn't find anyone with this specific issue, so if anyone finds themselves with this problem give this a try.
Click to expand...
Click to collapse
Perfect - worked for me - exact same issue - adb wasnt recognising my phone was in sideload and sideload command wouldnt work but push would - plus getting error closed message on adb usb command. Googled the above adb file, downloaded, 15 second install and now sideloading is working on my SG2 with CWM recovery 6.0.2.9 (kitkat). I was obviously using an outdated ADB driver (1.0.29).
Thanks a lot KoolAidBigMan !! Big up...
Jimbo
EDIT : Spoke too soon - now getting another error when trying to sideload.. will google it.. failed to write data 'protocol fault (no status)'
EDIT : Sorted. Ended up getting round it by pushing the files instead - found instructions on Cyanogenmod forums. Thanks once again.
http://forum.xda-developers.com/sho...wQFjAA&usg=AFQjCNGgPmMne0aYCd9RojZZhy89cQjnCw
Try this
Sent from my C6916 using XDA Free mobile app
Link not working?? Im ok now anyway.. Time to test my screen casting to my Chromecast.. :fingers-crossed:
mtk6572 have same error
I have same error.. but I know that my phone's usb debugging is not enable.. so I got this error:close..
My phone is on bootloop so I can't enable the usb debugging.. Is there any way to enable the usb debugging using adb commands? I trying to push the framework-res.apk on my phone.. because it is the cause of the bootloop.
i'm a nood
I tried to load the advanced menu mod and the phone wont go past the startup screen. I can get into TWRP but I don't know how to get a rom to the SD card when it wont mount. Funny, I've been doing the ROM thing for 4 years now and have never used ABD so I don't know how that works or if that's what I need........can someone please point me in the right direction for getting a ROM on my phone so I can flash in TWRP?
digthemlows said:
I tried to load the advanced menu mod and the phone wont go past the startup screen. I can get into TWRP but I don't know how to get a rom to the SD card when it wont mount. Funny, I've been doing the ROM thing for 4 years now and have never used ABD so I don't know how that works or if that's what I need........can someone please point me in the right direction for getting a ROM on my phone so I can flash in TWRP?
Click to expand...
Click to collapse
How did you unlock bootloader and flash recovery?
Sent from my HTC One using xda premium
redbull123 said:
How did you unlock bootloader
and flash recovery? All-In-One Toolkit?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Bootloader was unlocked long ago via HTC Dev. All-in-one wasn't out when I got the phone ...... I just downloaded that, but when I try to ABD sideload it opens up a CMD prompt that says C:\Users\myname\desktop\HTC is not recognized as an internal or external command, operable program or batch file.
Also when I enable ABD sideload in TWRP on my phone it hangs at "Starting ABD sideload feature..." and never does anything.
Try push instead of sideload
ArmedandDangerous said:
Try push instead of sideload
Click to expand...
Click to collapse
Sorry, I don't know how to Push, can someone give me quick instructions?? or point me in the right direction........XDA has become so huge it's actually a mess to search..........I appologize in advance.
Type "adb push ROM.zip /sdcard/ROM.zip" replacing ROM with the EXACT name of the ROM file and including the .zip piece on both ends.
digthemlows said:
Bootloader was unlocked long ago via HTC Dev. All-in-one wasn't out when I got the phone ...... I just downloaded that, but when I try to ABD sideload it opens up a CMD prompt that says C:\Users\myname\desktop\HTC is not recognized as an internal or external command, operable program or batch file.
Also when I enable ABD sideload in TWRP on my phone it hangs at "Starting ABD sideload feature..." and never does anything.
Click to expand...
Click to collapse
Download these files: http://d-h.st/RvD - call the unzipped folder with the four files 'android' or something and put it somewhere, either directly on your c:\ drive or on your desktop
Download a rom and put it in the folder along with those files you download
Select 'install zip from sideload' in recovery on your phone
Hold Shift and right-click on the folder and select 'Open Command Window Here'
Command:
adb sideload name_of_rom.zip
once it reaches 100% it should begin to install on your phone automatically.
Or you could
adb push name_of_rom.zip /sdcard/
this will put the rom on your sdcard and you will need to flash it normally. (you don't select 'install zip from sideload' for this)
redbull123 said:
Download these files: http://d-h.st/RvD - call the unzipped folder with the four files 'android' or something and put it somewhere, either directly on your c:\ drive or on your desktop
Download a rom and put it in the folder along with those files you download
Select 'install zip from sideload' in recovery on your phone
Hold Shift and right-click on the folder and select 'Open Command Window Here'
Command:
adb sideload name_of_rom.zip
once it reaches 100% it should begin to install on your phone automatically.
Or you could
adb push name_of_rom.zip /sdcard/
this will put the rom on your sdcard and you will need to flash it normally. (you don't select 'install zip from sideload' for this)
Click to expand...
Click to collapse
'abd' is not recognized as and internal or external command, operable program or batch file is the error I'm getting.............
digthemlows said:
'abd' is not recognized as and internal or external command, operable program or batch file is the error I'm getting.............
Click to expand...
Click to collapse
its adb, not abd - stands for Android Debug Bridge
---------- Post added at 05:09 PM ---------- Previous post was at 05:04 PM ----------
You should read this: http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Helped me out a lot with ADB, easy to understand...
redbull123 said:
its adb, not abd - stands for Android Debug Bridge
---------- Post added at 05:09 PM ---------- Previous post was at 05:04 PM ----------
You should read this: http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Helped me out a lot with ADB, easy to understand...
Click to expand...
Click to collapse
Man, I'm being such a noob. Ok, so when I run c:\fastboot>adb push name_of_rom.zip/sdcard/ it displays a menu of all the adb commands but does nothing.........
digthemlows said:
Man, I'm being such a noob. Ok, so when I run c:\fastboot>adb push name_of_rom.zip/sdcard/ it displays a menu of all the adb commands but does nothing.........
Click to expand...
Click to collapse
tried "adb remount" and get "error: device not found
I don't think my computer is seeing the device, gonna log in with admin rights and see what's up
digthemlows said:
Man, I'm being such a noob. Ok, so when I run c:\fastboot>adb push name_of_rom.zip/sdcard/ it displays a menu of all the adb commands but does nothing.........
Click to expand...
Click to collapse
Did you type 'name_of rom.zip'? Or did you replace it with the actual name of the ROM?
Edit: Sorry, you need to put a space before /sdcard/
redbull123 said:
Did you type 'name_of rom.zip'? Or did you replace it with the actual name of the ROM?
Click to expand...
Click to collapse
I typed the name of the rom......I'm going to update the drivers, because I'm seeing an error in device manager for the "android driver" .......
digthemlows said:
Man, I'm being such a noob. Ok, so when I run c:\fastboot>adb push name_of_rom.zip/sdcard/ it displays a menu of all the adb commands but does nothing.........
Click to expand...
Click to collapse
Ok let's make this easier. Go to where your ADB/fastboot files are, shift right click on empty space and select Open Command Window Here. Then type push name_of_rom.zip/sdcard/
name_of_rom.zip should be changed to whatever file name your ROM is that you want to install. If sdcard doesn't work, try /data/media
ArmedandDangerous said:
Then type push name_of_rom.zip/sdcard/
name_of_rom.zip should be changed to whatever file name your ROM is that you want to install. If sdcard doesn't work, try /data/media
Click to expand...
Click to collapse
adb push name_of_rom.zip /sdcard/
ArmedandDangerous said:
Ok let's make this easier. Go to where your ADB/fastboot files are, shift right click on empty space and select Open Command Window Here. Then type push name_of_rom.zip/sdcard/
name_of_rom.zip should be changed to whatever file name your ROM is that you want to install. If sdcard doesn't work, try /data/media
Click to expand...
Click to collapse
either of these get me the ADB menu as well, If I put as space after the rom name i get "error, closed"
yeah, I have tried everything I think. Any other ideas?
digthemlows said:
yeah, I have tried everything I think. Any other ideas?
Click to expand...
Click to collapse
Are you right clicking on the folder and open command window here?
Reboot your computer...
Shift+right-click, Open command window from folder
Go into fastboot in your bootloader and type
fastboot devices
If your device appears then go into recovery and type
adb devices
If your devices doesn't appear then there's something wrong with your drivers/adb files or folder
If it's found then just do a push or sideload...
The only thing I can think if it doesn't work is buy a usb otg cable and put the ROM onto a usb and flash it through TWRP that way.
Sent from my HTC One using xda premium
Ok, abd devices showed my device and "recovery" Went in and renamed the folder with adb and my ROM in it, double checked everything and was able to load the rom.......also I wasn't putting space after the rom name and between /sdcard/ ......
digthemlows said:
Ok, abd devices showed my device and "recovery" Went in and renamed the folder with adb and my ROM in it, double checked everything and was able to load the rom.......also I wasn't putting space after the rom name and between /sdcard/ ......
Click to expand...
Click to collapse
So... Everything's ok?
Sent from my HTC One using xda premium
I was messing around in CWM touch. In the Storage and Mounts directory..
I've done this before , (format /sdcard)..but this time I went a step further and did (format /data) AND also
(format /data and /data/media) commands. I might have even hit the Format /system command .
Now I'm stuck at the HTC quietly brilliant screen, with the red text on the bottom..and it wont go no further...i just wanted to shine my sd card..
And because I have formated my SD card, there is nothing on it so no back up now... I'm on the Viperone rom..and by formating system i think i wiped the device :S..i really dont know..man.
So i tried opening an ADB shell to see if i could push the Viperone zip from my pc direcctly..but adb doesn't recocgnize the device..
I'm Unlocked bootloader
S-Off
SuperCid- 11111111
Sounds like you’ve got nothing left. Reflash your rom on your super shiny phone.
My device is bricked, like really is bricked..
I can boot into boot loader but what good is that if my PC is saying unknown usb device..
XdaNonDeveloper said:
My device is bricked, like really is bricked..
I can boot into boot loader but what good is that if my PC is saying unknown usb device..
Click to expand...
Click to collapse
fastboot flash your recovery again?
Edit: uninstall everything HTC
reboot pc
plug phone back in and it should install the drivers again
Lim Wee Huat said:
Sounds like you’ve got nothing left. Reflash your rom on your super shiny phone.
Click to expand...
Click to collapse
lol..
faack
bigdaddy619 said:
fastboot flash your recovery again?
Edit: uninstall everything HTC
reboot pc
plug phone back in and it should install the drivers again
Click to expand...
Click to collapse
Not the problem, I can boot into recovery but my phone doesnt start up.
I cant place nothing on the sd card to flash, and ADB SHELL isnt recognizing my device..
so i have to reflash a stock carrier right? by running an RUU exe?
which one can i Use for a M7_UL i think the closest one to a bell canada ruu would be ATT?
Wait can't I just PUSH the zip. to my sdcard then run the zip from clockwork??
XdaNonDeveloper said:
Not the problem, I can boot into recovery but my phone doesnt start up.
I cant place nothing on the sd card to flash, and ADB SHELL isnt recognizing my device..
so i have to reflash a stock carrier right? by running an RUU exe?
which one can i Use for a M7_UL i think the closest one to a bell canada ruu would be ATT?
Click to expand...
Click to collapse
If you can get into recovery then sideload a rom
Edit: uninstall everything HTC
reboot pc
plug phone back in and it should install the drivers again
you sure about that?..
okay but first let me try a command in ADB, whats that show CID command??
if that works then i dont have to uninstall drivers..
XdaNonDeveloper said:
Edit: uninstall everything HTC
reboot pc
plug phone back in and it should install the drivers again
you sure about that?..
okay but first let me try a command in ADB, whats that show CID command??
if that works then i dont have to uninstall drivers..
Click to expand...
Click to collapse
In recovery type adb devices
In bootloader type fastboot devices
bigdaddy619 said:
If you can get into recovery then sideload a rom
Click to expand...
Click to collapse
Would this work even though its for TWRP http://forum.xda-developers.com/showthread.php?t=2318497
XdaNonDeveloper said:
Would this work even though its for TWRP http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
If there is a sideload option in CWM then yes it will work
or adb push nameofrom.zip /sdcard/
bigdaddy619 said:
In recovery type adb devices
In bootloader type fastboot devices
Click to expand...
Click to collapse
In recovery, typing ADB devices gives me a serial with (*recovery*) next to it.
In bootloader it *Lists* no device serial number.
If i try ADB Push should I be in recovery?.. wow I can see the ~# in ADB shell when in recovery ..theres connections being made lol
XdaNonDeveloper said:
In recovery, typing ADB devices gives me a serial with (*recovery*) next to it.
In bootloader it *Lists* no device serial number.
If i try ADB Push should I be in recovery?.. wow I can see the ~# in ADB shell when in recovery ..theres connections being made lol
Click to expand...
Click to collapse
Your good to sideload a rom in recovery
Put the rom zip in the folder you are running your cmd commands from
OR use adb push with the rom in the same folder
adb push rom.zip /data/media/0/
---------- Post added at 08:09 PM ---------- Previous post was at 08:02 PM ----------
You don't need to open an AD shell to push the rom
bigdaddy619 said:
If there is a sideload option in CWM then yes it will work
or adb push nameofrom.zip /sdcard/
Click to expand...
Click to collapse
I did the following command - adb push ViperOne_2.1.0 /sdcard/
got the following - /sbin/sh: adb: not found
bigdaddy619 said:
Your good to sideload a rom in recovery
Put the rom zip in the folder you are running your cmd commands from
OR use adb push with the rom in the same folder
adb push rom.zip /data/media/0/
---------- Post added at 08:09 PM ---------- Previous post was at 08:02 PM ----------
You don't need to open an AD shell to push the rom
Click to expand...
Click to collapse
Okay I'll try again without an ADB shell open
Okay now Im getting the following - cannot stat "ViperOne.." no such file or directory..
CWM touch does not have a sideload option :|
XdaNonDeveloper said:
I did the following command - adb push ViperOne_2.1.0 /sdcard/
got the following - /sbin/sh: adb: not found
Click to expand...
Click to collapse
check my edit sorry
adb push ViperOne_2.1.0.zip /data/media/0/
It should look like that
bigdaddy619 said:
check my edit sorry
adb push ViperOne_2.1.0.zip /data/media/0/
It should look like that
Click to expand...
Click to collapse
OK, this time I added the .ZIP to the end of the file.
Now its showing just a (-) blinking.. never returned a message.. i'll wait for a bit
then i'll try pushing it to the /sdcard/ and see what happens then.
After the blinking - stopped it returned this mesage
failed to copy ViperOne..zip) to data/media/0/': Is a directory
trying again..
[DRIVERS] Latest HTC Drivers [4.2.0.001] Use the ones dated 6-6-13 and don't forget the BMP drivers
[ADB/FB/APX Driver] Universal Naked Driver 0.72 (We dont need no stinking HTC Sync)
If you can't get it to work try what I said about uninstalling the HTC stuff and installing one of these if we can get you recognized ih bootloader we can flash twrp and you can sideload the rom
Please Read the ViperOne Terms of Use...
Team Venom proudly presents....
Thanks bigdaddy lol, thanks for your guidance I am installing Viperone now
XdaNonDeveloper said:
Please Read the ViperOne Terms of Use...
Team Venom proudly presents....
Thanks bigdaddy lol, thanks for your guidance I am installing Viperone now
Click to expand...
Click to collapse
Cool glad you got it going enjoy
trying to push file but not having success.
are there any different commands than the regular commands for the G2?
adb push update.zip /sdcard
is there something i'm missing?
CWM puts you in ADB mode on launch right?
adb devices shows phone attached recovery
adb push update.zip /sdcard returns nothing
am i missing a command? do I need to open a shell? or let it sit for awhile as it is a 1gb+ file
JoeProcopio said:
adb devices shows phone attached recovery
adb push update.zip /sdcard returns nothing
am i missing a command? do I need to open a shell? or let it sit for awhile as it is a 1gb+ file
Click to expand...
Click to collapse
You would need to specify the correct path... /sdcard is not a real path (its a symbolic link), try
adb push update.zip /data/media/0
that could be an issue, lol
hadn't done pushes for a long time so i haven't used the command
JoeProcopio said:
that could be an issue, lol
hadn't done pushes for a long time so i haven't used the command
Click to expand...
Click to collapse
Actually, the more I think about, that is incorrect as well, you have to specify the filename of the destination too...
adb push update.zip /data/media/0/update.zip
would be more correct.
once i hit enter, what should i see? should i see a progress bar? the file is 1.3GB, will it take a while?
yup....took awhile! trying the flash now
JoeProcopio said:
yup....took awhile! trying the flash now
Click to expand...
Click to collapse
I'm having a similar issue - seems like adb is set up correctly, but I'm unsure if the push command is working. About how long did you have to wait? Did you have any notifications on progress, etc?
Thanks!
---------- Post added at 10:26 AM ---------- Previous post was at 10:08 AM ----------
Nvm! Worked out - just took some time like the OP's.
For future reference - it took mine about 15-20 minutes to transfer a file that was about 1.3gb (similar to the OP's) and the terminal window (using OSX) showed a blank line after submitting the push command. The blank line was replaced by a summary of the file transfer (speed, time, and size) once the transfer was completed.
Hello guys,
I hope you can help me.
I wanted to delete all my private files on the sdcard and accidentlty deleted "system" in TWRP...
Now I cannot access my phone anymore
ADB devices is showing me an empty list.
Only on fastboot and when entering sideload through TWRP my HTC One is listed.
Unfortunately when I try "adb sideload rom.zip" I get "* cannot read 'sideload' *"
When I try "adb push rom.zip /sdcard/" in sideload mode, I get "error: closed"
Does anybody have an idea how to get my HTC One working again?
Thank you very much in advance!
Greets kally
kally said:
ADB devices is showing me an empty list.
Only on fastboot and when entering sideload through TWRP my HTC One is listed.
Click to expand...
Click to collapse
Its completely normal, ADB only works in custom recovery or in a booted rom with "usb debug" turned on, ADB doesn't work in bootloader, only fastboot will work in bootloader.
Unfortunately when I try "adb sideload rom.zip" I get "* cannot read 'sideload' *"
Click to expand...
Click to collapse
What is your adb version? You can find the version using the command "adb version"
What is your twrp version?
What rom are you trying to push?
When I try "adb push rom.zip /sdcard/" in sideload mode, I get "error: closed"
Click to expand...
Click to collapse
You can't adb push in sideload mode, sideload mode is only for.... sideloading...
To use adb push, just boot in twrp main menu with sideload turned off.
Does anybody have an idea how to get my HTC One working again?
Click to expand...
Click to collapse
Post the output of "fastboot getvar all" remove imei and serialno.
Hello alray,
thank you for your reply!
My adb version is "Android Debug Bridge version 1.0.31"
TWRP Version: 2.6.3.4
I'm trying to push ARHD 92.0.
Luckily, while typing my answer, I was somehow able to push the rom with adb in the recovery.
Now everything works like a charm.
Thank you very much for your help!
Greets kally