I have now a Nexus one, as noobish at it may sound. What is the latest and easiest way to install apps from the partition I created? I created 512mb partition swap 64mb
I search but I was overwhelmed by the results..
thanks for anyone who will answer!
First, recreate partitions, remove swap and rise the EXT to 768MB or 1GB. Swap is not needed, and it's not smart to use it.
Second, install DarkTremor's A2SD, or a ROM that includes it.
Third, if you're using a stock ROM - install another kernel, because stock kernel doesn't support it.
Related
i just installed jesus freak 1.5. i also purchased a 16gb micro sdhc card. I would like to know how to get apps to sd running correctly. I have followed another method and messed up the sd card. so i purchased a brand new one and before i even take it out of the package, i would like to talk to someone that has had sucesssful experience.
Thanx in Advance
A2SD in a Nutshell
the essence of apps2sd is:
1) creating a vfat/fat32 partition for storing user data
2) creating a second partition, ext2 to hold your apps and caches
3) creating directories within the ext2 partition on the SD to house your caches and apps
4) copying your apps and caches to the SD within the appropriate directories on the ext2 partition
5) rebooting within recovery console and deleting the original app and cache directories, AND
6) symbolically linking the ext2 apps/cache folders on the SD to the appropriate system partition folder names
7) rebooting to android and testing apps to determine which need to be reinstalled or reconfigured
your ext2 partition need not be very large relative to the volume of the SD; half a gig is normally adequate
pre-requisites:
you will need regular access to an OS that supports the ext2 filesystem, like linux. this is important because if your ext2 partition ever becomes damaged, the linux system has the tools to fix the ext2 filesystem errors.
you will need to know the commands for creating partitions on your SD
you should know how to use ADB to connect to your G1's shell, though this is optional
you need to know how to (re)boot to the recovery console and use its shell
you need to be familiar with the commands required to copy directories, create and delete directories, and create symbolic links
There are other Threads that have other programs and tutorials, but I used this one the other day on a JF 1.5 and it worked well.
http://forum.xda-developers.com/showthread.php?t=512743
Only issue I had was I had to move JF Updater back to Phone from SD , but that could have been a glitch when the phone checked for an update. The two apps used AppstoSD2 and a2sd pretty much do everything for you , very minimal command line required on your part.
Only thing to make it better would be an interface to either move the apps back to phone or integrate it so it would ask you when you install an app where to put it. But I am very happy with it. 16GB might be over kill , I have a 8 GB but they say not to go over 1.5 GB with the Ext2 partition, so while you will have 6.5 ( relative ) GB of space for Movies,Images, MP3's, Uninstalled apps, you are really limited to the 1.5GB for apps , well plus internal phone memory I guess. But for phone apps that's probably way more than enough.
question: how do you partition a 16gb sdcard? all the numbers and all that. ive done an 8 gb sd card and that was easy cause i was working with mb's. now with gb im lost. i got to parted and i typed up print and got 16.1gb if you could help me with the numbers for fat32,ext2/3,linux-swap. i would greatly appreciate it...
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Do no more then 512 MB for your ext2(3,4) partition
Follow this guide for the card partitioning. Flash CM's rom and it will do apps2sd for you automatically.
Your other card is most likely not all lost and could be salvaged still, I would look into it if I was you, 16gb cards are not cheap.
And for the last time: it is Jeusus FREKE not Jesus Freak, Have some respect for the one who layed the foundation for us, at least enough to spell his name correctly.
AdrianK said:
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Click to expand...
Click to collapse
I second that, and also jf won't be doing ROM any more :[
http://jf.andblogs.net/
hi i needed help with apps to sd card i recently rooted my g1 to cm 4.2.14.1. i was reading that it does it automatically thru this mod if you have a partitioned sd card which i do but i notice everytime i download a new app my internal phone storage goes down. i was wondering if that was normal or if its only suppose to go down on the partition? im really noob to this who rooting process so please help!
Applications not only store information in the apk, but also other places, /data/data/ for instance.
Delete the partition then see how much space applications use if you want to compare the difference. It could also be browser cache and other things that store information on the phone memory.
Cyanmod rom will automatically do apps2sd if it see a new partition EXT2
You have to do that on your own.
The easiest way I found to do that is use amon_ra's recovery 1.2.3 instead of Cyans
It has an option in the recover screen to partition and add EXT2 .
Now im new to this I dont know how to increase the default of value of XXXmb in ext 2 .
So if some one can chime in and tell me in the simplest way how to change how big the ext2 partition is that would be great.
OP I hope I helped you if you need more help PM me.
Edit I figured it out.
Just use linux to partition ext2/3 and define how much space your sd2apps will use on ext2 partition.
CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.
do i need an a2sd mod for cyanogenmod roms or does the built-in one by cyanogenmod do the same thing?
why would one use a mod like a2sd or whatever rather than using the CM one?
Cyanogen has a built in a2sd but it is not a2ext which moves apps to the ext partition on your sd card which is a much simpler (once it's set up) and IMHO better way to do it because it tricks the phone into thinking that the ext partition is the internal memory so it installs the apps on it.
okay. so cyanogens installs them on the main partition?
if its on the main partition then ill get a2ext.. id rather have it on the ext partition
thanks
The two big options out there are DarkTremor's a2sd and S2E. I have used both extensively and prefer S2E (found on the market).
Hey guys, I haven't been keeping up to date with the development of our Motorola Milestone recently, it's been almost 3 or 4 months since I last visited here.
So yesterday, I was just checking what's new and it seems our Milestone has started a new era of development with the 2ndboot! I'm not a developer or expert of any kind so I'm not sure what this does, but from what I've read, all I know is that this is a good thing for our Milestone
Anyway, I'm still running CM 7.2.1, I have FuFu's Minimod OpenRecovery v0.08 and want to upgrade them both to the latest versions. The thing is, I'm confused by the instructions, I have no idea what the swap config thing does, apparently we have to partition our SD card in order to work with the latest CM 7.2.4 or something, and apparently the rom comes pre-packed with a custom kernel so I'm not sure if I can just flash it just like usual or is there a special step to it etc.
As for the recovery, there's FuFu's OpenRecovery;
http://forum.xda-developers.com/showthread.php?t=1091787
As well as this:
http://forum.xda-developers.com/showthread.php?t=1897048
So i'm not even sure which one to use. Currently, I'm using FuFu's MiniMod v0.08 so simply updating to v0.22 seems straightforward, but then there's kabaldan's post on that recovery for 2ndboot so I'm confused by which one I need......
Lastly, there's this swap config thing I was talking about:
http://forum.xda-developers.com/showthread.php?t=1951983
So ya I'm not sure what to do.
Can anyone please post some simple instructions? Thanks.
Fufu's minimod is based on kabaldan's 2ndboot OR which fixes writing to some sdcards, has battery charging... so it sould not make a big difference (fufu's recovery also has touch interface, etc). You can use either or try them both to see which one suits you better.
To update CM7 you simply Apply update in recovery. Then reboot (cm10 requires full wipe and an ext partition to be present or it won't boot)
The script allows you to configure swap file size (for now) and enable startup script to start swapping on boot. Don't use too high swap partition size or swap file size (this will probably require some experimenting). Or use zRAM/compcache (in cyanogen settings) to use part of RAM for swap. Or go without swap (again, will need some experimenting to see what configuration gives best results)
mrvek said:
Fufu's minimod is based on kabaldan's 2ndboot OR which fixes writing to some sdcards, has battery charging... so it sould not make a big difference (fufu's recovery also has touch interface, etc). You can use either or try them both to see which one suits you better.
To update CM7 you simply Apply update in recovery. Then reboot (cm10 requires full wipe and an ext partition to be present or it won't boot)
The script allows you to configure swap file size (for now) and enable startup script to start swapping on boot. Don't use too high swap partition size or swap file size (this will probably require some experimenting). Or use zRAM/compcache (in cyanogen settings) to use part of RAM for swap. Or go without swap (again, will need some experimenting to see what configuration gives best results)
Click to expand...
Click to collapse
Hi mate, thanks for your reply!
Yup I know about the basics of flashing/updating a rom from the recovery, but what I was asking in my question was about those specific steps (like creating the ext partition that you've mentioned, as well as the setup for the swap configuration). The previous versions didn't have this so flashing/updating was pretty straightforward. But now, we need to to these specific steps in order to make the ROM flash or work successfully on our phone, so I'm not sure how to do it.
I know what ext partition is, but how do I create one? I've seen many instructions out there but I'm not sure they work specifically for this ROM, is there a particular size I need to create, etc etc?
Same goes for the swap configuration, what's the recommended setting that most people use without any problems?
No need to partition
chaoscreater said:
Hi mate, thanks for your reply!
Yup I know about the basics of flashing/updating a rom from the recovery, but what I was asking in my question was about those specific steps (like creating the ext partition that you've mentioned, as well as the setup for the swap configuration). The previous versions didn't have this so flashing/updating was pretty straightforward. But now, we need to to these specific steps in order to make the ROM flash or work successfully on our phone, so I'm not sure how to do it.
I know what ext partition is, but how do I create one? I've seen many instructions out there but I'm not sure they work specifically for this ROM, is there a particular size I need to create, etc etc?
Same goes for the swap configuration, what's the recommended setting that most people use without any problems?
Click to expand...
Click to collapse
I have been updating without changing anything like partition. Its working fine just apply the update thru recovery... as a matter of fact I have not even switched to 2nd boot recovery...
i try to hold my MiniMod OR up to date, so if nadlabak released a update of 2ndboot OR i merge it in my MiniMod OR
if you want to create ext/swap partition on your sdcard, you can just use my MinoMod OR, i include there a new menu called SD Tools, there you can resize the sdcard, so no data will be lose.
but safety first befor lose some data create a backup from the sdcard
in sd tools menu i also include my latest 98swapon script, it activate the swap partition an cm7/10 if there a extra partition, if not it creates a swap file to use for swap