Page 1 of 2

apps2sd

PostPosted: April 24th, 2011, 10:14 pm
by Mitre
hi all
noticing there were a few threads touching on this subject thought id open a new one to consolidated ideas
any hackers like to have a go at this i'm up for testing

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

http://www.chinadigitalcomm.com/zenithi ... t1770.html

Re: apps2sd

PostPosted: April 25th, 2011, 10:14 pm
by nemka
Here are the steps for app2nand

For experts only!

This steps do:
- formatting nand to ext2
- creating app2nand directory structure
- copying apps to nand
- installing init scripts
- changing /init.rc (reflashing boot image with modified init.rc)

After installing app2nand do not mount Internal to USB, do not mount, umount os formta Nand memory from System menu. When you need copy files to or from Nand, use SD card as temporary place.

Based on firmware v1.02.
Do not use with other firmware, including 1.02s!


Use at your own risk!


My english is not perfect.
If you don't understand me, do not execute this steps.


Get latest su and busybox. (Titanium Backup can help this.)

Download this zip file (this is not an update.zip!): http://rapidshare.com/files/459657244/app2nand.zip
Copy 3 unzipped files to root directory of SD card.

Connect power adapter to tablet.
Create a full backup (Titanium Backup)

Kill all user apps (with 'kill' command in terminal). (You may need repeat before commands that using '/data/app'.)
Enter this commands in adb terminal:

Code: Select all
mkdir /sdcard/nandbackup
cp -a /nand/* /sdcard/nandbackup
umount /nand
busybox mkfs.ext2 /dev/block/ndda1
mount -t ext2 /dev/block/ndda1 /nand
cp -a /sdcard/nandbackup* /nand/
mkdir /nand/app2sd
mkdir /nand/app2sd/dalvik-cache
mkdir /nand/app2sd/app
cp -a /data/app/* /nand/app2sd/app
cp /sdcard/user-init.sh /system/etc
cp /sdcard/user-boot.sh /system/etc
chown root.root /system/etc/user-init.sh
chown root.root /system/etc/user-boot.sh
chmod 755 /system/etc/user-init.sh
chmod 755 /system/etc/user-boot.sh
flash_image boot /sdcard/boot.img
rm /data/dalvik-cache/*
rm /data/app/*
reboot


Fingers crossed before reboot. ;)

If tablet not boot, you can install original firmware from Recovery and reformat Nand from System menu. After format you can backup nand content with 'cp -a /sdcard/nandbackup* /nand/' command from a terminal.


You can use two init scripts to running commands when tablet booting (do not remove commands required by app2nand).
user-init.sh runs first (at end of 'on init' section of init.rc), user-boot.sh runs later (at end of 'on boot' section on init.rc).


Bugfixes

- Sometimes user-boot.sh runs before user-init.sh ended and there is no mounted nand to binding directories.
Workaround: Mounting nand removed from user-init.sh. New init.rc contains command for mounting nand.

- Some application can't handle Internal memory because of some system properties are not configured correctly.
Workaround: New user-boot.sh contains some setprop commands for this system properties.


Installing bugfix

Download the zip file linked above.
Extract 3 files to root directory of SD card.
Follow this steps:

Code: Select all
cp /sdcard/user-init.sh /system/etc
cp /sdcard/user-boot.sh /system/etc
chown root.root /system/etc/user-init.sh
chown root.root /system/etc/user-boot.sh
chmod 755 /system/etc/user-init.sh
chmod 755 /system/etc/user-boot.sh
flash_image boot /sdcard/boot.img
reboot

Re: apps2sd

PostPosted: April 26th, 2011, 6:06 pm
by Mitre
nice post but that is a bit above my head havn't had much practice with cmnd line
your English is much better than my Hungarian.

Re: apps2sd

PostPosted: April 28th, 2011, 3:06 pm
by Mitre
Thanks to nemka for the post
cant believe no ones interested in this mod the memory on the scroll sucks as lots of users have posted about.and this would fix it
i use apps2sd on my pulse mini with no noticable effects on speed just wish i had more nowledge to get this mod
The best thing about iphone was the amount of apps you can put on

Re: apps2sd

PostPosted: April 28th, 2011, 3:11 pm
by insx
The memory on my phone sucks. I have to try and fit loads of apps into about 300MB or something. 2GB on the Scroll is LOADS or room for apps! To my mind, nand is for apps, SD is for data.

Re: apps2sd

PostPosted: April 28th, 2011, 3:17 pm
by Mitre
you havn't got 2gb on the scroll its much less than that
EDIT: Re: Can Apps be installed on to the internal memory?

Postby Detection ยป January 12th, 2011, 12:09 pm
There is 1.35GB free on the internal memory, but they only give us 150Mb for apps ? WTF is the rest of it for then ? :cry:

Re: apps2sd

PostPosted: April 28th, 2011, 4:07 pm
by bloggs
Download this zip file (this is not an update.zip!):
https://docs.google.com/leaf?id=0BzcWrw ... y=CP3-5fQB
Copy 3 unzipped files to root directory of SD card.


File not found when I click on that link.

Eddie

Re: apps2sd

PostPosted: April 28th, 2011, 7:29 pm
by nemka
bloggs wrote:
Download this zip file (this is not an update.zip!):
https://docs.google.com/leaf?id=0BzcWrw ... y=CP3-5fQB
Copy 3 unzipped files to root directory of SD card.


File not found when I click on that link.

Eddie


This is a Google fault.
Link works me in Opera only. Not in MSIE and Chrome.

I will upload the file to an other site soon.

Bugfix:
Sometimes user-boot.sh runs before user-init.sh ended and there is no mounted nand to binding directories.
Workaround: Mounting nand removed from user-init.sh. New init.rc contains command for mounting nand.

Re: apps2sd

PostPosted: April 28th, 2011, 7:41 pm
by nemka
The new link for app2nand.zip: http://rapidshare.com/files/459657244/app2nand.zip

Bugfix:
Some application can't handle Internal memory because of some system properties are not configured correctly.
Workaround: New user-boot.sh contains some setprop commands for this system properties.

Re: apps2sd

PostPosted: April 28th, 2011, 8:06 pm
by nemka
insx wrote:The memory on my phone sucks. I have to try and fit loads of apps into about 300MB or something. 2GB on the Scroll is LOADS or room for apps! To my mind, nand is for apps, SD is for data.


Scroll have a 2GB NAND flash chip. This is partitioned to multiple sections as boot image, recovery image, cache, system storage, data storage and Internal storage. Data storage is 300MB for apps and internal data of apps. Internal memory (nand) is for user data (documents, e-books, images, videos, sounds) like SD card in cell phones. In Scroll the External memory (SD card) is an additional memory only, using optional.

But everybody use SD card. It's clear.

If you install app2nand you will have more than 1GB for apps (and dalvik-cache) in Internal memory (nand). All of userdata section (300MB) will used for internal data (settings, database etc) of apps. As you like! :)
Some applications (e.g. Titanium Backup, Aldiko), use Internal memory (nand) as external storage space. This reduce space for apps.