apps2sd

Discuss the Scrolls Android OS here.

apps2sd

Postby Mitre » April 24th, 2011, 10:14 pm

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
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: apps2sd

Postby nemka » April 25th, 2011, 10:14 pm

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
Last edited by nemka on April 29th, 2011, 9:24 am, edited 2 times in total.
nemka
Junior Scroller
Junior Scroller
 
Posts: 23
Joined: January 21st, 2011, 3:12 pm
Location: Hungary
Scroll Version: Model: S1008
Kernel: 2.6.29
OS: Android 2.3.7 (CyanogenMod 7.1)

Re: apps2sd

Postby Mitre » April 26th, 2011, 6:06 pm

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.
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: apps2sd

Postby Mitre » April 28th, 2011, 3:06 pm

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
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: apps2sd

Postby insx » April 28th, 2011, 3:11 pm

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 7". Firmware: 1.02 Baseband: 1.02 Kernel: 2.6.29 Android Version:2.1
insx
Donator
Donator
 
Posts: 161
Joined: March 11th, 2011, 9:54 am

Re: apps2sd

Postby Mitre » April 28th, 2011, 3:17 pm

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:
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: apps2sd

Postby bloggs » April 28th, 2011, 4:07 pm

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
Scroll Options 51624 Firmware: 1.02s Kernel: 2.6.29 Android Version: Sometimes 2.3.4 CM7 Sometimes 2.1 !
bloggs
Scroll Sergeant
Scroll Sergeant
 
Posts: 55
Joined: April 25th, 2011, 10:51 am

Re: apps2sd

Postby nemka » April 28th, 2011, 7:29 pm

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.
nemka
Junior Scroller
Junior Scroller
 
Posts: 23
Joined: January 21st, 2011, 3:12 pm
Location: Hungary
Scroll Version: Model: S1008
Kernel: 2.6.29
OS: Android 2.3.7 (CyanogenMod 7.1)

Re: apps2sd

Postby nemka » April 28th, 2011, 7:41 pm

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.
nemka
Junior Scroller
Junior Scroller
 
Posts: 23
Joined: January 21st, 2011, 3:12 pm
Location: Hungary
Scroll Version: Model: S1008
Kernel: 2.6.29
OS: Android 2.3.7 (CyanogenMod 7.1)

Re: apps2sd

Postby nemka » April 28th, 2011, 8:06 pm

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.
nemka
Junior Scroller
Junior Scroller
 
Posts: 23
Joined: January 21st, 2011, 3:12 pm
Location: Hungary
Scroll Version: Model: S1008
Kernel: 2.6.29
OS: Android 2.3.7 (CyanogenMod 7.1)

Next

Return to The Scrolls Operating System

Who is online

Users browsing this forum: No registered users and 0 guests

cron