[Q] app2ext on milestone - Motorola Droid and Milestone General

First of all, sorry for my bad english. I want to use an ext partition in my milestone, under [ROM] CyanogenMod 7.1.5 (Android 2.3.7) from kabaldan. I create the partition (primary, ext3) with EASEUS Partition Manager. After i download link2sd from market. When it starts, i see the popup of file system selection. I select ext3 from the list, and see the following error message: Mount script cannot be created. mount: mounting /dev/block/vold/179:2 on data/sdext2 failed: No such device. Can anyone help me? Thanks for the advices.

Try creating an ext4 partition and this app: https://market.android.com/details?...ult#?t=W251bGwsMSwxLDEsInJ1LmtyaWt1bi5zMmUiXQ..
Worked for me

Ok, works with ext4 in link2sd too. thx.

Link2SD is great - thank's for mentioning it - I finally managed to get cache2ext to work in MIUI

Check this post it very simple. http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning

Why does every tutorial tell you to delete all partitions?
I just resized my FAT partition and created an ext4 in the unallocated space - works like a charm and usually doesn't even require backing up data first.

Related

[Q] SD-Ext mount on boot in CM6.1.1

Hi all!
Does a vanilla CM6.1.1 install mount the ext partition of the sdcard, if present?
If not, which file should I edit in system/etc/init.d, and with what?
Many thanks for your help!
I'm using only A2SD script
The reason I'm asking is that I'd like to use Link2SD, and I think that it doesn't mount the ext partition on boot, it expects that it is already mounted.

[Q] Can't convert /system to ext4?

As of last night I'm running CF Root 3 JVK on Gingerbread 2.3.3.
When I tried using the ext4 App to convert the file systems to ext4, it was successful for:
/dbdata
/data and
/cache
However for /system, it says:
Code:
Using: internal sdcard
Converting /system
- Backing up files ...
- Creating ext4 filesystem ...
- Restoring files ...
- Restore failed ! Not enough space ?
- Performing rollback ...
- Creating rfs filesystem ...
- Restoring files...
- Rollback success!
I cleared up some space on my phone and now I have 1.87GB available space on the sd card, and 13.26GB Available space on the USB storage.
and 1.75GB Available Space on System storage.
However I still can't convert /system to ext4.
Any ideas why this might be the case?
You need to free some space on /system to be able to successfully convert it to ext4. Apparently, ext4 needs some extra space for the conversion.
This is explained in the CF-Root main post, or in the CF-3.0 release information.
Okay thanks for that!
All the answers were in the original thread. I was just searching for the wrong terms.
I eventually downloaded Super Manager, activated its root mode and deleted the Aldiko eBook app from /system/app
That freed up enough space to convert /system to the ext4 filesystem!
mercifulhop said:
Okay thanks for that!
All the answers were in the original thread. I was just searching for the wrong terms.
I eventually downloaded Super Manager, activated its root mode and deleted the Aldiko eBook app from /system/app
That freed up enough space to convert /system to the ext4 filesystem!
Click to expand...
Click to collapse
you're right.
that works.
greetings
andcooper
mercifulhop said:
As of last night I'm running CF Root 3 JVK on Gingerbread 2.3.3.
When I tried using the ext4 App to convert the file systems to ext4, it was successful for:
/dbdata
/data and
/cache
However for /system, it says:
Code:
Using: internal sdcard
Converting /system
- Backing up files ...
- Creating ext4 filesystem ...
- Restoring files ...
- Restore failed ! Not enough space ?
- Performing rollback ...
- Creating rfs filesystem ...
- Restoring files...
- Rollback success!
I cleared up some space on my phone and now I have 1.87GB available space on the sd card, and 13.26GB Available space on the USB storage.
and 1.75GB Available Space on System storage.
However I still can't convert /system to ext4.
Any ideas why this might be the case?
Click to expand...
Click to collapse
Tell me pls where can i find the ext4 tool, for download.
kunacs said:
Tell me pls where can i find the ext4 tool, for download.
Click to expand...
Click to collapse
It is attached on the first page of the CF-Root thread.

problem setting up link 2 sd

i created a partition ext 2 using link 2 sd but i always get space full error when tryng to partitioni get a mount script error line 15 text file busy should i use the ext 3? i'm using jelly blast rom...
Andraxo said:
i created a partition ext 2 using link 2 sd but i always get space full error when tryng to partitioni get a mount script error line 15 text file busy should i use the ext 3? i'm using jelly blast rom...
Click to expand...
Click to collapse
Go to cwm recovery -> mounts & storage -> format sd-ext (It will format your second partition in ext3 format)
Reboot the phone and open link2sd and select ext3 as your second partition. If it still gives error go to more options in link2sd and recreate mount script and select ext4 and reboot phone
For full space problem, uninstall some unnecessary apps from /system and /data or move apps to sd card using Link2Sd
Andraxo said:
i created a partition ext 2 using link 2 sd but i always get space full error when tryng to partitioni get a mount script error line 15 text file busy should i use the ext 3? i'm using jelly blast rom...
Click to expand...
Click to collapse
By 5830i its recommended to use with ext3 partition.
Sent from my GT-S5830i using xda premium
saeed14i said:
Go to cwm recovery -> mounts & storage -> format sd-ext (It will format your second partition in ext3 format)
Reboot the phone and open link2sd and select ext3 as your second partition. If it still gives error go to more options in link2sd and recreate mount script and select ext4 and reboot phone
For full space problem, uninstall some unnecessary apps from /system and /data or move apps to sd card using Link2Sd
Click to expand...
Click to collapse
i think i'ma just do this frmo the start guess i did the wrong one (ext 2 ) should've done ext 3..
Andraxo said:
i only see format /sdcard there is no format/sd-ext o_o?
Click to expand...
Click to collapse
CWM Recovery v5.0.2.6 should have this option. I'm looking at it right now. Right below format /sdcard & Right Above mount USB Storage option is the option format /sd-ext
Anyway if you still can't find it in cwm, use minitool partition in windows to format the sd-ext partition in ext3 format. Link2sd has some issues in Jellyblast ROM in my experience. But it was solved for me by the method i explained to you in my last post. Also verify if you have got the latest version of link2sd.
Most importantly, please note that link2sd will only detect ext2 format if you are on stock kernel. It will detect ext3 & ext4 formats only if you are on Rafael's kernel
saeed14i said:
CWM Recovery v5.0.2.6 should have this option. I'm looking at it right now. Right below format /sdcard & Right Above mount USB Storage option is the option format /sd-ext
Anyway if you still can't find it in cwm, use minitool partition in windows to format the sd-ext partition in ext3 format. Link2sd has some issues in Jellyblast ROM in my experience. But it was solved for me by the method i explained to you in my last post. Also verify if you have got the latest version of link2sd.
Most importantly, please note that link2sd will only detect ext2 format if you are on stock kernel. It will detect ext3 & ext4 formats only if you are on Rafael's kernel
Click to expand...
Click to collapse
thank you and yes i'm using rafael's kernel i'll try it your way i was using an older version of cwm i guess
anyway i formatted the partition to ext 3 using mini tool should work now i think
lol now it just says mlount script cannot be created invalid argument ext 3 may not be created on your device...try fat 32.
Andraxo said:
i created a partition ext 2 using link 2 sd but i always get space full error when tryng to partitioni get a mount script error line 15 text file busy should i use the ext 3? i'm using jelly blast rom...
Click to expand...
Click to collapse
problem is with jelly blast rom..uninstall Link2sd with rom..and install it from play sore..will work fine..use Ext2 or Ext 3..:good:

[Q] /data/app-lib in android 4.2.1 - link2SD will cause errors ?

I'm trying some custom roms, derived from cyanogen 10.1 i.e. jellybeam 4.2.1 (a new flavour...)
here i see a new folder in my filesystem: /data/app-lib
where are extracted libs from installed apk.
In previous version this files were in /data/data/<app_name>/lib
I 'll have some problems when using tool like Link2sd - that replace this files with simbolik links - now those paths doesn't match anymore, until link2sd will be updated....
Could someone confirm this ?
thank you...
are you sure link2sd is not updated for this thing
jb is out quite a time ago and I think link2sd is updated to ticker this out
i have android 4.1.2 rom but it doesn't have any app-lib folder in /data partition
dheeraj (dhlalit11) said:
are you sure link2sd is not updated for this thing
jb is out quite a time ago and I think link2sd is updated to ticker this out
Click to expand...
Click to collapse
no, i'm not sure it is updated or not...... but it does not work.
dheeraj (dhlalit11) said:
i have android 4.1.2 rom but it doesn't have any app-lib folder in /data partition
Click to expand...
Click to collapse
for what i see, this difference exist from in 4.2.1=>cyanogen 10.1 (after 4.1.2=>cyanogen 10)
link2sd works for me on cm10.1 (android 4.2) so i highly doubt its not updated...
Hi!
I have the same problem on gio cm10.1
link2sd.info/faq
I found in the middle of page:
Q. Library files that I linked get unlinked after restarting my phone, why?
See link for answer, but at the end of that topic u can see this:
"You can use "relink lib files at boot option" as workaround."
What isn't help for me, because the free space stays at the same Mbs.
After relink lib files I recommend to use a root browser to delete the unnecessary folders.
But the sad news is that you need to do this after every reboot.
Yeah that's normal
You will need to make a script and have to out in init.d
In that way everything would be done automatically
dheeraj (dhlalit11) said:
Yeah that's normal
You will need to make a script and have to out in init.d
In that way everything would be done automatically
Click to expand...
Click to collapse
Could you give some advice of how can we do it, please?
edit: I found the 11link2sd file in the init.d folder which contains the following:
Code:
#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-11link2sd.log
echo "$(date) mounting..." > $LOG
mount -t ext2 -o rw /dev/block/vold/179:2 /data/sdext2 1>>$LOG 2>>$LOG
mount -t ext2 -o rw /dev/block/mmcblk0p2 /data/sdext2 1>>$LOG 2>>$LOG
mount >> $LOG
echo "$(date) mount finished" >> $LOG
Maybe the folder is not mounted because you have chosen the SD partition as ext2 (in link2sd app)
Where your sdcard partition could be of ext3/ext4
Review this
In minitools PW i partitioned the 2nd part to ext2 because the stock GB does not support ext3/4. (I have a class 4 sdhc card)
So now i heve to repartition my sd or simply change the setup in link2sd to ext3/4?
Who says ext3 is not supported (don't think so)
Try to run that app at boot with the help of script manager
It may work
Uhh... I'm a newbie yet.
I'll try.
Thank you!:laugh:
When the first time i set 2nd parition to ext3 on stock GB 2.3.3 and tried to connect to link2sd it said "your device does not support ext4!"
So now i have to repartition my card on pc?
the ext support depends on which kernel i have?
Yayy!!! Repartitioned the ext2 to ext4 and everythings ok.
After repartitioning i needed some reboot and relink in link2sd, but now it's awesome. :good:
After the third reboot my memory goes lower and lower. Now i have 93,43mb free space in /data with (all) 52 apps linked.
I made a backup in TB before the partitioning and restored later.
DSP manager,E-mail,Exchange2 and lockClock apks were deleted too and the market app was converted to user app so the system' size goes lower too. :laugh:

Class 10 32GB SD Card - Can't partition from TWRP/CWM

Hi S5830 users (S5830 only)
I tried using TWRP and CWM to repartition my 32GB Class 10 SD card but failed, only MiniTool for Windows works, but I can't seem to use Link2SD to do an sd2ext
ROM: CM11 modded
Kernel: MA6
BachMinuetInG said:
Hi S5830 users (S5830 only)
I tried using TWRP and CWM to repartition my 32GB Class 10 SD card but failed, only MiniTool for Windows works, but I can't seem to use Link2SD to do an sd2ext
ROM: CM11 modded
Kernel: MA6
Click to expand...
Click to collapse
Can you tell me exactly what the error is? Are you able to create the mount scripts? You only have one sd-ext partition right?
mahithm said:
Can you tell me exactly what the error is? Are you able to create the mount scripts? You only have one sd-ext partition right?
Click to expand...
Click to collapse
According to MiniTool Partition Wizard, yes, I have 1 FAT32 (about 30GB) and another Ext3 partition. However, the device doesn't read it, and I cannot partition through either TWRP or CWM. I'm testing Cronmod on CM10.1 now, will update.
Sent from my GT-S5830 using XDA Premium 4 mobile app
BachMinuetInG said:
According to MiniTool Partition Wizard, yes, I have 1 FAT32 (about 30GB) and another Ext3 partition. However, the device doesn't read it, and I cannot partition through either TWRP or CWM. I'm testing Cronmod on CM10.1 now, will update.
Sent from my GT-S5830 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
TWRP or CWM should not be used to create a new ext partition if your sdcard already have another ext partition. Meaning you should have only one ext partition in your sdcard. So delete the ext3 partition and the fat32 partition, then create a single new fat32 partition on the 32BG sdcard. Now use the recovery mod to create the ext partition. That should work. Between Link2SD and CronMod, I would always go for CronMod. Then again its my opinion. Any way if you have any problem, just post here and I'll be glad to help
mahithm said:
TWRP or CWM should not be used to create a new ext partition if your sdcard already have another ext partition. Meaning you should have only one ext partition in your sdcard. So delete the ext3 partition and the fat32 partition, then create a single new fat32 partition on the 32BG sdcard. Now use the recovery mod to create the ext partition. That should work. Between Link2SD and CronMod, I would always go for CronMod. Then again its my opinion. Any way if you have any problem, just post here and I'll be glad to help
Click to expand...
Click to collapse
Is a Primary partition fine, or do I have to use a Logical partition?
EDIT: I used a Primary partition, and got this:
Partitioning SD Card...
Removing partition table...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
(TWRP says 'Failed')
EDIT 2: I used a Logical partition, and got this:
E:Unable to mount '/sdcard'
Partitioning SD card...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
EDIT 3: I think I might have found the problem: http://forum.xda-developers.com/showthread.php?t=1585572
I will test this and get back!
BachMinuetInG said:
Is a Primary partition fine, or do I have to use a Logical partition?
EDIT: I used a Primary partition, and got this:
Partitioning SD Card...
Removing partition table...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
(TWRP says 'Failed')
EDIT 2: I used a Logical partition, and got this:
E:Unable to mount '/sdcard'
Partitioning SD card...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
EDIT 3: I think I might have found the problem: http://forum.xda-developers.com/showthread.php?t=1585572
I will test this and get back!
Click to expand...
Click to collapse
If possible, can you try with CWM? Here is the link,
CWM 5.0.2.6 fix for Samsung Galaxy Ace S5830
Hope I Helped
mahithm said:
If possible, can you try with CWM? Here is the link,
CWM 5.0.2.6 fix for Samsung Galaxy Ace S5830
Hope I Helped
Click to expand...
Click to collapse
Tried with that, and it said
Partitioning SD Card... please wait...
Done!
(Copying my files back now, waiting to test)
BachMinuetInG said:
Tried with that, and it said
Partitioning SD Card... please wait...
Done!
(Copying my files back now, waiting to test)
Click to expand...
Click to collapse
That's pretty much it. Fingers crossed. Waiting for your reply
mahithm said:
That's pretty much it. Fingers crossed. Waiting for your reply
Click to expand...
Click to collapse
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Oh my gosh. Link2SD is saying that there is no second partition.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
EDIT: I'm manually flashing Cronmod again, instead of copying directly, as TWRP and CWM 6 didn't allow. CWM 5 works like a charm.
EDIT 2: Still 15MB free *Cries*
BachMinuetInG said:
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
Click to expand...
Click to collapse
BTW what rom are you using now?
---------- Post added at 12:18 PM ---------- Previous post was at 11:57 AM ----------
BachMinuetInG said:
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Oh my gosh. Link2SD is saying that there is no second partition.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
EDIT: I'm manually flashing Cronmod again, instead of copying directly, as TWRP and CWM 6 didn't allow. CWM 5 works like a charm.
EDIT 2: Still 15MB free *Cries*
Click to expand...
Click to collapse
You should know that CronMod and Link2SD doesn't work together. Since CronMod is present, Link2sd can't find the ext partition. What is the size of your ext partition. What rom are you using now? For every 512MB sd-ext partition you need a 100MB space on /data. So please limit your sd-ext patition to 1GB max.
mahithm said:
BTW what rom are you using now?
---------- Post added at 12:18 PM ---------- Previous post was at 11:57 AM ----------
You should know that CronMod and Link2SD doesn't work together. Since CronMod is present, Link2sd can't find the ext partition. What is the size of your ext partition. What rom are you using now? For every 512MB sd-ext partition you need a 100MB space on /data. So please limit your sd-ext patition to 1GB max.
Click to expand...
Click to collapse
I'm using Maclaw's CM10.1. I don't use CronMod and Link2SD together, when i figured out that CronMod didn't work I tried to use Link2SD. As for the /data, is it 100MB free?
BachMinuetInG said:
I'm using Maclaw's CM10.1. I don't use CronMod and Link2SD together, when i figured out that CronMod didn't work I tried to use Link2SD. As for the /data, is it 100MB free?
Click to expand...
Click to collapse
For our Samsung Galaxy Ace S5830, we have an internal memory of 150MB. So your ext partition size should not be more than 1GB for CronMod to work. BTW what is the size of your ext partition?
mahithm said:
For our Samsung Galaxy Ace S5830, we have an internal memory of 150MB. So your ext partition size should not be more than 1GB for CronMod to work. BTW what is the size of your ext partition?
Click to expand...
Click to collapse
If I'm not wrong... I chose 1024MB (1GB) at the selection screen.
BachMinuetInG said:
If I'm not wrong... I chose 1024MB (1GB) at the selection screen.
Click to expand...
Click to collapse
As a last resort, try to reflash this rom. Make sure to backup all the data. Take the rom file, extract it, put 40int2ext file inside /system/etc/init.d/ and then compress it back. Now go to CWM, do "Wipe Data/ Factory reset", "Wipe cache partitions", Mount & Storage> "Format /system" and "Format /sd-ext", Advanced> "Wipe Dalvik Cache" and "Wipe Battery Stats". Now reflash the custom rom. This should pretty much solve it. Restore all the necessary data.
mahithm said:
As a last resort, try to reflash this rom. Make sure to backup all the data. Take the rom file, extract it, put 40int2ext file inside /system/etc/init.d/ and then compress it back. Now go to CWM, do "Wipe Data/ Factory reset", "Wipe cache partitions", Mount & Storage> "Format /system" and "Format /sd-ext", Advanced> "Wipe Dalvik Cache" and "Wipe Battery Stats". Now reflash the custom rom. This should pretty solve it. Restore all the necessary data.
Click to expand...
Click to collapse
Thanks for your help I'll get back to you as soon as I've tried it :good::highfive:
BachMinuetInG said:
Thanks for your help I'll get back to you as soon as I've tried it :good::highfive:
Click to expand...
Click to collapse
No problem :good:
mahithm said:
No problem :good:
Click to expand...
Click to collapse
I've tried that already, and the device went into a bootloop. However, I used GParted to partition 777MB sd-ext, and the rest FAT32, and it boot up after flashing CM10.1 > GApps > CronMod INT2EXT4
The only problem was that the memory remained the same, and Partition info showed /sd-ext (EXT 0.00B/0.00B)
EDIT: For some reason sd-ext doesn't mount, but formats perfectly.
BachMinuetInG said:
I've tried that already, and the device went into a bootloop. However, I used GParted to partition 777MB sd-ext, and the rest FAT32, and it boot up after flashing CM10.1 > GApps > CronMod INT2EXT4
The only problem was that the memory remained the same, and Partition info showed /sd-ext (EXT 0.00B/0.00B)
EDIT: For some reason sd-ext doesn't mount, but formats perfectly.
Click to expand...
Click to collapse
Have you tried flashing the CronMod from CWM? Can you give it a try? Also try to use INT2EXT+ as it is much more stable than others. Hope I Helped
mahithm said:
Have you tried flashing the CronMod from CWM? Can you give it a try?
Click to expand...
Click to collapse
When I flash it from CWM sometimes it somehow finishes without incident, but the file doesn't get copied.
BachMinuetInG said:
When I flash it from CWM sometimes it somehow finishes without incident, but the file doesn't get copied.
Click to expand...
Click to collapse
Try to use INT2EXT+ as it is much more stable than others. Also you might need to mount /system from CWM before flashing if its not getting copied.

Categories

Resources