Related
Ok guys i have got permission to bring over lean kernel and offer support for it on xda. I will keep this post up todate with all the most recent kernel updates and news. All credit goes to imoseyon as the original op and rootzwiki for original posting. I am posting this with full permission and support from imoseyon
Mod Type:: Kernel
Difficulty:: Very Easy
Mod Status:: Stable
Apply In:: CWM Recovery
Requires Root:: Yes
Exp builds are also up and includes a bunch of Android/OMAP updates not in stable.
SOURCE:
ICS
JB
This is a minimalistic Galaxy Nexus kernel. My philosophy is to keep the kernel as lean and stable as possible, at the same time to keep the kernel as modern and close to latest mainstream linux as possible. You will see that my kernels will lack some of the bells and whistles from other kernels.
sorry host4droid is still down. Mirrors:
kk4.4 LK 9.0 beta (use at ur own risk)
JB4.3 [ stable builds | exp builds ] [ change log | exp changes ]
JB4.2:Stable
Stock JRN84D kernel
Terminal Emulator not finding scripts? Read this post.
CHANGE LOG JB 4.2
FEATURES
Patched to latest in Linux 3.0.x branch.
All unnecessary kernel components removed to make kernel lean and fast!
OC to 1.65ghz. Boot speed is maxed at 1.2ghz within kernel (in addition to ramdisk) for stability.
User voltage control
InteractiveX V2 (screen-off hotplug of cpu1) added. Select it using setcpu if you want to use it.
Ramdisk tweaks (sysctl, vm, filesystem speed, etc.)
SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.
init.d support in ramdisk.
lk.conf for basic kernel configuration.
HotplugX governor (Hotplug optimized and modified for screen-off suspend).
wakelock tweaks for wlan and lte modem
lkflash - script to flash latest versions of leanKernel from Terminal (type "su" without quotes, hit enter, then type "lkflash" without quotes and then hit enter)
checkv - voltage checking script (for custom undervolting) - detailed at bottom of this post.
checkt - script that displays 1) your current temp, 2) # of times you were throttled due to temp "recently", 3) CPU trim type, and 4) CPU silicon type, etc.
Fast USB charge (by chad0982) and "ffc" toggle script by me. (Open terminal, and type "ffc" without quotes then enter)
ColorControl from both CM9 and Ezekeel (compatible with all ROMs). Helpful posts: 1and 2.
TempControl - sysfs interface to control the CPU temp threshold. Read these two posts: 1 and 2.
Variable GPU OC - sysfs interface to select GPU max speed between 307MHz (stock), 384MHz and 512Mhz. The changes take effect immediately. Check FAQ for more info and how to use it.
Custom SR Tuning - override kernel default minimum voltage for SR calibration.
SoundControl
Gamma Control
ROW scheduler v4
DIRECTIONS
Uh.... flash the zip in clockworkmod.
Thanks to forum member maddler for providing file hosting
FAQ
How do i change voltage? - Use the latest version of setcpu, leantweaks, cputuner, or your ROM's built-in tools.
Do i need to wipe dalvik/cache? - in general there's no need, but it doesn't hurt so if you have time go ahead. Posted Image I don't wipe.
Can we OC higher or add more frequency slots? - You can find the extra slots in my experimental versions.
Will this work on GSM gnexus as well? - It should. I don't have a GSM phone to test so let me know if it stops working.
What is interactiveX V2? Read this post and thttp://rootzwiki.com/topic/13092-kernel-leankernel-minimalistic-kernel-120-123111/page__view__findpost__p__342571
Are you getting Screen-Off/Sleep-Of Death (SOD), general instability, or unusual battery drain?
Before you post here (especially if you're running the experimental version), try the following steps in order:
0) dude, disable screen-off profiles if you're running interactiveX.
1) If you're running the experimental version, do you have 180mhz/230mhz and/or 1.42ghz slots enabled? If so disable them both!
2) If the above doesn't help, do you have custom undervolting enabled? If so disable it! (keep in mind that the kernel is already undervolted by default).
3) If the above doesn't help, are you using interactiveX or hotplug governors? If so change to interactive.
4) If the above doesn't help then you should not be running the experimental version. Install the stable version and try both interactiveX and interactive without custom undervolting.
If you're still getting SOD with stable/interactive, report it here.
What about call-recording? - First the app needs to support Galaxy Nexus. Find out if it does and then find out from the author of the app what kernel changes are required and let me know.
Should i set up screen-off profile? - ICS kernels have built-in screen-off profile for all governors at 700mhz. So you don't need it unless you want to set it lower than 700mhz. In general there isn't a whole lot to gain by setting it lower.
Hotplug vs interactiveX? - Read this post. HotplugX vs interactiveX
What is zram and why do i need it?
zram basically takes a portion of your RAM (10% using my script) and turns it into a compressed swap device. So in layman's terms you're extending the size of your memory (potentially from ~700mb to close to 1000mb depending on the compression ratio).
To answer the 2nd question, no you don't really need it but if used properly (using custom LK zram script) it could help you in two different ways:
1) Android OS is based on Linux OS and the OS will try to use a growing portion of your RAM for file and inode caches and if you keep your phone up without rebooting after a while you may notice things getting a little sluggish. That's because the OS is not doing a good job in dropping the caches and freeing up memory for the apps.
2) more RAM and tweaked minfree (also handled by custom LK script) could potentially allow your apps to stay in memory longer (this may or may not be desirable based on your preference of course).
In conclusion, I'd say if you're curious it doesn't hurt to try. To revert, just type "zram disable".
What's the low-down on the GPU OC?
My kernel's GPU is now set to stock 307Mhz by default. You can adjust that by using Variable GPU OC (see a separate FAQ entry below).
When you go from say 307 to 512Mhz, you will not experience near double performance increase. Due to the factors outside the GPU module (ie. memory bandwidth limitation), you can't truly OC the GPU. In fact, most people can't tell the difference between 307, 384 and 512. Nenamark2 will roughly give you the following scores: 307/25fps, 384/28fps, and 512/31fps.
Some of you have seen the note from Colin, the Google kernel engineer, not to OC the GPU because using the OV_UV voltage slot will drain the battery. My kernel uses the same voltage for both OV and OV_UV slots. So there's no danger of battery drain there.
Why are the IO benchmark test scores lower than another kernel?
Some of the kernels out there have fsync disabled to increase benchmark scores. I believe that is unsafe and could cause data corruption. I do have hooks in my kernel to disable it but I don't use it.
In real world there will not be any user perceivable difference whether you have fsync enabled or disabled.
Is there a way to tune hotplug via sysfs?
yes. Advanced users only!
My phone doesn't seem to be deep-sleeping, what gives?
(assuming you checked in the right place like cpuspy) In terms of deep-sleep, there's not a whole lot going on in the kernel. It works or it doesn't - and I can assure you that I test every release (well almost every release) for deep-sleep before I release.
19 out of 20 times it's either 1) some sort of background process that's preventing your phone from going into deepsleep, or 2) something's misconfigured in your ROM, or both. Also connecting to USB will prevent phone from going into deepsleep.
I'm having unusual battery drain - help!
First of all, our gnex has very poor battery life while in active use. It's downright horrible while screen is on - screen is definitely the main culprit and there's not a whole lot I can do about that.
Custom undervolting can help or can hurt. This is mainly due to SmartReflex (class1.5) which auto-calibrates the ideal voltages for you. In fact, with SR you don't really need to use the custom undervolting feature for frequencies other than the 2 lowest. It does a great job calibrating higher frequencies. I personally don't touch it.
The "notrim" versions are an exception because I had to disable SR1.5 for the trim override to work. There's no auto-calibration going on there. Feel free to mess with custom undervolting on the notrim versions.
Now, if you've already accepted the horrible battery life while screen is on, but have questions about battery drain while idle - read the next question.
I'm having unusual battery drain while screen is off, or phone is sleeping - help!
First, let's find out if you're phone is going into deep-sleep. Install CPUSpy, unplug phone, turn off screen, and leave the phone alone for 5-10min. Turn the screen back on, launch CPUSpy, and see if you see an active entry for Deep Sleep. If so congratulations - read on.
If you've determined that your phone is not entering deepsleep by using the above method, read my entry above that says "My phone doesn't seem to be deep-sleeping". I've heard that removing SDM.apk helps as well as rebooting the phone. Also try turning your bluetooth on and off, and launching camera app and closing it.
If you've determined that your phone is entering deepsleep fine but still feel like battery drains, read the next question.
I'm having unusual battery drain while phone is in deep-sleep - help!
First make sure you are absolutely positive that deep sleep is working (read the previous question).
While on my kernel *and* connected to Wifi, you shouldn't drain more than 1% battery per hour *average* while in deep sleep (based on 5-8 hour continuous deep sleep). With wifi turned-off, my guess is probably no more than 1-3% per hour, depending on signal strength.
tip 1: If above is not happening for you, first charge the phone all the way and reboot. Let things settle a bit - give it a day or so. If you're using Battery Monitor Widget (which is not accurate for gnex), things should eventually settle between -2mA and -60mA per sample.
tip 2: Install BetterBatteryStats and look at which wakelocks dominate. Google search for names of the wakelocks to see how you can fix them.
tip 3: http://checkthis.com/d87t
If nothing seems to help, you can try the "notrim" version, but stick to speeds between 350 and 1350 (don't use OC slots). The notrim version has SR1.5 disabled which could help for those of you with drain issues on my other kernels.
What is tempcontrol and how do I use it?
First, read these two posts: 1 and 2.
Although tempcontrol was designed to be used with the experimental notrim builds because the cpu gets hotter in notrim frequencies, you can actually use tempcontrol to throttle lower frequencies. I haven't tried myself, but theoretically you can set your top speed at say 1.2Ghz and use tempcontrol to throttle at say 60C (instead of the stock value of 63C) resulting in slightly cooler phone. Theoretically.
What is SmartReflex?
SmartReflex performs continuous dynamic voltage scaling around the nominal operating point voltage according to silicon characteristics and operating conditions.
My stable and experimental builds will have SR Class 1.5 enabled by default.
You can disable SR via sysfs
How do I use Variable GPU OC?
You can use Lean Tweaks by Jake, or use the built-in "oc" script. Both leantweaks and my oc script will create an init.d script so the setting sticks at boot. My "checkt" script will also show the current GPU max speed. Note that 512MHz will probably not work for everyone.
307Mhz (stock) is set default by the kernel.
Open Terminal, and type for stock speed of 307Mhz: oc gpu 0
for 384MHz: oc gpu 1
for 512Mhz: oc gpu 2
What are the available sysfs options?
Check this post (thx byrong)
Which governor should I use on JB?
As usual I'd recommend trying all the governors and see which one works best for you. Stock JB, however, is optimized for interactive. The OS will automatically modify various interactive governor parameters on the fly while you're using the phone as part of "project butter". Namely, the following parameters are constantly adjusted by the OS: boostpulse, timer_rate, min_sample_time, hispeed_freq, go_hispeed_load, and above_hispeed_delay.
I hope this helps people if there is any other information you might want added just ask and i will do my best to come up with a comprehensive guide.
Donate to your favorite charity, or donate to imoseyon.
Did you ask Imoseyon before you posted this?
Thanks for bringing the thread over to XDA. Hopefully you got the necessary permissions, for the sake a peaceful thread. Its good to have most developments of the GNEX here and I finger tip away.
Sent from my Galaxy Nexus using xda premium
I've heard a lot about this kernel!
yes this is with his permisson
ajf64 said:
No i didn't ask him but i did put all due credits in it and it is in every other gnex forum but the sprint one all brought over by other people so if he has a problem with this he can feel free to pm me and i will get it removed i just figured it give us some easier access to his great kernel. In no way am i claiming this to be my work all support should be directed at the original thread op. I was just trying to make access to his kernel a bit easier for all xda users
Click to expand...
Click to collapse
That's all hunky dory but just doing things without asking the developer is just not right. Regardless if he has an issue or not. Its like you make something you work diligently on and then somebody just posts it somewhere else.
I dunno maybe its just me but its just common courtesy.
Sent From My Toro+ via SkyBlue Tapatalk
Thanks op.
#inb4close
#ReOpened
Sent from my Galaxy Nexus using Tapatalk 2
all fixed
ajf64 said:
well then sorry for posting it will a mod please delete this thread before it becomes a flame pit
Click to expand...
Click to collapse
Doesnt need to be deleted.. if just ask him if its alright.. thats fine enough
ÜBER™ said:
Doesnt need to be deleted.. if just ask him if its alright.. thats fine enough
Click to expand...
Click to collapse
Why do you always ruin the flaming? With your...good nature...and your rap music.
Thanks for linking. You can still ask dev for permission but I get what you're trying to do. I prefer xda since this is where I have gotten help with every phone since my nexus 1.
Sent from my Galaxy Nexus using XDA Premium HD app
Well i have gotten permission to post this from imoseyon and to keep this thread updated on xda sprint forums for him so it looks like we are all set he got back to me alot faster then i thought he would so every thing should be all good guys
and yes jayare313 i am so used to finding every thing i need on xda some times it s a pain having to check 3 or 4 sites to see if any of your mods for your rom are updated
Sorry. 3 issues here:
1) I need to verify permission from the developer and he needs to verify that he is going to support it here. If someone downloads it, flashes it, and somethings wrong.......who is going to give answers and support it? We have an active community who can help, sure, but the developer has to actively support it here. If he were ready to give support here, he would have posted it here already. And even then it would have to go in general unless he started the thread.
2) There is no source provided in the OP. Kernels must be GPL compliant and listed in the OP.
3) If you did not create it, do not post it in the development section.
Alrighty. Everything should be good now. I'll be keeping an eye out.
OP will be updated soon, with source and I've spoken to the developer.
Thank you guys.
---Jay--- From the GNex
Well, I will say I like having this thread here. So thanks to the op.
Sent from my Galaxy Nexus using Tapatalk 2
I will be updating the thread when i get home today and be offering any support you guys may need for this kernel
MichaelMcEntire said:
Well, I will say I like having this thread here. So thanks to the op.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I totally agree. Thanks to OP for the thread and imoseyon for the kernel
Sent from my Galaxy Nexus using xda premium
Np guys any time and if there is any thing i can help with just ask i plan to provide full support for this kernel. Also if there are things you wish to have added feel free to post them as well i have permission to compile my own versions of lean kernel with cherry picked features from his repository and to add features to it. I look forward to your feedback.
is 4.2 jb cm10 compatible
twoeleven99 said:
is 4.2 jb cm10 compatible
Click to expand...
Click to collapse
Yes
Sent from my Galaxy Nexus using xda app-developers app
Hello all,
I am the owner of a rooted xperia play with stock rom.
I've installed link2sd so that I can save some ram and space: moved most of my apps on the SD card, and deleted some unwanted native apps (Bruce Lee, Fifa, etc...) and "freezed" the others I did not dare to delete.
But this is not enough for me to play games like GTA III and Dead Trigger smoothly, even with a task killer and airplane mode set on. I suffer from many lags while playing greedy games.
I've done some researches on this forum and found some potential solutions:
- Using boosting apps like: gamebooster, ram manager pro, chainfire 3D pro, etc...
- Overclock the processor up to 1,6ghz with setCPU or other apps.
-Increase SD card performance and optimize ram as explained below:
Increase SD card performance
1. Navigate to /sys/devices/virtual/bdi/179:0 folder in your Xperia Play
2. Press and hold on the read_ahead_kb file. This action will pop out a new menu.
3. Choose Open With Text Editor option
4. Change the current value to 1024
5. Save your changes and exit
Optimize RAM
1. Grab the Juwe_Update18082011_RAM_Script.zip
2. Extract the file and put it on your SD card
3. Launch the Root Explorer
4. Navigate to /system/etc/
5. Create a new folder, named it as init.d
6. Copy the S97ramscript file into that folder
7. Set the perms of S97ramscript file to rwxrwxrwx
What is your advice? Can I use safely one (or several) of those solutions? What are the risks? Which solution is really effective and will allow me to play demanding games?
My xperia play is still under warranty so I don't want to lose it. Which means I don't want to try custom roms or custom kernels... Until my warranty ends.
Thanks for your help!
Well, the biggest performance boost, overclocking, requires a custom kernel. Not much else really makes a huge difference
Also, I believe using the init.d directory requires a custom kernel as well
Why not just use v6 supercharger?
Sent from my R800x using xda premium
jgregoryj1 said:
Why not just use v6 supercharger?
Sent from my R800x using xda premium
Click to expand...
Click to collapse
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Look, the amount of times I have seen this type of thread open is astounding I would like to point that you use gingerbread any version (2.3.7 Moded to look like rom) and a custom kernel such as Doomlords etc. Supercharge or use a rom like Dike's. You only get best performance with using less apps, rebooting the phone before playing a game, task killers, clean your cache, installing phone eco friendly apps and use a governer for your preference!
---------- Post added at 01:47 PM ---------- Previous post was at 01:45 PM ----------
cityhunter62 said:
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Click to expand...
Click to collapse
No you wont because you have to root, rooting voids the warranty anyway but you can simply unroot after...
cityhunter62 said:
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Click to expand...
Click to collapse
I saw a vast improvement in my phone with V6. Its really easy. Just place the scirpt on your SDcard. Download script manager, then select the V6 script, check run as root, and hit go. Follow the on screen selection.
I did the following
512 HP super unleaded (Bulletproof home)
Nitro Lag nullifier
Seriously.... BIG difference in my phone. I could b playing a game and hit the home button.. BAM... there instant no lag no redraw, nothing just all there ready to go. Seriously cannot praise it enough.
nice..
Just to share my experience.
I've bought Ram Manager Pro finally.
I know it's probably not as effective as an overclock or V6 Supercharger, but I do not want to mess with the kernel, custom roms or scripts.
I'm running on stock gingerbread rooted, I've removed the bloatwares and I think it's enough modifications already. I don't want any bugs or troubles with stability so I don't want to modify the OS too much.
Anyway, I'm using Advanced Task Killer along with Ram Manager Pro... And it works! Really.
I was not able to play GTA because it was too laggy, but with Ram Manger Pro set on "Hard Gaming", I was able to improve the graphics (max details, dynamic shadows, 75% clipping and 80% resolution) and it plays rather nicely. It's not really smooth (not like 60 FPS) but it's far enough to be playable and enjoyable.
It wasn't without Ram Pro Manager. SO it's worth trying. Don't expect miracles but some gain in performances, surely.
Maybe I should try an alternative launcher as I heard it can improve performances as well... Any suggestions for a light and modest one?
Also, is there anyway to prevent Maps, Facebook, Crash bandicoot or Super Monkey Ball to start automatically even with task killer? I can understand (to a certain extent) that Maps and Facebook needs to start and connect, but Crash Bandicoot and Monkey Ball??? Seriously? WTF?
cityhunter62 said:
Just to share my experience.
I've bought Ram Manager Pro finally.
I know it's probably not as effective as an overclock or V6 Supercharger, but I do not want to mess with the kernel, custom roms or scripts.
I'm running on stock gingerbread rooted, I've removed the bloatwares and I think it's enough modifications already. I don't want any bugs or troubles with stability so I don't want to modify the OS too much.
Anyway, I'm using Advanced Task Killer along with Ram Manager Pro... And it works! Really.
I was not able to play GTA because it was too laggy, but with Ram Manger Pro set on "Hard Gaming", I was able to improve the graphics (max details, dynamic shadows, 75% clipping and 80% resolution) and it plays rather nicely. It's not really smooth (not like 60 FPS) but it's far enough to be playable and enjoyable.
It wasn't without Ram Pro Manager. SO it's worth trying. Don't expect miracles but some gain in performances, surely.
Maybe I should try an alternative launcher as I heard it can improve performances as well... Any suggestions for a light and modest one?
Also, is there anyway to prevent Maps, Facebook, Crash bandicoot or Super Monkey Ball to start automatically even with task killer? I can understand (to a certain extent) that Maps and Facebook needs to start and connect, but Crash Bandicoot and Monkey Ball??? Seriously? WTF?
Click to expand...
Click to collapse
Try Autostarts to disable apps from running automatically
Sent from my Xperia Play!
Install custom ROM like Xperia NXT and get Bloatware remover by fma965 = SMALL SPEED BOOST
Sent from my R800i using xda app-developers app
Welcome to Lightning ROM
MAJOR UPDATE, REV3, CHANG LOG IN SECOND POST**********
The goal when creating this today has been simple. Squeezing the most performance out of the T-Mobile Galaxy S III as I possibly could, without destroying your battery. This ROM was build with two things in mind - optimization and speed. Nuff said. It is based off the official Jelly Bean leak as of late last night and wild child's deodexed version he was kind enough to throw down. It will probably impregnate you, with twins, then not pay you child support. If you are ready to propel your device to levels above 9 thousand, you should probably keep reading. You have been warned. IT IS FAST! ..... yet... friendly...
Like myself, in the spirit of android, I am sure you all love customization. I am doing something a little different with this. Rather than add all the toggles, mods, themes, etc, I focused today on the performance aspect and will leave the theming up to you, and after you get it set up the way you want (as there will soon be and already is tons of pretty extras for this build) revert to post 2 of this thread for a nice little guide to odex this bad boy straight from Android UI via terminal emulator. I'll take care of the tweaking, you theme it the way you want, then wrap it up with some memory optimization of your own, or don't. Sound good? Thought so
Getting right down to it - a quick list of things modified here, and I know I am missing some things:
-Init.d support
-Busybox
-Deodexed (until you odex - see post 2)
-Rooted - duh
-CIQ removed***
-Debloated: removed a lot of stuff, but it is all avail' in the market, youtube, etc, you would have had to update it anyways -__-
-File system and SD read optimized for speed
-added freeza's custom CPU script to init.d ***see changelog in post 2
-Build.prop has been modified.
*added the 0 ring delay script
*wifi scan adjusted to 600
*media streaming optimized
*media recording optimized (video and image)
*data speeds optimized
-Database df on each boot / sql support - totally kanged this from somewhere else it was kanged... all credits due
-Memory optimizations
-Default IO scheduler optimized for flash-type disks (android devices)
-Carefully modified CPU parameters with performance in mind. Tweaked values to optimize IO throughput during heavy workload and multi-tasking, yet on the other end, CPU cycles are greatly reduced when system is not under heavy load. You will see this in performance :highfive:
INSTALLATION - follow this to the T, or I will ignore you. And keep in mind you might still have issues. Not every device is the same.
1. download ROM, put it on your external SD card, and verify it is good with an MD5 check
2. once all is well, boot to recovery
3. do a factory reset/data wipe (I have always been in the habit of being thorough and formatting anything 3 times)
4. format/wipe system (3 times recommended)
5. flash ROM
6. reboot (it will take a couple minutes)
7. once the device boots, let it stand alone for about a minute or so (i typically wait until it shuts off the display on its own) and ENJOY
NOTE: DO NOT TRY TO SIGN IN TO DROP BOX. I REMOVED IT. DL FROM MARKET!!
Also, some other things removed: browser, YouTube, calculator, some other stuff. I didn't remove anything that was not available in the play store. Wanted to keep it light weight. Do not try to sign in to anything other than your google account when you boot. Again, enjoy.
thanks to wild child, freeza, virus, steelH, dj, luke, ktoonz, and many others. mad respect to you all. i have implemented things that are either your direct work or things i have learned from you. so here is my humble shout out. if there is something i left out, somebody i didn't mention, please forgive me and post in this thread and call me out, i will happily update the OP with thanks. respect to you all
REV_3 - ready, set.. ok click now!
With morfic's kernel..... clocked at 1.83
ok... so if you are like me, and you REALLY wanna get intense with this, and just make it as bad A as you possibly can, keep reading....
This will essentially odex all files in your /system/framework and it will do it straight from the Android UI via my personal favorite app ... this is good because it frees up mem, and reduces DVM size. OPTIMALLL
1. download the odex.zip here --> PURPLE
2. extract all files with a file explorer, i prefer root explorer or fx file explorer
3. place the extracted folder and all of it's contents in /data/local/tmp ... so you should have /data/local/tmp/odex/+(misc files in new odex directory)
4. give the new directory and ALL contents FULL permissions. full read, write, and execute perms. your file explorer, if it has taken you this far, should be able to accomplish this
5. download this app TERMINAL EMULATOR dont worry it is free. open the app
Type the following commands - each new line should be executed with the enter key:
su (hit enter, it will ask for root)
/data/local/tmp/odex/odex (hit enter, you will see
you will see a bunch of outputs. there will be a message when it is done (honestly, like 10 seconds if that) saying something like "enjoy your hybrid ROM"
type "reboot recovery" (without the quotes)
device will boot into recovery immediately after you hit enter...
wipe cache and dalvik cache once more each, and reboot your device.
viola <--- this was spelled wrong. but i am going to leave it. because i can. rofl
THANKS*** freeza for sending me the the odex script, and you're welcome, for the bootclasspath for the script.. lulz. and thanks freeza for convincing me to download titanium backup again... and you're welcome for giving you the peace of mind that you can odex framework from android. el o el
****change log*****
rev3-December 1st, 2012 -uploading
-added morfic's alpha 23 kernel. OC'able to 1.83, no UV, L2 cache tables optimized, CPU hot plugged (for now, panel of=cpu1 off), pretty much an overhaul here. performance is ridiculous.
-removed CPU tweak by freeza (i still love you tho)
-optimized IO, AGAIN. adjusted ondemand parameters for a little bit better performance
-removed unneeded scripts from init.qcom.post_boot.sh file - positive effect on IO
-cleaned up build prop, added scripts for TCP windows, added network hack by... somebody... can't remember. File is in /etc/init.d/ "internet"
-optimized BT audio streaming
-added properties for optimal accessibility of T-Mos spectrum/towers
-disabled unneeded logging - save CPU cycles and power
-debloated some more. lightweight. DO NOT... try to sign in to dropbox upon first boot (if it even gives you the option) download the latest version of the app on the play store.
rev2-NOVEMBER 19, 2012
-removed some UI audio sounds (charger connection [for those that listen to music], lowbattery sound, volume toggle sounds, other annoying useless sounds such as boot up and power off)
implemented freeza's CPU control script for some amazing performance and battery life. thanks bud, as always, great work. i have been running this since he was finished with it, and it is absolutely amazing. your device with tons of unique and user friendly, editable scripts.
-freeza's CPU script adjusts CPU parameters for both cores based upon whether your device is charging, and how much battery you have left. it is a performance and battery friendly script that is power efficient and editable depending on what YOU want your device to do.
beta1-
initial release
all the things...
In rev 2, with freeza's CPU mod, you can navigate to init.d and you will see a "70cputweak" file. if you open that up, you can adjust CPU values and parameters of governors to your liking. for now, i left them as is - the way they were when freeza gave them to me. edit them with a file explorer and reboot and you are now adjusting your OWN values based on the performance and battery YOU desire. follow instruction in OP to flash
Thanks will try this later today
Sent from my SGH-T999 using xda app-developers app
Does teathering work on this?
ScottBroker said:
Does teathering work on this?
Click to expand...
Click to collapse
wireless/native? no. but my easy tether app works perfectly. i'll implement it, if i have time, in beta2... i haven't slept in two days lol
OP updated
Will the odex.me app work with this rom? I'm not lazy, just curious if there's an easier way to odex..tia
Sent from my SGH-T999 using Xparent Blue Tapatalk 2
Yeah does the odex me app work the same way than doing all that other stuff?
Sent from my SGH-T999
which tether app you using ?
Thanks
Odex me app will not work
great Rom thanks
Is this still running Touchwiz? How much RAM available? Other then your optimizations for speed what has been added or removed? Are animations gone due to the optimizations?
EGBTMagus said:
Is this still running Touchwiz? How much RAM available? Other then your optimizations for speed what has been added or removed? Are animations gone due to the optimizations?
Click to expand...
Click to collapse
All I have done is tweak properties listed. Didn't mess with animations, or anything. You guys can do all that with a theme, kitchen, etc... I would recommend wild child's work. It's great stuff. Like I said the reason for this is because after you get it the way you want, you can go in and odex it and finalize your OWN build the way you want it to look. I'm not too big on aesthetics. But I can make your device run better
And to answer your question, yes, it is still running touchwiz launcher by default. Again I would recommend apex or nova. touchwiz is awful IMO. nothing unique about it.
Rom looks great will be testing it tonight!
Can anyone confirm wildchilds kitchen is working?
Sent from my SGH-T999 using xda app-developers app
Liking the rom so far, only issue I have come across is that I can't get App2ExtSD2 working.
Can we use your Odex wizardry in any deodexed TW Rom?
SiNJiN76 said:
Can we use your Odex wizardry in any deodexed TW Rom?
Click to expand...
Click to collapse
yeah
http://forum.xda-developers.com/showthread.php?t=1994048
Thanks...didn't know he created a separate thread.
Anyway, the first thing I noticed was that when I try to sign into Drop Box from the initial boot sequence, it FCs... I also got nowhere near the Quad score the OP got. Mine was in the 3Ks. Just my experience.
CIQ?
SiNJiN76 said:
Thanks...didn't know he created a separate thread.
Anyway, the first thing I noticed was that when I try to sign into Drop Box from the initial boot sequence, it FCs... I also got nowhere near the Quad score the OP got. Mine was in the 3Ks. Just my experience.
Click to expand...
Click to collapse
I got over 5K in Quadrant, but I also came from a 100% stock phone (reset it to make sure there were no issues). DropBox fails intially because he removed dropbox from the rom.
EDIT:
I can't seem to find the stock web browser... has it been removed?
EDIT: *lighter, forgot to check spelling. Lol
So my Evo 3D has finally called it quits and I have one month left till I leave Sprint so my friend gave me this phone that he doesn't use any more. For such an old phone I really can't complain about it, compared to my Evo 3D which runs CM 10.1 too it never crashes, always has GPS, 3G, 4G working fine and the battery lasts me all day. So I'm in love. But my one and only issue is it is extremely slow. And no I will not leave CM 10.1 as I use Google Now very often but if their are huge differences/opportunities for huge differences I'll go down as low as CM 10 or a different 4.0+ ROM.
So I was wondering is there a lite version of CM 10.1, recommended kernels that support both overclocking and undervolting, can someone explain how to make a swap partition on the SD card, and so on, just any ways to free up RAM, speed up the CPU/GPU, and lighten the load of the OS.
herqulees said:
So I was wondering is there a lite version of CM 10.1, recommended kernels that support both overclocking and undervolting, can someone explain how to make a swap partition on the SD card, and so on, just any ways to free up RAM, speed up the CPU/GPU, and lighten the load of the OS.
Click to expand...
Click to collapse
"Light version": do it yourself with a root-enabled explorer. Google and you'll know what system apps can be deleted.
OC&UV kernel: Nitest maybe.
Swap: IDK
Free up RAM and speed up: I personally use Autostarts and Advanced Task Killer (Pro), but Greenify seems easier to use. You get ~80MB free RAM after a clean install, but can get 190~220MB after heavily using these. I don't use gapps so YMMV.
Sent from Google Nexus 4 @ CM10.2
AndyYan said:
"Light version": do it yourself with a root-enabled explorer. Google and you'll know what system apps can be deleted.
OC&UV kernel: Nitest maybe.
Swap: IDK
Free up RAM and speed up: I personally use Autostarts and Advanced Task Killer (Pro), but Greenify seems easier to use. You get ~80MB free RAM after a clean install, but can get 190~220MB after heavily using these. I don't use gapps so YMMV.
Sent from Google Nexus 4 @ CM10.2
Click to expand...
Click to collapse
I've already deleted every system app I'm comfortable removing using Root Uninstaller. After having everything I have to have installed on the phone, with as many apps set to not run in the background that I can and Greenify helping too, I tend to have 10-70MB of RAM free, it tends to be 15-35MB free though. I don't use task killers since all they do is play cat and mouse and waste battery, and tried a few auto start managers but can't really get into using it with how complicated they are. Right now the main thing I want to figure out is getting a swap partition up and running since that sounds the most promising with how little RAM this phone has.
Did a backup and switched to the nitest-0721 kernel and so far it's doing good. Disappointed the OC only goes up to 1.2GHz but it's better than nothing (don't understand kernels that limit how much you can OC when it's up to you to find how much your phone can OC), hopefully I can find a way to get it to go higher, and the "voodoo color" is weird but I can install a different version of the kernel to remove that if my eyes don't adjust first. Anyways... my free RAM now stays between 100-200MB, usually about 160MB, with 18% zRAM, purging of assets, and samepage merging enabled which is amazing. Apps are opening faster and don't stutter anywhere near as much as before, so I'm happy but will see how things go tonight when I go to work and am playing with it on and off, along with need to find a way to really overclock it.
herqulees said:
EDIT: *lighter, forgot to check spelling. Lol
So my Evo 3D has finally called it quits and I have one month left till I leave Sprint so my friend gave me this phone that he doesn't use any more. For such an old phone I really can't complain about it, compared to my Evo 3D which runs CM 10.1 too it never crashes, always has GPS, 3G, 4G working fine and the battery lasts me all day. So I'm in love. But my one and only issue is it is extremely slow. And no I will not leave CM 10.1 as I use Google Now very often but if their are huge differences/opportunities for huge differences I'll go down as low as CM 10 or a different 4.0+ ROM.
So I was wondering is there a lite version of CM 10.1, recommended kernels that support both overclocking and undervolting, can someone explain how to make a swap partition on the SD card, and so on, just any ways to free up RAM, speed up the CPU/GPU, and lighten the load of the OS.
Click to expand...
Click to collapse
Try going with one of didhiy's nitest kernels and maybe a different AOSP ROM, like AOKP, PAC, etc. Or try out SuperNexus even. That's an extremely lightweight ROM with no customization options (Its straight up stock Android, just like a brand new Nexus phone), but its fast and quite stable from what I remember.
Sent from my LG-LS970 using xda app-developers app
Or find one of didhiy's nutest kernels, those have live oc, more free ram, and i believe it goes to 1.4 GHz. I'm not sure though. But it is less stable than nitest
Sent from my SPH-D700 using Tapatalk 2
Well I've run this kernel for a week or so now with the smartassv2 governor and min/max at 100/1200MHz. Zero reboots unless I'm playing Minecraft the entire phone locks up other than the button lights, no matter what I do it crashes sooner or later but oh well I'm bored of that game just wanted to see if it'd play on this phone. ANYWAYS I've heard of it being done before but can't find any info on how to do it, how can I overclock past what the kernel allows (1.2GHz), I've seen reports of this phone handling 1.5GHz and want to see if I can reach 1.4.
herqulees said:
Well I've run this kernel for a week or so now with the smartassv2 governor and min/max at 100/1200MHz. Zero reboots unless I'm playing Minecraft the entire phone locks up other than the button lights, no matter what I do it crashes sooner or later but oh well I'm bored of that game just wanted to see if it'd play on this phone. ANYWAYS I've heard of it being done before but can't find any info on how to do it, how can I overclock past what the kernel allows (1.2GHz), I've seen reports of this phone handling 1.5GHz and want to see if I can reach 1.4.
Click to expand...
Click to collapse
The frequency is still limited by the kernel...
1.5GHz is history (too unstable and hot so that devs stopped including it), and only Gingerbread/ICS custom ROMs can get that frequency via flashing corresponding Sanders/Shadow/Samurai kernels and overvolting as well, which is definitely not good.
Sent from Google Nexus 4 @ AOSPA 3+ 3.99
AndyYan said:
The frequency is still limited by the kernel...
1.5GHz is history (too unstable and hot so that devs stopped including it), and only Gingerbread/ICS custom ROMs can get that frequency via flashing corresponding Sanders/Shadow/Samurai kernels and overvolting as well, which is definitely not good.
Sent from Google Nexus 4 @ AOSPA 3+ 3.99
Click to expand...
Click to collapse
I just seriously hate kernels that limit how high you can overclock instead of making OC options to unreachable levels letting you find your phones limits. People make kernels, roms, hacks, etc so we can get around limitations that the hardware vendors put up. So if we've managed to circumvent the manufacturers blocks why are the same people that got around them making their own blocks, they already put up silly warnings about anything you install/do could break your phone but if you're going to give that warning it needs to be true. Anyways ending my rant lol...
I know their has to be a way to edit a kernel or file to add more options since the kernel creators can't do the job themselves, it's just finding out what and where these files are. Can anyone inform me on this and give me details on how this whole system of controlling clock speed works so it can be modded?
herqulees said:
I know their has to be a way to edit a kernel or file to add more options since the kernel creators can't do the job themselves, it's just finding out what and where these files are. Can anyone inform me on this and give me details on how this whole system of controlling clock speed works so it can be modded?
Click to expand...
Click to collapse
Uh, AFAIK, isn't these frequency decided only when the kernel is COMPILED (from source code)? I don't exactly know...
Sent from Google Nexus 4 @ AOSPA 3+ 3.99
tribute to xda.
tuning parameters for cpufreq_interactive & core_ctl & hmp_sched & some more
for MIUI and LOS, RR, AOKP, MoKee, Bliss (all zwliew's forks).
v.4
- conception is changed (again)
sometimes 1 big + 2 little is not enough. so now i offer you 1 big + 3 little or 2 big + 2 little at your choice.
all these combination is very individual and i want you will make your own good config.
now it's much simpler to customize - all configs are in separate patches.
just download zip, unpack it, correct config, pack it back. that's all.
if you will find better configuration, please, give your advices here in this thread.
i recommend you to use good monitoring and profiling tool from Qualcomm https://play.google.com/store/apps/details?id=com.quicinc.trepn
for custom rom (!!!zwliew's sources based) users:
you can apply cpu_tuning* patches direct on your native kernel, you dont need to change kernel, it will work (may be even better, who knows).
or you can apply patch with new LOS kernel from fedosis with very light undervolting, new low frequences and some more improvements.
(all kernels are zwliew's sources based, compatible)
so,
1. install "lineage-13.0-20170202-UNOFFICIAL-land-kernel.zip" (kernel only)
2. install "cpu_tuning-4-1x3-cm13.zip" (config only)
if you skip 1st step, it will repack your present boot (only "init.qcom.power.rc" will be replaced) and will work with your old kernel, but without low freqs, etc. you can test this case also.
!!!backup your "boot" partition.
for MIUI users:
there are patches with similar settings for you.
just install "cpu_tuning-4-1x3-miui.zip". only "/system/etc/init.qcom.post_boot.sh" will be replaced.
!!!backup "/system/etc/init.qcom.post_boot.sh"
(there are also patch with original MIUI "/system/etc/init.qcom.post_boot.sh", if something will go wrong)
https://drive.google.com/drive/folders/0B1G5yP4fi63mbEpzNHREVVB6a00
and later i will add something about thermal config, there are also some points to change
v.3
- conception is changed:
now 1 big + 2 little cpus are permanent online (offline-to-online is not cheap).
permanent also means, they are always the same: cpu0 (big master), cpu4 (little master), cpu5 (little master's friend). all others are lazy, they stay offline most times and go online and work only if these three are very busy. "core_ctl" was patched to implement this logic.
- (not for MIUI) low frequences was added. 768 and especially 960 are too high for low load.
- (not for MIUI) light cpus boost on screen touch was implemented.
v.2
now 8 cpus sleep more (in active mode) and wake faster.
LITTLE cluster for little tasks (at least 1 active), big cluster for big tasks (mostly sleeps).
awaiting of your impressions and results about working time and performance before and after.
we will tune it
one more thing:
i think xda is for advanced users. it's all experimental.
and better do nothing if you dont understand what are you doing.
will this work in mokee rom??
Subhampaul12 said:
will this work in mokee rom??
Click to expand...
Click to collapse
may be late. these are most popular.
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
may be. i dont know. thats why i want you to test it. but you need more time to make right compare results.
RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
CPU load is bigger because the task focused only on one core and sleep another core so that they may use upto 100% of one core rather than dividing it to another core (MAYBE, IT'S JUST HYPOTHESE)
I don't even know how it works ?
Will try, thanks for your work.
Thanks for this mod. I'll try, I hope this mod will update reguraly.
Sent from my Redmi 3X using Tapatalk
Could you please make a version for Bliss rom too ? Thnaks!
My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk
Crissdua said:
My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk
Click to expand...
Click to collapse
Same
Wysłane z mojego Redmi 3S przy użyciu Tapatalka
miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).
it often stucks only on one core enabled which cause lags. RR ROM
difr said:
miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).
Click to expand...
Click to collapse
yes, mine feels lag too, but only at the start after long sleep. it's fine after some minutes/hours regular use
Got a great battery life improvement after using this mod. Arround 8,5 hours SOT (remaining at 8%) full 4G data with heavy browsing & some gaming use
Waiting for more feedback, thanks for making this mod!
first post updated. please, take a look.
Bliss added.
difr said:
Bliss added.
Click to expand...
Click to collapse
Thanks! I'll update this post after trying it out.
with rr antutu score is 40k, when use your latest mod, my antutu score decrease to 36k.
Can you mod it for only 1 small core online? i want only battery life. Or just guide me how to do it