Hi there,
I am using Sandvold ICS 0.15 rom for a while. Yesterday i switched the phone off to charge the phone.
Once fully charged, i switched the phone on and it got stuck on the blue X for a long time. I had to try the battery pull and it still had the same issue.
I then performed wipe data/factory reset, wipe cache, wipe dalvik cache. I then reinstalled the rom.
After it booted up etc, i ran a2sd install, y, n, y. It stuck at the boot screen again. I waited for 30 mins and i then realised something is wrong. So i then had to go into recovery menu and do a full wipe and restart again.
At the moment i do not have a2sd enabled.
I am using EXT4 partition. I created it back in July using GParted.
Now in terminal emulator i ran the following commands to investigate what is causing this boot issue:
# mount | grep sd-ext
# /dev/block/mmcblk0p2 /sd-ext ext4, rw, nosuid, nodev, noatime, nodirtime, nousr_xattr, commit=15 barrier=1, data=ordered, noauto_da_alloc 0 0
What does the above mean?
If i dont mount the sd-ext and run the a2sd diskspace command it states that 16MB but my question is how can it if i havent mounted it?
I have also ran the command a2sd checkext and i get the following results
Found block device /dev/block/mmcblk0p2
/sd-ext is mounted
Is there a problem with my SD-EXT partition?
If somebody could assist me please, i would greatly appreciate it
Thanks in advance,
Format and repartition your sd card. That should do the trick.
Try INT2EXT4+
If you don't mind having all your apps installed on your sd transparently, use a script like INT2EXT4+ that mounts your sd-ext partition to /data. Now the sd-ext partition functions as the "internal" /data partition, the internal /data partition itself is mounted to /data/data (for increased speed). The script works very well with sandvold ics and is imo better than a2sd. I use(d) it myself with various ICS and JB roms (including sandvold's), works great.
Download the int2ext4+ script zip to your sd, flash your (ICS) rom and flash the script straight afterwards. The script also zip-aligns your apps at every boot.
Hi there!
I don't remember exactly, but I had the same problem with Sandvold ROM; I've solved updating to the last release 0.18.2.1.
In the past releases, I used another kind of a2sd, whitout (for me) satisfaction.
I do confirm, with the last everything work fine!
Thanks for the suggestions all.
I deleted my ext3 partition and created a new one using GParted. Now the phone works fine, i can get pass the boot screen and use the phone :laugh:
If i switch my phone off and turn it back on does it have any impact on sd-card when app2sd is enabled?
If it does will int2ext4+ script solves that problem.
If i want to use int2ext4 now do i need to start from scratch since i now have the rom installed with app2sd enabled?
Can you direct me where i can find the script on this forum please?
Thanks
I don't exactly know what happens in the background with a2sd (I know it moves apps to sd-ext and makes symlinks, but dunno what else...) but if you have enough internal memory on the /data partition to move all apps back to internal, I would try to first disable a2sd from the console and then reboot into recovery and flash the int2ext4+ script (is your sd-ext ext4 now?!).
Related
Hey,
I've been using ICS (beta 0.4.2.1 now, beta 0.3.9 previously) and none of the a2sd scripts seem to be working. I tried to use the one you have to activate through adb, and today when I updated to 0.4.2.1 I chose another one from the installer. My phone still reports 148 MB of internal storage...
I've had a thorough search of similar threads, but you know how difficult it is to find any meaningful information on this forum; can someone please point me in the right direction? Thank you!
I flashed ICS and installed the bundled a2sd script and it worked like the script on Insertcoin. That is the system still displayed the data partition size of my hboot but the SD ext4 partition was utilised for apps. If you have titanium backup you can see the data usage on the home screen.
I also flashed amarullz script. This script did change the reported internal memory to my SD card partition size. I did not use it long so I can't comment on how it runs on s class 4 SD card.
Sent from my HTC Desire using XDA
You did not understand how A2SD works. It moves all apps (with A2SD+ also dalvik-cache) you install automatically to an EXT-partition (some of their data still remain in internal memory). But it does not increase / decrease the size of internal memory.
If you want to change the size of internal memory, you have to use a script which moves the whole /data-partition to an EXT-partition. The size of this partition is then the size of your internal memory. The name of this scripts is DATA2SD / DATA2EXT.
Sent from my HTC Desire using Tapatalk
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Did you ever get a fix for your problem?
I have something similar. Was running 0.3.9. and decided for a couple days ago to upgrade to a newer edition. Wiped data/factory reset, wiped cached and dalvik-cache, and installed the new version.
Used stock everything, activated a2sd and tried to start and install some apps from google play. Got a message that it was not sufficient space.
Did get titanium installed, and that reports the different "drives" correctly, but I still don't get it to work as it should. If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Anyone got any ideas?
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
arsvendg said:
If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Click to expand...
Click to collapse
Same problem here. I tried to wipe caches and even recreated the partitions but still no luck with the stock a2sd.
robla1000 said:
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
Click to expand...
Click to collapse
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
arsvendg said:
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
Click to expand...
Click to collapse
App and appdata are different things:
The App it's the "core" and are loaded in the RAM when you start them, so if you move them to sdcard you get a slowdown only on the boot of the app itself
The Appdata it's the data created and used by the program to run, likes databases and so; if you move it to the sdcard you get a slowdown 'cause the program continuosly try to access it.
someone correct me if I'm wrong, i'm still learning the stuff
Long story short: normal A2SD+ methods (like DarkTremor or m2sd) only move a part of /data, linking the files; you will NOT see the increased space but your Apps will occupy less memory.
Data2sd method like data2sd or Amarullz A2SDX will "swap" the ext space with the internal data memory, giving you a visible increase in your internal space.
TL;DR if you have a fast SD card you can go for the latter, else stick to m2sd wich is a new and good method to move application!
For partitioning, I suggest you to use 4ext touch recovery, you can install it on your phone from 4ext.net and flash your new recovery directly from your phone (you need to have S-OFF!); after you have your new recovery flashed:
make a backup of your SD card data (you have to format it)
Reboot in recovery
Go to "Tools"
"partition sd card ->"
"Remove all partitions and start from scratch"
Now you have to set, in order, you primary ext dimension, your secondary ext dimension and the swap dimension
I usually go for - 1st ext: 1024 -2nd ext: 0 - swap: 0
Select ext4 for your first ext partition
Now you are ready to use wathever a2sd method you want.
Hope this will help you!
Regards,
Ryther
Ahh I'm just going to leave this here.
All the ICS Devs have done a great job - Kudos to them.
But if you want a bugfree ROM which works well, for now - GIVE UP on ICS.
Go back to CM7 - it'll do you good.
Don't give up on ICS because SOME people have issues. I've ran an ICS build with a2sd working just fine no bugs whatsoever. I have not tried a data2ext script on an ICS build though so I don't know about that.
Hey,
Recently I've partitioned an 8GB SD-card through RA Recovery v2.0.1 to have a 1024MB EXT4 partition without swap (later I tried EXT2, EXT3 and an aligned EXT4 as well).
After installing a ROM said to be compatible with A2SD, the latest Supernova 2.4.0.1, it did not show the additional storage room that should be available from the SD partition.
Also when using a terminal emulator app, after granting it Superuser permission, I could not get any evidence on my phone being able to see the SD partition. "a2sd" and "app2sd" commands are not recognized and the "busybox df -h" and some other command did not return any evidence on an SD partition being present.
Other ROMs I've tried installing were the latest Cool3D RunnyMede and the Runnymede&Bliss.Mix ROMs. Both froze at their boot screens (due to not being able to access SD partition?).
Some (additional) information on my HTC Desire:
- GSM
- Stock HBOOT
- Stock radio
- RA Recovery v2.0.1
So yeah, I was wondering if you guys could help me on getting my SD partition to function Thanks in advance!
I've got the _exact_ same problem. I hope someone at XDA can help, because I'm eager to try Chrome Beta on my Desire with ICS.
Sent from my G100W using XDA
Try redo it with gparted or flash 4ext recovery if s-off
Sent from my HTC Sensation XE with Beats Audio using XDA Premium App
Thanks for the reply!
But sadly I won't be able to confirm whether that would've fixed my problem. I switched to MildWild's CM 3.8 ROM and that alone had my SD partition working for me.
Although it initially didn't appear to have the extra storage room (it displayed around 120MB in the Applications and Storage menus), I soon noticed that after installing a new app, that amount would first drop but then rise back to ~120MB again.
Typing the "busybox df -h" command in the Terminal Emulator confirmed that there was indeed a 1GB partition present from something called "sd-ext"...which would be the partition I made!
But could it be that I have to install A2SD+ separately for certain ROMs and is included in others?
Some like CM need this setup - mostly run AOSP roms myself but boot loops point to issue with the SD-ext partition. As was said earlier Gparted is the way to go to partition, and will align perfectly as well - if it were me I'd nandroid including sd-ext if separate in AmonRa (I use 4EXT Touch Recovery myself), copy sd contents to PC as back up, and re-do partitioning in Gparted.
Hey guys,
I installed Sandvold ICS Rom last week and experienced some problems with the a2sd script.
Everytime I try to run or install (whatever you want to call it) the integrated a2sd script with these lines of code:
To activate the built in a2sd:
open terminal and run these commands:
su
a2sd install
Click to expand...
Click to collapse
the phone tells me this:
/sd-ext not mounted properly, it might have errors using /dev/block/mmcblk0p2 for the block device
Setting flag a2sd
/system/bn/a2sd:line 69: /sd-ext/.a2sd: Read-only file system
Click to expand...
Click to collapse
The question is why am I experiencing this error with this rom. The previous rom was cmiui and it activated a2sd without any problems.
Also: What is mmcblk0p2? And do you have any clue why this file system is read-only? I formated the sd card with gparted and made a 512 mb ext3 partition, 0 swap and the rest of it is the usual sd-card memory.
Would be awesome if someone knows the answers
Should the 512 mB ext 3 partition be the first partition or the second?
Greetings,
Nerkata
Forgot to mention this: My phone is still s-on. Is that a problem?
Nerkata said:
Hey guys,
I installed Sandvold ICS Rom last week and experienced some problems with the a2sd script.
Everytime I try to run or install (whatever you want to call it) the integrated a2sd script with these lines of code:
the phone tells me this:
The question is why am I experiencing this error with this rom. The previous rom was cmiui and it activated a2sd without any problems.
Also: What is mmcblk0p2? And do you have any clue why this file system is read-only? I formated the sd card with gparted and made a 512 mb ext3 partition, 0 swap and the rest of it is the usual sd-card memory.
Would be awesome if someone knows the answers
Should the 512 mB ext 3 partition be the first partition or the second?
Greetings,
Nerkata
Forgot to mention this: My phone is still s-on. Is that a problem?
Click to expand...
Click to collapse
Check the easiest solution first. Try installing with one of the other a2sd options (amarullz is the one that easiest to know if work as it will switch internal space with space on sd-ext)
Will try it out as soon as my friend brings back my desire^^
I'm just curious what caused this error, 'cause it seems to popped up randomly.
I'm trying to install m2sd on cm7. I do a full wipe, install the Rom, gapps, and m2sd script. After starting up I enable m2sd for apps and reboot. Then I start installing software, but they take up space on internal memory. After moving them to sd they don't go to ext partition but to the fat one.
What could be the issue?
how did you partition you sd card? should be done with gparted (step 5 here) or 4ext recovery only (not minitool or clockworkmod recovery).
depending on the options chosen for m2sd, some stuff will still take space on internal, for instance app data is best left on internal for performance. use an app like 'diskusage' to browse all your partitions.
make sure you're also s-off and on cm7r2 hboot to maximise space (have a look for further guides if this doesnt make sense).
Try also enabling dalvik cache to sd.
Or the data + r-mount combination (which is I'm using now with no problem at all).
eddiehk6 said:
how did you partition you sd card? should be done with gparted (step 5 here) or 4ext recovery only (not minitool or clockworkmod recovery).
depending on the options chosen for m2sd, some stuff will still take space on internal, for instance app data is best left on internal for performance. use an app like 'diskusage' to browse all your partitions.
make sure you're also s-off and on cm7r2 hboot to maximise space (have a look for further guides if this doesnt make sense).
Click to expand...
Click to collapse
I just did it all again, to make sure I used gParted, so I'm sure I have 10gig Fat32, 4gig EXT4 and 256meg Swap. Then I did a full wipe of the phone, installed cm7, gapps, and when the system booted I installed and configured m2sd APK and rebooted. Still, in the gui section you can see "File System Type: N/A". It looks like it didn't recognise the FS but I have tried setting that to auto and EXT4
EDIT
Does anyone know what a2sd script has been used in THIS rom?
gaseki said:
I just did it all again, to make sure I used gParted, so I'm sure I have 10gig Fat32, 4gig EXT4 and 256meg Swap. Then I did a full wipe of the phone, installed cm7, gapps, and when the system booted I installed and configured m2sd APK and rebooted. Still, in the gui section you can see "File System Type: N/A". It looks like it didn't recognise the FS but I have tried setting that to auto and EXT4
Click to expand...
Click to collapse
follow the guide again...
4gb ext4 partition is too much, you won't even need that much for apps! absolute maximum that i've read you should use is 2gb, personally i recommend 1.5gb.
you also don't need swap.
both partitions also need to be primary as per the guide.
EDIT
Does anyone know what a2sd script has been used in THIS rom?
Click to expand...
Click to collapse
that rom uses terminal emulator to enable A2SD. follow the guides/instructions in that thread.
Hi
I installed (12/15/2012) [SS] Jelly Bean CM10 v2.9.1 (4.1.2) version 3.0 on my desire and followed all the settings for CPU governor and A2SD scripts. Configured my email, and installed all apps from scratch.
Everything seemed fine, worked smooth. Last night the phone crashed and rebooted and somehow lost most of the apps., including Google play which makes things harder ... Looking at memory usage, it look like there is a problem with /sd-ext.
if i open terminal, and try to run A2SD again, it also shows a problem:
/sd-ext not mounted properly, it might have errors
Found block device: /dev/block/mmcblk0ps
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
Setting flag a2sd
/system/bin/a2sd: line 74: /sd-ext/.a2sd: read-only file system
chmod: /sd-ext.a2sd: no such file or directory
would you also like to move DALVIK-CACHE
I put the SDcard in my computer and it showed no errors
When I go into recovery, I can mount all partiotions without problems??
For now I will go to reflash the phone and start all over.
How can I find out what happened here and how to prevent that?
And is there an easier way to repair this problem
hoping it will not occur again...
Happy new year, best whishes for everyone, and hoping for help
D.
UPDATE: cleared all data from within recovery, cleared cache from recovery and reflashed the zip
when I try to run the a2sd script error is still there!!!
put the sdcard in mu computer, deleted and recreated the partition
and then the error is gone ... ??
How did you create the partition? Use gparted or 4ext recovery only, not minitool or clockworkmod recovery
I used minitool
What is the difference?
So it will crash again?
Anything i can do as a repair or do i have to start all over again?
Thanx for your help!
Sent from my Transformer TF101 using Tapatalk 2
Minitool doesn't create the partitions properly.
Backup your sd card to pc. Then I recommend to delete all partitions and repartition using gparted. Search for guide in development section.
Copy everything back to sd card afterwards, then rerun the a2sd commands
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
duiksmurf said:
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
Click to expand...
Click to collapse
1. try to backup user apps only using titanium backup, don't know how many have been lost, but can try and save the others.
2. copy whole sd card to pc. this just copies the whole FAT32 partition of the sd card. you will not see the ext4 partition when connected to PC, don't worry about it.
3. delete all partitions and repartition using gparted (step 5 here)
4. copy the backup back onto sd card.
5. full wipe everything from recovery, flash rom, run A2SD commands and reboot etc.
6. restore any apps using titanium, should go to partition automatically if everything is working. install another app like diskusage to browse all your partitions.
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
alochet said:
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
Click to expand...
Click to collapse
Eh?
- The ROM supports ext4 just fine, most ROMs here do. ext4 is also faster than ext3...
- The problem was that the partition was poorly created in minitool partition wizard, likely that it was not properly aligned.
- The issue has already been solved...9 months ago...