Soft Bricked One s - HTC One S

Right so soft bricked one s last night.
Basiclly my phone is unlocked in hboot and it was rooted and i have Clockwork mod on it.
Now i am not great with adb by any means so i will prob need someone just to help me abit with it.
Just have afew noob ish questions as this is my first htc phone and things are abit different compared to s what i was use to with samsung.
Q1. I downloaded the EU 1.53 ruu rom off the thread on here with all the roms. Its a .exe file but how do i go to flash that to the sdcard through adb. Do i have to convert it to .zip or whats the procedure.
Q2. I have android sdk on the labtop under c:\ . But when i open up the cmd it comes up with C:\Documents and Settings\user> and when i type in where the adb is located C:\Android\android-sdk\platform-tools it says C:\Android\android-sdk\platform-tools is not recoginzed as an internal or external command, operable program or batch file.
So if anyone would be kind enough to help me out would i would be greatful..

Check out my How To push adv files thread in the Development section. It's. Step by step.
Sent from my HTC VLE_U using xda premium

I've read it few times i was trying to use it, thats when i encountered the problem with adb

What are you typing in to change directories?
It should be like cd c:\AndroidSDK\tools
Sent from my HTC VLE_U using xda premium

i just typed c:\android\android-sdk\platform-tools cause thats where the adb is located.
Do i have to type "cd" as well??

Check your pm's. I'm gonna reply there.

brwetz said:
Check your pm's. I'm gonna reply there.
Click to expand...
Click to collapse
cheers brwetz

Related

[Q] adb is not recognized as......

I rooted my hero on 2.1 before on a different computer a while back so im fairly familiar with this process. But i when i type in the file path for the C:\android-sdk-windows\tools and hit enter then type adb devices i get an error message that says
'adb' is not recognized as an internal or external command,
operable program or batch file.
I tried all the troubleshooting i can think of like
making sure its the right path to the tools final
making sure debugging is on
deleting the drivers
reinstalling htc sync
I dont know is this info is relevant but ill share it any way.
Im running windows xp
its an old work pc so idk if i have Admin rights(How do i check??)
If any of you can help thatd be much appreciated
Did u add tools directory to the PATH?
Sent from my HERO200 using XDA App
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
if its the updated sdk you will have to update it. close and restart,and then reopen your run command and type in \platform\tools\. they changed the file path when they updated the new tools.
ricola7 said:
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thank you very much i searched for adb.exe and found it in the platforms-tools folder thank you.
If any of you can help thatd be much appreciated
Click to expand...
Click to collapse
I'm too tired to read the whole thread right now, so someone has probably answered this, but here goes..
Previous versions of the Android SDK, adb was located in the tools folder, ie: if you installed the android SDK at C:\android-sdk-win, it would be c:\android-sdk-win\tools
The new release of the android sdk, adb has been moved, and is now located in the \platform-tools folder , ie; c:\android-sdk-win\platform-tools
much like the forums, file search is your friend sometimes
take care

[Q] Rooting Inspire 4G on Macbook Pro

I have read like 15 different ways to root, S-off, and install custom ROM's on my phone, but i have a few questions.
To install a custom ROM, do i need to root my phone first?
I have read so many Root directions and i dont know which one to use, and idk how to make a goldcard on my mac, does anyone know a specific one that they have experience with.
I cannot find the CID number of my SD card and that is ruining my whole root experience.
please, do not treat me as rudely as people have before because of "stupid questions"..and dont refer me to videos because ive watched them all and have had no success.
Yes, you do need to root your phone before you can install a custom ROM, as for the other questions I can't answer them since I don't have any experience with the Inspire 4G. If you only have access to a mac and the tools are windows-oriented you could try running a windows OS in a VM (virtual machine)
oh, and another question, do you have to have a goldcard to to the root?
I have a Mac and I followed the instructions here to make my gold card
http://www.mikesouthby.co.uk/2010/08/htc-desire-creating-goldcard-using-mac-or-linux/
i tried to use this already before, but i cant find the CID number on my SD card and i downloaded astro file manager and everything. i have a samsung 8GB SD card.
noccaedm said:
i tried to use this already before, but i cant find the CID number on my SD card and i downloaded astro file manager and everything. i have a samsung 8GB SD card.
Click to expand...
Click to collapse
with the sd card in the phone and the phone plugged into your mac, in disk drive mode do this at a command prompt
adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
from your android sdk tools directory that should give CID
i appreciate all the help! im trying it now!
as i am new to this, how can i access adb? i cant find it anywhere in any folder i have...fml, i sound so stupid prob but hey, we're all beginners sometimes.
noccaedm said:
as i am new to this, how can i access adb? i cant find it anywhere in any folder i have...fml, i sound so stupid prob but hey, we're all beginners sometimes.
Click to expand...
Click to collapse
you have to have installed the android SDK on your computer.
http://developer.android.com/sdk/index.html
gunnyman said:
you have to have installed the android SDK on your computer.
http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
it's also part of the hack kit look in the tools/osx directory
i just installed the SDK and all i have in the ace hack kit V9 is adb and i cant do anything on it. it just runs and i cant enter anything into it. is there an app that i have to get on my phone?
noccaedm said:
i just installed the SDK and all i have in the ace hack kit V9 is adb and i cant do anything on it. it just runs and i cant enter anything into it
Click to expand...
Click to collapse
ok open a command prompt in the directory the hack kit is located
then type adb then the command
how do you open a command prompt in the directory. do i just go t the terminal application and type in adb shell cat /sys/class/mmc2/mmc2:*/cid
because i tried that in the terminal emulator on my phone and it says access denied
Open terminal on the Mac. Drag the advanced program to that window. Then type the rest of the command
Sent from my Desire HD using Tapatalk
what is the advanced program? im so sorry im asking stupid questions.
and another thing, should i place the hack kit on my phone's sd card?
Adb. Program. Stupid autocorrect. Btw have you read the hack kit readme?
Sent from my Desire HD using Tapatalk
noccaedm said:
and another thing, should i place the hack kit on my phone's sd card?
Click to expand...
Click to collapse
Create a folder on your desktop called "Inspire". Extract all of the files within the hack kit to this folder on your computer, not your SD card. Drag this folder to the terminal, hit Return. Now follow the instructions in the Linux/OSX readme (it will be one of the files you extracted)
i read the readme, and i guess things didnt make sense to me. im backing up my sd card again just for sure, then im going format it and try to get the CID number. i tested dragging the adb program into the terminal window and everything worked, but i didnt have my phone plugged it.
i dragged the adb command into terminal and typed in the command: adb shell cat /sys/class/mmc2/mmc2:*/cid
and i got the response: adb, no such file or directory. i just cant make the goldcard. wtf, i cant get the CID number, i mean really. i downloaded ace hack kit v9, and the sdk thing.
also, i just got the platform-tools folder for the sdk, so i will try the things in the folder.

[Q] Fastboot not recognized as a command? Did I miss something?

I need to revert back to S-ON for a replacement phone. When I get to fastboot and type "fastboot oem writesecureflag 3", my command prompt tells me that fastboot is not a recognized command. ADB works fine when the phone is on and I used it to get into fastboot. Have I missed a vital step?
Also, YES, I searched quite a bit but couldn't find what I was looking for. Any and all help would be appreciated.
Do you have the actual Fastboot executable in your path? It should be in the same place as the ADB executable within your SDK installation. I guess it could actually be anywhere, but that seems like the most logical place.
Thats an excellent question. I'll have to check when I get home.
Yikes. I feel like that's as close to "is it plugged in?" as I ever want to get.
Also, after running the Tmous RUU, the "Revolutionary" went away from the fastboot screen. Wonder if it now looks like those rare phones that were sent out S-OFF right out of the box...
Sent from my pizza slice using XDA Premium App
Okay, yeah. It was in the tools folder instead of the platform-tools folder where I have adb.exe.
Can I simply move fastboot.exe over to platfrom-tools or is there something else it will need to run?
Nah, you can just move it over. Better yet though, you might want to just add the "tools" folder to your path. I do this on Linux, and my ADB executable and Fastboot executable are both in the "platform-tools" folder. I think I might have just moved Fastboot from its original place in "tools" though. Either way, you can just move it over if you wish.
Sorry for the late reply but thank you very much.
I ended up copying the ones I use most often to the root directory on C:\
This way I don't have to poke around to find what I need. Poking around is strictly reserved for time with the wife...well as of today it's girlfriend when I find one...

Where is fastboot???

It's no longer in /platform-tools after a clean install of latest SDK???
Has this tool been removed? How can I fix it? I need to use it!
http://koushikdutta.blurryfox.com/G1/
derekwilkinson said:
http://koushikdutta.blurryfox.com/G1/
Click to expand...
Click to collapse
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?
matt2053 said:
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?
Click to expand...
Click to collapse
Did u reboot after u installed it. That might help.
Sent from my Google Nexus S 4G using xda premium
It is missing by mistake:
http://tools.android.com/knownissues#tools_r14
Now how to get it working.... i am running Ubuntu 11.10
why don't you tell us what you have tried?
'cd' to the directory where the extracted binary is.
chmod +x fastboot
./fastboot
I don't understand what you have to get working? You simply run it... for example...
Code:
./fastboot devices
Should show your connected device. Do you have the full SDK installed and configured correctly? Does Ubuntu see your device as a disk drive if you even just simply plug it in?
Are you expecting a fastboot GUI? What are you expecting? Have you used fastboot before? etc?
More info here:
http://wiki.cyanogenmod.com/wiki/Fastboot
Do you have the phone in USB debugging?
Sent from my Google Nexus S 4G using xda premium
I had just rooted my Nexus S and I also had issues with Fastboot!
This missing file was really trick to me!
Googled for it and found fastboot.exe somewhere else.
In time for who just didn't get it:
Was an Google prank on droid newbies like me...SDK tool Rev14 and 15 doesn't came with fastboot...
matt2053 said:
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?
Click to expand...
Click to collapse
huh? you just cd to the directory and run the commands in command prompt/terminal/w.e. Have you used fastboot before?
derekwilkinson said:
huh? you just cd to the directory and run the commands in command prompt/terminal/w.e. Have you used fastboot before?
Click to expand...
Click to collapse
FASTBOOT.EXE IS NOT INCLUDED WITH NEWER ANDROID SDK.
This question is not about how to use fastboot. It's about why fastboot.exe is missing. Does everyone understand now?
Does anyone know why that is? Even the newest sdk I just downloaded does not include it.
Fastboot.exe is missing from the tools folder. It will be added later in tools 16. In the meantime it can be found in the tools 13 windows archive.
Keep the latest sdk installed and just download fast boot from Google search. That way your still using latest AND have fast boot. All fast boot is is a single exe file.
Sent from my Nexus S using xda premium

Having trouble downgrading

I'm finally getting around to rooting my phone and running Cyanogenmod, but I've hit a little snag. Following the guide on the Cyanogenmod wiki, when I open up the command prompt and try to push the files (starting with fre3vo), it tells me either the file doesn't exist (which is simply not true), or the directory doesn't exist. Looking around my phone's files, I can't find the /data/local/tmp folder. Upon doing some internet research, apparently that directory isn't accessible unless the phone is rooted.
So... how am I supposed to root my phone using a method that requires copying files to a directory the access to which is prohibited without the phone being rooted? Am I just being a noob? Does it have something to do with HTC changing things around to make this impossible in one of their updates? Please help.
You placed the exploit files in the adb folder?
/data is where user data goes. It doesn't require root to push a file there.
Yeah, they're all in the /platform-tools folder. Looking at it with Astro on my phone, the /data folder is there but it doesn't contain anything (let alone the /local/tmp directory that is mentioned in the guide). I tried simply pushing the files to /data but it is still telling me there is no such directory.
Link me to the guide.
I'm not allowed to post links yet apparently, but if you go to the cyanogenmod website, look for the htc glacier and click on "wiki" it will take you to the guide. I'm on the "downgrading to 1.17.531.2" part.
Man I swear the guides cyanogenmod writes up are the hardest. Good luck!
Sent from my T-Mobile myTouch 4G using xda app-developers app
Are you copy/pasting the commands? Typing them is asking for trouble.
I tried that but to no avail.
Reboot your phone and machine and try again. It could be an adb issue.
No luck
Have you tried a different guide? Maybe that one left out a crucial piece of info. I used this one.
http://forum.xda-developers.com/showthread.php?t=1178912
Haha, wow. I forgot to do cd and switch to the platform-tools directory from which I am supposed to be running the commands.
/facepalm
Thanks for the help. While that wasn't mentioned in the guide I was using, it probably shouldn't have to be.
Phew!

Categories

Resources