App2SD - cyanogen - Nexus One General

not sure if this has been answered yet as I don't think I can search in this app, but is there a way to enable app2sd on cyanogen 5.0.5.3?

Yes, under applications.

it's greyed out for me.

Is your sd card partitioned?

jerrycycle said:
Is your sd card partitioned?
Click to expand...
Click to collapse
...probably not. I'm assuming if it isn't there isn't an easy way to do so and keep my data?. .. or is there? .

Use recovery 1.7 cyanogen version to make a ext2 partition then upgrade it from ext2 to ext3 to ext4. Mount your sd card and back it up before wiping it.
1 Install recovery 1.7 cyanogen
2 Boot into recovery
3 select patition sd card option
4 select partition sd
5 choose 0 for swap 1 to 2 gigs for ext2 and the rest will be fat32.
5 once that is done go back into patition sd card options and select ext2 to ext3 then after thats done select ext3 to ext4.
Hope this helps
shep

shep211 said:
Use recovery 1.7 cyanogen version
...
1 Install recovery 1.7 cyanogen
Click to expand...
Click to collapse
Cyanogen did not write this recovery tool; Amon_RA created a CM-based theme for it as it was heavily requested. He also added in support for Soyars' Apps2SD implementation (what you are giving a how-to for).
You actually do not need to change ext types for this to work. For testing purposes, I left it as the stock ext partition type created by 1.7 and apps2sd works beautifully.

shep211 said:
Use recovery 1.7 cyanogen version to make a ext2 partition then upgrade it from ext2 to ext3 to ext4. Mount your sd card and back it up before wiping it.
1 Install recovery 1.7 cyanogen
2 Boot into recovery
3 select patition sd card option
4 select partition sd
5 choose 0 for swap 1 to 2 gigs for ext2 and the rest will be fat32.
5 once that is done go back into patition sd card options and select ext2 to ext3 then after thats done select ext3 to ext4.
Hope this helps
shep
Click to expand...
Click to collapse
thanks heaps

deprecate said:
Cyanogen did not write this recovery tool; Amon_RA created a CM-based theme for it as it was heavily requested. He also added in support for Soyars' Apps2SD implementation (what you are giving a how-to for).
You actually do not need to change ext types for this to work. For testing purposes, I left it as the stock ext partition type created by 1.7 and apps2sd works beautifully.
Click to expand...
Click to collapse
I never said it was made by Cyanogen. I know Amon_RA made it.

edit: deleted content, not important.

how can you revert the partition on the sd card?
i want to have the full space on my sd card just as it came from stock.

edit: deleted content, not important.

edit: deleted content, not important.

edit: deleted content, not important.

edit: deleted content, not important.

So that didn't seem to work.
I tried without the updating of ext3 and ext4 and no dice.
I finally SEEMED to have gotten it to work. I did the partition of:
SWAP 0
EXT2 2048
REMAINDER
Anyways, I did this WITHOUT the ext3 and ext4 updates. When I went into the OS, the App2SD is enabled and the SD card mounts fine.
Hopefully this will continue to work. Any1 know what the problems are without updating to ext4?

edit: deleted content, not important.

tonnic said:
well that didn't work well. my phone became unresponsive and then the screen wouldn't come on.
Click to expand...
Click to collapse
jesus i hope its fixed..
A REALLY EASY WAY TO PARTITION YOUR MEMORY CARD IS AS FOLLOWS...
back-up your card
download Clockwork Recovery MOD from the market
buy the pro version because this guy is a genius*
+you might have to in order to partition idk
click partition memory card (something like that)
i clicked 512MB then 256MB for the second option.
works amazingly

tonnic said:
well that didn't work well. my phone became unresponsive and then the screen wouldn't come on.
Click to expand...
Click to collapse
Do you have a linux distro handy?
if so, you can use Gparted to create the partitions. You might need a microSD adapter though, as it seems to have trouble finding the mount point if it is in the phone.

edit: deleted content, not important.

Related

SD card lost with message "Removed SD card" after update to cyanogenmod

Did not get any help in cyanogenmod thread, so creating a separate thread here.
I am in trouble. After I updated my ROM to cyanogenmod 3.6.7.2 (with his recovery image 1.3.1 and latest radio) I get a message saying: "Removed SD Card" in the notification and I am getting force closes in apps which access sd card.
Why did it remove my sd card? I have the following partition structure"
c (formatted fat32) 2GB - this is what used for upgrading the radio and rom.
83 (formatted ext4) 6GB
c (formatted fat32) 7GB
82 (mkswapped) whatever left off from 16GB card.
Is this structure causing the issues? I used Linux 2.6.30 and e2fsprogs 1.41.7 to format ext4 and dosfstools 3.0.2 to format fat32 FSs.
I ran fix_permissions from recovery console because I was getting FCs in powermanager (which logs files on SD card).
Also, if I boot into the recovery console, I can mount /sdcard and it automatically mounts the first fat32 partition on /sdcard. I can 'fdisk -l' and see all my partitions are there. So, its not a hardware issue. Some sort of chicken&egg because of apps2sd.
I just mounted the partition2 (which is ext4) in recovery console and I can see there are "app app-private dalvik-cache lost+found" folders on it. So, it looks like normally initialized.
Does anybody know what's going on here? Appreciate your help!
It's the same response you've been getting in the other section.
Try backing up your data on your computer, and completely formatting your card to fat32.
From there, instead of making the partitions on the computer, use the Recovery Console (accessed from Cyano's Recovery) and re-create the partitions as you like.
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
devsk said:
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
Click to expand...
Click to collapse
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
akapoor said:
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
Click to expand...
Click to collapse
Yeah, I just removed the 3rd and 4th partitions from recovery console and the card is recognized and working fine. Now, I need to find out why is it hard coded like that.
It seems like something doesn't like more than 3 partitions on the SD card. I now have 3 partitions with 'c' (fat32), '83' (ext4) and 'c' (fat32) codes and it seems to work fine.
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
B-man007 said:
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
Click to expand...
Click to collapse
I've heard this repeated elsewhere but nobody ever actually says what the problem is with partitions greater than 1.5gb. I'm very curious to know, because I haven't noticed anything wrong.
Except that /sdcard won't automount if my sd card has 4 partitions defined on it. As soon as I mark the 4th one empty and reboot, it's fine again. But that has nothing to do with the size of the ext fs on partition 2. Something with vold is funky, because I can mount /sdcard manually from adb.

Apps 2 SD on Modaco 1.1 ROM

Hi there,
I've got everything working on my newly reflashed Sprint Hero. (Thanks to everyone that contributed to the gigantic thread....read all (currently) 28 pages...you guys made it easy).
My question is whether apps 2 sd is actually working?
I've put completely bare ROMs on my hero (reverted back to stock ROM, wiped it, wiped & partitioned the sdcard to fat32, ext2 & swap, then flashed with 1.1). I then go to install an app and it doesn't show up on the SD card and my internal memory decreases (indicating that its not on the SD card?)
Don't think I've missed any relevant details, but Im keen to get this working.
Any help would be greatly appreciated.
It sounds like you did everything correctly.
try this:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/sd
ls
This should say:
[0;0mapp [0m
[0;0mapp-private [0m
as in /system/sd/app
/system/sd/app-private
then type:
cd /system/sd/app
ls
this should list the programs on the ext2 partition of your sdcard and, if you type:
cd /data/app
ls
you would still see the programs listed, but it is just telling you what you have installed they are not actually there, from what I understand.
Also, the internal memory on my phone also went down, but it went down 5 or so mb instead of 20 or so mb.
While I'm here would you mind telling me if when you said
dom2114 said:
(reverted back to stock ROM, wiped it,...
Click to expand...
Click to collapse
do you mean you reverted to a Nandroid backup then you performed a factory reset, and then flashed with 1.1, because I was wondering if this is possible?
hi there crake
really appreciate the detailed reply.
did everything you said and everything was exactly as you described, except that in /system/sd, i also have a lost+found folder
did the next 2 steps you outlined and yes, /data/app was a duplicate of /system/sd/app. I didn't realize that these were the locations (one being the actual location and the other being the 'symlink') of the ext2 partition.
One final question for you. How big was your fat32 partition? It didn't look like there was a way to control how big you want the fat32 partitions relative to the ext2 partition (& the swap partition...not sure what that is).
In answer to your question: yes, thats exactly what I did.
I wanted a 100% free implementation of modaco 1.1 (i.e. no apps etc). Here's what i did just FYI:
Flashed my nandroid backup back on
Hard reset it
Turned the phone on and just put my basic gmail/facebook login details in
Turned it off and decided to take another nandroid backup in case I wanted to go back to this state...(so I now have 2 nandroid backups)
Enabled USB transfer and copied this new backup off
Wiped the SD card & dalvik cache and then partitioned the card to fat32, ext2 and swap
Transferred the Modaco ROM to the SD Card
Flashed the phone w/ Modaco
End result was a 100% 'stock' Modaco ROM...if that makes any sense.
Appreciate an answer and any info as to the partition sizes.
EDIT:
Realized that this 'new backup' I performed (in the 4th step above) is useless if I end up wiping/repartioning the sdcard as this ROM refers to apps that the modaco ROM moved to the SD. These will obviously be removed after a format/repartition.
Thanks for the info, I used the 2gb (1.8-ish) sd card that came with my phone, after partitioning, the fat32 partition was somewhere around 1.4 gb. There was no option to modify partition size so I assumed it partitions the ext2 to a predetermined size and the rest is partitioned as fat32.
crake001 said:
Thanks for the info, I used the 2gb (1.8-ish) sd card that came with my phone, after partitioning, the fat32 partition was somewhere around 1.4 gb. There was no option to modify partition size so I assumed it partitions the ext2 to a predetermined size and the rest is partitioned as fat32.
Click to expand...
Click to collapse
I believe its around 450MB, mine is like 446MB as ext2, the rest of my 8GB sd card is FAT32. It automatically did this, but when I go to All Applications, Apps to SD isn't even listed as an installed application. I went to the market place and installed Apps to SD 2, and it told me I needed to read the tutorial (wtf ?).
So my guess is, the MoDaCo ROM does all the work for you that the Apps to SD program would normally do, and it just always saves it to your SD card.
simplyphp said:
I believe its around 450MB, mine is like 446MB as ext2, the rest of my 8GB sd card is FAT32. It automatically did this, but when I go to All Applications, Apps to SD isn't even listed as an installed application. I went to the market place and installed Apps to SD 2, and it told me I needed to read the tutorial (wtf ?).
So my guess is, the MoDaCo ROM does all the work for you that the Apps to SD program would normally do, and it just always saves it to your SD card.
Click to expand...
Click to collapse
Yeah, thats the conclusion I came to. In the adb shell, if you type apps2sd, something starts happening...Im not smart enough to know what though. Figured Id mention if someone wants to play around
Thanks you all for the info. This was exactly what I was looking for. Wanted to know the size of the ext2 partition and how to control it if we even could but looks like it's automatic as stated. Then to find a way to check to make sure the apps were getting installed on the partition.
I installed the MoDaCo 1.1 over top of all my apps/settings etc. I do have my SD card partitioned via my recovery image option.
What do I need to do to get all those apps over to my sd card and off my phone?

[Q] Move apps from sd-ext to NAND, then repartition SD card

Hi guys,
I've installed a CM7 ROM then installed S2E, then flashed an AOSP build to replace it. When I try to use S2E to move the apps back to NAND from sd-ext, it shows up in NAND in the first couple of boots, but later on goes back to sd-ext without S2E doing the job. I kinda figured that it's built into the ROM to move the apps to sd-ext.
What would be the safest way to move the apps from sd-ext back to /data/app, and then repartition my SD card into a single partition and use its whole storage capacity?
Thanks in advance!
ejebyte said:
Hi guys,
I've installed a CM7 ROM then installed S2E, then flashed an AOSP build to replace it. When I try to use S2E to move the apps back to NAND from sd-ext, it shows up in NAND in the first couple of boots, but later on goes back to sd-ext without S2E doing the job. I kinda figured that it's built into the ROM to move the apps to sd-ext.
What would be the safest way to move the apps from sd-ext back to /data/app, and then repartition my SD card into a single partition and use its whole storage capacity?
Thanks in advance!
Click to expand...
Click to collapse
try link2sd in the market,it's free,but once you've moved all u want to,boot into recovery and wipe cache partition and wipe dalvik,that MIGHT do the trick
one question, how do you want to partition your sd? i mean one fat or one ext partition? But seriously, one partition is a bad idea, i wouldnt recommend that.
@Ty5982, Thanks for the input! Will try that later.
@greg17477, I'm using Windows so I want to format it to a single Fat32 partition. What's your recommendation?
Partition ur sd card in recovery with 1gb and swap size 64mb,THEN,open link2sd and when u 1st open it,it checks your phone and sd card then prompts u were u want to send apps to,ext 2,3,4 or FAT 32,select FAT 32 as its what u want,then a error msg will appear,reboot,then open link2sd and now you've got your fat 32 lol
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Ty5982 said:
Partition ur sd card in recovery with 1gb and swap size 64mb,THEN,open link2sd and when u 1st open it,it checks your phone and sd card then prompts u were u want to send apps to,ext 2,3,4 or FAT 32,select FAT 32 as its what u want,then a error msg will appear,reboot,then open link2sd and now you've got your fat 32 lol
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Click to expand...
Click to collapse
Won't that have moved his apps to a fat32 partition?
If I'm reading this correctly what the OP wants is to move his apps to NAND so he can format his sd card to its full capacity in FAT32, presumably so he can use it as a normal SD card (eg for a camera, moving files etc)
I personally use a very popular app called DarkTremors Apps2SD GUI, it comes preinstalled on a lot of custom ROMS. This app checks where your apps are when you launch it, and gives you the option to either move them to SD-EXT or back again. Launch APPS2SDGUI, let it check your system, then click 'Apps are on SD!' to move them back to NAND.
P.S. I don't think you can wipe the SD-EXT partition off the SD card using Windows' built-in formatter. There are lots of freeware apps that can and will do this though, google is your friend =]
jwchips said:
Won't that have moved his apps to a fat32 partition?
If I'm reading this correctly what the OP wants is to move his apps to NAND so he can format his sd card to its full capacity in FAT32, presumably so he can use it as a normal SD card (eg for a camera, moving files etc)
I personally use a very popular app called DarkTremors Apps2SD GUI, it comes preinstalled on a lot of custom ROMS. This app checks where your apps are when you launch it, and gives you the option to either move them to SD-EXT or back again. Launch APPS2SDGUI, let it check your system, then click 'Apps are on SD!' to move them back to NAND.
P.S. I don't think you can wipe the SD-EXT partition off the SD card using Windows' built-in formatter. There are lots of freeware apps that can and will do this though, google is your friend =]
Click to expand...
Click to collapse
@Ty5982, unfortunately it didn't work. It went badly and I lost the apps in sd-ext so I ended up restoring them..
@jwchips, thanks! Will try that one instead. Yep, I've read about the tools/apps that can be used to partition/format storage devices with EXT. Thanks again.
ejebyte said:
@Ty5982, Thanks for the input! Will try that later.
@greg17477, I'm using Windows so I want to format it to a single Fat32 partition. What's your recommendation?
Click to expand...
Click to collapse
well i would recommend tu have 2 partitions, ext and fat. Just to be safe or prapared in case your want to try a different rom. Nowadayes almost every rom uses ext partition. And you won't run out of space, if you install some more apps.
greg17477 said:
well i would recommend tu have 2 partitions, ext and fat. Just to be safe or prapared in case your want to try a different rom. Nowadayes almost every rom uses ext partition. And you won't run out of space, if you install some more apps.
Click to expand...
Click to collapse
I see. Thanks! Currently I have a 512MB EXT partition on my SD card. I thought I'd be able to choose which apps to move there but it seems my ROM automatically symlinks the apps installed to the EXT partition.
So I decided I want to just install the apps to NAND since I don't really install a lot of apps and I'm using a TMOUS HD2, just for an extra boost in performance compared to when apps are installed to SD-EXT. Then I'll just selectively move apps to SD.
ejebyte said:
I see. Thanks! Currently I have a 512MB EXT partition on my SD card. I thought I'd be able to choose which apps to move there but it seems my ROM automatically symlinks the apps installed to the EXT partition.
So I decided I want to just install the apps to NAND since I don't really install a lot of apps and I'm using a TMOUS HD2, just for an extra boost in performance compared to when apps are installed to SD-EXT. Then I'll just selectively move apps to SD.
Click to expand...
Click to collapse
ah ok, on TMOUS HD2 you might do not need an ext partition
greg17477 said:
ah ok, on TMOUS HD2 you might do not need an ext partition
Click to expand...
Click to collapse
That's what I've figured..
I might just back-up everything then re-flash and repartition my phone and SD card. Anyway, thanks everyone!
ejebyte said:
That's what I've figured..
I might just back-up everything then re-flash and repartition my phone and SD card. Anyway, thanks everyone!
Click to expand...
Click to collapse
Hi, I hope you guys are still around, I´ve been looking for an answer and can´t find anything, heres the question I posted on another thread:
I´ve been having trouble with my phone freezing even after full wipes, so I´ve come to the conclusion my sdcard is corrupt.
So I want to go through the Gparted process to format and re-partition my sdcard.
Currently I have 16GB class 6, which has the recommended FAT32 and 1GB ext4.
Is it safe (or even possible) to format the sd card now. I tried with Gparted and only the FAT32 partition showed up???
The rom is runnymede aio which requires the ext4
Thanks
colinmc8 said:
Hi, I hope you guys are still around, I´ve been looking for an answer and can´t find anything, heres the question I posted on another thread:
I´ve been having trouble with my phone freezing even after full wipes, so I´ve come to the conclusion my sdcard is corrupt.
So I want to go through the Gparted process to format and re-partition my sdcard.
Currently I have 16GB class 6, which has the recommended FAT32 and 1GB ext4.
Is it safe (or even possible) to format the sd card now. I tried with Gparted and only the FAT32 partition showed up???
The rom is runnymede aio which requires the ext4
Thanks
Click to expand...
Click to collapse
be sure to format both partitions as primary.

Copying from one partitioned SD card to another

I'm trying to understand the most convenient way to make a copy of an SD card that has an EXT partition on it. This would need to be done anytime you upgrade from a smaller to a larger SD card, so I have to believe a number of people on these forums have dealt with it.
This is what I'm expecting to be done... please confirm if it's correct:
Make a nandroid backup, stored on the old SD card
Copy the nandroid backup to PC
Install new SD card and partition it accordingly
Copy nandroid backup to new SD card
Perform a nandroid restore
At this point, everything should be as it was, with the larger SD card. Correct? I've also noticed an alternative that would probably work, that being a partition management program like EaseUS.
My 32Gb SD card arrived so I downloaded Mini-Partition to set it up. Then when I went to copy the EXT3 partition from my 8Gb SD card, the option wasn't possible. Apparently I can't copy it into a larger EXT3 space, only unallocated space. So, I removed the target EXT3 partition, making it unallocated, and then tried to copy and resize. Apparently the tool won't let you resize an existing EXT3 partition. I installed EaseUS to try this operation and encountered the same thing.
From what I've just experienced, I'm now thinking that if I try to restore a nandroid backup onto my new card, it will override the newly minted EXT3 partition with the smaller EXT3 partition.
Searching around turned up a lot of Ubuntu/Linux information, requiring one to boot up in those operating systems and execute a long series of commands to enlarge the EXT3 partition. I'd rather not go down that path right now. Is there some easier way of doing this? If not... then I'm thinking what I need to do is move as many apps having data I need to my phone, then just opt not to restore the EXT3 partition and go back to manually move apps to the EXT3 partition again.
* bump * .... anyone?
cytherian said:
* bump * .... anyone?
Click to expand...
Click to collapse
What rom are you running?
Shelnutt2 said:
What rom are you running?
Click to expand...
Click to collapse
Presently running CM7.2, which supports EXT3. I'm just not getting how I can manage the EXT3 partition. When I switch to a new ROM and wipe the system, then all apps installed on the EXT3 partition would be deleted, correct?
So, what this ultimately means is that each and every time I switch ROMs, the EXT3 partition must be wiped and applications manually moved back there. It's annoying, but I haven't found any other way around this.

Not enough memory to install anything

Hi,
Short / long story:
I have long time unused HTC HD2.
With Android (NexusHD2-KitKat-CM11.0_V4.5.zip is the file which I found in backup, so I assume this is what I install - sorry, it was long time ago.
Some time ago I need microSD card so I took it from my HD2, I did backup only windows FAT32 partition.
Now, I need to run my HD2 , I have install microSD 2 GB (800 MB FAT32 + 1GB Ext4) but is not working correctly.
It starting I can install Teamviewer, but when I need to install HTC module for teamviewer it's telling me that is not enough storage.
Quite often is restarting and after restart not keeping any settings (wi-fi) app installed (teamviewer) it's resetting each time to factory settings.
In Settings - Storage shows 'Total space' - Available 0.00 bytes
I did what is instructed on this webpage but it didn't help http://android.stackexchange.com/qu...mory-in-android-nand-roms-cannot-install-apps
Can anybody advise me which is the easiest way to make my HD2 working properly? Means have enough memory to do anything.
The purpose of restoring my HD2 is working as a router, tethering machine. I need to share internet from mobile network for smart TV and Tablet over wi-fi. It will be unattended so I need remote control access (team viewer host).
I'm open for a suggestion of changing the ROM if there is something reasonable easy and described (as I'm not big ROM expert). i've seen a ROM list for HD2, is too long.
Thanks in advance for your help.
it sounds like you are missing a data partition, perhaps the sdcard you used before had an ext4 partition which your new one does not have. Use recovery, in nand, to create an ext4 partition, then boot into rom, might work.
Robbie P said:
it sounds like you are missing a data partition, perhaps the sdcard you used before had an ext4 partition which your new one does not have. Use recovery, in nand, to create an ext4 partition, then boot into rom, might work.
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
I did Ext4 by MiniTool Partition under Windows primarily.
And later in recovery, I have setup 1024MB and swap = 0 M.
It didn't help.
Should I mount it or so?
Update:
I have a look in log in nand - recovery and it's says that my second partition is Ext3 not Ext4.
And there is no way to change it.
What is your nand recovery? version?
Clk or magldr?
The recovery might say ext3 when it means ext4, but it does not seem right.
Robbie P said:
What is your nand recovery? version?
Clk or magldr?
The recovery might say ext3 when it means ext4, but it does not seem right.
Click to expand...
Click to collapse
It says on the top bar screen 'CWM-based on Recovery v5.0.2.6' but was install with ROM so should be fine.
try using the recovery to format the ext partition to ext2 or 3 then use it again to ext4
Robbie P said:
try using the recovery to format the ext partition to ext2 or 3 then use it again to ext4
Click to expand...
Click to collapse
As I said, I have created and formatted partitions under windows FAT32 & Ext4 and then under recovery, there was no choice of the file system file, I can only choose the size. And it was formatted to Ext3 - log saying.
badzi0r said:
As I said, I have created and formatted partitions under windows FAT32 & Ext4 and then under recovery, there was no choice of the file system file, I can only choose the size. And it was formatted to Ext3 - log saying.
Click to expand...
Click to collapse
Here's the solution:
http://forum.xda-developers.com/showpost.php?p=38956440&postcount=4
Thank you

Categories

Resources