No Apps2SD? - Motorola Droid and Milestone General

Just got my Droid yesterday. Already have Simple ROM 1.0 running... And I'm looking on here for apps2sd and can't find anything. Any answers? Before I did the flash, I was sitting at 120 megs of memory easily. Now... I'm sitting at around 77 megs.
Please help!!!
Sent from my Droid using XDA App

Haven't tried that rom, but if you go into settings>>applications, and go into each application, there should be an option to move to SD card. Don't move your launchers, or anything that has a widget, or you will have issues. Some apps will not allow you to move them anyways. It also doesn't move the entire application, usually about half to two thirds of the app gets moved.

If his suggestion doesn't work, Cyanogenmod has Apps2SD integrated and working. I thought you had to create an ext* partition, but apparently not anymore. It works fine as normal.

I'm using CyanogenMod right now... And I hate it. I keep getting FCs from .acore, whatever that is. I think it's a Firmware System File, and it's corrupted.
And that dude's answer is like the answer for a total noob that has no clue what they're doing. Sorry, but I'm not new to this. LOL!
Back on topic.... is there any way to get Apps2SD using the SDK's ADB Shell? I think I read somewhere that there's some way of basically tricking the Market and the phone into saving Apps2SD by using the ADB. If you've got commands, I can type them.
And also.... If I were to get Apps2SD working in SimpleRom, is there going to be a way that I can just pull the apps off my SD Partition without having to go all the way back through the excruciating process of RE-DOWNLOADING ALL MY APPS from the Market?
Until we figure this out, I'll be tinkering away on my own... LOL!

Regarding the force close with acore...have you tried clearing the dalvik-cache? I've had issues with the dalvik-cache getting hosed (or having an older copy).
Quickest way of clearing the dalvik-cache:
If dalvik is on internal storage: busybox rm -f /data/dalvik-cache/*
if dalvik is on cache partition: busybox rm -f /cache/dalvik-cache/*
In both cases, reboot the phone.
If the CyanogenMod is a nightly build, I noticed it puts the dalvik-cache on /cache partition. With my Darktremor Apps2SD, this messes up the program as it completely bypasses /data/dalvik-cache. Simple workaround would be to copy the files in /cache/dalvik-cache to /data/dalvik-cache, remove the /cache/dalvik-cache, then create a symlink of /cache/dalvik-cache pointing to /data/dalvik-cache.
Classic Apps2SD (or as some would call A2SD+) can be achieved by performing the following actions (after you launch ADB Shell):
1. Find out where your EXT partition for your SD card mounted to. There's at least two mount points: /system/sd or /sd-ext
2. Perform the following command:
- for mount point /system/sd: cd /system/sd
- for mount point /sd-ext: cd /sd-ext
3. Create two directories: app and app-private:
- busybox mkdir app
- busybox mkdir app-private
- chmod 777 app
- chmod 777 app-private
4. Copy the contents of both /data/app and /data/app-private to the SD card:
For mount point /system/sd:
- busybox cp -fp /data/app/* /system/sd/app
- busybox cp -fp /data/app-private/* /system/sd/app
For mount point /sd-ext:
- busybox cp -fp /data/app/* /sd-ext/app
- busybox cp -fp /data/app-private/* /sd-ext/app-private
5. Remove the /data/app directory and /data/app-private directory:
- busybox -rf /data/app
- busybox -rf /data/app-private
6. Create symlinks to the sd card:
For mount point /system/sd:
- busybox ln -s /system/sd/app /data/app
- busybox ln -s /system/sd/app-private /data/app-private
For mount point /sd-ext:
- busybox ln -s /sd-ext/app /data/app
- busybox ln -s /sd-ext/app-private /data/app-private
And that should do it. Just make sure that the rom mounts the /dev/block/mmcblk0p2 device:
Mount to /system/sd:
- busybox -t auto -o rw /dev/block/mmcblk0p2 /system/sd
Mount to /sd-ext
- busybox -t auto -o rw /dev/block/mmcblk0p2 /sd-ext
Hope this helps.
DyMiC said:
I'm using CyanogenMod right now... And I hate it. I keep getting FCs from .acore, whatever that is. I think it's a Firmware System File, and it's corrupted.
And that dude's answer is like the answer for a total noob that has no clue what they're doing. Sorry, but I'm not new to this. LOL!
Back on topic.... is there any way to get Apps2SD using the SDK's ADB Shell? I think I read somewhere that there's some way of basically tricking the Market and the phone into saving Apps2SD by using the ADB. If you've got commands, I can type them.
And also.... If I were to get Apps2SD working in SimpleRom, is there going to be a way that I can just pull the apps off my SD Partition without having to go all the way back through the excruciating process of RE-DOWNLOADING ALL MY APPS from the Market?
Until we figure this out, I'll be tinkering away on my own... LOL!
Click to expand...
Click to collapse

I used a simple shell command in terminal emulator which worked fine for me, I believe its
pm setInstallLocation 2 (1 instead to reset to internal storage.)
one line of code, simple fix. and as stated earlier, no launchers or widgets should be moved, so if you install one after entering this, move it back to phone through application settings, manage applications.

Related

How do I completly clear out my ext2 partition through Terminal emulator

I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
well you can try flashing LucidREM mod that has the files for mounting it located here and instead of using the copy.sh app first try this.
$su
# cd /system/sd
# ls -la
check if the app folder is there if it is than
# cd app
#ls
check if the files are there.. and if they exist than try this
# rm -rf /data/app
# ln -S /system/sd/app /data/app
# reboot
hope that helps and it u still want to wipe the ext2 parttition than jut
# rm -rf /system/sd/*
or
# rm -a /system/sd/*
Nitro212 said:
well you can try flashing LucidREM mod that has the files for mounting it located here and instead of using the copy.sh app first try this.
$su
# cd /system/sd
# ls -la
check if the app folder is there if it is than
# cd app
#ls
check if the files are there.. and if they exist than try this
# rm -rf /data/app
# ln -S /system/sd/app /data/app
# reboot
hope that helps and it u still want to wipe the ext2 parttition than jut
# rm -rf /system/sd/*
or
# rm -a /system/sd/*
Click to expand...
Click to collapse
I have problems when I get to ln -S /system/sd/app /data/app
it says link failed no such file exists
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
I kinda had the same question but was wondering if there was an easier way of wiping the ext2 partition? I'm kinda new at all this and am now starting to get the hang of flashing different roms onto my phone but I realized that doing an Alt+W before flashing new roms does not wipe the ext2 partition. (At least I'm pretty sure it doesn't.)
I'm not too savvy on using terminal yet..I've heard of using adb but I don't even know where to begin with that..so I was wondering if going into Paragon Partition Manager and just formatting the ext2 partition will work? Any info will be greatly appreciated.
Ok i finally have it working. I keep getting a social network force close.
wiping an ext2/ext3 partition
Joeriginal said:
I had to wipe my phone and have ext2 partition on my card but when I try the copy.sh app command it works but always hangs on the flashing g1 after I reboot the phone. So this leads me to believe its because the apps are still there on the ext2 partition and need to be removed before I could do it again.
Click to expand...
Click to collapse
there is an app on the market called lucid REM that runs his script via terminal emulator. after getting it and running it you can go to terminal and type
su
lucid -c (this wipes ext2/3 partition)
hopefully this helps you. if you are on a rom that uses auto a2sd then you will most likely getting force closes all over until you flash your new rom.
I posted a thread with steps to do it http://forum.xda-developers.com/showthread.php?t=533731
Code:
Open console and enter the following commands. Press "Enter" after each line. This wipes the ext partition.
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/
[code]
Glad this wasnt deleted right away, maybe it can just be moved?
It helped because I also was wondering the best way of doing this, and now I know.
Thanks .
Odd, double post for no reason. Sorry delete this post?

backup ext3 partition

Hey guys,
is there a way to backup the ext3 partition? when flashing Drizzys ROM you must have a clean ext3 to do initial boot. without clean ext3 you get a bootloop. Ive flashed his ROMS several times and i want to flash a new cyans 4.0.1 but im afraid that ill lose my apps.
any ideas on how to keep your info AANNNDDDD flash drizzys ROM??
If you have adb up and running you can adb pull /system/sd/app (some directory on your computer) to make a back up the adb push (same dir from above) /system/sd/app if you don't have adb then i do not know
If you ant to go from Drizzy to Cyan you should be fine. Just wipe and flash Cyan.
For fututre refrence, to back up your ext, go in to the recovery console
Code:
mkdir /sdcard/app/
mkdir /sdcard/app-private/
cp /system/sd/app/* /sdcard/app
cp /system/sd/app-private/* /sdcard/app-private
All that does is make the "app" and "app-private" folders on the fat32 partition of your sdcard and copies the apps to them from the ext3 partition (the mount point of ext3 is /system/sd).
To push them back after flashing a new ROM (again from recovery, don't do this from the terminal when your phone is on):
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cp /sdcard/app/* /system/sd/app/
cp /sdcard/app-private/* /system/sd/app-private
This time was also have to mount the ext3 as re-writeable so we can copy to it.
Hope that helps.
or just do cp /system/sd/* /sdcard
gets you all the folders in /system/sd
This makes it really easy http://forum.xda-developers.com/showthread.php?t=549876

backing up ext2 partition

i have done a search, but came back with nothing that sounded like an answer to me, what I wanted to know is how would I go about backing up my ext2 partition, so that if I wanted to change my memory card I could just back and restore onto new card and continue using my phone as it was. I am running cyanogen's 4.04 rom with a 500mb ext2 partition on an 8gb card.
Do a quick search in the Dev forum for something called switchrom. Read up on what it does, and you'll see how to do what you want to do. If you can't figure it out after reading up on it, pm me and i'll walk you through it.
cheers...had a look through the whole thread seems like it could be implemented into next update to cyangogen recovery so will wait..dont want to mess around with scripts sounds a little scary!..
I've answered this on a few threads before, but I can't find them to copy and paste :-S
in the recovery console
Code:
cd /sdcard
mkdir app
mkdir app-private
cp /system/sd/app/* /sdcard/app
cp /system/sd/app-private/* /sdcard/app-private
your apps are now on your fat partition, so do your victory dance and copy the two folders on to the root of your new sdcard.
Go back to the recovery console (*not* terminal, it's just not a good idea to do this while the phone is running, but you can use adb shell when the phone is in recovery).
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/*
cd /system/sd/
mkdir app
mkdir app-private
cp /sdcard/app/* /system/sd/app
cp /sdcard/app-private/* /system/sd/app-private
You're done, it's a good idea to wipe and reflash the ROM before you reboot.
Thanks mate, that makes sense..people always say search first but the search function is not the best on the forums..
I will give that code a go..thanks
after the first CP command line it says cp: cannot stat '/system/sd/app/*' : no such file or directory.
it cant find the app dir?

Wiping EXT3

I know I've read this somewhere but is there a cleaner & simpler way to wipe an EXT3 partition??
*Yes I have searched but the recommended way didnt work*
I wanted to install the new JAC Sense build, I thought I wiped properly, & ran wipe from console but then once the build was fully booted up, GUESS WHAT my apps & stuff were still in there! Double wether app & other stuff I ma sure was causing issues from my old build & everything...I finally just blew everything out in parted & started again...but for next time
I did follow these instructions:
mount -o rw /dev/block/mmcblk0p2 /system/sd
mount /system/
mount /data/
rm -rf /data/*
rm -rf /system/sd/*
But i did get an error about lost+found after running the rm -rf /data/*
I know I did something wrong what was it?? I dont see it...
do this in the recovery console to completely wipe your ext3 partition
Code:
mke2fs -j /dev/block/mmcblk0p2
Grab the RA recovery from my sig.
RA-dream-recovery is sooo convenient.

Removing apps on SD Card

I originally was using apps2sd on my DC 2.09.01 hero. I have now decided not to use it. But when I go into applications it shows all the apps that I had installed as ex: "com.jrtstudio.automont" 0 kb. How can I remove these?
reboot into recovery and wipe your cache.
1 more question...
Once you use apps2sd is there a way to transfer those apps back to your device if you decide you no longer want those apps on your SD.
Kcarpenter said:
reboot into recovery and wipe your cache.
Click to expand...
Click to collapse
I rebooted into recovery and wiped my dalvik cache and they are still there...
Still trying to figure this all out...
Just go to dc config an disable a2sd and disable dalvik cache to sd (uncheck the buttons) then save. After that reboot it should move all ur apps and cache back to internal storage memory. That's it
-------------------------------------
Sent via the XDA Tapatalk App
roadster92 said:
Just go to dc config an disable a2sd and disable dalvik cache to sd (uncheck the buttons) then save. After that reboot it should move all ur apps and cache back to internal storage memory. That's it
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I did that originally and it still shows the .com files...and my apps never got moved back to the phones memory.
Type the following in ADB shell:
/system/xbin/busybox rm /data/app
/system/xbin/busybox rm /data/app-private
/system/xbin/busybox mkdir /data/app
/system/xbin/busybox mkdir /data/app-private
/system/xbin/busybox chmod 755 /data/app
/system/xbin/busybox chmod 755 /data/app-private
/system/xbin/busybox cp /system/sd/app/* /data/app
/system/xbin/busybox cp /system/sd/app-private/* /data/app-private
Now your programs should be back on the SD card.
To move dalvik-cache, while in ADB Shell, type the following commands:
/system/xbin/busybox rm /data/dalvik-cache
/system/xbin/busybox mkdir /data/dalvik-cache
/system/xbin/busybox chmod 755 /data/dalvik-cache
/system/xbin/busybox cp -f /system/sd/dalvik-cache/* /data/dalvik-cache
Now, your phone is now using internal storage. Reboot the phone to make sure the changes stay (make sure the A2SD and Dalvik-Cache to SD is off in Dconfig).
If that doesn't work, download Darktremor A2SD 2.7 Update 3. Once that is flashed and you have your phone booted, type the following in an ADB shell:
a2sd remove
That will move everything back to internal storage and sets a flag (called .noa2sd) on your SD card to prevent the data from being moved again (until you reactivate it using a2sd install)
Hope that helps.
fifedogg said:
I did that originally and it still shows the .com files...and my apps never got moved back to the phones memory.
Click to expand...
Click to collapse

Categories

Resources