Trying to root for first time, bit confused by instructions... - G2 and Desire Z Q&A, Help & Troubleshooting

I have the Tmobile G2 and its stock on 2.3.4
Im reading the G2 root wiki and it comes to a part that says
"Unzip the zip files and copy the contents to the same folder as adb (the /platform-tools folder within the Android SDK folder). "
When I installed the adb files, it went to c/program files/android sdk/ and within that folder, theres a separate platform folder and tools folder. I dont have a platform-tools folder by itself. Do I just place the unzipped files in the /android sdk folder, or do I place them in the tools folder or platform folder?

just make sure adb is in the same folder as the files you need.
make sure when you are in cmd to direct adb to the proper folder
or you can change the path under the advanced tab in environmental variables

demkantor said:
just make sure adb is in the same folder as the files you need.
make sure when you are in cmd to direct adb to the proper folder
or you can change the path under the advanced tab in environmental variables
Click to expand...
Click to collapse
Ok turns out when I install the android sdk, it doesnt install platform-tools. I had to run one of the exe files and it let me download it

redspeed said:
Ok turns out when I install the android sdk, it doesnt install platform-tools. I had to run one of the exe files and it let me download it
Click to expand...
Click to collapse
For a more detailed and beginner friendly guide to downgrade and root check here

Related

i need help

i was tolf to move this here this is a question ,,,idk how to do step 5..it has to do with movin file to sd card im guessing..idk help me?
help me root my phone i dont understand this im really f'd up this is like dsa adveture
ok here is the problklmemo
"Step 5: Plug your phone into the computer via USB, Make sure that the connection type in the Notification Pull-Down Bar is "Charge Only", not "Disk Drive" or else this won't work.
If your computer asks you to restart after the new drivers were installed, do that now
Once ready, type these commands in cmd prompt from your adb tools directory.
Code:
adb push unrevoked-forever.zip /sdcard/
adb push flash_image /data/local/
adb push rageagainstthecage-arm5.bin /data/local/tmp/
adb push mtd-eng.img /sdcard/
adb push PC36IMG.zip /sdcard/"
oksssssss now..one person say i right click on tools and open cmd,,,so i dids that
then i type it in and its doesnt work..it says adb or abd waterver it is is not a command and its not reconixed...help me please!!!thanjs
i have windows 7 64 bit
Did you do ALL of this first?
Step 1: Download the Android SDK here
Step 2: Extract the Android SDK zip. Move the contents of the extracted zip to C:\
Your Android tools folder path should now be C:\android-sdk-windows\tools
Step 3: Download HTC Sync 2.0.40 here
Run the installer. Move on once installed. If reboot is required, do so and then move on.
Download my evo-root.zip.
It contains a few files necessary to root the EVO.
Unzip the contents of the zip to your android sdk tools folder.
Download the unrevoked-forever.zip
Place this zip in your tools folder as well, as a zip, not extracted.
Download this PC36IMG.zip (This is the same as running an RUU, so it will delete all of your user data when we use it later in the guide, so backup everything you want to save on your phone first)
Put this zip in your sdk tools folder as well, as a zip, not extracted.
After unzipping the contents of evo-root.zip to your android sdk tools folder and placing the PC36IMG.zip and unrevoked-forever.zip in the folder, move on.
Click to expand...
Click to collapse
You need to change the directory to your tools fold so that the computer can execute advanced commands. Look for a thread about setting up adb. In the thread it will tell you the steps to do so. I would post this for you however I do not have access to a computer and I am use to using advanced on a Mac.
Sent from my PC36100
nebenezer said:
Did you do ALL of this first?
Click to expand...
Click to collapse
yes i did i had no problems untill step 5
Read my post in the thread you created in development.

ADB.exe

Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
hav0c said:
Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
Click to expand...
Click to collapse
What are your folders once extracted? It will be in one of them!
do you mean it was there an now its gone??
also have you hooked up phone(charge only) to usb, opened command prompt and type adb devices to see if adb starts? cause it may just be placed in different folder in sdk. think it does in new sdk but can't remember which folder doh .
This is the content of my tools folder:
Code:
cat ls.txt
android
ant
apkbuilder
ddms
dmtracedump
draw9patch
emulator
etc1tool
hierarchyviewer
hprof-conv
layoutopt
lib
ls.txt
mksdcard
monkeyrunner
NOTICE.txt
proguard
source.properties
sqlite3
traceview
zipalign
(Same content in my SDK folder in Windows. No ADB.exe..)
have you try to run adb in cmd.exe ?
have a look in platform-tools folder it were im finding adb but im on linux mint right now but should be same
I don't have that folder.
If I download the SDK (zip) from http://developer.android.com/sdk/index.html adb.exe is not in it..
Is that the same for you guys?
hav0c said:
I don't have that folder.
If I download the SDK (zip) from http://developer.android.com/sdk/index.html adb.exe is not in it..
Is that the same for you guys?
Click to expand...
Click to collapse
no thats were i downloaded from, both windows and linux hold on il go into windows an have a look but have you try running adb you can only start it in command prompt (cmd.exe) if your using windows xp. just right click in any windows from menu choose command prompt,plug phone to usb,make sure you have usb debugging on in phone(setting>application >development) and then type adb devices and see itf adb starts for you.
try doing this.
yeah its in platform-tools folder and you can find this in the main folder of the android-sdk-windows folder
check it out it there
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
dr.m0x said:
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
Click to expand...
Click to collapse
I do believe your correct.
Sent from my Desire HD using XDA App
dr.m0x said:
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
Click to expand...
Click to collapse
lol prob why can't find it
It's not there (even after update all)
Thanks anyway..
Looks like it's all change since the version I downloaded when I got my Hero last year.
Taken from the SDK Readme in the latest SDK download, confirming what has been said above:
Welcome to the Android SDK!
The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.
In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
This requires an Internet connection, so if you plan to use the SDK
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Setup.exe".
From the command-line you can also directly trigger an update by
executing:
tools\android.bat update sdk
For more information, please consult the Android web site at
http://developer.android.com
Click to expand...
Click to collapse
hav0c said:
Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
Click to expand...
Click to collapse
there is a adb_blabla.txt file with tells you how you can find adb.exe
aivilon said:
there is a adb_blabla.txt file with tells you how you can find adb.exe
Click to expand...
Click to collapse
I reckon he's probably worked that out in the last nine months
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
Is someone going to just solve the mystery?
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
paulckruger said:
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
Click to expand...
Click to collapse
You have to install platform tools from "sdk manager.exe".....adb will be under the platform-tools folder after that
Sent from my HTC Inspire 4G using Tapatalk
paulckruger said:
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
Click to expand...
Click to collapse
Don't search for it. Go to the directory and look for it. Windows search is a joke
zelendel said:
Don't search for it. Go to the directory and look for it. Windows search is a joke
Click to expand...
Click to collapse
I have done that as well and find to trace of that file? I use a third party search which is better than windows search...does not exist c:/android/***** which is the install directory for the SDK.
Again...if it is not there where do I get it?
paulckruger said:
I have done that as well and find to trace of that file? I use a third party search which is better than windows search...does not exist c:/android/***** which is the install directory for the SDK.
Again...if it is not there where do I get it?
Click to expand...
Click to collapse
As already stated, it is not installed with the SDK by default. In the tools folder there's a text file called "adb_has_moved.txt" which tells you that you need to launch the SDK and install "Android SDK Platform-tools" to get it. Like chrisz5z said.

[Guide] Get Swype back. For a Noob. By a Noob.

No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Download original image file Here
4. Extract the image file using winrar, and put the extracted file onto your desktop.
5. Go into the extracted image file you extracted in step 4, and navigate to
Desktop\ota_odex_V1.1\system\app and find swype.apk.
6. Take the swype.apk, copy it, and paste it into your mini-adb folder you extracted in step 2. Put it here: Desktop\EZ-MiniADB\MiniADB. The folder should also have RunMe.bat and adb.exe, and also the newly pasted swype.apk
7. Go back into the extracted image file you extracted in step 4, and navigate to Desktop\ota_odex_V1.1\system\lib and find libSwypeCore.so
8. Copy and paste that libSwypeCore.so into the same folder you pasted the Swype.apk
9. Go download HTC sync and install it.
10. Plug your phone into the laptop and make sure debugging mode is on.
9. Now go to your mini-adb folder on your desktop and double click RunMe.bat
10. When the black command prompt window pops up, type the following:
adb remount [PRESS ENTER]
adb push libSwypeCore.so /system/lib/ [PRESS ENTER]
adb push swype.apk /system/app/ [PRESS ENTER]
11. Unplug your phone, and you are done! You can set the option of using swype in your settings!
+1 Thanks if you got Swype Working
ADB KNOWLEDGE
Now that you used ADB to push the files, you can also use ADB to push other things to other places. Just make sure whatever you want to push is in the same folder as your RunMe.Bat....
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
WarBird87 said:
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
Click to expand...
Click to collapse
Quite frankly I never came across with a guide with your method. If you think your way is better, go make a guide for it. All the guides I came across didn't work for me except for this one, so that is why I made a guide.
I also found this .apk called Swype Restore in the Cyanogen forums.
http://forum.cyanogenmod.com/topic/...over-your-swype-after-installing-cyanogenmod/
Does the tutorial mentioned in OP require me to have this Cyanogen mod installed ? .. I just got a Desire Z about a week or two ago and I'm just running the default stuff and would like to just install Swype into that directly if possible ..
Or just sign up for the beta and install it...
Mnemoch said:
Or just sign up for the beta and install it...
Click to expand...
Click to collapse
If you take the effort to do it this way, you can always reinstall swype in like 3 seconds, beceause the apk and the lib file is already in ur mini adb folder.

[Q] File path??

I am attempting to root my phone and i have downloaded SDK 20.0.3 but i am lost as to what path i need to download the needed files. Instructions say /platform-tools but i dont have a platform-tools folder. I have a single folder platform and another as tools. Where do i place the files... help
http://forum.xda-developers.com/showthread.php?t=865685
haikkk said:
http://forum.xda-developers.com/showthread.php?t=865685
Click to expand...
Click to collapse
Thanks, that helped out alot

[Q] how to root htc one?

What is the easiest method to root HTC one that is on 4.2.2?
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
Here's what you're looking for...it's your only option if you don't want to mail it anywhere:
http://forum.xda-developers.com/showthread.php?t=2473644
Sent from my HTC6500LVW using XDA Premium 4 mobile app
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
I finally got my htc one rooted and flashed plenty of roms so far I had a lot of stupid issues with rooting but guys on here were very helpful even tho I had to ask questions over and over again to troubleshoot problems. Easiest way was to dl rumrunner and get s-off and bootlader loaded. Them just flash a recovery. My buggiest prob was getting all files on my comp into a separate folder and opening a cmd from that folder. Also remember to always run stuff on ur comp as an administrator!
how did you flash recovery? I am having such a hard time flashing recovery!
cis314 said:
how did you flash recovery? I am having such a hard time flashing recovery!
Click to expand...
Click to collapse
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
andybones said:
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
Click to expand...
Click to collapse
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
exzacklyright said:
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
Click to expand...
Click to collapse
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
andybones said:
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
Click to expand...
Click to collapse
Adding the path to the adb.exe (and fastboot.exe) directory, to the environment variables, allows you to run ADB and Fastboot from any directory.
In Windows, right+click "Computer", select "Properties", click on "Advanced System Settings". On the "Advanced" tab select "Environment Variables" . In the bottom window find the "Path" string and add the path to ADB directory to the end.
The Paths in the string are separated by a semi-colon, so for example, I've added the path to my platform-tools directory like such:
;c:\android-sdk\platform-tools
This can also be done in Linux and Mac OS X, environment variables are stored in a hidden text file in the home folder. You can also adde it by typing the the PATH command in a terminal. Just Google it. Only takes a minute and saves time by not having to "CD" to your ADB directory every time.
EDIT: This Tut. has nice screen shots
http://forum.xda-developers.com/showthread.php?t=757233

Categories

Resources