[DEV|WIP] Dualboot Kernel [GSM|CDMA-WIP]

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Credits:
    DooMLoRD - BootManager and recoveries, autorooting and his scripts
    Jerpelea (FXP) - zImage (kernel), boot splash logo :)
    z - busybox knowledge, and his loop mount script.

    GSM Only atm, CDMA not done yet, WIP.

    Download:
    Dualboot Kernel GSM: http://icxperia.com/keiran/r800i/dualboot.img
    Data EXT2 image (~250MB), http://icxperia.com/keiran/r800i/data.ext2

    How to dualboot:
    What you will need:
    An SD Card
    ADB
    Fastboot
    7zip or alternative(Archive manager on linux is good)
    Notepad++(gedit is good)

    First, flash the dualboot.img
    Code:
    fastboot flash boot dualboot.img

    How to partition SD Card for dual boot:
    Code:
    adb shell
    sdparted -es 1024M -ss 0
    When prompted to accept, make sure you use a capital Y :)
    This operation will wipe your sd card :O lol
    when it is done, type:
    Code:
    exit
    in the command prompt/terminal :)


    Now, put the data.ext2 image in the same folder as adb is :)

    Second of all, you want to mount your second SD Card partition, using your computer with USB debugging enabled do this:
    Code:
    adb shell
    busybox mount /dev/block/mmcblk0p2 /sd-ext
    exit

    then push the data partition image:
    Code:
    adb push data.ext2 /sd-ext/data.ext2

    Now you have your system partition and data image set up for dualboot, you are also running a dualboot kernel :)

    next thing to do is modify a ROM for boot from SD :)
    We shall use CM7 in this example :)
    Unzip the ROM, and go to /META-INF/com/google/android/ then open updater-script in notepad++, it will not work otherwise
    Look for the lines:
    Remove these lines:
    Code:
    assert(getprop("ro.product.device") == "R800i" || getprop("ro.build.product") == "R800i" || getprop("ro.product.board") == "R800i" || 
           getprop("ro.product.device") == "R800a" || getprop("ro.build.product") == "R800a" || getprop("ro.product.board") == "R800a" || 
           getprop("ro.product.device") == "R800at" || getprop("ro.build.product") == "R800at" || getprop("ro.product.board") == "R800at" || 
           getprop("ro.product.device") == "zeus" || getprop("ro.build.product") == "zeus" || getprop("ro.product.board") == "zeus");
    also, remove:
    Code:
    format("yaffs2", "MTD", "system");
    also, replace:
    Code:
    mount("yaffs2", "MTD", "system", "/system");
    with
    Code:
    set_perm(0, 0, 0777, "/sbin/systemsd.sh");
    run_program("/sbin/systemsd.sh");
    then save, then zip, then push to phone :)
    Then, flash the update.zip (after doing a NANDROID) then boot phone into NAND.
    To boot into SD ROM, do this:
    Open terminal emulator and do the commands:
    Code:
    su
    cd cache
    cd recovery
    touch dualboot
    reboot
    And you will reboot into SD ROM :)
    You will not be able to use darktremor a2sd or any other a2sd script with any of the ROM's, but, you will be able to use standard stock rom app2sd, in CyanogenMod go into CM settings, then application then set install location to internal to avoid conflicts with .android_secure on both ROM's :)

    Kernel source:
    https://github.com/freexperia/semc-kernel-msm7x30
    Keiran
    6
    Whoa....
    Just done a quadrant from the rom of the SD - CM7, I got amazing IO speeds, probably because my SD card reads faster than NAND....
    But, no overclock, Max,1GHz, min 144MHz, interactive:

    52848b24-daf8-08c0.jpg

    Look at the green IO bit... lol looks like SD can boost performance ;)

    Sent from my R800i
    4
    I am working on this, but I need some help from DooMLoRD or keiranftw

    Sent from my LT22i using xda app-developers app
    3
    i was thinking about creating a aroma based install for this / android app for this to make it really easy to dualboot. will start this when v2 is released

    KEIRANFTW do you know if any1 other than you has got this working yet? i keep trying but keep failing. also

    OFF-TOPIC but your forum on your site aint working. Table './eddie_dfg/smf_sessions' is marked as crashed and should be repaired
    3
    Keiran, once you are done with exams, could you develop the dualboot kernel for AOSP ICS ROMs?

    Yes,
    Maybe even more sensible method too :)


    Sent from my Xperia Play using Tapatalk 2