ENV varibales dont get cleared on restore

Discussion in 'iPod touch 2G Jailbreak: redsn0w, 24kpwn, etc.' started by hipy, Mar 12, 2009.

  1. hipy

    hipy New Member

    Joined:
    Feb 13, 2009
    Messages:
    559
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Hello

    I have a big problem with my ipod.

    somehow it does not clear the env variables on restore ( Wich is the result of stuck boot logo even in a fresh restore )

    i did fresh restore and this is when powerd on ( recovery logo connect to itunes )

    the env list:

    Code:
    (Recovery) iPhone$ printenv
      config_board = 'n72ap'
      loadaddr = '0x9000000'
      boot-command = 'fsboot'
      idle-off = 'true'
      boot-device = 'nand0'
      boot-partition = '0'
      display-color-space = 'RGB888'
      display-timing = 'n72'
    P bootdelay = '0'
    P platform-uuid = <DATA>
    P backlight-level = '198'
    P rs = 'arm7_stop;mw 0x9000000 0xe59f3014;mw 0x9000004 0xe3a02a02;mw 0x9000008 0
    xe1c323b4;run rs1'
    P rs1 = 'mw 0x900000c 0xe59f300c;mw 0x9000010 0xe3e02000;mw 0x9000014 0xe503223f
    ;run rs2'
    P rs2 = 'mw 0x9000018 0xeaffffe;mw 0x900001c 0x0ff1a100;mw 0x9000020 0x0ff2afff;
    arm7_go;run rs3'
    P rs3 = 'sha1 0x8000000 0x3000000;arm7_stop;mw 0xff006d4 0x21906943;mw 0xff006d8
     0x68da6898;run rs4'
    P rs4 = 'mw 0xff006dc 0x9300699b;mw 0xff006e0 0x69c40509;mw 0xff006e4 0x47a02300
    ;run rs5'
    P rs5 = 'mw 0xff006e8 0xf0002000;mw 0xff006ec 0xe002fde3;tsys'
    P boot-path = '/System/Library/Caches/com.apple.kernelcaches/kernelcache.s5l8720
    p'
    P auto-boot = 'true'
      image-version = '0x3'
      framebuffer = '0xfb04000'
      secure-boot = 0x1'
      filesize = '0x19894'
    (Recovery) iPhone$
    
    
    ^This is done with ibss2.1.1 and then irecovery -s. This is 2.2.1 firmware ( NOT JAILBROKEN ) standard apple


    as you might see you see the run rs stuff wich should be gone..

    For the record: i DFU restored!

    Is there a way to manual clear my env list? or does anybody know a solution

    Thanks in advance!!

    hipy

    edit:

    Neobrendadn, i want to thank you.
    i was trying to do setenv rs1 "" ( etc ) but now with your command finally it works again!!!

    i want to thank you so much

    Please Register or Log in to view images



    and also thank you to Dhowett, CPICH, posixninja and lots of others!
  2. neobrendan

    neobrendan New Member

    Joined:
    Jan 31, 2009
    Messages:
    71
    Likes Received:
    0
    Device:
    2G iPod touch
    ok use irecovery -s
    clearenv 1
    saveenv
  3. adamscybot

    adamscybot New Member

    Joined:
    Dec 19, 2007
    Messages:
    147
    Likes Received:
    0
    Yes, they arent removed upon restore.

    Do the above.
  4. hipy

    hipy New Member

    Joined:
    Feb 13, 2009
    Messages:
    559
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Neobrendadn, i want to thank you.
    i was trying to do setenv rs1 "" ( etc ) but now with your command finally it works again!!!

    i want to thank you so much

    Please Register or Log in to view images



    and also thank you to Dhowett, CPICH, posixninja and lots of others!
  5. Legendairy

    Legendairy New Member

    Joined:
    Feb 1, 2009
    Messages:
    379
    Likes Received:
    0
    Device:
    2G iPod touch
    I posted this exactly in another thread about you having problems...

    Just to correct 100% i would do the following:

    in recovery mode:

    irecovery -s
    clearenv 1
    setenv boot-path
    setenv auto-boot true
    saveenv

    and reboot

    that fixes every problem you might have after restoring or if you get an error while restoring.

    this is because itunes sets "setenv auto-boot FALSE" while restoring and if it cancels out then your ipod will not boot

    "clearenv 1" clears out commands by run rs
    and "setenv boot-path" clears the boot path from semi-tethered
  6. neobrendan

    neobrendan New Member

    Joined:
    Jan 31, 2009
    Messages:
    71
    Likes Received:
    0
    Device:
    2G iPod touch
    I wish I would have been able to find your command when I was trying to fix mine but only clearenv worked for me.

    No problem. I don't mind helping people as long as try have an idea of what they are doing
  7. AllenH

    AllenH Member

    Joined:
    Nov 21, 2008
    Messages:
    60
    Likes Received:
    0
    Device:
    2G iPod touch
    What if when trying to send these commands you get "ERROR" ? It appears I can send files (patched ipsw's etc etc.), but can't send commands! It's horrible!

    Please Register or Log in to view images

    [failed bdev, failed write nor0 ..... - that's the history of this problem]

Share This Page