Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,519 Members 37,818 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Do you want more CPU governors?
YES 35 55.56%
NO 28 44.44%
Voters: 63. You may not vote on this poll

[MOGAMI][KERNEL 3.4.101][ROM][423MB]""OptKernel""[07-08]

Tip us?
 
Vynikal
Old
(Last edited by Vynikal; 16th August 2014 at 05:12 PM.) Reason: UPDATE
#1  
Vynikal's Avatar
Senior Member - OP
Thanks Meter 554
Posts: 764
Join Date: Sep 2012
Default [MOGAMI][KERNEL 3.4.101][ROM][423MB]""OptKernel""[07-08]

Hello community,
for some time I have been trying to make perfomance friendly kernel and ROM. I obviously haven't missed JustArchi's discovery - O3 compiling flags. Although I was first sceptic, after some days of testing (and feedbacks from brave testers) I found out this is truly masterpiece. After adding some kernel tweaks, here is result - OptKernel. Read more...

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or your mom shouting at you, because of you not being
 * able to wipe browser history. 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.
 */
Features:
Quote:
- Based on LX rebase branch, brings kernel to upstream (3.4.101) and includes various fixes.
- compiled with SaberMod 4.9/4.8
- both ROM and kernel compiled with JustArchi's optimizations (*)
- modified memory reserves in board config --> 423 MB (credits @Dark Raven)
- overclocked up to 1.6 GHz, underclocked down to 24 MHz
- added Dynamic FSync by faux123
- Dynamic read-ahead
- Dynamic dirty-page writeback by Christopher83
- Fast charge available (disabled by default)
- added FRandom module
- enabled Zsmalloc
- added governors (list in changelog)
- ability to undervolt separate frequencies via VDD interface
- lowered swappiness
- Optimized read/write semaphore
- Used glibc version of memcpy/memmove (much faster than original one)
- power_efficient workqueues

And of course all features of LegacyXperia as in 20140806 sources

BUGS:
Flash in camera is buggy, unable to take pictures at night.
Proximity sensor(?)
(*) except for /hardware/qcom/display-caf/libhwcomposer, because of compile errors.

Almost all features are detaily explained in Christopher83's thread (hit thanks to him)

NOTE:
- It is not mandatory to use OptKernel only with this ROM.
The only feature of the ROM are -O3 flags and 4.8 toolchain. All other features are implemented in the kernel.
You can use OptKernel with LX's 0718 build, just flash wifi modules (2rd post). Still, this ROM is really fast, worth a try
- Don't report issues on LX bugtracker if you do so.
- Don't ask for ETA!
I don't know when (if) I'll release! I won't respond, even worse, I'll report you!
- I am not a developer. Everything I've done was only about searching and cherry-picking general improvements.


DOWNLOAD:
COCONUT
OptKernel:
https://drive.google.com/file/d/0B1I...it?usp=sharing
whole ROM: (kernel included)
https://drive.google.com/file/d/0B1I...it?usp=sharing

SMULTRON
OptKernel:
https://drive.google.com/file/d/0B1I...it?usp=sharing
ROM:
https://drive.google.com/file/d/0B1I...it?usp=sharing

Only kernel:
MANGO

SATSUMA

ANZU

HAIDA

HALLON

OLD DOWNLOADS (0718)


SOURCE:
https://github.com/Vynikal/android_kernel_semc_msm7x30
https://drive.google.com/file/d/0B1I...it?usp=sharing

CREDITS:
mikeioannina for base ROM
@Dark Raven for more-RAM idea
Christopher83 for many ideas and a load of patches
JustArchi for great optimizations
@mdfzhi for inspiration
Everybody for cherry-picks
+ all brave testers
The Following 41 Users Say Thank You to Vynikal For This Useful Post: [ Click to Expand ]
 
Vynikal
Old
(Last edited by Vynikal; 7th August 2014 at 08:12 PM.)
#2  
Vynikal's Avatar
Senior Member - OP
Thanks Meter 554
Posts: 764
Join Date: Sep 2012
FAQ:

Will you build it for <device>?
I have slow pc, so I can't make it for too many devices. You are free to build by yourself.

Why is ROM/kernel so big?
Because -O3 flags are taking additional hunks of data. More info at Archi's thread. Don't worry, it will install fine.

Can I use your ROM as a base?
Yeah, you're clear. Just add me to credits.

Will you add <governor/io_sched>?
I personally don't like too many governors, but if you want any, post it here.

Why aren't all those tweaks already in LX CM11?
Because they are experimental and maybe unstable. Mike wants to make stable builds for all.

My wifi is not working!
Flash modules - https://drive.google.com/file/d/0B1I...it?usp=sharing

How can I help you?
1. Every problem you face report with logs.
2. If you have enough knowledge, help with improving code on Github.
3. If you want to donate, donate to Mike instead. Without him, this kernel wouldn't exist.
The Following 14 Users Say Thank You to Vynikal For This Useful Post: [ Click to Expand ]
 
Vynikal
Old
(Last edited by Vynikal; 7th August 2014 at 08:33 PM.) Reason: Changelog updated
#3  
Vynikal's Avatar
Senior Member - OP
Thanks Meter 554
Posts: 764
Join Date: Sep 2012
CHANGELOG
Code:
20140807
- Completely rebased on LX rebase branch, this includes:
       - Kernel fully updated to upstream to 3.4.96
       - Various fixes
       - (By me) More patched to upstream (now .101) and updated all features from LX branch.
- Add some toolchain improvements and compiled with newest SaberMod 4.9
- Fast charge support
- Fix camcorder preview lag (RAM decreased by some MB)
- More undervolt

20140719
- Underclock down to 24 MHz
- Undervolt many frequencies
- VDD interface (allows manually change voltage of separate frequencies)
- Lowered swappiness
- New CPU governors - InteractiveX, OndemandX, Lionheart, Lulzactive, Hyper, Brazilianwax, Intellidemand
- Bumped RAM to 433 MB (lowered SF_SIZE)
- Optimized read/write semaphore
- Used glibc version of memcpy/memmove (much faster than original one)
- power_efficient workqueues
many other things, check here
all features of LX kernel 0718

20140703
- Initial release
HOW TO BUILD
1. follow this guide up to "repo sync" (don't execute it)

2. Open /.repo/local_manifests/semc.xml (hidden, press Ctrl+H)
Find this line
Quote:
<project name="LegacyXperia/android_kernel_semc_msm7x30" path="kernel/semc/msm7x30"/>
and change it to this
Quote:
<project name="Vynikal/android_kernel_semc_msm7x30" path="kernel/semc/msm7x30" revision="OptKernel-rebase"/>
3. Now sync repositories (depends on your internet connection)
Code:
repo sync
4. Run this
Code:
curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-11.0/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
And this
Code:
cd ~/android/system/vendor/cm
./get-prebuilts
5. Download source.zip, unpack it to the root of your source and overwrite all.

6. Download SaberMod toolchains (both) and unpack them to /prebuilts/gcc/linux-x86/arm/
http://d-h.st/cl0
http://d-h.st/qsd

7. In the same folder, rename "arm-eabi-4.9" to "arm-eabi-4.8"

8a. Build ROM (takes long time)
Code:
. build/envsetup.sh
breakfast <your_device>
brunch <your_device>
8b. To build only kernel (much shorter)
Code:
. build/envsetup.sh
breakfast <your_device>
make -j4 bootimage
9. Zip/kernel is in /out/target/product/<your_device> ready to install

If you found this guide wrong, got error or anything, write it down this thread.
Live with Walkman
ROM: CM11 20140720 with JustArchi's optimizations
Kernel: OptKernel
The Following 14 Users Say Thank You to Vynikal For This Useful Post: [ Click to Expand ]
 
rahimali
Old
#4  
rahimali's Avatar
Senior Member
Thanks Meter 238
Posts: 648
Join Date: Jul 2007
Quote:
Originally Posted by Vynikal View Post
For the glory of satan, of course
Before somebody else says this, let me have the honor

How about for other MDPI devices too?
 
Vynikal
Old
#5  
Vynikal's Avatar
Senior Member - OP
Thanks Meter 554
Posts: 764
Join Date: Sep 2012
Quote:
Originally Posted by rahimali View Post
Before somebody else says this, let me have the honor

How about for other MDPI devices too?
In FAQ
Live with Walkman
ROM: CM11 20140720 with JustArchi's optimizations
Kernel: OptKernel
The Following 2 Users Say Thank You to Vynikal For This Useful Post: [ Click to Expand ]
 
T3sla
Old
#6  
T3sla's Avatar
Senior Member
Thanks Meter 42
Posts: 154
Join Date: Jan 2012
Location: Thessaloniki
Quote:
Originally Posted by Vynikal View Post
... If you want to build for your device by yourself, I can make a detailed guide. ...
A detailed guide would be nice...
 
cethine
Old
#7  
Member
Thanks Meter 8
Posts: 48
Join Date: Oct 2012
Location: Sakarya
Thanks. I will try.
WT19i - Live With Walkman - Coconut

Learning...
 
djborek
Old
#8  
djborek's Avatar
Senior Member
Thanks Meter 32
Posts: 271
Join Date: Apr 2012
Location: Warszawa
Screenshoot pls.
 
evil.demon_s
Old
#9  
evil.demon_s's Avatar
Senior Member
Thanks Meter 505
Posts: 497
Join Date: Jan 2013
So atlast finally you have released it

Bt does it have everything which is present in 0703 build....????
Cz 0703 build itself is very smooth... and with this...it would just fly


Sent from my WT19i using XDA Premium 4 mobile app
If this post is helpful for you , Hit "Thanks" button


| Live with Walkman™ White |
| Honamify v3 |
 
vj.xtha
Old
(Last edited by vj.xtha; 4th July 2014 at 04:00 AM.) Reason: camera problem
#10  
vj.xtha's Avatar
Senior Member
Thanks Meter 27
Posts: 148
Join Date: May 2013
Location: Kathmandu
Angry Awesome!!

431 MB RAM..impressivee..if there were something..like overclocking the RAM like overclocking CPU...these devs would possibly make 512 MB RAM incresint to 1 GB RAM haha...
Great rom by the way..blazing fast..but 1 problem,,,i always get bootloop whenever i try to switch to ART on clean install without any apps installed on internal...any possible solution for this?? just wanna try it with INT2EXT

1 problem with camera..whenever i take pic at night there is flash but..the final image is totally black with your rom..and whenever i stop recording the video camera force closes!
this bug wasn't on mikes 20140703 build!!..so fix this dude..

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes