[Q] Swap partition on Cyanogen 6 rc3 - Droid Incredible Q&A, Help & Troubleshooting

I have created the swap partition on my sdcard, and added the userinit.sh to /system/sd per http://wiki.cyanogenmod.com/index.php?title=Compcache#Swap. Is there anyway to verify if the swap partition is mounted, or am I doing it wrong?

Nevermind, just said f* it and using swapper 2 at start up. Works like a charm. YIPEE!!

Related

[Q] cant mount /dev/block/mmcblk0p2 [SOLVED]

I had been trying to install the new oxygen 2.0.1 with and the data2whatever scripts and also tried to reformat my sd card to increase from 512 to 1024mb.
from what ive read i may have somewhoe reformatted my internal sd ext or did something to it.
I followed one fix found from hereHere
but that didnt help it made another problem which is: cant mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1) I/O error
error mounting /sdcard/.android-secure!
does anyone else know a link for a fix or how to fix the sd-ext on the internal storage?
Please please help
Thanks
CWM messed up mine, so that's why I never use Recoveries to do this job.
I fixed it using GParted. Deleted both partitions, created new ones and aligned both.
No problem ever since.
nagypapi said:
CWM messed up mine, so that's why I never use Recoveries to do this job.
I fixed it using GParted. Deleted both partitions, created new ones and aligned both.
No problem ever since.
Click to expand...
Click to collapse
Hey thanks for the reply, can you explain a little more.
you deleted the mmcblk0p2 directory and created new ones?
Did you do that in adb with parted?
if not how did you go about with it?
Thank you
I booted GParted from my usb stick, and the phone was in recovery mode, where I mounted the SD Card (Advanced - Mount USB Storage).
Gparted recognized it as dev/sdb0 (I think) and showed to partitions.
Removed them both (showed 15 GB Unallocated space*) and created the 1GB Ext4 and then the Rest FAT32.
*=16GB is 15 GB usable space (just in case ).
nagypapi said:
I booted GParted from my usb stick, and the phone was in recovery mode, where I mounted the SD Card (Advanced - Mount USB Storage).
Gparted recognized it as dev/sdb0 (I think) and showed to partitions.
Removed them both (showed 15 GB Unallocated space*) and created the 1GB Ext4 and then the Rest FAT32.
*=16GB is 15 GB usable space (just in case ).
Click to expand...
Click to collapse
Yeah thanks. I figured out how to do the sd card but i think my problem is the actual sd-ext folder in the system partition on the phone.
E:cant mount /dev/block/mmcblck0p2 (file exists) error mounting /sd-ext/!
ANy one else have any other suggestions??
im getting desperate
SOLVED
I finally solved this. the problem was that somehow i dont know but
when i made the ext 3 partition it was extened, so obviously recovery couldnt mount it so that was the problem.
I fixed it by following this guys thread Here using parted and the shell to format and partition my sd card
So relieved i fixed this.
Same problem was in my desire.however, solved by install RUU ROM to remove the root then I root again the problem solved.

little confused

ok i moved from wildfire to desire
im not a noobie
but im liitle confused on a few things
Convert sdext to EXT3 wats this all about
do we not use the Darktremor Apps2SD 2.7.5.3 Beta 04 on this device
y do we have to have 2 ext4
etc
2gb fat32
1.5gb ext4
0.5gb ext
this is very strange
Partitioning SDcard
1st Partition: FAT32 - xyzMB
2nd Partition: EXT4 - 768MB
3rd Partition: EXT4 - 256MB
Remember 3rd partition is 1/3 of 2 Ext Partition for Batter Result.
It also work with 2 Partitions but less performance...
1) Place Cool_Rom.zip, flashable_data2ext.zip into SDcard.
2) Reboot in Recovery, toggle signature check off.
3) Flash Cool_Rom.zip. DO NOT REBOOT.
4) Flash flashable_data2ext.zip reboot and enjoy.
**************************************************
Data2SD Setup
Partitioning SDcard
1st Partition: FAT32 - xyzMB
2nd Partition: EXT4 - xyzMB But Not More Than 2GB.
im very confused
y there so meany different thing to do
wildfire was simple lol
daddyspud said:
ok i moved from wildfire to desire
im not a noobie
but im liitle confused on a few things
Convert sdext to EXT3 wats this all about
do we not use the Darktremor Apps2SD 2.7.5.3 Beta 04 on this device
y do we have to have 2 ext4
etc
2gb fat32
1.5gb ext4
0.5gb ext
this is very strange
Partitioning SDcard
1st Partition: FAT32 - xyzMB
2nd Partition: EXT4 - 768MB
3rd Partition: EXT4 - 256MB
Remember 3rd partition is 1/3 of 2 Ext Partition for Batter Result.
It also work with 2 Partitions but less performance...
1) Place Cool_Rom.zip, flashable_data2ext.zip into SDcard.
2) Reboot in Recovery, toggle signature check off.
3) Flash Cool_Rom.zip. DO NOT REBOOT.
4) Flash flashable_data2ext.zip reboot and enjoy.
**************************************************
Data2SD Setup
Partitioning SDcard
1st Partition: FAT32 - xyzMB
2nd Partition: EXT4 - xyzMB But Not More Than 2GB.
im very confused
y there so meany different thing to do
wildfire was simple lol
Click to expand...
Click to collapse
You news to understand a few things first.
1) ext is a type of partition that belongs to the Linux family
2) sdext is the ext partition on your SD card that you made.
3) we do use dark tremor.
I think you should do some more reading about your rom first. I don't get why there are 2 ext partition when you only need 1. I guess it's down to how it has been developed.
Sent from CM7
Well it's not that complicated. I don't know where you read that you needed 3 partitions on the sd-card, but usually 1 ext and 1 fat32 will do.
I only use 1 ext4 on my sd card the rest is fat32. maybe this is the way another rom works?
am using starburst data2sd
HI so just ur normal fat 32 n ext3 will do I read this in leedroid Rom I think I was very confused.
But if its the same then cool
Sent from my HTC Wildfire using XDA App

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

Link2SD & Partitioning Help

Hey everyone. I'm going nuts trying to figure out how to use Link2SD. I partitioned my 32G SD card using Mini Partition Tool. I made a 1 gig partition. I've tried FAT32 and EXT2. After partitioning, i rebooted and tried Link2SD. I keep getting the error "Mount script cannot be created. [1] Segmentation fault mount ..."
Is there any solution for the xperia play? I manually moved my apps but still ran out of space keeping system tools like Titanium Backup on the internal. Maybe I should make them System Apps?
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
ozzmanj1 said:
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
Click to expand...
Click to collapse
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error (segmentation fault mount -t ext4...). When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
echardcore said:
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error. When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
Click to expand...
Click to collapse
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
ozzmanj1 said:
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
Click to expand...
Click to collapse
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
echardcore said:
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
Click to expand...
Click to collapse
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
ozzmanj1 said:
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
Click to expand...
Click to collapse
PC sees the FAT32. Phone sees the card now. Link2SD shows the partition but cant mount it and create the script for it. Also tried as ext2. Thanks for your help. I am going to try to update the ROM.
After updating the ROM to 2.4.0 and waiting 10 mins and rebooting as usual. was able to successfully link the partition! Thanks for your help!
No problem. Glad you got it working.
Sent from my R800at using xda premium
Got all my apps installed! Woot! Also, something must have been messed up with my previous flash.. I wasn't able to restore apps the newer way from titanium backup. I had to do it the old way one by one.
phone is going to make a great gaming alternative to my SGSII.

[Q] Link2SD switch from fat32 to ext3?

hey I'm currently using a fat32 second partition for my link2sd setup but I need an ext2/3/4 system to link the internal data (for google translate offline language packages) to my sd card as well.
I read that ext4 is not supported but ext3 is.
Thus, my actual question: can I reformat my fat32 partition to ext3 and keeping all the links and files so I don't have to reinstall/move all the applications currently linked?
Create 2nd partition as ext2...
Then, Recreate mount script and select ext4....
Reboot....
It will work....
It moves data also....
Enjoy.....
Wouldn't the data that is currently on the second partition be lost in that process?
Yes it would be. Formating deletes all data on the partition.
Can I just make a backup of the contents of the partition (copying all files) and put them back after the reformat?
Will link2sd still recognize these folders, will there be problems about permissions, ...
Thanks for the help because I basically messed up choosing fat32 in the first place :/
Theoretically it should work. Never tried that, so I cannot be sure.
Ok thanks.
I'll try it soon and post back the results
Link2SD to Link2SD Plus-FAT32 to ext2,ext3,ext4 or f2fs
KoenGo said:
Ok thanks.
I'll try it soon and post back the results
Click to expand...
Click to collapse
Hi, KoenGo I saw ur post, n I too was going to post d same question.
Actually I m switching from Link2SD to Link2SD Plus, n av to change d second partition from FAT32 to ext2, ext3, ext4 or f2fs.
I av posted d same question 2day in PHANDROID-Android Forum, so if I get an answer from them I'll let u no, n if b4 that u find out something, u let me no.
Goodluck n Thanx.
Just formatted the second partition to ext2 with Gparted and moved back the backup files from the partition. Selected ext4 when link2sd asked for the file system (I know it's weird but it worked).
Apps were temporarily uninstalled, so shortcuts on home are gone, but other than that all is working fine now.
Now I just need to get the plus version to link the internal data.

Categories

Resources