Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,719 Members 38,170 Now Online
XDA Developers Android and Mobile Development Forum

[FAQ] AK Kernel 101

Tip us?
 
Khizar
Old
(Last edited by Khizar; 9th May 2013 at 03:34 PM.)
#1  
Account currently disabled - OP
Thanks Meter 7776
Posts: 6,890
Join Date: Feb 2012
Default [FAQ] AK Kernel 101

AK Kernel FAQs


Q1) What are custom kernels? What are the benefits of using custom kernels?

A kernel is basically the bridge between the software and hardware. Whenever you command your phone to do something (launching an app), the software sends that request to the hardware which in turn, makes the launching of the app possible. Custom kernels for Android are unofficial creations of independent developers. Unlike the kernels that OEMs make, custom kernels offer more modifications that allow you to tweak your phone in every possible way.

Benefits Of Installing Custom Kernels
You can benefit from having better control of your device. These options are most helpful for users who want to maximize the full potential of their phone or perhaps want to extend their device's battery life. Below are some of the benefits of installing custom kernels.

-Adjust CPU frequencies and set profiles like OnDemand, Battery Saving, etc.
-Underclock and overclock CPU speeds
-Underclock and overclock GPU speeds
-Adjust voltage
-Adjust touch screen sensitivity
-Equip your phone with BLN (backlight notifications)
-Custom recovery that allows backups and restorations of entire ROMs as well as installation of .zip files
-Minimum screen brightness pushed past the limitations of stock kernel
-Conserve battery (with the right settings


Q2) Where can I get the AK kernel and which one should I flash?

The latest kernel is always linked in the OP. The kernel is broken down between the Purity version and Pirate version. The Purity kernel is meant to be as close to stock as possible. The Pirate kernel on the other hand is more of a experimental kernel with more options than Purity.

Q3) I have a XXXXX version of the Galaxy Nexus, will it work?

Yes, the AK kernel works on all versions of the Galaxy Nexus. This includes the CDMA and GSM versions. Download the kernel from the AK thread.

Q4) How do I make changes to my kernel settings? (ex: voltages, fastcharge, etc.)

Download the Trickster Mod from the Google Play store.

Q5) Can I use AK on xxxxx rom?

AK is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.

Q6) How do I install it coming from another kernel?

TWRP is the prefered recovery, although CWM recovery may also work.

The ideal way to install AK, especially if you are coming from another kernel, is to do the following.
Wipe cache and dalvik cache
Wipe /system
Re-flash your ROM
Flash AK
Fix permissions in recovery (this may take up to a minute or two)
Reboot


Q7) Do I need to wipe cache/dalvik/battery stats/etc if I'm just installing the kernel onto a previous AK version?

No, download and flash away. Only wipe battery stats if your battery percentages are off. Do not believe the myth that doing so will increase your battery life.

Q8) Do I need to run any other apps like SetCPU or equivalent?

No, if you plan to install and run Trickster Mod, please uninstall any other apps that may interfere with your CPU settings. If you are still running into problems (ex: reboots, FCs, etc.) please check your /etc/init.d directory for any left over scripts from other rom or kernels. These may interfere with how AK operates.

Q9) What is Smart Reflex? What is FSync? What is Thermal Throttling?

Smart Reflex is used to scale your voltages. Voltage will be increased or decreased when required. If you are overclocking, disable SR to have access to higher clock speeds.

FSync is a system call that can be toggled on to write buffers to disk (slow) or toggled off (fast) for performance. FSync defaults to on in the linux kernels, the option to disable it exists but it is advised to use this with caution. COMPLETE data corruption could occur if the phone crashes with fsync disabled.

Thermal throttling protects your CPU from overheating. If you are benchmarking, turn this option off to prevent throttling of the CPU that can cause lower scores. Just remember to re-enable it afterwards. Bear in mind that at 110C, the CPU will shut down no matter what. It is not advised to disable thermal throttling, however the option exists for those enthusiasts who are aware of the risk of permanent hardware damage. Please take the necessary precautions!


Q10) Does PGM (slide2wake) for the Nexus work with AK?

Yes PGM is supported on. But be sure to use the latest(March-25) version.

Note- The latest free or pro version of the pgm app is required.[/B]

Q11) What is the sleep of death (SoD)?

You turn the screen off, when you want to pick it up, you can not wake it up.
There is no blinking notification and when you call it, there is no ringing or vibration. When you press and hold power, it does not turn on, otherwise it was OFF.

If you play a game and it reboots, or freezes. That is NOT a SoD.


Q12) Can xxxxx option be implemented in AK?

Stefano wants to keep Purity as close to stock as possible but feel free to request features for Pirate within this thread or the dev thread. Whether or not it gets implemented is up to Stefano.

Q13) I want to keep my Rom's bootanimation, why does AK kernel keep trolling me?

The boot animation by Ciprian is hardcoded so it cant be changed.

Q14) How is battery life?

No one can predict your usage. However, most folks are getting great screen on time and performance.

Q15) I just experienced a reboot, how can I help to pinpoint the problem?

Open up terminal emulator and issue the command:

Code:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Take this last_kmsg.txt file and show it to Stefano in this thread. It's suggested to copy the contents and use something like pastebin instead of spamming the thread with your log.


Q16) Whats with all the name changes?

Stefano aka AK changes the name whenever he makes major change to kernels, meaning they are different kernels thats why they have different names.. thats why the kernels went from berserk>dummy>pirate>cylon>AK/diamond>.. AK/Diamond are the same he just changed the name from AK to diamond thats why the changelog for diamond leads to changelog of AK.. as for purity that kernel is as close to stock as possible so its name has been purity since i started using this kernel, Stefnao stopped making the purity kernel and now BigBrother1984 makes Rubik in its place


Any other things that should stand in the FAQ? Did I make some horrible language mistakes? Write me a PM or post in this thread.


=============================

Credits-
Stefano - for this great kernel
GideonX - for letting me use this format and some of the question from his post
The Following 28 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
Khizar
Old
(Last edited by Khizar; 8th May 2013 at 11:25 AM.)
#2  
Account currently disabled - OP
Thanks Meter 7776
Posts: 6,890
Join Date: Feb 2012



If you have any problems, you need to collect the following data before reporting it:
- Report Only with default Freqs + default Uv
- kernel version
- rom version
- governor
- scheduler
- freq cpu
- freq gpu
- logcat
- dmsg
- last_kmsg
- short description of the problem
The Following 5 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
Asmodicus
Old
#3  
Asmodicus's Avatar
Senior Member
Thanks Meter 665
Posts: 484
Join Date: Aug 2010
Location: Tennessee
First!

Great job on this.
Device: Nexus 5
The Following 2 Users Say Thank You to Asmodicus For This Useful Post: [ Click to Expand ]
 
Khizar
Old
#4  
Account currently disabled - OP
Thanks Meter 7776
Posts: 6,890
Join Date: Feb 2012
Quote:
Originally Posted by jstn_hillis View Post
First!

Great job on this.
thanks.. btw guys i think this thread should be in the Q&A section instead so i am requestiong that a MOD move it there
The Following 4 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
Pseudonym
Old
#5  
Pseudonym's Avatar
Senior Member
Thanks Meter 534
Posts: 1,484
Join Date: Feb 2012
Location: Imus, Cavite
Quote:
Originally Posted by Khizar View Post
Q4) Can I use AK on xxxxx rom?

Trinity is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.
What?
The Following 3 Users Say Thank You to Pseudonym For This Useful Post: [ Click to Expand ]
 
Khizar
Old
#6  
Account currently disabled - OP
Thanks Meter 7776
Posts: 6,890
Join Date: Feb 2012
Quote:
Originally Posted by Kakashi Hatake View Post
What?
i used GideonX post that is linked in the OP to make this and looks like i forgot to edit that, thanks for the catch

PS- if anyone finds something else or has any siggestions please let me know
The Following 5 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
 
fishhelmet
Old
#7  
Senior Member
Thanks Meter 45
Posts: 173
Join Date: Dec 2010
Default Re: [FAQ] AK Kernel 101

Honestly I'd like to see peoples custom and under volt settings.

Sent from my Galaxy Nexus using Tapatalk 2
 
pponto
Old
#8  
pponto's Avatar
Member
Thanks Meter 11
Posts: 39
Join Date: Sep 2011
Location: Recife
thx dude
 
baiyy0906
Old
#9  
Junior Member
Thanks Meter 1
Posts: 2
Join Date: Nov 2011
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
 
Khizar
Old
#10  
Account currently disabled - OP
Thanks Meter 7776
Posts: 6,890
Join Date: Feb 2012
Quote:
Originally Posted by fishhelmet View Post
Honestly I'd like to see peoples custom and under volt settings.

Sent from my Galaxy Nexus using Tapatalk 2
users are more than welcome to post their settings here

Quote:
Originally Posted by pponto View Post
thx dude
your welcome

Quote:
Originally Posted by baiyy0906 View Post
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
the issue isnt with AK, its with pgm, the free version is outdated

The Following 4 Users Say Thank You to Khizar For This Useful Post: [ Click to Expand ]
Tags
ak kernel, best kernel, stefano
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes