[KERNEL] 2.6.29.6-nAa-jb-03 [23/11/12] Custom JB kernel + CWM Recovery

Search This thread

nobodyAtall

Recognized Developer
Jan 16, 2008
1,583
19,555
Malaysia, Cheras

Before unlocking your bootloader, read this thread
If you brick your device, you are the sole responsible.



Preface:
  • Read through this post. Don't rush into flashing. Be sure you understand the process before you start
  • This is a custom kernel developed for Android Jellybean
  • Do NOT try this kernel on other Android versions - you are totally unsupported
  • This kernel introduces custom mtd partitioning with larger /system partition to hold the extra JB calories. If you are moving from another custom kernel to this one, you MUST first format /system /data and /cache via the embedded CWM recovery

Features:
  • Forked from nAa-ics-04 (all ICS features are already in there)
  • Built with linaro-4.7.1 toolchain
  • CWM-Based Recovery 5.5.0.4
  • Custom mtd partitioning scheme suitable for JB
  • Modular recovery flashing support (more on that to come...)
  • Tracing support for JB
  • pmem: bring up2date with CAF 2.6.38
  • genlock/kgsl fixes
  • Triple buffering support for msm framebuffer
  • Much more RAM for improved multitasking experience (shakira: 186MB, robyn/mimmi: 187MB)

FAQ:
If you have any issues, please read the FAQ thread first: http://xdaforums.com/showthread.php?p=30297163

Requirements:

Install:
  • Backup
  • Unlock your bootloader as described here: http://xdaforums.com/showpost.php?p=17384177&postcount=3 or here: http://xdaforums.com/showthread.php?t=1254225
  • Download the kernel ftf file from here and move it to Flashtool\firmwares so that Flashtool can pick it up
  • Flash the kernel via Flashtool
  • Reboot and you should see the kernel boot animation
    [*] (First time only) Get into recovery and format /system /cache and /data manually
    loop20_2000.gif

Uninstall:
  • Flash back to stock using SEUS.

    OR

    [*] Format /system /data and /cache via CWM and THEN flash another kernel via Flashtool

Notes:

Dualtouch (for synaptics):
  • If you want to enable the fake DT by dx (instead of andrej456's which is the default), you have to insert the following line in the /system/etc/hw_config.sh file:
    insmod /system/lib/modules/synaptics_i2c_rmi4_dt.ko
  • If you want to remove the fake DT altogether, insert the following line in the /system/etc/hw_config.sh file:
    insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko

Sources:
The linux kernel is GPL'ed, everyone who does modifications should make them publicly available.
https://github.com/nobodyAtall/nAa-kernel-jb

Donate:
If you are enjoying my work please consider donating: .
Donations are voluntary but allow me to spend more time on this project.



Disclaimer:
I can't be held responsible if this Kernel bricks your device or makes it explode in your hands! Use it at your own risk!
 
Last edited:

nobodyAtall

Recognized Developer
Jan 16, 2008
1,583
19,555
Malaysia, Cheras
Changelog:
### nAa-jb-02
* Ramdisk changes
* Increase vm_max_readahead to 1024Kb

### nAa-jb-01
* Forked from nAa-ics-04
* Tracing support for JB
* pmem: bring up2date with CAF 2.6.38
* genlock/kgsl fixes
* Triple buffering support for msm framebuffer
* Much more RAM
* Custom mtd partitioning for JB
 
Last edited:

nobodyAtall

Recognized Developer
Jan 16, 2008
1,583
19,555
Malaysia, Cheras
MTD partitioning for Jellybean:

localhost / # cat /proc/mtd
dev: size erasesize name
mtd0: 10500000 00020000 "system"
mtd1: 00500000 00020000 "cache"
mtd2: 0bfc0000 00020000 "userdata"
mtd3: 00a00000 00020000 "recovery"

localhost / # df -h
...
/dev/block/mtdblock0 261.0M 238.1M 22.9M 91% /system
/dev/block/mtdblock2 191.8M 86.5M 105.3M 45% /data
/dev/block/mtdblock1 5.0M 780.0K 4.2M 15% /cache
...
 
Last edited:

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
reserved for FAQ

Read Before Asking Please

FAQ for MiniCM10 and nAa kernel
reading may answer to lots of your questions !
for X10mini, X8 & x10miniPRO



  • i decided to create a new thread dedicated to Q&A about miniCM10 ;)
  • so please, as usual, read FAQ, use search option or anything else before asking commonly answered questions
  • the FAQ will be incremented when needed
  • the Q&A is written as Q are asked



something else that is useful to read before asking :
Here we (nearly all? XDA members, regardless of being devs or only users [like me], me at least ) don't care about your good/bad English ;) the important is trying to be understood and to understand the content of the threads :)
only ask things you can't find, or you don't understand, please if you don't understand something in any process tell us exactly where is your problem : it will optimize the answer ;)

sometime rephrasing things can make you understand better, feel free to help us for making the most understandable sentence for anybody :)
BUT if you don't make the effort to read, I won't make the effort to answer :p (ok, you can't read everything... but read the minimum ;) )



Chatroom for support is now available (http://minicm.ie.tc/)
clic on the red text above ;)
register, and then enjoy :)
________________________________

clic here for : FAQ

this post will be updated with the very last Questions added to FAQ about the ROM for quick view ;)




________________________________
bug tracking template :
#BUG Report

DO
Reboot - Recovery

BUG
the screen stuck in rebooting dialog. It should just rebooting

ACTION
press home key (or any key maybe) to make it reboot




_________________________

useful links :

[DEV] miniCM10 debug only thread (shakira, robyn and mimmi)

$find other useful link in miniCM7/9 miniFAQs ;) $


Perfomance :

recomended settings :
perf related :
  • CPU: keep default, but enable UnderVolting (and set on boot if you don't OverClock) (settings>performance>CPU)
  • RAM : to optimize RAM usage, use KSM, zram (18%, default) and allow purging of assets (settings>performance>memory managment)
  • I/O : keep NOOP, this is the default and the best for flash memory
other :
in settings>developer options
  • enable USB debugging,
  • debug notification,
  • set all animations to 0.5 (electron beam CRT animation will happen no more)
  • enable "kill with back button"
________________

for whose who feel the system slow and laggy, just try the SWAP ;) (SDcard class6+ recommended)

SWAP, there is two "kind" of swap : using a partition on the SDcard, or using a swap file
both are good, but some SDcard/phones react better with the one or the other

let us start with the partition way : it is more complicated than the file method, but as some advantages ;)

pros: once it is set up, no need to care about it anymore, the SDcard can be mounted to PC easily without latency
cons: a little complicated to set up, and once it's done, it is as complicated to revert as to set up; to change swap size, you need to repeat the process (formating and partitioning SDcard)

needs a clean install of miniCM10:
  • flash JB kernel
  • in CWM, go to mount&storage :
  • then, format /system, /data and /cache (so that kernel can use the new partitions size) any data on phone memory will be lost
  • set up your swap:
  • ==> go to /advanced/Partition SD Card
  • if you don't want to use a2sd, then choose the minimal size for ext, and the size you want for SWAP
    it will FORMAT your SDcard ! any data on SDcard will be LOST
  • and install the rom :)

swap partition should work :)
what doesn't work is the swap info menu

to revert : format SDcard in phone settings : it will FORMAT your SDcard ! any data on SDcard will be LOST

____________________

now, the swap file way : it is really simpler than the swap partition, works great but has some drawbacks

pros: easy to set up, easy to revert, and the size can be choosen at wish at anytime (in settings>performance>memory>Swap settings)
cons: high latency when mounting SDcard to pc, it can take forever (really quicker to use CWM mount and storage capability to use the SD on the PC, than using android way)

you must perform a clean install of miniCM10 (by formating /system, /data and /cache) any data on phone memory will be lost
install the rom zip, the gapps, and boot up your phone
set it up
once your rom is ready to use,

  • go to settings>performance>memory>Swap settings
  • choose "enabled"
  • choose the size
  • allow system to get SU permissions
  • wait for the pop up "swap enabled"
enjoy, it is simple and can be disabled on wish

to see if you swap works, open terminal, and type the following :
Code:
free
 
Last edited:

Xmaster8

Senior Member
Nov 23, 2011
820
594
Maribor
@nobodyAtall
Why there isnt 6.0.1.1 recovery in the kernel? Not possible or you tried and you got errors?
And second thing. Is possible to get 192 MB free in Gingerbread kernel?
 

nobodyAtall

Recognized Developer
Jan 16, 2008
1,583
19,555
Malaysia, Cheras
@nobodyAtall
Why there isnt 6.0.1.1 recovery in the kernel? Not possible or you tried and you got errors?
And second thing. Is possible to get 192 MB free in Gingerbread kernel?

This kernel has modular recovery. This means that you will be able to flash any recovery you like without the need to flash another kernel. There's no need to change everything at the same time! Existing recovery is pretty stable.

And 192MB isn't possible for GB without breaking stuff.
 

Neur0Nerd

Senior Member
Feb 5, 2012
615
79
I have a problem with the kernel. When I reboot after flashing the kernel, the nAa logo appear, the LED turns purple and the phone reboots. What is the solution please ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 131

    Before unlocking your bootloader, read this thread
    If you brick your device, you are the sole responsible.



    Preface:
    • Read through this post. Don't rush into flashing. Be sure you understand the process before you start
    • This is a custom kernel developed for Android Jellybean
    • Do NOT try this kernel on other Android versions - you are totally unsupported
    • This kernel introduces custom mtd partitioning with larger /system partition to hold the extra JB calories. If you are moving from another custom kernel to this one, you MUST first format /system /data and /cache via the embedded CWM recovery

    Features:
    • Forked from nAa-ics-04 (all ICS features are already in there)
    • Built with linaro-4.7.1 toolchain
    • CWM-Based Recovery 5.5.0.4
    • Custom mtd partitioning scheme suitable for JB
    • Modular recovery flashing support (more on that to come...)
    • Tracing support for JB
    • pmem: bring up2date with CAF 2.6.38
    • genlock/kgsl fixes
    • Triple buffering support for msm framebuffer
    • Much more RAM for improved multitasking experience (shakira: 186MB, robyn/mimmi: 187MB)

    FAQ:
    If you have any issues, please read the FAQ thread first: http://xdaforums.com/showthread.php?p=30297163

    Requirements:

    Install:

    Uninstall:
    • Flash back to stock using SEUS.

      OR

      [*] Format /system /data and /cache via CWM and THEN flash another kernel via Flashtool

    Notes:

    Dualtouch (for synaptics):
    • If you want to enable the fake DT by dx (instead of andrej456's which is the default), you have to insert the following line in the /system/etc/hw_config.sh file:
      insmod /system/lib/modules/synaptics_i2c_rmi4_dt.ko
    • If you want to remove the fake DT altogether, insert the following line in the /system/etc/hw_config.sh file:
      insmod /system/lib/modules/synaptics_i2c_rmi4_no_dt.ko

    Sources:
    The linux kernel is GPL'ed, everyone who does modifications should make them publicly available.
    https://github.com/nobodyAtall/nAa-kernel-jb

    Donate:
    If you are enjoying my work please consider donating: .
    Donations are voluntary but allow me to spend more time on this project.



    Disclaimer:
    I can't be held responsible if this Kernel bricks your device or makes it explode in your hands! Use it at your own risk!
    63
    Changelog:
    ### nAa-jb-02
    * Ramdisk changes
    * Increase vm_max_readahead to 1024Kb

    ### nAa-jb-01
    * Forked from nAa-ics-04
    * Tracing support for JB
    * pmem: bring up2date with CAF 2.6.38
    * genlock/kgsl fixes
    * Triple buffering support for msm framebuffer
    * Much more RAM
    * Custom mtd partitioning for JB
    55
    MTD partitioning for Jellybean:

    localhost / # cat /proc/mtd
    dev: size erasesize name
    mtd0: 10500000 00020000 "system"
    mtd1: 00500000 00020000 "cache"
    mtd2: 0bfc0000 00020000 "userdata"
    mtd3: 00a00000 00020000 "recovery"

    localhost / # df -h
    ...
    /dev/block/mtdblock0 261.0M 238.1M 22.9M 91% /system
    /dev/block/mtdblock2 191.8M 86.5M 105.3M 45% /data
    /dev/block/mtdblock1 5.0M 780.0K 4.2M 15% /cache
    ...
    27
    nAa-jb-03 is released!

    Remember to flash this kernel if you are using the latest MiniCM10-4.0.2.

    Enjoy!
    22
    Hello community!

    nAa-jb-02 is ready for use. Use this with MiniCM10-4.0.1 for best experience.

    Enjoy!