[Q] Can't convert /system to ext4? - Galaxy S I9000 Q&A, Help & Troubleshooting

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.

Related

[DEV] Voodoo expert. RFS to EXT4 conversion. HELP!

Hi all... Here there're many dev so maybe i'm so lucky to find someone that can help me....
I'm going to convert my phone's partition to ext4 but i have problem with /data. This because the phone has 4 gb of internal memory that Samsung push under /dev/block/mmcblk0. This memory is partitioned in three part /dev/block/mmcblkop1 (internal SD) /dev/block/mmcblkop3 (/data) and /dev/block/mmcblk0p2 (empty).
How can i format /data into ext4? I tryed different way but the phone doesn't boot. What is the correct way to make it?
My Phone (GT-I9003)
UPDATE: recovery can mount it without issue.... init.rc not.... why???

[Q] app2ext on milestone

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.

[Q]Checking interest: ext4 mod

I've been playing around with the CM-mod/S7 and can sucessfully make it boot with all ext4 partitions.
Backround information:
Parititions and formatting
Partitions are the basic unit of storage on my devices with storage (think C: D: E: if you use windows)
The standard layout of android devices:
A /cache partition
A /data partition
A /system partition
Other hidden partitions (this part isnt relevent to us)
The common filesystem formats for recent android devices are EXT 3 and 4 (4 being the newer obviously)
The S7's default partitions:
stock 3xx: (ie froyo)
/cache: ext3(?)
/data: ext3(?)
/system: ext2
stock 5xx: (ie honeycomb)
/cache: ext3
/data: ext3
/system: ext4
my ext4 mod:
/cache: ext4
/data: ext4
/system: ext4
All other devices that launched with HC installed use all ext4 partitions.
But the S7 didnt launch with HC, it launched with froyo.
Dell couldnt upgrade /data to ext4 without wiping user data.
They could upgrade system, since they wipe it on install anyway.
Cache they didnt for the outside chance a user had actual important data in it.
My proposal
What I propose is a modified version of CM9-mod with /cache and /data formatted as ext4 partitions.
I've already got a working version, the main issue is that:
I dont know what the difference is. I've ran quadrant with ext4 and again with ext4, and there's very little difference.
Since quadrant has an I/O and database benchmark (and they run on /data), at least it shows that there's only 1% change in scores.
Would anyone actually be interested in using an ext4 mod?
There are some downsides (depending on how you view it):
ext3 and ext4 nandroids arnt compatable
You will need to do a fac reset on first install (as it reformats)
You will need seperate versions of CM9-mod and CWM
This space for rent
A simple modification of the boot.img to change init.streak7.rc mount points to ext4, easy as pie.
Yea that's what I did, along with a CWM recovery.fstab mod.
But like I said I havnt really noticed any changes in quad, and it's using /data for it's tests
As soon as I get wifi up and working on cm10, going to see if there is any benefit to switching
Sent from my Nexus 7 using Tapatalk 2
I can test it tomorrow.
Sent from my PG86100 using xda app-developers app

How to increase /data partition?

There is 1.35GB free space in /system partition but only 40MB free space in /data partition on my phone.
Is there a way to repartition the internal storage so as to make use of the large free space in /system partition?
Using CM10 20120820 nightly build
getmore2012 said:
There is 1.35GB free space in /system partition but only 40MB free space in /data partition on my phone.
Is there a way to repartition the internal storage so as to make use of the large free space in /system partition?
Using CM10 20120820 nightly build
Click to expand...
Click to collapse
I've got the answer. The /data and /system partition is swapped in CM10 20120820 nightly build.
May be I should use CM10 20120814 version to get the bigger /data partition back.
That would slow down your apps and you wouldn't be able to make use of new features and fixes. Move some of your apps to sdcard and remove unused ones and there shouldn't be a problem.
You could, by that defeats the purpose of what pawitp just did. Move apps to sd.
Sent from my GT-I9000 using xda premium
If you need the extra space create an ext4 partition of around 1gb on your external sdcard and install Link2sd from the play store. That's a universal solution for all phones with limited storage.
Someone has also created a script that does practically the same thing, except it uses the internal movinand where /system is stored instead. http://forum.xda-developers.com/showthread.php?p=30568246
Use Datafix app from market, it makes /data/data directory, where all app cache can be stored.
zmagas1 said:
Use Datafix app from market, it makes /data/data directory, where all app cache can be stored.
Click to expand...
Click to collapse
That doesn't work with JB anymore because of the partition change. Hopefully they update it to make it work.

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

Categories

Resources