Showing posts with label ROOT. Show all posts
Showing posts with label ROOT. Show all posts

Monday, September 9, 2013

[MOD][SCRIPTs][TWEAKs]Fly-On Mod™V4.0 Beta4/Feel The Smoothness on your SGY



Code:
/*
 * Your warranty is now void.
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * 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.
 */
Introduction :

Hy guys,Fly-On Mod is a Mod that combines many script,binary and other tweaks in one package which is aimed to improve Android system's Smoothness,reduce GUI lags and of course some useful battery life improvements and tweaks!

Features and Improvements :


- Full memory management.
-Linux kernel tweaks and improvements for better performance and battery life.
- Entropy generator engine used to reduce lags.
- Zipalign apps in "/system" and apps in "/data" every 48 hours which result in less RAM usage.
- Sqlite optimizations and faster database access.
- CPU governors tweaks and improvements for better performance and battery life.
- Increased SD Card read-ahead cache to 2048 KB .
- Ad blocking.
- Build.prop tweaks and improvements.
- Cleans log files and tombstones at every boot.
- Many other tweaks for better performance and battery life!



Download: 
Signed_Fly-On_Mod™_V4.0-Beta4.zip 

Requirements :

- Android 2.3.x (Gingerbread) or higher.
- Kernel with init.d support.
- Root and newest busyBox version.
-Custom recovery(like CWM or TWRP).
- At least 4MB of free space in "/system".


How to install :
Before Flashing please do a nandroid backup to avoid any incompatibility issues.
1. Download the Fly-On Mod main pack and sqlite pack according to your phone's Android version.
2. Rebooting into recovery mod.
3. Install Signed_Fly-On_Mod_V4.0-Alphax.zip and sqlite_xversion.
4. Reboot and feel the smoothness!


In the package :


+/system/etc/init.d/ scripts :
-ram_manager: It's a complete memory manager
-92cleaner: Cleans log files and tombstones at every boot.
-09sdcardspeedfix: Set SDCard readahead speed to 2048 KB.
-darky_zipalign: Zipalign apps in "/system" at every booting.
-zipaligndata: Zipalign apps in "/data" every 48 hours.
-98fly_engine: Contains various tweaks and improvements. (3G/VM/sysctl/kernel/battery life tweaks etc.)
-sqlite_optimize: Optimizing database of apps every 48 hours.
-93kill_media_server: Kills media server when unused to save battery .
-94Governor_tweaks: Tweaks for CPU governors,It's aimed on better performance and battery backup.

+/system/xbin/ :
-sqlite3
-zipalign
-Openvpn

+/system/etc/rngd/ :
-entro
-entropy
-rngd

+/system/lib/
-libncurses.so .




Frequently asked questions:

Q: Can I use Fly-On MOD™ with my device?
A:Fly-On works on all Android devices(Samsung Galaxy,Sony Xperia,HTC,Google,LG and all other OEMs) with Root,busyBox and init.d support.

Q: Should I patch my services.jar?
A:If you are using Fly-On's RAM config in top of Android 2.3 you'll not need to patch them,but since Android 4.0 OOM values are hardcoded into the services.jar so you'll need to patch them to have 100% RAM management.

Q: How to patch services.jar
A:you can either patch them using supercharger V6 script before installing Fly-On Mod or use magic patching tool by zeppelinrox(thanks to him),Visit his thread.

Q: I'm coming from an old version should I uninstall my version before installing new one?
A:No,Just new version over old one, the installation package will do everything.

Q: I feel very comfortable with my current old version,why should I update to never version?
A:Even If you feel very comfortable with your old version you should update to get latest improvements and bugfixes.

Q: What is EXT4 tweak?
A:It's a tweak that disables EXT4 journalism which increases I/O speed.

Q: Can I use EXT4 tweak?
A:In order to use this one you'll need your phone's file system to be on EXT4.

Q: Can I use INT2EXT+ with Fly-On Mod?
A:Yes It's totally compatible.

Q: Can I use Fly-On MOD™ with any other MOD that uses init.d scripts,binaries and Tweaks?
A:No,you can't as they will conflict ,so choose one of the them.

Q: And when I install a newer Fly-On version should I re-install my RAM Configs/EXT4 tweak?
A:No need.

Q: What is the best kernel to use with Fly-On?
A:No one is the best,Use any custom kernel with init.d support.

Q: What is entropy generator engine?
A:It an engine used to reduce lags by keeping a section of the Android file system (/dev/random) full of random bits so that the system does not have to wait for the file system to generate them.

Q: So for better performance/battery Entropy generator must be on or off?
A:No,It just off by default to let users have their own choices.

Q: Can I use Supercharger V6 with Fly-On Mod?
A:Yes,but If you are using Fly-On RAM manager delete It first.(Keep Fly-On main package installed).

Q: But If I have an older version what to do to uninstall Fly-On?
A:Update your version to V4.0 A6 first then Flash the uninstaller.

Q: Do I need to mount /system or /data before flashing?
A:No need to do that as the installation package does everything.

Q: There are many sqlite zips,which one should I pick?
A: Depending on your phone's Android version,like if you are running Android 4.0.x Ice Cream Sandwich flash sqlite_ICS.




About Entropy Generator :

+To monitor available entropy type in terminal :


Code:
su
entro
+To turn entropy on type in terminal:
Code:
su
entropy_on

+To turn entropy off type in terminal:


Code:
su
entropy_off
+To uninstall the Mod,type in terminal:

Code:
su
uninstaller

Note also:


- Don't use any Task Killer with this Mod!
- Don't use Fly-On Mod with any other tweaking script as they will conflict!
- If you want to use Fly-On Mod in your ROM or your Mod ask for permissions first and give me credits!
- If you have any question ask me in the thread instead of PMs or I will not reply!
- Read well the thread before posting any newbie questions and do not ask for an already answered question!


Some users feedback :

Quote:
Originally Posted by bennybaz View Post
Using Alpha6 - Best cure for my old SGS1 running 4.2.2. Thank you, works even better than SC V6
Quote:
Originally Posted by l0lh4rd View Post
The script is great!!!!!!!!!! Really feeling comfortable at 312MHz-156MHz/Smartass V2/noop, which under these settings without the scripts would make me miserable
Quote:
Originally Posted by ronnieryan View Post
Version 8 has awesome boot time, only 38 seconds for me
Quote:
Originally Posted by KnightlyNinja View Post
this version is awesome. ram usage is very low 150 mb only.Superb work haha
Quote:
Originally Posted by KnightlyNinja View Post
great. this is one of the best tweak available in xda. it improves smoothness , battery and performance. Almost does the work of a good kernel. Hoping to see more improvements in future.

great work sir.

Quote:
Originally Posted by sad25kag View Post
╔╦╦╦═╦╦╦╗╔╦╦╗
║║║║║║║║║║║║║
║║║║║║║║║╠╬╬╣
╚══╩═╩══╝╚╩╩╝
Working great and faster on MIUI rom.

░░░░░░░░░░░░▄▄
░░░░░░░░░░░█░░█
░░░░░░░░░░░█░░█
░░░░░░░░░░█░░░█
░░░░░░░░░█░░░░█
██████▄▄█░░░░░██████▄
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓█░░░░░░░░░░░░░░█
▓▓▓▓▓▓█░░░░░░░░░░░░███
▓▓▓▓▓▓@░░░░░█
▓▓▓▓▓▓█████░░░░░░░░██
█████▀░░░░▀▀███████

Sent from my GT-S5570 using Tapatalk 2
Quote:
Originally Posted by Chemical SidePearl View Post
@slaid480

Here is a talking sentence between me and my friend that is watching my phone flying with cm10.1....

Friend: Have you ever heard the definition of INSANITY ???

Me:Yup,it's the new Fly-ON mod by @slaid480.

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

Quote:
Originally Posted by pykfree View Post
I put this script in PAC 4.2.2 ROM.. working fine.. it give more performance on my phone.. thank's dude 
Quote:
Originally Posted by tcris45 View Post
Ty man for those awesome tweaks
Quote:
Originally Posted by golfgtiedition30 View Post
Instaled on rom stocklite v8...no problems its working well :thumbup:
Quote:
Originally Posted by nizar.nasani View Post
well i test it on the last cm10.1 by biel after new flashing today and still for now no problems and works perfect and thnx btw

The main goal of using scripts and tweaks:

Scripts and tweaks are used :
-Improve Performance and GUI Smoothness.
-Improve Battery Life.
-Tweak and Optimize the Android engine!



Useful Info About Tweaks:

-LMK:

The Low Memory Killer is a constant debate between more free RAM and more multitasking capabilities as free RAM (more than 60MB free) is actually wasted RAM.
The Low Memory Killer is actually a feature in the Android OS used to improve memory management.

This is an important feature due to the perennial problem of having low free memory causing lagginess and slowness in launching apps. When you have free memory lingering around the number of 40MB or less, the Android OS just lags like hell.

What this would mean is, you would want to tweak the LMK to not have the situation of it having less than 40MB (or even close to that).
The modern Linux machine in the Android ecosystem relies on a mechanism called Low Memory Killer (LMK) to consistently free up RAM. This is due to Android's internal mechanism of caching apps (and never fully exiting them) when you press the back button. This is to enable faster app switching and provide a seamless experience for apps usage model. Android also, by itself will also constantly look for often used apps to cache them for faster app opening. This will happen even before your system fully boots.

Now, when you mention LMK, the most obvious thoughts that come up are minfrees and Out Of Memory (OOM) groupings. Yes, those two are integral parts when it comes to LMK. The issue here is that no one actually mentioned that there are two LMK systems in Android, that being:
- Linux LMK
- Android Dalvik VM LMK


-Journaling/Barriers:
-This has been a touchy subject here in XDA for most people who debate about it. Most recently,Some Scripts included a way to disable journalism on these partitions:

/system (System is read only, it's safe to remove journalism. However, you will not see speed increase by removing it as you're not writing onto /system 99.99% of the time unless you're using Titanium backup to remove system apps or copying init.d scripts to it)
/cache (Cache can be rebuilt on the fly. Data corruption on it is not game breaking)
/data (All of your data on your phone is here. Removing journalism can risk data corruption. Read more below)

On whether we need journalism or not, I will pose this situation:

Journalism is required to maintain data consistency in events that could lead to data corruption. Data could get corrupted in a number of situations:
- Misbehaving app that constantly writes without syncing/committing data to the disk
- Power loss due to forced reboots or bootloops when data is partially written/committed into disk


-Memory leaks:

If you found out that your Android is laggy after sometime and a reboot will make it faster, then you're experiencing memory leaks. "free" is a command to show your currently free memory. It will not necessarily be the same value as your phone's free memory.

-Busybox:

Busybox is required to perform all of your superuser activities in your android phone. There are some problems associated with this when ROM developers decide to use a certain version of Busybox that are incompatible with the binaries that we use in our phones.

-MinFree:
Minfree is part of the Kernel used to multitasking and It differs from a Phone to another because of the RAM available in users space.

-Network Tweaks:

There are some Tweaks that are used to increase the speed of your Network browsing,downloading and uploading

-Build.Prop Tweaks:
Those Tweaks can generally be found in Build.prop /system and they are used to optimize overall system speed and battery

-SD Card Speed Fix:
This is a Tweaks that Has the goal of increasing the read-ahead speed of your SD Card,and that by improving your SD R/W speed.

-Smoothness Tweaks:
Well with the Linux Kernel there is a possibility to add some Tweaks to optimize the GUI Smoothness.

-Entropy generator engine:
This engine can reduce lag by keeping a section of the Android file system (/dev/random) full of random bits so that the system does not have to wait for the file system to generate them. 

-Zipalign:

Zipalign is a tweak used to optimize Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
Credits::

Well,what I can say is that I shared those useful Info after some research and my experience with Linux/Unix,and those some of My main Target that I use to find some of the useful info:

-XDA Forums
-Goolge


Credits:


-Thanks to Darky for the base zipalign script.
-Special thank to pikachu01, zacharias.maladroit,collin_ph and juwe11!
-Big thank to zeppelinrox,Exit_Only and Ryuinferno !
-Big thanks to BSDgeek_Jake for the great hosts file.
-voku1987 and mcbyte_it.
-My Friend Maroc-OS For the big Help!
-Big thank to nolinuxnoparty for designing Fly-On logo!
-Any XDA Member That helped Me out in This Project!
-Google!

Friday, September 6, 2013

★ [MOD] ◢ PurePerformances™X ◣ | Golden Edition | Scary performances on Android


everything you've always wanted from a performance engine, but you never dared to ask

Here I am back with another mod of the Pure™Series.
After improving the system sound quality and graphics, it is time to improve Android. But be careful! This is not the usual performance engine which adds only script in the / init.d folder,
This time will be improved the android system at 360°! Basically this engine is a collection of concepts of all performance engine of the forum, that none of us will ever be able to install because many would conflict.
My testers were stunned by the power of this engine, but why not try it yourself? Are you ready to receive scary performances, to blow up the AnTuTu score counter?

Well, talk about serious stuff




◢ Features ◣

- Android performances improved at 360°
- Radically improved management ram on android (Lags...adios!)
- Script lightweight and revised to be adapted to this engine
- Improves a lot the graphics: of course Pure Graphic™HD, Pure Dithering Plus™ and... AOSPA 3.60 system tweaks
- Scan multimedia time drastically reduced
- Network Improvements, 3G experience even in 2G modality
- All SQlite database optimized
- Enable hardware features turned off by default for a better experience on entry level devices
- Greatly increases the score AnTuTu: Try it to believe it!!
- Reduces the startup time of Android
- A version for stock rom and one for CM, to squeeze any roms!
- Allows you to play ported games without lags
- Cleans the system every 24 hours, thecache every week and the Dalvik every month (cronos easter egg)
- Automatically Zipalign on each boot (sensitive to the user)


Battery

- Drastically decreased the drainage of battery
- Check the activities that consume too much battery stop them with PureWakelocks™
- When the phone is charging reduces system services for faster charging
- The battery is calibrated on every boot
- Disable animation of the system when the battery is nearly exhausted
- Improvements in build.prop as regards the part of consumption


Graphics, Screen, Images

- Enables a non-aggressive dithering to save CPU
- When you lock the device, the engine makes sure that the GPU is turned off
- Enables deep sleepalso in the bugged rom
- Parts of bravia engine
- Of course parts of CrossBreeder (credits to dev)
- Of course parts of Adrenaline Engine (credits to dev)
- Of course PureGraphics HD, even though I already told you 
- Of course V6 supercharger
- Generates video entropy (like seeder)


CPU, Governors, I/O Schedulers

- Slightly improves the scaling of the frequencies (for better results you need a good kernel)
- Lightens the load on the CPU switching the workload to GPU rendering
- Enable the swap partition in Android (experimental)

I've said too much, man. Install this engine and discover its power! :P



◢ Compatibility ◣

This engine works on any devices with any rom, but there is a version for CM's rom and one for stock based firmwares. So, CMx.x, Lewa Os, MIUI, etc.
Install the stock version only on your stock firmware of your phone....
if your device don't have gingerbread or ICS officially, install the CM version (This also applies to the AOSP)




◢ Positive feedbacks ◣

Quote:
Originally Posted by joe21o View Post
My phone more smoother and responsive now thx a lot
Quote:
Originally Posted by L.E.D 26 View Post
4782 on my entry-level device... woahhhh DABOOMB!! Of course tested and was awesome.
Quote:
Originally Posted by riotaruna View Post
Wow thanks dev....
Its works, after use this mod my phone feel flying.
More smooth, more response and more power...
Quote:
Originally Posted by gatgat23 View Post
Yep, UI is much smoother now. Bye, lag! 
Benchmark increased by 200.
I think overall, this will be a really good tweak. 
Thanks, Jeeko!

◢ To devs ◣
No matter if you want include my work in your rom etc. insert only the proper credits 


What You Need
◢ Android Gingerbread 2.3.x
◢ A Usable Brain
◢ A Pair of Sharp Eyes
◢ Clockworkmod (4/5 doesn't matter)
◢ Flashable zip Installing Experience
◢ Kernel that supports init.d
◢ Ext4 system format if you want to use the remount script

Installation
1.Delete all others ram scripts you have installed in "/system/etc/init.d"
2. Copy 'PurePerformances™X_Stock.1.4.zip' to your phone SD card
*For those who are using Cyanogenmod, download CM version
3. Reboot your phone to recovery mode
4. Mount /system and /data
5. Flash PurePerformances™X_Stock.1.4.zip
6. Reboot your phone when finished installation
7. Done

Downloads

Stock Version: http://www.mediafire.com/download/q0..._Stock.1.4.zip

Uninstallerhttp://forum.xda-developers.com/show...6&postcount=62


Source: http://forum.xda-developers.com/showthread.php?t=2360670





Friday, August 23, 2013

[TOOL]Reset custom bin counter



I've found the way to reset SGY's custom bin counter.

The process is simple and it's maybe applicable on some similar Galaxy models, and it's advantage, that no USB JIG required.
If you have other model than GT-S536x then contact me first before run this script on your phone!

the method in short: the enclosed script works on bml15, writes zero into offset 786436 which is the bin counter, 02 into base+4 (which means Samsung Official bin) and flushes 0xFFs into the next 32 bytes, what is MD5 signature of the stock zImage flashed.

USE IT ON YOUR OWN RISK ONLY, I WON'T TAKE ANY RESPONSIBILITY ON ANY DAMAGE DONE TO YOUR DEVICE!!!

INSTRCUTION:
- download the resetbin.zip from my google drive or from hotfile (MerrukTechnology kernel users download 'resetbin_merruk.zip'!)
- reboot your phone into recovery
- if your kernel not supports built in CWM, then start temporary CWM Recovery (just in case you can find one in my g-drive)
- browse the resetbin*.zip, and apply
- reboot!


Check your custom binary counter by starting the phone in Download mode.
One real benefit of this process: the phone will display Samsung stock binary, even if you're on custom kernel... ;)


Source: http://forum.xda-developers.com/showthread.php?t=1634129

Related Posts Plugin for WordPress, Blogger...