Monday, May 9, 2016

[BETA 1] ParrotMod - Improve the 2013 Nexus 7 touchscreen! (And RAM, too.)

What is ParrotMod?
==================

This is a mod to greatly improve the touchscreen and multitasking performance of the 2013 Nexus 7, on ANY rooted ROM.

(Got a 2012 Nexus 7? Use this version: http://ift.tt/1UNXIlh)

Download: http://ift.tt/21Q5k7I

GitHub: http://ift.tt/1UNXJWk
Feel free to fork/pull request! But always credit me if you make something based on it and ask me for permission first.

Performance Video: XXXXXXXX I NEED TO MAKE ONE!

IMPORTANT NOTE
--------------

It is normal for the touchscreen to not work for about 1 second after waking up the tablet. There is nothing I can do about it.

To properly calibrate the touchscreen after you plug in or unplug a charger, you need to turn off the screen for 2 seconds and turn it on again. I am going to fix this.

ParrotMod needs 8MB of free space on the system partition. Don't use huge gapps packages.
ParrotMod requires a recovery that has BusyBox built in. (All versions of TWRP do. CWM does not.)

PLEASE disable IO scheduler tweaks in kernel apps. They override ParrotMod's meticulously optimized settings.

REQUIRES LATEST SUPERSU INSTALLED FIRST http://ift.tt/20V79n7
EVEN IF YOUR ROM HAS BUILT IN ROOT LIKE CYANOGENMOD, TURN IT OFF IN SETTINGS, THEN FLASH SUPERSU!!

Features:
=========

EXCLUSIVE: TOUCHSCREEN CALIBRATION FIX! You have to see it to believe it. (Note: pinch zoom is still a bit jittery when you hold still.)
Noticeably better flash memory/filesystem speed, especially on ext4.
EXCLUSIVE: Fix for speaker buzzing noise when nothing is playing and screen is touched.
Slightly improved battery life
Fully compatible with all F2FS partitions
Will enable 512 MB of zram if the kernel supports it (stock does not)
More apps open at once (low memory killer tweak, zram optimized)
LCD color fix during videos (no Qualcomm CABL)
Survives ROM updates with addon.d
Tethering without carrier checks on LTE Nexus 7
Speed up full disk encryption
ART_USE_HSPACE_COMPACT enabled for better RAM usage garbage collection

Upgrade notes
-------------

It is safe to flash new ParrotMod versions without wiping data.
IF YOU UPGRADE MAJOR ANDROID VERSIONS YOU MUST WIPE SYSTEM, FLASH THE WHOLE ROM, AND REINSTALL PARROTMOD.
UPGRADING ROM BUILDS WORKS FINE! In ROMs with addon.d support, it will even keep ParrotMod installed.

Known Bugs
----------

The first 1/4 second of touch/keyboard/notification sounds is missing. This is going to take a bit of work
F2FS optimizations are missing, mostly because I don't want to wipe data to test them. Performance should still be fine though.
The optimizations to the ART runtime do not work when Xposed is installed, and you will see reduced performance!

Credit
------

Busybox from BSZAospLp ROM LMY49H for 2012 Nexus 7
libart from Nexus 9 stock ROMs

Thanks
------

Thanks to @nereis for showing me a zram tweak in the Nexus 7 2012 thread.

How ParrotMod Works
-------------------

The touchscreen is fixed by enabling a mode that is normally only used when HDMI is plugged in, that is more resistant to electrical interference.
The audio noise problem is fixed by disabling the audio hardware immediately (50 ms) after it is not used, versus 3 seconds by default. This does not seem to affect latency.
I counteract the slow flash storage speed, by decreasing unnecessary reads and writes, and also optimizing how well processes share the bandwidth.
To optimize RAM, it also changes minfree values, replaces libart with an optimized version that reduces RAM usage, and enables zram if the kernel supports it (but in a less CPU intensive compression mode).
The code on GitHub is extremely well commented.


from xda-developers http://ift.tt/21Q5k7L
via IFTTT

No comments:

Post a Comment