5,593,876 Members 46,923 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
nobodyAtall
Old
(Last edited by nobodyAtall; 25th November 2012 at 11:44 AM.)
#1  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19346
Posts: 1,527
Join Date: Jan 2008
Location: Patras

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


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://forum.xda-developers.com/show...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:
    Quote:
    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:
    Quote:
    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!
The Following 136 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
nobodyAtall
Old
(Last edited by nobodyAtall; 25th September 2012 at 04:54 PM.)
#2  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19346
Posts: 1,527
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
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
The Following 64 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
nobodyAtall
Old
(Last edited by nobodyAtall; 16th August 2012 at 06:57 PM.)
#3  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19346
Posts: 1,527
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
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
...
The Following 56 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
matmutant
Old
(Last edited by matmutant; 7th October 2012 at 06:32 PM.)
#4  
matmutant's Avatar
Recognized Contributor
Thanks Meter 3079
Posts: 2,469
Join Date: Mar 2011
Location: ~/
Default 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 (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 :
Quote:
Originally Posted by twins.7 View Post
#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
Moto G running Android 4.4.2 KK CM11

/!\ twitter ~ Andrux&me /!\
supported devices:
 

Motorola : Moto G => RC-FAQ

Xperia: X10mini (e10/robyn); X10miniPRO (u20/mimmi); X8/W8 (e15/shakira)
MiniCM10: MiniFAQ
MiniCM9: MiniFAQ
MiniCM7: MiniFAQ
i don't have power of ubiquity : if you want me to answer, please quote me or mention me using "@matmutant" in the post
The Following 18 Users Say Thank You to matmutant For This Useful Post: [ Click to Expand ]
 
colossus
Old
#5  
colossus's Avatar
Retired Senior Moderator
Thanks Meter 3120
Posts: 3,206
Join Date: Aug 2009

 
DONATE TO ME
Sorry, are you some you forgetting where you are!!

This is a Development thread so treat it like one!

Take this as your warning, any further off spam posts and you will be infracted.


Thanks To The FreeXperia Team Who Gave Us All Hope.
.................................................. ..................
If You Require Any Help Please Look First.......... HERE
The Following 19 Users Say Thank You to colossus For This Useful Post: [ Click to Expand ]
 
Xmaster8
Old
#6  
Xmaster8's Avatar
Senior Member
Thanks Meter 526
Posts: 770
Join Date: Nov 2011
Location: Ljutomer
@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?


Older devices: SE T290i, T700, Nokia 5320, Xperia X8
 
monu09
Old
#7  
Senior Member
Thanks Meter 41
Posts: 156
Join Date: Mar 2011
whr is kernal?
 
ducthe134
Old
#8  
Member
Thanks Meter 12
Posts: 46
Join Date: Apr 2012
Location: bac giang
Quote:
Originally Posted by monu09 View Post
whr is kernal?
this is kener for CM10
 
nobodyAtall
Old
#9  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19346
Posts: 1,527
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
Quote:
Originally Posted by Xmaster8 View Post
@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.
The Following 9 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
DJ_Mike_Jams
Old
#10  
DJ_Mike_Jams's Avatar
Member
Thanks Meter 24
Posts: 54
Join Date: Jun 2012
I can't download the kernel...

Sent from my E15i using xda app-developers app
My Device:


The Following 2 Users Say Thank You to DJ_Mike_Jams For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes