I could really use some help solving my A2SD+ problem - Nexus One Q&A, Help & Troubleshooting

For the life of me, I CANNOT get A2SD to work properly.
ROM: MIUI 1.9.16
SD Card: 16GB w/ 1GB EXT4 partition
Problem:
When I do a fresh install of MIUI (wipe cache, wipe dalvik, wipe data/factory reset) A2SD+ in settings->system->storage says available and used are "0.00B".
If I use dark tremor a2sd install scripts, they 'claim' to have activated the space. It appears space is used on it too (around 100mb, despite previous wipe of all data which says it wipes SD-EXT). When new apps install they east away at my meager "internal" storage (IE: 20mb remaining) and my programs area says I ahve a total of something like 200mb of storage (shouldn't this change to over 1GB because of the partition?!).
As of right now I've restored my previous install, which says "0.00B" for A2SD+, and I have a 1GB EXT4 partition sitting here doing nothing.

a2sd is auto on MIUI after flash/reboot--shouldn't need to run scripts--but you can
try reformatting sdcard outside of phone and with sdformatter, then partition it as ext3 0 swap
ext4 never worked quite right for me
then fresh install with system/data/cache wipes 3 times each

Thanks for the reply. What's with this common habit of wiping 3 times? Doesn't wiping just unlink all the inodes from the partition table, then mark the sectors as free space anyways?
Anyway, MIUI at flash point never picks up this partition. I will try changing it to EXT3 and seeing what happens.

I am not a tech, but I think the phone doesn't do thorough job. That's why I format outside phone. Don't know for sure on System wipe, but most peolple recommend 3 or more times on data/caches.
I have been using these methods for quite awhile now and have much fewer flash issues between roms. Thanks to Temasek on his Format zips--------
ken

Well would you look at that. Fresh flash of the ROM with an EXT3 partition and it works! Didn't have to flash any DT zip. Thanks!
EDIT:
After using MIUI backup to restore my apps and stuff, I'm already out of space. My sd-ext isn't being used! how do I fix this?!

Your Welcome--

Sorry for double post, but I spoke too soon. A2SD still doesn't appear to be working correctly. I've attached a few screenshots to help show what I'm talking about. Titanium backup doesn't see the space (I don't think) either. It appears MIUI sees the space available... but doesn't use it. I just did an a2sd zipalign, followed by a a2sd cachesd to move the dalvik cache to the SD card which helped my space woes a bit, but my a2sd partition seems to be completely unused, other than the dalvik cache!

I can't view your thumbs, get error on page. May be my work computer
Had that happen once and a2sd was doing its thing, just not showing in Root Explorer as ext being used
Do you have any low mem warnings
You could try Quick System from market and see what it says

Your A2SD is working fine. As you can see, you have >100 MB of apps installed on it (0.94GB SD-EXT partition size, 832MB free). The reason you still see your internal memory being used is - 1) Dalvik-cache is still on the internal memory, 2) App data is still on internal memory. You can change that in A2SD GUI settings. If it tells you that Dalvik is already on SD - it's lying, the app isn't too correct, the script is much more correct. You can run the script to move Dalvik to SD in that case.
And the integration of A2SD isn't system-wide - actually, the system has no idea that A2SD is present, and doesn't report anything else for its partition sizes but the original sizes.

Jack_R1, after a random soft reset occurred, titanium now shows the a2sd. Thanks for clearing some of the information up for me.

Related

[Q] a2sd darktremor and Enomther's ROM

Does a2sd Darktremor work with Enomther's ROM?
I've installed a2sd darktremor via the zip file in recovery.
the sd card has an ext3 partition.
When in terminal emulator, typing /system/bin/a2sd check comes back with "not found"
Thanks
Enomther's ROM contains built-in support for A2SD. Absolutely no need to install anything else, just to look in the thread and in Spare Parts.
You can simply check app2sd related options(including dalvik cache moving) in spare parts. However, since you flashed Darktremor's over, I don't know if it will work well. If not, you need to wipe all, then flash the ROM again.
Thank you for the replies.
I've made a clockworkmod backup before I started tinkering, so everything is backed up.
The only changes i made, was to change my micro sd card from the standard 4gb FAT32 partition to a 8gb one (7gb FAT32, 1gb ext3)
In spare parts i then enabled oldstyle-extfs-apps2sd.
I noticed the free space on the internal storage increased from ~20mb to 60mb.
The a2sd storage 120mb has currently been used. My question is what exactly is in the ext3 partition and how do i move apps there ? (is it possible to individually move them)
Finally a bit OT, but a when doing a titanium backup i'm assuming this will still back up all system/user data?
If you check A2SD option - ALL your apps will move to EXT. Their data and Dalvik cache will remain on the phone.
If you check Cache2SD - Dalvik cache will also move to EXT.
You can't move the apps data to SD, unless you do it manually.
TB will backup everything.
All the rest you can read about in DarkTremor's thread.

[Q] App2sd question

ok I just switched from mytouch. The app2sd worked there alright. However, I cant get apps to install on on sd card on nexus one.
I formated to ext4 512mb, sawp 0. I set app to install external in cyanogenmod settings. I dont see any other option for app2sd in cyanogen mod7 nightly?
The apps just keep installing to internal memory!!
I even try flashing DT app2sd and samething happens. Am I missing something here?
Once you install DT, just open a terminal emulator and type in "a2sd reinstall".
Alternatively, you could type "a2sd cachesdreset", which will also move your dalvik to sd (much better).
With the "external" command, this will install the apps into the .android_secure folder on the root of the sdcard. This folder is locked by Android, so you can't view the contents. You can find out which apps are installed to the sdcard by looking at the sdcard tab under Settings -> Applications. But this only installs a portion of the app (some apps, it is the majority, others, not so much), but all the data the app generates will still be on the internal memory, so you will continue to see it go down.
And I don't think danger-rat meant alternatively (maybe he did) with DT and cachesdreset, but you can actually do both of those, and that is what most people do.
a2sd reinstall will move all your apps onto the sdcard's ext partition. a2sd cachesd (or cachesdreset which erases all the dalvik cache requiring a rebuild when the phone boots back up) will move all the dalvik cache to the sdcard's ext partiton. I have both done on my phone and leave the internal memory for just the data that the apps generate (it is possible to move that to the sd as well, but it is recommended to have a class 10 sdcard).
Need to have install set to internal. DT used ext partition as "internal" memory.

S2E - Nexus One

I have read threads and followed instructions of how to get s2e done on my CM7.1 nexus one.
I just wanna confirm if I did the whole thing right
I partitioned my SD card with a 1024 ext3 and swap size 0
After istalling the S2E, mount as ext4 I got 138 Mb internal memory free (should be fine)
I moved Applications and Dalvik Cache to sd-ext but not application data.
I found the internal memory still decreases over the time and now "Applications" field grays out and I wont be able to move the applications back to the phone as before. (why ?? - I can move around the "Applications", "Dalvik Cache", "Download cache" and "Private apps" between the phone and sd-ext by selecting and reboot)
Am I doing the whole thing right actually ?
I believe once you have enough apps on the ext partition that it won't fit back in the internal memory, that the option stays grayed out. Otherwise, if you attempted to move it back, it wouldn't fit and would just cause issues.
I got this work now
but I got a new problem as I just bought a new sd card
and I have to figure out how to move all those to work on the new card
I did an nandroid backup and backup in my pc
I put in the new sdcard into my phone and partition it via CW
It's fine.
Then I switch off my phone and put everything else into the new card
Done.
Nandroid advanced restore sd ext
When my screen on, I lost android market and all Google add-on
what happen = =
I saw my apps on my screen with a wrong icon
I can not download the Titanium or the S2E and I got no market in the phone
Am i following the right steps ?
Whenever I have swapped sdcards, I have always used Titanium Backup to backup all the apps then I move the folder to the new card, and then I restore all the apps.
You may want to try and wipe the phone's /system partition (only the /system, otherwise you can lose all your data) and reinstall CM and gapps. Then once you install S2E from the market and reboot, all your apps should show up (assuming you don't mess with the ext partition).

[Q] Darktremor's app2sd?

Okay so my Droid is running okay, but I would like to have more memory for apps. So I figured, why not just use the app2sd script from DT after partitioning my card in CWM like I did my Ascend. I tried these steps:
1. In the CWM recovery (2.5.0.1 and 3.1.0.2) there is no option ANYWHERE to partition the SD card like in the 2.x.x.x CWM on my Ascend.
2. I partitioned in ROM Manager and chose 512 Partition with 128 MB Swap. The phone reboots and partitions the SD, and I checked in MiniTool Partition Wizard to make sure, there was a ext3 partition and a linux swap.
3. I move all apps to Internal memory, went in to CM Settings and allowed application moving.
4. Flashed DT's beta 4 script in recovery and it wouldnt boot, had to clear dalvik cache.
5. Get back in and found that the apps had moved no where. I check the sd-ext folder in Root Explorer and it said empty folder. a2sdgui does not work, if I change something, it just changes back.
6. Reflashed, tried S2E (simple2ext) and had the same issue, it isnt recognizing the ext partition.
7. Reflashed and tried various other settings with no luck.
What should I do? I really dislike having 15mb of internal memory free. Any help would be loved
Here is the info:
Was using the latest CM7 build but now I tried it on SteelDroid 9... same issue
Got view but no replies? Need some help here....
delete all previous scripts and try link2sd. i have been using it successfully.

create ext4 for use with a2sd

hi,
i'm usin ra passion 2.2.1 and wan't to use a2sd from ics 4.0.3 evervolv. how can i create a part ext4?
Google:
"a2sd partition sd card".
Enjoy.
Try 4EXT recovery www.4ext.net
I think its the easiest way to create partition.
Or else you can do it in pc via partition managers(i use minitool partition wizard)
You can google it and also can search in youtube for video tutorials.
Sent from my Nexus One using Tapatalk
thanks for your help, i've done it in recovery.
one question is left:
what happen if i format the partioned sd-card under windows and do a full wipe in preparation for installing a new rom. i've read sd-ext even survive a full wipe? what does that mean? stays the partition untouched when i format the sd-card with windows? and what about the apps in the partition? are they still there even after a full wipe and can i use them after flashing a new rom out of the box?
Glad u succeeded in partitioning
Now if you format the fat32 partition in windows using those partition tools doesnt affect ur ext. Ext stays untouched but all the data on fat32 will be wiped(so backup first to pc)
If u want to merge there is an option called merge for that.
There is an free windows software called sdformatter, that formats the entire sdcard(fat32+ext)
Hope i helped a bit :thumbup:
Sent from my Nexus One using Tapatalk
ok. i wan't to format it with the windows internal function via right click. is it the same and the ext4 stays untouched?
Full wipe in recovery wipes SD-EXT too.
heinz gruber said:
ok. i wan't to format it with the windows internal function via right click. is it the same and the ext4 stays untouched?
Click to expand...
Click to collapse
i do beleive that it should be untouched, cos normally windows cannot see the ext partition and hence only fat32 will be formatted
Sent from my Nexus One using Tapatalk
ok. when ext4 stay untouched and i flash a new rom the apps are still in the launcher after flashing?
Jack_R1 said:
Full wipe in recovery wipes SD-EXT too.
Click to expand...
Click to collapse
when i flash a new rom i use the format.zip form the xda user temasek which wipes system, boot, data and cache. so is sd-ext untouched when i use this file?
You insist on not listening and/or not understanding.
When you select "wipe data/factory reset" in custom recovery, EXT partition IS WIPED COMPLETELY. It doesn't stay.
I believe the same happens when using temasek's script, never bothered using it, so I can't say with 100% certainty.
If you don't wipe your phone and install a new ROM - be prepared for crashes of anything to everything, unless you install a ROM which is 100% compatible with what you have already - the next generation of the same ROM, usually.
If you're using A2SD and don't wipe EXT partition - you'll have crashes as soon as you boot, since system apps' data will be there (and wrong).
To keep your apps and their data, use one of the backup apps available in the Market, like Titanium Backup.
as Jack_R1 explained its always better to wipe everything(system,cache,dalvik n sdext) to be on safer side to avoid crashes n FCs.
Sent from my Nexus One using Tapatalk
Temasek's Extreme Wipe does Data/System/Boot partitions but don't remember seeing ext in the list
However, as alluded too, I would format all outside phone with sdformatter or I think gparted, although never used that one
I thought I read a long time ago Windows formatter not recommended and do a full wipe not partial with whatever you use
Back up sdcard first
also, I believe you can use the Alignment Cool zip to get ext 4 from 3 on Amon and not lose anything--still backup
you do know MeDroid uses Ia2sd and different from a2sd on implementation
You don't need to wipe the regular FAT partition on SD card between flashes, because there's nothing there that loads automatically. And "wipe data/factory reset" option in recovery also wipes /sdcard/.android_secure.
hey guys, thanks for your answers i will keep them in mind.
edit:
one more question:
if i uses temaseks script and the sd-ext is untouched and i flash a newer version of my rom, are the apps then still there after flashing and booting the updated system? or is there another step i've to do?
No, the apps aren't there anymore - or to be correct, the apps are there, their data is gone (because the app data doesn't reside on EXT partition, unless you use specific mounting methods).
When you flash an updated version of your ROM, just don't wipe anything at all unless the instructions specifically mention having to wipe before installing that version. That means - don't execute temasek's script at all.

Categories

Resources