Unofficial CM12 for Android One, Disabling Encryption on Nexus 6 – XDA TV

Android One devices have received an Unofficial CyanogenMod … more

Pushbullet Universal Copy/Paste Availabe for Linux, Mac OS X

Pushbullet is one of those useful utilities that once installed, permanently … more

Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Deleted

[MOD]{CM10.1}{CM10.2}{CM11}{AOSP}Working Int2Ext for Xperia 2011 [ART-compatible]

OP nos1609

Prev Previous Post   Next Post Next
26th March 2014, 07:48 AM   |  #1  
nos1609's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 93
 
102 posts
Join Date:Joined: Feb 2009
More
After days of looking for a solution to the problem of every 2011 device I've finally managed to do it!

Many of you wanna enable ART functionnality in 4.4.2 because the device start "flying" with such a pill. So I've managed to modify the Int2Ext v2 script to run it lagless and conserving initial performance.

Prerequesites:
1. You have to make an EXT partition (I've got an EXT4 1 GB partition)
2. Flash the script BEFORE the first boot (like any other package such as gapps).
3. (Optionnal) Reboot once, and enable ART in developement menu.
4. Enjoy!

What it does exactly?
1. Increase the readahead cache for your sd to 4096 kb
2. Transfers /data/app & /data/app-private to the ext partition of the SD
3. Everything that a CronMod-INT2EXT script does

Screenshots



All credits goes to the creator of the original script. Ive simply deleted a line inside


You're welcome for testing.

Small FAQ & corrected verision to avoid signal loss:
Quote:
Originally Posted by nos1609

1. Tested in couple with Vanir/Carbon - unstable under ART, Dalvik recommanded
Tested on PAC working like a charm on both ART & Dalvik

2. To avoid reboots / FCs try flashing ART compatible gapps

3. About the "internal memory waste" Guys, please check the description of what the script is doing and what folders are moved onto EXT-partition. If everything would so simle as that, even ART mode couldn't overcome the laggynes and the lack of performance after moving everything to sdcard. The script is moving ONLY APKs to the EXT-partition. Dalvik, libs etc remains on the 470 Mb NAND to conserve initial performance. But enen that amount of free space is not enough to run ART experience at it full potential. because of very large dalvik-cache size.

4. EXT partition. Just google, XDA contains tons of manuals and tools to create one. If you'd like to simply try ART 512 MB one will be enough, you'll reach the internal NAND limitation. If you want using it in normal mode you can make the partition as large as you like.

5. Concerning the loss of signal, I think there are some lack of time for the device itself to get the new location of the files, so try this new package.

Quote:
Originally Posted by vipinpvarghese

Those who have issue with signal loss after flash this script there is a way out... Just install Link2sd after flashing the script... Open Link2sd, give super user permissions and Link2sd will automatically create scripts and ask you to reboot.... thats is..... you should be able to get signals after reboot.... You can even uninstall Link2Sd after rebooting....

For me it is working in Mike's latest build, PA final build and Pac man latest build....

Last edited by nos1609; 29th August 2014 at 08:49 AM.
The Following 13 Users Say Thank You to nos1609 For This Useful Post: [ View ]
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes