• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[KERNEL][SHIFT][DUALBOOT][TW/CM]09/22/14[LINARO]

Search This thread

rogersb11

Senior Member
Nov 18, 2013
3,345
6,888
Indianapolis
Shift Dual Boot/ TW and CM Kernel


This kernel supports both TouchWiz and CM Aosp, AOKP and probably others but untested

CPU GOVERNORS: lazy, smartass, smartassV2, ondemand, powersave, interactive, performance, userspace, pegasusq, zzmoove
default cpu governor: pegasusq
default I/O governor: cfq
CIFS & NFS Network FileSystems
F2FS/EXT4
kernel uses LZMA compression
OverClock to 2160
Boeffla Sound 1.6.6 (Use the control app from the play store)
Charge Control
TouchWake and Timeout support
Slide2Wake
DoubleTap2Wake
Mdnie HiJack

Compiled with Linaro GCC 4.9.2

STweaks is included to configure the kernel

Install Instructions: Standard flash in recovery, dual boot instrustions will be listed below

Downloads: Click

Dual Boot Support will REQUIRE PhilZ Touch Advanced from here: PhilZ

Dual boot instructions will be below BUT if installing TW be sure to install as primary whether it will be or not, it doesn't matter. The last used rom will boot by default but you will also be presented with a boot menu. Also TW Roms must be fully deknoxed or it is reported to not boot. I DO NOT own this device. Ramdisk was ported by @jlmancuso and also tested. So give him thank

XDA:DevDB Information
Shift-DualBoot-Kernel-I900, Kernel for the Sprint Samsung Galaxy Note II

Contributors
rogersb11, ketut.kumajaya
Kernel Special Features: Dual Boot TouchWiz or Aosp ROM, Aroma recovery boot menus with PhilZ Advanced touch

Version Information
Status: Stable
Current Stable Version: 2.7
Stable Release Date: 2014-09-22

Created 2014-09-06
Last Updated 2014-09-23
 

rogersb11

Senior Member
Nov 18, 2013
3,345
6,888
Indianapolis
Dual boot Instructions(will be updated)

4. "I want to setup dual booting."
A. There are four situations:-
1) Sammy rom now. Want to use aosp as secondary.
2) Sammy rom now. Want to use aosp as primary.
3) Aosp rom now. Want to use sammy as secondary.
4) Aosp rom now. Want to use sammy as primary.

Prerequisites for any setup is
a) Flash latest Shift kernel.
b) Flash latest Extended PhilZ Touch recovery from the OP
c) Atleast 90% battery left.
d) 3 GB free on internal SD.
e) Some spare time

1)Start out with a full wipe of everything including internal sdcard
i) Reboot into recovery
ii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create system.img of at least 1 GB for Secondary ROM and then exit tool as suggested. Now flash Primary ROM, flash shift kernel. Boot the primary ROM(again TW must be PRIMARY). Reboot to recovery and when boot menu is presented
iii) Reboot into secondary recovery (red on screen navigation buttons)
iv) Flash 2nd ROM
v) Flash Shift kernel again
vi)Choose booting ROM with AROMA boot menu on initial startup

2) Present sammy, setup aosp as primary:-
i) Reboot into recovery
ii) Nandroid backup your current sammy ROM
iii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create system.img for Samsung stock/stock based ROM and then close it
iv) Reboot into secondary recovery (red on screen navigation buttons)
v) Nandroid restore your sammy ROM as 2nd ROM
vi) Flash Shift kernel again
vii) Reboot into primary recovery
viii) Flash aosp ROM as 1st ROM
ix) Flash Shift kernel again

3) Present aosp, setup sammy as secondary:-
Same as (1), instead of flashing aosp to second, flash sammy to second.

4) Present aosp, setup sammy as primary:-
Same as (2), instead of flashing aosp to first ROM, flash sammy.

NOTE:
-To dual boot Two Aosp or Two Sammy roms, just follow (1) or (2) (depending on which one of them you want as primary/secondary), just flash Sammy instead of aosp or aosp instead of sammy.

5. "What things should I be taking care off while dealing with dual booting?"
A. - Make sure where you are: in primary or secondary recovery.

6. "How to boot into primary rom?"
A. AROMA based boot menu will help you on every boot.

7. "How to boot into secondary rom?"
A. AROMA based boot menu will help you on every boot.

8. "Is kernel partition shared?"
A. Yes. Same kernel boots both roms
 
Last edited:

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
FYI this will only work on fully deknoxed tw roms!!! Which right now is my stock NE2 1.2.


If the rom you are using does not want to work there are a few steps you can do (suggest you do this to the zip before flashing)

Remove any apps that say knox (although I am pretty sure all custom versions have this done already)

DO NOT EDIT MY STOCK 1.2!!!

These are the steps I used to get Classic Priest Punch working


/system/app
delete universalmdmclient.apk

/system/priv-app remove klmsagent.apk

/system/lib
remove libknox_encryption.so

/system
delete container (leave containers or add if not there)

then in build.prop
change ro.config.knox=v30 to =0

ro.config.dha_empty_max_knox=0
 
Last edited:

skye206

Senior Member
Jun 19, 2011
431
69
Dover De
Do I need the latest philz to flash this or just when using dual boot ?

I am on the stock ne2. I can't get past my lock screen. It just freezes, then turns completely black requiring a battery pull.

Sent from my SPH-L900 using XDA Free mobile app
 

skye206

Senior Member
Jun 19, 2011
431
69
Dover De
Did the download link get removed? It takes me to Latest Threads.

Sent from my SPH-L900 using XDA Free mobile app

1410013828214.jpg

Sent from my SPH-L900 using XDA Free mobile app
 

deviouskind

Senior Member
Feb 17, 2013
242
25
Baltimore
That is my problem... I cannot even get to that page. When I click on the download link to get to the page you are referring to, it takes me back to latest posts within XDA app. I would need the URL to the download page.

The screenshots show what I mean.

Sent from my SPH-L900 using XDA Free mobile app
 

Attachments

  • 1410014608099.jpg
    1410014608099.jpg
    89.9 KB · Views: 423
  • 1410014644313.jpg
    1410014644313.jpg
    47.8 KB · Views: 394

skye206

Senior Member
Jun 19, 2011
431
69
Dover De
Last edited:
  • Like
Reactions: deviouskind

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
Hey this will not run on chazs or rwilcos roms. Knox is giving this kernel major problems. Every last bit of knox files must be removed from the rom or this kernel wont boot. Hope to have a knox friendly version very soon. Also for aosp roms they must be cm based.

Sent from my SPH-L900 using XDA Premium 4 mobile app
 
  • Like
Reactions: Chaz187

Chaz187

Inactive Recognized Themer
Sep 5, 2011
3,406
4,856
Orange city
Hey this will not run on chazs or rwilcos roms. Knox is giving this kernel major problems. Every last bit of knox files must be removed from the rom or this kernel wont boot. Hope to have a knox friendly version very soon. Also for aosp roms they must be cm based.

Sent from my SPH-L900 using XDA Premium 4 mobile app
After I remove those 2 files you said I missed it should be fine correct
 

huytrang90

Senior Member
Dec 22, 2010
683
78
Hey this will not run on chazs or rwilcos roms. Knox is giving this kernel major problems. Every last bit of knox files must be removed from the rom or this kernel wont boot. Hope to have a knox friendly version very soon. Also for aosp roms they must be cm based.

Sent from my SPH-L900 using XDA Premium 4 mobile app
Well it flashes and booted the first time. Then all go nut with constant reboot. Thanks for letting me know. If there are files I can manually remove to use this please let me know. I'm on Chaz Classic stock.

Observation: I don't see option to change voltage, only overclock when it was running.
 

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
After I remove those 2 files you said I missed it should be fine correct

I will go through your rom and make a list of everything you need to remove. I will hit you back on hangouts with the info.


Now voltages are in stweaks you need to look a little better next time.

Sent from my SPH-L900 using XDA Premium 4 mobile app
 

Attachments

  • 1410022515026.jpg
    1410022515026.jpg
    108.3 KB · Views: 199
  • Like
Reactions: Chaz187

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Shift Dual Boot/ TW and CM Kernel


    This kernel supports both TouchWiz and CM Aosp, AOKP and probably others but untested

    CPU GOVERNORS: lazy, smartass, smartassV2, ondemand, powersave, interactive, performance, userspace, pegasusq, zzmoove
    default cpu governor: pegasusq
    default I/O governor: cfq
    CIFS & NFS Network FileSystems
    F2FS/EXT4
    kernel uses LZMA compression
    OverClock to 2160
    Boeffla Sound 1.6.6 (Use the control app from the play store)
    Charge Control
    TouchWake and Timeout support
    Slide2Wake
    DoubleTap2Wake
    Mdnie HiJack

    Compiled with Linaro GCC 4.9.2

    STweaks is included to configure the kernel

    Install Instructions: Standard flash in recovery, dual boot instrustions will be listed below

    Downloads: Click

    Dual Boot Support will REQUIRE PhilZ Touch Advanced from here: PhilZ

    Dual boot instructions will be below BUT if installing TW be sure to install as primary whether it will be or not, it doesn't matter. The last used rom will boot by default but you will also be presented with a boot menu. Also TW Roms must be fully deknoxed or it is reported to not boot. I DO NOT own this device. Ramdisk was ported by @jlmancuso and also tested. So give him thank

    XDA:DevDB Information
    Shift-DualBoot-Kernel-I900, Kernel for the Sprint Samsung Galaxy Note II

    Contributors
    rogersb11, ketut.kumajaya
    Kernel Special Features: Dual Boot TouchWiz or Aosp ROM, Aroma recovery boot menus with PhilZ Advanced touch

    Version Information
    Status: Stable
    Current Stable Version: 2.7
    Stable Release Date: 2014-09-22

    Created 2014-09-06
    Last Updated 2014-09-23
    12
    FYI this will only work on fully deknoxed tw roms!!! Which right now is my stock NE2 1.2.


    If the rom you are using does not want to work there are a few steps you can do (suggest you do this to the zip before flashing)

    Remove any apps that say knox (although I am pretty sure all custom versions have this done already)

    DO NOT EDIT MY STOCK 1.2!!!

    These are the steps I used to get Classic Priest Punch working


    /system/app
    delete universalmdmclient.apk

    /system/priv-app remove klmsagent.apk

    /system/lib
    remove libknox_encryption.so

    /system
    delete container (leave containers or add if not there)

    then in build.prop
    change ro.config.knox=v30 to =0

    ro.config.dha_empty_max_knox=0
    8
    Been busy but haven't forgot about you guys. I know last release here wouldn't boot correctly. I'm gonna redo your whole ramdisk at some point this week and get you guys rolling again

    Sent from my SGH-I317 using XDA Premium 4 mobile app
    7
    Dual boot Instructions(will be updated)

    4. "I want to setup dual booting."
    A. There are four situations:-
    1) Sammy rom now. Want to use aosp as secondary.
    2) Sammy rom now. Want to use aosp as primary.
    3) Aosp rom now. Want to use sammy as secondary.
    4) Aosp rom now. Want to use sammy as primary.

    Prerequisites for any setup is
    a) Flash latest Shift kernel.
    b) Flash latest Extended PhilZ Touch recovery from the OP
    c) Atleast 90% battery left.
    d) 3 GB free on internal SD.
    e) Some spare time

    1)Start out with a full wipe of everything including internal sdcard
    i) Reboot into recovery
    ii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create system.img of at least 1 GB for Secondary ROM and then exit tool as suggested. Now flash Primary ROM, flash shift kernel. Boot the primary ROM(again TW must be PRIMARY). Reboot to recovery and when boot menu is presented
    iii) Reboot into secondary recovery (red on screen navigation buttons)
    iv) Flash 2nd ROM
    v) Flash Shift kernel again
    vi)Choose booting ROM with AROMA boot menu on initial startup

    2) Present sammy, setup aosp as primary:-
    i) Reboot into recovery
    ii) Nandroid backup your current sammy ROM
    iii) Select "Run Aroma Dual Boot Tool" in Advaced Menu, create system.img for Samsung stock/stock based ROM and then close it
    iv) Reboot into secondary recovery (red on screen navigation buttons)
    v) Nandroid restore your sammy ROM as 2nd ROM
    vi) Flash Shift kernel again
    vii) Reboot into primary recovery
    viii) Flash aosp ROM as 1st ROM
    ix) Flash Shift kernel again

    3) Present aosp, setup sammy as secondary:-
    Same as (1), instead of flashing aosp to second, flash sammy to second.

    4) Present aosp, setup sammy as primary:-
    Same as (2), instead of flashing aosp to first ROM, flash sammy.

    NOTE:
    -To dual boot Two Aosp or Two Sammy roms, just follow (1) or (2) (depending on which one of them you want as primary/secondary), just flash Sammy instead of aosp or aosp instead of sammy.

    5. "What things should I be taking care off while dealing with dual booting?"
    A. - Make sure where you are: in primary or secondary recovery.

    6. "How to boot into primary rom?"
    A. AROMA based boot menu will help you on every boot.

    7. "How to boot into secondary rom?"
    A. AROMA based boot menu will help you on every boot.

    8. "Is kernel partition shared?"
    A. Yes. Same kernel boots both roms
    5
    Reuploaded 3.1 to include the latest mali blobs from samsung. That should alleviate some issues. Also I know someone mention camera causing reboot and I haven't had time to go over the logs but the can't connect to camera issue has been fixed in the 7105 area. The mali blobs not being in the zip could have caused some of the issues as the kernel looks for the new ones. They are there now, my mistake. Forgot to update the zip before I uploaded the last time

    http://forum.xda-developers.com/devdb/project/?id=5709#downloads