[KERNEL][GT-S5280/2]ZD Kernel v5.0 - Samsung Galaxy Star

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Well, it seems its about time I release one of the most awaited thing (after a long long time) for this device.
Presenting you with a piece of real dev (kinda), Zapdos Kernel.
Features
Compiled from source.
Compiled using ARM official toolchain (4.4.3).
Bootable on ALL firmwares. This removes the distinction between 'old' and 'new' firmwares.
Swap Support. You got that right, swap support on your favorite ROM, regardless of it being 'old' or 'new'.
CPU Frequency Scaling. Apps like CPU-Z and others will now show more details than ever.
1400 Mhz Overclock.
Governors enabled.
More Governors added.
CPU Idle Power Management Support.
More CPU Frequencies.
Modified Voltage table for better battery life. [UPDATE]
Settings -> Battery, will now show battery usage by apps too. Partially fixed in v2.0 Update.
More I/O Schedulers.
Dynamic Read Ahead Support.
Dynamic Fsync v2.0. Gives massive boost in I/O Performance, and is reflected in benchmark. (Thanks to Faux123)[UPDATE]
Added Double Tap 2 wake feature.
Added bunch of TCP Congestion Controls.
Added Mali GPU profiling.
Based on gzip compression method.
Insecured boot.
Easy root enabled.
Bunch of corrections.
Uses Custom boot splash.
Added VR I/O Scheduler. [NEW]
Added Zen I/O Scheduler. [NEW]
Added TripnDroid I/O Scheduler. [NEW]
Added FIFO I/O Scheduler.[NEW]
In-app updates. [NEW]
Disabled Gentle Fair Sleepers. [NEW]
Asynchronous I/O latency to a solid-state disk greatly increased.. [NEW]
NOATIME and NODIRATIME by default. [NEW]
Disabled CRC check. [NEW]
Optimized SLUB. [NEW]
Optimized Square root algorithm. [NEW]
No dirty things in kernel version. [NEW]
Bugs/Glitches
It is highly likely to experience bugs and glitches, because CPU frequency is enabled. Samsung had disabled it for stability issues.
After reboot, battery remaining value drops drastically, but will increase back eventually to normal, its a glitch, not a bug.
Attaining CPU frequency scaling like other Android Phones is difficult, real-time CPU Frequency scaling isn't possible because, if tried, results in crash.
Broken battery usage by all apps after overclock. Partially fixed in v2.0.
DoubleTap2wake is experimental, it sometimes does not work by name (i.e you need to tap more than 2 times, but it will work for sure).
Credits
Unjustified Dev - For his modifications in defconfig, which was needed to boot the kernel.
Doc - For his findings about non-bootable zImage.
psych.half - For providing me insights about development and Linux Platform.
varun.chitre15 - For helping me make a boot.img, various insights about kernel development and always inspired me.
faux123 - For his awesome dynamic fsync driver.
thewisenerd - For his full support in integrating doubletap2wake.
showp184 - For his double tap to wake driver.
Downloads
Here
Installation
By PC
Download zip.
Put it in your phone.
Boot into recovery mode.
Flash zip.
No need to wipe any data before and after.
Reboot & Enjoy.
By Phone
Download Gesture Control App.
Install it.
Open the app, go to update section (download icon in top right corner).
From there, install/update the kernel.
When download is finished, you will be asked to flash. Press flash button if on CWM v6.0.3.7 only. Then it will boot to recovery, just press Yes then.
If you want to flash manually, downloaded file is saved in sdcard/
XDA:DevDB Information
Zapdos, Kernel for the Samsung Galaxy Star
Contributors
AvinabaDalal
Source Code: https://github.com/corphish/zapdos_mint
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.0
Beta Release Date: 2015-03-19
Created 2015-03-18
Last Updated 2015-10-06

Reserved for F.A.Q and Changelog
Frequently Asked Questions
Q. I tried/want to try this, but I have some doubts....
A. You are reading the right post, find your queries below, if not post it.
Q. Nice work dude, thanks....
A. Well, XDA has done a great job in reducing a man's effort of typing 6 letters to just a click on a button called 'Thanks Button'. Didn't they?
Q. Can I use it in my ROM/MOD ?
A. Sadly, NO, sorry. Since the sources have been provided, also kernel may cause problems when flashed after ROM, so its is not recommended to include it in a ROM. But you can obviously refer others to this kernel.
Q. Will this work on GT-S5280?
A. Well, since I don't have that variant, and since its a kernel, I would say not to try this on GT-S5280. And hence, No.
Q. What version of CWM do I need to use?
A. 6.0.2.8 or 6.0.3.7 only, no CWM v5.
Q. I tried this kernel out of excitement, but now realized that it was not for my phone.........?
A. May God Bless You.
Q. What are the features/speciality of the kernel?
A. First, read the 1st post. Second, get/change your spectacles.
Q. Will this work on XYZ Firmware/ROM for GT-S5282?
A. Hell Yeah!!
More Q/A will be added eventually.
If you can't find, post your queries here.
Changelog
Code:
[B]v4.0 - 5 July 2015[/B]
--Added many IOSchedulers.
--Zen
--Fifo
--Vr
--TripnDroid
-Disabled GFS.
-Asynchronous I/O latency to a solid-state disk greatly increased.
-NOATIME and NODIRATIME by default.
-Disabled CRC check.
-Optimized SLUB.
-Optimized Square root algorithm.
-No dirty things in kernel version.
-Enabled KSM.
-Added 1600 Mhz locked frequency.
-Improvements in CPU frequency scaling.
-Updated Dynamic fsync driver to v2.
-Revised Voltage Table for battery improvements.
-Added 200Mhz frequency.
[B]v2.0 - 28 March 2015[/B]
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
[B]v1.1 - 20 March 2015[/B]
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
[B]v1.0 - 19 March 2015[/B]
-Initial release.

Reserved for kernel tweaks and settings
To get the most out of this kernel, install ThunderZap Control App by @varun.chitre15
FREE Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrol
PAID Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrolpro
**Note - DO NOT try to mirror this app. If you want to download use Google Play Store only. If you want to share, share the links given above. DO NOT upload the app to any 3rd party hosting site. You have been warned.
In this app, various sections can be accessed by swiping from left edge to right.
CPU Section
Governors - Use smartassV2. You can use ondemand to get the core running at 1400Mhz.
You can adjust max and min frequencies too. Always keep max frequency 1000 Mhz or above.
Memory Management Section
I/O Schedulers - Use any, unless more are added.
Always keep the Dynamic Fsync option on (layout issue there, but blue means on).
You can play with other options too, instructions are mentioned there.
Network
Use any control, I would recommend Westwood. (Layout issue there again).
Don't forget to enable set on boot, can be found in settings.
DoubleTap2Wake
An update to this app should bring double tap to wake toggle under Special Section (And that is why I highly recommend to use this app). But for now -
Install Terminal Emulator - https://play.google.com/store/apps/details?id=jackpal.androidterm
Run the app, and then type -
Code:
su
echo 1 > sys/android_touch/doubletap2wake
It can be done using adb shell too.
Run Antutu benchmark, and feel the difference.
Will be updated as per kernel.

imma try it bro...and i hit it for u, ..thank you again for this work..keep it going bro.

Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~

Nice Work dude
Will inude this on my rom if u approve

thanks mate also button pressed
thanks for your efforts .will try as soon i will reach at my home

Updates
A Q/A thread for this can be found here.
Added AFH mirrors for those who are facing download issues. Next time, AFH mirrors only.
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
rag555 said:
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Click to expand...
Click to collapse
This is because you were on old stock kernel, this one is based on newer sources.
Use Q/A thread next time.

Great work i gonna try it , thanks

im w8ng for nxt update. .. .

AvinabaDalal said:
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
Click to expand...
Click to collapse
Kernel is working properly :good: and I am eagerly waiting for the update :fingers-crossed:..

v1.1 Update? Here it comes
Changelog
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
Removed Odin flashable, since there were no downloads.
Download link updated in OP.
Kernel tweaks (post #3) updated.
Kernel will be soon named Zapdos.
Next Update will be even more big, but its not coming out any soon.
Don't ask about ETA's please.

Solved
v1.1 - bro i cant use contacts (ie keypad ,dialer, logs etc). The msg reads ""unfortunately, contacts has stopped" ..........m on stock rom
v1.0 - same result on this version
Solved...............restored Nandroid backup....and now everything is working fine
Bro plz tell me what is the best governor and scheduler combination for maximum performance

OMG Your Kernel is TRENDING in Indonesia !!
BTW Nice Work
Sent from my GT-S5282 using XDA Free mobile app

@AvinabaDalal : do u compile the source kernel using cm10.1 ?

cleverior.ipul said:
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
Click to expand...
Click to collapse
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.

AvinabaDalal said:
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
Click to expand...
Click to collapse
what the different of ARM toolchain and Linaro toolchain ?

v2.0 is up!!
Changelog
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
You can find download link here.
Do check post #3. This has been updated.

Really this is just awesome...what's the next target
press thankks if you like my work

Great......
~~hiT tHaNkS iF I HeLpD u~~

Related

[KERNEL][14FEB'12]RedPillKernel_Rev1.3[RedPill Touch CWM Recovery by AF974]"TAKE IT!"

[KERNEL][14FEB'12]RedPillKernel_Rev1.3[RedPill Touch CWM Recovery by AF974]"TAKE IT!"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Click to expand...
Click to collapse
RedPill Kernel Features | RedPill Kernel Changelog | RedPill Kernel FAAAQ​
"This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill- you stay in Wonderland and I show you how deep the rabbit-hole goes." - Morpheus, The Matrix (Copyright belongs to the Wachowski Brothers... Larry and Andy)Features
Highlights
Initramfs from LA2
Samsung kernel-update3 (patched for deep sleep fix)
Based on Arighi sources (arighi) + a LOT of patches included by pongster for performance, stability and battery life
Custom ClockworkMod Based Recovery v5.0.2.7 by AF974 based on Team Overcome Recovery (thanks to alterbridge and AF974)
Instant root (modded script by gokhanmoral of SiyahKernel with a few edits by pongster to ensure latest SU apk and binary are used.)
Newest Superuser 3.0 and su binary (thanks to chainsdd)
Touchscreenfix set to "3" (vitalij)
Init.d support
VooDoo Louder Support by supercurio
2nd Core and Touch Move by Tegrak Support
SetCPU and Voltage Control Support
Full CWM Manager 3.0 Support by Chainfire
CPU & GPU Overclocking and Undervolting by Netarchy
Highly Experimental Ondemand based CPU Governors (Minor Edits only/Renamed to keep bugs on the experiments) based on arighi's deep_sleep and fast_start commits
Maximum CPU Freq set at 1.5Ghz
Enable or Disable File Syncing (fsync enabled by default)
CFS Autogroup by Mike Galbraith Enabled
CPU Topology and Sched_MC enabled
AFTR and LPA enabled
A lot of tunables via sysfs included
Undervolted Int ARM and Touch LED Values (thanks to Phenomenal for the idea)
Git Implementation of SHA-1 for 12% faster boot time
CPU set at 1.2Ghz at Boot for faster boot time (Thanks to Imoseyon)
XZ compressed kernel using optimized values for the size of the kernel
Uncompressed Initramfs (tweaked scripts/gen_initramfs.sh)
NTFS Read/Write Support for OTG (Flash Drives and External Hard Drives with enough Power supported)
CIFS and FUSE Support | Tweaked Ext4 Filesystem
SIO | noop | deadline | V(R) (tweaked for better throughput and balanced latency for Mobile NAND based devices)
sleepy | hyper | conservative | ondemand CPU Governors
generic cpufreq range regulation (arighi) | BLN support (Thanks to creams and neldar) | Fuel Guage Wakelock fix by Entropy512
Power Saving Features:
AFTR + LPA enabled
sched_mc enabled
ARM CPU Topology enabled
CPU Hotplugging OFF when screen off enabled (Thanks to arighi)
RCU Fast No HZ enabled
Stable Voltage Tweaks for Internal Voltages (not ARM Voltage which remain stock) to help lessen heat when in heavy usage scenarios
Boot Time Features:
Used git Implem of SHA-1 for 12% Boot time improvement
Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds <[email protected]>
Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds <[email protected]>
Uncompressed initramfs (since initramfs is compressed as part of the kernel image, this is reduced to a copy operation from a decompress then copy one)
Set Clockspeed at 1.2Ghz at Boot time to ensure all critical tasks have enough power to perform them while the governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack)
CPU Features
CPU and GPU OC/UV thanks to netarchy/Hacre
CPU Governors Included:
Final Clean up of CPU Governors available for simplicity. (all Governors are tweaked for the best possible balance of battery and performance with a slight lean towards performance) With this focus on simplicity stated earlier, the only governors available are the following:
sleepy (ondemand based cpu governor with minor edits by pongster) loves to sleep and idle at the lowest set frequency, hence the name change from "solo" to "sleepy". Its closer to ondemandx in terms of performance. This can be tweaked and tuned using init.d scripts as well.
hyper (ondemand + suspend freq setting ability with minor edits by pongster) This was formerly the original kenobi which I renamed to hyper as others may not get the Star Wars Reference. It gives a good balance between battery life and performance. Its closer to ondemand in terms of performance. also tunable using init.d scripts.
conservative (good battery savings by default due to its slow ramp up and ramp down but tunable for performance) defaults are slightly tweaked for better performance than default conservative.
ondemand (old reliable thats been tweaked by arighi to support deep_sleep and fast_start) these features try to detect if the CPU is coming from a deep sleep and is more likely to sleep again and thus limits its frequency to the lowest possible that can handle the operations needed. fast_start checks if the CPU needs more "ooomph" and jumps to the highest frequency faster to enable it to complete the operation the system needs to complete. (like during boot-up)
3rd Party Kernel Apps Support
CWM Manager 3.0 (It works well for me. Its a useful app by Chainfire that extends the features of the current recovery. No need to reinvent the wheel, so to speak)
Voodoo Louder by supercurio
Voodoo Display (for future supercurio app)
2nd Core by Tegrak
Touch Move by Tegrak
SetCPU by michaelhuang
Voltage Control by xan
Filesystem Features (loaded by default to prevent the load insmodding at boot will cause, however minor)
CIFS
FUSE
NTFS
Experimental NTFS automount for OTG devices (you'll have to do a little more work to enable sdcard as ntfs) (Thanks to gokhan for the hotplug script as base.) This script uses the native NTFS RW support available in t he kernel instead of ntfs-3g
Ext4 Tweaks from 3.x.x branch:
[PATCH] ext4: fix ext4_end_io_dio() racing against fsync() from https://lkml.org/lkml/2011/12/16/311
*Reported-by: Kent Overstreet <[email protected]>
*Signed-off-by: "Theodore Ts'o" <[email protected]>
[PATCH] ext4: avoid hangs in ext4_da_should_update_i_disksize() from https://lkml.org/lkml/2011/12/16/344
*Signed-off-by: Andrea Arcangeli <[email protected]>
*Signed-off-by: "Theodore Ts'o" <[email protected]>
I/O Schedulers
SIO (2012 0.2 version)
deadline (tweaked for Flash)
noop
V(R)
Performance Patches
Mike Galbraith's Ultimate CFS Performance Patch (CFS Autogroup)<[email protected]> as ported by faux123 <[email protected]> for 2.6.35 kernels. I (sarcastillo <[email protected]>) additionally edited some things in sched.c to make it compile properly for 2.6.35.14 Samsung Sourced kernels*More info on this here: https://lkml.org/lkml/2010/11/20/91
Added the CGroup Patch:*Added [PATCH] cgroup: Provides a way of tasks grouping by timer slack value by Kirill A. Shutemov <[email protected]> Based on patch by Jacob Pan. Introduces per cgroup timer slack value which will override the default timer slack value once a task is attached to a cgroup. It's useful in mobile devices where certain background apps are attached to a cgroup and minimum wakeups are desired.
Miscellaneous Patches
Added [PATCH] cpu-hotplug: Add the function 'cpu_hotplug_inprogress' by Maya Spivak <[email protected]>
Added [PATCH] printk: Don't allow cpu to get console lock during hotplugging by Maya Spivak <[email protected]>
Added [PATCH] rcu-tree: Check for extended quiescent state at start of gp by Maya Spivak <[email protected]>
Added [PATCH] sched: Do not block when waiting to free old root domain by Maya Spivak <[email protected]>
Enabled fsync disabled (can be disabled by doing an echo "1" > /sys/module/sync/parameters/fsync_disabled in a terminal emulator or as a script for gscript or scriptmanager)
Touchscreen fix set to "3" for more responsiveness during games, etc. (Thanks to vitalij)
Custom CWM Recovery made by af974 (Huge props to him!) based on Team Overcome Recovery (Huge props to them!)
Enabled back key
Enabled Power button to select (less chance of double pressing the Home Button and format sdcard fro some users)
Reorganized, Inutitive layout and more Readable menu
No/Yes Selection Tweak (If you know how to get to Recovery, you don't need that many "No's")
Mount Internal AND Mount External from Recovery (We figured this would be quite Useful)
Click to expand...
Click to collapse
RedPill Download Links:Download TAR
Download CWM ZIP
​
Click to expand...
Click to collapse
Disclaimer: I made this for my personal use and has been personally tested by me and my team (HyperDroid Dev Team). While it may work for other i9100 International ROM's, we have not tested it personally. You have the liberty to choose to use this Rooted Kernel and by flashing this Kernel you will have surrendered your right to complain that you lost your Warranty. If you're smart enough to figure out WHY you need a Custom Rooted Kernel, you SHOULD be smart enough to undo it if you need your device serviced officially. If your device explodes, melts or otherwise disintegrates from its awesomeness I shall NOT be held responsible.
Click to expand...
Click to collapse
Reposting the Kernel: Please don't repost this kernel anywhere else. Keep the download links intact as I have taken the effort to provide fast links for everyone. If you can't understand English well enough and feel the need to re-post this kernel on a foreign language web site or forum, please let me know first and link to this page... (Google Translate can make it easier to read in your Native Language)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits: (Huge props to all the devs I've learned from by reading and studying their code)
Chainfire
Erasmux
Imoseyon
faux123
Ezekeel
franciscofranco
supercurio
hardcore
Hacre
Netarchy
Ninpo
gokhanmoral
Tegrak
Entropy512
cattleprod
alterbridge
Team Overcome
All the hardworking Kernel Devs at lkml.org (Linus Torvalds, Jens Axboe, Mike Galbraith, etc.)
Click to expand...
Click to collapse
Special Mention to the following:
To my mates at the HyperDroid Dev Team: (who help me test and refine the features of our kernel for our ROM)
Arighi (for the initial guidance on how to get the kernel booting and working & a lot of battery driven patches)
D.O.C. (formerly doctorcete) (for the friendship and being an example of diplomacy in dealing with usual ****storm of questions from users who refuse to search and read)
AF974 (for the Overcome based Recovery that's so bad ass I want to stay in recovery)
petsasj (for his great work on HyperDroidParts and all future Apps that are just pure awesomesauce!)
sicopat (for letting us use his server and helping us out with a lot of things smali)
s2d4 (for testing everything at the risk of the potentially time sucking Soft Brick...)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Source: https://bitbucket.org/sarcastillo/ultimate-kernel-sgs2
MatrixPills Image by Corinne Wilger. Visit her site HERE.
RedPill Touch Recovery Changelog:
-Based on new CWM 5.0.4.2 made for ICS
-Usual custom layout as previous release, custom images (thanks to Pongster)
-New menus layout:
Reboot menu= reboot to system,recovery and power off
Install menu= choose from internal or external sdcard
wipe menu= wipe data/factory res, wipe cache, wipoe voltage settings(it wipes voltage control script), wipe battery stats.
backup and restore= backup either on internal or external sdcard, restore and advanced restore to the same way.
storage menu= mount/unmount partitions, mount internal or external sdcard
Touch button on screen
Since the touch feature, we have again 7 no and one yes.
Touch buttons layout(from left to right) : BACK-UP-DOWN-SELECT
Battery percent
Battery charge while in recovery.
Click to expand...
Click to collapse
Credits:
Thor2002ro for all his help, i've stressed him along via pm and for porting ICS recovery compatible with gingerbread
DoomLord for the inspiration
Sztupy...nice and helpful guy
Gweedo767
Ogdobber
Koush for his wonderfull work on recovery
Linux even if recovery doesn't have linux code inside
Google
All Hyperdroid team
XDA Developers
CyanoGenMod Team
Alterbridge and Overcome team for their work on the Galaxy Tab recovery
Click to expand...
Click to collapse
Uploaded with ImageShack.us
----------------------------------------------------------------------------------------------------------------------------------------
HyperDroid RedPill Recovery ChangeLog:
-New custom layout, red color text, custom images (thanks to Pongster)
-New menus layout:
Reboot menu= reboot to system,recovery or download
Install menu= choose from internal or external sdcard
wipe menu= wipe data/factory res, wipe cache, wipoe voltage settings(it wipes voltage control script), wipe battery stats.
backup and restore= backup either on internal or external sdcard, restore and advanced restore to the same way.
storage menu= mount/unmount partitions, mount internal or external sdcard
back softkey is set to back.
power and menu are set to select.
Click to expand...
Click to collapse
Thanks to D.O.C (alias doctorcete, alias King) for screenshots
"The Surgeon"
Its basically to make our lifes simpler...
as stated by pulser_g2 here the idea was born on IRC basically because of the constant updates samsung was doing before, and we all felt a little overwhelmed about doing and redoing the mods and themes for every little release, and on top of it, without a changelog.
So basically "The Surgeon" is VRTheme on steroids. What does that mean?
VrTheme based on latest by seshmaru here modified by myself in several ways.
1. It uses sdcard instead of cache, thus making it cross compatible with devices with little cache partition memory (my case the HD2=
2. It has been modified to fit our needs of modding aswell.
So We basically take any John Doe build, no offense intended.
then flash out surgeon and we can do what any flashable zip can do plus:
1. Theme thanks to vrtheme system
2. Flash custom boot logo
3. Change DPI
4. Mod any apk that would allow us (for example, here we use it to provide multidpi for dialer and calculator).
5. Makes a backup of modded apks to sdcard/vrtheme-backup which can be called with the again modified vrtheme restore backup zip file that you should find on the posts below.
to this add:
1 Remove Apks
2 Automatic wiping of dalviks cache
3 adding apks
4 settings permissions, replacing dirs, etc, what any flashable zip does.
and, the best thing of it all, is that, removing specific xmls from the flashins system, makes the surgeon truly universal. This same advanced flashable zip file we have been using since KG6 (yeah, we have been building the roms since KG6, but we did not want to release until we got it all right) with the exception of certain xmls (devs know what im talking about, samsung has been changing smalis and xmls on every darn build).
It also has been proven to work (again without specific xmls) with VillainROM or any rom.
Our main goal was to build a custom base, and, although we consider the base rom to be pretty good, it has nothing spectacular or innovative added to it, its a base rom.
Again, so you guys get this straight.
Base rom contains all the mods that cannot be flashed thru the surgeon.
Thus, the Surgeon is where the magic relies, is where multidpi, themes, mods, scripts, bootlogo changing relies.....jep, that is where the magic takes place.
The Surgeon is pretty straight forward as you can see, no hidden tricks or secrets kept for ourselves, therefore, we consider this to be an opensource project, cause we truly believe that lots of eyes on sources make things a loot better.
So if we get lucky enough with samsung, only one surgeon from now, updates for base rom only.
Surgeon should get updated when bugfixing, adding of features or removal of them.....hopefully i said..
Again, without the help of the VillainRom Team, this wouldnt be possible.
PS: The rom was first intended to be as it is AFTER flashing the surgeon scripts, but, since we can provide a base rom for guys that like ALL of samsung stock features and theme, then this makes us all happy doesnt it?
Universal Surgeons Testing phase
Lets play a bit with this one and try to make surgeon to work on any build too shall we?
Ok here we go with the first one....I just flashed it and it works fine, no bootloops or anything, rom (not androidmeda) is totally themed, dpi hcanged to 192, dialer resized to be multidpi, apps injected, some removed, etc.......This shall make almost (yeah almost) like the docs surgeon script on any build....
Removes the following if existant on build to be flashed upon to
http://pastebin.com/YNC6RPkS
Changes the Bootlogo
Changes dpi to 192
adds some tweaks to init.d
adds color tweak
removes gapps and replaces with latest that supported dpi
adds Spare parts (please uncheck compatibility mode for dpi lower than 240 display correctly)
adds CM7 calculator
Adds gb keyboard I modded to be multidpi
Replaces TWlauncher, replaces with launcerpro
Removes almost all of tw stuff
Removes Kies functionality (and its entry from settings)
And lots more.....
*tested here over Villain Rom, on it and its all good so far
Now rom would be fully themed like docs theme (including custom fadings animations)
pls feedback is appreciated
Universal Surgeon V2.0
Kernel Changelog
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Red Pill Kernel
Changelog
RedPill_Rev1.3
Added Newest RedPill CWM Based Recovery by AF974 (Touch Enabled with Battery % and Charging in Recovery) (Huge props to AF974)
Experimental: USB Audio support for DAC devices
Change Back to SLQB for slightly better performance
Removed Net Scheduling/Traffic Shaping via Stochastic Fair Blue Scheduler as this may be causing network issues for some users
Added HFS and HFS+ Support
Added back V(R) but tweaked it to prevent aliased requests from starving other I/O as well (Thanks to franciscofranco for the idea)
Update SIO I/O scheduler to 2012 version by Miguel Boton
Tweaked CPU Freq hyper sampling rate
Added Patch ARM: improve compiler’s ability to optimize page tables by Russel King
Added Patch wakelocks: Allow independent debugging of wake_lock_destroy() (Thanks to Entropy512)
Experimental: Updated Wireless Driver from EL29 Source… (Thanks to gokhanmoral for these files that are “cherry-picked” from his repo) If users report a lot of the dreaded wlan wakelocks, I can easily revert to the stock update3 sources… This is an attempt to solve WiFi problems some are having.
RedPill_Rev1.2
Tweaked tweaks.sh file based on additional information learned and tested recently. (VM System Reading by s2d4 found <a title="Android VM System: Understanding It a Little More" href="http://goo.gl/bQgU0">here</a>)
Reduced number of available governors based on my personal testing... the 4 remaining should serve the needs of those looking for performance, battery life or anything in between.
Removed some more stuff no one used in the defconfig.
Release LA2 based initramfs version as stable (and make AOSP Support Unstable as we don't test that in GB)
Tweaked mount options for ext4 (extended Commit time to 30 and fall in line with the VM System tweaks implemented)
Change from SLQB to SLUB for a little less overhead (vs. a queued allocator) More info on SLUB here: http://lwn.net/Articles/229984/
Tweaked values in deadline and SIO I/O scheduler to give better throughput while attemting to keep a similar latency to the original (if not more aggressive) Based on my initial (indicative, not conclusive... yet) testing, having these in line with the vm dirty, expire, writeback values + ext4 commit=30 + laptop mode to "schedule" write outs to NAND based storage works quite well to balance throughput with latency expected in a mobile device. We took the big picture view instead of copy pasting random "known" good values and challenged some assumptions even we had at the start. The result is a mobile device tuned for good throughput and battery life with above average latency (not the lowest latency out there, but given the benefits of better I/O throughput and potential battery savings + extending the lifetime of NAND Based storage I think it was a compromise worth taking)
Remove V(R) and BFQv3r1 scheduler as the tweaked deadline, SIO and noop are the best we've tested for NAND filled mobile devices. (More on this later)
Added franciscofranco's deadline tweak that "Prevent aliased requests from starving other I/O"
Set deadline as default I/O scheduler
Tweaked deadline i/o fifo_batch for better throughput
Remove set_need_resched from rcutree.c based on https://github.com/drod2169/KangBang-OMAP/commit/717e7a22e42869418084701455c11e690a993fe8 which says:*"if we really are in an interrupt, the attempt to re-enter dyntick-idle mode will invoke*rcu_needs_cpu() in any case, which will force the check for RCU callbacks.*So this commit removes the check along with the set_need_resched()"
Experimental BTHID fix based on latest bthid.c from Samsung Source Releases I found on github (EK02 for Epic Touch 4G Released in December 2011... about 2 months after Update3 Sources were released for the i9100 and about the same time "BTHID broke" reports began coming in.) (Thanks to TDR for the source where I found this fix)
RedPill_Rev1.1
Adjusted Int Voltage of ARM and Busfreq to Stable Values across several devices
Added Imoseyon's suspend code to hyper and sleepy
Adjusted Touch Screen Values back to default (Thanks to Entropy for pointing this out)
Lowered Touch LED Values lower to dim the LED's a bit more.
Added Some Tweaks in the init.rc so they can be set from there and are consistent for anyone who uses the kernel.
Added some experimental compiler optimizations (Haven't noticed much difference, but we'll continue testing)
Enabled deep_sleep and fast_start by default in ondemand, hyper and sleepy
Added backported Conservative governor from 3.2
RedPillKernel_Rev1.0 (Final Rebrand to highlight the Power of Choice... formerly known as HyperKernel or HDK all older changelogs and commits since Update 3 are included)
Custom CWM Recovery made by af974 (Huge props to him!) based on Team Overcome Recovery (Huge props to them!)
-Enabled back key
-Enabled Power button to select (less chance of double pressing the Home Button and format sdcard fro some users)
-Reorganized, Inutitive layout and more Readable menu
-No/Yes Selection Tweak (If you know how to get to Recovery, you don't need that many "No's")
-Mount Internal AND Mount External from Recovery (We figured this would be quite Useful)
Tweaked NTFS automount script to support RW and use native ntfs built in the kernel instead of ntfs-3g (like stock kernel)
Adjusted Max CPU Freq to 1.5Ghz since its more stable then being at 1.6Ghz for those who like to OC
Fixed Bluetooth Devices not connecting properly because of the module not loading properly
Stripped the kernel modules used to bring the kernel size down a little more
Added Tegrak's Home Button Key Tweak (Thanks Tegrak)
Added Stochastic Fair Blue net scheduler (SFB)
Added [PATCH] lib/sha1: use the git implementation of SHA-1 by Mandeep Singh Baines <[email protected]> to improve boot performance by almost 12%
Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds <[email protected]>
Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds <[email protected]>
Added ARM: 6941/1: cache: ensure MVA is cacheline aligned in flush_kern_dcache_area found here https://lkml.org/lkml/2011/6/16/174
Added ARM_ERRATA_754322 & ARM_ERRATA_754327
Tweaked the Tweaks File with more Tweaks so the Tweakers who like to Tweak can stop Tweaking as its Tweaked by default and No other Tweaks are needed to Tweak it even further. Any more Tweaking brings you to the law of diminishing returns... (you get the point so I'll stop there...)
Set Clockspeed at 1.2Ghz at Boot time to ensure all critical tasks have enough power to perform them while the governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack)
Add back default sampling_down_factor for Sleepy CPU Governor
Added [PATCH] mach-s5pv310: Make cpuidle AFTR entry less chatty by Entropy512 <[email protected]>
Added various clocksource patches from lkml.org (check the commit log for details)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Frequently Asked & Answered Questions (FAAAQ)
Where is the source for building this Kernel?
You can find the source HERE. I love GPL and We should all support Open Source Software and its Developers. Please Note that Open Source doesn't mean all of this magically wrote and patched itself... it takes a lot of our FREE time to do this and would appreciate if you let us know how you've improved the code.If you know what you're doing, you can easily build your own kernel too. *Please let me know if you have any improvements you feel should be included and send me a pull request. *If it tests okay, it may be included in the next release.
Does the RedPill support AOSP/MIUI/CM7 ROMs for i9100?
As of Rev1.3, I will not be working to making it work on AOSP/MIUI/CM7 as I only have enough time to test and maintain 1 build. When the ICS sources come out, I may have to make it support it again as the team may release an AOSP based ICS as well.
Why doesn’t the RedPill have high benchmarks?*
That’s done on purpose to keep YOU away. Seriously. The way the VM system is tweaked (dirty ratio’s, minfree values, etc.) + the focus on better throughput in any type of load + prioritizing data integrity by turning on fsync + a lot of other small tweaks all lead to good performance and battery drain in actual use (I like using my device and not keep it sleeping to bloat my battery stats, thank you). This may not give you the benchmark scores you want to be able to show off… which is good since it means YOU stay away from this kernel and continue to rely on benchmarks rather than actual usage.
Does the RedPill support other variants of the i9100 (like i9100g or i777)?
No. It supports only the i9100 International Version. *If you use it successfully on other i9100 variants, please let me know so I can update this page.
Is the Kernel Undervolted by default?
ARM Voltages are stock. Int Voltages and Busfreq Voltages are conservatively UV'd as seen in the source below...
CPU: L0=1500, L7=100
Code:
.index = L0,
.arm_volt = 1450000,
.int_volt = 1100000,
.index = L1,
.arm_volt = 1300000,
.int_volt = 1100000,
.index = L2,
.arm_volt = 1300000,
.int_volt = 1050000,
.index = L3,
.arm_volt = 1200000,
.int_volt = 1050000,
.index = L4,
.arm_volt = 1100000,
.int_volt = 1050000,
.index = L5,
.arm_volt = 1000000,
.int_volt = 975000,
.index = L6,
.arm_volt = 975000,
.int_volt = 950000,
.index = L7,
.arm_volt = 950000,
.int_volt = 925000,
Busfreq:
Code:
{LV_0, 400000, 1000000},
{LV_1, 267000, 975000},
{LV_2, 133000, 975000},
Why a tweaked deadline I/O scheduler?
The deadline I/O scheduler by Jens Axboe has proven itself as a low overhead, high throughput and acceptable latency I/O scheduler. *When tweaked for NAND based Mobile devices, it does even better. *While it "starves" writes by default with a 2:1 Read:Write ratio, this can easily be tuned via sysfs.
Why is my favorite governor (whichever it is) not available?
Simplicity is the Ultimate Sophistication, as Leonardo Da Vinci eloquently said. *Based on extensive testing and user feedback, we gathered that these 4 governors included gave the best performance and battery life on our device. Simple choice to have only the best ones available based on actual testing and feedback. *You will also note that I removed lulzactive and any interactive based governor. This was done after I realized that I was tweaking lulzactive, for example, to behave like governors that do the job perfectly already sans the sleep profile. *What I mean is setting a pump up step of 4 and tweaking other factors such as sampling rate and sample time along with cpu_load (inc and dec) made it behave like ondemand with a sleep profile... *I like it simple so I just included the tweaked and optimized ondemand with sleep profile instead. *You can also make lulz behave like conservative, so I included conservative in there. lulzactive is a tweakers dream... but those who like to keep it simple may find it takes time to configure correctly. *I included only these governors so you all have a simple choice to make in finding your favorite one. *These are all tunable via sysfs so you can skew it towards battery or performance based on what is important for you. *Don't expect uber smoothness and 6 hours screen-on time though... *there will be compromises when leaning towards any of the two factors most users consider important in a kernel.
What are the sleepy and hyper governors?**Experimental CPU Governors
(In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
sleepy (formerly know as solo) is an attempt to balance performance and battery life. Its based on the tweaked ondemand by arighi and is optimized for the SGS2. It includes imoseyon's ondemandx tweaks with some down_sampling and other features that users can set by echo'ing into sysfs. Sleepy is closer to ondemandx in behavior when in action.
It also features arighi's fast_start and deep_sleep detection features. It also suspends at 500Mhz.
hyper (formerly known as kenobi) is an aggressively smart and smooth tweaked and optimized for the SGS2 based on ondemand as tweaked by arighi with some ondemandx suspend features from imoseyon. (Added setting suspend_freq via sysfs and Imoseyon's Suspend Code) Hyper is closer to ondemand in behavior when in action.
It features arighi's fast_start and deep_sleep detection features. It also suspends at 500Mhz.
What is arighi's deep_sleep detection?
From arighi's description on the*<a title="deep_sleep commit" href="https://github.com/arighi/linux-gt-i9100/commit/719732552357f66b11f8c972575b440a8f97d64b">actual commit here:</a>
deep sleep detection via low-power idle notifier
Implement a deep sleep detection mechanism using a low-power idle*notifier introduced in 9487d11.
A new parameter is provided in the ondemand cpufreq governor and*exported in sysfs:
/sys/devices/system/cpu/cpufreq/ondemand/deep_sleep
The deep sleep detection is implemented using the following heuristic.
When deep sleep detection is enabled (deep_sleep = 1) if we detect that*the previous low-power idle state was more than 4x the sampling rate, it*means that we're probably going to enter to a deep sleep state or we're*just resuming from a deep sleep.
In both cases we completely ignore the cpu activity (considering it to*the minimum load), because probably there's a big chance to get back to*the deep sleep soon. If it happens, with this heuristic, the cpu will*enter the deep sleep state at the minimum frequency, that is good for*saving battery life.
What is arighi's fast_start detection?
From arighi's description on the <a title="fast_start commit" href="https://github.com/arighi/linux-gt-i9100/commit/df47f443192c3806277db6aed257421e33c4036f">actual commit here:</a>
fast start detection via low-power idle notifier
Implement a heuristic to detect interactive usage of the device and*boost the cpu frequency to the max.
A new parameter is provided in the ondemand cpufreq governor and*exported in sysfs:
/sys/devices/system/cpu/cpufreq/ondemand/fast_start
The fast start detection is implemented using the following heuristic.
If in the last 4 samples the cpu never entered in low-power idle state,*probably the cpu is very busy. In this case we jump to the maximum frequency immediately.
Why SLQB? (According to its author, Nick Piggin)*
”SLQB is a slab allocator that focuses on per-CPU scaling, and good performance with order-0 allocations. Fastpaths emphasis is placed on local allocaiton and freeing, but with a secondary goal of good remote freeing (freeing on another CPU from that which allocated).”
Why XZ Compression for the Kernel?
Its about 30% smaller and decompresses at just half the speed of gzip... I decided to use it as we have a lot of ram and raw cpu power that can easily handle the extra load xz compressed kernels
XZ compression is set to compress at -9 instead of the default -6 (since XZ decompresses faster when the archive is larger) delivers more performance since in kernel land you don't need to worry about compressing anything back to XZ, these gains in size were enough of a trade-off instead of using gzip by default. (Technically, gzip compressed kernels and initramfs are faster than any other compression method... but for our device we have a lot of raw CPU power and a lot of RAM) (more here http://tukaani.org/xz/)
Why ARM Topology and sched_mc?*(From linaro.org)
"The sched_mc function adds a power saving awareness to the Linux scheduler which is tuned for performance by default. When sched_mc is enabled, the scheduler tries to gather the running processes in a minimal number of cpus and clusters. This choice of the location of a process is done thanks to the cpu topology function which describes the affinity between cpus."
(more info here: https://wiki.linaro.org/WorkingGroups/PowerManagement/Specs/sched_mc)
Why RCU Fast No HZ?
"This option causes RCU to attempt to accelerate grace periods in order to allow CPUs to enter dynticks-idle state more quickly. On the other hand, this option increases the overhead of the dynticks-idle checking, particularly on systems with large numbers of CPUs." The power savings generated from using this, in my experience, outweigh the additional minimal overhead in checking dynticks-idle."
Why rename some modded CPU governors?
I chose to rename tweaked/edited governors as there may be bugs that I inadvertently add with my experiments and would like all these bugs to be properly documented as being introduced by myself. (Personally, it would be worse for me to introduce a bug in a current mainline CPU Governor with my experiments as I'm still learning about tweaking and making changes at this level... and from how I live my life, experience is the best teacher)
Ondemand, for example, is an old reliable and putting all the features I want in there will change the performance I have come to expect from it. I don't expect ondemand to have a sleep/suspend profile for example. So editing/tweaking/optimizing a governor and renaming is the way forward for me. I want to select "ondemand" and know that it will behave like it does in all my devices... reliably handling the load at the expense of battery life.(smoothness above all)
Where do I report Issues or Get Community Support?
Head over to the <a title="Official Kernel Release Thread" href="http://androidmeda.com/forum/index.php?topic=47.0">Androidmeda Forums Kernel release thread</a> or <a title="XDA Kernel Release Thread" href="http://forum.xda-developers.com/showthread.php?t=1288850">XDA Kernel release thread</a> to get support from fellow RedPill Users. *Make sure you included a dmesg or last_kmsg by following <a title="How To File Useful Bug Reports in Android" href="http://androidmeda.com/forum/index.php/topic,12.0.html">my guide on filing Bug Reports here.</a>
How do I show my appreciation? Can I donate to you?
You can show your appreciation concretely in several ways:
Pressing the "Thanks" Button on XDA
Signing Up to the Androidmeda Forums and Pressing the "Super Thanks" Button there
Report issues politely and completely
Donating any amount is completely up to you. *I look at donations as a "tip" for a job well done, rather than a "wage" or a "bounty" to get things done. *And Tipping is always up to you... the tipper. *I won't stop development if you don't donate, that's for sure, as I do this mainly for myself and my HyperDroid mates to begin with. I make more money running my own business than this hobby so “tips” are not a necessity… it just tells me how many people actually find the work useful enough to say thank you via a financial gesture.
This Kernel will ALWAYS be FREE to Download and USE, even if the time spent making it IS NOT FREE. *That's Open Source. (The time people spend on open source projects could have been used to spend more time with their families, for example. But the Devs commitment to get something done right is almost always tugging at him to Dev just a little bit more) *
*I've personally donated to Devs who've done things I would never have been able to figure out at the time they did figure stuff out. *Learning anything new takes time and time, in my book, is more important than money as I can't turn back time, while I can always earn money. SO I donate to Devs who spend their free time making Stuff better and easier for those of us who haven't figured out how to get it done.
Docs Surgeon
Docs Surgeon
​*The Screenshots are from the theme only, Touchwiz launcher is removed on the surgeon.[/B][/LEFT]
**The theme download (not surgeon) will theme your twlauncher/weather/clock like the screenshot above.[/COLOR][/FONT][/B][/SIZE]
Docs Surgeon script
List of APKs and other stuff is removed from Build when this is flashed
Features
Flashable over Androidmeda
Lucid based theme overall system using VRtheme modified (props to doctorcete)- autobackup made on sdcard for easy restoring
Custom made Screen transitions (doctorcete)
Removes samsung bloatware
Preserves samsung mail and im untouched and working
Removes entry from settings not to show kies wifi (doctorcete)
Prevents home key or volume to wake up device, only power button does (OP)
Changes dpi to 192 thus making rom as multidpi compatible as possible.
Changes the first boot logo to hyperdroid logo
Removes warm tint color thanks to (IntExCZ)
Removes gapps and adds latest gapps that had multidpi support (12/07/2011)
Removes twlauncher and replaces with launcherpro (easily replaceable before flashing, just remove Hyperdroid-LauncherPro.apk and add your desired launcher to /system/app inside zip file.
CM7 calculator
DSP manager
Keyboard with a comma thanks to petsasj
Adds some useful apps to data/app
Clear button to show on the bottom and centered
Changelog
v4.0 (09/12/2011)
General Theme tunning up, there is a loot of visual changes, u might consider flashing it even if you did not liked the them before.
Changed the updater scripts to be a bit more precise on pregress bars
Organized updater script
Removed all gapps but vending files form surgeon, now it is more compatible whit newer gapps versions sin its only replacing vending.apk
Updated to be compatible with new kk5 apk name changes
Updated to be compatible with Jkay 13.2 theme
This surgeon I believe is not universal.
v3.0 (26/11/2011)
Change Dialer pngs one more time
Added jkay v13.1 compatibility
Added XW and XX bases compatibility (theory only)
Change dialers pngs again
Retained FB social sync
Added dpi app changer thanks to innodroid
Added mdnie switcher thanks to freerunner
Added Fix permission script to be run at end of flashing to avoid permission management issues.
V2.2 (27/10/2011)
vrtheme to use latest installtheme.sh with fixed permissions
V2.1 (24/10/2011)
Changed the first boot logo to fit new boot animation
Removed build.prop modifying except for dpi change.
V2.0 (22/10/2011)
Updated now to jkay v12.1 support
Theoretically now all V2.0 Surgeons should be universal to be flashed over any other builds (needs testing and confirmation)
V1.4 (19/10/2011)
Changed the Clear button to show on the bottom and centered, note that since the carrier is on the same line of the button, whenever the clear button shows up, our carrier name will show up aswell.
Removed some sound from system at all that I ound anoyying (volume sound, charging sound, fully charged sound).
Removed samsung bootanimation at startup and shutdown animation as they arent being used and only taken up some space.
Alarm icon on status bar removed, wont show up there, but it will function normally
V1.3 (18/10/2011)
Included jay v12 support
Special modded keyboard by petsasj with comma at the right and dot at the left, if you find this unconfortable just go to his thread here and flash ur favorite keyboard, Dont forget to press thanks to him for the mod.
V1.2 (17/10/2011)
Reestructure of flashable zip file
Now Surgeon changes build number displayed, it should display code names at the end corresponding to the surgeon being used.
Changed the dialer theme thanks to (Cruznec)
V1.1 (06/10/2011)
Added more multidpi support to dialer
Launcher Pro Plus is now under /system/app and has been themed and shorcuts to the mms "bug" has been removed for your convinience. (doctorcete)
Download via HyperDroid Parts OTA Tool​
Pongster Surgeon Home
Welcome to my Surgeon,
This is my personal surgeon for the HyperDroid-Androidmeda for SGS2. I use this myself without any problems and I hope you enjoy it or use it as a base for your own Surgeon.
Features
Flashed over HyperDroid-Androidmeda
Fully deodexed
Frankentheme (MattedMidnight) heavily based on GingerWay Blue Ocean by antonda (link here) with PNG's from Jabbawalkee's MattedBlues, Sonnysekhon's Lucid and Monochrome and Nitroz and Pele of Black Android Theme for Gingerbread
Removes some samsung bloatware: mainly TouchWiz except for TWCalculator and TWCalendar
Prevents home key or volume to wake up device, only power button does (OP)
LauncherProPlus included by default (Thanks to Federico Carnales)
Mail and IM fully functional
Kies still functional
Jkay compatible
3G/G/Wifi and Network Signals turn White when connected to Google Servers
DPI is set at stock 192
MattedBlack...
Bootanimation is minimalist android text similar to default bootanimation in Android Emulator.
Creates a folder in your /sdcard named gscript which contains the most useful tweaks I personally use
7 Notification toggles for Jkay mod version at 160 dpi (Thanks to sicopat)
MultiDPI MusicPlayer.apk (works at densities from 160 and above) modded by pongster
160 dpi for FULL Android Market support
MattedBlack Franken Theme (Lucid + BAT Xtreme + BlueOcean +GingerGray)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that are removed, simply follow the instructions below.
Suggested Market Applications
Code:
Browser => [URL=https://market.android.com/details?id=com.opera.browser&feature=search_result]Opera Mobile[/URL]
News Feeds => [URL=https://market.android.com/details?id=com.alphonso.pulse&feature=search_result]Pulse[/URL]
Video Player => [URL=https://market.android.com/details?id=com.clov4r.android.nil&feature=search_result]Mobo Player[/URL]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Screenshots of MattedMidnight Frankentheme
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Screenshots of MattedBlack FrankenTheme
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads
MattedMidnight
Theme available via the ROM Tool on v4.0
MattedBlack
(Available in Transparent only | 160 DPI (DON'T CHANGE THIS) | petsasj 160 DPI TW | pongsters MultiDPI MusicPlayer mod)
Available via the ROM Tool on v4.0
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How to flash
Code:
0) Check the list of applications removed and modify for your own needs
1) Flash base
2) Flash any Delta Updates
3) Flash surgeon
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits
HyperDroid Dev team
doctorcete for the unique and powerful Surgeon
Seshmaru and Pulser_g2 for VR Theme
lidroid for his awesome little app
Jkay
petsasj
sicopat
Kahvitahra and "TSM" Sbrissen
antonda
Nitroz
sonnysekhon
mr.megi
dtekkt
LeoMar
MIUI ROM
The rest are mentioned in OP and Changelog portion already. If I forgot anyone, do let me know.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
=======================SURGEON CHANGELOG======================​
MattedBlack v4.0 (9/12/11)
Jkay 13.2 Support
Updated Themes of some Apps thanks do doctorcete (Clock, EMail, Phone, Samsung Keyboard)
MattedBlack v1.0 (11/10/11)
Initial Release
Huge Props to LeoMar for the Matte Dialer from his Revolution 2.7.1 Kitchen, mr.megi for DarkMIUI and dtekkt for MIUIBuntu and all original creators of the PNG's (as this is a frankentheme I put together, not created, please let me know if there are images that you created so I can credit you properly)
V2.0 (22/10/2011)
Updated now to jkay v12.1 support
Theoretically now all V2.0 Surgeons should be universal to be flashed over any other builds (needs testing and confirmation)
V1.3 (18/10/2011)
Included jkay v12 support
V1.2 (17/10/2011)
Reestructure of flashable zip file
Now Surgeon changes build number displayed, it should display code names at the end corresponding to the surgeon being used.
V1.1 (06/10/2011)
Hotfixed already to avoid bootloops, crashes or malfunctioning, everything now whould be smooth as butter
Added more multidpi support to dialer
Added SpareParts apk to data/app, please use it to uncheck "compatibility mode" and reboot.
Launcher Pro Plus is now under /system/app and has been themed and shorcuts to the mms "bug" has been removed for your convinience. (doctorcete)
V1.0 (05/10/2011)
Flashable over Androidmeda (Visit antonda's thread here)
Frankentheme (MattedMidnight) heavily based on GingerWay Blue Ocean by antonda (link here) with PNG's from Jabbawalkee's MattedBlues, Sonnysekhon's Lucid and Monochrome and Nitroz and (dev name here) of Black Theme for Gingerbread
Removes some samsung bloatware: mainly TouchWiz except for TWCalculator and TWCalendar
Prevents home key or volume to wake up device, only power button does (OP)
LauncherProPlus included by default (Thanks to Federico Carnales)
Mail and IM fully functional
Kies still functional
changes dpi to 182
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Hello ladies and gents,
This is my surgeon for Androidmeda HyperDroid. I won't bore you with a long block of text. So here's a short layout of the features.
Features
Flashed over Androidmeda
Fully Odexed or Fully Deodexed (2 versions)
RTL patch compatible. For Jkay mod based builds you MUST use the deodexed version. For TSM both are working
Blue theme on most applications (I have drawn a line between blue being the dominant color and everything just being ... blue)
Stripped almost completely to the bone. About 90 system applications removed
Jkay or TSM mod compatible (2 separate versions)
3G/G/Wifi and Network Signals turn blue when connected to Google Servers
DPI is set at stock 240
Includes my modified TouchWiz Launcher (v2.4 Page Number 4 default Home Page)
Includes my modified Samsung Keyboard
3 very useful applications installed in /data/app (SmartRotator, AutoMountUSB, homeMYhome) and OdexMe in /system/app
Rosemary Fonts from SGS (select from Menu > Display > Screen Display)
Creates a folder in your /sdcard named Walls with SGS2 stock wallpapers and Galaxy Nexus Wallpapers
Up to 12 notifications in Jkay mod that are rearrangable. 5/6 notifications layouts (non-deluxe) come with a carbon fiber background.
Edited Settings.apk to remove unused entries
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that will be getting removed, follow the instructions below.
Short description of the surgeon
This surgeon uses a unique reodexing script to turn the deodexed base ROM back to odexed. This script was done using bolts and bits of reodexing scripts floating around. (Jkay and TSM versions use different odexing scripts and procedure) Many kudos to those people.
This is best suited for the users that remove most bloatware and install Titanium Backup to restore their applications at once. Should you not be one of those users, there are some suggestions below to replace stock applications with.
It is prefered you use odexed themes. But you can flash deodexed themes, as well, so long as you leave /system/framework/*.jar's untouched. Open the theme .zip, note the apks that the theme contains and once installed, remove the appropriate odexes. Then run Paul's OdexMe application (this is an edited version).
Email and Email widget are included, however Premium accounts cannot be created. The push notifications of Social Hub does eat up a lot of RAM and Battery (a lot of battery in fact) so please use Hotmail/Yahoo mail push apps.
homeMYhome app (renamed for easiness into Double Tap - many thanks to c3k!) replaces VoiceToGo double tab feature with another app of your choice. Make sure you have Double Tap enabled if using Jkay's version.
AutoMountUsb enables USB automounting once plugged in, and SmartRotator allows you to select which applications you want to rotate or not
Suggested Market Applications
Code:
Browser => [URL="https://market.android.com/details?id=com.opera.browser&feature=search_result"]Opera Mobile[/URL]
Calculator => [URL="https://market.android.com/details?id=uk.co.nickfines.RealCalc&feature=search_result"]Real Calc[/URL]
Email => Hotmail/Yahoo push email apps
File Manager => [URL="https://market.android.com/details?id=com.speedsoftware.rootexplorer"]Root Explorer[/URL]
News Feeds => [URL="https://market.android.com/details?id=com.alphonso.pulse&feature=search_result"]Pulse[/URL]
Video Player => [URL="https://market.android.com/details?id=com.inisoft.mediaplayer.dice&hl=en"]Dice Player[/URL]
Screenshots of JKAY version
Downloads
Via OTA tool
How to flash
Code:
0) Check the list of applications removed
1) Flash base
2) Flash any Delta Updates (if any)
- 2.5) Flash RTL patch if you wish (for Jkay mod must be deodexed version)
3) Flash surgeon
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Last updated: 9/12/2011
Changelog
Code:
v4.0
fixed settings.apk xml files
updated pngs
updated for kk5
v3.0
ICS Transition animations
Ported ICS transitions to TW Launcher
Some more animations in menu elements
Included TW Launcher v2.4 (5 columns) - read my thread for how to
Included appzorter
Themed email widget (only works on 2x4/2x5)
Themed a bit more the status bar elements and lines
Some new wallpapers
Added back in Browser.apk due to issues being caused with CSC
Included S20color init.d script with edited mdnie values
v2.2 - fixed AOSP lockscreen sliders
Credits
HyperDroid Dev team
Seshmaru and pulser_g2 for VR Theme
Jkay for his mod
Paulobrien for OdexMe app (modified by Mekrel + some edits by me)
MANY THANKS to the creators of the reodexing scripts that helped me create this one
C3k for homeMYhome app (i love it!)
Capez for ICS transition animations here
If more, please pm me and i will add you asap
Nitroz BAT Xtreme theme
Note: All Credits to Pele for the theme, Nitroz did the port to our S2, he wanted to share this with all of us
Mr. Megui DarkMIUI theme port to vrtheme
Note: The theme contains all pngs mr.megui made for his original theme. In order to achieve transparent background for status bar i would have to edit it on base first so no transparent status bar. Still pending the centered clock too.
Download Via HyperDroid Parts OTA Tool​
Hi everybody,
Here is the SicOpaT's surgeon for Androidmeda HyperDroid.
Features
Flashed over Androidmeda
Now with Call recording and bigger contacts picture option (v2.1.1)
Gold and Black theme with semi transparent pulldown menu
Jkay or TSM mod compatible (2 separate versions)
Gold 3G/G/Wifi and Network Signals
Gold theme of contacts.apk
DPI is set at stock 240
Includes Yiannis modified TouchWiz Launcher (Page Number 1 = default Home Page)
Includes Yiannis modified keyboard with COMA
Nexus Prime Bootanimation (youtube video)
Gallery with Bounce effect *
Browser with Bounce effect *
* only after XDXD9 firmwares
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that will be getting removed, follow the instructions below.
Short description of the surgeon
modification of Jkay HTC GoldEdge theme V13.1
wonderfull modified TW Launcher with 5 icons dock and 4 x 5 icons in Applications menu
idem for the coma keyboard
bounce effect back only in Browser and Gallery*
Screenshots of my JKAY version
Screenshots of TSM version
SOON
If you're having a hard time deciding over TSM or JKay, read the appropriate topics to help you out.
Jkay's mod
TSM mod (Kahvitahra's port)
Surgeon download links:
XDXD9 Jkay Version 3.0
olders :
XXKI4 Jkay Version 2.1
With Call Rec :
XXKI4 Jkay Version 2.1.1
Old versions :
XXKI3 Jkay Version 1.3
TSM surgeon Version (release soon)
VRTheme download links:
XXKI4 Jkay Version 2.1
How to flash
Code:
0) Check the list of applications removed
1) Flash base
2) Flash any Delta Updates
- 2.5) Flash RTL_patch if needed
3) Flash surgeon or VRTheme
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Credits
HyperDroid Dev team
Seshmaru and Pulser_g2 for VR Theme
lidroid for his awesome scrolling Toggle Bar
Jkay
Kahvitahra and "TSM" Sbrissen
Yiannis for his modified TWLauncher and keyboard
Matriak31 for nexus prime bootanimation
Vertumus for helping me in my theme
If more, please pm me and i will add you asap
Beta Testing​
No betas currently active, use official v3.0 version
Todo:
Update Superuser.apk inside kernel
Suggestion please
If you're having trouble with anything, the only way we can find out what's causing your Issues is If we have complete information.
The logcat/wakelocks/last_kmsg will do just that...
Simply reporting something doesn't work will not help... we all have different devices, different setups, different device manufacturing dates, etc...
If everything is set to default, everything works on our devices.​
How To File a Bug Report with Logcat:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb logcat' without the quotes
start the app that causes the issues
wait for the app to close or get to the error
copy logcat contents and put in pastebin
copy pastebin links here
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How To Find Wakelocks:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb shell cat /proc/wakelocks > /sdcard/wakelocks.txt' without the quotes
copy contents and put in pastebin
copy pastebin links on your post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How To Get last_kmsg logs:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb shell cat /proc/last_kmsg > /sdcard/last_kmsg.txt' without the quotes
copy contents and put in pastebin
copy pastebin links on your post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Before filing a bug report, please consider the answer to these:
Is the bug reproducible?
How do you reproduce it?
What is the expected behavior?
What actually happens?
Do you have a Task Killer running?
Are you on the default Kernel?
Did you restore data of System Apps using Titanium Backup?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Changelog
HyperKernel HDK: The underrated, quietly confident and remarkably smooth kernel...​Kernel Source:​https://bitbucket.org/sarcastillo/ultimate-kernel-sgs2​
Download Link:​​The Latest HyperKernel is bundled with the newest HyperDroid.
A separate thread will be introduced that will usher in the release of the kernel download separately.
v1.2 is already in testing and will be released as soon as my heavy usage with heavy UV and OC are done. (In 3-5 days)​
FYI If anyone should ask... we currently use the CodeSourcery Lite Toolchain. I was just about to play with other Toolchains but decided against it because after doing some research I found this R&D by Ezekeel. Thanks to Ezekeel for the useful information.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
HyperKernel HDK v1.1
-Cleaned up choice of CPU Governors and reaaranged them so that when selecting them in CPU Control Apps such as VoltageControl by xan (which is highly recommended fo use with this kernel), its arranged by its "focus and intent" (based on extensive testing on all default Clocks and Voltages) from "battery focused to performance driven".
-With this focus on simplicity stated above, the only governors available are the following:
-lulzactive (interactive based cpu governor by Tegrak) extremely flexible... by default it has a screen off profile and can be tweaked using init.d scripts or the lulzactive app by Tegrak to be battery centric or performance oriented.
-sleepy (ondemand based cpu governor formerly called "solo" edited by Pongster) loves to sleep and idle at the lowest set frequency, hence the name change from "solo" to "sleepy". This can be tweaked and tuned using init.d scripts as well.
-conservative (good battery savings by default due to its slow ramp up and ramp down but tunable for performance) defaults are slightly tweaked for better performance than default conservative.
-lazy (ondemand based cpu governor by Ezekeel) described by Ezekeel as "maybe a better version of ondemand" and for good reason as it gives a good balance between battery life and performance. also tunable using init.d scripts.
-ondemandx (ondemand based cpu governor by Imoseyon) this features earlysuspend features and downsampling which looks for the lowest frequency which can sustain the load while keeping idle time over 30% and tries to try to decrease to this frequency.
-ondemand (old reliable thats been tweak by arighi to support deep_sleep and fast_start) these features try to detect if the CPU is coming from a deep sleep and is more likely to sleep again and thus limits its frequency to the lowest possible that can handle the operations needed. fast_start checks if the CPU needs more "ooomph" and jumps to the highest frequency faster to enable it to complete the operation the system needs to complete. (like during boot-up)
-Added sysfs interface for setting suspend frequency for sleepy CPU Governor. Default is 500Mhz. Min Frequency is 100Mhz, Max is 1.2Ghz (Why would you need to suspend beyond that right?)
-Added some tested tweaks from the past few months of testing with HyperDroid ROM.
-Removed the + sign at the end of the versioning thanks to franciscofranco.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
HyperKernel - HDKv1.0
-Consolidated all current features of the Ultimate Kernel and feel its matured enough to go by the name of the ROM. Enter the HyperKernel or HDK...
-Removed some governors that are not as effective based on testing. (Removed skywalker, SmartAssV2) Use lulzactive if you want an interactive based governor. There are 8 governors in total available. Default is kenobi. You can tweak it by echoing into sysfs as usual.
-Added some tweaks in Kernel thanks to Erasmux and everyone involved in the discussions HERE: http://forum.xda-developers.com/showthread.php?t=786919
-Enabled Kernel Debugging and Schedule Debugging for the tweaks from Erasmux et. al.
-Fixed LOUDER App Compatibility thanks to @supercurio and @gokhanmoral
-Integrated gokhanmoral's implementation of Tegrak's updated lulzactiveV2 (Huge props to Tegrak and gokhanmoral)
-Tuned lulzactive for HyperDroid defaults. (Can be changed using tegrak's lulzactive app from the market)
-[PATCH] ext4: fix ext4_end_io_dio() racing against fsync() from https://lkml.org/lkml/2011/12/16/311
Reported-by: Kent Overstreet <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
-[PATCH] ext4: avoid hangs in ext4_da_should_update_i_disksize() from https://lkml.org/lkml/2011/12/16/344
Signed-off-by: Andrea Arcangeli <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
-Added RWSEM from cattleprod's Github Repo c/o Code Aurora
-Change default AC charge current to 650
-Change Internal Voltage for each CPU Level from L2 to L7
-Change Bus Frequency Voltages (less 100mV)
-Fix typo in suspend.h and suspend.c
-Several Code Cleanups and optimizations for stability and performance
-Disabled Net_Sched Queueing and Traffic Shaping via Heirarchical Token Buckets (HTB) as no one was maximizing its use/presence in the kernel
-[PATCH] Added missing Android common patches that were previously included but overwritten by the 2.3.4 code drop, Samsung have not applied any new patches from the Android common kernel tree to their kernels. by Adam Green <[email protected]>
-Added lazy CPU governor by Ezekeel <[email protected]>
-Updated Kenobi to use lazy governor features + fast_start and deep_sleep detection
-Updated "LOUDER" kernel driver created by supercurio (Kernel drivers are ready and waiting for his App to increase volume)
-Add support for Tegrak's touchmove thanks to tegrak
-Modified cpufreq.h to follow samsung update3 default behavior when HI_ARMCLK_THAN_1_2GHZ is enabled
-Modified touchscreen locking CPU at L3 thanks to AndreiLux for pointing that out.
-Updated su binary thanks to ChainsDD (added ICS support for su)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.3 Ultimate
-Add [PATCH] kernel:smp: Match on_each_cpu behaviour on UP to SMP by Gilad Ben-Yossef <[email protected]>
-Add [PATCH] nohz: Remove ts->inidle checks before restarting the tick by Frederic Weisbecker <[email protected]>
-Enabled Smooth Scaling by default (Please use Voltage Control or init.d scripts to control your CPU or it will not work as expected)
-Now using Chainfire's CWM 5.0.2.7 Recovery (with no back key)
-Faster Recovery and Boot (slightly) due to the use of gzip for initramfs instead of xz... (still using xz for the kernel so the kernel is still 5.0MB)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.2 Ultimate
-Add other ARM Topology Patches [ARM: cpu topology: Add update_cpu_topology function]
-Added supercurio's voodoo modules (Huge props to supercurio)
-Load these via insmod at boot during post-init
Source for patches found here:
Exynos Yamaha Tweaks
https://github.com/project-voodoo/mc1n2_voodoo
Exynos ld9040 Tweaks
https://github.com/project-voodoo/ld9040_voodoo_exynos_galaxysii
ARM Topology Patches:
http://patches.linaro.org/5095/
v2.1 Ultimate
-Enabled AFTR by default and tweaked scheduling a little bit for performance.
-Patched to Add v5 ARM cpu topology definition by "Vincent Guittot"
-Enabled sched_mc_power_savings
Add ARM cpu topology definition
The affinity between ARM processors is defined in the MPIDR register.
We can identify which processors are in the same cluster,
and which ones have performance interdependency. We can define the
cpu topology of ARM platform, that is then used by sched_mc and sched_smt.
The default state of sched_mc and sched_smt config is disable.
When enabled, the behavior of the scheduler can be modified with
sched_mc_power_savings and sched_smt_power_savings sysfs interfaces.
ARM CPU topology
https://lkml.org/lkml/2011/7/4/250
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.0 Ultimate
Release Date 09/DEC/2011
Added the Ultimate CFS Patch
- Added [PATCH] CFS Autogroup: Implementation by Mike Galbraith as ported by faux123 for 2.6.35 kernels.
I (sarcastillo) additionally edited some things in sched.c to make it compile properly for 2.6.35.14 Samsung Sourced kernels
More info on this here: https://lkml.org/lkml/2010/11/20/91
Added some PPP Patches
- Added [PATCH] net: Reorder incoming packets in PPPoLAC and PPPoPNS by Chia-chi Yeh
Added some RCU and CPU-Hotplug Patches
- Added [PATCH] cpu-hotplug: Add the function 'cpu_hotplug_inprogress' by Maya Spivak
- Added [PATCH] printk: Don't allow cpu to get console lock during hotplugging by Maya Spivak
- Added [PATCH] rcu-tree: Check for extended quiescent state at start of gp by Maya Spivak
- Added [PATCH] sched: Do not block when waiting to free old root domain by Maya Spivak
More details on commit message on bitbucket
- Turned Off STACKTRACE, FTRACE and SEC_LOG
- Set USB_VBUS Draw to 450
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.9 Ultimate
- Added latest cpufreq patch by arighi that brings down battery consumption when the screen is on. More details on actual commit on my bitbucket git repo.
- Removed some files from initramfs to bring kernel down to 5.1MB (without sacrificing key features we want in our kernel)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.8 Ultima
- Kenobi set as default CPU governor
- Disabled ARM_UNWIND
- Fixed Recovery Loader to enable ROM Tool/OTA App to work with CWM 5
- Revert to --lzma2=dict=1MiB (increases initramfs a little and adds some gains in speed vs compression)
- Added zcache as backported by faux123 here: https://bitbucket.org/faux123 BUT I only enabled cleancache for now
zcache, tmem, cleancache info here: https://lwn.net/Articles/454795/
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.7 SynergySeries
- BFQv3r1 as default I/O scheduler
- Removed NTFS Support in the kernel as that's handle by ntfs-3g now
- Removed ReiserFS support here as well (as Recovery may not support it properly)
- Removed ext 2 support as the option for using ext4 as ext2 and ext3 is enabled
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.6 SynergySeries
- Added XZ decompression support for kernel headers and initramfs... (Thanks to faux123)
- Added some XZ related fixes thanks to the original contributors.
- Tweaked XZ compression to compress at -9 instead of the default -6 (since XZ decompresses faster when the archive is larger)
and since in kernel land you don't need to worry about compressing anything back to XZ, these gains in size were enough of a trade-off instead of using gzip by default.
(Technically, gzip compressed kernels and initramfs are faster than any other compression method...
but for our device we have a lot of raw CPU power and a lot of RAM) If you don't trust me, trust the smoothness of the kernel at its current setup.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Code:
Why XZ? Some XZ Decompression details: (more here [url]http://tukaani.org/xz/[/url])
- Its about 30% smaller and decompresses at just half the speed of gzip...
I decided to use it as we have a lot of ram and raw cpu power that can easily handle the extra load xz compressed kernels and initramfs bring...
based on my current understanding, it decompresses really fast so the boot time and other processes that depend on these are still fast while keeping the kernel lean and mean
- Huge props to Lasse Collin and Igor Pavlov for XZ... quite an amazing piece of work there.
- Our kernel with initramfs and complete features (nothing made as modules or removed) is only 5.8MB yup... you read that right...
v1.5
- BFQv3r1 included (backported from 2.6.38)
- Enable Net Scheduling and Queueing for a more stable and faster loading of pages and apps that depend on a network connection (e.g. Market)
HTB by default http://luxik.cdi.cz/~devik/qos/htb/
Why HTB? See here: http://luxik.cdi.cz/~devik/qos/htb
- Experimental Support for Non-Samsung ROM's thanks to gokhanmoral's siyah_feature_set which I ported from his kernel tree and used his initramfs as a base
- Experimental NTFS automount for OTG devices (you'll have to do a little more work to enable sdcard as ntfs) (Thanks to gokhan for the hotplug script)
Note: fuse.ko is built in statically into the kernel, as is cifs.ko and usbserial.ko
- Enabled fsync disabled (can be disabled by doing an echo "1" > /sys/module/sync/parameters/fsync_disabled in a terminal emulator or as a script for gscript or scriptmanager)
- Enabled fast_start and deep_sleep for 2 other ondemand based governors: solo and kenobi
- Turned Off CFS bandwidth for a small performance gain
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.4
- Made FUSE, CIFS and other .ko's part of the kernel.
- Fixed Voltage COntrol scripts not being set correctly at boot time.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.3
- bfq by default
- Experimental use of NET scheduling (HTB) for faster page loading when browsing (Market included)
- CWMManager now backups to external as required.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.2
- cleaned up kernel source code and initramfs
- User-level Release only (disabled kernel debugging)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.1
- User-Level release removes kernel debugging to increase smoothness
- Touchscreen fix set to "3" for more responsiveness during games, etc.
- reorganized initramfs scripts (easier for devs to find as they're centralized now)
- fixed USB charge current by using the latest charge_current related code from Gokhan (he's the author of this feature)
- removed userspace, lagfree and SavagedZen, InteractiveX and brazilianwax governors
- brought kernel size down a little bit more
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Androidmeda TJK v1.0
Release Date 20/NOV/2011
Included Solo, Kenobi and Skywalker governors.
Reverted to Recovery 5.0.2.7 for stability and internal testings.
Tweaked recovery to show internal sd and external sd and point to correct path.
Included CWM 3.0
speeded up loading of init.d scripts
fuse.ko is now also loaded on boot
Deadline is default scheduler
Click to expand...
Click to collapse
Click to expand...
Click to collapse
OLD CHANGELOG​
Kernel Androidmeda TWD v2.5
Release Date 09/NOV/2011
Included lulzactive gorvernor
Reverted to Recovery 4.0.0.2 for stability and internal testings.
Reverted to stock voltage values to avoid SOD of cpus not handling well lower frequencies
Initramfs totally restructured again.
Kernel Androidmeda TWD v2.3
Release Date 30/OCT/2011
Fixed yet again inst-root.sh script
Included Fuse.ko and gspca.ko to lib modules (sorry about that)
Kernel Androidmeda TWD v2.2
Release Date 28/OCT/2011
Upgraded to recovery 5.0.2.7
Fixed instant root script as it was not working (thanks to pongster)
Enabled Thumbee for testing
Kernel Androidmeda TWD v2.0
Release Date 27/OCT/2011
Added the following features thanks to Speedmod huge thanks to him for sharing and the credits go to him and pongster for the merge into our kernel.
- MDNIE screen sharpness tuning (improves text readability)
- MDNIE color tuning (reduces over-saturation of color)
- Lower brightness at low-light levels
Updated Superuser.apk to 3.06 and latest bin for rooting
Updated Recovery to 5.0.2.6 (still no back key, sorry, we are working on that 24/7)
Kernel Androidmeda TWD v1.0
Release Date 24/OCT/2011
Based on update3 from samsung.
Removed CUSE support
cifs.ko is loaded now via init.d
user customizable charging speed (use at your own risk).via script on init.d, thanks to gokhanmoral
Committed Patch to fix fuel alert wakelock Thanks to Entropy512
Kernel Androidmeda DNR v3.1
Release Date 17/OCT/2011
CWM app backups on external sd card, to restore them u will have to manually copy those onto internal sd card (we actually find this useful to backups, so, while we are linked to sources on how to build recoery from source, we will stick with this option)
Making the backup from recovery makes the backup into internal sd card
Changed from SLQB to SLUB
Enabled Brazilinawax and SavagedZen governors for testing purposes
Released as an independent CWM zip file.
Kernel Androidmeda DNR v2.0
Release Date 14/OCT/2011
Initramfs from kI8
Dalvik is now back to data/dalvik-cache
ClockworkMod Recovery v5.0.2.3
Support for internal and external sd card on recovery
Several patches to kernel, see github for changelog
Superuser 3.05 (thanks to chainsdd)
Kernel Androidmeda DNR v1.0
Release Date 05/OCT/2011
Initramfs from kI3
Samsung kernel-update2 (patched for deep sleep fix)
Based on Arighi sources (arighi)
ClockworkMod Recovery v4.0.1.5
Custom boot logo and support for custom bootanimations (Props to Hellcat)
Dalvik cache moved to /dalvik located on p12 hidden partition and symlinked to data/dalvik-cache (Androidmeda Original Feature)
recovery modded to format /dalvik (currently wipe dalviks cache does not work, will be fixed in near future, as of right now, please use format /dalvik to wipe dalvik cache.)
Instant root (modded script by gokhanmoral of SiyahKernel with a few edits by pongster to ensure latest SU apk and binary are used.)
Superuser 3.0 (thanks to chainsdd)
Touchscreenfix (vitalij)
Init.d support
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Experimental CPU Governors:​
*Experimental CPU Governors:
Added 3 modded CPU Governors tweaked and optimized for the SGS2
*skywalker is a smart and smooth tweaked and optimized for the SGS2 based on SavagedZen. (Right now I just tweaked the numbers, but I plan to try and add more mini features. In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
It suspends at a freq of 500Mhz. It wakes up at 800Mhz.
*kenobi is an aggressively smart and smooth tweaked and optimized for the SGS2 based on ondemand as tweaked by arighi. I also ported the features of Ezekeel's lazy governor. (which is based on ondemand as well) (In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
*solo is an attempt to balance performance and battery life. Its based on the tweaked ondemand by arighi and is optimized for the SGS2. It includes imoseyon's ondemandx tweaks with some down_sampling and other features that users can set by echo'ing into sysfs.
It also features arighi's fast_start and deep_sleep detection features. It also suspends at a freq of 500Mhz.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Exciting news!
Can't wait to see what you've developed.
(First! )
Great use your hyperdroid on my HD2... Best Rom ever... I want to test what is better LeoMar75 Revolution rom or your hyperdroid rom!!!!
Send from my Revolution GT-I9100 using Tapatalk
well come to gs2 , waiting for your rom.
I'm from hd2.. Hyper is the best for ever.
Yes, finally released...
I didn't help much for this release but, i will give you my full support for next releases
Woooo, hyperdroid, I remember the days I had HD2, used to love your roms with 160 or 180 dpi screen resolution, welcome waiting for your rom, Regards.
Welcome pongster !!!!!!!!! warm greatings from India too !!!!!!!
We are honoured to have you on the Samsung Galaxy S2 forums !!!
Eagerly waiting for your work.
We need performance !!! Looks are secondary !!!
Best Regards,
Karan.
sweet and warm welcome !! nice to have you here !!
will support 100%

[KERNEL][PLAY] LuPuSv12-GB [STOCK-GB][LINARO 4.7.3][UPDATED 07-09-13]

LuPuS-STOCK-GB
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Based Off SONY 4.0.2.A.0.84 Sources​
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_disclaimer.h>[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone
* bootloops and alarm does not go off. Please do some research if you have any
* concerns about features included in my kernel before using it! YOU and only
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in Kernel-
-24 governors (ondemand default)
-6 io-schedulers (sio default)
-O/C up to 2ghz although not recommended
-fudgeswap
-slqb memory allocator
- Increased zram disk size
- Increased zram to 30%
- Changed LZO --- Benchmarks show compression and decompression times performance increased by double
- Linaro optimizations from my ics-beta
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous (recommended) change with nothrills cpu or similar app
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor ?:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Overclocked to 2ghz--- don't think its to stable though---
Please give feedback wether its stable for you or not if you overclock
FudgeSwap
-Helps improve multi-tasking in low memory situations forcing apps to swap.(already in DooM's sources)
SLQB - (SLAB allocator with Queue)-
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
Recoveries
TWRP = Volume UP
CWMVolume DOWN
LuPuS MENU
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
0/ UKSM
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ Clean and Remove tweaks
Remove init.d's
5/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
6/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)
- Enable
- Disable
I would like to say a big thanks to -
paxChristos
KeiranFTW
DooMLoRD
Solomon4400 - For helping me test
tempest918 - For the Logo
xeozus
nobodyAtall
Faux123
Erasmus
Leedroid
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
downloads/changes in post 2
Kernel sources -b master
https://github.com/garwedgess/Xperia-2011-Kernel-2.6.32.9
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog
Code:
[hide]
[B][U]v2[/U][/B]
[LIST]
[*]- Fixed Problems Mounting SD-Card
- Changed Recovery Images
- Added 2 New Governors
- Superbad- a "superbad" super smooth rendition of a highly optimized "smartass" governor! --- fast and smooth
- Darkside - a "slightly more agressive smart" optimized governor! --- fast and smooth
[/LIST]
[B][U]v3[/U][/B]
[LIST]
[*]- Changes to make it smoother
- Try make better battery life
- New CPU Freq Table (first time I can overclock to 1.8ghz on my PLAY)
[/LIST]
[B][U]v4[/U][/B]
*** Forgotten version - never released ***
[B][U]v5[/U][/B]
[LIST]
[*]~ Added in .400ghz on freq table (handy while listening to music-pointed out to me)
~ Added governor -[COLOR=Green][B] Intellidemand2[/B][/COLOR]
~ Kgsl - use highest performance level on wake-up from sleep
~ Lowered cpu freq on boot time, to avoid any issues on booting with the new freq table
~ KSM added
[/LIST]
[B][U]v6[/U][/B]
[LIST]
[*]- Re worked from source(still DooMs)
- 720p version & 480p version (372mb RAM)
- Fixed battery drain new kernel last much longer :)
- Wifi modules built in - thanks @[URL="http://forum.xda-developers.com/member.php?u=1844875"]CosmicDan[/URL] for script
- Memcopy
- Memory allocator
- Updated/ patched & fixed LZO
- Compaction
- Lowered vfs_cache_pressure
- Disabled gentle_fair_sleepers
- LMK optimizations (LowMemoryKiller)
- Linaro optimzations
- Improved CIFS support
- NTFS
- KSM
- Updated SIO Io-Scheduler
- Revert to 1.6 OC (for now)
- Google Snappy compression / decompression
[/LIST]
[B]v7[/B]
- Built with Linaro 4.7.3
- Added Io-Scheduler ZEN
- Added SmartassH3 Governor
- Stop Entropy from depleting
- Frandom
- Optimize Deadline IO- Scheduler
- Backport Binder from CAF 3.4.0
- Backport timed_gpio from CAF
- Update LMK
- Remove Fudgeswap
- Added Zcache
- CFS tweaks for responsivness
- Update Compaction
- Makefile optimzations
- ARM optimizations
- Optimzed Tiny RCU
- Added optimized crc32 lib from faux123
- Logger Backported from CAF
- Entropy tweaks
- Free'd RAM from logger
- fsync
- Custom partition layout ( larger data partition)
- Updated Smartassv2
- Quick keyboard reset (hold HOME + POWER)
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
- Updated and re-worked ramdisk
- Fix to check if device is CDMA if it is kernel will fix wifi
- TWRP Recovery = Volume UP
- Updated CWM = Volume DOWN
- LuPuS Menu Included
- No more modules needed to be flashed
- Reduced Kernel size
[B]v8[/B]
- Fixed reboot to recovery
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
[B]v9[/B]
- Added ROW IO-Scheduler
- Tweaked Governors
[list]smartassV2
smartassH3
virtuous
lionheart
conservative
brazillianwax
lulzactive
superbad
darkside[/list]
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
- mm: do uninterruptible sleep
- Reverted Entropy Patch [b](To see if lag in gaming is gone, if not let me know so I can re-add this patch)[/b]
- Other minor changes
---- CWM updated to 6.0.3.2
- Disable recovery flash will now remove nAa recovery so to be sure device does not boot into wrong CWM.
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
- Clean-up of UI
- Some other changes which will be in CWM v6.0.3.3
---- Complete Ramdisk Clean up & Improvment
- Cam fix for CDMA, if r800x is in build.prop kernel will install camera.lib
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located in /data/local/tmp/
- Improved init.d
- lupus menu clean up and improvement
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
[B][U]v10[/U][/B]
- Rebased on SONY 4.0.2.A.0.84 kernel source
- Tweaked SIO
- Tuned ROW
- Fixed all Governors to work 100% on GB
- Tweaked CPU on GB
- Removed all debigging
- Use zRam from SONY .13 ICS source
- Fixed Google Snappy zRam so device actually uses it
- More Battery friendly
- Removed SFB Net Scheduler
- Updated Tiny RCU to Bloatwatch Edition
- reverted touchpad update
[B]v11[/B]
- Fixed LAG in gaming
[/hide]
[B]v12[/B]
- Added UKSM ( can enable it in LuPuS Menu)
- Set default swapiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed ZEN IO-SCheduler
- Tweaked Entropy
- Stopped entropy from depleting
- Fix LEDs
- Updated CWM
* brought back reboot system and Power off options to main menu
* Fixed advanced restore menu
* updated to latest CWM source
- Minor Clean-up of lupus menu
- Minor Ramdisk changes
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
Downloads
If you need root for STOCK ROM
Code:
[COLOR=Purple]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR=Green][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR=Green][U]Download[/U][/COLOR][/URL]
If coming from version before v7, you need to wipe all partitions..
======================== 720p Recording ========================
LuPuS_zeus_GingerBreadv12-full.img
md5 = 16294503408d6a0bf3e1cf6b89c252fc
======================== 480p Recording ========================
LuPuS_zeus_GingerBreadv12.5-ram.img
md5 = 73c431d94849d65a87acd23982b75202
If your MD5's don't match then re-download before saying it doesnt work
*******No need to flash wifi modules they are only in attachments as a backup*******
Important
Coming from a kernel with STOCK partitions??
Via fastboot enter the commands:
Code:
fastboot erase userdata
fastboot erase system
You must wipe userdata and system if coming from a STOCK partirion kernel, Otherwise u will be stuck in a loop
Click to expand...
Click to collapse
.
What is CIFS???
Server Message Block (SMB) or Common Internet File System (CIFS) are normally used to provide shared access to files on a network, mostly involving computers running MS Windows.
It allows you to conveniently mount/unmount your network accessible file resources and access the files transparently via your favourite Android app (playing music / videos, accessing documents etc.) Settings are stored on your SD card with permissions to write also to your SD card.
Now download CifsManager or similar app and configure it
Zram is not enabled by default- to enable it flash the wedgess-NEW-Zram-Enabler.zip below
If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram
Cool, glad to see you got it working even if its not liking some of the governors.
wedgess said:
Downloads HERE
LuPuS-GB-LiNaRo.img
LuPuS-GB-WiFi-MoDuLeS.zip - (needed for working wifi)
Please Click Thanks
Click to expand...
Click to collapse
So what do you think is the best combination of governor/scheduler for gaming?
Update your ROM and tell us how it goes.
Good news,
thanks for your work man, tonight i'm gonna put some Wolf in my phone.
I hope it is as performant as your ics work.
Thanks
No lag here. Will post if there's any problems.
Wedgess thanks for making a gb kernel but can you add CDMA support for those of us on R800x on your spare time? If you dont mind I will fill you in about my xperia play.
This is a thread from doomlord that has a working CDMA kernel which is based on version 2.3.3 gb. Doomlord was able to create a 2.3.4 kernel for us R800x users but camera functionality doesn't work at all. (I was hoping for the thread to be revived but it seems development has been put to a stop) So were stuck on doomlord gb 2.3.3. Currently I'm using kernel v1 from doomlord that has a working recovery and i am not using v2 posted in the thread below.
http://forum.xda-developers.com/showthread.php?t=1368636
Since you don't have the device (that im aware of) I don't mind testing it if you wish :highfive:
Does the zram enable by default?? Or do we need to enable it??
thi3um said:
Good news,
thanks for your work man, tonight i'm gonna put some Wolf in my phone.
I hope it is as performant as your ics work.
Thanks
Click to expand...
Click to collapse
lol thanks bro its just ae smooth if not.......
chery2k said:
Wedgess thanks for making a gb kernel but can you add CDMA support for those of us on R800x on your spare time? If you dont mind I will fill you in about my xperia play.
This is a thread from doomlord that has a working CDMA kernel which is based on version 2.3.3 gb. Doomlord was able to create a 2.3.4 kernel for us R800x users but camera functionality doesn't work at all. (I was hoping for the thread to be revived but it seems development has been put to a stop) So were stuck on doomlord gb 2.3.3. Currently I'm using kernel v1 from doomlord that has a working recovery and i am not using v2 posted in the thread below.
http://forum.xda-developers.com/showthread.php?t=1368636
Since you don't have the device (that im aware of) I don't mind testing it if you wish :highfive:
Click to expand...
Click to collapse
oh ok, ill do a cdma version tomorrow or sometime over the next few days. pm me ur gtalk u can test
sdojoin said:
Does the zram enable by default?? Or do we need to enable it??
Click to expand...
Click to collapse
No it should be enabled by default
Sent from my R800i using xda premium
Thanks!! Gonna will try it asap.
You are now our KernelLord lol
Im on way to class & can't test now but I will asap. I would love to see if u found a way 2 speed up the already fast GB.
Sent from my R800i using xda premium
Does your kernel hav autoroot feature?? Just curious. I can't seem to go to my system directory using script manager. Is it just me or does anybody else hav the same issue?? It sure are feels a bit smooth than dooms'kernel.
sdojoin said:
Does your kernel hav autoroot feature?? Just curious. I can't seem to go to my system directory using script manager. Is it just me or does anybody else hav the same issue?? It sure are feels a bit smooth than dooms'kernel.
Click to expand...
Click to collapse
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
wedgess said:
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Mybe i'm doing something wrong. Nova 3 seems to act pretty weird to. I really wonder... Mybe i should giv it a day or 2 just to get it use to with me phone hardware. Thanks again.:thumbup:
Edit; Do u think i should wipe cache n dalvik cache on the 1st boot after switching?? Mybe i should just do it just to be sure.
Originally Posted by wedgess
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Mybe i'm doing something wrong. Nova 3 seems to act pretty weird to. I really wonder... Mybe i should giv it a day or 2 just to get it use to with me phone hardware. Thanks again.:thumbup:
Edit; Do u think i should wipe cache n dalvik cache on the 1st boot after switching?? Mybe i should just do it just to be sure.
Click to expand...
Click to collapse
Strange alright i tried nova3 earlier and had no problems with it, it ran smooth for me, I say wipe it to see if it makes any difference for you, no hatm in trying.
Sent from my R800i using xda app-developers app
wedgess said:
Strange alright i tried nova3 earlier and had no problems with it, it ran smooth for me, I say wipe it to see if it makes any difference for you, no hatm in trying.
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Just did. Yupp it does makes a diff. Thanks man. Nova 3 respons a bit faster n the graphic seems a lot better too. Weird...
Mybe u should make a GB Linaro rom to match this kernel.
sdojoin said:
Just did. Yupp it does makes a diff. Thanks man. Nova 3 respons a bit faster n the graphic seems a lot better too. Weird...
Mybe u should make a GB Linaro rom to match this kernel.
Click to expand...
Click to collapse
good stuff, glad to hear I know but my linux is running out of space due to the amount of kernel sources I have lol.ill have to push them all to github to make the 25gb+ space needed, which will take awhile Hoping some rom devs will release linaro built roms now, we’ll see though
Sent from my R800i using xda app-developers app
I'll give this a try with DiXperia 2 rom this rom is fastest I've seen so far with doomkernel v14. I used lupus v4 with few ics roms and ran beautifully. Missed the great gaming in gb so this is very welcome as doomlord has moved onto htc one x thanks so much can't wait to try your kernel
I'm on dixperia 2 as well , will test it too. bye the way is this kernel support CIFS mounting ?
EDIT : working great, using Virtuous governor with SIO and it's really fast, coupling with dixperia2 its hell fast
I'm using a lot of launched apps (holo launcher, holo locker, whatsapp, viber, maps, setcpu for profiles, button sevior,
callrecorder, incredicontrol, exdialer, ivona, facebook, tasker, jellyB live wallpaper) have 87 Mo free RAM and its still fast and snappier than ever thanks to ZRAM and dixperia2 tweeks
CIFS isn't enabled and still have insmod problems like in doomkernel , @wedgess could you enable it in next update plz !

[KERNEL][G850F] duki994 Kernel v1.4 - final [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based
Features:
* Wolfson Audio control (thanks to @AndreiLux)
* Battery charging control (thanks to @AndreiLux)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* LMK, MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 and SHA512 NEON accelerated algortihms - now blazing fast
* UKSM (Ultra Kernel Samepage Merging) - algorithm that's better optimized than standard KSM
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* NET updates
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* SELinux disabled in kernel
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this to your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, so people would know where to ask if some kernel problem arises
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers can't handle low voltage.
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true will make your WiFi not work good with this kernel. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.4 BETA
Billion critical updates from my G900H version:
* MM code
* new LMK driver
* Exynos interactive governor updated
* IRQ code revamped
* OF code revamped
* New 8-band EQ sound-control
* Numerous ALSA updates and fixes
* Numerous Wolfson DAC driver updates
* MemInfo code updates
etc. list is enormous
Version 1.3
*MM page allocation changes. and others. Now more than 50% faster page_alloc
*RCU and SRCU updates from S6 and upstream + CAF
*NET updates
*USB fixes and updates
*dma mapping ARM fix
Version 1.2.1
*Synapse
->added ROW scheduler to test (experimental)
*Several BLOCK code updates and typo fixes. Some serious bugs fixed.
*Fully updated ROW I/O sched added (experimental)
Version 1.2
* Synapse:
-> disabled min cpu freq control. not needed.
-> added new I/O schedulers
* Massive updates to BLOCK, SHCED, MM, WORKQUEUE critical code
* Added FIOPS and BFQ I/O schedulers
* EXT4 updates to fix possible kernel crashes
* ZSWAP now uses ultra fast and light on cpu LZ4 compression
* CPUFREQ optimizations
* Updated BFQ, FIOPS, DEALINE scheds with fixes and optimizations
Version 1.1
*Synapse:
* Added live cpu stats for all 8 cores (quad A7 and quad A15 cores)
* Added live CPU temperature monitoring
* Added live battery temperature and health status
* Disabled broken battery input current feature (shows 0mA for our PMIC chip)
* Added misc tab:
+ ability to take logcat,dmesg,last_kmsg
+ HMP Little packing switch ON/OFF and explanation
* Added optimized ARM RWSEM algorithm
* Fixed HMP so HMP little packing would work good with our implementation
* thermal IPA(Intelligent Power Aware) now updates power tables immediately when voltage changed from Synapse
* entropy depletion fixes
* Enabled FRANDOM random number generator module for more entropy and less lag
* Added NEON instruction accelerated SHA256/SHA224 algorithm. Now we have SHA384/SHA512, SHA256/SHA224 and SHA1 algorithms NEON accelerated - blazing fast
* HMP little packing switch for Synapse
Experimental option made by nvidia. It groups tasks so more of them would be scheduled across power saving cores (A7 cores in our CPU). It may or may not save battery depending on your usage.
Downloads:
Here it is
https://app.box.com/s/vt70dzo7fzgnlyik4mxkiaaj7xkhjaot
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his LMK and MM mods
@bonuzzz for his custom KitKat kernel for Galaxy Alpha and his sources
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G850, Kernel for the Samsung Galaxy Alpha
Contributors
duki994
Source Code: https://github.com/duki994/SM-G850_Kernel_LP/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2016-08-12
Created 2015-11-02
Last Updated 2016-08-12
Reserved
How to build this kernel guide
PREREQUISITES
What you need installed to compile
gcc, gpp, cpp, c++, g++, lzma, lzop, ia32-libs flex
If on 64bit Linux, install gcc multilib
Project folder structure
--project_root/ #### can have any name
-----ramdisk_source/ ## defined by RAMDISK_TMP var in script
-----ramdisk_tmp/ ## defined by RAMDISK_DIR var in script
-----kernel_source/ #### can have any name
-----RELEASE/
TOOLCHAIN INFO
Toolchain is already into kernel dir. You just need to have
correct folder structure and run this script. Everything will be auto-built
FLASHABLE ZIP
Flashable zip will be located in project_root/RELEASE directory
and will have name Kernel-slte.zip
All other explanations here:
https://github.com/duki994/SM-G850_Kernel_LP/blob/master/build_kernel.sh
Clone ramdisk source in ramdisk_source
Clone kernel in kernel_source folder
Be sure to have project directory structure as written above
After that, you just need to run:
sudo bash build_kernel.sh
in kernel folder. And voila. After finished you have Kernel-slte.zip in RELEASE directory
If it show any errors, open kernel source and type in terminal:
chmod -R 755 *
Then repeat sudo bash build_kernel.sh
awesome job, thank you
finally undervolt .. yay
ayamgoreng said:
awesome job, thank you
finally undervolt .. yay
Click to expand...
Click to collapse
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
duki994 said:
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I reduce voltage A15,A7 (every speed) by roughly 20mv
gaming (coc,asphalt,etc) for roughly 1 hour; result=stable :good:
edit: volume in the audio also work, louder headphone.
Thanks, I'll try it.
how the battery with this kernel?
gtrs36 said:
Thanks, I'll try it.
how the battery with this kernel?
Click to expand...
Click to collapse
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
exaflare said:
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
Click to expand...
Click to collapse
I have no access to G850L model. I don't know if it will work.
During this week, if I have enough time, I'll download G850L source and build it with all mods/features and give you to test it
thanks duki994.
which app I need install to control on the kernel?
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
did you UV or what settings did you use ?
m_p11 said:
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
Click to expand...
Click to collapse
1. Our voltage regulator accepts 6.25mV step. So you can UV/OV in multiples of 6.25. When you do math, 6.25mV x 4 = 25mV
You can't UV -20mV. You can UV -18.75m (3 x 6.25mV). Next step is -25mV (4 x 6.25mv).
Ursurobertt said:
did you UV or what settings did you use ?
Click to expand...
Click to collapse
No UV. All stock. Only changed earpiece volume (incall speaker volume) to higher (+4dB if I recall good from this morning). It's for better hearing incall
UV generally doesn't reduce battery consumption (it's maybe 1%-3% less power usage). Real benefit of UV is lower CPU heat and prolonged life of motherboard.
Some chips can't handle UV at all. Some can be UV by as much as -150mV. It all depends on specific chip that came out of fabric process. Note that UV brings instability on some devices.
Sent from my LG-D802 using Tapatalk
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
hensk said:
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
Click to expand...
Click to collapse
Look at post above yours. I explained everything
Sent from my LG-D802 using Tapatalk
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
likhon02 said:
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
Click to expand...
Click to collapse
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
duki, you didn't answer to my question.
gtrs36 said:
duki, you didn't answer to my question.
Click to expand...
Click to collapse
Please read OP before asking. Everything is said there.
Synapse is the app with which you can change settings of this kernel.
duki994 said:
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I am on ozcan rom 4.1. my recent button only works with Nordic based stock which is NEE G850FXXU2COI3 5.0.2 11.09.2015 5614954 and ozcan rom..and with any other rom like rr and cm12.1 my recent button does not work.. secure storage is false by default on build.prop .

[KERNEL][SM-G531H/BT] RZ Kernel for Samsung Galaxy Grand Prime VE

RZ Kernel for Samsung Galaxy Grand Prime VE
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers
FIOPS
BFQ (updated for 3.10)
DEADLINE
ROW
SIOPLUS
ZEN
CPU hotplugs
IntelliPlug
Governors
conservative
intelliactive
ondemand
powersave
performance DEFAULT
sprdemand
CPU
Fixed High-Load Average from UnInterruptible Waits (reduces CPU-Load even more in idle state).
Support for Fast-IDLING of CPU (should reduce Power-Consumption a lot).
Support for Power Efficient WorkQueue to reduce Power-Consumption (available in CPU tab of Kernel Adiutor).
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Battery
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm (improves Battery-Life).
Support for preventing unnecessary WakeLocks (improves Battery-Life). (available under the Misc. Tab of Kernel Adiutor)
Support for Larch Power feature (should improve Battery-Life).
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for Swap, FrontSwap, and zSwap techniques (improve performance significantly when zRAM is full).
Support for Memory Compaction (improves performance).
Support for CleanCache Driver (improves I/O performance).
Support for zRAM compression algorithm (improves performance by saving memory).
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Support for Virtual Memory Reclaim (should free more RAM).
Other tweaks and optimizations
Compiled using UBERTC 6.3.1 for best battery usage
Upgraded to latest Linux version (3.10.105)
Unaligned memory access
Init.d support
Support dt2w (Double-tap to wake) module (available in Wake/Wake controls tab in Kernel Adiutor)
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Support Dynamic voltage controller (available in CPU voltage tab in Kernel Adiutor app)
Lowest Possible CPU-Usage (a lot of tweaks have been implemented system-wide).
Reduced Kernel Log Buffer to minimum.
Using -03 optimization flag (optimize for speed)
Disabled Debug-Info (should reduce the size of the kernel making it lighter).
Disabled generation of ELF Core-Dumps (should reduce the size of the kernel making it lighter).
Disabled SLUB Debugging Support (should reduce the size of the kernel making it lighter).
Support for CRC-Toggle (Enabled by Default in Misc. TAB).
Optimizations to reduce WakeLocks.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Optimized Integer SQRT. for upto 3x faster operation.
XDA:DevDB Information
RZ Kernel, Kernel for the Samsung Galaxy Grand Prime
Contributors
doesntexits, remilia15
Source Code: https://github.com/remilia15/android_kernel_samsung_grandprimeve3g
Kernel Special Features: Init.d support
Version Information
Status: Testing
Created 2016-08-20
Last Updated 2017-05-28
Download links, installation instructions and changelog
Download link: Drive
Installation instructions
Make sure you have unlocked bootloader in Developer options, else hard brick(why Sammy, why?)
Download SuperSU (Link)
Copy the downloaded kernel zip into your internal or external SD card
Install TWRP recovery through Odin (download link: Here)
Install SuperSU (mandatory)
Install kernel zip
Reboot your device and enjoy
CHANGELOG
v1.0: Initial release
v1.1: Post #25
v1.2: Post #26
v2.0: Post #27
v2.1: Post #58
v2.2: Post #76
v2.3: Post #80
v2.4: Post #119
v2.5: Post #130
v3.0: Post #137
v3.1: Post #150
v3.3: Post #153
v3.5: Post #190
[IMPORTANT]: Stock users read here
Off-topic: Fixing multitasking for crappy TouchWiz and enable zRAM
Multitasking:
First, open your build.prop, find the lines starting with:
Code:
sys.config.samp
or
Code:
sys.config.spcm
Remove all of them, and then add these lines:
Code:
ro.config.dha_cached_max=16
ro.config.dha_cached_min=8
ro.config.dha_empty_max=32
ro.config.dha_empty_min=8
ro.config.dha_empty_init=32
Enabling zRAM
Find these lines:
Code:
#ro.config.zram.support=true
‪#‎ro‬.board_ram_size=mid
Remove all the hash on top of the lines, then save build.prop, restart your phone. Done!
Seems like this phone isn't too famous like original GP yeah :silly:
doesntexits said:
Seems like this phone isn't too famous like original GP yeah :silly:
Click to expand...
Click to collapse
Will I be able to use Magisk systemless xposed when flashing this ?
Rosun_07 said:
Will I be able to use Magisk systemless xposed when flashing this ?
Click to expand...
Click to collapse
Yes you can
doesntexits said:
Yes you can
Click to expand...
Click to collapse
Ok :fingers-crossed:
Flashing and reporting :highfive:
Superuser link not working :/
Rosun_07 said:
Ok :fingers-crossed:
Flashing and reporting :highfive:
Superuser link not working :/
Click to expand...
Click to collapse
Reinstall SuperSU then its OK
@doesntexits Thanks for all your work. I appreciate all your hard work, tho I don't have this variant but one of my friends does have it so I'll try it on that device nd will let you know.
Nd yeah don't worry about the crowd, you'll have it soon.
One more thing, the tweaks in 3rd post, Mostly probably they work on G530H?
Has.007 said:
@doesntexits Thanks for all your work. I appreciate all your hard work, tho I don't have this variant but one of my friends does have it so I'll try it on that device nd will let you know.
Nd yeah don't worry about the crowd, you'll have it soon.
One more thing, the tweaks in 3rd post, Mostly probably they work on G530H?
Click to expand...
Click to collapse
Just try it. I think that should work
But anyway, use CM instead. Stock Sammy is crap you know
This kernel is very good, but please make overlock, and performance of graphics,i have some times lag, please brother, overclock and graphics performance please!
Working :highfive:
Thumbs up for you
ERICKONIX said:
This kernel is very good, but please make overlock, and performance of graphics,i have some times lag, please brother, overclock and graphics performance please!
Click to expand...
Click to collapse
Yes I also notice the graphics lags of the kernel, probably is from Mali driver. Stock also does that too. I'll try to add frequency controller if I can
And for OC, maybe it isn't needed, since it just kill your battery worse. Mostly the CPU will run at 1,2GHz instead of maximum 1,3GHz (well for some situations like gaming, it runs on maximum freq)
doesntexits said:
Yes I also notice the graphics lags of the kernel, probably is from Mali driver. Stock also does that too. I'll try to add frequency controller if I can
And for OC, maybe it isn't needed, since it just kill your battery worse. Mostly the CPU will run at 1,2GHz instead of maximum 1,3GHz (well for some situations like gaming, it runs on maximum freq)
Click to expand...
Click to collapse
Please , brother to increase graphics performance and the overclocking CPU is fine, but please increase graphics performance or make overclocking the GPU and this is perfect please thanks brother, you are the best,great job
I think I'll ask mods to move all of the G530H threads to original development section, because in a few hours, this thread will be burried down, and no one will see it until they choose to open the whole development section
have any news of CyanogenMod for this model?
Kernel Is Good but not stable
Excellent implementations of battery saving tweaks :laugh:
Lost only 3% during 8 hours on standby at night , :good:
However It compromises between performance for more battery . . .
There's lags more than stock
Rosun_07 said:
Kernel Is Good but not stable
Excellent implementations of battery saving tweaks :laugh:
Lost only 3% during 8 hours on standby at night , :good:
However It compromises between performance for more battery . . .
There's lags more than stock
Click to expand...
Click to collapse
Thanks for reporting. I'm currently working on it, but can't be fast as I have my real life to take care too
what is name of this application in screenshots?
what is name of this application in screenshots?

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

Categories

Resources