[LG Optimus 2x] owain94:
The most advance tweak pack for MIUI o2x out there!

Ok guys read this carefully! you need to hit the thanks button on higgsy his post! :D

_________________________________________

Current version:

V3.5

_________________________________________

This tweaks will:

Auto zipalign your apps on boot

Boost your apps like an ODEX ROM but now without the annoying ODEXing

Disable kernel logger

Save some battery juice

Let your device respond better on black screen after call

Scrolling will be smoother

Make your phone a bit faster

Raise jpg quality

Give a bit better overal screen quality

Disable debugging notify icon

Raise photo and video recording quality

Speed your network connection up a bit

Removes journalism

Flags blocks non-rotational

Better sd card reading speed

Defrags database files

Disable normalize sleeper

Juwes ram script thanks juwe!

Loopy smoothness thanks original maker!

Give you the almost best mounting options! (the best will **** up super user)

Android can force close programs from memory when it has not enough free RAM

Mount SDCards like /mnt/sdcard¹/_InternalSD²

Activate Gtalk video and audio calling

Sony BRAVIA engine

Sony XLOUD engine

Sony MegaBass engine <- almost working

Sony Xperia Play Game Launcher <- almost working

ODEX

Sony Timescape <- almost working

Will slow down your boot a bit (this is because all of the scripts it need to run sorry guys you can't have everything...)

¹ = External SD

² = Internal SD

_________________________________________

Explanation:

Init.d:

Init.d is a folder in /system/etc, this folder contain several files all the names begin with a number.

These files are all scripts basically they are all ".sh" or "shell" scripts the kernel will execute all these script in order from 1 to 99

These scripts contain most of the time tweaks, every time you will boot up your device the kernel will execute all these files

Build.prop:

Build.prop is kinda like a file that hold settings. You can add several setting in it and change them or delete them

Host file:

The Hosts file is like an address book. When you type an address like www.yahoo.com into your browser, the Hosts file is consulted to see if you have the IP address, or "telephone number," for that site. If you do, then your device will "call it" and the site will open. If not, your computer will ask your ISP's (internet service provider) computer for the phone number before it can "call" that site. Most of the time, you do not have addresses in your "address book," because you have not put any there. Therefore, most of the time your device asks for the IP address from your ISP to find sites.

If you put ad server names into your Hosts file with your own device IP address, your device will never be able to contact the ad server. It will try to, but it will be simply calling itself and get a "busy signal" of sorts. Your device will then give up calling the ad server and no ads will be loaded, nor will any tracking take place.

Vold.fstab:

Vold.fstab is the file that will mount your sdcard(s) you can define in there where you want to mount the sdcard.

Like LG does /sdcard/_ExternalSD <- weird LG table

Like the most on xda do /sdcard/_InternalSD <- our modified weird LG table

or like CM does /emmc and /sdcard <- stock android

Zipalign:

Zipalign is an archive alignment tool that provides important optimization to Android application (.apk (Android Package) 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.

Gtalk:

Gtalk is a sort of sms service but then over the internet you can add anyone with a google mail account

on stock the Audio and Video calling wasn't working caused by the NEON lack of the Tegra2

some guys over at Cyanogenmod forums fount an work around for it and fixed it so it is working like it should be

SD reading speed:

SDcard reading speed is in android by default 128kb (correct me if im wrong about this) this is very very and really very low!

so if we increase the cache for reading the SDcard it will be much faster up to 14 times!

every SDcard works better or worse with a different cache size i added 2048 (of i remember right) for the cache,

this is for the most SDcard out here the best size when it is not the right size don't worry it still will be much faster then it was with the default!

Tegra2:

The Tegra2 is a nice and really powerfull processor! it has 2 cores the only problem with it is...

the second core will only be activated when it is really needed so when you play a really nice game

but it would be better for us to just activate it by default and use it so the both cores can clocked lower overall

since we are lucky and we got officially MIUI and CM support this is already build in in the MIUI release

After call black screen:

When you end a call and remove the phone from your ear you will get a Black screen for a couple seconds.

this is very annoying this is caused by the proximity sensor it will check each x seconds is you got the phone still next to your ear.

The problem is between those 2 checks the screen will remain black!

I reduced the time between the checks so the black screen will be vanish much sooner.

This will cost a little bit more battery but it is worth it

if i made some mistake in the explanations of the above things please tell me so i can correct it

_________________________________________

How to install:

If you are new to MIUI or if you are coming from another ROM

Flash "back to ext 3" available here (mediafire) and here (multiupload) (this is optional but i recommend it!)

Download and install the MIUI you want i recommend MIUIandroid version or MIUI.us version

Reboot you device wait till it is fully booted

Reboot your device to recovery

Follow the instruction right underneath here

If you are already running MIUI OR if you are updating from an older version of my tweak pack OR if you have rebooted your device atleast once with MIUI on it

Download "Tweaks-v*-.*zip"¹ for you MIUI version right here (all versions (on mediafire)

Put "Tweaks-v*-.*zip"¹ in the root of your SDCard

Boot into recovery

Select "Install zip from sdcard"

Select "Choose zip from sdcard"

Select "Tweaks-v*-.*zip"¹

Select "Yes"

Wait for the installation to finish

Select "+++++Go Back+++++"

Select "Reboot system now"

Wait till it is fully booted

----OPTIONAL---

Reboot to recovery again

Install your favorite Kernel!

Yes the Reboots are needed!

NOTE!: sd normal version is sd mounting like lg does so /mnt/sdcard/_ExternalSD

¹ = Tweaks-v*-.*zip means "tweaks version² for MIUI build version³ please choose the corresponding tweak for your system!

² = Version of the tweak check changelog for detailed information

³ = Version of your MIUI system you can see this in Settings -> System -> About this phone -> Build number

_________________________________________

Sneak peak:

V4 will get:

Flag support like in Vorkkernel(already thank you so much benee and killjacken for the awesome idea and the awesome scripts!)

Even more tweaks!

for full changelog you will need to wait :D

_________________________________________

Changelog:

Date: 13.11.11 Time: 06:12:31 PM Zone: GMT+2 (CET)

Uploaded 1.11.11¹ version

Updated kernel to version 13112011 huge thanks to fajarep

¹ = MIUI system build number

_________________________________________

Date: 30.10.11 Time: 02:14:32 PM Zone: GMT+2 (CET)

Uploaded v3.5 for 1.10.28¹

¹ = MIUI system build number

_________________________________________

V3.5:

Huge thanks to fajarep for his awesome swiftextreme kernel it is now included!

Market fix so it will see all your installed apps again

Added the beautiful TouchWiz Wallpapers, Notification sounds, Alarms and Ringtones

Added DSPmanager, Geniewidget, News&Weather and SpareParts

Added LG keyboard en removed GB keyboard

Added roboto font (ICS font) for the people that still using default theme

Added preparations for Sony Timescape, xperia play game launcher and MegaBass (will work within a short time)

Lots of build.prop tweaks

The custom host file is back again for blocking adds

Added bootsound if you want to enable it open /system/build.prop scroll to the end and change bootsound=0 to bootsound=1

If you want another sound just place a mp3 in /system/media with the name "android_audio.mp3"

_________________________________________

Date: 30.10.11 Time: 02:47:37 AM Zone: GMT+2 (CET)

Uploaded v3.4 for 1.10.28¹

¹ = MIUI system build number

_________________________________________

V3.4:

ODEXing for system/app and /system/framework

Overall booting speed should be bit faster now

Fancy updater-script just because i like it =D

Permission fix included so sound settings doesn't FC anymore

_________________________________________

Date: 28.10.11 Time: 04:16:38 PM Zone: GMT+2 (CET)

Uploaded 1.10.28¹ version

¹ = MIUI system build number

_________________________________________

Date: ??.10.11 Time: ??:??:?? ?? Zone: GMT+2 (CET)

Uploaded 1.10.21 version

¹ = MIUI system build number

_________________________________________

Date: 14.10.11 Time: 04:14:19 PM Zone: GMT+2 (CET)

Uploaded 1.10.14¹ version

Deleted 1.9.23¹, 1.9.30¹ and 1.10.8¹ folders you should use .14 it is based on the new stable!

¹ = MIUI system build number

_________________________________________

Date: 13.10.11 Time: 03:23:19 PM Zone: GMT+2 (CET)

Uploaded v3.3 for 1.9.23¹, 1.9.30¹, 1.10.8¹

Deleted v3.2 files from folders to avoid confusion

¹ = MIUI system build number

_________________________________________

V3.3:

Call quality fix by Rusty! click hier to view post

Optimized build.prop a bit

Optimized couple of init.d scripts

_________________________________________

Date: 10.10.11 Time: 00:01:05 AM Zone: GMT+2 (CET)

Uploaded 1.10.8¹ version

Deleted 1.9.16¹ folder i will only support the 3 last MIUI versions!

¹ = MIUI system build number

_________________________________________

Date: 30.9.11 Time: 3:01:11 PM Zone: GMT+2 (CET)

Uploaded 1.9.30¹ version sdcard like MIUI wise and XDA wise

Deleted 1.9.9¹ folder i will only support the 3 last MIUI versions!

¹ = MIUI system build number

_________________________________________

Date: 25.9.11 Time: 3:34:41 PM Zone: GMT+2 (CET)

Uploaded an new version for people with no external SD for 1.9.23¹ 1.9.16¹ 1.9.9¹

Deleted 1.9.2 folder i will only support the 3 last MIUI versions!

¹ = MIUI system build number

_________________________________________

Date: 23.9.11 Time: 2:18:21 PM Zone: GMT+2 (CET)

Uploaded v3.2 for 1.9.23¹

¹ = MIUI system build number

_________________________________________

Date: 21.9.11 Time: 00:51:08 AM Zone: GMT+2 (CET)

Uploaded v3.2 for 1.9.9¹ and 1.9.2¹

¹ = MIUI system build number

_________________________________________

Date: 21.9.11 Time: 00:42:23 AM Zone: GMT+2 (CET)

Uploaded v3.2 for 1.9.16¹

¹ = MIUI system build number

_________________________________________

V3.2:

Updated RAM script

Updated build.prop

Added some extra tweaks

Optimized Loopy Smoothness so the execution of the script will be faster and it won't execute so much useless lines

Deleted first boot script wasn't working anyway

_________________________________________

Date: 20.9.11 Time: 5:38:57 PM Zone: GMT+2 (CET)

Uploaded v3.1 for 1.9.9¹ and 1.9.2¹

¹ = MIUI system build number

_________________________________________

Date: 20.9.11 Time: 5:20:28 PM Zone: GMT+2 (CET)

Uploaded v3.1 for 1.9.16¹ (1.9.9¹ and 1.9.2 are coming soon!)

¹ = MIUI system build number

_________________________________________

V3.1:

BAVIA engine¹

XLOUD²

Deleted all the hidden files mac os x did add to the zip

¹ = The engine made by Sony for a bit better screen quality and color enhancements

² = Also an engine by Sony for sound enhancements (please tell my if you can hear improvements i don't know if it works (bad ears :( ))

_________________________________________

Date: 16.9.11 Time: 2:46:43 AM Zone: GMT+2 (CET)

Deleted tweaks for 1.8.26¹, 1.8.19¹ and 1.8.12¹ (seems like no one need them)

Uploaded v3 for 1.9.2¹ and 1.9.9¹

¹ = MIUI system build number

_________________________________________

Date: 19.9.11 Time: 1:03:18 AM Zone: GMT+2 (CET)

Uploaded v3 for 1.9.16¹

¹ = MIUI system build number

_________________________________________

V3:

Etx4¹ coverter so u can use any kernel you want! thank you so much benee!

No need to reboot after the first boot!

No need to delete dalvik cache²!

Check "How to install" section for new instructions

Deleted patched host file³ since some people didn't liked it (you can get it with this app)

¹ = The ext4 or fourth extended filesystem is a journaling file system for Linux

² = Cache for the dalvik engine

³ = A file that block advertisements

_________________________________________

Date: 16.9.11 Time: 6:39:24 AM Zone: GMT+2 (CET)

Uploaded v2 for 1.9.2¹, 1.8.26¹, 1.8.19¹ and 1.8.12¹ (didn't test them so please report back to me if they don't work!)

¹ = MIUI system build number

_________________________________________

Date: 16.9.11 Time: 6:30:40 AM Zone: GMT+2 (CET)

Uploaded v2 for 1.9.9¹

¹ = MIUI system build number

_________________________________________

V2:

Included gtalk¹ fix

Fixed a typo²

¹ = Google talk

² = I did typ something wrong

_________________________________________

Date: 16.9.11 Time: 05:42:19 AM Zone: GMT+2 (CET)

Public release

¹ = MIUI system build number

_________________________________________

Disclaimer:

All mods have been tested by me. I don't take any

responsibility for anyones phones, cats or dogs

getting messed up - use at your own risk etc.

_________________________________________

Credits:

Fajarep

Trey Motes

MIUI china team

Higssy

Benee

Kiljacken

Juwe

Not necessarily in this order

_________________________________________

Thanks:

If you read this then thanks for reading the whole post!

if i made your day with this tweak pack, please make my day and click the thanks button!