[Q] help me adb sideload - One (M7) Q&A, Help & Troubleshooting

-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP
disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
When I type "adb sideload filename.zip" cmd show me this. what's the problem?

Help this company said:
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP
disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
When I type "adb sideload filename.zip" cmd show me this. what's the problem?
Click to expand...
Click to collapse
filename.zip needs to be replaced with the actual name of the rom.zip you are trying to upload. Try these for instructions
http://forum.xda-developers.com/showthread.php?t=2318497

mb_guy said:
filename.zip needs to be replaced with the actual name of the rom.zip you are trying to upload. Try these for instructions
http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
U mean that dont rename the file name? And Could U tell me where the Official rom?? Ah, I downloded my korea htc cafe. That file is "pn7140 ruu.zip"file. I did several times that explain.

Help this company said:
U mean that dont rename the file name? And Could U tell me where the Official rom?? Ah, I downloded my korea htc cafe. That file is "pn7140 ruu.zip"file. I did several times that explain.
Click to expand...
Click to collapse
I assumed you had not renamed the file to pn7140 ruu.zip since you are getting the help page information.
Is the actual file in the same directory folder as adb? It should be. You might rename the file to something shorted like just "pn7140.zip" to make it easier.

a
mb_guy said:
I assumed you had not renamed the file to pn7140 ruu.zip since you are getting the help page information.
Is the actual file in the same directory folder as adb? It should be. You might rename the file to something shorted like just "pn7140.zip" to make it easier.
Click to expand...
Click to collapse
adb sideload is only custum rom?? my device not booting just only logo. Whats the problem...

Help this company said:
U mean that dont rename the file name? And Could U tell me where the Official rom?? Ah, I downloded my korea htc cafe. That file is "pn7140 ruu.zip"file. I did several times that explain.
Click to expand...
Click to collapse
3 threads for the same issue.....
Thread 1
Thread 2
We were trying to help you in the other thread (thread 2). Why did you started two new threads? This only complicates things and makes it difficult to help you
5. Create a thread or post a message only once.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
Click to expand...
Click to collapse
http://forum.xda-developers.com/announcement.php?a=81

Help this company said:
adb sideload is only custum rom?? my device not booting just only logo. Whats the problem...
Click to expand...
Click to collapse
Alray had suggested you flash a custom rom like arhd, Are you not trying to do that??

Help this company said:
adb sideload is only custum rom?? my device not booting just only logo. Whats the problem...
Click to expand...
Click to collapse
Adb sideload is a feature of custom recovery (TWRP / CWM). You must boot to recovery and start sideload feature before running adb sideload from command prompt, otherwise adb doesn't recognize the command and displays the help text instead.

sprint lg optimus g
im trying to get my phone working, my kid picked it up when it was in twrp and started having fun... guess she did a full wipe. lol. anyway problem is now i can do adb devices and see phone, but when i swipe sideload it says host not sideload.

Wheelindude said:
im trying to get my phone working, my kid picked it up when it was in twrp and started having fun... guess she did a full wipe. lol. anyway problem is now i can do adb devices and see phone, but when i swipe sideload it says host not sideload.
Click to expand...
Click to collapse
You are currently in the HTC One Q&A forum better to ask your question in the right forum, everything you will find here may not apply to your phone. Here is the link for the Sprint LG Optimus G forums: http://forum.xda-developers.com/optimus-g-sprint

Related

Got ADB running, now what?

So I'm trying to get the Gapps from this link http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#3rd-Party_App_support. I believe I got ADB and the drivers installed correctly. Now what do I do. I open up CMD and when I put in the first line of that script, it basically says $ is not a recognized command or something along those lines. I'm so close to doing the last thing I want to, but can't get over this hump. Can someone give me the play by play on what to do?
Don't type the $. The $ is representing the typical command prompt in *nix (such as Linux) based OSes. You just need to enter everything after the $.
Ok, after I do the first line of
adb shell mount -o remount,rw /dev/block/mmcblk1p2 /system
adb push C:\Documents and Settings\g018807\Desktop\system/
adb reboot
It won't let me type anything else or paste anything else. What am I doing wrong?
Is their anyone who can take me through this?
now I'm just getting ADB not found.
When you issue the command "adb devices" (without quotes), what do you see? Anything? If you see nothing, then your device isn't connected.
eyecrispy said:
When you issue the command "adb devices" (without quotes), what do you see? Anything? If you see nothing, then your device isn't connected.
Click to expand...
Click to collapse
It says list of devices attached
*****numbers* Device
Now it's back to the point where after I hit ADB Shell it just doesn't let me type anything.
Does it just lock up? can you try cntl-C out of it? Other than adb shell, can you do any other adb commands? like adb push or adb pull?
eyecrispy said:
Does it just lock up? can you try cntl-C out of it? Other than adb shell, can you do any other adb commands? like adb push or adb pull?
Click to expand...
Click to collapse
I can cntl-c out of it. If I type push or pull it gives me this
Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this ocmmand with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
Click to expand...
Click to collapse
I have USB debugging on, and I turned on storage mode. Are both of those right?
buffnutz1 said:
I have USB debugging on, and I turned on storage mode. Are both of those right?
Click to expand...
Click to collapse
Yeah, USB debugging is definitely needed. Having storage mode on is fine too.
But let's slow down and back up a little here. Btw, I'm not trying to be condescending with the following. Just being thorough.
First, unplug your Nook from USB. Next, on the Nook uncheck then recheck USB debugging. Now back up to the Home screen.
If you're running Windows Vista/7, make sure you're running command prompt as Administrator. Better safe than sorry. Now at a command prompt type:
adb kill-server
There won't be any result but you should get back to the command prompt.
Now connect the Nook via USB and type:
adb devices
This is just to re-connect your Nook to your computer. You should get a result like:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
xxxxxxxxxxxxxxxxxx device
Click to expand...
Click to collapse
Now type:
adb shell
If you don't get a $ (unrooted) or # (rooted) prompt, then I think there is something wrong with the drivers you installed.
If you do get a $ or # prompt, type:
exit
You should be back to your command prompt.
If you get this far, re-extract or move the zip from http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#3rd-Party_App_support to C:\Temp.
At a command prompt type:
cd C:\Temp
dir
You should get something like
Volume in drive C has no label.
Volume Serial Number is B077-0836
Directory of C:\Temp
02/15/2011 03:06 PM <DIR> .
02/15/2011 03:06 PM <DIR> ..
02/15/2011 03:06 PM <DIR> META-INF
02/15/2011 03:06 PM <DIR> system
0 File(s) 0 bytes
4 Dir(s) 20,067,143,680 bytes free
Click to expand...
Click to collapse
Now type (or copy/paste):
adb shell mount -o remount,rw /dev/block/mmcblk1p2 /system
You should get back to a command prompt. Now type (or copy/paste):
adb push "C:\Temp\system" system/
Again you should get back to a command prompt. Now type (or copy/paste):
adb reboot
This will reboot your Nook and the Google Apps will be available.
You are seriously the best friggin guy ever. Thanks so much. I was missing this entire step
cd C:\Temp
dir
No problem. Actually I'm glad it worked because I just realized that my steps were assuming that you have Froyo on a micro SD card. This wouldn't have worked if you had Froyo on the internal memory. Also, that step you missed is really not necessary. That's just to make sure you had the zip extracted properly. In any case, good to hear it worked out.
Try this here>nookdevs{dotcom}/NookColor_USB_ADB
^ please insert .com for {dotcom} as i cant post links since i dont have enough posts, this forum is good but kinda harsh towards newcomers, otherwise love the forum.
I was stuck at the same spot as you and took me forever to find the fix until i stumbled upon that page. Im in Ubuntu 10.04 so i cant speak for the windows procedure, but it worked perfect for me. I now have HC v3 with gapps thanks to that site. hope this helps
I'm having similar issues. Unfortunately I'm leaving for Fl. for 4 days. As an aside, it would be great if there were some kind of adb gui program for windows. Something were instead of manually entering dos commands like "/dev/block/mmcblk1p2 /system" you could just browse to your nooks system dir. and drop the file in question. Probably just dreaming here. Anyway, I will try your guide as soon as I get back. Cant wait!

[Q] how do i get s off

can anyone help me get s off please i have unlocked my bootloader and have managed to get cmw installed but i cant find a way of getting s off i have the sensation xl x315e i looked at the wire trick but my phone does not have holes in the back to connect a wire to
southard26 said:
can anyone help me get s off please i have unlocked my bootloader and have managed to get cmw installed but i cant find a way of getting s off i have the sensation xl x315e i looked at the wire trick but my phone does not have holes in the back to connect a wire to
Click to expand...
Click to collapse
Have a look at this: http://forum.xda-developers.com/showthread.php?t=1865265.
This tool will do it for you (credit to Lexmazter), option 5 or 6, depending on what Android version you are on.
No need to do the wire trick, that is not for XL...
have tryed this when i ask to remove s off loads of information comes up then it just ends with a # and does nothing
southard26 said:
have tryed this when i ask to remove s off loads of information comes up then it just ends with a # and does nothing
Click to expand...
Click to collapse
I didn' try the tool myself, so I cannot help you further about it.
Otherwise you can go 2 ways: ask Lexmazter for help or go on unlimited.io and follow their instructions (as I did). If you follow the guide carefully you will get s-off :fingers-crossed:
have you got a link for unlimited.io please and this is what i get when i do multi tool flasher Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this ocmmand with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
~ #
Sure.
This is the link to the guide: http://www.unlimited.io/runnymede.htm
On the right side you can download HBOOT. choose the one you need (unprotected version).
Sorry, but I can't understand what the log from the tool is showing...
ok so when i get to part 4 i get this
1|[email protected]:/ # dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_6.28.6667.nb0
of=/dev/block/mmcblk0p18
230ddr2_Runnymede_6.28.6667.nb0of=/dev/block/mmcblk0p18 <
/data/local/tmp/hboot_7230ddr2_Runnymede_6.28.6667.nb0of=/dev/block/mmcblk0p18:
cannot open for read: No such file or directory
southard26 said:
ok so when i get to part 4 i get this
1|[email protected]:/ # dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_6.28.6667.nb0
of=/dev/block/mmcblk0p18
230ddr2_Runnymede_6.28.6667.nb0of=/dev/block/mmcblk0p18 <
/data/local/tmp/hboot_7230ddr2_Runnymede_6.28.6667.nb0of=/dev/block/mmcblk0p18:
cannot open for read: No such file or directory
Click to expand...
Click to collapse
It seems you have typed something wrong. Maybe it happened when you performed adb push in step 1, since it reports it can't find the file or the directory. Try to repeat the whole sequence controlling exactly what you are typing.
i copy the text word for word and still get the same message it makes no sence
Weird... have you mounted system partition as writable? Is USB debug enabled? And still: are you going through the process while your device is powered on and your ROM fully loaded?
i have now got s off but since doing my memory card wont mount even when i plug phone into computer i don't even get the disk drive icon on my phone to select almost as if it don't exist and my phone says insert memory card
Try Multi Mount SD-Card from market. It should help fixing that issue.
southard26 said:
i have now got s off but since doing my memory card wont mount even when i plug phone into computer i don't even get the disk drive icon on my phone to select almost as if it don't exist and my phone says insert memory card
Click to expand...
Click to collapse
This problem often occurs when you have a different HBOOT version of ROM, for instance if you have 1.25 Hboot and flash a 1.28 ROM, this is what you get, same applies if you flash a different HBOOT over a existing version of ROM already installed
Hope this helps
--
As for the tool, it provides the same flashing steps as the one presented on unlimited.io, but it does all that without the need of you to kill you fingers reading and interptreting all that, is a script, that is what scripts do

Update.. issue

Hi guys I'm a bit of a noob when it comes to roms and updating phones.
I managed to root my phone and add team win and super user admin thing. I even updated all the way to Google vanilla but went back stock. My issues now is I want to update my phone via the update in systems and it won't let me. My phone boots up into team win recovery.
There's a 30mb update 2.24.401..... Can you help me with this small query. I just want to be able to update
Sent from my HTC One using xda app-developers app
nuzik said:
Hi guys I'm a bit of a noob when it comes to roms and updating phones.
I managed to root my phone and add team win and super user admin thing. I even updated all the way to Google vanilla but went back stock. My issues now is I want to update my phone via the update in systems and it won't let me. My phone boots up into team win recovery.
There's a 30mb update 2.24.401..... Can you help me with this small query. I just want to be able to update
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
You cannot update your phone when you have a custom recovery installed, you have to reinstall the stock recovery! If you have an international htc one with 2.24.401.1 here is a step by step guide to update the phone, i wrote it for someone else with the same problem as yours!
http://forum.xda-developers.com/showpost.php?p=45179063&postcount=5
im an idiot
RTIT said:
You cannot update your phone when you have a custom recovery installed, you have to reinstall the stock recovery! If you have an international htc one with 2.24.401.1 here is a step by step guide to update the phone, i wrote it for someone else with the same problem as yours!
http://forum.xda-developers.com/showpost.php?p=45179063&postcount=5
Click to expand...
Click to collapse
Ok it seems i went in TWRP and wiped everything, i have no roms on my phone! I cant get any files on it or anything suggestions please
nuzik said:
Ok it seems i went in TWRP and wiped everything, i have no roms on my phone! I cant get any files on it or anything suggestions please
Click to expand...
Click to collapse
lol dont worry your not an idiot, it happens to all of us what you have to do is boot into twrp go to advanced, then adb sideload and swipe, then on your computer open a command line where you have your folder for rooting the htc one (where fastboot and adb are etc...) and put any ROM in that folder, rename it to rom.zip and type "adb sideload rom.zip" without the quotes and you should be good to go!
Thanks one more...
RTIT said:
lol dont worry your not an idiot, it happens to all of us what you have to do is boot into twrp go to advanced, then adb sideload and swipe, then on your computer open a command line where you have your folder for rooting the htc one (where fastboot and adb are etc...) and put any ROM in that folder, rename it to rom.zip and type "adb sideload rom.zip" without the quotes and you should be good to go!
Click to expand...
Click to collapse
Sorry to ask any chance where the original stock HTC sense is? not the google play?
nuzik said:
Sorry to ask any chance where the original stock HTC sense is? not the google play?
Click to expand...
Click to collapse
No problem, here it is (2.24.401.1) http://forum.xda-developers.com/showthread.php?t=2353083
make sure you choose one of the odexed ones so you can install the update, either choose Stock Rooted + BusyBox Odexed or Stock Without ROOT Odexed
EDIT: btw if you install this rom, you can skip steps 3 and 4 in my step by step guide because this rom already containts these files
!
i keep getting an error closed message..
now all i get is the CMD prompt going through a list of things.
pushing etc
nuzik said:
i keep getting an error closed message..
Click to expand...
Click to collapse
Did you go to advanced, adb sideload and swipe and then entered the command in cmd?
EDIT: Try running "adb usb" and then running the "adb sideload rom.zip" command, it should work
RTIT said:
Did you go to advanced, adb sideload and swipe and then entered the command in cmd?
EDIT: Try running "adb usb" and then running the "adb sideload rom.zip" command, it should work
Click to expand...
Click to collapse
nope nothing still just runs through
Android Debug Bridge version 1.0.29
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this command with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosy
stem] [<packages...>]
- write an archive of the device's data to <file>
.
If no -f option is supplied then the data is wr
itten
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks
themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the
device's
shared storage / SD card contents; the defau
lt is noshared.)
(-all means to back up all installed applicatio
ns)
(-system|-nosystem toggles whether -all automat
ically includes
system applications; the default is to inclu
de system apps)
(<packages...> is the list of applications to b
e backed up. If
the -all or -shared flags are passed, then t
he package
list is optional. Applications explicitly g
iven on the
command line will be included even if -nosys
tem would
ordinarily cause them to be omitted.)
adb restore <file> - restore device contents from the <file> backup
archive
adb help - show this help message
adb version - show version num
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
C:\android\android-sdk-windows\platform-tools>adb devices
List of devices attached
SH36WW900035 host
C:\android\android-sdk-windows\platform-tools>adb usb sideload rom.zip
error: closed
C:\android\android-sdk-windows\platform-tools>adb sideload rom.zip
Android Debug Bridge version 1.0.29
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this command with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosy
stem] [<packages...>]
- write an archive of the device's data to <file>
.
If no -f option is supplied then the data is wr
itten
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks
themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the
device's
shared storage / SD card contents; the defau
lt is noshared.)
(-all means to back up all installed applicatio
ns)
(-system|-nosystem toggles whether -all automat
ically includes
system applications; the default is to inclu
de system apps)
(<packages...> is the list of applications to b
e backed up. If
the -all or -shared flags are passed, then t
he package
list is optional. Applications explicitly g
iven on the
command line will be included even if -nosys
tem would
ordinarily cause them to be omitted.)
adb restore <file> - restore device contents from the <file> backup
archive
adb help - show this help message
adb version - show version num
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
C:\android\android-sdk-windows\platform-tools>
nuzik said:
nope nothing still just runs through
Click to expand...
Click to collapse
Can you try this "adb push rom.zip /data/media/0/" and make sure that the rom zip file is in the platform tools folder
nope still nothing
nuzik said:
nope still nothing
Click to expand...
Click to collapse
Sorry I didnt say this eariler you have to run this command without going to advanced -> adb sideload so just enter the command "adb push rom.zip /data/media/0/" without going into sideload mode and tell me what happens and make sure you leave a space between zip and /media
well ive pressed it nothing is happening but it doesnt say failed yet
nuzik said:
well ive pressed it nothing is happening but it doesnt say failed yet
Click to expand...
Click to collapse
Does it say something like <12345678kb to 1234567kb> ?
no its just blank
said failed is a directory...
trying again straight to SDCARD
C:\android\android-sdk-windows\platform-tools>adb push rom.zip /sdcard/
4187 KB/s (1080318520 bytes in 251.959s)
when i go to flash it says failed reading zip...
nuzik said:
no its just blank
said failed is a directory...
Click to expand...
Click to collapse
Ok last thing I want you to try "adb push rom.zip /sdcard"
---------- Post added at 05:13 AM ---------- Previous post was at 05:10 AM ----------
nuzik said:
trying again straight to SDCARD
C:\android\android-sdk-windows\platform-tools>adb push rom.zip /sdcard/
4187 KB/s (1080318520 bytes in 251.959s)
when i go to flash it says failed reading zip...
Click to expand...
Click to collapse
mhm maybe try re-downloading the rom zip file, maybe its corrupted, but anyway now you can push any rom since its working, try pushing the google play edition rom until you redownload the sense rom
nuzik said:
trying again straight to SDCARD
C:\android\android-sdk-windows\platform-tools>adb push rom.zip /sdcard/
4187 KB/s (1080318520 bytes in 251.959s)
when i go to flash it says failed reading zip...
Click to expand...
Click to collapse
now its gone from the phone!
nuzik said:
now its gone from the phone!
Click to expand...
Click to collapse
Try pushing another rom, it should work!
RTIT said:
Try pushing another rom, it should work!
Click to expand...
Click to collapse
re did it and its installing i can go to bed now!!! i hope

another sideload question....

went to flash my rom and accidentally wiped everything. placed the rom in the same folder as adb and renamed it rom.zip. in twrp when i select adb sideload the phone just says starting sideload feature but nothing else happens. in cmd i type adb sideload rom.zip and i just get this:
C:\Users\HP-USER\Desktop\Root_HTC_One_Sprint>adb sideload rom.zip
Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devi
e
returns an error if more than one USB device i
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is
unning.
-s <serial number> - directs command to the USB device or emulator
ith
the given serial number. Overrides ANDROID_SER
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'
If -p is not specified, the ANDROID_PRODUCT_OU
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP
disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transpor
adb install [-l] [-r] [-s] <file> - push this package file to the device and
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its dat
)
('-s' means install on SD card instead of inte
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directorie
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifi
d device
adb remount - remounts the /system partition on the device r
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the bo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on t
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\Users\HP-USER\Desktop\Root_HTC_One_Sprint>
also, when i try to reboot it says my phone is no longer rooted and i cant reinstall supersu. i have on otg with the rom on but for some reason twrp wont mount the otg. thanks in advance.
A few thoughts:
First, if you are specifying the rom.zip file in the side load as you did, make sure it is in the exact same directory from which you issue the adb command. Otherwise it'll never find it. Either that or give the full path to the rom zip file.
Second, TWRP doesn't support OTG on Sprint HTC One any more (the 2.6.3 release broke it -- may in the future get a fix, but it's broken now). You can load PhilZ and it will restore your TWRP backup as it supports OTG, and also CWM or TWRP nandroid formats. Also supports sideload, though I've not needed that so won't give any coments on that. TWRP is *great* but being intellectually honest, it's a bit broken on our m7wls/m7spr devices.

[q] htc one m7 softbreak

my HTC one is softbreak , its unfortunately S-on , i did bootloader unlock already , my hboot is : 1.57 . i just tried to write stuck rom via adb but got this error :
C:\adb>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
SH3A5W901104 host
C:\adb>adb sideload ROM.zip
Android Debug Bridge version 1.0.20
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb root - restarts adb with root permissions
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PDP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\adb>
could u plz suggest me what is wrong exactly ?
br
edy_pm said:
my HTC one is softbreak , its unfortunately S-on , i did bootloader unlock already , my hboot is : 1.57 . i just tried to write stuck rom via adb but got this error :
C:\adb>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
SH3A5W901104 host
C:\adb>adb sideload ROM.zip
Android Debug Bridge version 1.0.20
could u plz suggest me what is wrong exactly ?
br
Click to expand...
Click to collapse
your adb is very outdated. 1.0.20 does not support sideload. update your sdk. Latest version is 1.0.32
your phone must also be booted in twrp sideload mode to use sideload. So "adb device" output should be
Code:
SH3A5W901104 sideload
what rom are you trying to install? link please?
Also post the output of "fastboot getvar all"
remove imei and serialno before posting

Categories

Resources