Hi, guys. I am a new member here at XDA and would like some people to test a version of Darkonion's Dosbf script modified for Macs. I have tested this this with my Mac, and a Droid X, and everything has gone wonderfully. I need to verify that it actually works with other Macs, so if anyone would like to help me out here, I would be very grateful.
Remember to wipe data/cache after SBF to be safe.
If you've gotten the message "error: no sbf_flash program" then you'll need to restart terminal and run the command "./sbf_flash droid2.sbf" after you cd to the SBF_Flasher_1.4 directory.
Update: SBF_Flasher_1.4
MAJOR UPDATE: Using the right sbf_flash finally. If for some reason this zip doesn't work, go here:
http://www.droidxforums.com/forum/d...-solution-your-windows-rsd-lite-problems.html
If anyone needs support, PM me and I can help.
stuck trying to flash
I keep getting this message when in terminal
Press any number or letter key, then enter to continue.
l
Error: No sbf_flash program
Exiting
bigoz71 said:
I keep getting this message when in terminal
Press any number or letter key, then enter to continue.
l
Error: No sbf_flash program
Exiting
Click to expand...
Click to collapse
If that happens, it basically means that the sbf_flash file is not an executable. Try this.
In terminal, type "chmod +x" and leave a space, then open the SBF_Flasher_1.3 folder and drag sbf_flash into terminal. Here's how it should look.
chmod +x /location of folder/SBF_Flasher_1.3/sbf_flash"
you don't have to put the SBF file on your sdcard, you just copy it to the SBF_Flasher folder on your computer and rename it droid2.sbf
i get to the point when it says "Press any number or letter key, then enter to continue" when i press a number or letter it gives me an error saying "Error: No sbf_flash program" any insight on what i may be doing wrong?
Edit:
tried the above instructions, and still not working. my phone has been stuck in bootload all day :-(
RockTheRed52 said:
i get to the point when it says "Press any number or letter key, then enter to continue" when i press a number or letter it gives me an error saying "Error: No sbf_flash program" any insight on what i may be doing wrong?
Edit:
tried the above instructions, and still not working. my phone has been stuck in bootload all day :-(
Click to expand...
Click to collapse
Make sure you pull the battery in between trying, otherwise you'll have to find another battery.
What phone and software version are you running? Did you get the correct SBF file?
G7man said:
Make sure you pull the battery in between trying, otherwise you'll have to find another battery.
What phone and software version are you running? Did you get the correct SBF file?
Click to expand...
Click to collapse
im using a D2 with the gingerbread leak, i was installing apex2.0 however me being careless downloaded the DX version by accident. then all hell broke lose lol.
im pretty sure i downloaded the correct SBF file. however if you have you prefer i would like to know
double post. my fault.
RockTheRed52 said:
im using a D2 with the gingerbread leak, i was installing apex2.0 however me being careless downloaded the DX version by accident. then all hell broke lose lol.
im pretty sure i downloaded the correct SBF file. however if you have you prefer i would like to know
Click to expand...
Click to collapse
Well, I don't own a D2, so here is all I can say.
1. Make sure you chmod +x both the sbf_flash and the SBF_Flasher.sh files
2. Download the 2.3.20 SBF, or whatever the most current one is and copy it to the SBF_Flasher folder. Rename the sbf "droid2.sbf" case-sensetive and without quotes
3. Run SBF_Flasher.sh and tell me at what point it errors, and what it says.
G7man said:
Well, I don't own a D2, so here is all I can say.
1. Make sure you chmod +x both the sbf_flash and the SBF_Flasher.sh files
2. Download the 2.3.20 SBF, or whatever the most current one is and copy it to the SBF_Flasher folder. Rename the sbf "droid2.sbf" case-sensetive and without quotes
3. Run SBF_Flasher.sh and tell me at what point it errors, and what it says.
Click to expand...
Click to collapse
this is where i am getting stuck at
Press any number or letter key, then enter to continue.
chmod +x /Users/alkap16/Desktop/SBF_Flasher_1.3/sbf_flash 1
Error: No sbf_flash program
Exiting
although i am not sure if i am "chmod +x" the SBF_Flasher.sh file correctly.
sorry for all this this is my first time doing anything like this on my phone or computer.
RockTheRed52 said:
this is where i am getting stuck at
Press any number or letter key, then enter to continue.
chmod +x /Users/alkap16/Desktop/SBF_Flasher_1.3/sbf_flash 1
Error: No sbf_flash program
Exiting
although i am not sure if i am "chmod +x" the SBF_Flasher.sh file correctly.
sorry for all this this is my first time doing anything like this on my phone or computer.
Click to expand...
Click to collapse
Ok, you need to chmod both files before running the SBF_Flasher.sh file. Also, it should look like "chmod +x /users/alkap16/Desktop/SBF_Flasher_1.3/sbf_flash". make sure the file name is sbf_flash, not sbf_flash 1.
Sent from my DROIDX using XDA App
finally got everything to work. but when the sbf is done flasing im still stuck in the bootloader with no no way of getting into recovery mode.
RockTheRed52 said:
finally got everything to work. but when the sbf is done flasing im still stuck in the bootloader with no no way of getting into recovery mode.
Click to expand...
Click to collapse
Well, if it hasn't worked, and you don't have a windows pc, you should definitely try 1KDS's live disk, or this link.
http://www.droidxforums.com/forum/droid-x-rs-guides/12015-complete-droid-x-sbf-flashing-guide.html
I've been trying it, and I'm getting the same error for no sbf_flash program. I've tried chmod +x on both sbf_flash and SBF_FLASHER.sh
any ideas?
The other one you posted last is still a no go, as my mac can't burn disks.
craig_s said:
I've been trying it, and I'm getting the same error for no sbf_flash program. I've tried chmod +x on both sbf_flash and SBF_FLASHER.sh
any ideas?
The other one you posted last is still a no go, as my mac can't burn disks.
Click to expand...
Click to collapse
You should definitely download sbf_flash from blog.opticaldelusion.org and see if that works. It's probably an issue with you not doing "chmod +x" right. I would try typing "chmod +x" leaving a space, and dragging sbf_flash into terminal. If all else fails, get your hands on a Windows machine, or use a VM, but I've never had success with VM's. Let me know what happens.
-G7man
Giving it a second go (I had my brother fix it last time, he doesn't want to do it this time). Should I replace sbf_flash that I downloaded with the old one?
Edit: still doesn't work!!! You wouldn't happen to know how to put 1kdStaz's liveboot onto an external hdd, or how to partition my hdd to boot off of that?
craig_s said:
Giving it a second go (I had my brother fix it last time, he doesn't want to do it this time). Should I replace sbf_flash that I downloaded with the old one?
Edit: still doesn't work!!! You wouldn't happen to know how to put 1kdStaz's liveboot onto an external hdd, or how to partition my hdd to boot off of that?
Click to expand...
Click to collapse
I know you can boot off of a usb drive, but I'm not the person to talk to for that kind of thing. I'd recommend talking to 1KDS, he's really nice.
- G7man
Try chmod 777 on the sbf_flash file, that worked for me...
Although, I have another question, does the sbf_flash file require an Intel based system? I'm using a PowerMac G5 with PPC processors and I get
./sbf_flash: line 3: /tmp/sbf_flash_754_746/Darwin: Bad CPU type in executable
Click to expand...
Click to collapse
Related
Hi all I am putting together an android app that will making the rooting process much easier. This thread is discuss issues and suggestions with this app.
I have the app near done, the biggest problem is that I cannot format the sdcard as fat32. Is formatting to fat32 required. Why do we do this? What is the real need to do this?
I have not tested the app out yet, but so far this is how it has been put together. There is a main activity with textboxes that have the urls of the files needed to root (dreaimg.nbh, recovery.img, hardsplupdate.zip, JF_RC33update.zip) and there are buttons for each step in the process to download these necessary files and extract them if needed and put them on the sdcard and renaming them properly. You can change the urls to something else if needed.
so you click the first button it downloads the .nbh and puts it on the sdcard and then prompts the user to turn off, power+camera on, flash. when phone is on then reinstall this app and go to step 2 (because it would of been lost when flashed)
you click the second button it downloads recovery.img and hardsplupdate.zip. renames the files appropriately and puts them on the sd. it runs a script to do the recovery.img flash. It then prompts you to restart into recovery mode and gives the instructions on flashing the hardspl. and tells you to reopen this app when done
you click the third button it downloads the latest JF firmware (lets just say the RC33 flavor) puts it on the sdcard and renames it as update.zip. it prompts you to restart into recovery mode and do the flash.
Anybody see any possible problems with this logic? Also what do people think about maybe packing some of these files in the app instead of having them be downloaded?
Update: app is working http://allshadow.com/forum/viewtopic.php?f=9&t=5229
I am still looking for help to make it better.
I need devs to help make it nicer.
I am also looking for someone who's familiar with the update.zip package, to pack the radio, hardspl, and jf_rc33 all in one update file.
If anybody is interested in helping, PM me
I dont think its that big of a deal to format the card yourself, but why not make an app on the desktop that does some of the work for you, like formatting the card, then downloading and renaming the files needed to get started?
Packing the files into the app is going to make the app big. I like this whole idea though.
when you flash the .nbh it does a wipe on its own so one would need to re-download the app after that unless you can get it to stick somehow, i like the idea, is each button of the app just running a script? like to get the dreaimg.nbh have a script that runs:
"$wget [url to the .nbh file]
$echo 'please reboot your phone into SPL by holding the camera and power button'"
or did you have some other idea?
i like the idea but i am just not sure how easy this would be to code as i am just used to writing scripts that do everything for me.
or you could follow Kllian's advice and make a desktop program that does all this. i could easily write a script for linux that would do it, and a .bat file wouldn't be too hard either. you would just need to have adb and you could have the scipt/batch reboot the phone into recovery to do the flashing of each update.zip
pm me if you have an questions or would like me to write a script to do all this
tubaking182 said:
when you flash the .nbh it does a wipe on its own so one would need to re-download the app after that unless you can get it to stick somehow, i like the idea, is each button of the app just running a script?
Click to expand...
Click to collapse
tubaking brings up a good point.
I have an idea that possibly could resolve the "wiping" issue. What you do is, the initial app would be placed on the desktop (assume RC30). From here you'd downgrade the firmware to RC29.
The problem is though, the app you are scripting will be wiped. SO...
How about saving it on the SD temporarily.
THEN modifying the .nbh file to restore the <rooting app> to desktop (from SD)
Just throwing some stuff out there.
IF you need some help, hit me up.
if anyone knows how to convert a .sh bash script from linux to a .bat batch file for windows then i already have the script written, send me a PM to get it. or we could port it into java, but i don't know how to do that stuff. tomorrow i will upload my script onto 4shared and provide a link here as long as it works. keep in mind that i am on a linux machine and my script will not work in M$ windows. i don't know a damn thing about mac, so i have no idea if this will work or not for them.
my script is nearly completely automated, the only thing you need to do is hit ENTER a few dozen times, i will also write a completely automated one that sleeps rather than waits for you to hit enter, but it will take longer to run most likely since i will have to oversetimate the sleep time.
hopefully i can find a windows machine and learn what commands in the cmd are equal to the commands in my terminal
akapoor said:
tubaking brings up a good point.
I have an idea that possibly could resolve the "wiping" issue. What you do is, the initial app would be placed on the desktop (assume RC30). From here you'd downgrade the firmware to RC29.
The problem is though, the app you are scripting will be wiped. SO...
How about saving it on the SD temporarily.
THEN modifying the .nbh file to restore the <rooting app> to desktop (from SD)
Just throwing some stuff out there.
IF you need some help, hit me up.
Click to expand...
Click to collapse
modifying ,nbh files is no easy task, i tried it once and fortunately for many people GSLeon3 was able to help me fix my tilt. i think the .bat or .sh would be the easiest way to root your phone
Tubaking,
Send over the file you have. Ill work on converting it to a .bat, useable from windows.
Email : akapoor92_at_gmail.com
I should have it soon, but since its like 3:30am here, I'm off to bed. Haha
tubaking182 said:
modifying ,nbh files is no easy task, i tried it once and fortunately for many people GSLeon3 was able to help me fix my tilt. i think the .bat or .sh would be the easiest way to root your phone
Click to expand...
Click to collapse
Uh, you'd not only need to modify the nbh file, but you'd also need to sign it with the Google OTA keys - otherwise the phone will refuse to flash it.
If it were possible to create Google-signed nbh files we'd dispense with all this downgrading nonsense and just create an nbh of the latest JF firmware with root and directly flash that.
The issue is that until you've patched the recovery loader the phone won't flash anything that isn't signed by Google. The reason we can get around this is that there is a leaked signed file with the old firmware version, and that version happens to contain a vulnerability that you can use to get root access. Once you have root access you can reflash the recovery loader with a new one which accepts the test keys. At that point you can dispense with the hacks and begin directly flashing whatever you want.
In any case, rooting a phone is serious enough of a matter that we probably shouldn't be encouraging anybody who can download an app to do it. They should at least have some confidence in reading and following obscure instructions online, because of anything goes wrong later that is what they'll be doing...
Thanks for all your input. I have been trying to hold hand people through the root process and it is a real pain. Biggest issues are people not being able to unzip files correctly, rename files correctly, and the biggest thing is the recovery.img step and typing in the commands.
- .nbh cannot be patched because it is signed.
- yes my app will get wiped because of the .nbh flash. It does tell the user to reinstall this app once done with the .nbh step and then continue
- i prefer an android app, so people can do it without a computer and without having to install the sdk
- the app does not run a script to get the files. it uses some android sdk functions to download files. it does use the unzip linux command to unzip, not sure if this will work because of permissions, i may have to figure out how to do it from the sdk. the app does run a script to do the recovery.img step, during this step we should already have root so no issue there with permissions.
Biggest problem I see is Fat32 format I heard it is not absolutely necessary. Does anyone have any more information about why this needs to be done?
it IS necessary, you need the card formatted in order to do the NBH flash, after that you should be ok. most card come formatted in the box they came in so anyone that said they didn't need to format their card is lying because is was already formatted to fat 32
in the RC29 firmware is there a su command in /system/bin/ or are all commands run as root without having to call /system/bin/su ??
moussam said:
in the RC29 firmware is there a su command in /system/bin/ or are all commands run as root without having to call /system/bin/su ??
Click to expand...
Click to collapse
from what i've read, in the RC29 version andything you type on the home screen gets put through a root shell as well all on it's own
I have a feeling whoever makes this app is going to sell iot for a ridiculous price on the market
My script is written but requires the user to do certain things, later I hope to have it be completely automated after a certain point and it will be free. After I get it written in linux shell I will be converting it to use in windows. Expect my automated root to be available for download by the weekend.
I got the app pretty close to done. I hope to put something up tonight or tomorrow that you guys can test. I am not going to charge for this app, I want to give it for free so everybody can have root and a more rich experience.
The place were I am stuck right now is the unzipping of the DREAIMG.NBH file from its zip file after it is downloaded. I am using java.util.zip I am not sure if the problem is because the file is so big or if I am doing it wrong. does anyone have an android java unzip code snippet?
The app now downloads files for you and unzips them if needed. THere is an issue with the unzipping though, after around 25 MB of unzipping DREAIMG.NBH i get this error...
java.io.IOException at java.util.zip.InflaterInputStream.read(InflaterInputStream.java)
anybody have any suggestions? Is their not enough memory to unzip the files or something?
For now I am not going to let the .nbh file be zipped up. THe app instead will have to download the full uncompressed .nbh file.
So it is ready to be tested, if you want to try it out PM me, I do not want to just post it and have everybody use it until it has been tested more.
Good news the app works on downloading the .nbh file and then flashing you to RC29. It then successfully downloads the recovery.img and hardspl update.zip
I had someone testing it and when they ran the recovery script the mount command gave them mount: operation not permitted. Is this correct? I know without root it is supposed to give you mount: permission denied.
If this is correct the app is working, and I just need someone else to confirm.
Mike
Does anybody else want to help with the coding of this project? If so create an open-source repository and I will add the current source in there.
If you do, can you please do me a favor: Can you please copy the gzip executable to /sdcard and upload to this thread?
Boot into recovery and:
Code:
mount /sdcard
cp /sbin/gzip /sdcard/gzip
devsk said:
If you do, can you please do me a favor: Can you please copy the gzip executable to /sdcard and upload to this thread?
Boot into recovery and:
Code:
mount /sdcard
cp /sbin/gzip /sdcard/gzip
Click to expand...
Click to collapse
ignore sig. reflashed 1.3.1. when i cp /sbin/gzip /sdcard/gzip i get cannont stat /sbin/gzip no such file or directory
edit: i found gzip in /system/bin. just take off .txt extension.
Thanks for you efforts. But the problem is I need the static binary that was present in the 1.3.1. The one in /system/bin is a dynamic one and won't run (tried it already) in 1.4 recovery.
I need to figure out where did that static binary in 1.3.1 come from. That binary is 3 times faster in compressing than the one in busybox.
sorry i couldn't find it. did you try asking cyanogen?
david1171 said:
sorry i couldn't find it. did you try asking cyanogen?
Click to expand...
Click to collapse
He is on vacay until the weekend is over.
erissiva said:
He is on vacay until the weekend is over.
Click to expand...
Click to collapse
can you extract it from the update.zip?
i believe the link was
http://n0rp.chemlab.org/android/cm-recovery-1.3.1-signed.zip
edit: nvm its proly a .img inside. i believe theres an image unpacking tool out here, ill try and find it
B-man007 said:
can you extract it from the update.zip?
i believe the link was
http://n0rp.chemlab.org/android/cm-recovery-1.3.1-signed.zip
edit: nvm its proly a .img inside. i believe theres an image unpacking tool out here, ill try and find it
Click to expand...
Click to collapse
Thanks guys, you are awesome!
Hmm... [No Luck]
Devsk, I just scowered every recovery image that Cyanogen has released (using unpack.pl http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images) for the gzip file you mentioned, however, I saw no static-binary that you speak of.
(yes, I checked every image file, including the ones in the .zip update file that cyanogen released for 1.3.1)
I'm actually curious myself, and have begun searching JF's recovery images too... still no luck...
HOWEVER, and I'm not too keen on scowering... perhaps if you ask Cyanogen if he ever released a recovery image in one of his update.zip's... perhaps thats what you're looking for?! *ponders*
good luck! I think i'm going to check it out!
rikupw said:
Devsk, I just scowered every recovery image that Cyanogen has released (using unpack.pl http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images) for the gzip file you mentioned, however, I saw no static-binary that you speak of.
(yes, I checked every image file, including the ones in the .zip update file that cyanogen released for 1.3.1)
I'm actually curious myself, and have begun searching JF's recovery images too... still no luck...
HOWEVER, and I'm not too keen on scowering... perhaps if you ask Cyanogen if he ever released a recovery image in one of his update.zip's... perhaps thats what you're looking for?! *ponders*
good luck! I think i'm going to check it out!
Click to expand...
Click to collapse
when in recovery 1.3.1, what does 'which gzip' give you? I am not sure where that executable is being gotten but doing 'gzip -h' and 'busybox gzip -h' resulted in two different things in 1.3.1 but same in 1.4.
One question: is it safe to go back to 1.3.1 and switch back & forth? I need to figure where some of the executables are coming from and how come it can load the same dynamic executable in 1.3.1 but not in 1.4.
devsk said:
when in recovery 1.3.1, what does 'which gzip' give you? I am not sure where that executable is being gotten but doing 'gzip -h' and 'busybox gzip -h' resulted in two different things in 1.3.1 but same in 1.4.
One question: is it safe to go back to 1.3.1 and switch back & forth? I need to figure where some of the executables are coming from and how come it can load the same dynamic executable in 1.3.1 but not in 1.4.
Click to expand...
Click to collapse
yes, it is safe, the ONLY issue i've had is I cannot seem to be able to successfully edit a recovery.img and reflash it, it works, the only issue is I don' thave command I get the "A N D R O I D" when i try to use terminal at the recovery menu, (although everything works via adb)
I am on 1.4, I just downloaded ALL the Cyanogen.zips (I hope I don't overuse his bandwidth, I would feel so bad...) but I found no recovery images within his .zips,
try flashing a 1.3.1, (I'm not able to use my android phone, as I left it at work haha)
and trying which. just m ake sure you do a nandroid backup before you flash back to 1.3.1 (though I doubt it should make a difference)
Code:
IDEA!
try to mount all your partitions within the recovery command (from the phone, not adb).
type
# mount -a
(it'll error, don't worry its normal )
# exit
press enter, and then type "which gzip"
I think that its actually loading the /system/bin/gzip... which would make sense... but idk, can you give it a try?
*EDIT AGAIN*
ok, the reason for what I told you, is that I noticed that if you reset the terminal (exit, enter) its like re-adding the PATH to the shell, i guess? I'm still a wee bit new to linux, but I know how to search (or rather... scower)
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!
Can someone who has webtop tar up thier osh and post a place I can grab it.
I have been working to get a full version of ubuntu going in webtop, and I was working on reverse engineering the way they did it with the bionic and that did not work well
I will buy a beer or coffee for anyone who can do this for me.
Thanks,
Jim
just got home. give me a few minutes
what file format you want?
You rock, does not matter much, a tar or zip or 7zip or bz2... whatever you put it in I can take it and put it back in place from there.
Thanks,
Jim
lol. while it was pulling, i was messing around with my phone and crashed it..
re-pulling
OSH.IMG.TGZ
dd if=/dev/block/webtop of=/mnt/sdcard/osh.img
did you get it?
Yes, I did. I also gave a donation to you.
THANK YOU!
Jim
I was able to get my webtop working again, by whacking tomoyo, that is the Linux FACL that they are using for webtop.
Thanks again for your help.
Jim
I just broke webtop and I was hoping you could explain to me how to restore it using this .img.tar.gz file. I don't have a clue what to do with it. Please help! I messed up my osh file pretty miserably.
matthewsteross said:
I just broke webtop and I was hoping you could explain to me how to restore it using this .img.tar.gz file. I don't have a clue what to do with it. Please help! I messed up my osh file pretty miserably.
Click to expand...
Click to collapse
it think it's a dd image, so just do the reverse;
dd if=osh.img of=/dev/block/webtop
I'm sorry. I'm oblivious as to what you're talking about... I'm am sorry for my ignorance, is that a command prompt thing for windows or is that something I would use adb for? Also, how do I thank you for replying?
matthewsteross said:
I'm sorry. I'm oblivious as to what you're talking about... I'm am sorry for my ignorance, is that a command prompt thing for windows or is that something I would use adb for? Also, how do I thank you for replying?
Click to expand...
Click to collapse
This thread was from before we had the FXZ files to flash from fastboot.
I believe the proper way to restore webtop would be to grab the 55.11.16 release FXZ. Extract it and extract moto-fastboot to the same directory. Run a cmd and cd to the directory.
Put your phone into fastboot mode by holding volume down while you power it on, hook it up via usb, and
(or you can use the two button salute and choose it from the boot menu)
Code:
moto-fastboot.exe flash webtop grfs.img
You can then use motorola's faux-55.13.26 update to reapply the patches to update the webtop partition to the 55.13.25 version.
This tar.gz file would still work, you'd need to decompress it, adb shell into the phone, run su (to get root) and then run the commands from the directory where the img is stored. I don't think you need busybox to run dd... could be wrong
Flashing with fastboot is the more elegant solution.
(note it's probably not a good idea to write the img files from the fxz directly with dd.)DON'T CROSS THE STREAMS!
I got it to work by flashing in fastboot, thanks for all your help! All is well again and I even have Linux unlocked and running the XFCE-4 desktop environment. Thanks for all your help!
Howdy!
Did someone know what is causing that error when we try to use Dalvik Debug Monitor Server (ddms.bat) in tools folder of SDK?
Code:
03:51:10 E/adb: Failed to get the adb version: Cannot run program "C:\ANDROI~1\platform-tools\adb":
CreateProcess error=2, No such file
Also in recovery mode, if I try to take screenshot the image is always distorted? (see attachment)
Is adb located in your <sdk>/tools directory? If no, then copy it from <sdk>/platform_tools to <sdk>/tools and retry. DDMS is working fine for me.
Yep! It's there, have a look at the attachment.
Lucky Thirteen said:
Howdy!
Code:
03:51:10 E/adb: Failed to get the adb version: Cannot run program "C:\ANDROI~1\platform-tools\adb":
CreateProcess error=2, No such file
Click to expand...
Click to collapse
Ok, how about <sdk>/platform-tools? Looking at your error, ddms is searching for adb in it's new location which is in <sdk>/platform-tools...
I know adb no longer comes in the /tools directory, so I'm assuming you either cut or copied it. If you moved it to /platform-tools then just make a copy and put it back there. Sorry, I didn't look close at your error before. As far as the recovery screen shot goes, contact madmaxx82 with a bug report...
Off the topic... Looking at your signature, and wondering why you're running hboot 1.23 with ICS??
GROGG88 said:
Ok, how about <sdk>/platform-tools? Looking at your error, ddms is searching for adb in it's new location which is in <sdk>/platform-tools...
I know adb no longer comes in the /tools directory, so I'm assuming you either cut or copied it. If you moved it to /platform-tools then just make a copy and put it back there. Sorry, I didn't look close at your error before. As far as the recovery screen shot goes, contact madmaxx82 with a bug report...
Click to expand...
Click to collapse
OK! adb has to be in the platform-tools. Some Wikis need to be updated...
Thanks!
GROGG88 said:
Off the topic... Looking at your signature, and wondering why you're running hboot 1.23 with ICS??
Click to expand...
Click to collapse
...because everything is perfect this way.