FORUMS
Remove All Ads from XDA

[APP] Apps2NAND - fast data access - choose what to move! [added support for Froyo]

187 posts
Thanks Meter: 22
 
By rickylcp, Senior Member on 16th August 2010, 01:30 PM
Post Reply Email Thread
I think this better to be posted to Galaxy S I9000 Android Development.
So I posted it once more at here:
http://forum.xda-developers.com/show...17#post7694817

Board Admin, please feel free to delete this.

Hi all,

I took so many from here. It's time for me to contribute little to the community.

The lag issue of Galaxy S bother many ppl.
I tried many different method.
Yes the lag issue was improved and Quadrant score is higher.
But there are always some weird things happen... like sudden lag/black screen.

After I upgraded to firmwre I9000ZSJH1, the lag issue is improved a lot!
But still, there are rooms for improvement.
So I wrote a cmd which will help to generate a .sh file, which will move apps data stored under /data/data/ to the internal NAND memory (/dbdata/data) for faster access.
The Galaxy S built in 1xxMB of fast access NAND memory. It is a waste if we don't utilize them.

However, it is impossible to move all apps' data to the tiny NAND memory.
So here is a tool for you to customize what app's data you want to move.
Recommand to move the core Android apps and the apps that you use frequently.
Like Dialer, Contacts, Dolphin Browser, Facebook, Astro File Explorer......

Steps :

1. open [1.app.list.xls] and edit colume A and B.
colume A should be the data folder name of the apps you want to move.
colume B is the name of the apps (optional)
2. after you've done, simply "copy & paste" everything onto a notepad and save it as [2.apps.list.txt]
3. fireup the [3.Apps2NAND.cmd]
4. within few sec, a file [App2NAND.sh] will be created.
5. use Gscript to load and run the App2NAND.sh file. (the script requires root access. so make sure you have it!)


For experienced user :
Step 1 actually is just for user to manage the apps more clearly.
A user with little cmd knowledge may know the script only requires [2.app.list.txt] to work with.
You can skip Step 1 and directly go to Step 2 to edit the file.
The format should be { app data folder name + <tab> + app name }


Remarks :
Apps that moved to NAND may not be restore with Titanium Backup.
App link will be broken by doing so.


(I also include Linpack and Quadrant to the app list to cheat higher benchmark scores . You may remove it if you don't want to.)
Attached Files
File Type: zip Apps2NAND.zip - [Click for QR Code] (9.2 KB, 139 views)
16th August 2010, 01:34 PM |#2  
OP Senior Member
Flag Hong Kong
Thanks Meter: 22
 
More
Apps2NAND - fast data access - choose what to move! [added support for Froyo]
update 18 Nov 10:

Found some friends here still want to use this "old school" lagfix
1st of all, thanks to your support.

When I wrote this script, it was still the golden age of Eclair (2.1). So the script is definitely not prepared for Froyo (2.2).

However, just by changing few lines can make this script survives on Froyo. So here I updated a script for Froyo (apps2nand.Froyo.zip).

I haven't tested it since I am very satisfied with the [Spike Speedy Edition v3.0 OC], which comes with more advanced lagfix options (sztupy).
(I wrote something that even myself don't use now.... So it's really suprised and appreciated~)

But this script still has it merit ~~~~~~~~~ simple!
(and battery friendly, just a feeling~ no actually statistic~)

If you are interested in antique and brave enough, try it on Froyo. And let me know if any issues. I will try my best to fix.

================================================== =

update 18 Aug 10:
Now included Installation and Uninstallation for this script.
Tried several times on my i9000 and it works.

Please read and follow the readme.txt inside the zip.

One tricky part for this script : it will failed when SU permission is not allowed in time during the script is running.
I have pause the script with 10 secs for you to allow the SU on i9000.
Make sure you allowed it.

If you failed to do so, no worry. it won't change anything.
Just simply re-run the script again.


================================================== =
Hi all,

I took so many from here. It's time for me to contribute little to the community.

The lag issue of Galaxy S bother many ppl.
I tried many different method.
Yes the lag issue was improved and Quadrant score is higher.
But there are always some weird things happen... like sudden lag/black screen.

After I upgraded to firmwre I9000ZSJH1, the lag issue is improved a lot!
But still, there are rooms for improvement.
So I wrote a cmd which will help to generate a .sh file, which will move apps data stored under /data/data/ to the internal NAND memory (/dbdata/data) for faster access.
The Galaxy S built in 1xxMB of fast access NAND memory. It is a waste if we don't utilize them.

However, it is impossible to move all apps' data to the tiny NAND memory.
So here is a tool for you to customize what app's data you want to move.
Recommand to move the core Android apps and the apps that you use frequently.
Like Dialer, Contacts, Dolphin Browser, Facebook, Astro File Explorer......



For experienced user :
Step 1 actually is just for user to manage the apps more clearly.
A user with little cmd knowledge may know the script only requires [2.app.list.txt] to work with.
You can skip Step 1 and directly go to Step 2 to edit the file.
The format should be { app data folder name + <tab> + app name }


Remarks :
*** Apps that moved to NAND may not be restore with Titanium Backup. App link will be broken by doing so.
*** Please make a nandroid backup before apply this!
*** I am not responsible for any damage caused by this script.

(I also include Linpack and Quadrant to the app list to cheat higher benchmark scores . You may remove it if you don't want to.)
Attached Files
File Type: zip apps2nand.zip - [Click for QR Code] (69.4 KB, 371 views)
File Type: zip apps2nand.Froyo.zip - [Click for QR Code] (69.4 KB, 144 views)
16th August 2010, 01:58 PM |#3  
Member
Thanks Meter: 11
 
More
Is NAND where devices like HTC Desire and Nexus One store their Apps?
16th August 2010, 04:47 PM |#4  
Member
Thanks Meter: 2
 
More
well this is almost what paul did some days after the phone got released...
16th August 2010, 05:47 PM |#5  
sturmeh's Avatar
Senior Member
Flag Sydney
Thanks Meter: 10
 
More
Quote:
Originally Posted by lyno

Is NAND where devices like HTC Desire and Nexus One store their Apps?

Yes, which is why they needed APPS2SD in Froyo.
16th August 2010, 10:54 PM |#6  
Member
Thanks Meter: 11
 
More
So....when are you posting the script?

If you want I'll create a program that spits out the .txt file rather than do it in excel, copy paste etc.
18th August 2010, 05:32 AM |#7  
OP Senior Member
Flag Hong Kong
Thanks Meter: 22
 
More
Quote:
Originally Posted by Jonas.M

well this is almost what paul did some days after the phone got released...

yes. that's what Paul did as I mentioned in my script.

But he simply push everything to NAND which oneday, you will find out of space.

Using my script, you can decide what to move, depending on the frequency of the apps usage.
18th August 2010, 05:34 AM |#8  
OP Senior Member
Flag Hong Kong
Thanks Meter: 22
 
More
Quote:
Originally Posted by lyno

So....when are you posting the script?

If you want I'll create a program that spits out the .txt file rather than do it in excel, copy paste etc.


the script is updated and posted.


the excel is just for user to maintain their app list easily.
my script only works with the txt file.
you may skip the excel part if you like.

and thanks for your offer, lyno.
18th August 2010, 05:39 AM |#9  
sturmeh's Avatar
Senior Member
Flag Sydney
Thanks Meter: 10
 
More
Is it possible to make a script that automatically moves smaller apps to the nand?

I mean it's not worth moving large games, but anything under 2MB should be considered.

Maybe use some intellegent calculation, if all the apps under XMB use less than 50% of free space on nand, increase X until it is efficiently used up.

Also there is HEAPS of space to be freed in NAND, delete stock ringtones, and other.
18th August 2010, 06:50 AM |#10  
Senior Member
Flag Toronto
Thanks Meter: 3
 
More
seems great
18th August 2010, 09:17 AM |#11  
Senior Member
Thanks Meter: 44
 
More
hmm, would moving to nand make those specific apps run faster than they would be if they were previously running under ext2/3/4 partitions provided for by the various lagfixes out there?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes