Author Topic: [SOLVED] Problem with bootlace on iPhone 3G (4.0 (8A293)  (Read 827 times)

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
[SOLVED] Problem with bootlace on iPhone 3G (4.0 (8A293)
« on: December 13, 2010, 02:52:02 AM »
I have two iPhone 3gs running 4.0 (8a293). I downloaded bootlace 2.1.5 from cydia on both.  I believe that both were jailbroken with redsnow mac os x 0.9.6 b1. For the first iphone, bootlace ran with no complaints: openiboot and iDroid installed just fine and iDroid FroYo runs great. Thanks!

The second iphone 3g is more problematic. On the off chance that this was NOT jailbroken with 0.9.6 b1 as I thought, I found a version of 0.9.6 b1 red snow for mac os x and ran it to rejailbreak (nothing checked -- not even cydia, as the 3g was already jailbroken) the problematic phone with 4.0 (8a293). It went fine and the phone shut itself off. When I rebooted and reran Bootlace, I got the same problem as before: "checking compatibility -- error: kernel does not match any compatible jailbreaks. Jailbreak with redsn0w or PwnageTool and try again. OK". I deleted Bootlace and reinstalled Bootlace from Cydia and reran Bootlace. The problem occurred again.

I saw mention of backups in /system/library/caches/com.apple.kernelcaches being a potential problem on the forum -- there are none, just 4.1mb kernelcache.

/tmp/Bootlace.log says:

2021-12-12 21:45:48.799 Bootlace[231:a0b] -[commonFunctions getPlatform] [Line 120] Platform: iPhone1,2
2021-12-12 21:45:48.831 Bootlace[231:a0b] -[commonFunctions getSystemVersion] [Line 146] iOS Version: 4.0
2021-12-12 21:45:48.844 Bootlace[231:a0b] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 61] Configuration
2021-12-12 21:45:48.856 Bootlace[231:a0b] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 62] ==========================================
2021-12-12 21:45:48.867 Bootlace[231:a0b] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 63] console logfile = /var/tmp/Bootlace.log
2021-12-12 21:45:48.879 Bootlace[231:a0b] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 64] ==========================================
2021-12-12 21:45:48.890 Bootlace[231:a0b] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 65] Version: 4.0
2021-12-12 21:45:49.054 Bootlace[231:1803] -[OpeniBootClass opibPatchKernelCache] [Line 878] Checking device compatibility...
2021-12-12 21:45:49.813 Bootlace[231:1803] -[OpeniBootClass opibKernelMD5:] [Line 861] Kernel MD5: d3e1f6e77e65c3f102124396ad15d0f0
2021-12-12 21:45:49.886 Bootlace[231:1803] -[OpeniBootClass opibPatchKernelCache] [Line 938] No MD5 matches found, aborting...
2021-12-12 21:45:50.053 Bootlace[231:a0b] -[FirstLaunchViewController updateGUI:] [Line 71] Error triggered. Fail code: -3

I'd be happy to supply any other information that might help someone figure out what's going wrong here.

Thanks for reading this!

Piesia
« Last Edit: December 13, 2010, 11:05:01 PM by ddominator »

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
the WORKING 3g (where Bootlace worked without complaint) has the following /tmp/Bootlace.log file:

2021-12-12 22:01:00.636 Bootlace[126:613] -[commonFunctions getPlatform] [Line 120] Platform: iPhone1,2
2021-12-12 22:01:00.666 Bootlace[126:613] -[commonFunctions getSystemVersion] [Line 146] iOS Version: 4.0
2021-12-12 22:01:00.705 Bootlace[126:613] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 61] Configuration
2021-12-12 22:01:00.717 Bootlace[126:613] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 62] ==========================================
2021-12-12 22:01:00.728 Bootlace[126:613] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 63] console logfile = /var/tmp/Bootlace.log
2021-12-12 22:01:00.740 Bootlace[126:613] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 64] ==========================================
2021-12-12 22:01:00.752 Bootlace[126:613] -[BootlaceAppDelegate applicationDidFinishLaunching:] [Line 65] Version: 4.0
2021-12-12 22:01:17.244 Bootlace[126:613] -[HomeViewController webViewDidFinishLoad:] [Line 149] Initial load, checking for updates
2021-12-12 22:01:17.597 Bootlace[126:613] -[HomeViewController checkUpdates] [Line 87] No updates available for Bootlace currently.
 
It also had both a kernelcache (4.1 mb) and a kernelcache.backup (4.1 mb) file in /system/library/caches/com.apple.kernelcaches.

Thanks!

Piesia

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1084
  • Karma: +13/-2
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka
  • Jailbreak: Pwnage Tool
For the second nonworking 3g, when you rejailbreak, what options did you check?
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
during the rejailbreak, I checked nothing (not even Cydia), as the phone already had cydia installed. The jailbreak took about 10-15 minutes to finish on the phone after redsnow finished running on my mac.

Thank you!

Piesia

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1084
  • Karma: +13/-2
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka
  • Jailbreak: Pwnage Tool
Can you try to back up /private/var/mobile/Library/Preferences/be.dawson.bootlace.plist to your PC using SSH or iPhone Explorer? Then after back-up delete the file.
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
The non-working iphone 3g has no such file.

The working 3g does have such a file (given below). Should I try to copy this file over to the non-working phone?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>hasRunOnce</key>
   <true/>
   <key>hasRunTwice</key>
   <true/>
   <key>WebKitCacheModelPreferenceKey</key>
   <integer>1</integer>
   <key>WebKitLocalStorageDatabasePathPreferenceKey</key>
   <string>/var/mobile/Library/WebKit/LocalStorage</string>
   <key>WebKitOfflineWebApplicationCacheEnabled</key>
   <true/>
</dict>
</plist>

Thanks!

Piesia

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1084
  • Karma: +13/-2
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka
  • Jailbreak: Pwnage Tool
Er no don't do that.  If you don't have the .plist file, don't put one.

I am not Neonkoala, so what suggestions I offer may not be the exact answers.

It looks like the non-working one really has an incompatible kernel. I think a re-jailbreak is needed. Have you tried using a higher version of redsnow (0.96 b2, b5 etc)?

You aren't using any custom firmware of ipsw, are you?
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
no, I got my 4.0 ipsw straight from iCommunity (the link was on iphone-dev.org). I assume that it's the apple one.

I didn't think that I could use a later version of redsnow.

I have 0.9.6b6 redsnow for mac os x that I could try if you think it is compatible with bootlace.

Thanks!

Piesia

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
> I have 0.9.6b6 redsnow for mac os x that I could try if you think it is compatible with bootlace.

Sorry, posted too fast. I meant to add "and if rs 0.9.6b6 can jailbreak the iphone 3g from a 4.0 ipsw."

P.

I thought that redsnow versions were specific to certain firmware versions. If not, I'd be happy to try a later version of rs with the 4.0 firmware.

This is the link to the firmware i downloaded for the re-jailbreak:

http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7436.20100621.58Yt4/iPhone1,2_4.0_8A293_Restore.ipsw

I just tried loading my 4.0 firmware into rs 0.9.6b6, Red Snow gives the following error msg:
"Unable to recognize specified IPSW" when I browsed to the file iPhone1,2_4.0_8A293_Restore.ipsw, and tried to load it into RS.
« Last Edit: December 13, 2010, 06:43:27 PM by piesia »

Online Neonkoala

  • Global Moderator
  • Member
  • *****
  • Posts: 323
  • Karma: +3/-0
    • View Profile
    • Neonkoala.co.uk
  • iDevice: iPhone 3G, iPhone 4
  • iDroid Version: WobblyGibl3t 0.1b
  • Jailbreak: PwnageTool
Your kernel for the iPhone in the first post is incompatible so the problem is with your jailbreak method. I suggest you try redsn0w again. If that fails then restore and try it.
iPhone 3G | iPhone 4

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
When I try red snow again, should I try a different version? Which mac version would you recommend for Bootlace? Is the jailbroken kernel that's installed (or modified) rs-version dependant?

Sorry for all the questions, Bootlace worked great on the other phone (and was very easy to use), and I really enjoy using iDroid! I wouldn't have been able to do it without Bootlace...

Thanks very much!

Piesia

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1084
  • Karma: +13/-2
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka
  • Jailbreak: Pwnage Tool
Maybe the kernel was not changed when you re-jailbroke.

Try restoring in iTunes (normal restore), then jailbreak with redsn0w.
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!

Offline piesia

  • Member
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 3G
  • iDroid Version: iDroid MoJo v1.0.4.1
  • Jailbreak: PwnageTool 4
I tried redsnow 0.9.6b3, b4, b5 and b6, in newest to earliest order. None would recognize the iPhone 1,2 (iphone 3g) 4.0 firmware file.

redsnow 0.9.6b2 recognized it, and I used it to rejailbreak. b2 seemed to do a lot more than b1 did (at least, it was more obvious about it, giving me a lot more status msgs). I just got a message from b2 that sounds promising:

"Reboot required. Kernel successfully patched. Your device must be rebooted." and a nice Reboot button, which I've just pressed.

It is now a few minutes later. Bootlace started without complaint and I am now installing OpeniBoot.

It is now a few minutes later. OpeniBoot is installed and gave me the Remove or Configure screen, and I'm now installing iDroid 1.0.4.1.

It is now about 10 minutes later, iDroid is downloaded and I just quickbooted into it.

Thanks very much for getting me past my problem, you guys are the best! and thanks very much for your efforts on this project also...

Best regards,

Piesia

In closing, in order to install Bootlace on my troublesome iphone 3g, I needed to:

i) download the iPhone 3G 4.0 firmware from the iCommunity link given on iphone-dev.org

http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7436.20100621.58Yt4/iPhone1,2_4.0_8A293_Restore.ipsw

ii) download a copy of redsnow 0.9.6b2 for my os (the trickiest part, as many links no longer point to anything)

iii) run redsnow 0.9.6b2 and browse to the 4.0.ipsw that I downloaded in i) and let redsnow confirm that it is valid

iv) let redsnow 0.9.6b2 work its magic on my phone which was fully charged as well as plugged in by usb to the computer that I ran redsnow on.

v) leave your phone ALONE (still connected by usb) even after the redsnow app says it is finished as the processing on the phone isn't done yet.

At this point, run Bootlace normally to install first OpeniBoot and then iDroid.

Good luck!

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1084
  • Karma: +13/-2
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka
  • Jailbreak: Pwnage Tool
Glad to hear it is fixed and thank you for posting your solution.

I'll marked this as solved.
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!