App2SD on WildPuzzle 0.8 - Wildfire General

I've just installed Wildpuzzle 0.8 and can't seem to get the app2sd to work. I partitioned, wiped, reflashed, installed my apps and rebooted but they dont get moved. I used adb to try the a2sd reintall thing and this is what I get:
Code:
/system/bin/a2sd reinstall
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with reinstall
[ ] Starting Darktremor Apps2SD in reinstall mode
[ ] Moving applications to SD card
[ ] Moving private apps to SD card
mv: can't rename '/data/app-private/*': No such file or directory
[ ] Creating Symbolic Links
[ ] Removing No Apps2SD Flag
[ ] Rebooting Phone.
Can anyone help?

Wat I noticed was when I installed wo v.6 I did a partition with Rom manager then let it reboot after partition the turned off the phone take battery out then take SD card then use a card reader to transfer wp v.6 on SD then I wud wipe phone n reflash wp v 6 then once booted I would get 160 mbps free but I was not able to transfer meany apps to SD and when did dta2sd it wouldn't work so I'm not to sure if the ap2sd it currently stable with froyo 2.2.1 ur just guna have to deal with it n just transfer wat apps u can
Sent from my HTC Wildfire using XDA App

Penguinsfly1 said:
I've just installed Wildpuzzle 0.8 and can't seem to get the app2sd to work. I partitioned, wiped, reflashed, installed my apps and rebooted but they dont get moved. I used adb to try the a2sd reintall thing and this is what I get:
Code:
/system/bin/a2sd reinstall
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with reinstall
[ ] Starting Darktremor Apps2SD in reinstall mode
[ ] Moving applications to SD card
[ ] Moving private apps to SD card
mv: can't rename '/data/app-private/*': No such file or directory
[ ] Creating Symbolic Links
[ ] Removing No Apps2SD Flag
[ ] Rebooting Phone.
Can anyone help?
Click to expand...
Click to collapse
I think this is expected behaviour. I just also had a problem to get app2sd started, and found your post. My final output (after I realized I had to mount all the partitions ;-) looked very much the same.
The important part is "Moving applications to SD card" which worked without problems. the failure of "Moving private apps to SD card" may be, because you don't have any private apps (i.e. bought and paid through the Market). I use only free apps, so I'm not bothered by that error. When I now look at the phone from my Ubuntu, I clearly see that the apps are on the SD-Ext3. The free phone memory also tripled from below 20 to almost 60 MB. So everything is fine.
Cheers,
Ford

I fix this problem in this way.I install Better Terminall from market then just type su/a2sd check/a2sd cache sd and everyting is ok and i have 151mb. free.

Use shell or terminal emulator. Type:
su
system\bin\a2sd cachesd
Then phone will reboot then dalvik is moved to sd.
Sent from my HTC Wildfire using XDA App

i had to give it a pass after moving my dalvik cache to sd, my phone just kept on hanging!

Is it possible to move only the apps without moving all the dalvik cache?

Yes. If you have moved the dalvik cache as well, then, open Terminal on your Wildfire, and, type the following:
su
a2sd check
a2sd nocache
This moves the dalvik cache back to the internal memory and fixes the performance issues. However, after that, every app you install will consume some part of your internal memory.

Thanks 3xeno, tried that b4 and the subsequent installations went to the internal memory, what i'm talkin about is moving all the apps to sd.

Related

A2SD help

Sorry for the newbie question but I haven't been able to find the answer to my question (too many a2sd references in forum).
I've been using a couple of ROMs that supposedly use the "a2sd" but the "SD & Storage" menu always only shows the normal Intermal memory free space. Installed apps go directly to the internal memory and will only go to sd-ext when I do "a2sd repair".
On the other hand, the MIUI rom is the only ROM that actually displays a "a2sd+" tab on the "SD & storage" menu, shows correct sd-ext free memory and installs every application to sd-ext automatically.
Is this behaviour normal?!? Shouldn't I be able to always see the "a2sd+" tab on the "SD & storage" menu ??
I am at a loss here ...
Help is greatly appreciated.
Try and download Spare Parts from the market. Should display if I recall. Also, I know for a fact that eViLs ROM displays and if you set to old style ext, they automatically move. I run cm6 nightlies with DarkTremors script and it works fine. Try a2sd reinstall, a2sd zipalign, and then see what happens.
Sent from my Nexus One using Tapatalk
I tried the "a2sd zipalign" and "a2sd reinstall" and installed a bunch of applications to internal phone memory and seems like internal phone memory space didn't reduce. This seems to imply that a2sd is actually working but I still cannot see any reference to a2sd free space in "SD & storage".
Is this normal?
Nope. I thought spare parts did but I guess that's just for Enomther. I meant Enomther earlier, not eViL sorry. I'm sure there are apps on the market. Try OS Monitor
Sent from my Nexus One using Tapatalk
OS Monitor didn't make it but I've found an app called "Quick System Info" that shows my A2SD free/used space. Seems like everything is working fine
thanks for the support
folavo said:
OS Monitor didn't make it but I've found an app called "Quick System Info" that shows my A2SD free/used space. Seems like everything is working fine
thanks for the support
Click to expand...
Click to collapse
Assuming you're running the DarkTremor a2sd, you can verify it is working with
Code:
# a2sd check
You should get output similar to
Code:
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
Darktremor 2.7.5.2 Apps2SD Status Report
================================================================================
===
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[X]=Setting is incorrect and needs to be fixed or option is not availabl
e.
================================================================================
===
Block Device - [*] Found
- [*] /dev/block/mmcblk0p2
EXT Partition - [*] Mounted
Mount Point - [ ] /sd-ext
Partition Type - [*] EXT2
Support EXT2? - [*] Yes
Support EXT3? - [*] Yes
Support EXT4? - [*] Yes
Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Programs run from SD card
To run from internal storage, type a2sd remove
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Private Programs run from SD card
To run from internal storage, type a2sd remove
You can also verify disk usage:
Code:
# df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 203.1M 0 203.1M 0% /dev
tmpfs 203.1M 0 203.1M 0% /mnt/asec
/dev/block/mtdblock3 145.0M 142.5M 2.5M 98% /system
/dev/block/mtdblock5 196.3M 137.8M 58.5M 70% /data
/dev/block/mtdblock4 95.0M 1.6M 93.4M 2% /cache
/dev/block/mmcblk0p2 686.4M 577.0M 72.8M 89% /sd-ext
/dev/block/vold/179:1 28.8G 20.3G 8.4G 71% /mnt/sdcard
If you have /sd-ext being used, then it's working.
Darktremor Apps 2 EXT
I would sugest checking out apps 2 EXT by darktremor, thats what I use and its doing the job perfectly. This will allow you to move your cache and your apps. I believe that the Froyo default will only move the app and it will only work on non copyright apps. I have about 50 apps installed and I have 89megs of free space.

[Q] Mission Impossible: How to let a2sd working?

Hi everybody,
I have spent several hours to try letting a2sd working and it still seems to be impossible.
I'm running the last version of CyanogenMod with the dark tremor patch installed.
I've partitioned the sd card using gparted, now I've a partition of 1024 gb ext 3 (I've tried also with different size and different file systems (2,3,4)), I've also tried with another sd card (2 gb), but nothing.
I'm always getting the same error when I try run check with a2sd:
# a2sd check
[ ] GREP: Using ROM Busybox.
[!] REBOOT: Using Darktremor Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[-] Checkpoint 6: Insert CyanogenMod patch.
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[ ] Starting Apps2SD Check Program.
Darktremor 2.7.5.3 Beta 4a Apps2SD Status Report
===================================================================================
Legend: [✔]=Setting is correct
[‼]=Setting is correct, but not optimal.
[✖]=Setting is incorrect and needs to be fixed or option is not available.
===================================================================================
Block Device - [✖] Not Found
- [✖] SD card cannot mount
Obviously if I run a2sd reinstall does not work.
Does anyone have any solution?
Thank you very much
Does anyone have any solutions?
Which version are you using.
Also have you tried any other SDcard as i am using CM7 N 89 with A2SD with no issues.
First try another SDCard if this fails see if you can mount the SDCard via the phone.
If you can't give me a PM and i will try and help you out the best i can.
Just noticed you said you use gparted. If you have a custom recovery use that to partition your SDCard.
Save the data first from the SDCard that is important reboot into Recovery mode then select advance if you have Version 3.x.x.x there will be partition SD card there!!!!!!!!
You can either try s2e from the market...it will make job easy..also you could try rom manager for partitions ....
Sent from my HTC Wildfire
I'm using the last one as you: CM7 89.
I've tried with 2 different sdcard and I always get the same problem when I run "a2sd check".
The phone see the sd card correctly but the application are not installed.
Are there maybe any app to check the ext partition?
Did u install the darktremor patch as I did?
Maybe if u give me your procedure I could understand where is the problem.
Thank you.
P.S.: It's normal that gps is not working on this rom?
-Giulio
Right this is how i did it.
Booted into recovery.
Did a Wipe all (Using 3.1.0.2 Recovery)
Did a Advance Partition SD
Then Took out the SDcard and put on 89 rom and a2sd flash files on.
Then Flashed 89 rom then a2sd and rebooted the phone.
i then in terminal typed the following.
SU and then accepted root access
the a2sd install then a2sd cachesd then a2sd datasd. each after each reboot.
giulio1212 said:
P.S.: It's normal that gps is not working on this rom?
-Giulio
Click to expand...
Click to collapse
GPS Works. Reflash the radio if it doesn't. Tested on #87
I've tried to install ClockworkMod 3.1.0.2 (this version)
with unrevoked3 but it doesn't work... Unrevoked just get stuck at some point while rebooting... :/
Any ideas?
All radio's unfortunately need CWM 2.x to be flashed. You can get this by installing CWM from within the ROM Manager Application.
As for installing CWM 3.1.0.2, use an old version of Unrevoked (3.14 or 3.20), they work. You should be able to find a few links by looking around a bit.
I currently have ClockWorkMod 2.5.0.7.... I'm now trying to upgraded it to be able to create the right partition of the SD....
I did not found this versions of Unrevoked for Mac OSX .... do u have it?
Thank you
Found it.... and it works.... now I've the CWM 3.1.0.2... I will try to create the sd partition as Hacktrix explained
Bad news....
I did has hacktrix explain me but still won't works
here is what I get from the shell:
# su
# a2sd install
[ ] GREP: Using ROM Busybox.
[!] REBOOT: Using Darktremor Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[-] Checkpoint 6: Insert CyanogenMod patch.
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[-] Checkpoint 13: Display version information.
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
[-] Checkpoint 14: Check for filesystem support.
[-] Checkpoint 15: Mount partition.
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
[-] Checkpoint 17: Mount Swap.
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to: 24m
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
[ ] Launching Apps2SD Start Program with install
[ ] Starting Darktremor Apps2SD in install mode
[X] SD Card not mounted.
Cannot reinstall applications to SD card.
#
I just did it like this (same stuff with two different SDCard):
1.Installed the new CWM 3.1.0.2 with unrevoked.
2.Did a WIPE All
3.Create the partition form advance->partition SD->1024mb->swap 0mb
4.Installed CM7 N89
5.Installed Darktremor Apps2SD 2.7.5.3 Beta 4a
6.Restart the phone
7.Wait
8.Run with adb "a2sd install"
9.Unsucess
Does anyone knows which is the problem... Is driving me crazy, it's really frustrating :/
I think I've done it... but I did it only with an old 2gb microSD card...
I would like to use my 32gb microSD card....
After I've created the partition I tried to mount it inside CWM:
-With 2gb card no problem, it mounts.
-With 32gb card it gives me: error mounting/
Do you know why?
Here a screenshot of my card:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any idea on how to create a working partition with this card?
That card might be a fake! if it works on the 2GB version and i have a 16GB sdcard to which it works on that 32gb must be a fake. I can't even find a class 8 card where did you get it from ?
I ordered on ebay, in effect I paid few $$.... but, yeah I can assure you that I fill it with 32gb....
At the end I decided to use app2sd from android, that seems to work without problems on CM7 (when I've tried on CM6 sometimes app disappeared ).

[Q] Darktremor Apps2SD Supported for HTC Wildfire 2.2.1 Stock ROM?

I have a rooted HTC Wildfire with stock ROM 2.2.1,
I have the following rooting tools installed:
+ ROM Manager 4.3
+ Clockworkmod Recovery 5.0.2
+ Root Toolbox
+ Busybox 1.19
+ Terminal Emulator
I also got a 8 GB SDcard, partitioned with CWM as follows:
+ 1024 MB as Ext3
+ 64 MB SWAP
+ Rest as FAT32
I tried to install Darktremor Apps2SD 2.7.5.3 Beta 04 but it never started and whenever I start the phone.
Here's an output result after executing commands:
>> su
$ a2sd reinstall
Code:
[ ] GREP: Using ROM Busybox.
[ ] REBOOT: Using ROM Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
grep: /init.rc: Permission denied
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[-] Checkpoint 6: Insert CyanogenMod patch.
[ ] Creating /cache/dc
mkdir: can't create directory '/cache/dc': Permission denied
chmod: /cache/dc: Permission denied
[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
rm: can't stat '/cache/dalvik-cache': Permission denied
ln: /cache/dalvik-cache: Permission denied
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[-] Checkpoint 13: Display version information.
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
[-] Checkpoint 14: Check for filesystem support.
[-] Checkpoint 15: Mount partition.
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
[-] Checkpoint 17: Mount Swap.
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to:
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
[ ] Launching Apps2SD Start Program with reinstall
[X] Problem detected: Darktremor Apps2SD may not have ran
during boot. Cannot read a2sd.mountpoint.
[ ] Starting Darktremor Apps2SD in reinstall mode
[X] SD Card not mounted.
Cannot reinstall applications to SD card.
As shown, errors are:
[X] Problem detected: Darktremor Apps2SD may not have ran
during boot. Cannot read a2sd.mountpoint.
[X] SD Card not mounted.
I wonder whether Darktremor Apps2SD officially supports stock ROM for HTC Wildfire 2.2.1 or not.
Any alternatives for this method if not supported?
Nobody ever successfully moved all apps to Ext3 partition for rooted Wildfire with stock Android 2.2.1?
A ROM must support Apps2SD to enable you to use it. You can cook your own ROM with the Stock as base, and just Apps2SD enabled using the DSIXDA Kitchen.
dude google if your current rom support ext3. the log shows problem with mounting sd. if it does not, u should partition it to ext2( kinda old, but have 2. if you want 2 stay with stock. if you plan to be a cm7 fan you can even use ext4 in latest nightly). reformatt sd. reflash rom, then install a2sd.
hey i had successed in moving app to sd using dta2sd. i even moved data to sd. check my thread " deal with a2sd ".
Sent from my HTC Wildfire using XDA App

NexusHD2-ICS-CM9 A2SD Discussion

How to increase the internal storage size for the NexusHD2-ICS-CM9 ROM.
May 17 updated:
Another choice. Don't need to flash anything.
Just install Link2SD app from the Google Play (a.k.a. Android Market).
Jan. 20:
Flash any of the A2SD scripts below when you install too many apps and the internal memory (i.e. data partition) is out of space.
Caution: Don't use any of them if you are not an advanced user. Otherwise you may have low volume, performance lag and other strange issues.
Installation guide for 40ad2sdx-a2Recovery.zip
Installation guide for Data2SD.
Installation guide for AD2SDX - AMARULLZ DATA TO SD-EXT.
This rom gets better by the hour! Thank you very much Tytung
Sent from my HD2 using XDA App
Thanks
Does the freeze issue related to A2SD ? My phone working and connected to GSM network but the touch screen is not working at all.
Thank you very much Tytung for the nice Rom !!!!
From the other thread:
manu44 said:
I have installed the Rom v1.1 by using the 40ext script to move the dalvik to sd card
and now i used it without the script
The DIfferemce is there
- No more apps lagging...Whatsapp used to take around 25 sec to show up when i was using my adtosd script
- No more screen lagging
- No more low sound issue
Click to expand...
Click to collapse
Of course you will get no more low sound issue, but since I have changed the read ahead SD speed to 2048 (not sure if thats the reason though) and changed the script that it copies all to SD card ext partition, I have a lot fewer lags than before, when the read ahead was 8mb and I used the unmodified Amarullz script (which leaves dalvik on internal).
Here are my posts for reference:
geenyous said:
Thanks tytung, will upload there next time.
Hmm, but I am using Amarullz script and still have ~300mb left.
Appears that it does the same as the app2sd script TyphooN is using, so every app you install still leaves a bit on internal but the majority goes to sd-ext. This would be about right as I have now 50mb less internal than with TyphooN (150mb partition compared to 200 now) and I had roughly 57mb free space on TyphooN internal with the same apps installed.
Anyone has an idea what to do besides uninstalling some apps?
Thx!
Click to expand...
Click to collapse
bobjbain said:
You can delete the stuff in the cache directory under /sd-ext/data_s/com.android.providers.downloads
...
That's bizarre, I don't know where it gets the 208m for /sd-ext when I have 2G ext4 partition on my card.
And why is /data 1G??
Anyway geenyous, in adb cd to /sd-ext/data_s/com.android.providers.downloads and issue a 'df *' that will tell you how much free space the system actually thinks you have in that directory.
HTH
Click to expand...
Click to collapse
This didn't work, that directory was almost empty...
uzi2 said:
http://forum.xda-developers.com/showpost.php?p=21216357&postcount=384
http://forum.xda-developers.com/showpost.php?p=21232738&postcount=438
http://forum.xda-developers.com/showpost.php?p=21233560&postcount=445
Click to expand...
Click to collapse
OK, just to report on the above Issue:
I have now reinstalled everything with the modified script posted by uzi2 above, now I have plenty of space (actually the internal sd-ext is empty, feels like bit of a waste) as all my stuff is on sd-ext4 (SD card), even dalvik cache. I can now install and update apps again. Just to make it clear for everyone: there is an sd-ext, which is located on NAND and there is sd-ext4 which is located on your SD card after you format it properly.
If you look at Amarullz script, you will see that per default, it will leave dalvik cache as well as system apps on sd-ext (internal). Now, this together with a 200mb system partition will lead to the sd-ext filling up as you install more apps which are considered system apps and consequently you will not be able to dl and update from market anymore. What uzi did, is remove the parts from the script that copy dalvik and those apps to sd-ext. Now, sd-ext is empty, no matter how many apps you install. Maybe it would be good to keep dalvik on sd-ext and only remove the "system apps move to sd-ext" part of the script? Dalvik was like 170mb of size last time I checked, is that constant or number of apps dependent? I must say I don't see any performance issue with dalvik on SD, but it just feels like a bit of a waste
Btw, I also changed the SD speed fix value to 2048 from ~8000 in the script as I think I can recall to have read that this would give the best performance.
Here is the code I am using atm (all the same like uzis except the SD speed):
Code:
#!/system/bin/sh
#
# AMARULLZ DATA TO SD-EXT MOD FOR ANDROID ( AD2SDX )
# ==================================================
#
# by amarullz [at] yahoo [dot] com
# xda-developers : amarullz
# (c) 2011
# * Oct 19 (ALPHA01)
#
# Info: ~ For Changing Log
##
###
# Initializing
###
#-- SDCard Speed Fix
if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]
then
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;
#-- Unmount /sd-ext if it already mounted
busybox umount /sd-ext;
#-- Mount /data and move it to /sd-ext
busybox mount /data;
busybox mount --move /data /sd-ext;
#-- Mount sd-ext to /data ( You Will Get 1GB/2GB Internal Memory :D )
busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;
busybox chown 1000:1000 /data;
busybox chmod 771 /data;
###[ SDEXT mmcblk0p2 STRICT ]###
# app, app_s, lib_s, app-private, data : should in /data (mmcblk0p2)
#
# ~ ALPHA02 - Add framework_s into (mmcblk0p2) strict - MODIFIED
###
for i in dalvik-cache tts_s app app_s lib_s plugins_s app-private framework_s weather_s data;
do
#-- If Symlink in /data, delete it
if [ -h /data/$i ]
then
busybox rm /data/$i;
fi;
#-- If Directory Exists in /sd-ext, move it to /data
if [ -d /sd-ext/$i ]
then
busybox mv /sd-ext/$i /data/;
fi;
#-- If Directory Not Extst in /data, create it
if [ ! -d /data/$i ]
then
busybox mkdir /data/$i;
#-- Just Open All Permissions ;)
busybox chmod 0777 /data/$i;
fi;
#-- Now Create Symlink From /sd-ext to /data
if [ ! -h /sd-ext/$i ]
then
busybox ln -s /data/$i /sd-ext/$i;
fi;
done;
###
# Now create symlink of the rest non Symlink Directories and Files on /sd-ext to /data
#
# ~ ALPHA02 - Fix ls to ls -a, it's ok, because we test -h for symlink
###
cd /sd-ext;
for i in `ls -a`;
do
if [ $i != ".." -a $i != "." ]
then
if [ ! -h /sd-ext/$i ]
then
if [ ! -h /data/$i ]
then
busybox ln -s /sd-ext/$i /data/$i;
fi;
fi;
fi;
done;
cd /;
###
# It should also need to create the rest non Symlink Directories and Files on /data to /sd-ext
# ~ ALPHA02 - Some Directory may be missing if we don't use it
###
cd /data;
for i in `ls -a`;
do
if [ $i != ".." -a $i != "." ]
then
if [ ! -h /data/$i ]
then
if [ ! -h /sd-ext/$i ]
then
busybox ln -s /data/$i /sd-ext/$i;
fi;
fi;
fi;
done;
cd /;
#-- Of Finished.... :D
And this is the part I would suggest maybe you could leave it in to get dalvik to sd-ext (internal):
Code:
###[ SDEXT mmcblk0p2 STRICT ]###
# app, app_s, lib_s, app-private, data : should in /data (mmcblk0p2)
#
# ~ ALPHA02 - Add framework_s into (mmcblk0p2) strict
###
for i in framework_s app app_s lib_s app-private data;
do
#-- If Symlink in /data, delete it
if [ -h /data/$i ]
then
busybox rm /data/$i;
fi;
#-- If Directory Exists in /sd-ext, move it to /data
if [ -d /sd-ext/$i ]
then
busybox mv /sd-ext/$i /data/;
fi;
#-- If Directory Not Extst in /data, create it
if [ ! -d /data/$i ]
then
busybox mkdir /data/$i;
#-- Just Open All Permissions ;)
busybox chmod 0777 /data/$i;
fi;
#-- Now Create Symlink From /sd-ext to /data
if [ ! -h /sd-ext/$i ]
then
busybox ln -s /data/$i /sd-ext/$i;
fi;
done;
###[ INTERNAL mtdblock5 STRICT ]###
# For performance, dalvik-cache should be on /sd-ext
###
for i in dalvik-cache;
do
#-- If Symlink in /data, delete it
if [ -h /sd-ext/$i ]
then
busybox rm /sd-ext/$i;
fi;
#-- If Directory Exists in /sd-ext, move it to /data
if [ -d /data/$i ]
then
busybox mv /data/$i /sd-ext/;
fi;
#-- If Directory Not Extst in /data, create it
if [ ! -d /sd-ext/$i ]
then
busybox mkdir /sd-ext/$i;
#-- Just Open All Permissions ;)
busybox chmod 0777 /sd-ext/$i;
fi;
#-- Now Create Symlink From /sd-ext to /data
if [ ! -h /data/$i ]
then
busybox ln -s /sd-ext/$i /data/$i;
fi;
done;
And this the part that should be removed:
Code:
###
# Now Important Thing, is to move the com.htc* and com.android* data to /sd-ext (internal)
# For Good performance. So the system applications will run smooth.
#
# System application will read/write in Internal memory, and 3rd apps will run on sdcard
#
# Notice: Will be affected in 2nd boot :D, so Reboot the system after 1st boot...
###
#-- Prepare data_s in /sd-ext ( For system data )
if [ ! -d /sd-ext/data_s ]
then
busybox mkdir /sd-ext/data_s;
#-- Just Open All Permissions ;)
busybox chmod 0777 /sd-ext/data_s;
fi;
#-- Now Move All com.htc* and com.android* to Internal Memory
cd /data/data/;
for i in `ls -d com.htc* com.android*`;
do
#-- Only Non Symlink
if [ ! -h /data/data/$i ]
then
busybox mv /data/data/$i /sd-ext/data_s/;
fi;
done;
#-- Create Symlink of /data/data_s/* to /data/data/ (mmcblk0p2)
cd /sd-ext/data_s/
for i in `ls -d *`;
do
#-- Only If Symlink Not Exists
if [ ! -h /data/data/$i ]
then
busybox ln -s /sd-ext/data_s/$i /data/data/$i
fi;
done;
Or you could do it the other way around, leave system apps on sd-ext (internal) and move dalvik to SD card? Uzi2, as you say your script is tested, did you test this and what were your findings?
I have attached the script in a flashable zip the way I use it now, all on SD card as well as SD speed fix change for anyone that also runs into market install / update troubles.
You have to do a fresh install though, clearing dalvik with the modified script will not move it to SD card and you have to install it the tried way, i.e. flash ROM (kernel), boot, reboot, reboot into recovery, flash script, reboot, set up google account and restore apps. Putting it in right from the beginning gave me bootloops (factory wipe install).
EDIT: Ok, it is confirmed that Dalvik cache is app dependent, it now has a size of 187MB (compared to the 178 I saw before) and I have another 200mb of sd-ext4 left to install more apps. So it is very well possible, that after installing further apps, the 10% space threshold of sd-ext (internal) will be reached again and Market will quit dl / updating apps as it did before. So it looks like the only viable option will be to leave the second part of the script in, the one where all the system (and htc) apps get moved to internal. Looking at the script, it appears that you could put this part in and it will move the apps to internal even after all has been on SD card, can anyone with coding skills please confirm?
Best way to use this script
May i add, that the best possible method is to copy the script file to the ROM zip Before Flashing. This way i didn't encounter any crashes, low volume, whatsoever!
d33f said:
May i add, that the best possible method is to copy the script file to the ROM zip Before Flashing. This way i didn't encounter any crashes, low volume, whatsoever!
Click to expand...
Click to collapse
This is because, there is no need to fix permissions using this method.
Obviously there is no need to wipe dalvik-cache on a fresh install, but if you refrain from doing so on an update, you should not encounter problems.
Please remember to copy the script into init.d on every update.
d33f said:
May i add, that the best possible method is to copy the script file to the ROM zip Before Flashing. This way i didn't encounter any crashes, low volume, whatsoever!
Click to expand...
Click to collapse
I really hate to ruin the party here, especially as I am also a fan of easy solutions, but after I made a factory wipe (a state where most new users will come from when they change CWM partition) and put the script in an otherwise unmodified zip, I had bootloops. And not just one, several.
This then worked for me:
- Format SD card with one FAT32 partition (primary, 32kb block) and one ext4 partition (primary, 4kb block)
- Boot into CWM
- Flash ROM (& Flash Kernel)
- Reboot and don't touch anything
- Reboot into recovery
- Flash script
- Reboot into ROM
- Reboot into CWM and fix permissions
- Reboot into ROM and start setting up your phone
- Done
If you update your ROM, then do the following:
- Unzip script zip (not ROM!)
- Copy the script (called something like "10ad2sd" or "40ad2sdx") to system/etc/init.d/ in ROM zip with something like 7zip
- Boot to CWM
- Flash ROM (& Kernel)
- Done
Thank you for this
This solved all my storage issues. Especially on this new rom. Now I am not experiencing any bugs whatsoever.
geenyous said:
I really hate to ruin the party here, especially as I am also a fan of easy solutions, but after I made a factory wipe (a state where most new users will come from when they change CWM partition) and put the script in an otherwise unmodified zip, I had bootloops. And not just one, several.
Click to expand...
Click to collapse
Was it a bootloop? How long did you leave it, before deciding this?
It will also depend on which a2sd script you use, so just because you encounter problems doesn't mean it's universal.
Edit:Having read the FAQ, I think you may be using Amarullz RC02, whilst I am using Alpha02 (amended)
uzi2 said:
Was it a bootloop? How long did you leave it, before deciding this?
It will also depend on which a2sd script you use, so just because you encounter problems doesn't mean it's universal.
Click to expand...
Click to collapse
You know me, I am not screaming wolf just to get attention. I was using exactly the same script you posted and I never said it was universal. I waited 10 mins, 3 times in a row before I decided to reflash without the script. Took some 3-5 mins and the Set up screen was there. Whatever is the cause here, none of us seem to understand it, at least I don't and you have not posted the reason.
So lets just leave it as it is, if it works, fine, if not, then go the long way, as easy as that
geenyous said:
You know me, I am not screaming wolf just to get attention. I was using exactly the same script you posted and I never said it was universal. I waited 10 mins, 3 times in a row before I decided to reflash without the script. Took some 3-5 mins and the Set up screen was there. Whatever is the cause here, none of us seem to understand it, at least I don't and you have not posted the reason.
So lets just leave it as it is, if it works, fine, if not, then go the long way, as easy as that
Click to expand...
Click to collapse
Even so, 10mins may not be long enough for the ROM to load and the script to perform it's initial functions. You are confusing 2 different versions of the Amarullz script. You may not have read my Edit before replying.
Q !. What tipe of SD card should i use class 4 class 6 or class 10 for a2sd scripts ?
uzi2 said:
Even so, 10mins may not be long enough for the ROM to load and the script to perform it's initial functions. You are confusing 2 different versions of the Amarullz script. You may not have read my Edit before replying.
Click to expand...
Click to collapse
Yes, I have replied before you edited, but still I am using your script
I have never used the one I linked to, just took that from OP. Before using yours I also took the one from Amarullz thread, but the flashable one (added link to FAQ).
Anyhow, it may be that 10 mins are not enough, but I am sure as hell that any other second on this topic is wasted, so I am going to leave it here.
nueloc said:
Q !. What tipe of SD card should i use class 4 class 6 or class 10 for a2sd scripts ?
Click to expand...
Click to collapse
4 or 6 is best.
I've installed 40ad2sdx-a2Recovery.zip as it was said it should be installed, and my phone is going nuts..
EVERYTHING is so slow, even thoe SetCPU is configured correctly.. my phone acts like it's on 400MHz all the time!
Second thing, and the biggest thing are all those FCs.. almost every app is FC, and when I start it again, it SOMETIMES works ok..
Facebook is useless, Market sometimes, Quadrant is giving me <1000 results, Twitter is so slow I can't stand to load up a page, Gallery is working every second time..
And it all worked so darn fast before this App2SD patch..
Hey guys...I've got a problem with the latest ICS build ([15.Jan.2012] NexusHD2-ICS-4.0.3-CM9 V1.1). I'm using a T-Mobile HD2 with MAGLDR v1.13, and I can load ICS up successfully. Calling works and my signal reads full with 3G (with Wind Mobile), but I can't activate the wifi (switching on results in nothing, as if the system attempts to but can't), and 3G appears to be inaccessible with Google Accounts/browser even though it is configured correctly. I've tried wiping, re-installing (with 1024 MB ext4 partition), and putting initrd.gz in an update folder for updating...nothing appears to be working. Can anyone help? Much thanks in advance.
Cold-Tea said:
I've installed 40ad2sdx-a2Recovery.zip as it was said it should be installed, and my phone is going nuts..
EVERYTHING is so slow, even thoe SetCPU is configured correctly.. my phone acts like it's on 400MHz all the time!
Second thing, and the biggest thing are all those FCs.. almost every app is FC, and when I start it again, it SOMETIMES works ok..
Facebook is useless, Market sometimes, Quadrant is giving me <1000 results, Twitter is so slow I can't stand to load up a page, Gallery is working every second time..
And it all worked so darn fast before this App2SD patch..
Click to expand...
Click to collapse
As I understand it, 40a2sdx is Amarullz RC02, which is known to cause problems with this ROM. The Alpha02 is 40a2sd and should work well.
Edit: Sorry, I see that Alpha02 is also 40adsdx. The script I used is based on Alpha01 (40a2sd) - Sorry for the confusion.
The links are now correct in the FAQ
I got problems with touch screen.When i unlock my phone it acts like im still presing or scrolling,and its driving me crazy.When i type sms it presses button by itself,it scroll menu by itself.Even today,when i touch screen the screen get some purple colour,and when im not touching it its ok.Please help me
RyanGDI said:
Hey guys...I've got a problem with the latest ICS build ([15.Jan.2012] NexusHD2-ICS-4.0.3-CM9 V1.1). I'm using a T-Mobile HD2 with MAGLDR v1.13, and I can load ICS up successfully. Calling works and my signal reads full with 3G (with Wind Mobile), but I can't activate the wifi (switching on results in nothing, as if the system attempts to but can't), and 3G appears to be inaccessible with Google Accounts/browser even though it is configured correctly. I've tried wiping, re-installing (with 1024 MB ext4 partition), and putting initrd.gz in an update folder for updating...nothing appears to be working. Can anyone help? Much thanks in advance.
Click to expand...
Click to collapse
mare.djurdjev said:
I got problems with touch screen.When i unlock my phone it acts like im still presing or scrolling,and its driving me crazy.When i type sms it presses button by itself,it scroll menu by itself.Even today,when i touch screen the screen get some purple colour,and when im not touching it its ok.Please help me
Click to expand...
Click to collapse
Please state which version of A2sd you are using, how it is installed and why you think it is a2sd related. Otherwise the main thread may be more appropriate for your questions.
I'll forward this over to the main thread then...I actually don't know what the A2sd version is. x.x

[Q] a2sd not working in miui.es

I have installed from a factory reset miui.es 2.2.3. I realized that the /cache partition was not used, so I did an a2sd cachepart. However, I got these errors:
Code:
...
[X] No a2sd.swap environment variable found.
[X] Problem detected: Darktremor Apps2SD may not have ran
during boot. Cannot read a2sd.mountpoint.
...
[ ] Moving /data/dalvik-cache to /cache/dc
[ ] Unmounting ...
BusyBox v1.19.3-cm7 bionic (2011-11-14 16:52 +0100) multi-call binary.
Usage: umount [OPTIONS] FILESYSTEM|DIRECTORY
Unmount file systems
-a Unmount all file systems
-r Try to remount devices as read-only if mount is busy
-l Lazy umount (detach filesystem)
-f Force umount (i.e., unreachable NFS server)
-d Free loop device if it has been used
[ ] Rebooting phone...
Anyway, the cache was copied to the /cache partition, but it was also left in the /data partition. I tried to remove it by hand, but after a reboot it is again there.
To sum up, MIUI seems to be ignoring a2sd. Anyone having this issue?

Categories

Resources