Side loading a Rom - Sprint HTC One (M7)

Could someone explain to me the process on how to do this? Thanks in advance!
Sent from my HTCONE using Tapatalk 2

just turn on adb sideload mode first in twrp
open command line window
then just type in adb sideload "nameofROM.zip" without the parentheses ofcourse
more detail explanation here
http://forum.xda-developers.com/showthread.php?t=2318497

im0rtalz said:
just turn on adb sideload mode first in twrp
open command line window
then just type in adb sideload "nameofROM.zip" without the parentheses ofcourse
more detail explanation here
http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
Thank you for explaining this to me!
Sent from my HTCONE using Tapatalk 2

Related

adb ?

Just wondering if I have installed adb correctly I can open my command prompt using windows vista and type adb devices and I get my serial number displayed as a connected device does this confirm and is working? Thanks for your help! Completely new to this.
Beamer9408 said:
Just wondering if I have installed adb correctly I can open my command prompt using windows vista and type adb devices and I get my serial number displayed as a connected device does this confirm and is working? Thanks for your help! Completely new to this.
Click to expand...
Click to collapse
As far as I know that does mean you have it installed and running correctly.
I agree, that would tell me it's installed correctly. Shell into your phone. If you can do that, you should be all set. Directions for shelling into your phone can be found in the forums. If you can't find them, let me know and I'll help you out. We all have to start somewhere. Lol!
Sent from my VS910 4G using XDA Premium App
Are you rooted? Meant to ask that.
Sent from my VS910 4G using XDA Premium App
thermal_tim said:
Are you rooted? Meant to ask that.
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Oh sorry I thought I mentioned that in my earlier post I am rooted running decrap..and the other mods that are on this forum
Ok so this is what is going on I go into command prompt type in CD then to the tools directory and hit enter then type adb devicesand hit enter serial number comes up so I type adb shell and I get $ ok so I read somewhere if you get that prompt type aubri hit enter ok so I do that superuser permission is asked on my phone so I said allow it. Retyped adb shell and it isn't recognizing what adb is? Not sure what is going on here thanks to anyone who helps explain if I'm doing something wrong.
Beamer9408 said:
Ok so this is what is going on I go into command prompt type in CD then to the tools directory and hit enter then type adb devicesand hit enter serial number comes up so I type adb shell and I get $ ok so I read somewhere if you get that prompt type su hit enter ok so I do that superuser permission is asked on my phone so I said allow it. Retyped adb shell and it isn't recognizing what adb is? Not sure what is going on here thanks to anyone who helps explain if I'm doing something wrong.
Click to expand...
Click to collapse
Once you
$adb shell
$su
#
You shouldn't need to type adb shell again bc ur already in it...
it would also help us to help you to know what you are trying to do with ADB shell... being that you are rooted, what else do you need to do with it?
Sent from my VS910 4G using Tapatalk
S.Meezy said:
Once you
$adb shell
$su
#
You shouldn't need to type adb shell again bc ur already in it...
it would also help us to help you to know what you are trying to do with ADB shell... being that you are rooted, what else do you need to do with it?
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Thanks honestly I'm not trying to do anything with it just trying to seeif I have it installed correctly someone suggested to see if I could go into shell so I tried and that was my results.
Beamer9408 said:
Thanks honestly I'm not trying to do anything with it just trying to seeif I have it installed correctly someone suggested to see if I could go into shell so I tried and that was my results.
Click to expand...
Click to collapse
assuming your screen looked like this...
$adb shell
$su
#
...and changed from $ to # when you did it, you're good. also, it showing as a device was a good indicator too.

Adb devices or sdk

ok i go into cmd and type adb devices, and it tells me that
adb is not recognize as an internal or external command,operable program or batch files
what am i doing wrong NEED HELP
Are you running windows
Sent from my LG-P925 using xda premium
If so try typing cd c:/android-sdk-windows/platform-tools
Sent from my LG-P925 using xda premium
Then type adb devices
Sent from my LG-P925 using xda premium
hoskopico said:
Then type adb devices
Sent from my LG-P925 using xda premium
Click to expand...
Click to collapse
Yes i am on windows,ok after i type adb devices it says
* dameon not running. staring it now on port 5037*
* dameon started successfully*
List of devices attached
Is it supposed to show devices cuzz it dont show non,also in my device manager it has android phone with little yellow circle and exlamation point
This is kind of difficult for me cuzz i came from the samsung infuse and it was easier to add a rom thru rom manager,so if yall can please help me out
It should put a number after if not do you have the drivers installed
Sent from my LG-P925 using xda premium
ok it gave me 16 digits and says device
I would really apreciate if you can help me
Open command prompt and type:
adb shell
su (click allow on phone if prompted)
chmod 777 /data
ls -l (then look at the data directory and it's permissions should now be drwxrwxrwx)
Each line is a new comand so adb shell then enter then su etc...
Then fallow the steps by designgear
Sent from my LG-P925 using xda premium
You gotta use the directory change i gave you earlier then type the adb commands
Sent from my LG-P925 using xda premium
Did ya get it to work?
Sent from my LG-P925 using xda premium
ok i typed adb shell and it has a
$ symbol?
Now type su then enter and u should be good to go.. to go about finishing the install commands that is
Sent from my LG Thrill 4G...
so how would i install cwm?
I sent ya a pm on it man this thread needs to be deleted by mods for it is not a development thread but a q/a thread
Sent from my LG-P925 using xda premium
it says adb not found
ssfirme said:
it says adb not found
Click to expand...
Click to collapse
Do youreself a favor and search the adb howto in the Thrill general section. It will tell you how to make an adb shortcut. Save you some headaches.
Also after you adb shell you can no longer use the adb command until you 'exit' the shell. Trying to do so will result in adb not found.
Sent from my LG-P925 using Tapatalk
what do you mean exit the shell
ssfirme said:
what do you mean exit the shell
Click to expand...
Click to collapse
Adb commands are run from the computer. When you type adb shell all commands from that point on are from the phone, so you can no longer use the adb command when in shell. Typing 'exit' will exit the shell and return you to being able to use adb commands.
Sent from my LG-P925 using Tapatalk

What is ADB shell?

What is it ? ADB Shell . is it CMD command on Windows or what ?
muslimbaha said:
What is it ? ADB Shell . is it CMD command on Windows or what ?
Click to expand...
Click to collapse
https://developer.android.com/tools/help/adb.html
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Sorry, but i know what it is now, how do i run it though? im trying to follow the htc desire hd guide to root my phone, which everything is done up until the point i have to test that i have root in debug mode. Not sure how to do this? run abd.exe? it just showed me a cmd window which runs and then dissapears.
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
bitdomo said:
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
What is likely to be the problem if it says SU permission denied?
If you are on stock, that means that you have no root access. If you have cm10 or cm10.1 you have to enable adb root access somewhere in the settings. I am sorry but I can not tell you at the moment where to enable it because I am on stock right now.
Sent from my LG-P990 using xda app-developers app
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Thanks Bro for this information

help i've formatted my card

hi guys was messing with my one and i have wiped all my data and i can't connect phone to pc to copy a rom over..HELP
No stress buddy, just follow instructions from here and your good to go in 10-15mins :good:.
http://forum.xda-developers.com/showthread.php?t=1667929
Use odin to flash to stock then copy custom rom zip to mem card simple
jacklei said:
No stress buddy, just follow instructions from here and your good to go in 10-15mins :good:.
http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
hi dude all i find in mount is cache.data.system.usb-otg
JohnnyBlade said:
Use odin to flash to stock then copy custom rom zip to mem card simple
Click to expand...
Click to collapse
is odin only for samsung
smarty2322 said:
is odin only for samsung
Click to expand...
Click to collapse
Hi mate, I can help. You just need to set up adb properly and transfer the rom over we can do it on TeamViewer?
MacHackz said:
Hi mate, I can help. You just need to set up adb properly and transfer the rom over we can do it on TeamViewer?
Click to expand...
Click to collapse
i've downloaded team viewer
anyone please
smarty2322 said:
anyone please
Click to expand...
Click to collapse
Do you know how to use basic adb commands? How did you flash your recovery?
Sent from my HTC One using xda premium
redbull123 said:
Do you know how to use basic adb commands? How did you flash your recovery?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
i think so i'll have a look
smarty2322 said:
i think so i'll have a look
Click to expand...
Click to collapse
?? Have a look for what?
Sent from my HTC One using xda premium
redbull123 said:
?? Have a look for what?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
i'm not sure what commands i need to use
smarty2322 said:
i'm not sure what commands i need to use
Click to expand...
Click to collapse
You need to use the push command
Put a rom in your adb folder if you know where it is
Hold shift and right click on your adb folder and click open terminal/command window here
Put your phone into recovery
Command: adb devices
If your device appears then;
Command: adb push name_of_your_rom.zip /sdcard/
After a few minutes the rom should be on your sdcard.
If your device doesn't appear with adb devices then there's a problem with your adb files
Sent from my HTC One using xda premium
---------- Post added at 07:38 PM ---------- Previous post was at 07:29 PM ----------
Also, this guide is good for learning about adb...
http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Sent from my HTC One using xda premium
redbull123 said:
You need to use the push command
Put a rom in your adb folder if you know where it is
Hold shift and right click on your adb folder and click open terminal/command window here
Put your phone into recovery
Command: adb devices
If your device appears then;
Command: adb push name_of_your_rom.zip /sdcard/
After a few minutes the rom should be on your sdcard.
If your device doesn't appear with adb devices then there's a problem with your adb files
Sent from my HTC One using xda premium
---------- Post added at 07:38 PM ---------- Previous post was at 07:29 PM ----------
Also, this guide is good for learning about adb...
http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
do i need to be in team win recovery
smarty2322 said:
do i need to be in team win recovery
Click to expand...
Click to collapse
Doesn't matter what recovery you use
Sent from my HTC One using xda premium
i think it's ****ed usb will not connect
smarty2322 said:
i think it's ****ed usb will not connect
Click to expand...
Click to collapse
Reboot your computer and try a different usb port
Try go into your bootloader menu and press fastboot it should say fastboot usb after a few seconds then open a command window from the folder again and command
fastboot devices
Did you find your adb folder?
Sent from my HTC One using xda premium
redbull123 said:
Reboot your computer and try a different usb port
Try go into your bootloader menu and press fastboot it should say fastboot usb after a few seconds then open a command window from the folder again and command
fastboot devices
Did you find your adb folder?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
got fastboot usb working,cant find adb folder
smarty2322 said:
got fastboot usb working,cant find adb folder
Click to expand...
Click to collapse
Did your device serial code show in fastboot devices?
Download these files and Extract them to a folder on your desktop called 'adb' or something simple. This will now be your folder to open the terminal window from.
http://www.androidrevolution.nl/downloader/download.php?file=mini-sdk.rar
Sent from my HTC One using xda premium
redbull123 said:
Did your device serial code show in fastboot devices?
Download these files and Extract them to a folder on your desktop called 'adb' or something simple. This will now be your folder to open the terminal window from.
http://www.androidrevolution.nl/downloader/download.php?file=mini-sdk.rar
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
ok done that

Adding ROMs to completely empty phone.

I stupidly showed my teenage son how to use ROM Manager and CWM on my phone.
He has now completely deleted (and I feel formatted) ALL Data etc on the phone.
So, as I cannot use any software on my MAC to transfer ROMs to the phone CAN Someone please advise how to get a ROM on the phone?
I can still access CWM Recovery. I have Android SDK installed, including Eclipse.
Please remember I am using a MAC, when you helpfully pass on ideas or solutions
Go to adb and fastboot folder, boot into recovery and use the command from terminal:
Code:
adb push name-of-rom.zip /sdcard/
.
Remember to put the rom into adb/fastboot folder
Hey, thank you.
I will try that soon
Hmm, trouble getting this done
I keep getting "command not found" message. Everything is in the folder.
I have done a CD to the folder etc
aussie_boi said:
Hmm, trouble getting this done
I keep getting "command not found" message. Everything is in the folder.
I have done a CD to the folder etc
Click to expand...
Click to collapse
Are you doing it while in recovery?
Try 'adb devices' and see if it sees your device
Type exactly the command you're typing to try push your ROM so we can see if you've made a slight mistake...
Sent from my HTC One using xda premium
redbull123 said:
Are you doing it while in recovery?
Try 'adb devices' and see if it sees your device
Type exactly the command you're typing to try push your ROM so we can see if you've made a slight mistake...
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Okies, I have tried adb devices and it comes back with no device listing. I was in CWM Recovery mode.
This is what I typed - /Users/Greg/Downloads/Android/sdk/platform-tools/adb push AR10.1.zip /sdcard/ for the push, and
I typed this for the adb devices command - /Users/Greg/Downloads/Android/sdk/platform-tools/adb devices
aussie_boi said:
Okies, I have tried adb devices and it comes back with no device listing. I was in CWM Recovery mode.
Click to expand...
Click to collapse
What does your adb folder have in it? I use a Mac and all I have is 2 files:
adb
fastboot
Try going into fastboot it should say FASTBOOT USB then try 'fastboot devices'
Also, try a different usb port...
Sent from my HTC One using xda premium
redbull123 said:
What does your adb folder have in it? I use a Mac and all I have is 2 files:
adb
fastboot
Try going into fastboot it should say FASTBOOT USB then try 'fastboot devices'
Also, try a different usb port...
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
This is the response this time - homelatform-tools Greg$ /Users/Greg/Downloads/Android/sdk/platform-tools/fastboot devices
HT34LW912007 fastboot
aussie_boi said:
This is the response this time - homelatform-tools Greg$ /Users/Greg/Downloads/Android/sdk/platform-tools/fastboot devices
HT34LW912007fastboot
Click to expand...
Click to collapse
Now try recovery again
adb devices
Sent from my HTC One using xda premium
redbull123 said:
Now try recovery again
adb devices
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
It's not playing ball at all - this is the response after "adb devices"
home:Android Greg$ /Users/Greg/Downloads/Android/adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
home:Android Greg$
aussie_boi said:
It's not playing ball at all - this is the response after "adb devices"
home:Android Greg$ /Users/Greg/Downloads/Android/adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
home:Android Greg$
Click to expand...
Click to collapse
Try finding the two files I said earlier in your sdk and make a new folder just with those two files and your ROM.zip and try opening your terminal window from that new folder.
Sent from my HTC One using xda premium
redbull123 said:
Try finding the two files I said earlier in your sdk and make a new folder just with those two files and your ROM.zip and try opening your terminal window from that new folder.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Okies, I have already done that. I copied the "adb and fastboot" files from the sdk and added the "ROM.zip" file there also.
In recovery, I still get no devices listed with "adb devices"
I have opened a terminal window from within the case folder ... etc etc
I'm in the same spot and I don't have acess to a windows computer, tried doing this for almost 3 hours last night
Sent from my HTC VLE_U using xda premium
rizzxx7 said:
I'm in the same spot and I don't have acess to a windows computer, tried doing this for almost 3 hours last night
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
Its much easier on a Mac. Have you downloaded the adb and fastboot files? Once you have those, navigate to their folder using cd in Terminal, add the rom zip and then use
Code:
./adb push rom.zip /data/media/
I've seen this happen on my friend's HTC One a week ago. I was able to fix it by using the ALL IN ONE TOOL that was posted in this forum. I SIDELOADED a ROM, but only AFTER flashing the stock Boot.img and kernel. I dunno if this helps, but it certainly fixed the problem for me.... oh and also, I did this on a Windows 7 lappy and I'm not familiar with Macs.
MacHackz said:
Its much easier on a Mac. Have you downloaded the adb and fastboot files? Once you have those, navigate to their folder using cd in Terminal, add the rom zip and then use
Code:
./adb push rom.zip /data/media/
Click to expand...
Click to collapse
I will try this once again when I get home, I've got a nandroid file from a stock tmobile Rom that I will try to install
Sent from my HTC VLE_U using xda premium
MacHackz said:
Its much easier on a Mac. Have you downloaded the adb and fastboot files? Once you have those, navigate to their folder using cd in Terminal, add the rom zip and then use
Code:
./adb push rom.zip /data/media/
Click to expand...
Click to collapse
When I do this, I still get the error: device not found
This is what I did when in the directory using Terminal within that directory. I was in Fastboot USB for the ADB push
home:Android Greg$ ./adb push ar10.1.zip /data/media/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
And when I do Fastboot Devices and ADB Devices, I get this in Fastboot USB mode
home:Android Greg$ ./fastboot devices
HT34LW912007 fastboot
home:Android Greg$ ./adb devices
List of devices attached
home:Android Greg$
This has really got me puzzled
shinobix37 said:
I've seen this happen on my friend's HTC One a week ago. I was able to fix it by using the ALL IN ONE TOOL that was posted in this forum. I SIDELOADED a ROM, but only AFTER flashing the stock Boot.img and kernel. I dunno if this helps, but it certainly fixed the problem for me.... oh and also, I did this on a Windows 7 lappy and I'm not familiar with Macs.
Click to expand...
Click to collapse
@shinobix37
Can you give me the link for the AllInOne Tools etc and where to download the Stock Kernel etc and how you did the side load.
Seems the SDK ADB is not working for me. Fastboot obviously is. This is all really strange
aussie_boi said:
@shinobix37
Can you give me the link for the AllInOne Tools etc and where to download the Stock Kernel etc and how you did the side load.
Seems the SDK ADB is not working for me. Fastboot obviously is. This is all really strange
Click to expand...
Click to collapse
When you use the command make sure your in cwm not fastboot.
So go into cwm then use command that you said before
Sent from my HTC One using xda premium
Android The Greek said:
When you use the command make sure your in cwm not fastboot.
So go into cwm then use command that you said before
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Thanks. I had been in CWM earlier, and the same as just now, when I try ./adb devices ... while in CWM, terminal returns no listing of devices.
It seems to me that ADB does work, as it identifies the "daemon is out of date" and restarts it successfully.
It is just that ADB does not recognise the HTC One, whilst "Fastboot devices" does, while not in fast boot usb.
I am still lost. CWM works. ADB cannot connect ...
Help

Categories

Resources