Post Reply

[KERNEL][Apolo JB 4.14,New 7.1][SAMMY ROMS and AOSP]

OP pedestre

23rd May 2013, 10:18 AM   |  #1  
pedestre's Avatar
OP Senior Member
Flag Madrid
Thanks Meter: 3,881
 
1,031 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Branch 4.x only for Sammy ROMS 4.1.2
Branch 5.x only for AOSP 4.2.2 (CWM & TWRP)
Branch 6.x only for AOSP 4.3.x (TWRP)
Branch 7.x only for AOSP 4.4.x (TWRP)


NOTE: Read post 3 if you are going to install a 4.3, Wipe Data in 4.3 or restoring backups changing the ROM base (moving 4.3 to 4.1.2 or 4.2, etc)
If you are using TWRP in kitkat, you don't need to follow these instructions


Apolo 7.1 (for kitkat ROMS, 4.4.x)

- Recovery TWRP updated to 2.7.1.0
- Mali drivers updated
- zzmoove updated to 0.9beta3 (thanks to ZaneZam)
- rebuilt cypress (maybe helps with BLN errors in some devices)

CHANGELOG OLD VERSIONS


Apolo 7.0b for kit kat, 6.3 for 4.3.x ROMS (TWRP recoverys) and Apolo 4.14 for stock ROMS (CWM & TWRP recoverys)


NOTE :Changed 7.0 with 7.0b because TWRP recovery didn't mounted mass storage (fixed)

Changelog All bases (7.0b & 4.14 & 6.3):

- New zzmoove 0.8 (thx ZaneZam Link )


For kitkat (Apolo 7.0b & 6.3 TWRP):

- Fixed second core bug that affected some governors
- Pac-Rom support
- TWRP updated to 2.7.0.0
(it doesn't work fine in stock roms 4.1.2 (bootloops issue), so if you want to go back to sammy roms from kitkat, install first 4.14 and reboot in recovery and install from Apolo 4.14 recovery)

Remember that 6.3 comes with new mali drivers. If you see your screen off when you start your system, you must flash this through recovery.

NEW CHRISTMAS RELEASE 4.13 (SAMMY) & 6.2b (AOSP 4.3.1)(6.2 was removed because there were bugs)
Changelog:

BOTH (SAMMY and AOSP):

- Linux updated to 3.0.101
- Updated row scheduler
- Added bfq scheduler
- Removed MDNIE Sharpness by Hardcore (no mor problems with mdnie scenarios)
- Initramfs improved

6.2b ONLY:
- GPU an Screen drivers updated (r3p2+s3cfb)
- Wifi drivers updated to 1.61.58

WARNING: 6.2b version only with mali r3p2+s3cfb.
If your ROM is mali v2 (old drivers) you have to update some libs (otherwise, black screen). You can do it with this zip (flash in recovery):
https://www.wuala.com/pedestre/Kernel/Apolo%20JB/Apolo%206.x%20(ROMS%20AOSP%204.3)/Update%20to%20maliv3.zip/?key=IZz8nJ7ajpFQ

The zip will change some libs in ROM, so if you want to go back, you'll have to flash the ROM again without wipes

NOTE for 4.13: If your hot spot does not work, download the kernel again, it was reuploaded because new drivers give problem with hot spot in sammy


BETA KITKAT (Android 4.4 CM and OMNI-SlimKat)

- BETA 3 ONLY for OMNI ROMs:
Solves the issue installing some application in latest nightlies

- BETA2/2b for CM ROMs:
Only with mali v3. Works with new CM bases (4.4.2)
Thanks Karpfenhai for your help testing it

- Fixed battery settings
- CWM stock recovery (restores fine)
- Last changes (like 6.2)
If you suffer issues with the battery indicator, please change to beta2 or beta2b (depending on what kernel had the issue)

- For Omni ROMS there is a beta2 (same changelog) with TWRP recovery

For SLIMKAT 4.4.2 ROMs you should use Apolo beta2b for CM.
If you use omni version in CM ROMS (don't recommended because you will loose root) don't forget to download supersu and update binary BEFORE flashing Apolo kernel (otherwise you'll have a bootloop).Thanks to @Shahan_mik3 and @EricCartmanez for the information.


- Beta 3 FOR CM KITKAT (4.4.2) ROMS
- Solves the issue in (FC in phone) in latests nightlies
- Fix the bug moving big files to external sd (CREDITS TO GUSTAVO)

It was a lot of work, headaches, and semibricksssss so ENJOY IT¡
¡


Apolo versions 4.12, 5.1, 6.1

For all bases:
- Reverted the stupid android_secure change I did in last kernel
- Added new governor Neox
- Added MyFluxi sound interface (to control it you'll need to use the new Apolo configurator 5.0)
- Fixed mdnie in the camera with mdnie sharpness disabled
Only For 5.1:
- Fixed vibration control
Only For 6.1:
- Added support for framework-2.jar

- Fixed com.android.phone FC in latest releases
---------------------------------------------------------------------------------------------------------------------------------------------

Apolo 5.0 & 6.0 (AOSP ROMS)
5.0 (AOSP ROMS 4.2.2):
- TWRP version fixed (bluetooth) and updated to 2.6.3
6.0 (AOSP ROMS 4.3 and 4.3.1):
- Initramfs improved
- Fixed booting for latest Pacman ROMS (4.3.1)
- TWRP version fixed (bluetooth) and updated to 2.6.3
- Vibration Control enabled


Apolo 4.11 (Sammy only)

- zzmoove updated to 0.7d
- Backup and restore Android_secure fixed


Apolo 5.0 & 6.0 (AOSPs Version)
- Base: smdk4412 by cyanogenmod
- Same tweaks as Apolo JB 4.x
- zzmoove updated to 0.7d
- Backup and Restore of Android_secure solved (thx dorimanx)
- Fully compatible with Apolo Configurator

Apolo 4.10 (Sammy ROMS)

- Added brightness curve interface (credits to gokhanmoral) It will be necessary to use new Apolo Configurator 4.0 to configure the brightness curve (available in Google Play).
- Exfat support in kernel and recoverys (CWM and TWRP)
- TWRP recovery updated to 2.6.1 (thx to the TWRP team)
- zzmoove updated to version 0.7c.(thx ZaneZam)
- su and supersu updated (thx chainfire)

Apolo JB 4.9
- Slightly change in brightness levels (automatic brightness higher than 4.8)
- Wifi drivers updated (latest S4) thx dorimanx
- Pegasusq , sampling time set to 50000, instead 100000 (improvement listening music with bluetooth)
- Try to solve issue of charging animation with phone off (will see if it works)
- zzmoove updated to 0.6 and tweaked thx ZaneZam
- sio scheduler updated
- su, supersu updated
- Revert USB charging values to 450 mA by default (safety measure). Added charging interface, so since Apolo configurator 3.8b you will be able to change it.

Apolo JB 4.8
- Bilingual CWM recovery(Spanish-English). Default: English (you can change language in Extras Apolo)
- Fixed toggle ctr-off in CWM recovery
- Default backup format set to tar in CWM
- Updated TWRP recovery to version 2.5 (Thx Jeboo for sources). Added Preload support.
- Two new minimum brightness levels in manual mode (lower than stock)
- Fixed init.d. Now kernel considers all scripts in /system/etc/init.d
- Fixed BLN test in Configurator
- Current for USB charging to 650 mA (same as wall charger)

Apolo JB 4.7

- New Wifi Drivers from S4 (Thx dorimanx and codeworks)
- Added I/O Scheduler row (Thx Jeboo)

Apolo JB 4.6
- Revert Linaro toolchain compiler to GCC 4.6.3
- New governor interactivex (thx dorimanx)
- New governor zzmoove tweaked by pedestre (I recommend this governor, it's great)
- Fixed bug flashing from recovery updates with Assert instruction (for instance modem zips)
- Updated su and supersu
- Fix Touchscreen Choppy using MXT224E chip(thx kgp700)
- New Apolo Configurator 3.2 (useful for activating and scheduling BLN and BLNWW, selecting governors and schedulers and much more ...). You can find it free in Google Play

Apolo JB 4.5
- New interface with BLNWW, leds timeout and brightness and Slide to Wake (All the credits for gokhanmoral)
- New governor Intellidemand (thx dorimanx)
- New Apolo Configurator 3.0 (useful for activating BLN and BLNWW and much more ...). You can find it in Google Play free

Features:
This kernel is mainly based in hardcore work (thank you to Hardcore for his great contributions). I have added undervolting (kind of phenomenal) and some additional features.

- CWM and TWRP recovery in Samsung. In AOSP I will use only TWRP in the future.
- No logs, no extra debugging
- install su, supersu in samsung. Support init.d and cifs
- Ondemand Tweaked by Hardcore
- Added some governors (specially tweaked slp and zzmoove)
- Scheduler changing enabled
- BLN enable (Since Apolo 4.5 BLNWW too)
- CRT-OFF enable
- Effective Underclock (max frequency limited)
- UV Interface for ARM (you can change voltages in ARM with external aplications)
- Kernel Includes frandom for using with CrossBreeder (I really recomend it, Thx idcrisis)
- No Overclock and no different CPU-GPU steps from stock (please don't ask me more about that, I won't add it)

Update Supersu (only sammy kernel, AOSP doesn't have supersu)
Choose normal update (not the other with CWM/TWRP). In case you chose the wrong option, you'll have a bootloop. Read the bootloop section in this OP to recover your system.

Undervolting
UV cannot damage your mobile phone, but it can make your device unsteady. It is important that you choose the right version for your mobile.
There are some Apolo versions depending on the UV used:

- Light (stock voltages)
- Regular (-50mV in ARM, internals)
- Extreme (3 versions, you can try to see what versión is better for your battery life): in JB system chooses among the different steps available inside the kernel (in internal and ARM), so depending what step is chosen, final voltages applied are different.

Regular and extreme has -50mv UV in GPU (others UV like bus, memory, video controller too). Light has stock voltages in GPU

I recommend you try regular version first. If there are no problems in two days (reboots or frozen screens) you can try extreme V0.

System changes voltages in some devices (new in JB). Android chooses among voltages included in kernel (8 steps in every frequency). I recommend not to change them in extrem versions.

More information and Voltages values:

Depending on the device, system changes voltages (in JB), choosing among voltages defined in the kernel source. It seems, system tries to choose the ideal ones for every device (taking into consideration internal and ARM voltages).

For each frequency, there are 8 posible voltages in the code (I call them steps). In ICS, system always chose 4th step for every frequency, but in JB it doesn't sometimes.
It happends with ARM voltages (you can see them in the configurator) and with internal voltages, so there are many possibilities

You can see ARM and Internal voltages in this pdf (it is in Spanish but I think you can understand it) :
VOLTAGES

So, it is not strange that configurator shows different values in two different devices with the same Apolo version. It simple, system has chosen different voltages steps. I recommend you don't pay too much attention to this, it is not important, indeed system try to be stable choosing different values.



Tips

- TWRP and CWM Backups are not compatibles between them, so you need the suitable version to restore your backups.
- I recommend OBackup. Great application for making backups in Android itself (it supports TWRP and CWM).
- Not always less voltages means better battery life, it depends on your device. The only way is testing every version and please start with Regular or Light version
- Deep Sleep problems sometimes is caused by undervolting. If your system doesn't enter in deep sleep and it is not because of any application , install regular or light version.
- It is not the same, lower ARM voltages with an external APP (for example Apolo Configurator) and change Apolo version (V2,V1,V0 or regular) because there are more voltajes involved (not only ARM)
- If you want to turn off the leds always (when you touch tactile buttons), you have to use Apolo Configurator, otherwise (if you use only Samsung settings) your leds will turn on when you turn on the screen.
- If your system doesn't boot due to wrong Voltages, flash this in recovery : download zip
- Acess to internal sd in TWRP recovery :
(Up a level )
then go to
"emmc"
that's your internal sd

- Recommended wipe Cache and Dalvik after changing any kernel (it is not mandatory but it is a good custom)
- To increase sound volume use mods like Viper or appications like Alsa Mixer or Vodoo louder in play store

Enable logs in TWRP and v7 : Create a file in "/data" named ".enable_logs" and reboot.

¿In kit kat, should I use CM version or Omni version?
Just see if your ROM has superuser included (I mean if you can gain root just enabling it in developer options). In that case you should use CM version. If your ROM needs supersu to manage the root, install omni version.


Bugs
- Battery Animation doesn't work when phoes is off

- Screen unresponsive after booting with S2W enabled.
It's a S2W bug. When the phone is booting, if the screen is off in the exactly moment the script is changing the S2W setting, the screen will not respond any longer and you have to reboot.
To avoid it now, you must keep the screen on while the phone is starting until android has started completely and you can be sure that the script has been applied (more than a minute because the script has 60 seconds of delay).
Another solution is of course, disable S2W on booting


- If BLN y/o WIFI doesn't work in kit kat ROMS (maybe it can help in other bases too)

If test button works in Apolo Configurator check if in your Android Settings- Display there's something related to notifications led or Notifications light
or review
Rom settings (name depends on the ROM) - Active display must be disabled, otherwise BLN won´t work

If BLN test or wifi doesn't work, try this:
- Remove Apolo folder in /system (if folder exists)
- Go to Recovery
- Wipe Cache
- Flash Apolo
- Wipe cache again
- Reboot


- Avast doesn't work with Apolo, if you can't live without it, use other kernel, sorry

- Bootloops: it doesn't happend very often but it can happend in JB if there is something corrupt in partitions. Posible solutions:
1) Try to enter to recovery. Press vol up, Home button and Power button at the same time until the device enters into recovery (system can restart 2 or 3 times, but don't release buttons). Then wipe cache and dalvik and reboot.
2a) if 1) didn't work, enter into download mode and flash light TWRP version if you had CWM. Wipe cache and Dalvik and reinstall CWM if you wish.
2b) if TWRP didn't work or you had TWRP version already, flash last PhilZ kernel (thx to Phil3759), enter into Philz recovery and wipe cache and Dalvik. Then reinstall Apolo.
3) if nothing worked, try to reinstall your ROM without wipe data and wipe cache and Dalvik
4) wipe data (you will loose all your application and configurations)
5) reinstall with odin stock ROM WITH repartition (pit file). Then install Apolo and reinstall your custom ROM.

- Sometimes when you reboot your device, your battery seems to drop a lot (it is not real).
To recover your old battery percentage, plug in your device and reboot into recovery. Check your battery level in the recovery, if it is correct, reboot (solved).
If it is not, reboot into recovery again (in CWM advanced - reboot into recovery, in TWRP reboot - recovery). It should be solved.
This issue never happens if you reboot your device while is charging, so I recommend you plug in your device before rebooting (if you can do it)
If you can't plug in your device, don't reboot if you can avoid it


- AOSP: Recommended installation procedure for 4.3 ROMS (stuck in the second boot) Read post 3

- AOSP: Restoring backups changing ROM base (stuck in the second reboot), Read post 3

Download Kernel

Mirror

Installation (you can install Apolo through CWM or TWRP recovery, it doesn't matter)
- Use a kernel cleaning script before installing (for instance Gs2KernelWipe thanks to hawkerpaul, but you can use other)
- .zip : install in custom recovery
- .tar : install in PC with odin (windows) or heimdall (linux)


Apolo Configurator free in Google Play: download

I've developed a multilanguage application (Spanish, English, Italian, Catalan, Gallego and Russian).You can change governor and scheduler, set ARM undervolting, configure BLN, BLNWW and S2W and set brightness curve:

I extremely recommend you read the Apolo Configurator Manual : Apolo Configurator Manual

My recommendation about scheduler/governor (it's only my opinion, maybe yours can be different)
- You can find 3 defined profiles in Apolo Configurator (performance, balanced and battery saving) based in noop/slp. I have changed parameters to achive the profile goals.
- Another good combination is noop/zzmoove

THANKS
- Hardcore for his fabulous kernel speedmod
- Thx to great Phil3759 (he helped me to build the CWM recovery and let me use his recovery in the new Apolo versions) Please, visit his great job here
- Thx to jeboo for his great kernel and for let me use his TWRP recovery
- Thx gokhanmoral , great master. Most advanced features come from him
- Thx dorimanx for his great kernel and sources
- fenomeno83 for his idea and help when I started
- Thx mialwe for his great "smoove" governor (base of zzmoove) and ZaneZam for keeping it alive with the zzmoove.
- Chainfire for CF-Root, CWM Manager, etc, etc
- Thx sk8erwitskil, myfluxi, Talustus for recovery sources
- Thx to Devil_1210 for his help building the ICS kernel
- Thx to my betas for their help and ideas and much more: Broquen, Garrapatero123, Palleiro, Doomper, partisano, 666roi666 , Gordon320, nrg86
- Many thanks to @daga69 for giving me a S2 and keep this kernel alive
(for sure I forgot more people, I hope they forgive me)

Donors:
Axel 11, manuelmagix, K-a-M-u-Z-u, elbanzai,Zytrel, bkraptor,Shadowrun1,rogers11,LarsX,Andreas75k,espirito-livre, dsp26, gumsle, karpfenhai,
Andreas75k (Yes again ), metalgearhathaway

Thanksssss a lot ¡¡

If you see something that you cannot understand or it is not correct (my English is far away from perfect ) please let me know
If you want to translate the Apolo Configurator to other lenguages, please tell me

Thanks to lejarton, Maxximo88, stelistcristi,Gordon320, nrg86, Palleiro, Partisano and Broquen for their translations

Enjoy ¡¡

Apolo source code
Last edited by pedestre; 1st September 2014 at 08:34 AM.
The Following 448 Users Say Thank You to pedestre For This Useful Post: [ View ]
23rd May 2013, 10:18 AM   |  #2  
pedestre's Avatar
OP Senior Member
Flag Madrid
Thanks Meter: 3,881
 
1,031 posts
Join Date:Joined: Jan 2011
Donate to Me
More
HCTRom (I'm not the ROM dev, I don't answer questions about the ROM)

This is the Rom I used (Sammy based) and many people are interested in it, so I put the basic information here:

Info (in Spanish, sorry)

Download links:

Wuala --> HCTRom_V11[4.1.2_XWMS1]
MEGA --> HCTRom_V11[4.1.2_XWMS1]
Multiupload --> HCTRom_V11[4.1.2_XWMS1]
MD5 --> 41ebe52dc9c246c2b6081aef67b52cc5

Recomended, wipe data, dalvik and cache (if you use Apolo CWM, just use "Install New ROM (CLEAN INCLUDED)")

Enjoy it¡¡
Last edited by pedestre; 15th November 2013 at 07:17 AM.
The Following 52 Users Say Thank You to pedestre For This Useful Post: [ View ]
23rd May 2013, 10:19 AM   |  #3  
pedestre's Avatar
OP Senior Member
Flag Madrid
Thanks Meter: 3,881
 
1,031 posts
Join Date:Joined: Jan 2011
Donate to Me
More
INSTALLATION PROCEDURE FOR 4.3 / WIPING DATA ( if you are going to wipe data, skip 4,5 and 6)

In 4.4 is not necessary if you are using beta2,beta2b or beta3 (Omni or CM)

I don't know what the problem is (update: the problem is recovery) but if you follow this procedure (fresh install) you won't have any problem. If you install the rom right with Apolo, you may be stuck in the second reboot ?¿?¿

1- Install CM recovery (it is better install ROM with CM recovery). You can download it here
2- Advanced - Reboot in recovery (you will reboot in CM recovery , it is no a touch recovery, sorry)
3- Wipe data (and format system if you are going to install a new ROM)
4- Install ROM
5- Install gapps
6- Wipe data again
7- Boot system
7- Do the initial guided setup (wifi, gmail, etc) and install a couple of your apps
8- Reboot (it takes to boot a little longer than usual, even a couple of minutes)
9- After a successful second reboot, you can change the kernel to Apolo and you won't have any issue. It will always boot normally.

RESTORE ROMS IN AOSP ROMS (moving from 4.3 to 4.4 or from 4.4 to 4.3)

This issue only happends (AFAIK) when you change your base restoring the backup, for instance if you are in 4.4 and restoring a 4.3.1 backup. In my experience if you are in the same base, it works right.

You won't have any issue restoring roms in firs reboot, but you may be suffered the same issue (stuck in samsung logo) in second reboot, after restoring your backup. You can do your backups with Apolo, the issue is restoring, but I recommend you do your backups with OBackup App, because you don't need to reboot in recovery (you can do it in Android without rebooting)

If you want to restore your backups successfully I recommend you first change the kernel to CM kernel and then restore your backup:

SAFE PROCEDURE TO RESTORE BACKUPS

1- Reboot in recovery
2- Install CM recovery download
3- Advanced- Reboot in recovery
4- In CM recovery : Restore your backup
5- Reboot and everything will be fine
Last edited by pedestre; 31st January 2014 at 09:55 AM.
The Following 30 Users Say Thank You to pedestre For This Useful Post: [ View ]
23rd May 2013, 10:19 AM   |  #4  
pedestre's Avatar
OP Senior Member
Flag Madrid
Thanks Meter: 3,881
 
1,031 posts
Join Date:Joined: Jan 2011
Donate to Me
More
And more
The Following 27 Users Say Thank You to pedestre For This Useful Post: [ View ]
23rd May 2013, 10:26 AM   |  #5  
WarcoLLapsE's Avatar
Senior Member
Thanks Meter: 40
 
183 posts
Join Date:Joined: Dec 2009
Greetings!!!
YES! Finally Apolo by Pedestre here!!!

WELCOME

Kernel rocks

And CWM in english now?
The Following 4 Users Say Thank You to WarcoLLapsE For This Useful Post: [ View ]
23rd May 2013, 10:39 AM   |  #6  
mr_zuff's Avatar
Senior Member
Flag Cassino
Thanks Meter: 835
 
568 posts
Join Date:Joined: Jul 2012
More
Ooooh goood
I follow your kernel on an Italian forum, and it's quite popular.. just because your kernel is waaaaay good :thumbup:

Welcome to Xda mate! I hope a lot of people will enjoy your work
The Following 3 Users Say Thank You to mr_zuff For This Useful Post: [ View ]
23rd May 2013, 10:41 AM   |  #7  
pedestre's Avatar
OP Senior Member
Flag Madrid
Thanks Meter: 3,881
 
1,031 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by WarcoLLapsE

YES! Finally Apolo by Pedestre here!!!

WELCOME

Kernel rocks

And CWM in english now?

Thanks ¡¡

No plans , too much work translating and maintaining two CWM recoverys, but I wouldn't mind to include any English CWM recovery if somebody let me use it (as I did with TWRP from Jeboo)
The Following 8 Users Say Thank You to pedestre For This Useful Post: [ View ]
23rd May 2013, 10:43 AM   |  #8  
vitalianoleone's Avatar
Senior Member
Flag catanzaro
Thanks Meter: 33
 
141 posts
Join Date:Joined: Oct 2011
More
finally on xda!!
The Following 3 Users Say Thank You to vitalianoleone For This Useful Post: [ View ]
23rd May 2013, 10:55 AM   |  #9  
N1m0Y's Avatar
Senior Member
Thanks Meter: 95
 
142 posts
Join Date:Joined: Oct 2012
Thank you for having implemented the zzmoove:thumbup:

my results with this amazing kernel .....

only wifi - no games/no 3G/no BLN/no Slide2wake, Tapatalk, internet browser, youtube + 2h to music on headphones....

[SPOILER]

[/SPOILER]

[SPOILER]Phone: SGS2
Inviato da: Tapatalk 2
Rom: NeatROM 4.7 LITE XWLSS
Kernel:Apolo 4.6 v0 ←testing-
Modem: XXMS2
Battery: Stock 1650mAh
SD Ext. : 32Gb class 10[/SPOILER]Inviato dal mio supermuletto :tank:
Last edited by N1m0Y; 23rd May 2013 at 11:49 AM.
The Following 6 Users Say Thank You to N1m0Y For This Useful Post: [ View ]
23rd May 2013, 11:02 AM   |  #10  
Axel 11's Avatar
Junior Member
Flag Valencia
Thanks Meter: 44
 
16 posts
Join Date:Joined: Jun 2012
Thank you very much for your work Pedestre. Glad to see you here too. Good Luck. Regards

Enviado desde mi GT-I9100 usando Tapatalk 2

The Following 5 Users Say Thank You to Axel 11 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
apolo, kernel, sgs2, twrp, undervolting
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S II Android Development by ThreadRank