Please Help me with A2SD - Nexus One Q&A, Help & Troubleshooting

before i go any further on my phone please help me :
this is what i did :
1- i partioned my sd card be 4ext recovery choosing 512 on 1st and 2048 on second and 128 as swap and finally i chose 3ext
2- then i downloaded darkmetor a2sd ind installed from recovery (during this my rom was normal cyanogen0
3- then i flash medroid 7.2 based on cyanogenmod rom which supports a2sd (before that i wipe cache and dalvik)
4- then when i rebooted twice manually i saw that i still have insufficient storage
so i fully wiped and instal darkometor script again and now i already rebooted twice but when i download internal decreases , i tried typing in terminal emulator su the a2sd reinstall but it failed and it said that a2sd seems not too be booted at startup , i dont know what im doing andwhat to do anymore , please help me and guide me

Your setup is a bit off; try this:
1) I highly recommend you wipe everything (backup apps with Titanium Backup) and start over fresh. If not, you can still probably continue.
2) I would also recommend that you make the EXT partition size bigger, about 1gb. And try not to use swap (set it to 0). It has no positive effect on performance, and some rumor it can harm your SD card over time.
3) Try another script. Scripts like DarkTremor, S2E, and others have issues where the device will say low memory when the partition is only half full. Try this script (flashable in recovery), I HIGHLY recommend it; it mounts the EXT as internal and works really great. Link:
http://forum.xda-developers.com/showthread.php?t=1310309
Hope this helps. Feel free to ask any other questions.

not sure why you installed 4ext recovery then installed DT--4ext has worked quite well for me, Amon_Ra for a very long time before that
you only need 1 sdext for CM7
as mentioned 1gb and 0 swap
if using DT you flash CM7 then flash DT beta4 before rebooting, maybe even gapps between CM7 and DT--see what OP says on what's included
install Titanium Backup then just a couple apps like Term Emu if it is not already installed
then run your scripts thru terminal emulator
a2sd reinstall
a2sd zipalign
a2sd noswap
a2sd cachesd
phone will reboot after reinstall and cachesd or should--
some people reboot once right after first boot before doing anything else
most people are using sd ext4 not 3 atm, as far as I know
ken

As CSP said, you should make 1st ext bigger than the 2nd one. I even don't recommend you to make 2nd ext partition, very rarely rom that require it. Choose 1GB for 1st ext, skip 2nd ext, and skip swap. But if you want to make 2nd ext, try 1GB for 1st ext, 512/256 for 2nd. Remember to back up your sdcard first.
Before flashing the rom, try to wipe all partition except sd card, find it on recovery menu. You should flash the rom first, then flash the a2sd script. From your post, I see you screwed up the order.
To run the script, after rebooting and setting up, if you use the latest DT, type "a2sd reinstall" in terminal. I also usually run "a2sd cachesd" to move dalvik-cache, "a2sd zipalign" for alignment purpose on boot-up.
Add: Arrgg, rugmankc beat me

i did as u said , specialy moenexus but i got permission denied in TE and it didnt work

can you open and use Titanium if not you may need to reinstall Superuser or add TE to your Superuser list--in its' settings
ken

Thanks guys it worked using the script that CSP recommended , thnx to u all

Related

[Guide] Partition your Sd Card, Upgrade to Ext3, and Install Apps2SD

WARNING: DO NOT FOLLOW THE APPS2SD AS MOST ROMS ALREADY DO THIS FOR YOU.
If you do, it will break things.
-ivanmmj
Like My Guide(s)? Donate
Here we go!
Things you need:
A Rooted G1 Phone
Cyanogen ROM - Download v4.0.2
Cyanogen Recovery 1.4 - Download
Apps2SD - Download
Clean SD Card
Note: This will remove ALL files on your SD Card so please back it up
------------------------------------------------------------------------------------------------------------------
Install the New Recovery Image
Download the recovery image
Place the cm-recovery-1.3.1.img file in the root of your SD Card (Root = not in any folder)
Go back to your phone (Dont forget to unmount)
Open terminal and type in the following
Code:
su (wait for a screen to popup and press "allow")
flash_image recovery /sdcard/cm-recovery-1.3.1.img
------------------------------------------------------------------------------------------------------------------
Install Apps2SD
Download the Apps2sd apk from above
Place the apps2sd.apk on your sd card
Download a file manager like Linda or Astro from Market (They are both free)
Go to Settings > Applications and check the Unknown Sources button
Open up the file manager you just downloaded and find the apps2sd on your sdcard
Press on the app and install the Package Installer and press on Install
Apps2sd should now be installed
------------------------------------------------------------------------------------------------------------------
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
------------------------------------------------------------------------------------------------------------------
Upgrading your EXT2 Partition to EXT3
Note: You do need the Cyanogen Recovery image for this to work!
Reboot into Recovery (Home + Power)
Go to console (Alt+x)
Press Enter
Type the following in the Console:
Code:
upgrade_fs
Wait for it to finish
Congrats! You now have a Fat32/EXT3 partitioned Sd Card!
------------------------------------------------------------------------------------------------------------------
Installing the Cyanogen ROM with Auto Apps2SD
Download the ROM
Rename the file from cm-xxxxxxx.zip to update.zip
Place update.zip at the root of your sd card (Root = Not in any folder)
Reboot into Recovery (Home + Power)
Wipe (alt+w)
and Flash (alt+s)
Wait for it to finish and reboot!
------------------------------------------------------------------------------------------------------------------
Congratulations! You now have a Fat32/EXT3 Partitioned SD Card with auto Apps2SD enabled. You can check if you have both partitions in Settings > Sd Card and Storage. Remember, this is Auto Apps2SD, that means the everytime you reboot it will move all your installed apps to your sd card AUTOMATICALLY!
------------------------------------------------------------------------------------------------------------------
Format your EXT3 Partition (ADB is needed)
Code:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update.
------------------------------------------------------------------------------------------------------------------
Here is another way to partition your sd card!
Note: You will need The latest CM recovery image
This guide will partition your SD card with 32 mb swap, and 512 mb EXT4 partitions!
WARNING! This will erase EVERYTHING on your SD Card!
Note: ADB Is needed for this script to work. If you dont have ADb working please read the ADB Sticky in the Q & A Forum
Step 1:
Download the necessary files HERE
Step 2:
Place the sdparted.sh file in C:\ Note: Do not place it in any folders!
Place adb.exe and AdbWinApi.dll in C:\Windows\system32
Step 3:
Run sdparted.bat
Thats it! All done!
Thank you 51dusty for the sdparted Script!
Batch file made by me!
Great guide...again =] But this way is MUCH MORE stable.
http://forum.xda-developers.com/showthread.php?t=534714
ya i know i saw that guide. I decided to put this one up becuase it uses minimal commands and doesnt involve a lot of terminal usage and stuff. Just another way to partition i guess.
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
lazee_smurf said:
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
Click to expand...
Click to collapse
yup! you are all good! 86mb for a cupcake rom is perfect! Congrats!
So what goes into the secondary storage because if I download something the internal space gets used
lazee_smurf said:
So what goes into the secondary storage because if I download something the internal space gets used
Click to expand...
Click to collapse
just reboot and your app will go to your sd card.
nephron said:
just reboot and your app will go to your sd card.
Click to expand...
Click to collapse
Thanks for the help!
Greetings
I knew it all could'nt go as smoothly as the new rom install ^_^
When I try to run apps2sd wether out of astro or from the app panel, it goes to a black screen, and thats it. The phone is not locked, I just hit home (after waiting for minutes for something to happen) and I'm back at my home screen.
I did'nt think I skipped any steps. Idea's ?
Thanks for the Sticky Guide
upgrading filesystem
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
maybeoneday said:
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
Click to expand...
Click to collapse
This is why you don't partition your sdcard using this. It works most of the time but not always. Wipe and reformat your sdcard. Then reflash ROM
pistol4413 said:
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
Click to expand...
Click to collapse
No you will not.
sweet
alritewhadeva said:
No you will not.
Click to expand...
Click to collapse
Sweet man thanx!
ext3 slowed my g1 down
I jus upgraded my partition using this guide and my fone seems WAY SLOWER. Is there anyway to downgrade safely back to ext2 without wiping the partion clean? Or do u recomed an app I already have an overclock app.
fixed problem!
I fixed the issue. Lol I feel kinda dumb. Just has to many processes running that where eating memory.
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
rushless said:
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
Click to expand...
Click to collapse
Apps2SD2 detects if your card has been formated with an ext2 partition. If not it will format your sd card for you therefor not needing a computer program. The new reocvery 1.3.1 allows you to run the upgrade_fs command to format the ext2 to ext3 and also has other features such as gparted and fix ext filesystem.
my question is this...I already have cyanogen's rom installed...I have been away from a computer and the internet for about a week so I'm still on 3.6.5...which is fine with me.
In Cyan's thread, he says:
DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!
Click to expand...
Click to collapse
however one of the steps to partitioning the sd card in this post is installing apps2sd..
i want to partition the card...but I don't want to break my system...am I missing something? clarification please?

[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.

I could really use some help solving my A2SD+ problem

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.

[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.

[Q] ext4 problems when changing ROM's

So I like to switch ROM's quite frequently, the only problem is that I seem to have to format my sdcard and set up the partitions each time I switch. I feel like nandroid either doesn't restore data to the ext4 properly or messes up the partition when I do a factory reset, since it formats the ext4 partition. Whatever the case, I am unable to move apps to the ext4 after a flash.
Whenever I want to switch to another ROM I have to backup my sdcard to my computer, format the card using diskpart, create the partition again in recovery mode, restore sdcard contents, and then finally flash the ROM I want. This can take forever and makes trying new ROM's out a huge hassle.
If I don't restore a nandroid and flash a ROM from scratch, I'll install s2e, reboot, and navigate to /sd-ext using root explorer and there will be no files.
I mainly use s2e with CM7, but I have tried a2sd with similar results. As far as I know though, they both use the same technique to move apps so it shouldn't matter.
Am I doing something wrong? I use nandroid and everything, but once I do a factory reset it refuses to restore the ext4 backup, and I get an error relating to space limitations.
Thanks a lot.
I've changed ROMs a few times, and everytime I've done so, the ext4 partition has remained fine. Although, it is seriously recommended that you flash the latest darktremor a2sd script as the incorporated ones don't seem to work well.
Flash darktremors, then enter the command line emulator on your phone and type:
su
a2sd reinstall (your phone will reboot)
su
a2sd cachesd (your phone will reboot)
su
a2sd zipalign
This should always be done after a ROM switch.
Alright, I will try that out.
Just wondering, will this restore all the apps I have on the ext4 partition? For example, if I flash MIUI for the first time, then commands the commands you gave me, will all my apps be restored? I assume no since clockworkmod wipes the ext4 partition when doing a factory reset.
The S2E and DarkTremor's a2sd apps actually use different ways of utilizing the ext partition, so the two are incompatible (although, S2E includes a way to convert from DT's to its own).
And as long as you didn't wipe the ext partition (which a Factory Reset does), using those commands should restore your apps.
But with what you are doing, it may be easier to use Titanium Backup to restore your apps back rather than nandroid. This will allow you to keep all your app settings and saved info as well. Just be careful to not back up system data. Restoring those on the same ROM can cause issues, and it would probably cause a lot more if it is between two different ROMs.
Switch your Ext 4 Partition to Ext 3 and you'll notice a lot more stability when switching roms.
Some roms don't have the correct Apps2SD or Kernel installed to support ext 4 but most, if not all, support ext 3.
I recommend using AmonRa Recovery as CWM always corrupts the ext partitions.
Re-partition your SD-Card and start again.
If This Helped please Hit THANKS

Categories

Resources