Help rooting mt slide 2.2.1 - myTouch 3G Slide Android Development

I really hope someone can help me. I don't know what else to do.
My rooted slide was stolen last week. Just got a new one but of course it with 2.2.1 and I am trying to root it. I made the gold card, installed Adb, and followed all the directions find here to root the phone but below is what I am getting.
I really need to get this phone rooted.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Ladyr>cd c:\
c:\>cd c:\android\android-sdk\android-sdk-windows\platform-tools
c:\Android\android-sdk\android-sdk-windows\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT069PS08148 device
c:\Android\android-sdk\android-sdk-windows\platform-tools>adb push flash_image/d
ata/local
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.
c:\Android\android-sdk\android-sdk-windows\platform-tools>

I don't think you are using the correct windows path for you file you are trying to push. Try using the file paths in your adb commands.

do it this way works in 5 min no gold card needed http://forum.xda-developers.com/showthread.php?t=1108316 .WORKS everytime just did it again 3 hours ago.....
just thank me if it works

Thank you, I am not rooted thanks to you. had one small problem but was easy to remdy.
kitila said:
do it this way works in 5 min no gold card needed http://forum.xda-developers.com/showthread.php?t=1108316 .WORKS everytime just did it again 3 hours ago.....
just thank me if it works
Click to expand...
Click to collapse

Hey sry.I already had to update.zip on my sd root so I didn't know...but ty for telling me....but yea it still rooted ur phone u just didn't have the cwm..so um yea I did help u root you phone just didn't help u get cwm.....so wooot for me lol

Didn't work for me.
kitila said:
do it this way works in 5 min no gold card needed http://forum.xda-developers.com/showthread.php?t=1108316 .WORKS everytime just did it again 3 hours ago.....
just thank me if it works
Click to expand...
Click to collapse
I tried the superoneclick and all I got was device not found or wating for device. I couldn't find a error fix for that so that is where I stopped. I have a new MT3GS 2.2.1. Nothing I have tried from last june in 2010 until today has worked. Even in a shell when I do adb it just comes up device not found and yes I have done all the changes to the phone with the charge only shutting down the wifi and debugging oh and screen on. I had to get a new phone since I did a OTA update and when I try to make a call my phone reboots all the time. T-Mobile sent me new phones but they all do the same thing and it is a HTC problem so I need to root and get rid of HTC

Did someone have the files for the goldcard method and can be gentle enough to send them to me Ill be really thanksfull, please I have done the oficial update and lost my root. Help me out please I know how to do everything just needs the files cause links are dead.
Pm me or send to my email please
[email protected]
Sent from my T-Mobile myTouch 3G Slide using XDA Premium App

Related

Tutorial Video for Photon Root

well, i tried to make it as clear as possible step by step, hope this helps everyone
http://www.youtube.com/watch?v=dS8h7l_KwSw
LMFAO man...how do you find ANYTHING on that desktop...heheh. Nice Vid man, thanks for the contribution!
Bandage said:
LMFAO man...how do you find ANYTHING on that desktop...heheh. Nice Vid man, thanks for the contribution!
Click to expand...
Click to collapse
lol, i manage, i even get lost sometimes,lol, but anything to help everyone out, since i don't know a lot of about andriod or making roms or root methods, i figured my small video would help
Thanks for the video very helpful.
And yes how do you find anything, I got distracted from the video for a few mins look at your desktop, and also your bookmarks on explorer
predwing said:
Thanks for the video very helpful.
And yes how do you find anything, I got distracted from the video for a few mins look at your desktop, and also your bookmarks on explorer
Click to expand...
Click to collapse
hahaha, after seeing this for what, 5 years now, i got use to it, you guys should have seen my last rig, the entire screen was full
Although i am already rooted via HD dock, good video and holy **** on the icons, i am one of those people who don't even use desktop icons.
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\ralph>cd ..
C:\Users>cd ..
C:\>cd c:/root
c:\root>adb push photon-torpedo.tar /data/tmp
cannot stat 'photon-torpedo.tar': No such file or directory
c:\root>adb push photon-torpedo.tar/data/tmp
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
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.
c:\root>adb shell
$ cd /data/tmp
cd /data/tmp
$ /bin/tar xf /data/tmp/photon-torpedo.tar
/bin/tar xf /data/tmp/photon-torpedo.tar
/bin/tar: /data/tmp/photon-torpedo.tar: Cannot open: No such file or directory
/bin/tar: Error is not recoverable: exiting now
$ /bin/tar xf/data/tmp/photon-torpedo.tar
/bin/tar xf/data/tmp/photon-torpedo.tar
/bin/tar: Old option `f' requires an argument.
Try `/bin/tar --help' or `/bin/tar --usage' for more information.
$
as you see does not work for me i could not get the 64 bit drivers to extrace on my comp so lmk.
c:\root>adb push photon-torpedo.tar /data/tmp
cannot stat 'photon-torpedo.tar': No such file or directory
"No such file or directory"...It looks like you may not have the photon-torpedo.tar in the correct folder on your computer. Did you put the downloaded file "photon-torpedo.tar" in your computer's directory c:/root ? The file has to be in the same folder so adb will know where to look to push it to the correct directory on the photon.
Yes it is in c:root along with the files of ADB
rdcrds said:
Yes it is in c:root along with the files of ADB
Click to expand...
Click to collapse
take a screen shot of your folder please, so i can see if all the right files are in, because this should work perfectly
I tried again and when i try this i get stuck
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\ralph>cd..
C:\Users>cd ..
C:\>cd c:/root
c:\root>adb push photon-torpedo.tar/data/tmp
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
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.
c:\root>
are you spacing it?
c:\root>adb push photon-torpedo.tar/data/tmp
it should look like this
c:\root>adb push photon-torpedo.tar /data/tmp
and is your phone in debug mode
got past that now stuck at /data/tmp/install-su.sh says no such file or directory
rdcrds said:
got past that now stuck at /data/tmp/install-su.sh says no such file or directory
Click to expand...
Click to collapse
Did you install superuser and terminal emulator from the market? When I tried to install terminal emulator the first time I got an error and had to reinstall.
kimmied2000 said:
Did you install superuser and terminal emulator from the market? When I tried to install terminal emulator the first time I got an error and had to reinstall.
Click to expand...
Click to collapse
Huh??? What's terminal emulator for?? Didn't even have to touch that
Sent from my MB855 using XDA App
What is terminal emulator for? see bold From the original post
Instructions:
Use your favorite method to get photon-torpedo.tar into /data/tmp
Install Superuser from the Market
***Install Android Terminal Emulator from the Market
Run Android Terminal Emulator
Run cd /data/tmp
Run /bin/tar xf /data/tmp/photon-torpedo.tar
Run /data/tmp/photon-torpedo.sh
Run /data/tmp/install-su.sh
Download:
Photon Torpedo
kimmied2000 said:
What is terminal emulator for? see bold From the original post
Instructions:
Use your favorite method to get photon-torpedo.tar into /data/tmp
Install Superuser from the Market
***Install Android Terminal Emulator from the Market
Run Android Terminal Emulator
Run cd /data/tmp
Run /bin/tar xf /data/tmp/photon-torpedo.tar
Run /data/tmp/photon-torpedo.sh
Run /data/tmp/install-su.sh
Download:
Photon Torpedo
Click to expand...
Click to collapse
didn't have to do that, so i don't know what method your using
It's from edgan's original post when he found the root method
http://forum.xda-developers.com/showthread.php?t=1216131
(I should have put the link in my previous post).
Anyway, I don't really know what it is, I just know how to follow directions and it worked for me. Guess you didn't need to do it, so I guess it's a moot point. Just thought that might be why the other poster was having such problems getting root to work.
By the way, thanks for posting the video.
Can someone help me? after the second command I'm getting device not found??
khaag27 said:
Can someone help me? after the second command I'm getting device not found??
Click to expand...
Click to collapse
did you install the drivers and is your phone in debug mode???

[Q] adb sideload

i wiped my internal storage and went to try to sideload a rom through TWRP, but the terminal on the phone just says "starting ADB sideload feature..." and wont actually start it, even after an hour of leaving it alone. so whenever i give the command in terminal (im on a mac) it gives me a long message, basically saying it cant load the rom because the command can be interpreted different ways. Ive sideloaded roms before, and this is the first time ive had an issue with TWRP not starting sideload up. Does anyone have any ideas/suggestions? or did i brick my phone already?
heres the message i get when i ignore my phone saying its not ready and trying to push the zip anyway
Kevins-MacBook-Pro:acp Kevin$ ./adb-mac devices
List of devices attached
HT35YW907417 sideload
Kevins-MacBook-Pro:acp Kevin$ ./adb-mac sideload CleanROM 2.5.zip
Android Debug Bridge version 1.0.29
-d - directs command to the only connected USB device
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 running.
-s <serial number> - directs command to the USB device or emulator with
the given serial number. Overrides ANDROID_SERIAL
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 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
(-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] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
- push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)
('--algo', '--key', and '--iv' mean the file is encrypted already)
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|-nosystem] [<packages...>]
- write an archive of the device's data to <file>.
If no -f option is supplied then the data is written
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 default is noshared.)
(-all means to back up all installed applications)
(-system|-nosystem toggles whether -all automatically includes
system applications; the default is to include system apps)
(<packages...> is the list of applications to be backed up. If
the -all or -shared flags are passed, then the package
list is optional. Applications explicitly given on the
command line will be included even if -nosystem 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 specified device
adb remount - remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader 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 the 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 updated.
- 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 priority over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
Kevins-MacBook-Pro:acp Kevin$
Can you re flash twrp and try again?
Sent from my HTC One using xda premium
Bladerunner1825us said:
Can you re flash twrp and try again?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
ive done that. it just sits there saying "starting adb sideload feature:" and never actually starts it

Flashing carbonrom

guys please help me i wanted to flash carbonrom, I flashed kernel and wiped everything at the recovery afterwards i noticed that i do not have the rom
when i wanted to reboot the system twrp 2.5.0.0 said that i do not have root so i let it install supersu. after that i flashed the elitekernel because i had a sense rom previously but it is stuck at the thc logo because i wiped everything. please help me
this is what it says when i try adb sideload the rom
Android Debug Bridge version 1.0.31
-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 <specific device> - directs command to the device or emulator with
the given
serial number or qualifier. Overrides ANDROID_S
ERIAL
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 [-l] - list all connected devices
('-l' will also list device qualifiers)
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] [--algo <algorithm name> --key <hex-encoded key> --
iv <hex-encoded iv>] <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
)
('-s' means install on SD card instead of inter
nal storage)
('--algo', '--key', and '--iv' mean the file is
encrypted already)
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 get-devpath - prints: <device-path>
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:\Users\Haso\One_X+_All-In-One_Kit_v\data>adb version
Android Debug Bridge version 1.0.31
C:\Users\Haso\One_X+_All-In-One_Kit_v\data>
the rom i try to sideload is arhd 6.5
and the recovery says starting adb sideload feature but nothing happens

[Q] htc one x+ back to stock

hello sir,
i am a htc one x+ user in india
device = htc one x+ (enrc2b)
H boot = 1.72.000
android = 4.2.2 sense 5
baseband version = 3.1204.171.33
build number 2.18.707.5
My problem is i unlocked my phone then i rooted it then i tried to install cyanogenmod 10.1.3 it stuck on boot animation then i remove that and unrooted my phone and relocked my phone....now when i reset my phone or go to recovey its says " this build is for development purposes only...." in red and i tried to install this stock ruu....."RUU_ENRC2B_U_JB_45_hTC_Asia_WWE_1.17.707.1_Radio_3.1204.168.32_release_299722_signed"
this shows error 158 i am in a big problem dnt know what to do plzz plzz help.
shivangshukla said:
hello sir,
i am a htc one x+ user in india
device = htc one x+ (enrc2b)
H boot = 1.72.000
android = 4.2.2 sense 5
baseband version = 3.1204.171.33
build number 2.18.707.5
My problem is i unlocked my phone then i rooted it then i tried to install cyanogenmod 10.1.3 it stuck on boot animation then i remove that and unrooted my phone and relocked my phone....now when i reset my phone or go to recovey its says " this build is for development purposes only...." in red and i tried to install this stock ruu....."RUU_ENRC2B_U_JB_45_hTC_Asia_WWE_1.17.707.1_Radio_3.1204.168.32_release_299722_signed"
this shows error 158 i am in a big problem dnt know what to do plzz plzz help.
Click to expand...
Click to collapse
First of all since ur hboot is 1.72 the RUU wont work...and there is no RUU out for the hboot version > 1.35
u can get back to stock by grabbing the nandroid backup from this thread and flash the kernel inside the zip file from fastboot
if u want to install any custom ROM after flashing the ROM do flash the Kernel(boot.img) from the ROM zip file from fastboot mode
sterps to do it
[email protected] said:
First of all since ur hboot is 1.72 the RUU wont work...and there is no RUU out for the hboot version > 1.35
u can get back to stock by grabbing the nandroid backup from this thread and flash the kernel inside the zip file from fastboot
if u want to install any custom ROM after flashing the ROM do flash the Kernel(boot.img) from the ROM zip file from fastboot mode
Click to expand...
Click to collapse
this its really helpful....plz will you tell me the steps to do it because this time i dont wana get into any trouble
shivangshukla said:
this its really helpful....plz will you tell me the steps to do it because this time i dont wana get into any trouble
Click to expand...
Click to collapse
Steps for Custom ROM or Stock Nandroid backup...????
quote
[email protected] said:
Steps for Custom ROM or Stock Nandroid backup...????
Click to expand...
Click to collapse
sorry sir Stock Nandroid backup....
quote
[email protected] said:
Steps for Custom ROM or Stock Nandroid backup...????
Click to expand...
Click to collapse
so what are the steps should i take...
shivangshukla said:
sorry sir Stock Nandroid backup....
Click to expand...
Click to collapse
Prerequisites : android development kit windows and Nandroid backup
download the Nandroid backup from the post here
connect ur phone to PC when on TWRP(recovery mode)
make sure ur device is recognized
do "adb devices"
This will show ur device serial no XXXX as in recovery
do "adb shell" that will enter ur phone storage (exclude the quotes in all the commands)
do "mkdir sdcard/TWRP/BACKUPS/XXXX/stock" this will create a directory as stock on the following path(replace XXXX with ur device serial number copy from the above result "adb devices")
now do "exit"
u ll be back on platform-tools folder
unzip the nandroid backup u have downloaded and put it in platform-tools folder now push those files one by one using adb push
"adb push system.ext4.win sdcard/TWRP/BACKUPS/xxxxxxx/stock"
like wise replace the system.ext4.win with all the files u had extracted from the zip
wipe all dalvik,system,cache,and data excluding ur internal storage(don't wipe internal storage which will wipe all the data u have copied)
now go to Restore on TWRP and u ll find the folder stock then just swipe to restore it
once u have done it
reboot to bootloader
flash the kernel from the zip just rename the boot.emmc.win to boot.img and
enter this command
"fastboot flash boot boot.img"
"fatsboot erase cache"
unplug ur device
now reboot ur phone
IT MUST BOOT
quote
[email protected] said:
Prerequisites : android development kit windows and Nandroid backup
download the Nandroid backup from the post here
connect ur phone to PC when on TWRP(recovery mode)
make sure ur device is recognized
do "adb devices"
This will show ur device serial no XXXX as in recovery
do "adb shell" that will enter ur phone storage (exclude the quotes in all the commands)
do "mkdir sdcard/TWRP/BACKUPS/XXXX/stock" this will create a directory as stock on the following path(replace XXXX with ur device serial number copy from the above result "adb devices")
now do "exit"
u ll be back on platform-tools folder
unzip the nandroid backup u have downloaded and put it in platform-tools folder now push those files one by one using adb push
"adb push system.ext4.win sdcard/TWRP/BACKUPS/xxxxxxx/stock"
like wise replace the system.ext4.win with all the files u had extracted from the zip
wipe all dalvik,system,cache,and data excluding ur internal storage(don't wipe internal storage which will wipe all the data u have copied)
now go to Restore on TWRP and u ll find the folder stock then just swipe to restore it
once u have done it
reboot to bootloader
flash the kernel from the zip just rename the boot.emmc.win to boot.img and
enter this command
"fastboot flash boot boot.img"
"fatsboot erase cache"
unplug ur device
now reboot ur phone
IT MUST BOOT
Click to expand...
Click to collapse
before doing all this i should unloacked my bootloader and install twrp recovery then i shoud do this...correct me if i m wrong
shivangshukla said:
before doing all this i should unloacked my bootloader and install twrp recovery then i shoud do this...correct me if i m wrong
Click to expand...
Click to collapse
u got that right...
quote
[email protected] said:
u got that right...
Click to expand...
Click to collapse
i copy file to twrp and i wipe dalvik,cache,data,and system then igo to restore and its showing nothing and when i go to restart it says no os install
shivangshukla said:
i copy file to twrp and i wipe dalvik,cache,data,and system then igo to restore and its showing nothing and when i go to restart it says no os install
Click to expand...
Click to collapse
I dont think then u have copied the files to this directory sdcard/TWRP/BACKUPS/XXXX/stock
this is the path which the TWRP cant recognize so u have to copy the files exactly on this directory only not anywhere else
U have to create a folder in this path sdcard/TWRP/BACKUPS/SERIALNO of ur phone
create a directory in the above mentioned path by this command from the command prompt
"mkdir sdcard/TWRP/BACKUPS/SERIALNO/STOCK"
this will create a directory STOCK inside ur serial number directory
Now u can copy all the files to the STOCK directory by doing "adb push"
refer to the this post for that
once u have copied all the files to that folder u can restore it from the restore option on TWRP and flash the kernel from the fastboot mode
quite
when doing adb slideload firmware.zip its showing tihs.
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.
quote
[email protected] said:
I dont think then u have copied the files to this directory sdcard/TWRP/BACKUPS/XXXX/stock
this is the path which the TWRP cant recognize so u have to copy the files exactly on this directory only not anywhere else
U have to create a folder in this path sdcard/TWRP/BACKUPS/SERIALNO of ur phone
create a directory in the above mentioned path by this command from the command prompt
"mkdir sdcard/TWRP/BACKUPS/SERIALNO of ur phone/STOCK"
this will create a directory STOCK inside ur serial number directory
Now u can copy all the files to the STOCK directory by doing "adb push"
refer to the this post for that
once u have copied all the files to that folder u can restore it from the restore option on TWRP and flash the kernel from the fastboot mode
Click to expand...
Click to collapse
when ruining this step abd slideload firmware.zip its showing
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.
shivangshukla said:
when ruining this step abd slideload firmware.zip its showing
Android Debug Bridge version 1.0.26
bug tags are printed.
Click to expand...
Click to collapse
U dont have to copy the firmware.zip at all leave it alone...
the firmware.zip is the file which upgrades ur radio and hboot to the latest one
u already have it so dont try to sideload or flash firmware.zip
Navigate to the folder where u have installed adb and open the command prompt in there
just try "adb devices" from there
u must see ur device serial number and as on recovery like this
if the list if devices attached shows as nothing then wait for five min or restart ur system
make sure ur phone is recognized on adb devices
after that follow the post I have mentioned earlier.......
Please please dont try the firmware.zip thats useless in ur case.....since u are alreay on hboot 1.72
[email protected] said:
U dont have to copy the firmware.zip at all leave it alone...
the firmware.zip is the file which upgrades ur radio and hboot to the latest one
u already have it so dont try to sideload or flash firmware.zip
Navigate to the folder where u have installed adb and open the command prompt in there
just try "adb devices" from there
u must see ur device serial number and as on recovery like this
if the list if devices attached shows as nothing then wait for five min or restart ur system
make sure ur phone is recognized on adb devices
after that follow the post I have mentioned earlier.......
Please please dont try the firmware.zip thats useless in ur case.....since u are alreay on hboot 1.72
Click to expand...
Click to collapse
firmware means i am using adb slideload when i write adb slidelload comand it says and my htc mtp device driver is not installing it says fail
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.
shivangshukla said:
firmware means i am using adb slideload when i write adb slidelload comand it says and my htc mtp device driver is not installing it says fail
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 did my restoration to nandroid backup i wana know how to flash the boot.img.....i copy the boot.img file to adb folder then i run yor command fastboot flash boot boot.img but it says error cant load
exit f problems
shivangshukla said:
i did my restoration to nandroid backup i wana know how to flash the boot.img.....i copy the boot.img file to adb folder then i run yor command fastboot flash boot boot.img but it says error cant load
Click to expand...
Click to collapse
fixed it back to your nandroid backup thanks alot for your help
reset problem
shivangshukla said:
fixed it back to your nandroid backup thanks alot for your help
Click to expand...
Click to collapse
every thing is good i m in my the stock rom.
after getting to stock i relocked my bootloader then i wish to reset my phone and my phone says that this is for development purpose only in red what to do with this stuff this problem was Earlier to and for this problem i did this nandroid backup so please tell me what to do with this problem.
quote
shivangshukla said:
every thing is good i m in my the stock rom.
after getting to stock i relocked my bootloader then i wish to reset my phone and my phone says that this is for development purpose only in red what to do with this stuff this problem was Earlier to and for this problem i did this nandroid backup so please tell me what to do with this problem.
Click to expand...
Click to collapse
installing stock recovery fixed the problem.
Can you post the download link of stock recovery please?
Another question: I have hboot. 1.40 ,
Do I have to go same steps as described here with same nandroid. Bckp ?
Sent from my LG-D802 using xda app-developers app

[Q] Help with Kindle Fire HDX 7 (thor) 3rd Gen

Hi all and Sorry for my bad English.
I got a Kindle Fire hdx 7 3rd gen and i got it rooted everything was woking good. then i installed an apk called freedom and i used a function called "freecore" id restartedmy kindle and then it got a boot loop stuck, then i was reading that i need to do a hard reset, i charged my kindle fire full charge then press power and hold up volume up until i see the recovery mode with only restart kindle or factory reset options, so i did a factory restore and noting happen still on boot loop stuck i keep reading and i realized than i needed a custom recovery stock something i didn't installed when i rooted my kindle , i got adb installed on pc i tried kindle fire recovery and kindle fire unbrick tool but both software said waiting for device, still when i plug my kindle to pc i heard the sound that win 8 recognized it so please can someone help me or know a threat to a solution thank you .
Do you know what version of the Os you were running?
lekofraggle said:
Do you know what version of the Os you were running?
Click to expand...
Click to collapse
i downgraded 4.5.3 to 3.2.8 i think then updated to 4.5.2 to rooted
lekofraggle said:
Do you know what version of the Os you were running?
Click to expand...
Click to collapse
this is the thread i used http://forum.xda-developers.com/kin...lback-13-3-2-8-rollback-ota-captured-t3046204
I am sorry, but if you did not enable adb first, you may be out of luck. Try opening a command prompt in your adb folder and type adb devices. See if it shows up.
lekofraggle said:
I am sorry, but if you did not enable adb first, you may be out of luck. Try opening a command prompt in your adb folder and type adb devices. See if it shows up.
Click to expand...
Click to collapse
i tried command adb devices and it said device offline
That is odd. When I run the command with the device offline, it just prints a blank prompt.
lekofraggle said:
I am sorry, but if you did not enable adb first, you may be out of luck. Try opening a command prompt in your adb folder and type adb devices. See if it shows up.
Click to expand...
Click to collapse
ok i tried again now i got a message that said list of devices attached D0FCA0A04206008K offline
What happens if you try to push a file to the sd card?
lekofraggle said:
What happens if you try to push a file to the sd card?
Click to expand...
Click to collapse
this happened when i used push command
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\hector>cd C:\android-sdk
C:\android-sdk>adb push Copy.GBA/sdcard/
Android Debug Bridge version 1.0.32
-a - directs adb to listen on all interfaces for a c
onnection
-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 <specific device> - directs command to the device or emulator with
the given
serial number or qualifier. Overrides ANDROID_S
ERIAL
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.
-H - Name of adb server host (default: localhost)
-P - Port of adb server (default: 5037)
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
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 [-p] <local> <remote>
- copy file/dir to device
('-p' to display the transfer progress)
adb pull [-p] [-a] <remote> [<local>]
- copy file/dir from device
('-p' to display the transfer progress)
('-a' means copy timestamp and mode)
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 --list - list all forward socket connections.
the format is a list of lines with the followin
g format:
<serial> " " <local> " " <remote> "\n"
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 forward --no-rebind <local> <remote>
- same as 'adb forward <local> <remote>' but fail
s
if <local> is already forwarded
adb forward --remove <local> - remove a specific forward socket connection
adb forward --remove-all - remove all forward socket connections
adb reverse --list - list all reverse socket connections from device
adb reverse <remote> <local> - reverse socket connections
reverse specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
adb reverse --norebind <remote> <local>
- same as 'adb reverse <remote> <local>' but fail
s
if <remote> is already reversed.
adb reverse --remove <remote>
- remove a specific reversed socket connection
adb reverse --remove-all - remove all reversed socket connections from dev
ice
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-lrtsd] <file>
adb install-multiple [-lrtsdp] <file...>
- push this package file to the device and instal
l it
(-l: forward lock application)
(-r: replace existing application)
(-t: allow test packages)
(-s: install application on sdcard)
(-d: allow version code downgrade)
(-p: partial application install)
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] [-obb|-noobb] [-shared|-noshared] [-all]
[-system|-nosystem] [<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.)
(-obb|-noobb enable/disable backup of any insta
lled apk expansion
(aka .obb) files associated with each applic
ation; the default
is noobb.)
(-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 get-devpath - prints: <device-path>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system and /vendor (if present) p
artitions on the device read-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, /system, /vendor (if present), and /data pa
rtitions will be updated.
- If it is "system", "vendor" 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-sdk>
lekofraggle said:
What happens if you try to push a file to the sd card?
Click to expand...
Click to collapse
i did it again looks like i missed typed something now i got "C:\android-sdk>adb push Copy.file /sdcard/
error: device offline
C:\android-sdk>"
Does your device show up in Windows explorer or in device manager?
---------- Post added at 06:24 PM ---------- Previous post was at 06:23 PM ----------
It could be that the drivers are not installed correctly, but at this point, I am just guessing. Sorry.
lekofraggle said:
Does your device show up in Windows explorer or in device manager?
---------- Post added at 06:24 PM ---------- Previous post was at 06:23 PM ----------
It could be that the drivers are not installed correctly, but at this point, I am just guessing. Sorry.
Click to expand...
Click to collapse
they dont show on windows explorer but in device manager i got:
kindle fire> Android Composite ADB Intercafe
Portable Devices> MTP USB Device
Okay, I do not think you have the driver loaded correctly. It is a long shot, but you could try uninstalling both devices (unplug your kindle first), then rebooting your computer and plugging your kindle back in. Hopefully, the drivers load okay. Then try adb again.
lekofraggle said:
Okay, I do not think you have the driver loaded correctly. It is a long shot, but you could try uninstalling both devices (unplug your kindle first), then rebooting your computer and plugging your kindle back in. Hopefully, the drivers load okay. Then try adb again.
Click to expand...
Click to collapse
the MTP USB Device got a little yellow triangle and on properties got this message "This device cannot start. (Code 10)
The process hosting the driver for this device has terminated."
Again, you have to remove it. Unhook your device, and uninstall them. Then, reboot and try to let it install.
lekofraggle said:
Again, you have to remove it. Unhook your device, and uninstall them. Then, reboot and try to let it install.
Click to expand...
Click to collapse
i did what told to do unhook it, unistalled and reinstalled then i got this when i push
"C:\android-sdk>adb push Copy /sdcard/
failed to copy 'Copy' to '/sdcard//Copy': Permission denied"
What about dab devices? Also, I think when you push a file, you need to make sure that the file is in the dab folder and the file type has to be valid. E.X.
adb push test.txt /sdcard/test.txt
Or, you could also try adb ls/
lekofraggle said:
What about dab devices? Also, I think when you push a file, you need to make sure that the file is in the dab folder and the file type has to be valid. E.X.
adb push test.txt /sdcard/test.txt
Or, you could also try adb ls/
Click to expand...
Click to collapse
a made a file inside adb folder called text and tried and again same message
C:\android-sdk>adb push text.txt /sdcard/text.txt
failed to copy 'text.txt' to '/sdcard/text.txt': Permission denied
C:\android-sdk>
also when i use adb root i can get into root and i did once adb fastboot reboot-bootloader and my kindle go into fastboot
C:\android-sdk>adb root
C:\android-sdk>adb devices
List of devices attached
D0FCA0A04206008K device
C:\android-sdk>

Categories

Resources