[Mod] Big Update! 2ndInit!


Last Updated: 2011-06-29 00:49:09
  1. dlamber7

    dlamber7 Well-Known Member

    Awesome news guys! I have successfully ported the 2ndInit Recovery to the C2! I replaced the Defy recovery with the recovery I worked up. As of right now, I do not have an apk to install it, it will require the use of ADB.

    Thanks to the Korean developers that created the 2ndInit method for the Defy, without them, none of this were possible. Also thanks to polovinamozga and bdoc from xda for helping me get a working recovery, and my GRP team for helping me getting started. Also thanks to ksubedi on xda for adb instructions on the xda.

    **As always, not responsible for what does or doesn't happen to your device. If you aren't comfortable with voiding your warranty, do not attempt.**

    Create a folder on the root of your sd card called bootmenu. Download this file and unzip it to your sd in the bootmenu folder you created.

    Once completed, run the following commands to install.

    Code (Text):
    1. C:/> adb shell
    2. $ su
    3. # cp -R /sdcard/bootmenu /data/bootmenu
    4. # cd /data/bootmenu
    5. # chmod 755 *
    6. # ./install.sh
    7. # rm -R /data/bootmenu
    This installs the bootmenu onto your phone. Once the commands are complete, turn off USB Debugging and reboot your phone once. Allow it to reboot. To get into recovery, reboot your phone again. When powering on, after the red LED turns off, a blue LED will show up briefly. When you see the blue LED, press the volume down button. Android BootMenu will display. Use volume buttons to navigate to [Custom Recovery] start. and press the volume button. Use volume buttons again to navigate CWMR, but use the camera button to select. If you get into a menu with no Go Back option, slide open the keyboard and use the delete button to go back.

    Advertisement
    Moto Mouth, tattedman and sookieball like this.
  2. sookieball

    sookieball Well-Known Member

    Wow! This is incredible!

    Thanks so much for all your work and to those who helped you out!


    "?" What works?
    Nandroid backup?
    Restore?

    All that good stuff?!


    Edit:

    as always with my luck...
    im running adb on mac desktop..

    this is what i got...


    $ adb shell
    $ su
    # cp -R /sdcard/bootmenu /data/bootmenu
    cp: /sdcard/bootmenu: No such file or directory
    # cp-R /sdcard/bootmenu /data/bootmenu
    cp-R: not found
    # co -R, /sdcard/bootmenu /data/bootmenu
    co: not found
    # cp -R, /sdcard/bootmenu /data/bootmenu
    unknown option -- ,usage: cp [-Rfhip] src target;
    cp [-Rfhip] src1 ... srcN directory
    # cd /data/bootmenu
    cd: can't cd to /data/bootmenu
    # /cp -R /sdcard/bootmenu /data/bootmenu
    /cp: not found
    # /adb cp -R /sdcard/bootmenu /data/bootmenu
    /adb: not found
    # /cp -R /sdcard/bootmenu /data/bootmenu
    /cp: not found
    #



    any suggestions?


    Edit 2:

    i think i figured it out... look for edit 3.
  3. tattedman

    tattedman Well-Known Member

    OK for windows 7 to be able to adb you have to go to application-> development -> keep awake before the su command. or else you will get permission denied

    other than that good work... Now i can finish my rom and test it finally

    one suggestion though hah can you make the text a little bigger? I had to take a pic of the recovery on my other phone and zoom in
    sookieball likes this.
  4. tattedman

    tattedman Well-Known Member

    did you remount the sdcard?
    sookieball likes this.
  5. sookieball

    sookieball Well-Known Member

    Kewl dude ill try it out and get back to ya'll
  6. sookieball

    sookieball Well-Known Member

    haha
    yeah i remembered the sdcard
  7. tattedman

    tattedman Well-Known Member

    interesting..... btw have you seen the eccentric rom post
  8. sookieball

    sookieball Well-Known Member

    yeah .... i think... i know i checked it out... hold up...

    damn it i cant get the damn thing to install!!!

    it gives me some crap that looks like this that IDK WTF it means!


    wiifiiiiii:~ stevenavarro$ adb shell
    $ su
    # cp -R /sdcard/bootmenu/data/bootmenu
    usage: cp [-Rfhip] src target;
    cp [-Rfhip] src1 ... srcN directory
    # cd /data/bootmenu
    # chmod 755 *
    # ./install.sh
    ./install.sh: not found
    # install ./install.sh
    BusyBox v1.18.4 (2011-03-20 15:16:04 CDT) multi-call binary.

    Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST

    Copy files and set attributes

    Options:
    -c Just copy (default)
    -d Create directories
    -D Create leading target directories
    -s Strip symbol table
    -p Preserve date
    -o USER Set ownership
    -g GRP Set group ownership
    -m MODE Set permissions

    # rm -R /data/bootmenu
    # reboot


    btw, i have used adb before but had someone walking me step by step trouble shooting with me..
  9. dlamber7

    dlamber7 Well-Known Member

    Yeah, I'll try and get it bigger

    Backup and restore definitely work. Haven't made a rom yet to flash zip, but can't foresee it not working.
  10. tattedman

    tattedman Well-Known Member

    Zip dont work to flash "update.zip" keeps corrupting it .... I am working on the sbf just having issues recompiling it..... Once done I will try making ndroid backup and restoring it one that,is acomplished ladies and gents we will have our first custom rom for the cliq2
  11. dlamber7

    dlamber7 Well-Known Member

    Don't use it to do update.zip. Use Choose zip from SD.


    Also, I'm leaving tomorrow for a 2 week vacation, so I won't be able to help much, if at all. But tattedman, I can help out via GTalk sometimes.
  12. tattedman

    tattedman Well-Known Member

    sorry i was at work writing that .... I was dead asleep ha I was flashing from sd..... I almost got the sbf done only a few mbs off of what size it needs to be

Share This Page