yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] ezterry:
* The processor has a small quallcom boot rom that is executed when you press power from powered off. Or attatch a power source to the ext-usb port.

* This loads and boots on the arm9 the OEMSBL (part of the radio firmware)that can charge the battery while the rest of the phone is off

* This then loads the rest of the radio on the arm9 processor and the SPL on the arm11 processor when you press power

* The SPL then loads the boot/recovery image into ram and starts linux.. or other fastboot/ruu/hboot tasks.

The radio's partition table usually only cares about the location of the radio sub-partitions, and the SPL bootloader.. the SPL also knows where boot/recovery are located (and the otherlocations if cMTD is not in use)

The radio keeps the partition table in one of its sub partitions.. the SPL just has it in a const memory structure in its heap.

This means in your fastboot boot example: the radiois loaded, and the SPL just uses the data set via USB rather than reading the kernel from boot or recovery...
[G1 Q&A, Help & Troubleshooting] doenx:
I'm having this problem as well. Any help?
[G1 Q&A, Help & Troubleshooting] JtotheC:
Sure you're not confusing fastboot with adb?
[G1 Q&A, Help & Troubleshooting] Pantherx12:
ADB tells me permission is denied, how do I go about giving it permission?

Seems none of these guides like me too much, always a program that doesn't work :D

*edit*

Wrong forum, can't find delete option.
[G1 Q&A, Help & Troubleshooting] ldrifta:
lol did you try enableing usb debugging on your device?
[G1 Q&A, Help & Troubleshooting] Pantherx12:
Yeah, and left it in charge mode which I think is the right procedure.

My computer seems a bit fussy with Android related stuff.
[G1 Q&A, Help & Troubleshooting] npierce1:
This is an excellent thread, it got me up and running with ADB. The step I forgot was to set the environment variables...I guess I'm definitely a n00b :) thanks for this guide!
[G1 Q&A, Help & Troubleshooting] pedrobl:
Thanks, you saved my nexus

Just a quick note to thank you for the stock boot.img you provide that saved me after installing the wrong "superboot" img. All I had to do was reboot into fasboot, and flash the boot.img you provide... the phone booted normally.

Thanks again,

Pedro.
[G1 Q&A, Help & Troubleshooting] rajiga:
Very useful info for the newbies.
[G1 Q&A, Help & Troubleshooting] HanSoo417:
Thanks this is very helpful.

Is anyone else having a problem accessing the android sdk file. The link seems to be dead.
[G1 Q&A, Help & Troubleshooting] email.filtering:
You simply need fastboot & adb, so why downloading a "complete" sdk with hundreds of MiB?

Get the damned four files here:
[G1 Q&A, Help & Troubleshooting] lammy29:
Very helpful this is ae getting confused
[G1 Q&A, Help & Troubleshooting] moneybanks14:
im pretty new to this and trying to root my htc desire z so i can run ICS.

followed the wiki and all good so far until i get to this part when in adb shell: /data/local/tmp/psneuter

after pressing enter it says permission denied and syntax error, supposedly im supposed to drop out of shell but this doesnt happen. any help?

thanks.
[G1 Q&A, Help & Troubleshooting] demkantor:
Yes, first post in the g2/dz forum

Second copy everything from cmd and post it in the q&a thread (use pastebin)
[G1 Q&A, Help & Troubleshooting] sunandoghosh:
Hi - is there a new updated version available as a step by step guide. The original post is from 2009. Pls share comprehensive single document post for procedure now. thanks
[G1 Q&A, Help & Troubleshooting] demkantor:
Same guide should work just fine if you are having troubles with a part of it ask but nothing much has changed in setting up
[G1 Q&A, Help & Troubleshooting] Balthazar997:
Thanks for information
[G1 Q&A, Help & Troubleshooting] BladeoftheImmortal:
I can never get the adb shell to work on my PC. I have a Lenovo Y 410.

Every time I open it, the list of commands opens, then suddenly shuts itself off. Can anyone help me fix that?
[G1 Q&A, Help & Troubleshooting] demkantor:
Just open CMD

Then type

adb devices

If you don't see yours you will either need to cd to the directory adb is in or change the path in environmental variables

If on win 7 or newer you can also hold shift and right click into the folder the adb binary is located and choose open command prompt here
[G1 Q&A, Help & Troubleshooting] as_atomic:
need help fastboot gives this error message

<waiting on any device>

and thats all i get from any command
[G1 Q&A, Help & Troubleshooting] PJK2011:
That means your device is not detected. Have you turned on USB debugging in your phone settings?
[G1 Q&A, Help & Troubleshooting] AndDiSa:
USB debugging is not related to fastboot. Nevertheless most likely the correct USB drivers for the device are missing and those drivers in almost all cases contain a bundle of ADB / fastboot drivers so that the device is detected when connected either by ADB or fastboot.
[G1 Q&A, Help & Troubleshooting] Daneshm90:
Fastboot

Hey i was learning more about Fastboot when i came across this http://www.gotontheinter.net/content/fastboot-cheat-sheet

I saw that a partition it listed was cache n it said its used by tmobile for ota updates. I am in canada n am on fido so im wondering for those who dont do ota updates, can we somehow utilize this space ?

Thanks
[G1 Q&A, Help & Troubleshooting] nephron:
First of all thanks for all the comments and advice. Im gonna put up some commands for ADB and some more info along the way. What i found is that for people that dont use the command prompt a lot its easier to have a user interface. Thats why i included the ADB File Explorer which removes the need for any commands in the cmd.
[G1 Q&A, Help & Troubleshooting] Mikey:
Or it depends on some other program that needs it ;)
[G1 Q&A, Help & Troubleshooting] heldc:
Possibly that too. But replacing calendar.apk&calendarprovider.apk while the phone was in recovery got me a working calendar and the widget style I want (tho the widget doesn't update, but that's a known issue). So, whatever was causing the problem, replacing while in recovery (after having cleared calendar data before the replace) took care of it.
[G1 Q&A, Help & Troubleshooting] NeoBlade:
I could help assist with ADB as well (shall just pull it from my guide) as well as attach some BAT files to make things a lot easier for those who have a working ADB.

As for someone who asked for a Nandroid guide, the one provided is pretty easy already as it gives you a user interface so you just press a button and off it goes. Alternatively just use Cyanogen's latest recovery image (check my sig) and flash that as you can do a nandroid restore straight from your mobile phone ^_^
[G1 Q&A, Help & Troubleshooting] nephron:
BAT files would be nice, but i included the ADB File Explorer which has a UI so its much easier than using any type of cmd. As for a nandroid guide, im still working on it. Its just that i have never used a nandroid backup and still learning myself.
[G1 Q&A, Help & Troubleshooting] nephron:
Added Nandroid Backup and Restore Guide! :D
[G1 Q&A, Help & Troubleshooting] NeoBlade:
Nandroid is really easy to use and the guide up atm I feel is sufficient enough. If you want though I can write a guide no problems for it plus screenshots. Just throw me a PM ^_^

BAT files make life a hell of a lot easier though that's for sure for many things.
[G1 Q&A, Help & Troubleshooting] nephron:
i made the nandroid backup guide small becuase most people that are new to this whole developing stuff dont really know how to use a cmd or are too scared to use one. I used the cm recovery method because it is short, easy, and effective. I can post screenshots as well, but as of right now i find them un necessery. Thanks for the help though :D
[G1 Q&A, Help & Troubleshooting] NeoBlade:
It would be useful though in my opinion to do one using ADB as there might be others who have not flashed Cyanogen's recovery image or want to flash a different version of their backups for comparison use.

Its not difficult and there is even a GUI (graphical user interface) for people to click on for a full Nandroid restore. It even checks that you have the right files ready to flash and if ADB works.

Its your call though as I too have quite a lot of Android newbie friendly guides on my website waiting to be uploaded.
[G1 Q&A, Help & Troubleshooting] nephron:
can you pm the link to the GUI for the nandroid backup and i will add it to my guide? i always knew there was one, but never bothered to check becuase i always use my latest backups....

Ya i bet you have hella guide, thanks for the help btw, im just writing as i learn hahahhahaha :D
[G1 Q&A, Help & Troubleshooting] NeoBlade:
It is pretty mighty but I'm saving it all for once my webhost adds my new domain, then I can get it online asap. You kinda get used of writing guides or making them when you deal with technology so often as they can be a massive timesaver.

I'll PM you with some info, links etc for it all.
[G1 Q&A, Help & Troubleshooting] nephron:
sounds good. Ya i have been writing guides for a while. I wrote about 30 or so for the PSP and stuff so ya.
[G1 Q&A, Help & Troubleshooting] NeoBlade:
Sent you a PM. Yeah loads of good stuff for the PSP. I tend to deal with computer hardware/Windows myself.

Also it might be worthy to give credit in your guides to the people who created the tools that made all of this possible, or the original authors that created the steps that we used to initially learn all of these methods.

While they might not be as clear or as simple for many newbies to follow, they did still give us the original steps to follow and in my opinion, should be given credit where it is due.
[G1 Q&A, Help & Troubleshooting] nephron:
ok thanks. Will add credit where needed :D
[G1 Q&A, Help & Troubleshooting] nephron:
Added another way to nandroid restore and added credits! :D
[G1 Q&A, Help & Troubleshooting] NeoBlade:
Just checked it out, nice one in giving credit to the devs. The steps seem a bit cramped and you didn't add in the Fastboot.exe or the dll files required (I sent you the link so feel free to use it in the FAQ for people to download).

I've edited the steps to make it a bit clearer.
[G1 Q&A, Help & Troubleshooting] IOmega666:
EDIT : Sry, i realize how to install de apps .
[G1 Q&A, Help & Troubleshooting] nephron:
make sure u add adb to the enviromental variables in windows. And thanks neo i will post those steps up right now! :D
[G1 Q&A, Help & Troubleshooting] jay22are:
ADB HELP

how can i push an update.zip to the root of sd card using adb?
[G1 Q&A, Help & Troubleshooting] nephron:
Place the update.zip in ur tools folder then type

Adb push update.zip /sdcard
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Depends how you setup ADB.Place update on desktop and just do:

adb push C:\Users\(username)\Desktop\update.zip sdcard
[G1 Q&A, Help & Troubleshooting] NeoBlade:
That command alrite, would work if you were on Windows7/Vista :P

Easiest way is to put the update.zip anywhere that you can remember (for arguments sake, lets say the C:\). Hold down the SHIFT key, right-click and click on Open Command Window Here.

Then use the command

Adb push update.zip /sdcard

It all does depend though on how you've setup ADB, but all that should work fine.
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Lol forgot about that Neo :P thanks for the reminder, I've had vista since it first came out :)
[G1 Q&A, Help & Troubleshooting] nephron:
thats true, it all depends on your setup. But if you have already cd into your tools folder then just put the update.zip in your tools folder. :D. Again, you can use the ADB file explorer which allows you to look for the file in a GUI and push it to your sdcard
[G1 Q&A, Help & Troubleshooting] NeoBlade:
Using SHIFT to open the command takes away the needs to specify a directory. Many ways to achieve the same thing really ^_^

Also Windows 7 is miles better than Vista... I too used Vista upon beta and final release but Windows 7 does many things right.
[G1 Q&A, Help & Troubleshooting] nephron:
nvm i found it hahahaha :D
[G1 Q&A, Help & Troubleshooting] CHUHwant:
@ Nephron, I don't mean to ask a stupid question, but in the code section of the ADB, you have:

Format your EXT3 Partition (ADB is needed)

Code:

adb remount

adb shell

rm -r /system/sd/*

reboot recovery

then flash the update.

is "reboot recovery" part of the code you type in or are you telling us to reboot into recovery?

Also, do you know if there's a more cohesive guide to ADB for Mac users than the ADB For Dummies guide? Your directions for the windows users are awesome, but in the directions from the mac users link you provided, there are a lot of extra side notes in there that seem to jumble everything up.
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
it's part of the code. When you type "reboot recovery" the phone will automatically reboot itself into recovery
[G1 Q&A, Help & Troubleshooting] CHUHwant:
does it reboot into recovery right when you hit enter?

i ask this because "then flash the update." is right after that. i would assume that that's directed toward the user, but it's in the code box so that's why i ask. sorry, i'm a little new to this, so i just want to make sure i get it right.
[G1 Q&A, Help & Troubleshooting] Mikey:
Yes

When it automatically reboots your phone into recovery just Alt+S ;) *flashes the update*
[G1 Q&A, Help & Troubleshooting] CHUHwant:
Thanks so much!
[G1 Q&A, Help & Troubleshooting] tazz9690:
wdfcoinstaller error

i get this when i plugged in my g1. it says windows does not support it or it is a corrupt file and to try to reinstall it. I did and I get the same error. any help?
[G1 Q&A, Help & Troubleshooting] nephron:
what are your talking about? the drivers? Adb Explorer? please post more info in your post :D
[G1 Q&A, Help & Troubleshooting] wddglr:
Can you please add my how-to on installing the SDK + ADB + Fastboot on Ubuntu Linux to your original post? It can save stickies and save failed search attempts.
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
/agree with wddglr. Nephron please add it. Would be helpful to all the linux users :)
[G1 Q&A, Help & Troubleshooting] nephron:
ok im adding it right now :D
[G1 Q&A, Help & Troubleshooting] wddglr:
a new SDK has been released. update the OP?
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Yea I'm not completely sure how to upgrade to android_sdk_1.5r3
[G1 Q&A, Help & Troubleshooting] skepsis:
Amazing

Once again nephron, you fail to let me down amazing post man..wish they were all this nice.
[G1 Q&A, Help & Troubleshooting] nephron:
thanks! At the moment i do not have the time to update my guides. I have some tests that i have to take and i need to study for them. At this time, just use the r2 sdk for ADB because thats really all you need anyways.

Thanks! :D
[G1 Q&A, Help & Troubleshooting] kidnoble:
after I do this :

I'm not getting the notification of the adb device.
[G1 Q&A, Help & Troubleshooting] nephron:
Should be a notification of Android Phone 1 not ADB my bad.
[G1 Q&A, Help & Troubleshooting] :
Thanks alot!! what a great walkthrought...!!
[G1 Q&A, Help & Troubleshooting] kidnoble:
yeah...not seeing that either
[G1 Q&A, Help & Troubleshooting] mogulrudy:
NICE THREAD! It was really helping me out until my pc started acting funny but im having the same problem, im not getting the notification either. I even downloaded the new 1.5_3 sdk to install the correct driver to see if that was the issue and no cigar :confused:. I tried letting windows 7 use the internet and automatically find the driver but it goes and gets the 1.1 sdk and when i try to install it, it says windows has encountered a problem while installing this driver like all the other drivers for the other sdk's ive tried. It's pretty weird. lol, I also tried uninstalling all the drivers through usbdev, i go an click uninstall all selected drivers and it doesn't uninstall them!?
[G1 Q&A, Help & Troubleshooting] nephron:
Make sure USB Debugging is enable, if it is try turning if off then back on.

Plug in your g1 to your computer, if it doesnt detect anything go into Device manager and see if there is a device called ADB Devices or something. If its there and has a Yellow triangle with a ! then it found the device just no the driver. Right click on it and press Install driver or Update driver and lead it to the drivers directory.
[G1 Q&A, Help & Troubleshooting] kidnoble:
nothing there...
[G1 Q&A, Help & Troubleshooting] NeoBlade:
When plugging in your G1 don't mount it and see if anything new gets listed in the Device Manager. If nothing appears then it could be time to troubleshoot.

- Are you able to transfer files to and from the PC and G1 ok?

- Try a different USB cable

- Try a different USB Port

I've not checked older posts but are you using the latest USB drivers from the Android 1.5 r2 SDK?
[G1 Q&A, Help & Troubleshooting] kidnoble:
see that's the thing. I have did the drivers and allat...but on mine...there's nothing that says ADB interface or anything. I'm not getting the notification I'm supposed to get when plugging up my phone. When I try to remove the htc drivers that are almost there they won't remove.
[G1 Q&A, Help & Troubleshooting] nephron:
try running the usb program again in the OP. Make sure u uninstall ALL the drivers related to android or HTC. Should be like 3 or 4 of them. Then unplug and plug back in.
[G1 Q&A, Help & Troubleshooting] kidnoble:
right but what I'm saying is when I try to uninstall them...I click uninstall and nothing happens lol
[G1 Q&A, Help & Troubleshooting] nephron:
Ummmm thats really weird. Did u open the program with Adminstrater rights? That might be why it doesnt do anything. Right click and Open as Admin. Try that.
[G1 Q&A, Help & Troubleshooting] Gilrod:
This info has helped me get it working in Windows 7, thanks very much...

I should really use Search more ;-)
[G1 Q&A, Help & Troubleshooting] MoB-HeArT:
Idk if i ddid something wrong but this is what i get when i try to check if my phone is running adb no devices show up...any help?

C:\Users\owner>cd C:\android-sdk-windows-1.5_r2\tools

C:\android-sdk-windows-1.5_r2\tools>adb devices

List of devices attached

C:\android-sdk-windows-1.5_r2\tools>
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
You sure you install the drivers and your phone is plugged in?
[G1 Q&A, Help & Troubleshooting] MoB-HeArT:
yes i did and my computer wont recognized the phone anymore
[G1 Q&A, Help & Troubleshooting] Mikey:
For anyone that is getting :Device not listed error.

I had to reformat my C:\ yesterday and i spent over 3 hours of trying to figure it out myself. :) FUN!!!

What worked for me was grabbing the "android-sdk-windows-1.5_r1" drivers and worked.

So try grabbing them drivers and see what happens for you???

Idea since it worked for me.
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Reinstalling just the SDK works wonders too :)
[G1 Q&A, Help & Troubleshooting] Maneby:
Thanks for this guide!

Excellent guide, this is going into my bookmarks! If I ever wonder anything nooby I know where to go :D

Thanks!
[G1 Q&A, Help & Troubleshooting] nephron:
hahaha thanks!
[G1 Q&A, Help & Troubleshooting] BlackElvis79:
SDK is bugging...

I had SDK 1.1, 1.5, and I think 1.5r2. When I first installed the 1.5 it worked great. I recently had to reinstall Windows because of partitioning issues. Now, I reinstalled the SDK, and now 1.5's don't work at all. And in SDK 1.1 the only thing that opens is the emulator, and that doesn't even work. It's acts as if I was holding down the "=", so the home screen comes up, then it goes straight to Contacts and starts with the"=======..."

Any thoughts?
[G1 Q&A, Help & Troubleshooting] ggrant3876:
I have an x64 system, only find drivers for x86 or amd64. I get to adb devices in terminal and none are listed. Are there X64 drivers for adb? Thanks.
[G1 Q&A, Help & Troubleshooting] bounce08:
kkkk

New problem...

I am using command prompt on vista, entered the following:

cd C:\android-sdk-windows-1.5_r2\tools

adb devices (shows my device listed as HT845KV02724)

adb shell (shows a # on the following line)

However....when I enter adb it returns with /sbin/sh: adb: not found .....what have I done wrong? I have checked that the SDK is in C:\ and have downloaded the SDK again just to be sure. What do I need to change???
[G1 Q&A, Help & Troubleshooting] nephron:
try using the amd64 drivers...
[G1 Q&A, Help & Troubleshooting] nephron:
try to start all over. Remove all sdk files and all adb settings. Remove all the drivers using the program in the OP. Then try again. Dont use SDK 1.1 cause that wont work.
[G1 Q&A, Help & Troubleshooting] nephron:
Right click on My Computer and click properties

Select the Advanced Tab or Advanced System Setting (Vista)

Select Environment Variables...

Press New

For Variable Name type: adb

For Variable Value type: C:\android-sdk-windows-1.5_r2\tools

make sure you didnt skip that step. If you already did it. Just open up cmd and type adb. It should give you a list of commands.
[G1 Q&A, Help & Troubleshooting] F16Freek:
Thank you very much. This fixed the ADB error: device not found issued I've been having on the mt3g!!
[G1 Q&A, Help & Troubleshooting] oneG:
the OP? Original Post?

Anyway, im hella confused as well. Nothing works now. Ive deleted and reinstalled everything but nothing works.

Everytime i plug the usb it automatically installs even after i erased everything. Nothing concerning HTC pops up in USBDeview anymore and hdwwiz.cpl is useless as every device i try comes back with "this device wont start (code 10)"

How do i go about removing all SDK? just erase of my PC and redownload or is there a certain window i can deactivate from?

Im going crazy over here!!!!!!!! I NEED MY WIFI TETHERING BACK!!!!!

Someone Please Help!
[G1 Q&A, Help & Troubleshooting] Chosen_on184:
ok im having problems getting this to run .. after downloading and extracting zip file and placing folder on my c drive and going to advanced and typing in the variables and installing the usb that the computer recognizes my phone on ... when i go into cmd prompt and type cd C:\android-sdk-windows-1.5_r2\tools i get C:\android-sdk-windows-1.5_r2\tools > ........so i go ahead and type adb devices after the arrow and it says list of devices attached but i dont see no listing of my device ... and if i go and type adb shell i get error device not found ...... what am i doing wrong ...:confused:

so after messing around i saw that i can get the adb list of commands by typing adb as stated rather than adb devices or shell ..however i still dont my device listed when i try the device command or the # if i try the shell ..... frustrated :mad:
[G1 Q&A, Help & Troubleshooting] haywooddime:
I just flashed the newest jac rom and it works perfect. Now that I have set-up the 3 partitions it seems like the adb file explorer doesn't allow me to access the files on my phone anymore. The file explorer worked fine before I flashed the new rom what could be the problem? This is what it looks like now.
[G1 Q&A, Help & Troubleshooting] Chosen_on184:
One thing i came across in my effort to making adb work on my computer is that you gotta have the correct NET.Framework which is 3.5 or it wont work..for two weeks i was pulling my hair out trying to figure out why this wouldnt work until i realized that since i made my comp and used a hacked copy of windows xp i was still on NET.Framework2.0..

So if your trying and for some reason you followed all the steps but when you go to cmd and type in adb devices and it says device listed ..check to makes sure the framework is up to date ( you can check by going to control center <> add remove programs and scroll till you see it) if not update and that should fix the issue ..Hope this helps somone :):D:)

This was posted previously in the post but since i took some of that advice and it worked and most folks dont like to search too much just thought i would refresh the point :D