[Kernel - Linux 3.4 Hybrid] Devil3.4_0.1.4 - Aosp&Sammy - Dualboot - 16/03

Search This thread

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,368
27,668
This Kernel is based off the sources of AndreiLux Perseus Kernel (alpha35).
If you consider to thank me, please also consider to thank him http://xdaforums.com/showthread.php?t=1927852

This kernel only supports roms of android version 4.3.x (sammy and aosp) and 4.4.x!

You can dualboot any of those roms


if you were using this kernel on aosp based roms, and want to use another kernel, you need to reflash the rom, of course without any wipe, it's just to restore modified files

Features (changes compared to Perseus):
- merges samsung open source update12
- dual sound engine
- compiled with linaro gcc 4.8.3
- updated Linux Kernel base to 3.0.101
- updated block subsystem (i/o schedulers) to linux 3.4
- updated memory management subsystem to linux 3.4
- partial updated kernel main system to linux 3.4 (current work in progress)
- zram, zsmalloc and lowmemorykiller updated from 3.9
- DevilQ cpu governor (default)
- 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.0 Ghz
- Backport from Linux 3.5 smp driver parts
- Wifi driver updated from note3
- backported zswap from linux 3.13 (this replaces zram now)
- backported cpu-boost driver
- 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#head-1c3e71416a9fdc2f59c1c251a97963f165302b6e
- improve memcopy/memmove
- Using Voodoo Sound and Boeffla Sound
- LED Control by yank555-lu
- ExFat support (thx to samsung for opensourcing the driver)

if your rom is based off PAC, Bam, Fusion, ... :
IMPORTANT: As per notice of 01.11.2013, my CM10.2 kernels do NOT support proprietary Custom Rom frameworks anymore. So if your Custom Rom did not implement the generic framework class framework-2.jar but his own naming convention, you will receive a boot loop. Do not cry about this here but advise your Custom rom cooker to fix this. I will not change this ever again.
The most prominent custom kernels for CM will follow the same approach (aligned between Yank555, Googy, LordBoeffla, Psndna, Temasek and me).

So please do pass this message along to your favorite ROM devs.
If they don't fix their rom, it won't be compatible with custom kernels any more!

Kernel app http://xdaforums.com/showthread.php?p=41346443#post41346443


Dualboot Faq:
For more detailed instructions, please take a look at this thread from RichMd (thank you for it):
Dualboot Faq thread

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

General information about the recovery:
dualboot menu.
in this menu you can:
* create the secondary system partition (needed to be run once, if you want to install a second rom)

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. Then just select your backup, and restore it to secondary filesystem.
    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 spaces in the filename!,
    then just go to install zip. you'll notice 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 zip to 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).

Many Thanks to:
- RichMD
- Gokhanmoral
- Andreilux
- DAGr8
- simone201
- ptmr3
- Stratosk
- RolloS
- kasper_h
- Philz (for his recovery source, although i had to implement my own touch :p)
- all the others mentioned in the changelogs
 

Attachments

  • Devil3.4_0.1.4-t0ltecdma-DUAL-20140316.zip
    6 MB · Views: 1,155
Last edited:

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
My links to current devil stuff

New devil recovery with f2fs support for system and cache (data partition to come later). Note you dont need f2fs to use the recovery or kernel but you do need the kernel and recovery to use f2fs. If you convert to f2fs and want to use a different recovery then you must format file systems back to ext4 before changing. Bad things will happen if you do not convert before changing recoveries. Also the rom you are flashing must have an installer script setup for f2fs. I will be updating all my roms to support f2fs when I do their next releases.



Recovery link
https://www.androidfilehost.com/?fid=23622183712470601
MD5sum 1f15bb6c56d1fc65b00c8af188a37cda

Devil tools 1.1.2
https://www.androidfilehost.com/?fid=23622183712470603
MD5sum bcb3e3b4d7ec969b43bd68e47e6b556f


May post a current kernel if approved.
 
Last edited:

samevo

Senior Member
Jun 1, 2011
130
72
Boise
Thank you thank you thank you! Been hoping someone would make us a custom mk4 kernal :D:D
 

krobinso2295

Senior Member
Jun 24, 2012
254
17
So I can use this with a Samsung mk4 ROM? I'm on digiblur.

Sent from my SPH-L900 using xda app-developers app
 

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
It should but it is untested. Dual boot is just a special recovery that allows you to run two roms without flashing or nanding between the two.

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

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,368
27,668
Just flashed and it wont boot past splash screen. Button backlights flash on but that is all. What extra info do ypu need?

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

Does the screen turn black after splash? Or does it sit with my kernel logo all the time?
Is adb shell working?





Will this work on cm 4.3 4.4 or have to wait for the dual boot

Sent from my SPH-L900 using Tapatalk

It should work already... But as written above, it does not work on sammy currently.
Please report if there are same issues with cm.

Gesendet von meinem Note II mit Tapatalk 2
 

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
Can't wait for this to be working.... will it support stweaks

From My Classic 4.3 n2/3


The older version stweaks workes sort of but there is a devil tools in the market that works.




Does the screen turn black after splash? Or does it sit with my kernel logo all the time?
Is adb shell working?







It should work already... But as written above, it does not work on sammy currently.
Please report if there are same issues with cm.

Gesendet von meinem Note II mit Tapatalk 2

Sits on devil logo. Not sure about adb not around pc. Anything specific just list it and will try later.

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

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,368
27,668
I would need someone to try on cm11 or omnirom (generally any aosp rom), to know if the issue is caused by sammy initram files, or the main init file.

Gesendet von meinem Note II mit Tapatalk 2
 
  • Like
Reactions: Arjohns

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    This Kernel is based off the sources of AndreiLux Perseus Kernel (alpha35).
    If you consider to thank me, please also consider to thank him http://xdaforums.com/showthread.php?t=1927852

    This kernel only supports roms of android version 4.3.x (sammy and aosp) and 4.4.x!

    You can dualboot any of those roms


    if you were using this kernel on aosp based roms, and want to use another kernel, you need to reflash the rom, of course without any wipe, it's just to restore modified files

    Features (changes compared to Perseus):
    - merges samsung open source update12
    - dual sound engine
    - compiled with linaro gcc 4.8.3
    - updated Linux Kernel base to 3.0.101
    - updated block subsystem (i/o schedulers) to linux 3.4
    - updated memory management subsystem to linux 3.4
    - partial updated kernel main system to linux 3.4 (current work in progress)
    - zram, zsmalloc and lowmemorykiller updated from 3.9
    - DevilQ cpu governor (default)
    - 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.0 Ghz
    - Backport from Linux 3.5 smp driver parts
    - Wifi driver updated from note3
    - backported zswap from linux 3.13 (this replaces zram now)
    - backported cpu-boost driver
    - 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#head-1c3e71416a9fdc2f59c1c251a97963f165302b6e
    - improve memcopy/memmove
    - Using Voodoo Sound and Boeffla Sound
    - LED Control by yank555-lu
    - ExFat support (thx to samsung for opensourcing the driver)

    if your rom is based off PAC, Bam, Fusion, ... :
    IMPORTANT: As per notice of 01.11.2013, my CM10.2 kernels do NOT support proprietary Custom Rom frameworks anymore. So if your Custom Rom did not implement the generic framework class framework-2.jar but his own naming convention, you will receive a boot loop. Do not cry about this here but advise your Custom rom cooker to fix this. I will not change this ever again.
    The most prominent custom kernels for CM will follow the same approach (aligned between Yank555, Googy, LordBoeffla, Psndna, Temasek and me).

    So please do pass this message along to your favorite ROM devs.
    If they don't fix their rom, it won't be compatible with custom kernels any more!

    Kernel app http://xdaforums.com/showthread.php?p=41346443#post41346443


    Dualboot Faq:
    For more detailed instructions, please take a look at this thread from RichMd (thank you for it):
    Dualboot Faq thread

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

    General information about the recovery:
    dualboot menu.
    in this menu you can:
    * create the secondary system partition (needed to be run once, if you want to install a second rom)

    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. Then just select your backup, and restore it to secondary filesystem.
      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 spaces in the filename!,
      then just go to install zip. you'll notice 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 zip to 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).

    Many Thanks to:
    - RichMD
    - Gokhanmoral
    - Andreilux
    - DAGr8
    - simone201
    - ptmr3
    - Stratosk
    - RolloS
    - kasper_h
    - Philz (for his recovery source, although i had to implement my own touch :p)
    - all the others mentioned in the changelogs
    10
    Hi, I think we got the HFA issue nailed down. It should be addressed on his next kernel build.
    It's chameleon not playing nice again unless you play by its rules. :cowboy:
    7
    could someone please upload sammy 4.3 stock kernel? i want to build a seperate kernel for sprint, but i need the stock kernel for extracting some files before. thanks
    7
    please try this one now. hopefully charging also fixed
    7
    kernel is up :)

    dualboot coming in the next days. i need to compile my recovery for you...
    @DerTeufel1980
    Hope you dont mind me posting this here but I took an existing verzion devil recovery and modified. I changed the data partition mount point to match sprints and changed all carrier info to reflect sprint so rims can now be installed.

    All users of this should read all the op's instructions before trying this. You must follow correct steps before this will work properly. Hope everyone enjoys and for now the link is dropbox so get it while it lasts.

    Lastly this is a zip file to be flashed through any custom recovery.

    https://db.tt/Onm0gcqI


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


    Edit: you will need to enable the selinux support under the backup/restore settings.