Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root

i7500 - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old September 25th, 2009, 08:48 AM   #1 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default Flashing and rooting overview

Or, "how I learned to stop worrying and love the root".

As discussed elsewhere, I've been a Galaxy owner since release day on O2 UK and have been following the forums here for a while. I've had all the usual problems (NPS being useless, etc) and found the forum to be invaluable, so thank you.

I wanted to update the firmware, but found there's almost too much information around. Lots of updated / contradictory information, and some of it requiring convoluted hacking of text files etc. I eventually took the plunge, and made notes as I went. Hopefully, this will be of help for other new users.

After reading, I decided there were two stages to this. First, back up the phone so if it all went west I could roll back. Second, get the firmware on it.

Booting in various modes:

With the phone off:

Fastboot mode - call + power
Recovery mode - vol-down + call + power (hold home + back to exit)
Download mode - vol-down + ok + power

To enable root and back up the phone: (update - this method appears to have been blocked as of firmware rev. II5, should still work for IH8 and earlier)

To enable root and back up the phone:

Get recovery image from http://www.megaupload.com/?d=8SAFKOIN (see http://forum.hdblog.it/showthread.php?t=3995 for details)

Get recovery flasher from Android Rooting in 1-click (limited time only… until it gets patched)

Copy recovery.img and rectools.tar.gz files to /sdcard
(tar.gz must be the root of /sdcard)

copy the recovery flasher .apk to /sdcard and install it

Run recovery flasher
Choose "backup recovery image" just in case

Enter sdcard/recovery.img as the path
Choose "install custom image"

Boot into recovery mode
Run a nandroid backup
Enable root if desired
Reboot

To flash the firmware:

Get Odin + H7 firmware from MEGAUPLOAD - The leading online storage and file delivery service

Get H8 firmware from RapidShare: 1-CLICK Web hosting - Easy Filehosting and unizp it to give you a .tar file. Alternatively, you can use the latest I5 firmware here, there's links to it elsewhere on the forum - I'm using H8 as an example as this was the latest when I wrote this.

Edit the .tar file with 7-zip to remove cache.img (to remove CSC branding) - 7-zip handles .tar files in a vaguely sensible manner, unlike things like WinRAR. 7-zip can be had from 7-Zip

Boot phone in Download mode
Run Odin
Follow instructions here The Chronicles of Cjeni a.k.a. Dejan Cencelj: Flash ROM Samsung I7500 Galaxy for dummies - essentially you're adding your freshly modified .tar as a one-file update, along with the orion.ops file supplied with Odin. The web page is nice and clear.

Ooh, new firmware.

Cougar is offline  
Last edited by Cougar; September 25th, 2009 at 02:23 PM.
Reply With Quote
Sponsors
Old September 25th, 2009, 09:04 AM   #2 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

wow, thanks for this im going to do it when i get home
Rastaman-FB is online now  
Reply With Quote
Old September 25th, 2009, 09:09 AM   #3 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

If it works, I accept payment in most major forms of alcohol. If it doesn't work, you ain't seen me guv, right?
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 09:14 AM   #4 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

accepted

the disclaimer is good aswell

if it works ill just tell you it failed :P
Rastaman-FB is online now  
Reply With Quote
Old September 25th, 2009, 09:20 AM   #5 (permalink)
Member
 
Join Date: Aug 2009
Posts: 323
 
Device(s):
Thanks: 4
Thanked 6 Times in 6 Posts
Default

just to made it clear, what is it 'root' for?
bitxboi is offline  
Reply With Quote
Old September 25th, 2009, 09:21 AM   #6 (permalink)
Senior Member
 
KlaymenDK's Avatar
 
Join Date: May 2009
Location: Denmark
Posts: 1,205
 
Device(s): Desire (Android v2.3.5 w/Oxygen rom; Revoked ClockworkMod recovery)
Thanks: 28
Thanked 121 Times in 93 Posts
Default

Awesome, I think you just sold me on the rooting thing.

Only, to grab those files I'd need to sign up at that Italian forum ... unless I could convince you to edit your post and attach the files you refer to? That way, it would really all be in one place!

Please pretty please with whipped cream and a cherry on top?

Edit: I7500XXII5 file available at:
MEGAUPLOAD - The leading online storage and file delivery service
and Send big files the easy way. Files too large for email attachments? No problem!
__________________
Don't forget to hit the "Thanks" button when someone helps you!!!
How To Ask Questions The Smart Way
-- 010\001\111 --
KlaymenDK is offline  
Last edited by KlaymenDK; September 25th, 2009 at 09:41 AM.
Reply With Quote
Old September 25th, 2009, 10:01 AM   #7 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

so does this go back to normal if you reboot?

read this

Quote:
Known issues:


  • EVERY TIME YOU REBOOT YOUR PHONE INTO NORMAL ANDROID IT UNDOES WHAT YOU JUST DID. Every time android boots, it reflashes the recovery partition with the default one from a file stored in your phone. For safety reasons, we are not replacing this file – just flashing the partition directly. So if you boot to recovery mode, then boot back into your normal mode, and then boot back into recovery mode – you will see a triangle with an exclamation point and only 3 options. DO NOT WIPE YOUR DATA IF YOU ONLY SEE 3 OPTIONS AND AN EXCLAMATION POINT If you only see three options, reboot your phone into normal android mode and re-run the “Recovery Flasher” application – and THEN boot into recovery mode and you will see all the options.
Rastaman-FB is online now  
Reply With Quote
Old September 25th, 2009, 10:02 AM   #8 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Sorted, sorry for any confusion.

The downloads on the Italian forum is a text file. The text file contains the megaupload download link, which I've reproduced here. I'm not quite sure why they've done it this way unless it's to increase membership, not much use to me as I don't speak Italian.

If this is a problem for anyone, I'll remove it. For completeness, the orginal page is here, all credit to them. UPDATE 28/08 - V3! - HOW TO - ROOT/RECOVERY IMAGE update, wipe, backup and restore! - HDblog - Forum
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 10:04 AM   #9 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Quote:
Originally Posted by Rastaman-FB
so does this go back to normal if you reboot?
Not that I've noticed. It does reset the recovery partition if you apply new firmware though, but you still have the flasher and .img on your phone so it's 30 seconds' work to reapply it.
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 10:11 AM   #10 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 35
 
Device(s):
Thanks: 2
Thanked 0 Times in 0 Posts
Default

it also worked for me by using fastboot flash recovery recovery.img in a command window opened from tools folder of android sdk, the flasher apk did not work on my phone for some reason.
coipu is offline  
Reply With Quote
Sponsors
Old September 25th, 2009, 10:34 AM   #11 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

You should add a disclaimer that this rooting method may break in the near future since google has already fixed this root exploit in their source. A better and long term rooting process is to either replace the recovery image in the tar files or use fastboot to flash recovery.
pegasus21 is offline  
Reply With Quote
Old September 25th, 2009, 11:22 AM   #12 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Good point. And good to know. As and when that happens, I'll be throwing myself back at the mercy of the forum for help with that (-:
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 12:47 PM   #13 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Am I missing something here , i put the files from v3 in the root of my sd card, but the recovery flasher app won't recognize it. Just says invalid recovery image, where I'd expect to be able to click flash.
z0mbi3 is offline  
Last edited by z0mbi3; September 25th, 2009 at 12:47 PM.
Reply With Quote
Old September 25th, 2009, 12:51 PM   #14 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

By sd card, you mean the internal or external memory?
/sdcard refers to the internal memory
/sdcard/sd refers to the external memory card (ie your microsd card)

You should be copying them to the internal memory. If you copied them to your external memory, copy the files to the other drive that shows up on your computer.
pegasus21 is offline  
Reply With Quote
Old September 25th, 2009, 12:51 PM   #15 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah that might be it then. 2 secs....
z0mbi3 is offline  
Reply With Quote
Old September 25th, 2009, 01:00 PM   #16 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok getting somewhere but still not perfect. If I enter the path I get "Backup to flash custom recovery image" but it's greyed out. Backup Recovery Images is pressable, but i get a "Backup failed" error.

This is on I5 by the way.
z0mbi3 is offline  
Reply With Quote
Old September 25th, 2009, 02:18 PM   #17 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

I think something may have changed with I5. Mine no longer works with the new firmware either. Arse.
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 02:19 PM   #18 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Then I guess Samsung compiled II5 with the exploit fixed. You'll have to use either fastboot or replacing the recovery from the tar file.

Update: Ok I've decided to write up about how you can use fastboot.

ADB and Fastboot Drivers
ADB & Fastboot Binaries Updated with dll
Recovery v3
Busybox

Note: Use adb driver from Odin instead of the ADB and Fastboot Drivers pack since that is for 1.6 which Samsung hasn't released for the Galaxy yet. Fastboot driver works fine with the pack.

The link above is for adb and fastboot interfaces required for flashing. Each time you connect your device and there isn't a driver yet, just point it there and it should find something. If it doesn't, it's probably the modem and diagnostic driver which you can from HERE.

1. Get all of the files above and put them into the same directory.
2. Put rectools.tar.gz on to your phone's internal memory not the microsd card.
3. Open up a command line interface and change directory to the place with the files.
4. Type "fastboot flash recovery recovery.img" and press enter
5. Off your phone and hold call + ok + power till the fastboot menu appears on your phone. Your command line should be able to upload the image if all goes well and reboot by itself after a while.
6. Once your phone has booted up in normal mode, off it and this time hold volume down + call + power till the recovery menu appears.
7. Select "Enable root su" from the menu and press home to confirm.

Stop here if you do not want to use busybox or think it's too much hassle (Your copy function in file browsers will not work without busybox)

8. Remount the mount points with read/write access by typing into the command line "adb remount"
9. Once successful, upload busybox "adb push busybox /system/bin/busybox"
10. Set busybox to executable with "adb shell chmod 4755 /system/bin/busybox"
11. Next remove the cp command "adb shell rm /system/bin/cp"
12. Relink cp to busybox "adb shell ln -s /system/bin/busybox /system/bin/cp"
13. Optional: Install the other commands in busybox. "adb shell /system/bin/busybox --install -s /system/bin"

That's it. You now have a working su (root), superuser app installed to manage access to su and busybox for those who go through with steps 8-12/13.
pegasus21 is offline  
Last edited by pegasus21; September 30th, 2009 at 04:03 AM.
Reply With Quote
Old September 25th, 2009, 02:38 PM   #19 (permalink)
Member
 
Join Date: Sep 2009
Posts: 145
 
Device(s):
Thanks: 2
Thanked 5 Times in 4 Posts
Default

If you format the external SD card to have swap space will the H8 build use it? Last I read the build doesn't have swap support built into the kernel.
tisti is offline  
Reply With Quote
Old September 25th, 2009, 04:53 PM   #20 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right Pegasus using your guide I've got my drivers installed, but fastboot just says "waiting for device" when I do the fastboot bit. Any ideas?
z0mbi3 is offline  
Last edited by z0mbi3; September 25th, 2009 at 04:54 PM.
Reply With Quote
Sponsors
Old September 25th, 2009, 05:25 PM   #21 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Good work, Pegasus.

I've been wrestling with that driver all night. I've been using the dev driver supplied with the latest Windows SDK (.16_r1) which of course doesn't support the Galaxy. I'd managed to hack the .inf to recognise the Galaxy's Debug Mode connection by pulling the IDs out of DevMan to write the missing code, but fastboot was eluding me. How did you obtain the VID/PID for it, can I ask?

With the fastboot driver, flashing the recovery image was a breeze. You just need to set it going before you start fastboot on the phone, the PC will wait for the phone forever but the phone only stays in fastboot mode for 15 seconds or so.

Nice one, impressed.
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 05:42 PM   #22 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

Quote:
Originally Posted by Cougar View Post
Good work, Pegasus.

I've been wrestling with that driver all night. I've been using the dev driver supplied with the latest Windows SDK (.16_r1) which of course doesn't support the Galaxy. I'd managed to hack the .inf to recognise the Galaxy's Debug Mode connection by pulling the IDs out of DevMan to write the missing code, but fastboot was eluding me. How did you obtain the VID/PID for it, can I ask?

With the fastboot driver, flashing the recovery image was a breeze. You just need to set it going before you start fastboot on the phone, the PC will wait for the phone forever but the phone only stays in fastboot mode for 15 seconds or so.

Nice one, impressed.
i had this

download the 1.5 r3 sdk
point the the usb drivers and pick the Android test
boot into fastboot and while its in fast book as quick as you can link that driver in device manager to the android test found in the 1.5 r3 sdk
Rastaman-FB is online now  
Reply With Quote
Old September 25th, 2009, 05:53 PM   #23 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pegasus, your downloads for fastboot and adb are missing AdbWinApi.dll. I've tried copying the one from 1.5 r3, but it just sits at waiting for device.
z0mbi3 is offline  
Reply With Quote
Old September 25th, 2009, 05:54 PM   #24 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I got the pid/vid from some post somewhere... i think it was receptor's blog but you can easily look up the info from the device manager. Under the device's properties (even for unknown devices) check the 3rd tab where there's the info on the hardware.

As for "waiting for device", I'm guessing it's got to do with the driver or windows not seeing the device.

These drivers are from 1.6r1 sdk. Not sure what's the diff compared to 1.5r3 but I decided why not just mod the inf for the latest sdk and both x86 as well as x64.
pegasus21 is offline  
Reply With Quote
Old September 25th, 2009, 07:26 PM   #25 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

do what i did as i had exactly the same problem. fastboot does not detect the drivers. use you have about 15 seconds to point it to the test drivers found in 1.5 r3
Rastaman-FB is online now  
Reply With Quote
Old September 26th, 2009, 12:45 AM   #26 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Oh my, I missed that dll? Ok I'll update the link later.

Updated with the dll now
pegasus21 is offline  
Last edited by pegasus21; September 26th, 2009 at 01:09 AM.
Reply With Quote
Old September 26th, 2009, 05:38 AM   #27 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah that's where I stumbled. I grabbed the missing DLL from the 1.5 R3 sdk which just doesn't work with Fastboot from 1.6 r1. All sorted now though.

Only thing I couldn't get working was adb, is this a DLL problem again do you reckon? I'm not really sure tbh.
z0mbi3 is offline  
Last edited by z0mbi3; September 26th, 2009 at 05:45 AM.
Reply With Quote
Old September 26th, 2009, 05:40 AM   #28 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

Why are you using donut sdk when galaxy is on cupcake?
Rastaman-FB is online now  
Reply With Quote
Old September 26th, 2009, 05:48 AM   #29 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Quote:
Originally Posted by pegasus21
I got the pid/vid from some post somewhere... i think it was receptor's blog but you can easily look up the info from the device manager. Under the device's properties (even for unknown devices) check the 3rd tab where there's the info on the hardware.
Yeah, that's how I got the ADB info. I couldn't see it for fastboot though, all it came back with was "Android 1.0". Maybe just a timing issue?

Quote:
Originally Posted by Rastaman-FB
Why are you using donut sdk when galaxy is on cupcake?
I wasn't using the SDK, just installing it to extract the driver from it. I figured, latest SDK = latest driver set. The SDK version is irrelevant (and if you're really concerned, it contains dev tools for both 1.5 and 1.6 anyway).
Cougar is offline  
Last edited by Cougar; September 26th, 2009 at 05:48 AM.
Reply With Quote
Old September 26th, 2009, 05:49 AM   #30 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Rastaman-FB View Post
Why are you using donut sdk when galaxy is on cupcake?
Are you asking me or Pegasus? I'm just using what Pegasus provided in his zips. I think he decided to use them as they were more up to date and he was able to hack the drivers to work with it so why not?

I'm going to give adb from 1.5 r3 ago now.
z0mbi3 is offline  
Reply With Quote
Sponsors
Old September 26th, 2009, 06:02 AM   #31 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

i was speaking to you sorry i should have been more specific zombi3
i dont think Pegasus is using x64 vista/window7. i could not get any of the drivers to work in 1.6 sdk. but you can just use the test drivers for x64/x86 in r3

Quote:
Originally Posted by Cougar View Post
Yeah, that's how I got the ADB info. I couldn't see it for fastboot though, all it came back with was "Android 1.0". Maybe just a timing issue?



I wasn't using the SDK, just installing it to extract the driver from it. I figured, latest SDK = latest driver set. The SDK version is irrelevant (and if you're really concerned, it contains dev tools for both 1.5 and 1.6 anyway).
the sdk is relevent as 1.6 does not have any android test drivers and the device does not get recognised by ADB i spent the best part of an 1hr messing around with all the drivers to work this out
i had this exact problem, you have about 10-15 seconds to link the android 1 device to the \android-sdk-windows-1.5_r3\usb_driver\amd64 or
\android-sdk-windows-1.5_r3\usb_driver\x86 and choose adb test

if you are running windows 7 you will need to choose browse for driver, all devices, have disk and then point it to it.

once i did this fastboot worked properly. it was doing my head in as there is no way to slow or pause the boot timer in fast boot
Rastaman-FB is online now  
Last edited by Rastaman-FB; September 26th, 2009 at 06:11 AM.
Reply With Quote
Old September 26th, 2009, 06:35 AM   #32 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The drivers Pegasus included actually works fine with Fastboot though, he modified them. I just can'tget adb to play ball. Says "error: device not found".

I don't need busybox but I'd like to have it.
z0mbi3 is offline  
Reply With Quote
Old September 26th, 2009, 06:42 AM   #33 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Quote:
Originally Posted by Rastaman-FB View Post
the sdk is relevent as 1.6 does not have any android test drivers and the device does not get recognised by ADB i spent the best part of an 1hr messing around with all the drivers to work this out
i had this exact problem, you have about 10-15 seconds to link the android 1 device to the \android-sdk-windows-1.5_r3\usb_driver\amd64 or
\android-sdk-windows-1.5_r3\usb_driver\x86 and choose adb test
I had the same problem. Getting it to pick up the debug connection was straight-forward, getting the fastboot to work was a sod. Once I'd got the correct IDs (courtesy of Pegasus), getting fastboot to work was a matter of removing the working adb bridge driver and reconnecting. If you've got the wrong settings in the .inf for fastboot and the bridge installs, it never retries the same driver. Once you've got the correct code in the .inf, if you then delete the bridge and reconnect the phone it works straight away.

I don't know about any 'test' drivers, I'm mostly making this up as I go along (-:
Cougar is offline  
Reply With Quote
Old September 26th, 2009, 07:01 AM   #34 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So any ideas why adb isn't working for me?
z0mbi3 is offline  
Reply With Quote
Old September 26th, 2009, 07:08 AM   #35 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 412
 
Device(s): HTC Sensation
Thanks: 3
Thanked 15 Times in 14 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

Phone in Debug mode?
Cougar is offline  
Reply With Quote
Old September 26th, 2009, 07:17 AM   #36 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

You're right. The adb driver in 1.6r1 isn't capable of connecting to the phone. Use the one in odin for adb.
pegasus21 is offline  
Reply With Quote
Old September 26th, 2009, 07:55 AM   #37 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I've changed my adb driver to the one that comes with odin, but I'm still getting "error: device not found". Any other ideas?
z0mbi3 is offline  
Reply With Quote
Old September 26th, 2009, 11:52 AM   #38 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

Quote:
Originally Posted by z0mbi3 View Post
Ok I've changed my adb driver to the one that comes with odin, but I'm still getting "error: device not found". Any other ideas?
adb with odin?

if its adb? just use the test ones i mentioned before within the usb drivers for 1.5 r3

so go into device manager and uninstall the android device/interface driver, unplug and reconnect the device
point the device driver wizard to the location of the android_usb.inf depending on your os type and pick the adv test interface.
adb will now be able to talk to the device when device is turned on

i noticed that if i am in recovery mode i have to unplug and replug the usb in order for adb to take the status from offline to ready
Rastaman-FB is online now  
Last edited by Rastaman-FB; September 26th, 2009 at 11:53 AM.
Reply With Quote
Old September 26th, 2009, 12:26 PM   #39 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 31
 
Device(s): Nexus One, Samsung Galaxy
Thanks: 0
Thanked 1 Time in 1 Post
Default

I got fed up of trying to install the fastboot driver in the 15 secs countdown (my pc must be getting old...) so I tried with the recovery flasher apk. Worked like a charm! Thank you so much for the procedure.

My only concern now is that as soon as I update to II5, where this way of rooting is no longer allowed, I don't know if I would be able to root. Could it possible to have the original firmware pre-rooted before flashing it with Odin?
danimar is offline  
Reply With Quote
Old September 26th, 2009, 01:07 PM   #40 (permalink)
Member
 
Join Date: Sep 2009
Posts: 105
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Rastaman-FB View Post
adb with odin?

if its adb? just use the test ones i mentioned before within the usb drivers for 1.5 r3

so go into device manager and uninstall the android device/interface driver, unplug and reconnect the device
point the device driver wizard to the location of the android_usb.inf depending on your os type and pick the adv test interface.
adb will now be able to talk to the device when device is turned on

i noticed that if i am in recovery mode i have to unplug and replug the usb in order for adb to take the status from offline to ready
Ok so I uninstalled the drivers replugged in the device,went to manaually select the drivers , have disk and all that, but it says "the specified location does not contain information about your hardware".

I think I'm close but this is starting to annoy me now!

edit:

Just pointing it to the driver directory installs the regular composite adb drivers and these don't work when using adb from the command line.

edit: ok scratch that adb is working now! brb

edit: and I'm done, adb all installed . Thats for the help Raster.
z0mbi3 is offline  
Last edited by z0mbi3; September 26th, 2009 at 01:19 PM.
Reply With Quote
Sponsors
Old September 26th, 2009, 01:47 PM   #41 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It is possible. Just find a way to rebuild the tar archive used in the odin flashing process and swap out recovery. While you're at it, you could also learn how to pre-root your kernel image. Not a straightforward process but you'll be able to do it for any new image that is released.
pegasus21 is offline  
Reply With Quote
Old September 27th, 2009, 06:28 PM   #42 (permalink)
Junior Member
 
Join Date: Sep 2009
Location: London
Posts: 85
 
Device(s):
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Thanks Cougar. It looks like I'm now running II5 thanks to your simplified instructions (and Dejan's blog).
hippy is offline  
Reply With Quote
Old September 28th, 2009, 03:38 AM   #43 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

this thread should actually be stickied
Rastaman-FB is online now  
Reply With Quote
Old September 28th, 2009, 12:29 PM   #44 (permalink)
Premium Member
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 10,584
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant
Thanks: 5
Thanked 203 Times in 98 Posts
Default

Quote:
Originally Posted by Rastaman-FB View Post
this thread should actually be stickied
I have added Search Tags to the thread that will make it easy to find using the TAG Search feature on this site ....

__________________
Help Us: Submit FAQ's You have answered over and over! Will add them to OUR FAQ LIB. Check out our FAQ's.... Also Check out our Tag Search.

Running 2 G1's & a MT3G(dMd64), Vibrant(rooted) : 1.) Legit G1=1.6 DRC83 // 2.) Rooted G1=CM's 4.2.15.1 (03/08/10), Recovery =RA 1.5.2

Link for --> G1 Dream ROOT GUIDE ///// Link for --> UN-ROOT GUIDE
.
justjimjpc is offline  
Reply With Quote
Old September 28th, 2009, 12:58 PM   #45 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 31
 
Device(s): Nexus One, Samsung Galaxy
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by pegasus21 View Post
It is possible. Just find a way to rebuild the tar archive used in the odin flashing process and swap out recovery. While you're at it, you could also learn how to pre-root your kernel image. Not a straightforward process but you'll be able to do it for any new image that is released.
Taking out the original recovery.img from the tar file and putting in the recovery.img from hdblog would be a very easy procedure. Too easy in fact, that's why I was wondering that maybe there's some kind of integrated data checksum or integrity checks during the flashing procedure that would prevent the flashing from being successful if I swap the recovery's. Anybody knows?

About the kernel pre-rooting thing... my linux knowledge is near zero, although I have a quite technical profile , so I would love to learn about it, any sources I can get informed from?
danimar is offline  
Reply With Quote
Old September 28th, 2009, 10:19 PM   #46 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

As far as I can tell, there isn't any checksum in recovery, kernel and system. There's one in the csc (cache). Both the recovery and kernel contains some code at the beginning of the image. The latter part is gz and cpio-ed. System is a yaffs2 image. Just unyaffs and mkbootimg to get it back.
pegasus21 is offline  
Reply With Quote
Old September 30th, 2009, 02:16 AM   #47 (permalink)
Junior Member
 
Join Date: Sep 2009
Location: Netherlands
Posts: 57
 
Device(s): HTC Desire - Stock 2.3.3
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by pegasus21 View Post

8. Remount the mount points with read/write access by typing into the command line "adb remount"
9. Once successful, upload busybox "adb push busybox /system/bin/busybox"
10. Set busybox to executable with "adb shell chmod 4755 /system/bin/busybox"
11. Next remove the cp command "adb shell rm /system/bin/cp"
12. Relink cp to busybox "adb shell ln -s /system/bin/busybox /system/bin/cp"
13. Optional: Install the other commands in busybox. "adb shell /system/bin/busybox --install -s /system/bin"

That's it. You now have a working su (root), superuser app installed to manage access to su and busybox for those who go through with steps 8-12/13.
Somehow I can't get adb remount (step 8) to run. I assume it has to be in recovery mode and the directory has to be the one that has all the downloaded files in them. However the command seems to do nothing. Any idea what I might be missing here?

In recovery mode I can see the list of options, enabled root su and made a backup with nandroid. So I believe all the earlier steps have been succesful.
nightcrow is offline  
Reply With Quote
Old September 30th, 2009, 04:00 AM   #48 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Did you use the adb driver from odin?
pegasus21 is offline  
Reply With Quote
Old September 30th, 2009, 04:07 AM   #49 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 5,841
 
Device(s): i7500@galax0-1.6.3.4 OC@710mhz HTC Desire - never ending modding
Thanks: 103
Thanked 917 Times in 775 Posts
Default

Quote:
Originally Posted by pegasus21 View Post
Did you use the adb driver from odin?
i noticed that when i did these steps it does not give confirmation of command being accepted
only reason i knew it was actually doing what i told it to is because when i got to 9. Once successful, upload busybox "adb push busybox /system/bin/busybox" it gave the amount of bites pushedi did this while in recovery mode and verified the files had been pushed to the device

it has however worked as im able to copy and paste files from protected locations to other locations on the device with no complaint from the system
Rastaman-FB is online now  
Last edited by Rastaman-FB; September 30th, 2009 at 04:21 AM.
Reply With Quote
Old September 30th, 2009, 09:04 AM   #50 (permalink)
Junior Member
 
Join Date: Sep 2009
Location: Netherlands
Posts: 57
 
Device(s): HTC Desire - Stock 2.3.3
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by pegasus21 View Post
Did you use the adb driver from odin?
I used the drivers you posted with the manual as a download. Should I be using another one for these last steps?

When I restart the command prompt and try the command at step number 9 I don't get a reaction either. The cursor just jumps to the next line and keeps blinking there. Weirdest thing is that after using adb I can't shut off my Vista (32bit) PC the normal way by using the start menu. I have to reboot by pressing the on/off button. What could be the cause of this?
nightcrow is offline  
Reply With Quote
Sponsors
Reply

Buy the Samsung i7500
Sign up for instant notification when the Samsung i7500 goes on sale!
Samsung i7500

When Samsung joined the Open Handset Alliance, excitement and anticipation engulfed the mobile world. With industry leading mobile phones such as the Samsung Instinct and Samsung Omnia already on the market, expectations soared. The speculation can f... Read More


Bookmarks

Tags
flash i7500, i7500 flash, i7500 root, root i7500


Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with rooting and flashing! androidnube Droid X - All Things Root 2 January 11th, 2011 11:43 AM
Rooting/Flashing? lronglien Captivate - Support and Troubleshooting 5 December 28th, 2010 12:46 PM
Rooting/Synching and flashing the ROM to 2.1 Cruxiaer Magic - All Things Root 0 June 9th, 2010 12:57 PM
Rooting/Flashing Help SJamG HTC Desire 7 April 21st, 2010 01:48 AM
Rooting after flashing ESE53? scheng12 Droid - All Things Root 3 March 15th, 2010 02:15 PM



All times are GMT -5. The time now is 03:23 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.