Learning to Root/Flash - Android Software/Hacking General [Developers Only]

Hello,
I am trying to root my G2 phone and am trying to setup the ADB part of it.
I am trying to setup ADB using this guide
http://forum.xda-developers.com/showthread.php?t=865685
INSTALLING ADB ON WINDOWS - METHOD B, THE "QUICK" WAY, NO SDK
However, the link for the file appears to be gone for step two. Curious as to where I could find it.

obas said:
Hello,
I am trying to root my G2 phone and am trying to setup the ADB part of it.
I am trying to setup ADB using this guide
http://forum.xda-developers.com/showthread.php?t=865685
INSTALLING ADB ON WINDOWS - METHOD B, THE "QUICK" WAY, NO SDK
However, the link for the file appears to be gone for step two. Curious as to where I could find it.
Click to expand...
Click to collapse
The links worked for me. I don't know why they don't for you.

Did you try this link below...
Step 2
Download this zip archive and unzip it somewhere memorable on your PC (e.g. into a folder on your desktop) - http://dl.google.com/android/reposit...01-windows.zip
It gives a 404 error. Where else can I find that download file?

obas said:
Did you try this link below...
Step 2
Download this zip archive and unzip it somewhere memorable on your PC (e.g. into a folder on your desktop) - http://dl.google.com/android/reposit...01-windows.zip
It gives a 404 error. Where else can I find that download file?
Click to expand...
Click to collapse
Yes, I did.

Related

Cannot Flash New ROM (.rar)

Hi, I just went through all the steps for unlocking and flashing ROM on the Wizard wiki. I got all the way through just fine until it came time to find a wm6 ROM. Every one i download is in .rar format and will not unzip properly, i tried using winRAR and such, but my computer wont run them for installation. What do i do?
agedmonk said:
but my computer wont run them for installation. What do i do?
Click to expand...
Click to collapse
what do you mean? are you using winrar to open the package and flash from inside the compressed archive??? you have to decompress it first. Rightclick; extract to "rom.rar" ; and a new folder should appear on your desktop. only then you can run the utility.
If your problem is the upgrade utility is telling you that you need a new versiion, then you are probably not completely unlocked. try "wizard service tool" to unlock.
could some one just post a step by step process on how to flash new ROM?
Because its just not working.
agedmonk said:
could some one just post a step by step process on how to flash new ROM?
Because its just not working.
Click to expand...
Click to collapse
please read...
http://wiki.xda-developers.com/index.php?pagename=Wizard Windows Mobile 6 for newbies
http://forum.xda-developers.com/showthread.php?t=298613
nevermind
after downloading winRAR the files unziped just fine. I just was not running the right program. I got it to work and am posting this from my wizard right now! thanks guys!

[Q] Sideloading apps - Just a quick question....sort of

Been trying all day to get ADB working with no chance, just my laptop is just too screwed up i guess. Wont go into details too much, but I did everything by the book from three different sources and everytime i tried to check it with cmd under the right tools directory, after hitting adb or adb kill-server or adb devices i always get the error that adb is that excutable in that directory so im at a lost.
But off of that matter, i found a great program called Sideload Wonder Machine, that automatally sideloads app with out the sdk or rooting (which ive already done anyways) and works find.
But my question is, why bother? Becuase i have download apk's to my computer, connect and monuted my g with debbuging on and just transfered the file to download and then opened it with any file opener and it easily installed no problem.
So my question is, does sideloading thru the computer which installs it on the device its self do a little trick or something that makes it better to do it that way, or is just moving the file myself to the download folder on my g tab and installing it through the g tab the same?
Thanks for your time.
P.S. sorry for being a windbag.
o and if your intersted in the sideloading program im talking about heres the link:
forum.androidcentral.com/android-sideload-wonder-machine/40770-ac-sideload-wonder-machine-windows.html
sorry about the old school copy n paste method, dont think i can post links yet.
Same idea i usually just use dropbox or bluetooth transfer ive only used adb a handful of times, if you get rootexplorer its even easier, no mounting /system the hard way
KushyMansbridge said:
Been trying all day to get ADB working with no chance, just my laptop is just too screwed up i guess. Wont go into details too much, but I did everything by the book from three different sources and everytime i tried to check it with cmd under the right tools directory, after hitting adb or adb kill-server or adb devices i always get the error that adb is that excutable in that directory so im at a lost.
But off of that matter, i found a great program called Sideload Wonder Machine, that automatally sideloads app with out the sdk or rooting (which ive already done anyways) and works find.
But my question is, why bother? Becuase i have download apk's to my computer, connect and monuted my g with debbuging on and just transfered the file to download and then opened it with any file opener and it easily installed no problem.
So my question is, does sideloading thru the computer which installs it on the device its self do a little trick or something that makes it better to do it that way, or is just moving the file myself to the download folder on my g tab and installing it through the g tab the same?
Thanks for your time.
P.S. sorry for being a windbag.
o and if your intersted in the sideloading program im talking about heres the link:
forum.androidcentral.com/android-sideload-wonder-machine/40770-ac-sideload-wonder-machine-windows.html
sorry about the old school copy n paste method, dont think i can post links yet.
Click to expand...
Click to collapse
Hi. I don't see a download folder on my gtab. Is that a folder you created, or am I just missing something?
Bob
BobK58 said:
Hi. I don't see a download folder on my gtab. Is that a folder you created, or am I just missing something?
Bob
Click to expand...
Click to collapse
If you don't have it yet, the Download folder will create itself when you download something via the web browser.

Beginner's Guide to Installing the SDK and Getting Started with ADB

It looks like we may have some users that are new to rooting or to Android all together.
I posted these instructions in the perm root thread, but I figured putting them in their own thread would make it easier to find.
This is meant as a basic pre-cursor to following BCNice's perm root instructions.
I've added a link to TrueBlue_Drew's adb/fastboot guide here
If you use the method that I outline below just download his zip and extract the files to your desktop. Then move the fastboot file into your AndroidSDK\platform-tools sub directory. Thanks to Drew for putting together a great guide!
You will need fastboot installed to install BCNice20's recovery.img.
Make sure you have HTC Sync installed on your computer HTCSync
First download the SDK here
Make sure to dowload the installer_r09-windows.exe
Now install the SDK when prompted for the install path paste C:\AndroidSDK over the default path
Once you have installed it open it from the start menu
Select install packages
The main one we are concerned with is "Platform Tools"
Go to the start menu and right click on My Computer in XP Computer in Windows 7.
Select properties, then select advanced/advanced system settings in Windows 7, then environment variables, now go to the lower box (system variables) and select path then edit.
Paste the following as your path C:\AndroidSDK\platform-tools then select o.k.
Make sure you have temp root via Visionary or Z4.
On your phone go to Settings, Applications, Development, and make sure USB Debugging is checked.
Now connect your phone to your computer and leave the connection type as "charge only"
On your computer select Start, then run, type in CMD
Once in the Command Prompt enter
Code:
cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in
Code:
adb
If adb runs you are ready to start!
Type
Code:
adb shell
Then type
Code:
su
Allow Superuser on your phone
You are now in and ready to follow BCNice's directions
Here's some adb stuff that I found from the evo days that has linux, mac, and windows adb and some of the files it needs. I flashed the evo with it so it should work for the shift too. I used an all in one for the epic to root mine in windows. I just extracted the zip and ran adb inside it. I could have included that or instead but there were a lot more files in there pertaining to recovery, root exploits, and images of things I didn't know if they could safely be removed and still work or not. I used the mac version of the file in this package instead of running back and forth from win to mac. I purposely keep the win partition off the internet. Yeah, vmware works but sometimes it doesn't and I didn't want to risk anything when flashing a phone.
As usual, use at your own risk. It worked for me in the past so I don't see any reason why it won't work now. Make note of the adb program naming schemes because they aren't just "adb". I uploaded this because it was very useful to me in the past and I've always failed or got lost when trying to set up sdk per google's instructions. It's very stripped down so don't expect it to be as fully functional as the sdk would be.
If you want to do it the way I did then head over to the epic section and get the all in one root and recovery in the dev section, unzip it, then use the adb.exe inside. Don't use any bat files or scripts in there, you might brick the phone.
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
JigSawMan said:
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
Click to expand...
Click to collapse
Yes, of course, how could I forget that? You definitely need drivers for windows.
Anybody care to link me to a good guide for Linux mint/Ubuntu 64 bit?
I've done it on 32, but I can't find good resources for 64.
I used adbwireless and it worked first shot!
Time to work on some roms...;-)
Sent from my PG06100 using XDA App
So is there like a video review or a picture review of this. I am trying to do the steps, but the process is different from your steps. I have tried this on xp and windows 7
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
koolkid09 said:
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
Click to expand...
Click to collapse
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
BrandoKC said:
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
Click to expand...
Click to collapse
Ok. I deleted everything and I am going to try over.
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
I've updated the original post with some more specific instructions for Windows 7.
I had to reboot my computer before I could move the SDK to the C drive and rename it.
The first time I entered the command prompt adb wouldn't work, but I closed it out and the second time it worked flawlessly.
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
koolkid09 said:
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
Click to expand...
Click to collapse
That will work! Once installed there and updated rename it to AndroidSDK and move it to the root of the C drive. You may need to reboot your computer before it allows you to edit the folder.
alanherrera59 said:
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
UGH! Now my SDK manager is not working. It pops up then goes away and I can keep it up. This is happening on this step "Once you have installed it open it from the start menu". I'm probably going to wait until the morning or somebody makes a video on how to do this because I'm getting frustrated.
Koolkid come to the IRC so we can help you
BrandoKC said:
Koolkid come to the IRC so we can help you
Click to expand...
Click to collapse
I sent you a PM.
BrandoKC said:
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
Click to expand...
Click to collapse
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
alanherrera59 said:
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Once we have a recovery you will definitely be able to wipe/hard reset/factory reset without losing root.
I would imagine at this point you should be able to without losing root also.
Left WinMo when the G1 came out and haven't looked back. Enjoy Android!

[SOLVED] [Q] How in the world do I install the drivers!?

I'm frustrated. I've been trying to install the NS drivers for 2 days now to no avail. I don't know where to browse. I've followed many tuts and none of the worked. Either an error appeared afterwards or I couldn't browse to the driver file because it wasn't found. Can somone kindly do a step by step simple explanation of how to do this for windows 7 64 bit... or atleast provide me with a good link?
Thank you
Nexusshacks.com has the files and a video to show you how to do it. It isn't exactly straight forward.
Harbb said:
Nexusshacks.com has the files and a video to show you how to do it. It isn't exactly straight forward.
Click to expand...
Click to collapse
Already tried that method and it isn't working for me! I keep getting the error... and I'm doing it right.. EXACTLY what the guy is doing in the video.
I used that exact video and files when i did mine, Win7 x64 too (though it was the older, GB rooting video/files with older su.zip). You need to unzip the file first, so copy the usb_driver folder onto your desktop or something, then have disk --> usb_driver --> .inf file.
Could you tell me exactly what error you get?
xda<3 said:
I'm frustrated. I've been trying to install the NS drivers for 2 days now to no avail. I don't know where to browse. I've followed many tuts and none of the worked. Either an error appeared afterwards or I couldn't browse to the driver file because it wasn't found. Can somone kindly do a step by step simple explanation of how to do this for windows 7 64 bit... or atleast provide me with a good link?
Thank you
Click to expand...
Click to collapse
pdanets website junefabrics.com/android
install the free download onto your computer. follow the onscreen directions, and itll install the right drivers for you.
Harbb said:
I used that exact video and files when i did mine, Win7 x64 too (though it was the older, GB rooting video/files with older su.zip). You need to unzip the file first, so copy the usb_driver folder onto your desktop or something, then have disk --> usb_driver --> .inf file.
Could you tell me exactly what error you get?
Click to expand...
Click to collapse
My biggest problem is that when I download and extract the samsung drivers to my desktop it's an .msi file.. Isn't it supposed to be an .exe? Atleast that's what it says on the nexusshacks site.
EDIT: Thanks for the help Harbb but my problem is solved
simms22 said:
pdanets website junefabrics.com/android
install the free download onto your computer. follow the onscreen directions, and itll install the right drivers for you.
Click to expand...
Click to collapse
Thank you this method was so simple and it worked in the click of a button

[Q] stuck

Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Buckii said:
Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Click to expand...
Click to collapse
1) "Stuck" is NOT a question. Please use descriptive thread titles
2) You haven't unzipped the image-hammerheadxxx.zip that contains the images :/
but I have I followed the instructions to a T and put all file in the folder under platform tools
Buckii said:
but I have I followed the instructions to a T and put all file in the folder under platform tools
Click to expand...
Click to collapse
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
picture
rootSU said:
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
Click to expand...
Click to collapse
This is now what I have done you were right but still missing boot.img
Buckii said:
This is now what I have done you were right but still missing boot.img
Click to expand...
Click to collapse
Just fastboot flash it then.
Link to guides in my signature.
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Desca said:
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Click to expand...
Click to collapse
Mine shows same as you, but just reboot and it is working

Categories

Resources