Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,384 Members 43,765 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:43 AM.)
#1  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19378
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

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 55 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
nobodyAtall
Old
(Last edited by nobodyAtall; 25th September 2012 at 05:27 PM.)
#2  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19378
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 22 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
nobodyAtall
Old
#3  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 19378
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 20 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
StardustGeass
Old
#4  
StardustGeass's Avatar
Senior Member
Thanks Meter 51
Posts: 300
Join Date: Jan 2012
Location: Jakarta
YYYEEEAAAHAHHHH !!!!
SANKYUUU !!

Going to test ASAP
"Search for the best, but be thankful for what you already have."
 
kkkhattak
Old
#5  
kkkhattak's Avatar
Senior Member
Thanks Meter 169
Posts: 888
Join Date: Dec 2011
Location: Peshawar
Quote:
Originally Posted by nobodyAtall View Post
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
...
How to use mtd partiton???

Sent from my U20i using xda premium
 
brunobbarcelos
Old
#6  
brunobbarcelos's Avatar
Senior Member
Thanks Meter 14
Posts: 122
Join Date: Feb 2011
Location: Belo Horizonte
I tried to move on, to use another phone, but nAa keeps surprising us with impossible ROMs so ill stay with my mimmi as long as nAa continue to make its magic. Congrats, youre the best dev.
GT-N7100 - Rooted 4.1.2
GT P1000 - CM10.2 Humberos
NST 1.2.1 - Rooted
Xperia X10 Mini Pro - dead
SGH-I927 - Rooted ICS - sold
www.serradacanastra.tur.br
 
StardustGeass
Old
#7  
StardustGeass's Avatar
Senior Member
Thanks Meter 51
Posts: 300
Join Date: Jan 2012
Location: Jakarta
Does this kernel suports linux swap partition ?
"Search for the best, but be thankful for what you already have."
 
matmutant
Old
(Last edited by matmutant; 7th October 2012 at 06:33 PM.)
#8  
matmutant's Avatar
Recognized Contributor
Thanks Meter 3365
Posts: 2,741
Join Date: Mar 2011
Location: ~/
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 ~ Blog : Andrux&me /!\
Bug Hunter for : Render Kernel, and AcDisplay
supported devices:
 

Motorola : Moto G (falcon)
RC-FAQ ; CM11 DeBug Thread

Xperia: X10mini (robyn); X10miniPRO (mimmi); X8/W8 (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 User Says Thank You to matmutant For This Useful Post: [ Click to Expand ]
 
herbesi01
Old
(Last edited by herbesi01; 17th August 2012 at 05:38 AM.)
#9  
herbesi01's Avatar
Senior Member
Thanks Meter 33
Posts: 234
Join Date: Oct 2011
I can`t in to recovery, I try reflash the kernel but nothing happened, and yes I press back bottom, any help, with nAa-13 work the recovery...
Current Phone: Motorola Moto G - 8 GB

Old Phone: Xperia Mini Pro + Xperia P + Nokia Lumia 520

Tablet: Galaxy Note 10.1
 
Mitchio
Old
(Last edited by Mitchio; 17th August 2012 at 12:56 PM.)
#10  
Mitchio's Avatar
Member
Thanks Meter 6
Posts: 86
Join Date: Jul 2010
Location: Oxford, England, UK
The "Reboot into recovery" option isn't working (from within recovery or jellybean), always have to do it manually w/ multiple back button presses.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes