Jun 4, 2013

Dual Boot Your Samsung Galaxy Note 2

By
We don’t usually cover individual custom kernels here on the Portal for the simple reason that thanks to the development community, there are so many great options available that we wouldn’t have time to cover anything else. However, every once in a while, a kernel developer brings so much awesome to the table that it would be downright rude of us not to sit down and stuff our faces until we are fat and happy.

This is no ordinary Note 2 kernel. It’s a Linux 3.0.80 kernel based on the sources of the popular Perseus kernel that many Note 2 owners will no doubt be familiar with. The crucial (but by no means only) difference though is that Devil (in conjunction with DerTeufel1980′s custom recovery) will allow you to dual boot your device by splitting the system partition and enabling you to have two different ROMs installed at the same time—even a combination of AOSP- and TouchWiz-based ROMs.
This does take a little bit of setting up and there are some things that you will certainly want to be aware of before diving into this, so as always make sure to read through the details thoroughly before just throwing things at your device to see what sticks. Once set up, this is an incredibly beneficial option for those of you (and indeed myself) who are torn between a stock or AOSP firmware for this device. And yes, for those of you with an N7105 or AT&T/T-Mobile variant, you’re not being left out . There is a version of the kernel and recovery for these devices too.

This Kernel is based off the sources of AndreiLux Perseus Kernel (alpha35).

Quote:
Features (changes compared to Perseus):
- updated Linux Kernel base to 3.0.80
- DevilQ cpu governor (default)
- block updated from Linux 3.3 (better i/o performance)
- row i/o scheduler updated from Linux 3.4
- fiops v2 i/o scheduler
- working for Aosp and Sammy at once (Big thx to Gokhanmoral for making this possible)
- Portet Ezekeel's Touchwake Feature (from nexus s)
- Oc up to 2 Ghz
- using Joe RCU
- Backport from Linux 3.5 smp driver parts
- Cm Wifi driver (from D2 Linux 3.4 kernel)
- possibility to set high/low power mode for wifi when screen is off
- LulzactiveQ cpu governor (from siyahkernel, thx again to Gokhanmoral)
- Hotplug Cpu Governor
- Proportional Rate Reduction for TCP
http://kernelnewbies.org/Linux_3.2#h...7963f165302b6e
- improve memcopy/memmove
- Using Voodoo Sound
- mdnie: toggling mdnie negative effect with home button (Gokhanmoral)
- Reverted LED Control



For setting up the Kernel features (till my app is finished), I recommend using Trickster Mod (free)


Quote:
Dualboot Faq:


Important: if you want to use this kernel for dualboot, i highly recommend flashing my recovery as well.

General information about the recovery:
- the recovery does not mount /cache, /system or /data by default. if you want to perform any file modifications to either of your roms (wiping data, create/restore nandroid, fixing permissions,...), you have to use the dualboot menu before.
in this menu you can:
* create the secondary system partition (needed to be run once, if you want to install a second rom)
* enable mounting of primary filesystem
* enable mounting of secondary filesystem
if you have enabled the mounting of one of the filesystems, all the actions mentioned above are performed to the filesystem you selected. this filesystem stays the active one, unless you reboot to recovery, or you select the other one.

Install-zip menu:
you'll notice there is a new menu, where to select what you want to flash.
  • if you select kernel, rom or recovery, the zip gets installed as it is.
  • if you select zipt to pri./sec. filesystem, it is selfexplanary
  • if you select rom to secondary fs, the zip gets modified to install to the sec. fs. IF YOU WANT TO INSTALL IT TO PRIMARY FS LATER SOME TIME, YOU NEED TO REDOWNLOAD THE FILE!
  • if you select rom to primary filesystem, it gets installed there, and you can use the same zip later again.

How to install a second rom:
make sure you have already created ssecondary system partition! if not, go to dualboot menu and create it now (this may take some minutes)
  • The savest way is the way by using nandroids: if you don't have a nandroid already, create one now. Go to dualboot menu, enable mounting of primary fs (look above for details), go to nandroid menu and make your nandroid.
    go back to dualboot menu, enable mounting of secondary fs, then go to nandroid menu, and restore your backup.
    you now should already be able to boot into primary or secondary rom (which are both the same now).
    now you can install any other rom as primary.
  • if you want to install a new rom directly as secondary,
    make sure there are no spqaces in the filename!,
    then just go to install zip. you'll notuice there's a new menu at some point.
    in this menu you can select where you want to install, and what type of file it is.
    if you choose rom to sec. fs, your zip files itself gets modified to be installed to secondary fs. this may take a minute, because the files needs to get zipped again.Imporant: this file is permanently modified. if you think you need it later again, you should redownload it, because the modified one would always install as secondary.
    installing a rom as primary, a zip to primary or secondary fs, does not modify the zip.


Additional information:
  • roms coming with an aroma installer are hard to handle, as every dev can place own commands into it. It's impossible for me, to take care of every possibility. Because of this, it should be the best method, to flash a rom with aroma installer as primary one (and then move it to secondary, by using the nandroid method, if you want it to be secondary).
  • adb/mtp connections seems not to be working on second rom  i still try to find the cause of it, but it seems like no one knows anything about adb
    i myself got a working mtp on secondrom, by restoring a nandroid of my sammy rom to secondary fs (for which mtp already was working).


N7100 users please use the N7100 kernel
N7105, At&T + Tmo users please use the t0lte Kernel

0 comments:

Post a Comment

Back to Top