[PRJ] apps2sd discussion

Thanks for those getting it working on the tablets with internal SD cards =)

And thanks for those who helped me =) I'm a big fan of hacking devices to do things that they weren't intended to do =)

~Ivy
 
Just a couple of addendums for this install.

I have been running the apps2sd for a few weeks now and it really unleashes the potential of this machine in my opinion. I don't even think twice now about installing stuff. I just install it and test it and I am less likely to delete anything. I really have not noticed any performance degregation, and I wonder if this relates to the quality of the sdcard that you use. I used a sandisk 16Gb card and these are rather expensive, but maybe worth the price for performance and reliability. Remember if you sdcard fails, then you will lose all your apps. It might pay to occasionally do a backup of the apps, data and dalvik-cache directory using adb.

I did not reset my device or clear the cache before I installed apps2sd. I did have a couple of widgets that complained, which was fixed by deleting them and reapplying them. I did get a couple of force close errors initially popping up for yahoo messenger and for google reader. I reinstalled these apps and the messages have not come back. The first time I ran skyfire, it took a long time to run, but no errors and it works fine since.

Any other experience anyone else want to report ?
 
Quick question... I have a Telstra tab and i have no internal sdcard, just the external one... try to mount with vold179:1 and 2 as well as vold179:17 and 18. Neither work. i even tried //vold and /vold. every thing i try to mount with does not work. Is there a way to scan for unmounted partitions to find where they are ? Just comes up... "Mount: no such file or directory" and yes, i have created /system/sd

Card was partitioned and formatted using gparted under Ubuntu 10.04. Mounts ok under Ubuntu. Have just also checked under Ubuntu that it is defiantly formatted to ext2 and that there is no accidental partition seperating them.
 
I have not tried to do this yet on my S7...with the new news about the March 2.2 release, I think im just gonna wait it out. Its right around the corner.

But this has been huge and thanks to those involved in getting it working, great job !
 
Quick question... I have a Telstra tab and i have no internal sdcard, just the external one... try to mount with vold179:1 and 2 as well as vold179:17 and 18. Neither work. i even tried //vold and /vold. every thing i try to mount with does not work. Is there a way to scan for unmounted partitions to find where they are ? Just comes up... .

Are you sure you did this command

# mkdir /system/sd

then check that there is actually an sd directory under system.

The mount command you want is...

mount -t ext2 /dev/block/vold/179:2 /system/sd
 
I dropped my S7....the battery came out, the sdcard popped out and when I turned it on....it stopped booting !!!!!!!! Android core process was force closing......

I took out the sdcard....and looked at it on my PC....all ok...machine booted but without all my apps.

Anyway, redid it all and restored everything with Titanium Backup.

Just curious though....this might be more stable if we do not do the /data and /dalvik-cache, although it will use a did of data for every application. Thoughts ?
 
Hey folks!! Is someone going to put together a nice write up on the process and make it the first post so it is easy to reference? I love apps2sd and am running it on my Archos 101, but would really like to get it on my S7. Thanks!!!
 
If I get a chance over the weekend I will type up something.

Sent from my sdk using Android Tablet Forum App
 
Applications to sd for 2.1 using Windows on the US Tablet (internal storage and SD card slot) ONLY FOLLOW THESE INSTRUCTIONS IF YOU WANT THE APPS ON THE INTERNAL CARD AND WILL HAVE A SD CARD ALWAY INSERTED AT BOOTUP.

What you need to start:
-Download and install on your PC - Easeus All-In-One Partition Manager Software - Home Addition FREE! @ Download Free Partition Manager Software - Partition Manager, Disk & Partition Copy, Partition Recovery Software.
-Download and install on your PC - Driod Explorer 0.8.7.2 Beta @ de - Release: Droid Explorer 0.8.7.2 Beta
-Make sure your PC has all the Huawei USB Drivers installed. If you plug your tablet in to your PC and it trys to install the drivers, you don't have them yet. If not on your PC go to the Huawei website - IDEOS S7 - Huawei Device Co., Ltd.. click on the download tab and download the huawei s7_usbdriver. Once the zip file downloads, open the zip file and extract the folder for the type of system you are running and place it on your computer. Then when windows asks you if you have disc to install the drivers say no and browse to the folder you extracted from the zip file. You will have to do this twice (two different drivers)
-Make sure your tablet is rooted, if not check this thread for how to do that - http://www.androidtablets.net/forum...ot-ideos-s7-full-tutorial-post-root-tips.html
-Makesure you have Busybox installed on your tablet, if not download and install it from the market.
-Download the zip file at the bottom, extract the two sh files that are included and place then on the SDCard (the internal one) of your tablet in the root (not in any folders) drive.

Step 1: Partition your internal SD card.

-With your tablet connected to the PC click on the "i" in the upper right corner and under notifications tap on USB connect [Internal SD Card]Select to copy files to/from once you do this you will get a box pop up and you will want to click on Mount.
-No open up the Partition Manager you downloaded on your PC.
-This will show all the drives you have hooked up to your computer. Your computers hard driver will be Disc 1. If you have only one hard drive and no other drives connected to your computer Disc 2 will be your tablet. This should show as a FAT32 with about 7.53 GB on size. Click on this drive to highligh and then on the toolbar click on Resize/Move.
-In the window that pops up you will then change the Patition Size by subtracting the amount of space you want to have on the card for apps. If you are just starting and are not sure the easiest thing to do would be to change the first number from a 7 to a 6. This will give you almost 1 GB for apps (almost 6x what you have now). This will change you Unallocated Space After to the amount you lowered. It has been recommened that you do not change this to over 2 GB or 2000 MB. Once ready hit OK.
-Now on the toolbar click Apply and click on the options to start this.
-Once done you now have on your tablet a second partition that is Unallocated, click on this and on the toolbar click Create.
-In this menu you will want to change the Create As: to Primary and the File System: to Unformatted. Click OK
-On the toolbar click on Apply and click on the options to start this.
-You now have a second partition on your internal storage card. Close down the PC program and unplug your tablet from the computer and reboot your tablet.

STEP 2 - Make the new partition a ext2 file system

-Once your tablet reboots connect it back to the PC with the USB cable. You do not need to mount any of the drives this time.
-Open up the DriodExploer program on your PC. (If it does not find your device then you do not have the USB drivers installed correctly, you will need to do this first).
-On the toolbar the thrid item from the far right will be the console, click on this to open it up.
-At the $ sign type

su

and hit enter (if this this your first time doing this your tablet may be asking for superuser permission, check your tablet and it is asking allow permission). Once you have permission you will see a # sign instead of a $ sign.
-Now enter the following command, you can either type this, or highlight it and copy and paste it in to the console.

busybox mke2fs /dev/block/vold/179:18

Step 3 - Mounting the card, and moving data to the card

In the console still enter all these commands in order, when you get the next # sign you can do the next command. Again you can copy and paste each command if you wish.

mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system

mkdir /system/sd

mount -t ext2 /dev/block/vold/179:18 /system/sd

cd /data/

busybox tar -cvf /system/sd/app.tar app

busybox tar -cvf /system/sd/data.tar data

busybox tar -cvf /system/sd/dalvik-cache.tar dalvik-cache

cd /system/sd

busybox tar -xvf app.tar

busybox tar -xvf data.tar

busybox tar -xvf dalvik-cache.tar

rm *.tar

Step 4 - Scripts & Cleanup

-Now we are going to copy the two files that we up on the sdcard to the system folders where they need to be. Still in the console at the # sign enter (or copy and paste) the following two commands.

cp /sdcard/install-recovery.sh /system/etc

cp /sdcard/init-sd.sh /system/etc

-To make sure these files are in the correct location enter these two commands, if there are no errors these files are in the correct spot.

chmod 755 /system/etc/install-recovery.sh

chmod 755 /system/etc/init-sd.sh

-Next to clean up all the data we moved enter (or copy and paste) the following commands in to the console.

cd /data/app

busybox rm -rf *

cd /data/data/

busybox rm -rf *

cd /data/dalvik-cache

busybox rm -rf *

-You may notice some things happening on your screen, don't worry. Just type this last command in to the console.

reboot

-Now your tablet will reboot. You can disconnect it from the PC and if all went well you now have all your applications on the sdcard.


All credit for this goes to Ivyvisors and Pvella for developing the scrips to do this and also Shanksv for figuring out the correct location of the storage space on the tablets with both an internal and external SD card. This is great work by all of them!
 

Attachments

  • $su files.ZIP
    528 bytes · Views: 403
Last edited:
OK, I just did a clean post of the steps I used on a Windows machine for a internal and external SD card. If this is stepping on anyones toes I am sorry and would be happy to remove it. Just thought it may help someone who was not sure of all the steps.

Now for my experience - After about a couple hours of really push the device I started getting some errors and it really started slowing down. I went ahead and did a fresh reload of 001C60B011. I lost the apps on the SD card when I did the fresh reload (reflashed) . I only downloaded titanium removed the bloat that I did not want. I then formated the ext2 partition and redid the steps (other then making the card a ext2 format) to move the apps to SD and now it is working GREAT. I used titanium to restore my apps and even copied a couple back-ups from my DroidX (now that I have enough space). I am no longer seeing any lag in opening any programs, everything is working great.

I know I saw a post earlier that started they were having issues as well. I just wonder if having too many apps or something else cause me a problem the first time, but this time it is great.

Just wanted to share.
 
Applications to sd for 2.1 using Windows on the US Tablet (internal storage and SD card slot) ONLY FOLLOW THESE INSTRUCTIONS IF YOU WANT THE APPS ON THE INTERNAL CARD AND WILL HAVE A SD CARD ALWAY INSERTED AT BOOTUP.

Just out of curiosity, if you are doing the apps2sd for app storage on the internal/built-in SD card, why would you also need to have a sd card always inserted in the external/removable sd drive?
 
Just out of curiosity, if you are doing the apps2sd for app storage on the internal/built-in SD card, why would you also need to have a sd card always inserted in the external/removable sd drive?

Because of the way the system mounts the cards. If the external card is present it mounts it one way and if not it mounts it deifferently. Since the mount points are different the system will not recognize the new partition.
 
Firstly thanks kevmuller, for documenting this. That should be placed as a sticky somewhere. The only correction is that the mount point is different for models without the internal sdcard.

The reason you need the card always in, is because the s7 dynamically creates it devices, the mount points change without the card in. You apps would still be there but the S7 won't find them.

Sent from my sdk using Android Tablet Forum App
 
@kevmueller -
I have been following this thread for days, Thinking "Ain't no way I can do this without screwing it up!" Your post is very close to an idiot's guide to get apps 2SD working for me. I have printed your post out, and I'm thinking I can do this now. It is very concise and all the tools are in one place. I was missing 2 pieces which you gave me thru this post. I have confidence now to give it a shot! Will post when I get the time to tackle this. Let you know how this "idiot" made out!

To pvella and ivy- a huge thank you for working together (and anyone else who contributed) so non techies like me might be able to make this phone/tablet better. YOU guys rock!! You were like a dog with a bone- you didn't let it go! Thank you- Thankyou- thank you!!!!
 
Back
Top