Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 47,332 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] [AOSP/Samsung/ArchiPort] [Linaro 4.9.1] [10/07/14] ArchiKernel V1.3 | Power In Your Hands

Tip us?
 
JustArchi
Old
(Last edited by JustArchi; 28th June 2014 at 09:55 PM.)
#1  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
Phone [KERNEL] [AOSP/Samsung/ArchiPort] [Linaro 4.9.1] [10/07/14] ArchiKernel V1.3 | Power In Your Hands



Changelog
 

ArchiKernel V1.3

- Enabled LED fading/blinking support
- Enabled haptic control on AOSP roms like CM/Omni
- Enabled voltage control of the CPU
- Enabled overclocking of the CPU to 1600Mhz
- Enabled GPU clock control and voltage interface
- Enabled touch LED control
- Updated ZZmoove to 0.9 beta3
- Enabled SELinux
- Enabled ext4 security labels # This fixes being unable to mount ext4 sd cards, reported by Senior_Limpio
- Enabled OC by default # This enables 1600 MHz by default, you can still go back to 1400 via sysfs
- Fixed CVE-2014-3153
- Fixed frequency slider in performance settings # Found i.e. in Omni
- Cleanup of ArchiKernel settings

  • Samsung Update13 Sources (NOT smdk4x12)
  • Linux 3.0.101
  • Compiled using Linaro 4.9.1 arm-eabi
  • ArchiDroid Optimizations
  • Using AnyKernel method (compatible with all ROMs for both AOSP and Samsung)
  • Latest ZZmoove (as default CPU governor with moderate preset)
  • Other CPU governors: PegasusQ, LulzactiveQ, Performance
  • ROW (as default I/O governor)
  • Other I/O governors: Noop, Deadline
  • Boeffla Sound 1.6.6
  • Boeffla Charge Interface
  • Fading/Blinking LED
  • Frandom
  • And many other awesome things I have no time to list

ArchiDroid Optimizations:
Quote:
- Fully optimized for Samsung Galaxy S3 (-marm -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp)
- Compiled with O3 optimization level (-O3)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Re-ran common subexpression elimination after loop optimizations are performed (-frerun-cse-after-loop)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Made a redundant load elimination pass performed after reload. The purpose of this pass is to clean up redundant spilling (-fgcse-after-reload)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
Download


What to expect:
- Awesome stock battery life (Update13 sources and not crappy smdk4x12 hybrid)
- Blazing fast
- High compatibility (AnyKernel method)

What to expect in future:
- CPU/GPU OC
- Upstreaming to Linux 3.2, 3.4, 3.10 (When I have enough time and coffee)
- You tell me

What to NOT expect:
- Many CPU or I/O governors
- Features I don't like/need
- Dualboot (see above ^)
- F2FS (see above ^)

Flashing instructions:
1. Make sure that you have stock kernel already flashed (the one which comes with your ROM), if you're running custom kernel already, reflash your ROM without wipe, this will also flash stock kernel.
* This is because ArchiKernel uses AnyKernel method - it pulls ramdisk from your current kernel
2. Flash ArchiKernel zip.
3. Profit!

Bugs:
1. You tell me

XDA:DevDB Information
[KERNEL] [AOSP/Samsung/ArchiPort] [Linaro 4.9.1] [10/07/14] ArchiKernel V1.3 | Power In Your Hands, Kernel for the Samsung Galaxy S III I9300

Contributors
JustArchi, Moster2
Kernel Special Features:

Version Information
Status: Alpha

Created 2014-06-17
Last Updated 2014-07-16
The Following 151 Users Say Thank You to JustArchi For This Useful Post: [ Click to Expand ]
 
JustArchi
Old
#2  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
Default Reserved

The Following 23 Users Say Thank You to JustArchi For This Useful Post: [ Click to Expand ]
 
JustArchi
Old
#3  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
Default Reserved

The Following 22 Users Say Thank You to JustArchi For This Useful Post: [ Click to Expand ]
 
JustArchi
Old
#4  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
Last one.
The Following 24 Users Say Thank You to JustArchi For This Useful Post: [ Click to Expand ]
 
Choristav
Old
#5  
Senior Member
Thanks Meter 304
Posts: 618
Join Date: Dec 2012
Location: Buenos Aires, Argentina
Great job! Amazing to see a dedicated thread for this beauty.
 
daringsmart
Old
(Last edited by daringsmart; 17th June 2014 at 03:18 AM.)
#6  
daringsmart's Avatar
Senior Member
Thanks Meter 79
Posts: 411
Join Date: Jun 2012
Location: madurai
Will report the experience
 
JustArchi
Old
#7  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
V1 uploaded in download section on the top of the thread. It should work with all AOSP ROMs but you tell me if it does. Don't flash it on Sammy (yet). Let me know if I screwed up something, it's late .
The Following 9 Users Say Thank You to JustArchi For This Useful Post: [ Click to Expand ]
 
hwjrmrm
Old
#8  
hwjrmrm's Avatar
Senior Member
Thanks Meter 154
Posts: 633
Join Date: Jan 2013
Location: CHINA
will test on omni,thanks
 
coto39
Old
#9  
coto39's Avatar
Senior Member
Thanks Meter 178
Posts: 569
Join Date: Aug 2011
Location: Tandil
Well, I've been waiting for this thread since I read about "ArchiKernel" =D

I installed the kernel just a few minutes ago and I will test during this days to see how it behaves.

Q: Will you add support to customize it with an app (like TricksterMod, Stweaks or BoefflaConfig)? I'm just asking because I'm curious, I know is to early in development stage already to have this, but I just wanted to know :P

Thanks!

Current devices: Galaxy S3 - LG GT540(backup)
----------------------------------------------------------------------------------------------
Old Devices: Motorola C200, Siemens C66, Nokia 5300.

PROUD

 
JustArchi
Old
#10  
JustArchi's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 20604
Posts: 6,425
Join Date: Mar 2013
Location: Warsaw

 
DONATE TO ME
Quote:
Originally Posted by coto39 View Post
Well, I've been waiting for this thread since I read about "ArchiKernel" =D

I installed the kernel just a few minutes ago and I will test during this days to see how it behaves.

Q: Will you add support to customize it with an app (like TricksterMod, Stweaks or BoefflaConfig)? I'm just asking because I'm curious, I know is to early in development stage already to have this, but I just wanted to know :P

Thanks!
At some point I'll definitely consider adding ArchiKernel support in ArchiDroid app, but it won't come too fast.

However, you can still "tweak it' in various ways. SetCPU, TricksterMod and similar apps are only a few examples. Boeffla Sound Control app (not boeffla config) will work as well. But think twice if you want to do, as ArchiKernel is pretty damn tweaked right after booting.

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

Advanced Search
Display Modes