[Q] Why isn't apps2ext supported on Cyanogenmod? - Nexus One Q&A, Help & Troubleshooting

Hi, I have my phone usually a little bit too stuffed with apps, and even now with cyanogen, I'm starting to receive space warnings again. I know the easy answer is to make some room by erasing unneeded apps, but I'm not so eager to get rid of many of them. (Then I wonder why the heck the dolphin browser hoards 20MB of the internal memory even though the app has been clearly stated to store the cache on the SD).
Anyway, I was toying with the idea of the apps2ext, which I believe allows to move all the apps (or the system partition) to an ext3 partition on the SD, hence freeing a lot of space on the phone. I decided to read onto some documentation, just to find Cyanogenmod doesn't support it. And my question would be, why? Is there any problem with this kind of messing?
Thank you!

Depends what you mean by apps2ext, because that term gets used for generic processes, as well as specific implementation methods.
There are a number of methods than can be used with Cyanogen, such as Darktremors script, out even apps such as S2E, or Link2sd...

danger-rat said:
Depends what you mean by apps2ext, because that term gets used for generic processes, as well as specific implementation methods.
There are a number of methods than can be used with Cyanogen, such as Darktremors script, out even apps such as S2E, or Link2sd...
Click to expand...
Click to collapse
Huh...Thanks, now I'm confused...Where could I find some information regarding the differences between each one?
Thanks a lot!

danger-rat said:
Depends what you mean by apps2ext, because that term gets used for generic processes, as well as specific implementation methods.
There are a number of methods than can be used with Cyanogen, such as Darktremors script, out even apps such as S2E, or Link2sd...
Click to expand...
Click to collapse
Apps2Ext is typically DarkTremor or a variation of it, but must admit I've never heard of the others.
I think the point here is to use an Ext partition rather than the daft FAT .android_secure Apps2SD in Froyo onwards.

Darktremors is more commonly known as a2sd.
When talking Cyanogen, apps2ext typically refers to the older system that was in place in CM5, but has since become unsupported. This is possibly where the confusion arises?
From what I can gather, the old apps2ext made some trick use of repartitioning to exploit the unused cache space that occurs on CM, as well as moving apps to the ext partition. Firerat has a working version, but it is no longer integrated in the ROM. I've used it, and you get way more space than with DT, but the maintenance is a nightmare... CM not longer support it because there are so many alternatives available (though none are as effective)...

danger-rat said:
Darktremors is more commonly known as a2sd.
When talking Cyanogen, apps2ext typically refers to the older system that was in place in CM5, but has since become unsupported. This is possibly where the confusion arises?
From what I can gather, the old apps2ext made some trick use of repartitioning to exploit the unused cache space that occurs on CM, as well as moving apps to the ext partition. Firerat has a working version, but it is no longer integrated in the ROM. I've used it, and you get way more space than with DT, but the maintenance is a nightmare... CM not longer support it because there are so many alternatives available (though none are as effective)...
Click to expand...
Click to collapse
IMO A2SD or Apps2SD is too vague, so I (and other folks) refer to it as Apps2Ext to differentiate it from Froyo's method.
And as for how CM5 did it, wasn't that just using DarkTremor? I could certainly be wrong, as I've only recently started using CM on my Nook Color.
I still assume the OP wants an Ext partition on his SD card used for Apps, aka: Dark Tremor.

khaytsus said:
And as for how CM5 did it, wasn't that just using DarkTremor?
Click to expand...
Click to collapse
Yes. DT was integrated into CyanogenMod ROM 5.0x. Then there was great wailing and gnashing from many when CM6.x releases lacked DT. TeamDouche stated that they planned to put it back in for CM7, but they never did.
OP: Please visit DarkTremor's XDA thread to learn how easy it is to implement on CM6/CM7.

No, CM5 (and 6) was NOT just DT integrated. Read this:
http://forum.cyanogenmod.com/topic/19160-modhow-to-apps2ext-for-cm7-updated-03312011/

10th Post!!!
danger-rat said:
No, CM5 (and 6) was NOT just DT integrated. Read this:
http://forum.cyanogenmod.com/topic/19160-modhow-to-apps2ext-for-cm7-updated-03312011/
Click to expand...
Click to collapse
Thanks for the link... not applicable to my assertion AT ALL. Read the page twice, nada.
Please visit this one:
http://wiki.cyanogenmod.com/index.php?title=Apps2SD#Apps2EXT
The CM5 releases implemented a extX partition scheme that later came to be known as DarkTremors Apps2EXT. CM6 did not.
Another link, posted by none other than Firerat (possibly Danger-rat in a former life?). I guess the scripting/symlinking came along in the later, excised incarnations dubbed DarkTremor's Apps2SD, then Apps2EXT:
http://forum.xda-developers.com/showpost.php?p=6385186&postcount=2581

Your link to the CM wiki states that the apps2ext solution was integrated into the framework, not a script that tricks the phone into thinking the ext is internal memory...
Here you have Firerat (no relation) providing a solution to the apps2ext problem, where "the base is from CM5":
http://forum.cyanogenmod.com/topic/...p2sd-built-in/page__view__findpost__p__166163
Note that Firerat states that it is not perfect, but "better than scripted a2sd solutions" (read Darktremors)
Here is the xda Darktremors thread, with the title containing "Script" and "a2sd":
http://forum.xda-developers.com/showthread.php?t=715940
The CM apps2ext and Darktremors are not the same thing...

Whoops
Ok. Thank you.

danger-rat said:
Darktremors is more commonly known as a2sd.
When talking Cyanogen, apps2ext typically refers to the older system that was in place in CM5, but has since become unsupported. This is possibly where the confusion arises?
From what I can gather, the old apps2ext made some trick use of repartitioning to exploit the unused cache space that occurs on CM, as well as moving apps to the ext partition. Firerat has a working version, but it is no longer integrated in the ROM. I've used it, and you get way more space than with DT, but the maintenance is a nightmare... CM not longer support it because there are so many alternatives available (though none are as effective)...
Click to expand...
Click to collapse
Hi guys, thank you very much for all the useful information! So, as you say, it's a maintenance nightmare...does it means trouble when updating the rom? What are the risks? I'm gibbs search a little bit regarding this dark tremor...thank you!

Darktremor isn't the nightmare, the repartitioning trick is. I would recommend using Darktremor, and staying away from the fancy stuff, unless you are really confident about what you are doing...

Ahh ok, from what I saw it involves a bunch of options in the boot menu. I was doing the goddamn backup of the SD card, it took ages. Now I'm ready to start. It's a pity there isn't yet a partitioner that makes the partitions without erasing your data (kind of partition magic of sorts).

timonoj said:
Ahh ok, from what I saw it involves a bunch of options in the boot menu. I was doing the goddamn backup of the SD card, it took ages. Now I'm ready to start. It's a pity there isn't yet a partitioner that makes the partitions without erasing your data (kind of partition magic of sorts).
Click to expand...
Click to collapse
Isn't GParted able to do this?
Btw, if you don't want to play through recovery menu, go get S2E from Market, it is free and it works great IMO

Sooo here I am again!
I'm not sure at all if this is working. After booting the first time (it took a looong time), I was greeted with a "welcome to Nexus One" home screen. I have lost all my data, apparently. Not very sure regarding that.
I'm also not very sure if this is working at all?
Let's see, I made a 1024MB Ext4 partition, inside the 16GB SD card. Now when I see Manage Applications, it shows me 136MB free...But I don't get it, wasn't I supposed to have more space?
The other possibility I'm thinking, it's just listing the internal memory space, while all the applications are in the SD Ext4 partition.
If that's the case, then if I install stuff, it won't be listed, and I won't be able to know how much space I have left, right?
I don't know, can anybody clarify this? Thank you!

If you're using the DT script, you need to activate it by typing either "a2sd install" (apps only), or "a2sd cachesdreset" (apps and dalvik) into a terminal emulator (need to type "su" first, to get superuser rights).
To see better idea of the space allocations, use Titanium. It has a nice breakdown on the first page...

Yup, I typed the commands from the adb shell, which I reckon is the same. But now everything seems like a big loss in contacts and stuff.
I have a question: If I install a new rom (cyanogen nighties, I'm running), will I lose the DarkTremor script? And if I restore a full backup made with Clockworkmod?
I'll try to fight with Titanium backup, but for each app to restore I have to manually accept the installation...Seems a lil bit pain in the ass

Are you sure your contacts are set to sync? You can lose that setting from nightly to nightly...
When updating between nightlies, I believe you can flash the nightly then the DT script and all should be good (I always wipe).
The DT settings etc will be backed up with CWM backup, so you can restore that and it will include the ext also.
If you buy Titanium Pro, you won't have that problem... xD

timonoj said:
Sooo here I am again!
I'm not sure at all if this is working. After booting the first time (it took a looong time), I was greeted with a "welcome to Nexus One" home screen. I have lost all my data, apparently. Not very sure regarding that.
I'm also not very sure if this is working at all?
Let's see, I made a 1024MB Ext4 partition, inside the 16GB SD card. Now when I see Manage Applications, it shows me 136MB free...But I don't get it, wasn't I supposed to have more space?
The other possibility I'm thinking, it's just listing the internal memory space, while all the applications are in the SD Ext4 partition.
If that's the case, then if I install stuff, it won't be listed, and I won't be able to know how much space I have left, right?
I don't know, can anybody clarify this? Thank you!
Click to expand...
Click to collapse
Manage Applications only shows how much ROM space is left
If your really want to check the space usage, you could try Free Space or Titanium Backup from the market

Related

Rooted G1 with Cyanogen... only 14 MB internal Memory left?

Ok Guys, new to this site, hopefully y'all can help me out.
I recently rooted my G1, Installed the latest Cyanogen (4.7.2.1) and installed a theme ( Marks Theme). I dont have very many apps cause I didnt want to bog down the phone memory.....
I love the set up but it started running slower even after I started running the over clocker widget.
My phone is only showing 14.18 MB of free internal memory. I went through my applications installed and can only find around 25 MB being used from all installed apps ( including browser and messaging etc.)
I even tried to do a factory reset ( by going through the settings) and the factory reset is not working. It changed nothing.
Is there something that Im missing? I feel like I should have much more free memory.
I love the way my phone works and the set up, I just wish it had more free memory so that it would run faster.
Ive thought about doing the Apps2SD but I feel like I chould have much more memory on my phone even before doing something like that.
PLEASE HELP!!!!!!
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
You could always upgrade to the new amon ra and then let it partition the sd card for you.Then you can have all that free phone storage for whatever it is.Bext time just try to restrict yourself from posting in wrong section
-Best regards
IConrad01 said:
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
Click to expand...
Click to collapse
Thank you for the quick response. Is there a way to move this thread?
Also is there a better ROM that will take up less memory? I like this version but obviously it is wayy to large.
Anyone else running cyanogen 4.7.2.1 having this issue?
Most people using the Cyanogen ROM also utilize A2SD. Partition your SD card and you'll get more room.
pewterwest said:
Anyone else running cyanogen 4.7.2.1 having this issue?
Click to expand...
Click to collapse
There is no issue, you just don't have an ext partition ergo, all applications are installed to your phone which is why you have low phone memory.
pewterwest said:
Thank you for the quick response. Is there a way to move this thread?
Also is there a better ROM that will take up less memory? I like this version but obviously it is wayy to large.
Anyone else running cyanogen 4.7.2.1 having this issue?
Click to expand...
Click to collapse
Hello! app2SD will put the apps to ext...Then you will have more memory, why do you think people use it? To save even more money on geico?
Go here for the amon recovery...
http://forum.xda-developers.com/showthread.php?t=566669
Hi, first of this has nothing to do with development, should be in Q&A. Please remember for next time
OK, when you're on a custom ROM, don't use factory reset. Instead boot in to the recovery image and perform a wipe from there, and that's exactly what I'd suggest. Be prepared to loose everything stored on the phones memory, but you can use a backup app from the market for that... No you really should way more space than that, I can't really explain why...
IConrad01 said:
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
Click to expand...
Click to collapse
The phone has two main partitions: /system and /data. It isn't /system that's filling up, it's /data (which makes sense...). The phone can't write to /system when it's unrooted, so it's not possible to store files there...
Everyone is trying to help but for a noob it can be a bit too much...4.2.7.1 is the best Rom available so keep that....RA Recovery is the best way to set up your memory card to accept your apps and keep them there freeing up a ton of space on the phone....simple way to fix is....Just format you sdcard with EXT3 using the RA-recovery v1.5.1 then once your card is formatted just reboot and Cyanogen's rom will move all the apps for you.....will not need to wipe any info on the phone that way...done it many times......Pm me if you need help!!!!
EDIT:
some threads to help:
Ra - Recovery:
http://forum.xda-developers.com/showthread.php?t=566669
OR-
[REF] manual partition of sdcard w/parted,goto ext3/4 from adb. no liveCD req'd
http://forum.xda-developers.com/showthread.php?t=534714
Young Money. Cash Money.
(partition sd card)
The non rooted standard T-Mobile rom is about the same size and will give you about the same amount of free space. There could be a more barebones rom but I think it's just a lot easier to run Apps2SD then to create a rom that might get you an extra 10mb of internal space. This is the fault of the internal memory on the phone being small. The only way to fix that is getting Apps2sd running which if you make a partion of 100mb should be enough to install all the apps you need. Getting a larger SD card for $10 is also another option so you wont have 1/10th of your sd cards storage gone.
djdarkknight96 said:
Everyone is trying to help but for a noob it can be a bit too much...4.2.7.1 is the best Rom available so keep that....RA Recovery is the best way to set up your memory card to accept your apps and keep them there freeing up a ton of space on the phone....simple way to fix is....Just format you sdcard with EXT3 using the RA-recovery v1.5.1 then once your card is formatted just reboot and Cyanogen's rom will move all the apps for you.....will not need to wipe any info on the phone that way...done it many times......Pm me if you need help!!!!
EDIT:
some threads to help:
Ra - Recovery:
http://forum.xda-developers.com/showthread.php?t=566669
OR-
[REF] manual partition of sdcard w/parted,goto ext3/4 from adb. no liveCD req'd
http://forum.xda-developers.com/showthread.php?t=534714
Click to expand...
Click to collapse
Guys thank you very much for your help..... i partioned my sd and now i have 58.8 MB free on internal.... you guys are great.
Is there anything else i can do besides rooting, apps2sd and overclocker to make even faster?
pewterwest said:
Guys thank you very much for your help..... i partioned my sd and now i have 58.8 MB free on internal.... you guys are great.
Is there anything else i can do besides rooting, apps2sd and overclocker to make even faster?
Click to expand...
Click to collapse
You can always try different roms. CM is good and fast, but maybe try dwang 1.13 or Wesgarner version. wg is based on CM. I find it faster and more stable but this is just my opinion. if you back everything up with nandroid and some app like mybackup, you can flash all you want. you'll be able to get everything back with a nandroid/mybackup restore. try different stuff out and figure out what you like!

Cripes, so confused about DarkTremor A2SD on CM7

I'm really surprised that there is no documentation on this thing that I can understand. I'm having major issues with CM7 with DT A2SD. Every one of my widgets is broken. I can't tell what's installed to EXT and what's not. If I go into Manage Applications, all of the widget apps are installed to phone. I have next to zero internal space left.
I need to know how I can differentiate what's on internal, what's on Froyo SD, and what's on DT A2SD - As well as how to move them and tell where each app is going.
i honestly wish i knew. this is on my list to do, but i didnt feel like formatting my memory card cause there's so much on it, so i am just hoping gingerbread improved method will give me enough space.
i wish there was a tutorial or wiki for DT A2SD. you prob should just read that whole thread and it is explained there somewhere.
Some quick commands executed from adb shell or even the terminal on the phone can give you some more information:
a2sd check will give you basic diagnostic information from the DT a2sd script - this will reveal what is running where (apps on /sd-ext, data location, etc).
ls -al /data will help you understand what a2sd actually does for you. If a2sd is set up correctly, you should see an entry similar to "app --> /sd-ext/app", which indicates your /data/app directory is symbolically-linked to your /sd-ext partition (the ext-formatted partition on your SD card). This makes Android see /sd-ext/app and /data/app as the exact same thing, and everything within that folder will actually reside on the /sd-ext partition. The same thing applies to the dalvik-cache.
You can find out more about using a2sd via the a2sd help command, which shows an easy-to-understand listing of the various a2sd commands available.
All the documentation is in DarkTremor's thread.
There is no choosing in A2SD. If it's installed - all apps that are shown as "internal" go to EXT partition. But the phone doesn't know it, and you won't see it in OS visually in any place.
You can choose if you're sending your app data and your Dalvik-cache to SD also, that you can do from the Terminal (command line).
I should probably mention that all apps that are installed to SD using stock Froyo method, remain there - and cause a waste of space. So using A2SD you should move ALL your apps to "internal memory" (substituted with EXT partition).
This is a handy link for Darktremor users...
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my Nexus One using XDA App
Hmm.. maybe I should had included some more info.
If I use Root Explorer and check my sd-ext folder, it does have apps within, and from install date I can tell they're from my CM7 install (plus I wiped everything including SD-EXT before flashing anyway). The problem is that some of these apps are things I do NOT want on SD-FAT or SD-EXT, I need them on internal (basically anything that I use with widgets, and LauncherPro). Pretty sure having widgets on EXT is what's causing my home screens to **** the bed.
Checked Install Location, right now that's set to Automatic.
If I go to Manage Applications, these apps appear to be on internal (Move to SD card is available on the button). I've read the FB page and original thread, I still see no way to differentiate between Internal, SD-FAT and SD-EXT - or how to move them between with certainty.
/sd-ext is the same as internal for all intents and purposes. You don't choose what apps to run off of /sd-ext, they all do. This is not causing your widget issues.
If you use DT a2sd, "Internal" becomes synonymous with "sd-ext". They are one and the same.
You SHOULD, however, move all of your apps off of SD-FAT - that is the implementation of "apps to sd" that breaks widgets.
Ok, I moved all of my apps off of SD-FAT and back to internal.. seems to be going well so far. The only thing I'm curious about now is that I didn't really get any space back, I still only have 21MB free (cleared browser and market cache as well). I've obviously messed something up somewhere along the line. Any ideas? I'm such a n00b at this apparently.
I really appreciate the help thus far guys!
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Jack_R1 said:
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Click to expand...
Click to collapse
On that note, moving the dalvik-cache is generally a better idea than moving /data/data. Better stability and compatibility and whatnot. Only bother with moving /data/data if you really really need the space.
You can move the dalvik-cache to sd with the a2sd cachesd command in either the terminal or adb shell.
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
level5music said:
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
Click to expand...
Click to collapse
Glad to help

[Q] HELP TY

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.

[Q] [Request] Need a way to boot 2nd partition (SDext) during boot time

Hi there,
So my N1 is rooted and has SuperOSR rom installed. The native app2sd that comes with the rom failed to work, so I disabled it and went back to the method I was using on CM7, Link2sd. I need a method to move apps/cache/lib files to sd-ext, as the tiny internal storage on the N1 is insufficient to hold even a 10th of the apps (and their data) that I have installed. And Link2sd has, at least in the past, been the perfect option to do so.
At first, all seemed well after installing and setting up Link2sd. Mount scripts were created with no problems, apps/cache/lib files all moved over to sd-ext without a hitch. Everything was going really well. Until I rebooted. Then, all hell broke loose.
The problem is this - for some reason, the second partition (sd-ext) is not being mounted during boot time. I'm not sure why, as this is exactly what the Link2sd mount scripts are supposed to accomplish. A Link2sd "mount warning" notice confirmed this problem, saying that "since 2nd partition was not mounted during boot time, linked apps will be invisible to the system until quick reboot". Indeed, every app that I had linked was not visible to the system, and most widgets on my homescreen showed only the message "problem displaying widget".
Luckily, a way to temporarily fix this is by simply quick-rebooting the rom. This will get the linked apps to show up again. But the problem is, widgets are still dead, input method gets reset (goes back from Swiftkey to native Android keyboard), and SMS gets reset back to the standard android SMS app. Of course, all of this can be changed back, but it takes time and effort to load each individual widget and restore each individual input/sms setting. It's really not practical every time you have to reboot your phone that you have to:
1. Quick-reboot the rom
2. Change input method back to Swiftkey
3. Manually restore every widget on your home screens
4. Change sms app back to Go sms.
So, my question is, how do I avoid having to do all this? I've already tried the "re-create mount scripts" option on Link2sd, but it doesn't matter. Still have the same errors upon rebooting phone every time. I'm pretty sure this means that the Link2sd mount scripts are either not being created correctly, or are being deleted every time the phone reboots. How do I fix this? Trying to get in contact with the developer of the app (bakpinar) has proven unsuccessful.
Does anyone know of any other scripts that I can flash/install that will successfully and consistently mount the 2nd partition (sd-ext) during boot time? I'm fairly certain that this is all I need, as everything else with Link2sd has been working correctly. Thanks in advance for any advice!
Ok, so since I haven't gotten any responses on this, I'm going to attempt two methods that i THINK might remedy this issue. The first one is this:
Method 1:
1. Full wipe and reinstall of SuperOSR rom
2. Format sd-ext to ext3 filesystem (found out that rom's native app2sd program wouldn't work due to my sd-ext partition being FAT32)
3. Enable rom's native apps2sd option upon booting.
4. Reboot
5. Install Link2sd from market, enable dex/lib file linking ONLY (native apps2sd program only moves app files, not dex or lib). Going to be interesting to see what link2sd says about the mounting scripts...
6. Reboot, collect results.
The 2nd method I'm going to try is this.
1. Full wipe and reinstall of SuperOSR rom.
2. Flash DTAPPS
3. Boot into ROM
4. Download and install test applications
5. Collect results
I'm not sure if either of these methods will work, however I know the 2nd method worked for CM. I will update a bit later as to which method (if any) fixed the issue. Sorry for the double post.
I commented to the ROM cook nelo360 a while back that there are some strange sd-ext mounting issues. If you look at the dmesg as it boots, it does post some strange error messages. Essentially, ext3 mounts as ext2, and ext4 mounts as ext3. Despite it not mounting as the proper format type, it still works.
Since the ROM is pulled off of AOSP, as CM is too, sort of, much of the same apps2sd apps probably work decently well.
Definitely need an ext3 or ext4 partition. As I'm understanding your post, that did not happen initially, and is crucial to many apps2ext to work, including the built-in one.
Really? Ext4 as 3 and ext3 as 2? Well that would explain why Link2sd was having issues. Hmm.
What I ended up doing was fully wiping the phone, flashing the rom, and then immediately afterwards flashing DTAPPS. Using the GUI interface found on the market, I moved apps to sd-ext and cache to sd-ext as well. The result has been mixed. While there was noticeably more space initially to install apps (something like 190mb internal), that space has declined at almost as fast a rate as when I had no apps2ext of any sort installed at all. This makes me think that while DTAPPS successfully moved some of the initially installed apps over to the sd-ext, it hasn't been moving any new ones i've installed or their cache files. I tried re-moving apps/cache with the gui interface and by using the old-fashioned terminal emulator method, but had no success. Still looking at about 100mb free space on internal. Considering that I only have about 1/4 of the apps installed that I usually have installed on my phone at any given time (I use A LOT of apps), it's become apparent that soon I am going to run out of space again.
As I can't find any method to fix this, I'm afraid I'm going to have to call it quits with this ROM and try something else. Which is a real shame, because stability-wise this ROM beats Cyanogenmod and other ROMS I've tried hands down, while not sacrificing many features. I guess for a user who doesn't use a lot of apps or need a lot of space for them, this ROM would be ideal. Unfortunately, I'm not that type of user.
One problem I've found is that with any automatic apps2sd/ext system is the control of what is actually on the SD vs. internal memory is hard to work out.
With the built in apps2sd, which you seem to have trouble with, not every app was transferred to ext. I found that with the built in system, my internal memory kept dropping until it hit 25 mb or so. However, it never really dropped below that. Everything I kept installing probably went to the ext partition. I installed a lot of apps, and it wasn't an issue. (But you're right, it may not be as many as you want).
I didn't have a great way to check this though. Root explorer showed both the data/apps/ folder and the sdcard/ext folder linked together, so it just listed everything together. I'd have loved a way to actually manually transfer whatever apps were on internal memory to ext, but never found an easy way to do so, or even to confirm what was in which directory.
So even though it looks like the internal memory is steadily and quickly dropping, if you continue to install, and have the two directories appropriately linked (sorry, I don't know what the difference between all the different kinds of scripting apps2sd are), I don't think you'll run out of space as quickly as you think you will.

[HELP] Screw partition with S2E

Hi,
I have 7.2.4.c kabaldan milestone rom.
With sd card with 3 partitions : fat32/ext3 1gb / swap.
Since I can't move my app to the ext with basic app2sd kind of app, I tried S2E.
Well, with the option "intall app to INTERNAL", I guess that s2e were intalled on the ext partition... I hit someting and reboot the phone.
Now, I have lost all my apps, I looks like the stock clean rom AND I can't install any applications, even if I change automatic/internal/external options.
So I don't have access to the ext partition.
Is there a way to get my ext back without a wipe?
(I do have a complete backup, but its a couple of weeks old... my bad )
Thanks
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Eiertschik said:
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Click to expand...
Click to collapse
haha, yeah I know, its my gf phone, she doesnt keep important stuff, its not a big deal.
With my phone don't worry, I do backups everytime .
You say that its automatic , but I dont understand why after a while I still have the "no more sapce available ". ext is around 200 mb of 1gb full...
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
mrvek said:
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
Click to expand...
Click to collapse
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
Click to expand...
Click to collapse
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
[...]
Click to expand...
Click to collapse
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
mrvek said:
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
Click to expand...
Click to collapse
That's make sense. I read some post found on google, and mostlikely, that's what they said.
I did a factory reset, and all my apps are back, but the save data. I'll put it back manualy from my nand backup.
Eiertschik said:
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
Click to expand...
Click to collapse
Thanks, I wish I can understand everything on andoird programming... I saw only the basic programing at shcool.

Categories

Resources