Difference between revisions of "I896"

From Hackepedia
Jump to navigationJump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Upgrade your Captivate to the SlimICS 3.9 Rom ==
+
My condition seems fairly unique:
  
* [http://www.slimroms.com/installation.htm Official page]
+
* Samsung Captivate (Model i896)
 +
* Rogers Wireless (Canada)
 +
* OSX (mac air, too small to install bootcamp)
  
* Download:
+
== Reference URLs ==
** [http://code.google.com/p/slimics39/downloads/list Download Slimgapps, Base and the Essentials for your phone]
+
 
** [http://www.cyanogenmod.com/devices Download CM9 for your phone]
+
* [http://gleez.com/articles/did-you-know/samsung-secret-codes Secret Samsung codes]
 +
* [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]
 +
 
 +
== Steps that worked for me ==
 +
 
 +
* Reference URL for  [http://wiki.cyanogenmod.com/wiki/Samsung_Captivate:_Full_Update_Guide#Installing_the_ClockworkMod_Recovery Installing Clockwork Recovery Mod on OSX]
 +
* Download [http://cmw.22aaf3.com/aries/sgh-i896/recovery/captivate-recovery-cwm5-kernel.tar kernel image]
 +
$ 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
  
* Process:
+
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:  
** [http://www.addictivetips.com/mobile/how-to-root-your-android-phone-device/ Root your android]
+
Checking the state of BML/MTD...
** [http://www.addictivetips.com/mobile/how-to-install-clockwork-recovery-to-your-android-phone/ Install ClockWork Mod (CWM)]
+
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:
  
== Reference URLs ==
+
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 ==
 +
 
 +
* [http://forum.xda-developers.com/showthread.php?t=1348617 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 [http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SGH-I896#Rogers_SGH-I896_STOCK_ROMS 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:
  
This is for the Samsung Captivate (Rogers Wireless Canada = Model = i896)
+
E: signature verification failed
  
* [http://gleez.com/articles/did-you-know/samsung-secret-codes Secret codes]
+
In order to resolve this, install something like Clockwork Recovery, which allows you to turn off signature checking.
* [http://forum.xda-developers.com/forumdisplay.php?f=703 XDA Forums]
 
* [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]
 
  
 +
== Outstanding issues ==
  
== Steps that worked for me ==
+
I can't seem to find a way to root this phone using OSX:
  
* [http://wiki.cyanogenmod.com/wiki/Samsung_Captivate:_Full_Update_Guide#Installing_the_ClockworkMod_Recovery Installing Clockwork Recovery Mod on 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.

Latest revision as of 10: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.