[Q] Install and run full app from SD? - Nexus One General

I looked, read the FAQ's and then some. I just came to a N1 form a G2, and the one things that is killing me is space for apps. I cant fit 1/3 of what I had on my G2 on here. It there anyway to install the full application (for apps w/o widgets) to the SD card? Or at least more that what Froyo allows by default.
I kept seeing something about partitioning but if someone would be kind enough to point me to a how to or give me the info I'd greatly appreciate it.
Thanks.

Apps2Ext with a custom ROM

I believe you are looking for apps2ext
Heres what you need to do. (hit the link above for detailed steps)
a) copy all your SDcard data to your PC, because partitioning the sd card will delete everything
b) reboot into recovery
c) recovery: create an ext partition (ext2, 3, 4 all work, i just use ext2)
size: 512MB, more if you want.
swap: 0, not needed (if asked)
d) recovery: flash the DT a2sd 2.7.5.2 (or newer) .zip file. this configures CM6.
e) recovery: reboot
f) while the phone is starting you can check if a2sd installed of by running this in a console (cmd): "adb shell a2sd check"
optional but recommended:
g) move the dalvik cache to the sdcard too; in a console (cmd) run: "adb shell a2sd cachesd" (will reboot your phone)
Remember you need to flash the dt a2sd .zip file every time you flash a new CM ROM.

britoso said:
c) recovery: create an ext partition (ext2, 3, 4 all work, i just use ext2)
size: 512MB, more if you want.
swap: 0, not needed (if asked)
Click to expand...
Click to collapse
I would suggest sticking with an ext2 partition, as it seems to have the most compatibility across the board with different ROMs and such.

Related

need help on APP2SD

I just got my HTC hero rom 2.73.405.5 rooted with recovery-RA-hero-v1.5.3.1.img (I don't flash with any other custom ROM), and now i'm get stuck with APP2SD. I assumed it shouldn't be that complicated.
Here's what I've done (using a 2GB sdcard)
- Start in recovery mode (press Home + Power)
- Partition sdcard > Partition SD (swap=32MB, ext2=512MB, Fat32=remainder)
- back to recovery, Other > Move apps+dalv to SD
In adb use parted > print command, i can see the card is partitioned correctly. But using busybox bf -h command, i don't see the /system/sd partition. apps i installed before trying that are gone.
Did i do anything wrong?
you have to have a rom with Apps2sd enabled. The official hero roms don't have this functionality.
sengkh said:
I just got my HTC hero rom 2.73.405.5 rooted with recovery-RA-hero-v1.5.3.1.img (I don't flash with any other custom ROM), and now i'm get stuck with APP2SD. I assumed it shouldn't be that complicated.
Here's what I've done (using a 2GB sdcard)
- Start in recovery mode (press Home + Power)
- Partition sdcard > Partition SD (swap=32MB, ext2=512MB, Fat32=remainder)
- back to recovery, Other > Move apps+dalv to SD
In adb use parted > print command, i can see the card is partitioned correctly. But using busybox bf -h command, i don't see the /system/sd partition. apps i installed before trying that are gone.
Did i do anything wrong?
Click to expand...
Click to collapse
swap should be at the back of the disk fat at the front.
i used this to partition: http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
Thank you for reply.
@DMzda,
Does that mean I have to replace the whole Android OS or just some small patched to the ROM? Could you give me a link for detail or download?
I'm new to this and I don't really want to make big change, further I like HTC Sense pretty well.
@Piercy0812
From what I can tell the disk format is correct, although the selection in Recovery is reverse, it's shown in the parted > print as Partition 1 Fat32, Partition 2 ext2 ....
just pick the right ROM for your HERO (GSM or CDMA) and install it to your phone. It is easy to do.
There are custom ROMs that dont change much on your stock Hero. Make sure you get one with App2sd in the package.
side quesiton:
I have Modaco 2.2 and Apps2SD installed.
How do you check to see if it is functioning properly?
I have a widget that tells me how much memory on SD is used:
96 mb used out of 169mb.

Apps2SD for 2.1 Rom?

does anyone have any instructions for apps2Sd for the 2.1 rom? I have no idea what I'm doing with this, and Im tired of not having any space on my phone to dl apps! thanks for any help in advance.
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
troyboytn said:
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
Click to expand...
Click to collapse
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Coldheat1906 said:
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Click to expand...
Click to collapse
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Coldheat1906 said:
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Click to expand...
Click to collapse
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
dec3ption said:
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
Click to expand...
Click to collapse
ok,....now I really feel like a noob.....
When I try to do a adb remount it says "device not found"
I also do have "USB Debug" selected.
Edit: Ok.... had to re-install the SDK..... I think it's working now.
Thanks
Im flashing my rom right now so I will see how this works out
I have a problem
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
troyboytn said:
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Click to expand...
Click to collapse
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
amallama said:
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
Click to expand...
Click to collapse
Validate by doing this:
1. At your computer (in the Android SDK Tools directory), type adb shell
2. Once you are in an adb shell, type ls -l /data
3. Look for the entries app and app-private. The two entries should look like the following:
app -> /system/sd/app
app-private -> /system/sd/app-private
If they don't, you'll need to validate you have an ext3 partition on your sd card.
If you do, download A2SD version 2.5 from http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip and put it on your SD card (in the same place you put custom roms). Go into recovery and flash this file (it won't erase anything...it's just going to install a2sd version 2.5). Reboot phone and perform the same steps above.
If it still isn't working, PM me and I'll continue to help you.
tkirton said:
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
Click to expand...
Click to collapse
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
troyboytn said:
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
Click to expand...
Click to collapse
No problem...the previous version (2.0) didn't turn on swap...that was actually handled by another routine from my Darktremor kernel (never released...that's why you never seen it).
If you don't want to activate swap, you can go into the phone and type /system/bin/a2sd noswap. It will put a flag file on the system that, if present, will tell a2sd not to use swap file although one is present.
Swap is not required. If a2sd doesn't see the swap partition, it simply won't activate swap...all other functions will activate as normal.
It will activate swap on any rom provided that the swap partition is using /dev/block/mmcblk0p3 (third partition on the SD card). The sd partition feature on the RA Recovery does this automatically.
hi i have a the wildfire got it rooted but not sure how to install apps2sd,apk im on software 2.1
i did have a custom rom cyanogenmod 6.1 and that had apps2sd but the wildfire 2.1 dosent and would like some advice on how to do it please any help wud b nice thanks

ZTE Light / V9 [ROM] [Froyo] Light Roast RLS6 [2011-05-19] [Gen2]

ALL CREDITS TO KALLT_KAFFE !!
Information
NOTE: Only for devices that have been upgraded to Android 2.2.
Based on the leaked 2.2 ROM V9_GENERICV1.0.0B03 (Android 2.2)
Rooted "out-of-the-box"
Support for Darktremors Apps2SD (apps on EXT2 partition on SD card)
Various updates to the Google apps as Maps, etc.
"Extra Settings" where you can easily switch between the LCD density settings, etc.
HW UI turned on
VMHeapTool included to easily change the VM Heap Size.
Added "Spare Parts" (I recommend changing the "Window" and "Transition" animations to "Fast")
Predefined APN list from CyanogenMod7 (NOTE: If you use Telia may be necessary to go in and actively choose Telia as Halebop seems to be the chosen default)
Instructions
If you have not already Clockwork Recovery installed, download OneClickRecoveryV9.apk and save on the SD card.
Then download Light_Roast_RLS6.zip and save on the SD card. (Mirror)
Install and run OneClickRecovery. (Alternatively, reboot to already installed Clockword using 'adb reboot recovery')
Make a backup of existing installation inside Clockwork (Backup and Restore -> Backup)
Install Light_Roast_RLS6.zip (Install zip from sdcard-> choose zip from sdcard-> etc ...)
Make a Wipe (wipe data / factory reset) (Only required for new installations or if you are upgrading from RLS2 or earlier)
Choose to restart the phone. (Reboot system now)
First boot takes extra long time so be patient.
Overclock AHB bus
First, install Light Roast RLS6 if you have not already done so.
Download and install Light_Roast_RLS5_ahb_overclocked.zip (ignore RLS5, it also applies to RLS6)
NOTE: Do NOT use this if you do not know how to restore the phone if it would not boot. There is no guarantee that all phones can handle AHB overclocking which is a 50% overclock of AHB bus in 480 and 600MHz.
Activate Apps2SD (NOTE: Android 2.2 has built in support for moveing apps to the SD card. This is another method that most people probably will survive without)
Make a backup on everything on your SD card that you want to save.
(Optional) If you have already installed apps then you must run "a2sd remove" via "adb shell".
Reboot into recovery (Can be made using "Extra Settings")
Partition SD card. It is basically meaningless to assign more than 512MB if you don't want to move Dalvik cache to the SD card. I recommend 512MB and 0MB swap (the kernel does not support swap and the phone has enough memory to not need swap)
Boot up again and now all the apps that are installed will automagically be on EXT2 partition on the SD card.
(Optional) If you did "a2sd remove" above then you must make a "a2sd reinstall" to move the apps to the partition.
Uninstall
Reboot into recovery (eg using "Extra Settings)
Restore the backup you made before you installed
(Optional) If you also wish to recover the leaked 2.2 ROM original recovery partition, download, install and run OneClickStockRecoveryV9.apk
NOTE: Everything is done at your own risk!

[Q] HD2 & App2SD

Hello everyone,
I've an issue and I am looking for your advise & support. I've bought HTC HD2 512 EU with the following NAND specification:
Android ver: 2.2.1
Baseband ver: 15.42.50.11U_2.15.50.14
Kernel ver: 2.6.32.15-saint.J_Rev.005-g009fade-dirty [email protected] #8
Build no: Desire HD Rev.10.XU
Software no: 1.72.405.3
aMAGLDR V1.13
The Issue: I wanted to install App2SD to be able to install apps in SD Card.. I followed this thread => http://forum.xda-developers.com/showthread.php?t=926015 & followed Darktremor instructions here.. However, When I entered the MAGLDR menu /AD Recovery I found no CWM recovery mode "no boot source".. So what should I do next as Darktremor approach assumed that there is a CWM recovery mode to be able to format, partition and flash the App2SD, while I haven't!.. What should I do to make it work?
Thank you,
unzip attached file.put the folder you get to your sd card.in mgldr menu: services-boot settings-ad sd dir-find the folder and choose it. now you'll go to mgldr menu automatically now take the second choice:ad sd. so you'll go to ad recovery.(by this method you have to do all these steps each time in order to go ad recovery.so it is recommended to flash a recovery using daf and usb flasher.but this will erase your installed android rom.) and in ad recovery menu backup your current rom.because darktremors method doesn't go well with som roms.and know that it leads 2 extra reboots after you flash it.
mutil, thanks for the reply. I did as you mentioned.. got into the CWM successfully but failed to partition the SD correctly. After it said=> "Done..! partition SD successfully!" I got the screen full of errors like=>
E: Can't mount /cache/recovery/log
E: Falid to find "cache" partition to mount at "/cache".
E: Can't open /cache/recovery/last_log
E: Can't find misc
P.S: I choose partition size of 1024mb & swap of 256mb..
Update: I ignored those errors & installed the App2SD & rebooted but didn't notice any change! The available space on the internal storage still 201mb!.. SD card now reads 14gb, previously 15gb..
download a2sdgui from market. move dalvik cache to sd.this gives you some more space.i think a2sd will work for applications you install from now on.therefore i install it just after i installed a new rom.btw 256mb swap is high. you must know that it may harm your sd (but i also use 128mb swap in spite of its risk)
mutil said:
download a2sdgui from market. move dalvik cache to sd.this gives you some more space.i think a2sd will work for applications you install from now on.therefore i install it just after i installed a new rom.btw 256mb swap is high. you must know that it may harm your sd (but i also use 128mb swap in spite of its risk)
Click to expand...
Click to collapse
Done!..
Thank you mutil...
About the swap, do you suggest me to redo the whole process again and limit the swap to maybe 128mb?.. I remember that swap partition is always double the mem size..
What is the max recommended ext partition size for the App2SD? because on the CWM you can make the partition up to 2048mb..
no just for that, it doesn't worth to redo everything.next time when you change rom you arrange it.i dont have much knowledge but the swap is said to harm sd-card.but as my experience it also improves speed.
Ext
If u want to install apps on EXT partition don't use App2SD,or A2ext use Data2ext.
Similar to a2ext, where data/app were stored inside your ext partition of the SD card, data2ext stores the whole /data inside your ext partition.
That means your internal storage will barely be used, and because nowadays some SD cards runs faster than your internal memory.
Instructions:
*This is a CyannogenMod version!Not tested on DHD Roms!
1.Make a Ext3 Partition via CWR
2. Flash data2ext_for_CM via CWR (attached) (DON'T FLASH IT ON THE FIRST BOOT OF ANY ROM!)
3. Go to your terminal emulator/adb shell to type data2ext --enable
4. Reboot
5. Go check your Ext storage via Titanium Backup(Your internal storage [220 mb~] will not be increased you must check the ext space from the Overview page of your Titanium Backup [SD card(a2sd):....mb(...mb free)])!
antonymilo said:
If u want to install apps on EXT partition don't use App2SD,or A2ext use Data2ext.
Similar to a2ext, where data/app were stored inside your ext partition of the SD card, data2ext stores the whole /data inside your ext partition.
That means your internal storage will barely be used, and because nowadays some SD cards runs faster than your internal memory.
Instructions:
*This is a CyannogenMod version!Not tested on DHD Roms!
1.Make a Ext3 Partition via CWR
2. Flash data2ext_for_CM via CWR (attached) (DON'T FLASH IT ON THE FIRST BOOT OF ANY ROM!)
3. Go to your terminal emulator/adb shell to type data2ext --enable
4. Reboot
5. Go check your Ext storage via Titanium Backup(Your internal storage [220 mb~] will not be increased you must check the ext space from the Overview page of your Titanium Backup [SD card(a2sd):....mb(...mb free)])!
Click to expand...
Click to collapse
mmmm, will give it a try
Does it has a GUI?

[PARTITION] BlePart LVM [v1.1]

LVM is a logical volume manager. It joins underlying physical partitions into a pool which can be divided to virtual partitions. Since there are no real partition layout changes, hard bricking is a lot more difficult (but not impossible).
You may have BlePart installed previously, it makes no difference. You can use stock partition layout.
WARNING: LVM requires you to install LVM compatible ROMs. Do not install non-LVM ROM if you have LVM installed.
All your data will be wiped.
Current space division
If you would like to change this, open the zip META-INF/com/google/android/update-binary, find the partition sizes, and modify data partition size (the total space is nearly 3GiB so watch the space).
System - 800MiB
Cache - 10MiB
Data - 2000MiB
Internal SD - rest of the free space
Requirements
LVM-compatible recovery installed
Strongly recommended: Unlocked pink screen
How to install
Download the zip from downloads below
Save it to your phone's EXTERNAL SD card
Reboot to recovery (if you notice errors it is normal, since LVM is not yet installed)
Install the zip from your external SD
Your phone will automatically reboot in 3 seconds
How to uninstall
Method 1
Download the zip from downloads below
Save it to your phone's EXTERNAL SD card
Reboot to LVM recovery
Install the zip TWICE (first time it will notify you LVM is installed, second time it uninstalls it)
Your phone will automatically reboot in 3 seconds
Method 2
Install any non-LVM recovery (TWRP recommended as some older CWM recoveries cannot format vfat properly)
Reboot to recovery
Wipe/Format system, data, cache, internal storage partitions (and repair file system if errors occur)
Reboot recovery
Method 3
Install stock ROM
Downloads
BlePart-LVM-11
Hello, Blefish
These lines i need to change? When i clean applications i have empty space in "System" 220mb, and "Data" i have 270mb empty space.
/sbin/lvm lvcreate -L 700M -n system lvpool;
/sbin/lvm lvcreate -L 10M -n cache lvpool;
/sbin/lvm lvcreate -L 2350M -n userdata lvpool;
/sbin/lvm lvcreate -l 100%FREE -n media lvpool;
Click to expand...
Click to collapse
P.S. Can i delete directly application from system.new.dat?
Good,thanks!
BlePart-LVM-11 uploaded.
This change is minor. It only simplifies installing/uninstalling and makes it easier for the end user. It also adds necessary checking mechanism to make sure the user is installing LVM from a proper location with proper tools.
My external sd card don´t work, can I still get it done?
MazdaGTI said:
My external sd card don´t work, can I still get it done?
Click to expand...
Click to collapse
Through ADB sideload you can do it . You need to install necessary drivers and ADB if you are on windows. Technically it is possible to use ADB and push the zip to /tmp/ for example, and install from there aswell.

Categories

Resources