I896: Difference between revisions

From Hackepedia
Jump to navigationJump to search
No edit summary
 
Line 5: Line 5:
* OSX (mac air, too small to install bootcamp)
* OSX (mac air, too small to install bootcamp)


== Reference URLs (nothing verified working!) ==
== Reference URLs ==


* [http://gleez.com/articles/did-you-know/samsung-secret-codes Secret codes]
* [http://gleez.com/articles/did-you-know/samsung-secret-codes Secret Samsung codes]
* [http://forum.xda-developers.com/forumdisplay.php?f=703 XDA Forums]
* [http://forum.xda-developers.com/forumdisplay.php?f=703 XDA Forums for Captivate]
* [http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SGH-I897 XDA Wiki]
* [http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SGH-I897 XDA Wiki]
* [http://forum.xda-developers.com/showthread.php?t=761751 One Click Unlock]


== Steps that worked for me ==
== Steps that worked for me ==
Line 58: Line 57:
I can't seem to find a way to root this phone using OSX:  
I can't seem to find a way to root this phone using OSX:  


* If the One Click Root guy is reading this, please add "I896" to the models you search for, this model is missing.
* If the heimdall guy is reading this, on OSX I get "Tar header contained and invalid file size" for every package I try to open.
* If the heimdall guy is reading this, on OSX I get "Tar header contained and invalid file size" for every package I try to open.

Latest revision as of 09:33, 5 July 2012

My condition seems fairly unique:

  • Samsung Captivate (Model i896)
  • Rogers Wireless (Canada)
  • OSX (mac air, too small to install bootcamp)

Reference URLs

Steps that worked for me

$ tar xvf captivate-recovery-cwm5-kernel.tar
  • Start cellphone in download mode by holding volume down, power on, and plugging in the USB. Note: You have to have USB debugging turned on in system settings!
$ heimdall flash --kernel zImage

If you go on to "Method via Recovery", you might get what I did, in that right after starting step 9, it looks like it's getting ready to install the zip file:

Checking the state of BML/MTD...

after that, my phone with start to boot scroll by for about 4 seconds, and reboot in a loop. I re-entered Recovery mode, went to advanced, and chose to "Report error". from there on my osx machine:

adb pull /sdcard/clockworkmod/recovery.log

the last line of my log file showed:

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...

it seems that either my /data or /cache were corrupted, so simply wiping them wasn't enough. In recovery I went to mount options, and formatted both of these directories. Then I attempted to install the CM update.zip once again, this time with success!

rooting the phone with Skyrocket

  • Download the rootkit here
  • Be sure to add the "$adb wait-for-device" line as documented, to avoid the "Error: device not found" error.

Stock Rogers Wireless image

I needed to go back to the stock Rogers Wireless image on osx. I downloaded the stock image, and ran heimdall in download mode:

$ heimdall flash --primary-boot boot.bin --cache cache.rfs  --factoryfs factoryfs.rfs  --secondary-boot Sbl.bin --kernel zImage --verbose

Recovery Mode

Settings -> About Phone -> Build Number -> Gingerbread*

If you see this, you probably have noticed that when you boot in Recovery mode, it's using Android 3e, which requires the zip files to be digitally signed. If you try and install a zip file not signed, you'll get an error:

E: signature verification failed

In order to resolve this, install something like Clockwork Recovery, which allows you to turn off signature checking.

Outstanding issues

I can't seem to find a way to root this phone using OSX:

  • If the heimdall guy is reading this, on OSX I get "Tar header contained and invalid file size" for every package I try to open.