Author Topic: Edit NVRAM of openiboot from iDroid  (Read 4496 times)

Offline d4ng3r

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 2G
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: whited00r
Edit NVRAM of openiboot from iDroid
« on: February 18, 2011, 04:15:43 PM »
First of all : Hello to everybody!
My iPhone 2G has the Power and Volume buttons broken, but i've managed to install iDroid anyway.
The problem is that from Bootlace i've set iDroid as default OS and now i can't boot anything else but iDroid.
I've read that openiboot saves the configuration on the NVRAM. How can i change the values in the NVRAM from iDroid? Or is there any other way to boot iOS or oicb? Or is there anyway to put the iPhone in DFU or Recovery Mode?(I've tried to press Home button and insert it in the USB but all it does is that it boots iDroid...).
Help me please!
And thank you for your attention.

Offline Peacemaker

  • Member
  • Posts: 202
  • Karma: +1/-8
  • WTF, boom.
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #1 on: February 18, 2011, 04:43:19 PM »
oh wow man, u could be screwed. umm, do u hav terminal experience? open terminal in idroid, then login as root. then just change boot values from there. if u don't know how 2 use terminal, then just reply and i'll tell u how to do it.
Meh. You wouldn't care.

Offline d4ng3r

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 2G
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: whited00r
Re: Edit NVRAM of openiboot from iDroid
« Reply #2 on: February 18, 2011, 04:48:52 PM »
First of all! You are a great person because you replied to this post!
I've got a bit of experience in the terminal but not allot!
How do i change the boot values?  ;D

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1422
  • Karma: +2/-1002
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka (ddominator custom)
  • Jailbreak: redsn0w 0.94
Re: Edit NVRAM of openiboot from iDroid
« Reply #3 on: February 18, 2011, 05:11:57 PM »
First of all! You are a great person because you replied to this post!
I've got a bit of experience in the terminal but not allot!
How do i change the boot values?  ;D
Sad to say but you can't change the boot values in Android Terminal.  There is no NVRAM support in iDroid. :(
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!
Useful links:
FAQ - http://www.idroidproject.org/wiki/FAQ
User Manual - http://www.idroidproject.org/wiki/User_Manual
Recovery Mode - http://www.idroidproject.org/wiki/DFU

Offline Neonkoala

  • Global Moderator
  • Member
  • *****
  • Posts: 348
  • Karma: +3/-0
    • View Profile
    • Neonkoala.co.uk
  • iDevice: iPhone 3G, iPhone 4
  • iDroid Version: WobblyGibl3t 0.1b
  • Jailbreak: PwnageTool
Re: Edit NVRAM of openiboot from iDroid
« Reply #4 on: February 18, 2011, 05:17:24 PM »
You would have to compile a version of OpeniBoot that ignores NVRAM flags that autoboots iOS or the Console and then reset the flags from there.
iPhone 3G | iPhone 4

Offline d4ng3r

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 2G
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: whited00r
Re: Edit NVRAM of openiboot from iDroid
« Reply #5 on: February 18, 2011, 05:22:07 PM »
I see.
I've also thought of compiling OpeniBoot so that i can change the iOS using the Home Button and leaving the timer so i can enter a determined OS. The thing is that i don't know how to replace the original OpeniBoot from iDroid.

Offline Peacemaker

  • Member
  • Posts: 202
  • Karma: +1/-8
  • WTF, boom.
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #6 on: February 18, 2011, 05:37:06 PM »
wait, try this. if the Home button works, turn off your phone, then hold Home while connecting it to your PC. hold it until Recovery shows up. then restore, or loadibec a new OpeniBoot.
Meh. You wouldn't care.

Offline d4ng3r

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPhone 2G
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: whited00r
Re: Edit NVRAM of openiboot from iDroid
« Reply #7 on: February 18, 2011, 05:53:54 PM »
I've tried that several times ,but all the times it booted iDroid instead of going in Recovery Mode.
I tried it in Windows, Ubuntu and also in MacOSx. :'(

Offline Rekoil

  • Administrator
  • Member
  • *****
  • Posts: 331
  • Karma: +1338/-1
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #8 on: February 18, 2011, 09:16:19 PM »
I would recommend iPhone surgery to be honest, replacing buttons isn't terribly hard, you can buy everything needed at http://cnn.cn/. I've used them before, they're good.
32gb factory unlocked iPhone 3GS with early bootrom and shsh for all available firmwares
others: 16gb iPhone 3G, 16gb iPhone 2G, 8gb iPod touch 1G, 16gb iPod touch 1G, aTV2

status

Offline Peacemaker

  • Member
  • Posts: 202
  • Karma: +1/-8
  • WTF, boom.
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #9 on: February 18, 2011, 11:54:24 PM »
or maybe you could try deleting the firmware and idroid folders in File Manager.
Meh. You wouldn't care.

Offline ddominator

  • Global Moderator
  • Member
  • *****
  • Posts: 1422
  • Karma: +2/-1002
  • Trust me, I'm a doctor.
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: Pepparkaka (ddominator custom)
  • Jailbreak: redsn0w 0.94
Re: Edit NVRAM of openiboot from iDroid
« Reply #10 on: February 19, 2011, 12:13:17 AM »
or maybe you could try deleting the firmware and idroid folders in File Manager.
If you *can* delete them, delete the idroid folder.  What that will do then is cause a boot loop in OpeniBoot and automatically boot into console instead of Android.

From there, you can:
1. uninstall OpeniBoot to prevent further craziness
2. or follow this: http://www.idroidproject.org/wiki/OpeniBoot#Configuring for setting your NVRAM flags.

Again, there are no reports if people are able to delete the idroid folder from within Android.  If it won't delete the folder, try deleting each of the 5 files manually, with zImage and android.img.gz being important files to delete (so that android won't boot).
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!  Sell your souls to Google!
Useful links:
FAQ - http://www.idroidproject.org/wiki/FAQ
User Manual - http://www.idroidproject.org/wiki/User_Manual
Recovery Mode - http://www.idroidproject.org/wiki/DFU

Offline Peacemaker

  • Member
  • Posts: 202
  • Karma: +1/-8
  • WTF, boom.
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #11 on: February 19, 2011, 12:31:11 AM »
or maybe you could try deleting the firmware and idroid folders in File Manager.
If you *can* delete them, delete the idroid folder.  What that will do then is cause a boot loop in OpeniBoot and automatically boot into console instead of Android.

From there, you can:
1. uninstall OpeniBoot to prevent further craziness
2. or follow this: http://www.idroidproject.org/wiki/OpeniBoot#Configuring for setting your NVRAM flags.

Again, there are no reports if people are able to delete the idroid folder from within Android.  If it won't delete the folder, try deleting each of the 5 files manually, with zImage and android.img.gz being important files to delete (so that android won't boot).
I've done it before. All you need to do is delete the contents, then it'll flash, then blank screen. Make sure you delete android.img.gz LAST.
Meh. You wouldn't care.

Offline Rekoil

  • Administrator
  • Member
  • *****
  • Posts: 331
  • Karma: +1338/-1
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #12 on: February 20, 2011, 02:14:17 PM »
Make sure you delete android.img.gz LAST.
And why would Order of deletion matter?
32gb factory unlocked iPhone 3GS with early bootrom and shsh for all available firmwares
others: 16gb iPhone 3G, 16gb iPhone 2G, 8gb iPod touch 1G, 16gb iPod touch 1G, aTV2

status

Offline Peacemaker

  • Member
  • Posts: 202
  • Karma: +1/-8
  • WTF, boom.
    • View Profile
Re: Edit NVRAM of openiboot from iDroid
« Reply #13 on: February 20, 2011, 06:27:24 PM »
Make sure you delete android.img.gz LAST.
And why would Order of deletion matter?
Actually, delete zImage last. The order matters because if you deleted zImage first, no touch. Delete android.img.gz first, iDroid GONE.
Meh. You wouldn't care.

Offline sjorge

  • Member
  • Posts: 25
  • Karma: +3/-0
    • View Profile
  • iDevice: iPhone 3G, iPhone 4
  • iDroid Version: Mojo 1.0.5
  • Jailbreak: PwnageTool
Re: Edit NVRAM of openiboot from iDroid
« Reply #14 on: February 24, 2011, 07:36:31 PM »
Make sure you delete android.img.gz LAST.
And why would Order of deletion matter?
Actually, delete zImage last. The order matters because if you deleted zImage first, no touch. Delete android.img.gz first, iDroid GONE.

This doesn't really make sense... deleting either zImage or android.img.gz will result in a non-booting idroid AFAIK