Post Reply Subscribe to Thread Email Thread

Prompt TWEAK | STABLE | Reincarnation Engine v.4 | The Most Minimal Script | 30/03/2014

30th March 2014, 01:48 PM   |  #1  
Rhievaldo's Avatar
OP Recognized Contributor
Flag Gresik
Thanks Meter: 1,874
 
800 posts
Join Date:Joined: Jun 2013
More
WELCOME

please smile for a while before read this thread



In here you will get answer of your expectations

Stability , Less lags, Great battery life, No placebo tweak = Balance performance of your ANDROID

99,9999999999999999999 % FOR ALL ANDROID DEVICES



-------------------------------------------------------------------------------------------------------------------


Thread navigation
1. Basic information
2. Requirement, How this engine work, Changelog, Download ( read carefully )
3. Feedback


Code:
#include 
/*
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 */


Some references

mxt224_ts_input.idc ( usr/idc ) is touchscreen module, and different device different name of module

mot.proximity.delay=25 ( Build.prop ) tweak for motorola devices, if you included on samsung devices, it useless and also may make your samsung Unstable

About I/O Scheduler, Different kernel different features

Code:
echo "2" > $i/queue/iosched/lp_read_quantum;   
echo "2" > $i/queue/iosched/lp_swrite_quantum;   
echo "5" > $i/queue/iosched/read_idle;   
echo "15" > $i/queue/iosched/read_idle_freq;
About minfree
Code:
FOREGROUND_APP
This is the process running the current foreground app.  We'd really
rather not kill it! Value set in system/rootdir/init.rc on startup.

VISIBLE_APP
This is a process only hosting activities that are visible to the
user, so we'd prefer they don't disappear. Value set in
system/rootdir/init.rc on startup.

SECONDARY_SERVER
This is a process holding a secondary server -- killing it will not
have much of an impact as far as the user is concerned. Value set in
system/rootdir/init.rc on startup.

HIDDEN_APP
This is a process only hosting activities that are not visible,
so it can be killed without any disruption. Value set in
system/rootdir/init.rc on startup.

CONTENT_PROVIDER
This is a process with a content provider that does not have any clients
attached to it.  If it did have any clients, its adjustment would be the
one for the highest-priority of those processes.

EMPTY_APP
This is a process without anything currently running in it.  Definitely
the first to go! Value set in system/rootdir/init.rc on startup.
This value is initalized in the constructor, careful when refering to
this static variable externally.
About VM tweak
Code:
dirty_background_ratio
Contains, as a percentage of total system memory, the number of pages at which
the pdflush background writeback daemon will start writing out dirty data.

dirty_ratio
Contains, as a percentage of total system memory, the number of pages at which
a process which is generating disk writes will itself start writing out dirty
data.

dirty_expire_centisecs
This tunable is used to define when dirty data is old enough to be eligible
for writeout by the pdflush daemons.  It is expressed in 100'ths of a second.
Data which has been dirty in-memory for longer than this interval will be
written out next time a pdflush daemon wakes up.

dirty_writeback_centisecs
The pdflush writeback daemons will periodically wake up and write `old' data
out to disk.  This tunable expresses the interval between those wakeups, in
100'ths of a second.
Setting this to zero disables periodic writeback altogether.

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
watermark[WMARK_MIN] value for each lowmem zone in the system.
Each lowmem zone gets a number of reserved free pages based
proportionally on its size.
Some minimal amount of memory is needed to satisfy PF_MEMALLOC
allocations; if you set this to lower than 1024KB, your system will
become subtly broken, and prone to deadlock under high loads.
Setting this too high will OOM your machine instantly.

Main goal of this engine
> Only use most important tweak
Some limit from Google or manufacturer must have a reason.

> Will make the Real Universal Script = No placebo tweak.

> Will balancing your Android performance

> Low Memory Killer Script can affected on all ROM, dont worry if you run on CM9, CM10, CM11, AOKP, Low Memory Killer values really adjusted on Android 4.x above even on CyanogenMod, AOKP and other


Scripts include in this engine
> New script on RAM management,
> Read and Write speed tweak
> Dalvik Virtual Memory tweak
> Clean up Junk files every boot
> I/O tweak ( no scheduler tweaked )
> Network tweak
> Zipalign tweak
> SQ lite database optimized


Tested on
> Samsung Galaxy Ace = Stock 2.3.6, CM7, CM9.0, CM9.1, CM9.2, AOKP ICS, CM10.1, CM10.2, AOKP JB, CM11.
> Samsung Galaxy Ace-i = Stock 2.3.6, CM7
> Samsung Galaxy Gio = Stock 2.3.6, CM7, CM9.0, CM9.1, CM9.2, CM10.1, CM10.2, CM11.
> Samsung Galaxy Young = Stock 2.3.6, CM7
> Samsung Galaxy Tab 2.7 = 4.4.2
> Sony Xperia M = Stock 4.1.2, CM11
> Hi Sense Chinese phone (AndroMax) = Stock 4.0.4, Stock 4.1.2
> Huawei Ascend = Stock 4.1.2
> Alcatel Idol Mini 6012X = Stock 4.2.2
> Samsung Galaxy pocket = CM7
> Motorola Defy = CM11
> Xperia SP = 4.1.2




Credits and Big thanks
ImbaWind
slaid480
zeppelinrox
Juwe11
pikachu01
darky
ivcha90


Code:
#NOTE :
/*
 *
 * for ROM developers,
 * you can include this script to your ROM
 * but PM me first before you publish your ROM,
 * add direct link to this thread in your ROM thread
 *
 *
 * for all people,
 * dont mirror download link,
 * add direct link to this thread if you want share in other forums,
 *
 */

XDA:Thread Information
TWEAK | STABLE | Reincarnation Engine v.4 | The Most Minimal Script | 30/03/2014, a Tweak for all android devices


Version Information
Status: Stable
Current Stable Version: v.4
Stable Release Date: 2014-03-30

Last Updated 2014-03-30
Last edited by Rhievaldo; 30th March 2014 at 01:54 PM.
The Following 9 Users Say Thank You to Rhievaldo For This Useful Post: [ View ]
30th March 2014, 01:50 PM   |  #2  
Rhievaldo's Avatar
OP Recognized Contributor
Flag Gresik
Thanks Meter: 1,874
 
800 posts
Join Date:Joined: Jun 2013
More
Cool Requirement, How this engine work, Changelog, Download
Requirement
> All android devices with 2.3 - 4.4.2 OS version
> Rooted
> ROM with init.d support
ROM with custom kernel or CyanogenMod already support init.d but
if you run on stock kernel or stock rom, just download and install this from Playstore
Busybox https://play.google.com/store/apps/d...ricson.busybox
Universal init.d https://play.google.com/store/apps/d...iversal.init.d
> Clean ROM / No Tweaks included


How this engine work
> Reincarnation Engine will try to clean your ROM, mean will delete other tweak.. but still i guess to clean your ROM manually.
> Build.prop tweak delete same line which will tweaked.. But your original build.prop will backuped to folder sdcard/Reincarnation_Engine


Changelog
Code:
26/02/2014 v1
> First public release on XDA
> file included in init.d, 99reincarnation_engine and zipalign

05/03/2014 v2
> Added magic_buildprop.sh, 
this script will tweaked your build.prop 
and delete the same line automatically
also will make clean your rom, delete old tweak which will conflicted, 
but may not perfectly so i guess you to manually clean your ROM
> Some Read and Write values changed to 2048
> Added and changed Dalvik VM Tweak values
> File zipalign renamed to 99darky_zipalign
> Added smoothnes tweak
> Flashable zip to tweak CyanogenMod from Build.prop added

11/03/2014 v3 RC1
> First Release Candidate for Daily use
> Added forgot tweak for JB 4.1 and 4.3
> Added sqlite database optimized script
> Change some VM Values

30/03/2014 v4 Stable
> Stable version for Daily use
> Fixe lag for gaming
> Reduces lag when opening apps
> Some values changed again
> Fix wifi tether problem on some devices
> Build.prop tweak on different package, separated from Engine
and build.prop tweak will backup your old build.prop to
sd card/Reincarnation_Engine folder

How to install (recommended flash via CWM, i dont test with other Recovery)
> Backup anything before flash. Cause by flashing this script, some tweak on your ROM which conflicted with this script will be deleted..
> Reboot to recovery
> Install zip
> Done, Reboot

To check this scripts correctly installed, manually you can check with 3rd apps ex:root explorer

or you can check via Terminal Emulator
Code:
cat /sys/module/lowmemorykiller/parameters/minfree
values will show 3584,4096,6144,16896,18944,24320



Download server changed to mediafire, i'll counter all download.

> Build.prop Tweak CM

> Build.prop Tweak Stock

> Reincarnation Engine v.4 GB 2.3 CM7

> Reincarnation Engine v.4 ICS 4.0 CM9

> Reincarnation Engine v.4 JB 4.1 CM10

> Reincarnation Engine v.4 JB 4.2 CM10.1

> Reincarnation Engine v.4 JB 4.3 CM10.2

> Reincarnation Engine v.4 KK 4.4 CM11

> Uninstaller

note : Download build.prop tweak depend to your ROM...
The Following 11 Users Say Thank You to Rhievaldo For This Useful Post: [ View ]
30th March 2014, 01:52 PM   |  #3  
Rhievaldo's Avatar
OP Recognized Contributor
Flag Gresik
Thanks Meter: 1,874
 
800 posts
Join Date:Joined: Jun 2013
More
Cool Some feedback
Quote:
Originally Posted by ivcha90

I tested this script while ago, and this is like rifki says its minimalist script which include most important tweaks, and i think this is good compromise for performance and stability, score in antutu is good, lag in real usage is zero, multitasking is good, i tested with opened instagram, facebook, whatsapp and opera in same time and i can easyly swipe bettween apps, ram usage is low, i get from 80-110 free ram at all time, so for the end, thanks rifki for this amazing script and thanks for everyyhing bro

Quote:
Originally Posted by teuf3l

i have two cooper devices with mardons cm11 installed. have installed this script on one device and
have compared them in usage. then i gave both phones to my daughter to compare.
she has no experience about androids, scripts and so on. she said that one of the phones runs much
better than the other, which was my oppinion too. now both devices enjoying your good work.

Quote:
Originally Posted by phantomhell

script works perfectly :beer:

Sent from my GT-S5300 using xda app-developers app

Quote:
Originally Posted by MixoMaxoViper

@Rhievaldo
I tested this on my Xperia SP C5303 with android 4.1.2,and it works perfect!
Before:579 mb ram
After:693 mb ram
Games works perfectly and benchmark score is 25976
Thank You!


below from indonesian forums and i translate it

Quote:
Originally Posted by Firkhanz Farkz'z

Out Of Topic
After use Reincarnation Engine, battery life is good

The Following 2 Users Say Thank You to Rhievaldo For This Useful Post: [ View ]
30th March 2014, 01:55 PM   |  #4  
Rhievaldo's Avatar
OP Recognized Contributor
Flag Gresik
Thanks Meter: 1,874
 
800 posts
Join Date:Joined: Jun 2013
More
Reserved
Reserved
31st March 2014, 03:15 AM   |  #5  
Senior Member
Flag bangalore
Thanks Meter: 63
 
276 posts
Join Date:Joined: Nov 2013
More
So can we try on 4.3?

Sent from my C1905 using XDA Premium 4 mobile app
31st March 2014, 05:22 AM   |  #6  
Rhievaldo's Avatar
OP Recognized Contributor
Flag Gresik
Thanks Meter: 1,874
 
800 posts
Join Date:Joined: Jun 2013
More
Quote:
Originally Posted by giridhargp

So can we try on 4.3?

Sent from my C1905 using XDA Premium 4 mobile app

yes you can.. try and report...
31st March 2014, 05:47 AM   |  #7  
Senior Member
Flag bangalore
Thanks Meter: 63
 
276 posts
Join Date:Joined: Nov 2013
More
Installed,
Ram:
Before 470
After 560
Benchmark score
Before 11896
After 12180
Great. Thank you

Sent from my C1905 using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to giridhargp For This Useful Post: [ View ]
31st March 2014, 10:02 AM   |  #8  
8hodgsonkh's Avatar
Senior Member
Flag Carlisle
Thanks Meter: 70
 
187 posts
Join Date:Joined: Jan 2014
Bootloop :/
The Following User Says Thank You to 8hodgsonkh For This Useful Post: [ View ]
31st March 2014, 10:47 AM   |  #9  
Senior Member
Flag bangalore
Thanks Meter: 63
 
276 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by 8hodgsonkh

Bootloop :/

what did you do?
31st March 2014, 11:07 AM   |  #10  
8hodgsonkh's Avatar
Senior Member
Flag Carlisle
Thanks Meter: 70
 
187 posts
Join Date:Joined: Jan 2014
Quote:
Originally Posted by giridhargp

what did you do?

Installed universal init.d support app and flashed script through cwm, didnt get past boot logo. i had a nandroid backup though so its fine

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes