Results 1 to 19 of 19
Like Tree7Likes
  • 2 Post By tdm
  • 2 Post By thewraith420
  • 1 Post By clodfelterac
  • 2 Post By tdm
  1. Thread Author  Thread Author    #1  
    tdm
    tdm is offline
    tdm's Avatar

    Posts
    1,409 Posts
    Global Posts
    1,411 Global Posts
    ROM
    Quattrimus

    Default [RECOVERY] irecovery: wireless accessible recovery

    Introduction
    This is iRecovery, a "wireless recovery". It implements everything necessary to ssh into your device while it is booted into recovery.

    Hacked up using RA-thunderc-1.1.0-GNM and the IHO kernel.

    Why in the world would someone want such a thing? Well, glad you asked...

    The USB port on my phone recently started refusing to connect to the computer properly, so I have been unable to run ADB. This is probably not a big deal to the average user, but for a ROM developer, it is very frustrating. If a test ROM fails to boot, I can't just copy over another ROM with ADB and install it. I have two main options: (1) pop out the sdcard and copy the ROM onto it using a computer, or (2) install a known good ROM, boot into it, copy over another ROM via wireless, boot back into recovery, and finally install it. Both are very frustrating and waste time.

    Setup
    This is for advanced users only. If you don't understand the setup, you shouldn't be attempting it. I will not answer PM's regarding setup!

    * Copy your supplicant config to /sdcard/etc/wpa_supplicant.conf
    * Copy your SSH authorized key file to /sdcard/etc/dropbear/.ssh/authorized_keys
    * [optional] Generate SSH host keys using dropbearkey:
    /sdcard/etc/dropbear/dropbear_dss_host_key
    /sdcard/etc/dropbear/dropbear_rsa_host_key

    Note /sbin/start-network.sh does the configuration. If you have any questions, boot into the recovery and look at this script to see what is going on.

    Download

    md5: 7b73144a99f1a76c55d6e1b2904ab7c8

    Changes
    * Switched from sd-ext to sdcard
    * Added scp

    Future plans
    * Wireless adb
    * Command line ROM installer
    Last edited by tdm; 05-11-2012 at 12:06 AM.
    Thanked by 15:
    + Show/Hide list of the thanked
    JerryScript and theexile1 like this.
  2. #2  
    thewraith420's Avatar

    Posts
    1,624 Posts
    ROM
    Changes Daily

    Default

    Well tdm you never cease to amaze me. You show up out of nowhere and offline charging on iho gets fixed. Then you pull a working ics build out of your hat, and now this... Thanks for all your hard work to make our low budget phones not feel inferior.

    Sent from my LG-VM670 using Tapatalk 2
    Thanked by:
    tdm 
    cmerlyn and glarepate like this.
  3. #3  
    clodfelterac's Avatar
    Samurai Dev

    Posts
    736 Posts
    ROM
    IllusionB / OM

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    @tdm--- and for keeping those of us that are currently low/no budget up to date with the jones'... i cannot express how much respect i have for you, jerry, bob, leslie, tua, tvall, gannon, and all the other devs that i cant name off the top of my head that have made and continue to make great strides in the advancement of our little ov's... i am thoroughly impressed with all of you and your generous contributions to the community... :-)
    Last edited by clodfelterac; 05-10-2012 at 04:27 AM. Reason: enjoy---> http://www.youtube.com/watch?v=CJQU22Ttpwc&oref=http%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Dreggie%2Bwa
    Thanked by:
    tdm 
    cmerlyn likes this.
  4. #4  
    Badboytoast's Avatar

    Posts
    821 Posts
    Global Posts
    822 Global Posts
    ROM
    ICS 2.3.7/ tvall kernel

    Default

    :rolleyes: wow first cm9 now this recovery, you got mad skill! Thanks
    IF I Help You In Any Way Please Push The Thanks Button [HL]It Feels Good To Know You Helped!![/HL]
    Thanked by:
    tdm 
  5. #5  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,961 Posts
    Global Posts
    4,015 Global Posts
    ROM
    Stock

    Default

    Thanks TDM. I would be one of those that would like to use this recovery but do not have, nor do I intend to set up, an sd-ext partition. Don't fix it up on my account, just throwing it out there.

    Sent from my VM670 using Tapatalk 2
    Thanked by:
    tdm 
  6. Thread Author  Thread Author    #6  
    tdm
    tdm is offline
    tdm's Avatar

    Posts
    1,409 Posts
    Global Posts
    1,411 Global Posts
    ROM
    Quattrimus

    Default

    Switched to sdcard and added scp. Enjoy!
    Thanked by 4:
    cmerlyn and glarepate like this.
  7. #7  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,961 Posts
    Global Posts
    4,015 Global Posts
    ROM
    Stock

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    So, when I went to flash the recovery after completing all the other steps, every other time I've flashed a recovery as soon as I hit enter on the flash_image command it lists all the blocks being written to and all that. This time, I got nothing. Not any errors, but just...nothing. I don't want to risk getting stuck in a bootloop or anything so I don't plan on rebooting until someone can chime in on this. (If someone is going to say it didn't work because I didn't mount system first, it was already mounted.)



    I did read the first post, and only feel comfortable asking this question because I did understand the set-up process. This step is just not behaving like I expected it to and is throwing me for a loop. Apologies if this isn't okay to ask.
  8. #8  
    thewraith420's Avatar

    Posts
    1,624 Posts
    ROM
    Changes Daily

    Default

    Quote Originally Posted by cole2kb View Post
    So, when I went to flash the recovery after completing all the other steps, every other time I've flashed a recovery as soon as I hit enter on the flash_image command it lists all the blocks being written to and all that. This time, I got nothing. Not any errors, but just...nothing. I don't want to risk getting stuck in a bootloop or anything so I don't plan on rebooting until someone can chime in on this. (If someone is going to say it didn't work because I didn't mount system first, it was already mounted.)



    I did read the first post, and only feel comfortable asking this question because I did understand the set-up process. This step is just not behaving like I expected it to and is throwing me for a loop. Apologies if this isn't okay to ask.
    Double check the md5 and try flashing with flash image gui?

    Sent from my LG-VM670 using Tapatalk 2
  9. #9  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,961 Posts
    Global Posts
    4,015 Global Posts
    ROM
    Stock

    Default

    Md5 is fine. I see no reason why using the GUI would yield different results but I'll give it a shot later on.

    Sent from my VM670 using Tapatalk 2
  10. #10  
    sellers86's Avatar

    Posts
    1,823 Posts
    ROM
    CNA/CM9/Mirage

    Default

    Quote Originally Posted by cole2kb View Post
    So, when I went to flash the recovery after completing all the other steps, every other time I've flashed a recovery as soon as I hit enter on the flash_image command it lists all the blocks being written to and all that. This time, I got nothing. Not any errors, but just...nothing. I don't want to risk getting stuck in a bootloop or anything so I don't plan on rebooting until someone can chime in on this. (If someone is going to say it didn't work because I didn't mount system first, it was already mounted.)



    I did read the first post, and only feel comfortable asking this question because I did understand the set-up process. This step is just not behaving like I expected it to and is throwing me for a loop. Apologies if this isn't okay to ask.
    Mine doesn't give any output for recovery. The worst that'll happen is you will have to pull you battery and boot into the rom

    Sent from my LG-VM670 using Tapatalk
    Guess whos coming back!
  11. Thread Author  Thread Author    #11  
    tdm
    tdm is offline
    tdm's Avatar

    Posts
    1,409 Posts
    Global Posts
    1,411 Global Posts
    ROM
    Quattrimus

    Default

    Some flash_image binaries give output, some don't.
    Thanked by 2:
  12. Thread Author  Thread Author    #12  
    tdm
    tdm is offline
    tdm's Avatar

    Posts
    1,409 Posts
    Global Posts
    1,411 Global Posts
    ROM
    Quattrimus

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    I'll leave the image up as-is for now, but I switched back to using /sd-ext for the config (host keys and authorized_keys). This is because I want to share the files between recovery and the main ROM, and /sdcard is vfat and cannot put the proper permissions on the files.
  13. #13  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    This is way cool, nice work tdm. I've been waiting for someone to get wifi working in recovery. Now I get to do the pain in the rear work of implementing ROM Manager-like functions in CWMT Recovery. Download ROMs, Kernels, etc from within recovery, anyone?
    Thanked by 2:
    cmerlyntdm 
  14. #14  
    Badboytoast's Avatar

    Posts
    821 Posts
    Global Posts
    822 Global Posts
    ROM
    ICS 2.3.7/ tvall kernel

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    Even if you do reboot into recovery it should only take you to fast boot which is a blue screen! If it does not work, all you have to do once in this fast boot just remove the battery and power on your phone! It should boot normal, now flash your old recovery!
  15. #15  
    tvall's Avatar

    Posts
    584 Posts
    ROM
    cm9

    Default

    Quote Originally Posted by drewwalton19216801 View Post
    This is way cool, nice work tdm. I've been waiting for someone to get wifi working in recovery. Now I get to do the pain in the rear work of implementing ROM Manager-like functions in CWMT Recovery. Download ROMs, Kernels, etc from within recovery, anyone?
    That would be awesome!
    my roms & kernels (based on iho)

    If you'd like to donate to me, i accept litecoin, bitcoin, and hardware
    LTC - LTVALL5gsjPvgeiBWD7c6DHNWidbpzVu3w
    BTC - 1TVALLetFibDe8Zap5qPsqa4BAJWQYQ59
  16. #16  
    Badboytoast's Avatar

    Posts
    821 Posts
    Global Posts
    822 Global Posts
    ROM
    ICS 2.3.7/ tvall kernel

    Default Re: [RECOVERY] irecovery: wireless accessible recovery

    I wouldent recomend flash image gui.
  17. #17  
    jonny5449's Avatar
    AC Citizen

    Posts
    2,567 Posts
    ROM
    Cm7/Cm9/Cm10

    Default

    my optimus v friends love this thanks

    Hydro Rom
    768 MHz
    hydro kernel pre 4
    amphetimine
    Thanked by:
    tdm 
  18. #18  
    thewraith420's Avatar

    Posts
    1,624 Posts
    ROM
    Changes Daily

    Default

    Quote Originally Posted by Badboytoast View Post
    I wouldent recomend flash image gui.
    Why? I've used it successfully plenty of times...

    Sent from my LG-VM670 using Tapatalk 2
  19. #19  

    Default

    Quote Originally Posted by thewraith420 View Post
    Why? I've used it successfully plenty of times...

    Sent from my LG-VM670 using Tapatalk 2
    I agree, atleast with flash_image GUI there are protections against flashing wrong file on your recovery partition.

    sent from my Nokia 5110

Posting Permissions