[Q] a2sd problem with Sandvold ICS Rom - Desire General

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.

Related

[Q] How to create an Apps2SD partition.

I'm using ClockworkMod Recovery 2.5.0.1 and i've seen a couple of guides where I go into the recovery and do some bits and bobs there to create it, but the only options I seem to get are to mount the sd-ext partition, which fails because it doesn't exist, or to format it.
I'm guessing there is a step beforehand i'm missing?
Thanks
download rom manager from market , open it , then create a ext3 partionion ... done
before you create a partition , backup your sd card!!
y2viks said:
I'm using ClockworkMod Recovery 2.5.0.1 and i've seen a couple of guides where I go into the recovery and do some bits and bobs there to create it, but the only options I seem to get are to mount the sd-ext partition, which fails because it doesn't exist, or to format it.
I'm guessing there is a step beforehand i'm missing?
Thanks
Click to expand...
Click to collapse
I had the same problem.
You can create the partition using the ROM Manager app downloaded from the market as yasars said.
Alternatively, if you want to do it manually, you can format the card on a *nix system. The Gparted Linux app lets you edit the partitions in a nice and simple GUI. Just remember the order of the partitions: first fat32, then about 512 MB of ext2/3/4 (ext4 may not be supported by all ROMs so better to use ext3) and lastly a swap partition of about 32 MB (totally optional). The size of the fat32 partition is whatever is left over after you've allocated the 512 MB for the ext2/3/4 partitions (and the 32 MB for the swap if you decided you wanted it). For instance, for a 2GB card, leaving 512 MB for the ext2/3/4 partition (no swap) leaves us with about 1.5 GB for the fat32 partition. You do the calculations for your card in your head or on paper and use those values in Gparted.
HTH.
Thanks for the help guys
I think i'll just get it up and running using the ROM Manager and if I find the need I'll do a manual version
Foolowing this guide I partitioned my sd card with GParted Live CD.
gianton said:
Foolowing this guide I partitioned my sd card with GParted Live CD.
Click to expand...
Click to collapse
You have no Idea how cool it is for me that my tutorial was useful... ;-)
chrysochire said:
You have no Idea how cool it is for me that my tutorial was useful... ;-)
Click to expand...
Click to collapse
Yes it should be a sticky!
Having a problem when I try to use ROM Manager.
I select the 512 for EXT and 32Mb for Swap and the phone reboots.
It then shows the big triangle with Mr Android next to it until I press some buttons and then I get the recovery screen with the following messages
Finding Update Package....
Opening Update Package....
Verifying Update Package....
E:failed to seek in /cache/update.zip (Invalid Arguement)
E:signature verification failed
Installation Aborted.
I don't have a cache folder on my sd card so i'm guessing it's looking in the internal memory?
Not sure what to do here
BACK-UP sd card before you do this.
For windows users
have clockwork recovery and rom manager on your desire
then format sd in windows.
put it in your desire and go to rom manager.
select Partition SD Card
select your space i used 32 swap 512 ext
than reboot and your sd card has the ext partition.
than put your files back on your sd card and Done
y2viks said:
Having a problem when I try to use ROM Manager.
Click to expand...
Click to collapse
I had the same problem with ROM Manager. My solution was to downgrade ClockworkMod Recovery to v2.5.0.0 (in ROM Manager) and then partition the card. Worked on first try.
When you're done you can upgrade to latest version again if you want.
I don't think you should use a swap partition, so just set it to 0 MB.
Good luck!
Do i just need to find the 2.5.0.0 update.zip file and flash?
going to 2.5.0.0 worked
so now i have the ext partition do I need to do anything for apps to be installed there, or will they install there by default?
Also i've heard that the ext partitions can be 2 3 or 4. I'm presuming higher is better. How do I go about finding what mine is and how can I upgrade it if it need it?
Thanks
chrysochire said:
You have no Idea how cool it is for me that my tutorial was useful... ;-)
Click to expand...
Click to collapse
Hi, I'm also going to give your guide a go. Just one question, do I have to do it with the SD card still in the phone or can i do it with a SD USB adapter?
Thanks,
Joe
I read the tutorial again and you can use an SD adapter, worked a treat. Cheers
y2viks said:
going to 2.5.0.0 worked
so now i have the ext partition do I need to do anything for apps to be installed there, or will they install there by default?
Also i've heard that the ext partitions can be 2 3 or 4. I'm presuming higher is better. How do I go about finding what mine is and how can I upgrade it if it need it?
Thanks
Click to expand...
Click to collapse
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
I'm not sure which format ROM Manager defaults to, but you can always check the type of format used by mounting the card in Linux and using the GParted Linux app (you could use a card reader or use the 'Disk Drive' option in your phone to connect it to the computer). Also, ext3 should be fine for most custom ROMs. In fact, not all ROMs support ext4.
ikkokusenkin said:
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
.
Click to expand...
Click to collapse
- Another quick way is to install quick system info from the Market, it tells you infos about your system, including the use of your a2sd partition.... ;-)
- About ext 2/3/4 I would advise the use of ext3, as ext4 is poorly supported by Roms (even those who pretend seem to have issues...)
cheers
Does the decrease of available internal storage means apps22sd+ is not working? I've partitioned twice and installed seperate 2.2 roms with apps2sd+ included and every time I install more things I see internal storage drop.
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
Click to expand...
Click to collapse
I checked this and it's doing what you said
ikkokusenkin said:
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more. To check whether A2SD is working once you've flashed your ROM, download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private
Click to expand...
Click to collapse
I took the liberty of including this information into my tutorial. I added a reference to you. ;-)
I hope this makes it to Sticky one day... ;-)
bloosteak said:
Does the decrease of available internal storage means apps22sd+ is not working? I've partitioned twice and installed seperate 2.2 roms with apps2sd+ included and every time I install more things I see internal storage drop.
Click to expand...
Click to collapse
Not in itself, no. Those symbolic links mean that A2SD is working fine. However, from what I understand about the theory, even A2SD installs a part of the app into the internal memory. That may explain the drop you see. By the way, how much free memory do you see on your device? I usually have about 140 MB free on my Desire. I read somewhere that if A2SD wasn't working, that figure would be about 90 MB.
chrysochire said:
I took the liberty of including this information into my tutorial. I added a reference to you. ;-)
I hope this makes it to Sticky one day... ;-)
Click to expand...
Click to collapse
Thanks. Although, I can hardly claim to have come up with the idea myself.
ikkokusenkin said:
Not in itself, no. Those symbolic links mean that A2SD is working fine. However, from what I understand about the theory, even A2SD installs a part of the app into the internal memory. That may explain the drop you see. By the way, how much free memory do you see on your device? I usually have about 140 MB free on my Desire. I read somewhere that if A2SD wasn't working, that figure would be about 90 MB.
Click to expand...
Click to collapse
108 free total of 148
I just recently opened spare parts apps where it allowed me to change where apps2sd installs things. By default it was set to automatic and I'm guessing that was causing the problem. I set it to external and tried installing a browser while my disk was mounted and it wouldn't let me do it. Then I set it to charge mode and it installed normally.
Some roms probably default to external while some automatic.
edit: Just installed an app that I previously installed while using "automatic" and it still uses up internal storage instead of A2SD storage. Dunno what's wrong. I am using ext2 partitioned through rom manager.

[Q] Link2SD not solve

Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Manzatto said:
Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Click to expand...
Click to collapse
Haven't used the script but the sys partition is the sd-ext.
paul.c said:
Haven't used the script but the sys partition is the sd-ext.
Click to expand...
Click to collapse
I Don't understand well.
When I start link2sd it opens a window and asks.
"Select the system partition." When I select any items of it displays "error to create the script." When i choose fat32 it show me the message not enough memory.
Do not exist the option-> sd-ext.
I'm noob
Thanks
I have a htc desire stock orange uk, S-OFF, rooted.
With link2sd all I did was use Ubuntu and gparted to partition my 8gb sd card the 2nd partition set at 1024mb and the rest all together both FAT32 as on the market app info it says ext2, ext3 etc etc can only be used with a custom rom.
hope this helps
This has been a life saver went from 17MB free to Nearly 60MB!!!!!
I have the same problem.
partitioned the SD card second partition with FAT32, made it primary but link2sd gives me the same arror as reported by Manzatto.
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
thank you.
G.
It's required for you to have first partition fat32 and second one ext (mine is ext3). When it asks point to ext one and that's it.
Hi, I've the same problem. Here is the explanation:
Kierrok said:
Link2SD needs install-recovery.sh or init.d support enabled to mount its partition at boot time. The problem is Samsung GB ROMs don't have it.
You can enable init.d support easily if you cook your ROM. If you can't do it for yourself ask your ROM devel to enable it.
Click to expand...
Click to collapse
It ist impossible to change or create this files, because the rom is mounted readonly. So you need to ask the developer of your custom rom to support link2sd.
It's possible to mount your ext2/3/4 partition manually for link2sd , but every reboot would destroy it.
Greetings Max
I also have the same problem.
I partitioned the SD card second partition with FAT, made it primary but link2sd gives me the same arror:
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
Also tried with ext2, ext3 and ext4 and same error.
Currently using this ROM: http://forum.xda-developers.com/showthread.php?t=1200261

[Q] 'ext4' partition problem

Hey everyone
I recently installed coolexe's 'cool 3d sense' rom on my desire. Before I installed the rom, I partitioned my sd card and created a 1gb ext4 partition besides a 3gb fat32 partition. Then, I flashed the rom. After the rom booted up, however, there were only a few kilobytes of free space left, besides the ext4 partition I created. What could be the reason for this? (My phone keeps annoying me about lack of storage and can't even save settings anymore).
I am also not sure what class my SD-card is. Could this be associated with the problem?
Thank you for any help
wat h boot y r on
any way
go to market
download
terminal emulator
type
su
agree super user permision
then type
a2sd reinstall
and wait the phone will restart after it finish
sounds like an idea, but how am i supposed to install terminal emulator if i only have 24kb of space left?
and my hboot is 0.93, or something liek that
With witch programm (recovery or GParted) did you partition your SD card?
Hi, I encountered a similar problem. What I had to do was format my sd card, then create the fat32 partition first and then the ext partition.
It worked for me, hopefully will do the same for you too!
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] about Rempuzzle rom 2.81

hello to everyone.yesterday i installed this rom and its awasome.but i forgot to create the ext4 before flashing the rom.is there any way to make an ext4 now whithout reflashing the rom?because i saw that you can have some more space for apps through terminal emulator.i tried it but no ext partion found.
i hope someone can help me.thanks for looking!
You will have 168mb free
Try to make a partition and to run a2sd manually.it will reboot itself a few times
Then use the terminal
Grigoris0r20r said:
hello to everyone.yesterday i installed this rom and its awasome.but i forgot to create the ext4 before flashing the rom.is there any way to make an ext4 now whithout reflashing the rom?because i saw that you can have some more space for apps through terminal emulator.i tried it but no ext partion found.
i hope someone can help me.thanks for looking!
Click to expand...
Click to collapse
If you have card reader or USB converter for SD card plug it in a computer and using some partitioning SW such as Acronis Disk Director or gparted reduce FAT32 partition for 512MB and create 512MB EXT partition.
Remember that FAT32 partition must be first partition.
You should do a backup beforehand.
Afterwards, install A2SDGUI program of the Market so you don't have to fiddle with the terminal window.
kylon said:
You will have 168mb free
Try to make a partition and to run a2sd manually.it will reboot itself a few times
Then use the terminal
Click to expand...
Click to collapse
make a partion from the recovery mode or partion the sd card on my pc?
and how can i run a2sd manually?you mean through terminal?
sorry for the noob questions but i am new going so deep.lol.i should have partion it before flashing the rom.
if i make a nandroid backup,backup my sd card,then create an ext4 partion and recover the backup will it work?
i tried something else and it seems tha it works perfect.
i have 145.60mb free and i installed 2 apps and i think that the phones memory stays the same.
i've downloaded rom manager from market.
then i update the clockwork recovery to version 5.0.2.0 and rebooted into recovery
the i have created a ext partion and the phone rebooted 2 or 3 times
then i typed the commants in terminal emulator and done!
so really thank you both for the help! :good::good::good::good::laugh::laugh::laugh:

[Q] App2sd no longer working with Sandvold ICS

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?!).

Categories

Resources