like the title says, I want an EXT4 partition from my system, wich is needed to install mods.
im currently running cyanogenmod 7.2 rc1 rooted, clockworkmod installed.
to install the script, I need an EXT4 system partition. I know how to do this on my SD card, but how to do this on your system?
thanks
You find the tutorial in this thread:
http://forum.xda-developers.com/showthread.php?t=1397120
But you need a card reader, you can't format to ext4 with usb cable.
LegoGabi: he's talking about the internal memory.
IIRC the CM7 install script did the formatting for you.
Starting from RFS partitions, either:
-Install a ROM with CWM that includes the reformatting utilities in its zip along with the required commands in the script.
-Use an appropriate ext4 CWM recovery and use the format functions in there.
-You could also make your own script, there's a few out there for other devices that could be adapted...
Oh, i thought he wants to make app2sd work.
I think cyanogen are already EXT4, so you don't need to convert it anymore
Cyanogenmods for Gio are in EXT4.
It formats internal partitions during installation.
Sent from my GT-S5660
Related
Hi,
I put on Amon Ra's Recovery, partitioned ext3 and flashes latest CM6 nightly.
How do i go about using this ext3 partition? (want apps2ext)
Do i need to install/flash apps2ext?
Please help
You just now reboot and start installing apps and it will automatically start using the EXT partition - unless the ROM didn't include A2SD+
I see all this talk about FireRat scripts and stuff... Is that not necessary?
How do i direct my apps to install on ext drive?
Puffin617 said:
I see all this talk about FireRat scripts and stuff... Is that not necessary?
How do i direct my apps to install on ext drive?
Click to expand...
Click to collapse
The script is included in the rom, you dont need to do anything, your ext is now /data/app/ and the dalvik cache.
I have a question that some may think is stupid especially since i have been modding for almost half a decade. Anyway i still do not understand the whole ext2,3,4 thing. I know there are kernals that use different ext # but when they say that a kernal has ext4 support, does that mean that you still have to partition our sd card to have ext4 or does it mean that the kernal creates and uses an ext4 partition for aps2d?
Another question that I have is with Boot Manager, when you are about to install a zip in one of your slots and it asks if your rom is ext 2 or 4, what does that mean, does it mean that you have to have an ext paritition to use bootmanager?
Any feedback would be appreciated
When a kernel has support for a certain version for the ext file system that means the kernel can read and boot partitions that a formatted to that version of the file system. Now sd-ext still needs to be creates in clockworkmod or some other way for app2sd.
Now as for boot manager. It doesn't create a partition. what it does is create img files which the app mounts and format it either as ext2 or ext4 whichever you chose and then copies the contents of the zip to the mounted img files according to the updater-script in the zip.
Sent from my Incredible 2 using XDA App
So I was following Simons tutorial to rooting the CDMA WFS. In particular I was looking at the Link2SD part of it. I followed his instructions and got an error:
/dev/block/mmcblk0p2: device not found
Make sure you have two partitions on your SD card and both are primary.
The screen shot of my MiniTool is attached. Can someone please tell me what I did wrong.
Hi GingerSmurf,
The first problem that I see is that the partition for Link2SD is way too big.
5.44GB only for installing apps?
The maximum recommended size for Link2SD and also DATA2SD support is 2GB.
This space will only be used for applications you install on your phone. To fill up 1GB already requires a lot of apps.
On my card I created a partition with 1GB, formatted in Ext4 for use in the ROM that is described in my signature.
I suggest you remove the 2nd partition that you created in FAT32 and create a new one in Ext2 format, preferably in Ext4 format if your rom/kernel supports it.
When you create the 2nd partition make sure you choose:
Select as: Primary
File system: Ext2 (to go on the safe side) or Ext4 (preferably)
Never use more than 2GB for that partition.
Use FAT32 for Link2SD only if your rom doesn't support it.
I can tell you that Stock 2.3.5 rom from HTC supports Ext2 (not Ext4) from my experiences.
When you first start Link2SD you should be able to select the file system you used for the partition.
If you already started Link2SD and it doesn't ask where to store it's data go to menu, more, recreate mount scripts.
It should ask what format you used for the Link2SD partition now.
For any more doubts refer to this excellent tutorial for Link2SD, made by d33ps1x. Kudos to him.
http://forum.xda-developers.com/showthread.php?p=21120303#post21120303
Good luck!
Please click thanks if I helped.
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.
Seems I've made a bit of a booboo somewhere. I was recreating the ext3 partition on my sd card. I deleted the existing ext4 partition and resized the fat32 partition to take up the slack left behind. When I checked the partitions afterwards, everything was fine and all my files were present and correct in my fat32 partition. I booted into recovery, formatted all partitions except my fat32 and went to install my rom again. Except I forgot to put it on the sd card. So I copied it back on to my sd card, stuck the card back in the phone, booted into recovery and promptly got a message that pb99diag.zip is missing. I've checked the entire fat32 partition and there's no sign of it. I tried renaming "OTA_Bravo_Froyo_HTC_WWE_2.29.405.5-2.29.405.2_releasedauhl6jhok5cmdm6.zip" to "pb99diag.zip" but it doesn't seem to like it.
How can I get back into recovery without the pb99diag.zip?
found a similar thread: http://www.modaco.com/topic/348778-hboot-looking-for-pb99diagzip-why/
It's because you resized it, I believe it might eventually stop searching for the file and go into recovery, but it's not ideal.
I'd try backing up sd again, and completely reformatting and partitioning again, but using up to date gparted instead.
- Also, why did you need to change from ext4 to ext3? ext4 is marginally faster, most ROMs support ext4.
- And are you trying to install an RUU? In which case you don't need an ext partition at all?
Sorry just trying to understand your overall aim...
- Also, why did you need to change from ext4 to ext3? ext4 is marginally faster, most ROMs support ext4.
- And are you trying to install an RUU? In which case you don't need an ext partition at all?
Click to expand...
Click to collapse
I had 2 2gb ext partitions, ext3, ext4. I didn't need 2 so deleted 1 and just created a single ext3 partition. I wanted to go back to my PA jb 4.2.2 which was working fine until I used link2sd to free up some more system space but because its sh1t it just completely ballsed up my entire install. I installed an RU and this left me rooted with s-off and it was plain sailing from there to reinstall recovery and flash my custom rom again. I'm using a different sd card now (for testing purposes) but I'm still getting the pb99 errors. As you say, it will eventually allow me into recovery and I can continue what I'm doing but it takes ages and I've never had this issue before.
I'm using MiniTool Partition Wizard Professional to create my partitions.
mickrick said:
I'm using MiniTool Partition Wizard Professional to create my partitions.
Click to expand...
Click to collapse
There's your main problem, do not use MiniTool Partition Wizard. More often than not it creates improperly aligned partitions. Link2SD won't have helped either, it's a messy method and you don't need it with 4.2.2 ROMs, follow the instructions to activate A2SD via terminal commands.
I would backup the FAT32 partition of your sd card, and reformat and repartition the whole thing using gparted. Use this video guide to help
Basically you want to remove all partitions and create one FAT32 partition, and max 2GB ext4 partition. You might as well keep it ext4 over ext3, it should be marginally faster.
Then full wipe and reflash ROM, don't use link2SD.
You should also look to s-off, search for guides, much more powerful, and useful if things go wrong.