[Q] Darktremor apps2sd problem - Samsung Galaxy Mini

I followed the instructions on this site and did a 2GB partition. I downloaded the a2sd app from the Android Market and moved the Dalvik cache to SD-EXT. It seems to be working because on the A2SDGUI app, it is showing "Apps are on SD!" and "Dalvik Cache on SD-EXT".
I seem to be able to download a lot of small apps from the Android Market without any problem. However, when it comes to larger apps such as Angry Birds and Pocket Legends, this is the error I'm receiving: There is insufficient space on the device.
I have a Samsung 8GB Class 6 micro-SD Card with almost 2GB free space left. Here is a Screenshot of the System Info on the A2SDGUI app. I'm supposed to be having a 2GB partition but it is not being recognized for some reason. But I do not know if that is normal.
I'm using Squadzone's latest CM7 RC5 with all the 3 updates.

That's because your /cache partition stays the same - ~25MB.
1) You can use this script: http://dl.dropbox.com/u/45530921/30mountcache.txt
(Put it in /system/etc/init.d/ and set persmissions, allow execute - do backup... just in case!)
2) Or you can use Amarullz or Ungaze scripts.

TheWhisp said:
1) You can use this script: http://dl.dropbox.com/u/45530921/30mountcache.txt
(Put it in /system/etc/init.d/ and set persmissions, allow execute - do backup... just in case!)
Click to expand...
Click to collapse
So, if I use the script you provided, I will not have to disable Darktremor's a2sd and reflash the rom?
If yes, I will have to:
1) Download the "30mountcache.txt" to sd card.
2) Move to /system/etc/init.d
3) Rename it to just "30mountcache".
4) Set permission for Owner/Group/Others to execute.
5) Reboot.
I'm not very good at this.

30mountcache will not disable your a2sd. Put it there, rename, permissions and done

It's working. Thanks.

Related

[APP] Darktremor A2SD version 2.7 Update 3r1 (06-26-2010)

Darktremor A2SD version 2.7 Update 3r1 (2010-06-26)
18 Roms install with Darktremor A2SD across 6 different Android phones.
Note: 2.7 update 3r1 fixes an issue where dalvik-cache was automatically loading to the SD card on boot. This may have been causing issues with some of the roms out there (especially Blue Echo 2.1.4). Thanks to Papa Smurf151 and Flipzmode for bringing this to my attention.
2.7 update 3r1 also has a2sd functions moved to launcha2sd...this program runs under bash instead of sh. This will help with roms that have issues where the open bracket on an IF statement is treated as a command rather than a condition ( [: not found )
Features for 2.7 update 3:
2.7 update 3 is all about dalvik-cache.
I noticed that some rom developers have been putting their dalvik-cache onto the /cache partition. This partition is a large (usually as large as the /data partition) that is mostly unused (I'm sure it is needed for installs, etc). I've taken that idea and applied it to Darktremor A2SD.
If you are running a rom that has uses the cache partition to store dalvik-cache, this update will not force it to move back to the internal storage.
It introduces new algorithms to detect dalvik-cache on cache partition. It also adds two new options:
a2sd cachepart - Moves the dalvik-cache to the cache partition
a2sd cachesd - Moves the dalvik-cache to the SD card (same as a2sd cache...eventually, a2sd cache will be deprecated).
If you experience boot loops when you move the dalvik-cache to the cache partition, go into adb shell while the phone is boot looping and run the following commands:
a2sd nocache (if you want to put your dalvik-cache on your internal storage) or a2sd cachesd (if you want to put your dalvik-cache on your SD card)
a2sd resetcache (this clears the dalvik-cache and reboots)
Click to expand...
Click to collapse
If you are using Modaco's ROM, Darktremor A2SD isn't guaranteed to work with this rom. I'm investigating as to why, but keep in mind that if the phone goes into a bootloop, restore your phone via Nandroid. If you are submitting a problem to me when using Modaco ROM, include a logcat when the phone first boots. This will help me try to identify the issue and possibly release a workaround update.
Click to expand...
Click to collapse
Do a nandroid backup first of your working ROM. This is in case you find a bug (or run into an issue) and have to reload your phone.
Click to expand...
Click to collapse
If you are visiting the Hero CDMA forums and you use another Android-based phone, I encourage you to try the Darktremor A2SD on your phone. I would like to expand this program beyond the Hero CDMA if possible.
Look in the credits below to see the Roms that have been tested.
Here's the program:
2.7 Update 3r1 - http://www.darktremor.info/files/a2sd/a2sd-2.7-update3r1-signed.zip
Requirement: An ext2, ext3, or ext4 partition on your SD Card and a custom Rom that supports Apps2SD or A2SD
A2SD will not work on stock HTC Rom as stock roms do not have any method of launching A2SD in the boot image (unless they have been modified to work with A2SD). Try one of the many custom roms available if you want to use A2SD.
What is this?
A2SD (also known as Apps2SD) is a script that runs when you phone boots. Many of the ROM developers include the script in one form or another. Originally based on Cyanogen's Apps2SD, this script will allow a user to free up more storage space on their phone.
How does it do it? It uses an ext2, ext3 or ext4 partition (if one exists) to move all your free and purchased apps (not core apps) to the ext2/ext/ext4 partition on your SD card. It also tricks Android into thinking it is storing your programs in the internal storage space by linking the install directories (/data/app and /data/app-private) to similar directories on the sd card.
Current roms that have Darktremor A2SD built in:
Note: Be careful when choosing a rom. Flash a rom not designed for your phone and you may brick it.
I'm not responsible for bricked phones due to wrong rom flashed. Flash at your own risk.
Fresh Rom 2.1.2 (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=681856
FreshToast 2.1 (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=683746
Sprint 2.1 Stock ROM (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=703267
ZenEXP 0.9.6.2 (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=666967
Buufed 1.7.2 (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=689142
Blue Echo 2.1.5 (CDMA Hero) - http://forum.xda-developers.com/showthread.php?t=699975
HoneyBun v.3 (CDMA Hero) - http://forum.androidcentral.com/htc-hero-roms-hacks/14674-honeybun-v1-based-off-official-ruu.html
Click to expand...
Click to collapse
ZenExp Eris Expresso Rev 7 (HTC Eris) - http://forum.xda-developers.com/showthread.php?t=688687
Fresh Rom 2.1.1 for Eris (HTC Eris) - http://forum.xda-developers.com/showthread.php?t=674170
Buufed 1.7.2 for Eris (HTC Eris) - http://forum.xda-developers.com/showthread.php?t=690902
Eris Lightning 3.02 (HTC Eris) - http://forum.xda-developers.com/showthread.php?t=675957
Evil Eris 2.0.1 (HTC Eris) - http://forum.xda-developers.com/showthread.php?t=650302
Click to expand...
Click to collapse
Fresh Evo 0.3 (HTC Evo) - http://forum.xda-developers.com/showthread.php?t=700448
Supersonic 2.0 (HTC Evo) - http://forum.xda-developers.com/showthread.php?t=698594
Click to expand...
Click to collapse
Daguu Espresso Rom v1.2 (GSM Hero) - http://forum.xda-developers.com/showthread.php?t=693069
Click to expand...
Click to collapse
Kang-o-rama 0.9 Froyo ROM (Nexus One) - http://forum.xda-developers.com/showthread.php?p=6973422
Click to expand...
Click to collapse
Pulse Oscillation Rom R7B (T-Mobile Pulse) - http://android.modaco.com/content/t...daco-com/309811/pulse-2-1-oscillation-rom-r7/
FLB-Mod (T-Mobile Pulse) - http://android.modaco.com/content/t...sed-vanilla-ish-rom-with-tweaks/#entry1303318
Note: T-Mobile Pulse is made by Huawei, which puts this as the first phone outside the HTC phones that Darktremor A2SD works on. There's hope for the Samsung Moment yet.
Click to expand...
Click to collapse
I'm may have left some off this list. If your rom isn't on this list, send me a PM with the name and location (thread) so I know how to properly catalog it.
Click to expand...
Click to collapse
To find out all the features you can do with Darktremor A2SD, type /system/bin/a2sd help in the phone's terminal shell (or adb shell).
HOW TO INSTALL:
Since you are flashing this version to your phone, do a nandroid backup of your phone before starting these instructions. Also, it is preferred you use RA 1.6.2 Recovery or Godspeed Recovery (there may be issues with earlier recovery versions...I am checking this out).
1. Download the program above.
2. Determine if you have setup your SD Card with an ext partition
If you have setup your SD card already (existing users of A2SD...any version):
a. Copy the program to your SD card. One way of doing that is to use ADB by typing this command:
adb push a2sd-2.7-3r1-signed.zip /sdcard/a2sd-2.7-3r1-signed.zip
b. Reboot into recovery
Click to expand...
Click to collapse
If you have not setup your SD card (for those new to A2SD):
a. BACKUP YOUR SD CARD TO YOUR COMPUTER. Can't stress this enough, as partitioning will wipe the entire card.
b. Reboot into recovery
c. In Android System Recovery, select Partition sdcard
d. In the Partition sdcard menu, select Partition SD
e. Follow the instructions on the phone to partition your SD card. You can optionally set a swap file while you are partitioning your SD card.
f. In the Partition sdcard menu, select SD:ext2 to ext3. Follow the instructions on the screen.
g. Only perform this step if you want ext4 and your ROM supports it: In the partition sdcard menu, select SD:ext3 to ext4. Follow the instructions on the sdcard.
h. Press the back button on the phone to go back to the main menu.
i. Put the A2SD file on the SD card (and all your other files you backed up earlier) by selecting USB-MS toggle and transfer the files to your computer.
Click to expand...
Click to collapse
3. In recovery, select Flash zip from sdcard.
4. In Flash zip from sdcard, select the a2sd package file you downloaded earlier. Press HOME to flash.
5. Reboot phone.
Click to expand...
Click to collapse
NOTE: Due to an issue with the Sprint Hero source code, ext4 partitions may only work intermittently. You may not want to use an ext4 partition unless the ROM you are using is certified to have a working ext4 partition. If you have issues with ext4, repartition your SD card for ext3.
Click to expand...
Click to collapse
If you apply this program and your market suddenly stops working, perform the following steps:
1. Remount your internal storage to read-write by typing adb remount
2. Go into your phone's terminal by typing adb shell
3. Type /system/bin/a2sd fixmarket. This will relocate the market to /system/app and allows you to choose it in the All Programs screen. You will need to drag it back onto your desktop if you want it there.
Click to expand...
Click to collapse
NOTE: If you apply Darktremor A2SD 2.7 and still notice internal storage is decreasing, this is due to the dalvik-cache not being moved. By default, Darktremor A2SD will not move the dalvik-cache on boot.
If you want to move the dalvik-cache to the sd card, type:
a2sd cache (old command to move dalvik to SD card - will be phased out soon)
a2sd cachesd (new command to move dalvik to SD card)
a2sd cachepart (command to move dalvik to cache partition)
Make sure your SD card is at least a Class 4 before doing this, otherwise you may run into performance issues, unless you move the dalvik to the cache partition.
You still have other caches (i.e. browser caches) and other data being stored and updated in Internal Storage, so the number of free space will continue to drop, but at a slower rate (unless you are engage in heavy web surfing, tweeting or facebook socializing.)
Click to expand...
Click to collapse
What does this program do:
1. Moves applications to the sd card
2. Moves dalvik-cache to the sd card (a2sd cachesd) or to the cache partition (a2sd cachepart...when the rom supports it). Not active on boot by default.
3. Activates swap partition if one exists (a2sd swap to activate, a2sd noswap to deactivate)
4. Allows the user to deactivate a2sd without removing the ext2/ext3 partition (a2sd remove to deactivate, a2sd install to activate)
5. Allows the user to restore dalvik-cache back to the main memory (a2sd nocache)
6. Allows the user to deactivate swap (a2sd noswap to deactivate, a2sd swap to activate)
7. Creates the /system/sd mount if one doesn't exists.
8. Checks the symlinks and flag files. Reports to the user what needs to be repaired. (a2sd check)
9. Repair symlinks based on active flag files. (a2sd repair)
10. Zipaligns all programs in /data/app and /data/app-private. Using the align command, /system/app will also be zipaligned. You can turn on and off ZipAlign (a2sd zipalign / a2sd nozipalign). Not active on boot by default.
11. Wipes dalvik-cache without the need to go into a recovery partition (a2sd resetcache)
12. Checks how much space is being used on your ext partition (a2sd diskspace)
13. Repairs missing or corrupted market in Android 2.1 (a2sd fixmarket)
14. Uses its own Busybox installation to ensure stability (/system/bin/busybox.a2sd)
How to tell if it is working:
1. On your computer in the Android SDK Tools directory, type adb shell
2. In the adb shell, type /system/bin/a2sd check
3. Read the report. It will tell you if all is well. If you see anything with [X], type a2sd repair
If you want to move the apps to the SD card (when the program doesn't do it for you or you have moved the apps to the internal storage in the past):
1. Enter the ADB Shell by typing adb shell
2. In the ADB shell, type /system/bin/a2sd install
To prevent A2SD from running, type /system/bin/a2sd remove
If you have any issues, you can PM me for assistance, send e-mail to rtkirton at gmail dot com, or look me up on gtalk.
Special Thanks to the following people
Thanks to the following people for helping me on this (2.7 testing):
Toastcfh
- For assisting me in getting my test kernel setup to run ext4...that helped tremendously with development.
- For testing it (along with Flipzmode) on FreshToast 2.0 (CDMA Hero).
- For (along with Flipzmode) helping to identify the disappearing marketplace issue.
shahid.malik
- For testing on VillianROM 5.5 (GSM Hero)
- For testing on VanillaEclair 2.0.1 (GSM Hero)
Andrizoid
- For testing on Evil Eris 2.0 (HTC Eris)
Framework43
- For adding to Evil Eris 2.0.1 (HTC Eris)
DS36
- For testing on Eris Official 1.0 Alpha w/ Controllable Overclocking (HTC Eris)
4SidedDice (and others)
- For testing it on DamageControl's 2.08 and later (CDMA Hero)
Flipzmode
- For including it (along with Toastcfh) in FreshToast 2.0 (CDMA Hero)
- For including it in Fresh 2.1.x (CDMA Hero)
- For including it in Fresh Evo (HTC Evo)
- For (along with Toastcfh) helping to identify the disappearing marketplace issue.
Kurt666
- For testing on Pay's ROM for Desire v1.4 (HTC Desire)
Cordy
- For helping with general testing of 2.7
zygame
- For including it on Daguu_Espresso_v1.2_By_FlZyGaMeUp-Pre-release-2
chuckhriczko
- For including it in SuperSonic v2.0 (HTC Evo)
zenulator
- For including it in ZenEXP 0.9.6.2 (HTC Hero)
crunchybutternut
- For including it in Buufed 1.7.2 (HTC Hero)
.mac
- For including it in ZenEXP Eris Expresso (HTC Eris)
Papa Smurf151
- For including it in Blue Echo 2.1.3 (HTC Hero)
beezy420
- For including it in HoneyBun v.3 (HTC Hero)
britoso
- For testing it on Froyo FRF50 and FRF83 (Nexus One)
djmcnz
- For including it in Kang-o-rama 0.9 Froyo (Nexus One)
If I forgot anyone...let me know.
Click to expand...
Click to collapse
Change Log
Version 2.7 Update 3r1
1. Fixes a bug in fixa2sd that causes the dalvik-cache to automatically move to the SD card.
2. Created a new program called launcha2sd that now does the launching functions of a2sd. The program a2sd now launches launcha2sd using bash. This fixes any /system/bin/sh issues with open brackets being interpreted at commands rather than conditions in an IF statement.
Version 2.7 Update 3
1. If a rom has the dalvik-cache on the cache partition, it will not attempt to move it to the internal cache.
2. Users now have an option to move the dalvik-cache to the cache partition. The option to move dalvik-cache to the SD card is still retained.
3. New commands introduced: cachepart moves dalvik-cache to cache partition, cachesd moves dalvik-cache to sd card (phased replacement to a2sd cache).
4. Fixes some minor bugs.
Version 2.7 Update 2
1. The /system partition returns to read-only state when the program is finished. The /data partition is left untouched.
2. ZipAlign does not automatically start on boot. You must type a2sd zipalign to activate the start on boot feature.
3. Taken out visual references of CyanogenMod's cm.filesystem.ready and DamageControl's dc.filesystem.ready. It now refers to both visually as "File System Ready property"
4. A2SD Check no longer mounts the ext partition. It will indicate when the ext partition is not already mounted. This should help in troubleshooting roms that do not automatically launch A2SD.
Version 2.7 Update 1
Reversed a decision on 2.7 final to set /system and /data to read-only when the program completes. This is causing major issues with some newer roms.
Version 2.7
1. Completely rebuild the entire program from ground up. Attempted to simplify the process and to better detect different environments.
2. All programs use the included busybox.a2sd to avoid conflicts with the different busybox installations.
3. Mounts /system and /data in read-write to prevent any conflicts. Remounts them in read-only when completed.
4. Except for a2sd, all programs built as bash scripts
5. Separated the original program into the following programs:
a2sd - Simple script that detects whether the init.rc was fixed with the cm.filesystem.ready and sets it accordingly. Starts starta2sd if either a command is included or the cm.filesystem.ready patch is installed, otherwise runs A2SD that does not move dalvik-cache. Runs a smaller version of the boota2sd if the cm.filesystem.ready or dc.filesystem.ready are not present.
starta2sd - Processes all commands...it's the controller program. Adds the following commands: align, zipalign, nozipalign, resetcache, clearcache, fixmarket, diskspace.
boota2sd - Used when the cm.filesystem.ready fix or the dc.filesystem.ready fix is present in init.rc. Resets dalvik-cache, app and app-private to internal storage upon the following conditions:
1. Mount failure or missing ext partition, and
2. Any or all key directories are symlinked to the SD card.
This step prevents a bootloop or a stall from occuring during the boot process. Also incorporates better detection of mounted partition. If it detects the partition mounted in /proc/mounts, it will skip trying to mount.
Automatically executes fixa2sd if the flags and symlinks to dalvik-cache, app and/or app-private do not match.
Also moved the mounting of the swap partition to the end and reintegrated auto partition detection when mounting (similar to A2SD 2.6.1). Added ZipAlign functions.
chka2sd - Incorporates bug fixes that did not detect the dalvik-cache correctly. New report layout (should be simpler to read). Code was simplified.
fixa2sd - Incorporates same bug fixes as chka2sd. Does a better detection of flag files and symlinks. Code was simplified.
setupa2sd - Used to execute setup commands from starta2sd (install, remove, cache, nocache, align, fixmarket). Also controls a2sd help.
aligna2sd - zip aligns all apk files in /data/app and /data/app-private.
010a2sdmodaco - Part of the Beta8 Modaco Desire testing, does the following:
1. If 02cachedalvikcache exists, back the program up and overwrite the program, preventing the contents from executing.
2. if 40a2sd exists, do the same thing.
Version 2.6.1
1. Mainly a bugfix. Corrects the dalvik-cache code where it would put the dalvik-cache back on the sd card even when the flag file was set.
2. Put the flag files back on /system/sd. Fresh 2.0d was incompatible with the new setup (it doesn't mount the /sdcard until later in the boot process).
3. Added code for Fresh 2.0d...the boot can be hung if the dalvik-cache is changed during boot. Program automatically determines if 04apps2sd exists in /system/etc/init.d (this is signature for any roms built from Fresh 2.0d) and automatically sets the NoCache flag if the dalvik-cache is in internal memory and the NoCache flag isn't set.
4. Fixed swap code. It was not turning on swap when it should.
5. (Release 1) - Fixed some minor issues.
6. (Release 2) - Recreated a new flash package that is more compatible with different recovery system.
Version 2.6
1. Moves all flag files from /system/sd to /sdcard. The kernel mounts the FAT32 SD partition and that will be available before Apps2SD runs. Future flag file creation will be in /sdcard.
2. Added a check feature (a2sd check). This will check your flag files and symlinks. A report on your screen will tell you what needs to be fixed, if any.
3. Added a repair feature (a2sd repair). This will repair your a2sd installation.
4. Flashing the A2SD checks Busybox installation and reinstalls it if necessary (it only checks for a missing Busybox installation...it won't replace the one you have installed).
5. Automatically remounts /system and /data partitions for read-write access when started with any of the install/repair options (install, repair, cache, nocache, remove).
6. Fixed mount command...now uses auto detect rather than the individual partitions. This allows A2SD to work on ext4.
7. Separate nocache version available for slower SD cards.
Version 2.5
1. Added functionality to move dalvik-cache to the ext partition.
2. Added option a2sd cache to manually move the dalvik-cache to the ext partition.
3. Added option a2sd nocache to manually move the dalvik-cache back to the internal phone storage.
4. Added option a2sd install to setup a2sd on a phone (all apps and dalvik-cache on ext partition)
5. Added option a2sd remove to revert all a2sd changes back to normal mode (all apps and dalvik-cache in internal storage).
6. Added option a2sd noswap to turn off swap partition.
7. Added option a2sd swap to turn on swap partition.
Click to expand...
Click to collapse
I just tried this with EE 3.0 and it threw me into a boot loop after checking and repairing it. Had to do a Nand restore for now, I'll try it again in the morning.
Edit-Got it off the boot loop when I moved all the apps back to int. memory, so not quite sure whats causing the boot loop.
EE3 isn't setup to run A2SD.
However, you're in luck. In the thread, I posted a kernel for EE3 that will work.
Since it is buried in the thread, here's the kernel:
http://www.darktremor.info/files/eris/ee3kernel-signed.zip
Duffman3005 said:
I just tried this with EE 3.0 and it threw me into a boot loop after checking and repairing it. Had to do a Nand restore for now, I'll try it again in the morning.
Edit-Got it off the boot loop when I moved all the apps back to int. memory, so not quite sure whats causing the boot loop.
Click to expand...
Click to collapse
Thank you so much, it worked perfectly!
Works great
+1
Using EE3, I flashed the Kernel, than A2SD...life is golden!
Now, what to do with all that internal memory...
strongergravity said:
+1
Using EE3, I flashed the Kernel, than A2SD...life is golden!
Now, what to do with all that internal memory...
Click to expand...
Click to collapse
Hmm I did it in the opposite order, but I guess it doesn't matter ha.\
New Darktremor A2SD 2.7 update 3r1 is available. Fixes bug in fixa2sd that may cause the dalvik-cache to be moved to the SD card automatically.
Also, incorporates a new method of starting a2sd...the file a2sd moved to launcha2sd...the file a2sd now just launches launcha2sd. launcha2sd run in bash, this is to add more stability in roms.
Installation aborted
When I try to flash app2sd update 3r1, it said that:
failure at line 6
E:\ can't chorm ......
No such file directory
Installation aborted
What's wrong with my phone
T-Mobile G1
SPL 1.33.2005
Rom: E-Xtreme Froyo v1.9.5

[Q] App2sd question

ok I just switched from mytouch. The app2sd worked there alright. However, I cant get apps to install on on sd card on nexus one.
I formated to ext4 512mb, sawp 0. I set app to install external in cyanogenmod settings. I dont see any other option for app2sd in cyanogen mod7 nightly?
The apps just keep installing to internal memory!!
I even try flashing DT app2sd and samething happens. Am I missing something here?
Once you install DT, just open a terminal emulator and type in "a2sd reinstall".
Alternatively, you could type "a2sd cachesdreset", which will also move your dalvik to sd (much better).
With the "external" command, this will install the apps into the .android_secure folder on the root of the sdcard. This folder is locked by Android, so you can't view the contents. You can find out which apps are installed to the sdcard by looking at the sdcard tab under Settings -> Applications. But this only installs a portion of the app (some apps, it is the majority, others, not so much), but all the data the app generates will still be on the internal memory, so you will continue to see it go down.
And I don't think danger-rat meant alternatively (maybe he did) with DT and cachesdreset, but you can actually do both of those, and that is what most people do.
a2sd reinstall will move all your apps onto the sdcard's ext partition. a2sd cachesd (or cachesdreset which erases all the dalvik cache requiring a rebuild when the phone boots back up) will move all the dalvik cache to the sdcard's ext partiton. I have both done on my phone and leave the internal memory for just the data that the apps generate (it is possible to move that to the sd as well, but it is recommended to have a class 10 sdcard).
Need to have install set to internal. DT used ext partition as "internal" memory.

[ARC][APP2SD] Discontinued App2Sd for Xperia Arc-Updated

App2Sd for Xperia Arc​
Thanks to DooMLoRD for his Kernel.
Thanks to tkirton for his script.
Description:
App2sd has many advantages.App2sd is set on boot so it does not like link2sd.It will also work for Launcher,widget etc...because it set on boot.First it will move all Application from Internal Storage to EXT3.Then your Installing application will install on EXT3.So no more "Not enough space in Internal Storage." to install a apps.
Requirement:
Unlocked Bootloader
Custom Kernel from here
Installation:
Recommended:
Note:First create a EXT3 partition in your sdcard using partition tool.Click here for more info.
1.Download and copy to sdcard.
2.Install it via Recovery.
3.Factory reset your phone(Settings->Privacy->Factory Data Reset)
If you want to keep your previous application:
1.Download and copy to sdcard.
2.Install it via Recovery.
3.Connect your phone to ADB and type as below:
Code:
adb remount
adb shell
a2sd reinstall
Restart your device.
It will show a black screen after SE logo(Don't know why).
Remove battery and restart.
It will work.
You can see all application under /sd-ext/app.
FAQ:
Want to Move Dalvik cache files to the ext3:
Code:
adb remount
adb shell
a2sd cachesd
Want to Move Dalvik cache files to Internal Storage:
Code:
adb remount
adb shell
a2sd nocache
Want to Remove App2SD:
Code:
adb remount
adb shell
a2sd remove
Download:
Link:App2SD
Don't forgot to click some ads in my page.
Sounds nice, thank you.
But one (hopefully not dumb) question: What exactly does it do? Is it possible to really move every app from internal to external memory?
Hehe, been working on this a full day now. Even got parted and other binaries to do all the above from a terminal or adb shell, couldnt find upgrade_fs though to make ext3/4. Thanks for the guide, gonna follow the steps.
@bmwbasti
First it will move all Application from Internal Storage to EXT3.
Then your Installing application will install on EXT3.
svprm said:
@bmwbasti
First it will move all Application from Internal Storage to EXT3.
Then your Installing application will install on EXT3.
Click to expand...
Click to collapse
Sorry if this is a stupid question, what benefit does it take?
assuming that will give the phone more spaces???
@babygau
Internal storage is ~200MB.
So you can install application upto 200MB.
By this you can install more.
For Example:
If your EXT3 part is 500MB means,you can install application upto 500MB.
We can move apps to sd natively can't we? And if we need more space, we can partition the sd with fat32 and ext2/ext3/fat32 and install link2sd without the need for new kernel. That's how I did with mine.
Am I missing something here? Thanks!
Nice work! Just, how can I install it via recovery? Can't find a guide anywhere...
EDIT: Boot into fastboot (EDIT+POWER). I did it without USB attached, don't know if it works with USB attached.
Question: Does the extra space actually show up under applications? Mine doesn't. Or maybe I made a partition mistake? I made 2 partitions on the SD: 6GB EXT3 (primary) and 10GB FAT32 (primary). I also tried it with a smaller 1GB EXT3 partition and later an 1GB EXT2 partition. In all cases I get a black screen after "SONY ERICSSON" (in letters, not the logo). The next restart it starts normal but without the extra space on the internal disk. I don't get it
You partition is correct.
I recommend 1GB for EXT3 is enough.
Did you installed custom kernel from http://www.xda-developers.com/forum/showthread.php?t=1172885 ?
First install it.
Then go to recovery by pressing the back button while power on the mobile.
In the recovery,Go to install zip form sdcard -> choose zip from sdcard ->a2sd.zip
Thanks for your help but that is not the problem I think. What I did exactly:
-flash generic global
-flash doomlord kernel v2 (will try v3)
-startup and attach with usb mass storage
-format as 15GB FAT32 + 1 GB EXT3 (official SE SD card)
-copy zip to FAT32 partition
-restart in recovery and install zip via menu (no errors and 3 mounts which sounds logical)
-restart and now reset factory default in the Android privacy menu without formatting the SD-card.
-after the automatic restart I get a black screen after "Sony Ericsson" for at least an hour. Then I pulled the battery and restarted, now it's fine but no extra space and a 1GB smaller SD-card (which is ok). Strange...
It's working.
Go to /sd-ext using root explorer you will see three folder.
Go to app folder you will see all apps.
svprm said:
It's working.
Go to /sd-ext using root explorer you will see three folder.
Go to app folder you will see all apps.
Click to expand...
Click to collapse
Indeed sir, it works! The internal storage stays 217MB, however apps are installed on sd-ext. I recon the 217MB gets lower when sd-ext runs out of free room.
Istalled
I see app in Ext partition
but
internal storage go down slowly down when i istall ;_; (and i have a lot of free space in ext partition)
any idea?
Evil_Sephiroth said:
Istalled
I see app in Ext partition
but
internal storage go down slowly down when i istall ;_; (and i have a lot of free space in ext partition)
any idea?
Click to expand...
Click to collapse
Indeed it goes down a little for some apps but slowly. Before I had like 30MB of space left, now 150mb+ and I use around 400MB/1GB of the new disk. Works like a charm. Next time I will make a disk of 500MB whcih is enough for me.
mariolouis said:
We can move apps to sd natively can't we? And if we need more space, we can partition the sd with fat32 and ext2/ext3/fat32 and install link2sd without the need for new kernel. That's how I did with mine.
Am I missing something here? Thanks!
Click to expand...
Click to collapse
I do this too and I wonder if there is any thing am missing
Can we get a version of this for the play please?? i tried to install, i flashed the patch, but when i try to activate using adb, i get the error:
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-
[ ] GetProp Command = /system/bin/toolbox getpr
[ ] SetProp Command = /system/bin/toolbox setpr
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with reinst
[ ] Starting Darktremor Apps2SD in reinstall mo
[X] SD Card not mounted.
Cannot reinstall applications to SD card.
NiMH_999 said:
I do this too and I wonder if there is any thing am missing
Click to expand...
Click to collapse
apps2sd has many advantages, for starters, you cannot move, widgets, live wallpapers, and apps you wish to sync from /data/app/ or they will not work, with apps2sd cause the ext partition is mounted on boot these can now all be stored on the SD card, also some other apps cannot be moved from /data/app/ without apps2sd, another advantage is apps2sd can move the dalvik cache from /data/ to the SD-EXT, My DC is nearly 150mb
@Evil_Sephiroth @bassie112
Yeah it will decrease due to Dalvik cache.
If you like move Dalvik cache to sd-ext.
App2sd have many advantage as said by AndroHero.
@AndroHero
It need custom kernel with init.d support.
PM me your Boot.img.
I will try to help you.
@AndroHero
u are on Play right? i am still waitign for 4.0 FW to be released for PLAY.. once thats available i will update my Xperia Play kernel with new goodies
Thanks svprm and doomlord, i will wait and be patient then

[Q] Darktremor's app2sd?

Okay so my Droid is running okay, but I would like to have more memory for apps. So I figured, why not just use the app2sd script from DT after partitioning my card in CWM like I did my Ascend. I tried these steps:
1. In the CWM recovery (2.5.0.1 and 3.1.0.2) there is no option ANYWHERE to partition the SD card like in the 2.x.x.x CWM on my Ascend.
2. I partitioned in ROM Manager and chose 512 Partition with 128 MB Swap. The phone reboots and partitions the SD, and I checked in MiniTool Partition Wizard to make sure, there was a ext3 partition and a linux swap.
3. I move all apps to Internal memory, went in to CM Settings and allowed application moving.
4. Flashed DT's beta 4 script in recovery and it wouldnt boot, had to clear dalvik cache.
5. Get back in and found that the apps had moved no where. I check the sd-ext folder in Root Explorer and it said empty folder. a2sdgui does not work, if I change something, it just changes back.
6. Reflashed, tried S2E (simple2ext) and had the same issue, it isnt recognizing the ext partition.
7. Reflashed and tried various other settings with no luck.
What should I do? I really dislike having 15mb of internal memory free. Any help would be loved
Here is the info:
Was using the latest CM7 build but now I tried it on SteelDroid 9... same issue
Got view but no replies? Need some help here....
delete all previous scripts and try link2sd. i have been using it successfully.

Please Help me with A2SD

before i go any further on my phone please help me :
this is what i did :
1- i partioned my sd card be 4ext recovery choosing 512 on 1st and 2048 on second and 128 as swap and finally i chose 3ext
2- then i downloaded darkmetor a2sd ind installed from recovery (during this my rom was normal cyanogen0
3- then i flash medroid 7.2 based on cyanogenmod rom which supports a2sd (before that i wipe cache and dalvik)
4- then when i rebooted twice manually i saw that i still have insufficient storage
so i fully wiped and instal darkometor script again and now i already rebooted twice but when i download internal decreases , i tried typing in terminal emulator su the a2sd reinstall but it failed and it said that a2sd seems not too be booted at startup , i dont know what im doing andwhat to do anymore , please help me and guide me
Your setup is a bit off; try this:
1) I highly recommend you wipe everything (backup apps with Titanium Backup) and start over fresh. If not, you can still probably continue.
2) I would also recommend that you make the EXT partition size bigger, about 1gb. And try not to use swap (set it to 0). It has no positive effect on performance, and some rumor it can harm your SD card over time.
3) Try another script. Scripts like DarkTremor, S2E, and others have issues where the device will say low memory when the partition is only half full. Try this script (flashable in recovery), I HIGHLY recommend it; it mounts the EXT as internal and works really great. Link:
http://forum.xda-developers.com/showthread.php?t=1310309
Hope this helps. Feel free to ask any other questions.
not sure why you installed 4ext recovery then installed DT--4ext has worked quite well for me, Amon_Ra for a very long time before that
you only need 1 sdext for CM7
as mentioned 1gb and 0 swap
if using DT you flash CM7 then flash DT beta4 before rebooting, maybe even gapps between CM7 and DT--see what OP says on what's included
install Titanium Backup then just a couple apps like Term Emu if it is not already installed
then run your scripts thru terminal emulator
a2sd reinstall
a2sd zipalign
a2sd noswap
a2sd cachesd
phone will reboot after reinstall and cachesd or should--
some people reboot once right after first boot before doing anything else
most people are using sd ext4 not 3 atm, as far as I know
ken
As CSP said, you should make 1st ext bigger than the 2nd one. I even don't recommend you to make 2nd ext partition, very rarely rom that require it. Choose 1GB for 1st ext, skip 2nd ext, and skip swap. But if you want to make 2nd ext, try 1GB for 1st ext, 512/256 for 2nd. Remember to back up your sdcard first.
Before flashing the rom, try to wipe all partition except sd card, find it on recovery menu. You should flash the rom first, then flash the a2sd script. From your post, I see you screwed up the order.
To run the script, after rebooting and setting up, if you use the latest DT, type "a2sd reinstall" in terminal. I also usually run "a2sd cachesd" to move dalvik-cache, "a2sd zipalign" for alignment purpose on boot-up.
Add: Arrgg, rugmankc beat me
i did as u said , specialy moenexus but i got permission denied in TE and it didnt work
can you open and use Titanium if not you may need to reinstall Superuser or add TE to your Superuser list--in its' settings
ken
Thanks guys it worked using the script that CSP recommended , thnx to u all

Categories

Resources