FORUMS
Remove All Ads from XDA

 View Poll Results: Which version was the most stable overall?

SkyMelon 7 series
 
6 Vote(s)
11.32%
SkyMelon 8
 
17 Vote(s)
32.08%
SkyMelon 8x
 
7 Vote(s)
13.21%
SkyMelon 9-04062017
 
25 Vote(s)
47.17%

[KERNEL][MM] SkyMelon 9 [UV][OC][CPU/GPU]

445 posts
Thanks Meter: 302
 
Post Reply Email Thread
Announcement from AndyPhoenix9879: EOL. But will try to fix some stuff if u guys report to me
The Melon Banner!
Uplifting

Code:
*** Disclaimer ***
/*
*I am not responsible for anything that might happen to your device
*You are choosing to install this, not me.
*I'm merely just sharing what I've modified to the Android Kernel
*Don't even think about pointing your fingers at me for messing up your device,
*and if you do, it's your own fault not mine. 
*/
Features :
Quote:

  • Compiled with UBER-TC 4.9.4. (2017's one)
    Link for other potential kernel developers : https://bitbucket.org/DespairFactor/...ux-android-4.9
  • Cluster Plug
  • AutoSMP
  • Updated kernel to v3.10.74
  • Reduced Minimum Brightness.
  • KCAL - an advanced colour control for Qualcomm devices by savoca.
  • Faux's Sound Control v3.5
  • Overclocked to 1.61GHz for big clusters. (Somehow can't get it to 1.7GHz)
  • Overclocked to 1.21GHz for LITTLE clusters. Special thanks to @AnoopKumar
  • Overclocked GPU to 700MHz
  • Intelliactive, Interactive_Pro, Nightmare, Ironactive, HyperX, and Electroactive Governor
  • FIOPS, ZEN, SIO, Tripndroid and Maple I/O Schedulers
  • Interactive_pro as default CPU governor.
  • Faster bootup time
  • Undervolted
  • GPU idles at 19MHz (although 19MHz doesn't show up, it's being used)
  • CPU idles at 40MHz for big cores and 55MHz for LITTLE cores.
  • USB Fast Charge (This is not Qualcomm's Quick Charge. It's for USB port Charging.)
  • PowerSuspend for better standby time.
  • Adreno Idler by @arter97
  • Dynamic FSync
  • Frandom
  • LZ4 compression and cryptography and LZ4 for ZRAM
  • Toggleable ARCH power and Gentle Fair Sleepers (battery saving options)
Check the change log for more.

Always BACKUP YOUR DATA before flashing anything, ensure that you're in the latest firmware version and of course, you need an UNLOCKED BOOTLOADER.

Installation

Quote:

For v5a and versions before it, follow this (Flashtool Method) :

  • Download the .img
  • Open up Flashtool (from Androxyde) : http://www.flashtool.net/downloads.php
  • Turn off your phone
  • Hold the volume up button while also connecting your phone and pc via the usb cable
  • A blue LED should light up - you're in fastboot mode now
  • Click the ThunderBolt button in Flashtool
  • Fastboot Mode
  • Under the "By DoomLord", select the "Select Kernel to Flash"
  • Find the downloaded .img
  • Done.

Quote:

For v6 and anything after it, follow this one (TWRP method) :

  • Download .zip file
  • Remember where you placed that .zip file
  • Turn off phone
  • Boot to TWRP : press and hold both Volume down and Power buttons; when the phone vibrates press the Volume down button repeatedly
  • Navigate to the 'Install' button in TWRP
  • Search for wherever you placed the downloaded .zip in TWRP
  • Flash it
  • Reboot and enjoy.

Credits :
@dani020110 for his generous help and superb guidance. None of this would've exist without his time and generous effort in helping me with my build problems. You da real MVP!
@vinay for the build tools and the dtbTool commands and also the one who pointed out the defconfig (which is msm-perf_defconfig)
@EHSAN™for the ramdisks (prerooted)
@squid2 and also @cyclon1978 for the cluster plug (I referred to both, the original creator is squid2)
Sony for the kernel sources (and this phone)
@paulobrien for his build guide (the boot.img compiling process is very convenient with his build guide)
His build tutorial : https://forum.xda-developers.com/p9/...ei-p9-t3373617
@Eliminator79 for the build guide (which is still relevant btw, and the most comprehensive one too)
His build guide (followed this mainly) : https://forum.xda-developers.com/and...ernel-t2871276

Downloads :
Quote:

SkyMelon 9 大龙 12/06/17
https://goo.gl/WWyCGw
https://goo.gl/sIIRrT <-- just in case. Use the one on the top, if it doesn't work use this one
With updated SuperSU (2.82)
https://forum.xda-developers.com/sho...postcount=1224
SkyMelon 8.1 (without-root) 小龙 21/07/17
https://goo.gl/xKQ4Uz
SkyMelon 8.1 (with-root) 小龙 21/07/17
https://goo.gl/qPQu3H
SkyMelon 8 (with-root SuperSU v2.82) 小龙 (thx @valyo_bg)
https://drive.google.com/file/d/1mhT...ODUy1N9hb/view
======================================


SkyMelon 8x 小龙 27/05/17
https://goo.gl/YbA0Kx
SkyMelon 8a 小龙 19/04/17
https://goo.gl/bcKrdu ...if battery drains, revert back to SkyMelon8.
SkyMelon 8 小龙 28/03/17
https://goo.gl/OTHOnb
======================================
SkyMelon 7e 小龙 23/03/17
https://goo.gl/fBC21c

SkyMelon 7a 小龙 23/03/17 (test build)
https://goo.gl/2UgAes

SkyMelon 7 小龙 22/03/17
https://goo.gl/M1I74b
======================================
Sky Melon v6 --小龙 11/03/17 (buggy)
https://drive.google.com/file/d/0B4n...ew?usp=sharing
======================================
Sky Melon v5a --小龙 19/02/17 (video recording bug)
https://drive.google.com/drive/folde...TQ?usp=sharing

Sky Melon v5 --小龙(XiaoLong) 12/02/17 (some M4 aqua may not be able to boot v5)
https://drive.google.com/drive/folde...G8?usp=sharing
======================================
Sky Melon v4a --凤凰 28/01/17
https://drive.google.com/drive/folde...TQ?usp=sharing not recommended - microphone can't pick up so much sound

Sky Melon v4 --凤凰 27/01/17
https://drive.google.com/drive/folde...XM?usp=sharing not recommended - microphone can't pick up so much sound
======================================
v3 --凤凰(FengHuang)-build 11/01/17
https://drive.google.com/drive/folde...U0?usp=sharing
Enjoy.
======================================
v1.05 --phoenix
https://drive.google.com/drive/folde...1E?usp=sharing

v1.0 --phoenix
https://drive.google.com/drive/folde...Vk?usp=sharing
======================================


XDA:DevDB Information
Sky Melon, Kernel for the Sony Xperia M4 Aqua

Contributors
AndyPhoenix9879, dani020110
Source Code: https://github.com/AndyPhoenix9879/SkyMelon-msm8939

Kernel Special Features: A lot.

Version Information
Status: Stable
Current Stable Version: 9
Stable Release Date: 2017-01-11
Beta Release Date: 2017-01-06

Created 2017-01-06
Last Updated 2017-06-11
The Following 56 Users Say Thank You to AndyPhoenix9879 For This Useful Post: [ View ] Gift AndyPhoenix9879 Ad-Free
 
 
6th January 2017, 09:16 AM |#2  
AndyPhoenix9879's Avatar
OP Senior Member
Thanks Meter: 302
 
More
======================================
Changelog :
Quote:

Sky Melon 9 大龙 build 12/06/17

  • Boots up with Interactive_Pro governor
  • Thermal throttling relaxed
  • Adreno Idler tweaks from the community
  • Power Saving tweaks
  • Updated toolchain
  • Lowered mdss bandwidth a bit
  • Lowered current to CPU during thermal throttling
  • Added 345MHz clock speed option in LITTLE clusters

Quote:

Sky Melon 8.1 小龙 build 21/07/17

  • Everything from Melon 8
  • Added BFQ I/O Scheduler
  • Added F2FS
  • Added underclock CPU frequencies of Melon 9
  • Added underclock GPU frequencies of Melon 9
  • Enters deepsleep faster than stock
  • Relaxed thermal throttling
  • An updated toolchain
  • Removed AutoSMP


Quote:

Sky Melon 8x 小龙 build 27/05/17

  • Boots up with Intelliactive governor
  • GPU idles at 19MHz
  • Maple I/O Scheduler as default
  • Smoother UI
  • Downgraded kernel to v3.10.74 again
  • CPU idles at 58MHz (big) and 79MHz (LITTLE)
  • Faster entry to deep sleep
  • BFQ scheduler

Quote:

Sky Melon 8a 小龙 build 19/04/17

  • Boots up with Interactive_Pro governor
  • GPU utilizes 650MHz for 3D graphics rendering
  • ZEN I/O Scheduler as default
  • Overall performance improvements
  • Updated kernel to v3.10.94
  • Improve UI responsiveness
  • Optimization to vma-caching
  • Electroactive Governor
  • HyperX Governor
  • F2FS Support (experimental)

Quote:

Sky Melon 8 小龙 build 28/03/17

  • Updated kernel to v3.10.74
  • Updated and improved ext4 filesystem
  • Updated and improved FUSE filesystem
  • More GPU frequency (415MHz and 435MHz)
  • GPU scales more readily to 415MHz
  • Higher bus frequency for the 415MHz GPU frequency
  • GPU idles at 200MHz
  • Improved standby battery life
  • Added Ironactive governor (which I recommend to all)
  • More optimization flags!
  • Re-introduced wlan prima modules (and updated it of course)

Quote:

Sky Melon 7e 小龙 build 24/03/17

  • Updated cluster plug
  • Optimization flags fixup
  • More brighter display at mid level
  • More utilization of GPU's 550MHz (for the sake of smoothness)
  • Vibrator intensity control fix (from 55% onwards) <-- thanks @dani020110

Quote:

Sky Melon 7a 小龙 build 23/03/17 (experimental build)

  • ZRAM updated & improved
  • ZRAM's default compressor = LZ4
  • GPU tweak
  • Optimization flags
  • Kernel's timer optimization
  • Performance tweaks
  • {UNCONFIRMED}USB OTG?
  • {UNCONFIRMED}Battery improvement?

Quote:

Sky Melon 7 小龙 build 22/03/17

  • SELinux set to Enforcing
  • Added Nightmare Governor
  • KCAL support
  • Faux's Sound Control v3.5
  • Less aggressive throttling for GPU
  • GPU overclocked to 700MHz
  • Reverted kernel version back to .49
  • Removed Hima hotplug
  • Removed Lazyplug
  • Removed Alucard Hotplug
  • Re-introduced Cluster Plug
  • Removed Touchboost
  • Removed LionFish and Bioshock governors
  • Removed control over CRC and enabled CRC
  • Tweaked mount points

Quote:

Sky Melon v6 --小龙 build 11/03/17 (please confirm with me that wifi works)

  • Kernel version 3.10.55
  • Video recording crash fixed
  • Touchboost
  • SELinux set to Permissive
  • Conservative governor re-added back
  • Load balancing improvements (when idle CPUs are present)
  • LZ4 fixes
  • Cryptography improvements
  • Other general improvements

Quote:

Sky Melon v5a --小龙 build 19/02/17

  • Kernel version 3.10.52 (I need some help to get this beyond .52 - .53 and beyond would cause the wifi to be unable to be activated)
  • Some interactive governor tweaks
  • RAM overclocked to 420MHz
  • Lazyplug added (Default hotplug)
  • Sched improvements
  • Hopefully everyone who couldn't boot on v5 should be able to boot on v5a now

Quote:

Sky Melon v5 --小龙(XiaoLong) build 8/02/17 (released on 12/02/17)

  • Overclocked big cores to 1.61GHz, LITTLE cores to 1.21GHz. Oh, and not much if any additional heat gain at all! You're soooo welcome
  • GPU Overclocked to 650MHz. Just click on the Thanks icon
  • RAM Overclocked to 406MHz. Was 398.4MHz, not much ik, was testing. You're still welcome
  • EXT4 filesystem improvement
  • Alucard Hotplug
  • Hima Hotplug (replaces Cluster Plug, they were conflicting)
  • BioShock Governor
  • LionFish Governor
  • Less overall throttling
  • I/O improvements
  • Optimization to ARM platforms
  • Enhanced multi-core decision making
  • Removed Sound Control
  • Disabled F-Sync by Default (you can still enable it in Kernel Adiutor)

Quote:

Sky Melon v4a --凤凰(FengHuang) build 28/01/17

  • Re-tweaked Intelliactive and Interactive governor (should speed things up now)
  • ZRAM tweaked
  • Tweaked ROW I/O Scheduler
  • I/O improvement
  • Sound Control v3.4 by @faux123
  • Slight performance improvements
  • ARM64 CRC32 - basically a hash function (one aspect determining the performance of a hash table - which is like an array.. on steroids in the sense that it searches the array faster in a non-linear fashion which is achieved with the hash function - now, even faster [or at least improved])
  • Added support to toggle ARCH power and Gentle Fair Sleepers (both are power saving options)
  • Battery improvements
  • Faster camera launch time

Quote:

Sky Melon v4 --凤凰(FengHuang) build 27/01/17

  • Removed ElementalX governor (battery drain during standby)
  • TripNDroid IO Scheduler added (and set to default - you'll love this one)
  • Frandom added (Fast random number generator)
  • Tweaks to Random number generator
  • Deadline IO tweaked
  • Interactive governor slightly tweaked
  • Brightness tweaks
  • Huge memory optimizations
  • Huge IO improvements
  • Performance improvements (not huge, but not mild either)
  • QuickWakeup
  • LZ4 compression added (fast decompression and compression operations) and LZ4 Cryptography added
  • LZ4 compression for ZRAM too
  • NVIDIA power efficiency tweaks (better power utilization)
  • Toggleable CRC (enabled - safer when Stamina modes are enabled i.e less likely to get bootloops when battery dies out with Stamina mode and UltraStamina mode, disabled - 30% IO boost)
  • Some slight undervolting
  • Updated FSync
  • Improvements were also made (other than from NVIDIA's) for better efficiency i.e great performance whilst maintaining a better power usage.
  • SuperSU updated to v2.79 (latest version as of 27/01/17)
Happy Chinese New Year!

Quote:

Sky Melon v3 Stable --凤凰(FengHuang) build 11/01/17

  • ElementalX governor added! -by @flar2
  • ZEN IO Scheduler
  • Dynamic FSYNC
  • PowerSuspend
  • Adreno idler by @arter97
  • Intelli-thermal by @faux123
  • Added a whole bunch lot of TCP congestion algorithms, westwood is set to default.
  • Big performance gain (significantly smoother!)
  • Super I/O performance improvements - thanks to @vinay
  • GPU improvements (smoother and less jitter)
  • Some memory optimizations
  • More optimization towards the Cortex A53
  • Should experience better battery altogether as well.
Antutu Benchmarks shows 38K to 40K for me. Highest record with this kernel was 44226.

Quote:

Sky Melon v1.05beta --phoenix (can't remember date)

  • USB Fast Charge (Not Qualcomm's Quick Charge.. It's for faster USB port charging)
  • Tuned Optimization on Graphite and O3
  • Brightness Slider fixed
  • More I/O boosts


======================================
The Following 24 Users Say Thank You to AndyPhoenix9879 For This Useful Post: [ View ] Gift AndyPhoenix9879 Ad-Free
6th January 2017, 09:18 AM |#3  
AndyPhoenix9879's Avatar
OP Senior Member
Thanks Meter: 302
 
More
Cluster Plug
Cluster Plug is a hotplug, and like any other hotplug, it controls which cores should be turned on and off based against rules defined by it's algorithm. Cluster plug deactivate the small clusters (the LITTLE cores) and utilize only the big clusters (the big cores), which should lead to better smoothness (and even performance, especially single threaded as it utilizes only the big cores which has better single thread performance due to it having a higher clock speed - and single threaded performance are usually more important to what most people do). This, however, does not mean the LITTLE cores are never activated, they do, and they do only when the load & tasks the CPU is handling requires it i.e intensive multi-threaded performance maybe like image editing and maybe heavy multitasking where many cores will affect performance. As such, it should do a great job balancing performance and battery life, because the performance comes from the big cores, and the battery savings from the LITTLE cores being deactivated, not drawing much, if any, power at all.

I disabled this by default though, but you can control it via a file explorer in the directory
/sys/module/cluster_plug/parameters/active/
... and changing the value from 0 to 1

If you want convenient control ie on/off of Cluster plug right off Kernel Adiutor, you can create one in the Custom Controls tab in Kernel Adiutor :
1) Create the control as a switch (click on the + icon first)
2) Under the "Enabled" part, write :
Quote:

#!/system/bin/sh
if [ "`cat /sys/module/cluster_plug/parameters/active`" == "0" ]; then
echo 0
else
echo 1
fi

3) Under the "Applying" part, write :
Quote:

#!/system/bin/sh
if [ "`cat /sys/module/cluster_plug/parameters/active`" == "0" ]; then
echo "1" > /sys/module/cluster_plug/parameters/active
else
echo "0" > /sys/module/cluster_plug/parameters/active
fi

4) Hit that "TEST" button
5) A tick floating button appears, click it
..and you're done

*Thanks to @ivy.lally for pointing out the previous problems with the above code

AutoSMP
A hotplug driver that works in-sync with the CPU governor to enable off-line cpu cores when the the CPU frequency reaches a high threshold and still more compute power is needed. Below is some tunings made by others :
By @ivy.lally
https://forum.xda-developers.com/sho...&postcount=835
By @Thedalamsyh
https://forum.xda-developers.com/sho...&postcount=854
wlan.ko
The Prima WLAN module used by the phone in order for wireless networking (wifi) to function at all. This module is compiled together with the compilation of the kernel - so the WLAN module used in, let say version 8, would not work with, let say again, version 6. Within the .zip file already contained the required wlan module (wlan.ko).

If you so happen to want to revert back to a version of SkyMelon where the wlan.ko is not included i.e the versions that is installed without a .zip file, then this should help : https://drive.google.com/file/d/0B4n...ew?usp=sharing

Instructions:
1) Download that wlan.ko in the link above
2) Copy and place it at /system/lib/modules/
3) Set permission to rw r r
4) Reboot
5) Wifi should be working now.
The Following 17 Users Say Thank You to AndyPhoenix9879 For This Useful Post: [ View ] Gift AndyPhoenix9879 Ad-Free
6th January 2017, 09:18 AM |#4  
AndyPhoenix9879's Avatar
OP Senior Member
Thanks Meter: 302
 
More
Reserved just in case
The Following 5 Users Say Thank You to AndyPhoenix9879 For This Useful Post: [ View ] Gift AndyPhoenix9879 Ad-Free
6th January 2017, 09:44 AM |#5  
EHSAN™'s Avatar
Senior Member
Flag Dezful
Thanks Meter: 419
 
More
WoW! Its Great
Your Tested it Bro? it information is Amazing...
i will Test it in E2333 And Thanks For Your Work, Keep it up
The Following User Says Thank You to EHSAN™ For This Useful Post: [ View ] Gift EHSAN™ Ad-Free
6th January 2017, 09:46 AM |#6  
AndyPhoenix9879's Avatar
OP Senior Member
Thanks Meter: 302
 
More
Quote:
Originally Posted by EHSAN�

WoW! Its Great
Your Tested it Bro? it information is Amazing...
i will Test it in E2333 And Thanks For Your Work, Keep it up

Works well on my E2353. The brightness slider is the only problem I need to fix for this version (it's still funky, I actually made it more funky x-x. Adaptive brightness seems to counter the problem). If adaptive brightness isn't turned on, the brightness slider can be funky as said in the post.
The Following 3 Users Say Thank You to AndyPhoenix9879 For This Useful Post: [ View ] Gift AndyPhoenix9879 Ad-Free
6th January 2017, 10:19 AM |#7  
EHSAN™'s Avatar
Senior Member
Flag Dezful
Thanks Meter: 419
 
More
Quote:
Originally Posted by AndyPhoenix9879

Works well on my E2353. The brightness slider is the only problem I need to fix for this version (it's still funky, I actually made it more funky x-x. Adaptive brightness seems to counter the problem). If adaptive brightness isn't turned on, the brightness slider can be funky as said in the post.

Ok Bro i test it but cant see any changes in kernel, IO Scheduler is ROW And Read Ahead is 128!!
And Apdative Brights Work good, i think Kernel not Flashed on My Device
And For Fastboot need to press Volume + or UP bro
The Following 2 Users Say Thank You to EHSAN™ For This Useful Post: [ View ] Gift EHSAN™ Ad-Free
6th January 2017, 11:18 AM |#8  
Member
Thanks Meter: 10
 
More
Yeah except for the Adaptive brightness issue. it's good so far. good work man, If you will be updating this kernal we will test this. We should optimize all 8 cores in order to get most out of this device. Keep it up guys.
The Following User Says Thank You to kpbs92 For This Useful Post: [ View ] Gift kpbs92 Ad-Free
6th January 2017, 11:32 AM |#9  
EHSAN™'s Avatar
Senior Member
Flag Dezful
Thanks Meter: 419
 
More
Quote:
Originally Posted by AndyPhoenix9879

Works well on my E2353. The brightness slider is the only problem I need to fix for this version (it's still funky, I actually made it more funky x-x. Adaptive brightness seems to counter the problem). If adaptive brightness isn't turned on, the brightness slider can be funky as said in the post.

This Working on E2312 And New Scheduler And Gernover added, But in E2333 nothing
----------------
Updated

i Download New Link And its Woking Perfectly in E2333, And All of Variants
thanks BRo
6th January 2017, 02:43 PM |#10  
Junior Member
Flag Kerman
Thanks Meter: 3
 
More
E2312
Woooooow it`s great
After a long time finally for Android 6.0.1 kernel was built
The only problem now was seen is The brightness...
Hoping to fix it bro
The Following User Says Thank You to m.Sony Xperia S For This Useful Post: [ View ] Gift m.Sony Xperia S Ad-Free
6th January 2017, 06:47 PM |#11  
Mactavish's Avatar
Member
Flag Tehran
Thanks Meter: 175
 
Donate to Me
More
Tnx bro
i hope u Add some Features like OTG and double tap2 wake up
The Following User Says Thank You to Mactavish For This Useful Post: [ View ] Gift Mactavish Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes