[Q] SD EXT info + Bootmanager - Verizon Droid Incredible 2

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

Related

Development Idea

Well here is my idea. Could we possibly partition the FAT32 part of our phones into more then one partition.
Saying like we could have a few FAT32 based partition, A Primary, One for roms/patches, then etc.
That way when we format the primary, it doesn't delete the roms we could flash. So we didn't need to hook up the phone to the computer to copy roms back over.
I know Recover firmware would need to support this. But it's just a thought.
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
BlueScreenOfTOM said:
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
Click to expand...
Click to collapse
I meant like partition the SD Card into multiple partitions, So when you erase the SD:Ext and the FAT32, the ROM Partition doesn't go with it.
So example
SD:Ext - Partition 1
FAT32 - Partition 2 (Default SD Storage)
FAT32 - Partition 3 (ROM Storage, Backup Files)
So when you partition the SD Card though the Recovery it will only format Partition 1 and Partition 2, So if you left somewhere wtihout your computer and tweaking your phone, You could use partition 3 and access your ROM files and backups without going though loops for them.
What recovery are you using. I'm still not sure what you are talking about? I have no problems accessing my roms and kernels. You can do it plenty of ways and not do what you are talking about..
Use root explorer. Can transfer from download folder or if you made a certain folder on SD card for them you can copy paste them to the root directory on SD card if you use RA recovery. Clockwork you can go through every folder looking for the zip using clockwork unlike RA recovery which needs it to be in root of SD card. Your making it hard on yourself..
Why would you want to wipe fat32 and partion?
Sent from my PC36100 using XDA App

[Q] how to create ext4 system partition?

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

[Q] 4EXT recovery format SD-EXT help

When I format my SD-EXT on 4EXT it erases all my information on my SD-card. When I try to install Runny Rom v5.5 it gets stuck on the SD partition part. I do a battery pull and check my SD card and all my files are gone
You don't say if you have two partitions on your SD card or not. You've got to have two partitions otherwise you won't have it working properly. The first one should be normal FAT32 and the second one EXT3 or EXT4 depending on the requirements of the ROM you want to flash. The best way to achieve this is to use gParted on a normal PC. Then you can use 4EXT on your phone to manipulate the SD-EXT part of your SD card, eg formatting it or converting between different types of EXT partition. This is the part where your apps data, cache, actual apps, dalvick cache etc. will be kept depending on your settings. Leave FAT32 partition alone.
If you are installing your ROM from the phone then the necessary file should be placed in FAT32 partition. Just remember the path where you copied it. You will need this when you use 4EXT to install the zip file.
Sent from my HTC Desire using Tapatalk 2
Make sure you have two partitions: FAT32 + EXT4 (size at least 1 GB). Also make sure that they are correctly aligned.
Sent from my HTC Desire using Tapatalk

converting ext3 to ext4

I realise that I should have created my ext partition as ext4 not ext3 as the newer roms seem to need it. I had a search and it seems to be a bit complicated to simply convert the partition so I have a two-part question to see if what I have in mind will work.
I use Link2sd which I like and seems to work well (other than for Swype which I now have gotten rid of).
So, will this work (and I apologise for being somlistic in my approach):
I move all my linked apps to the SDcard proper using L2SD (there's not enough room on the phone's internal memory)
I copy my entire SD card to my computer just in case
I then use 4EXT and using the option "wipe or format --> EXT3" I reformat that ext3 partition as a ext4 partition
Using L2SD I relink all the apps to the new ext4.
Otherwise, if I were to reformat and repartition the entire SD card using Gparted, can I simply drag and drop the SDcard folder I backed up on my computer back onto the SD card then relink everything with L2SD?
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
stankyou said:
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
Click to expand...
Click to collapse
Great - nice and easy. Should I move the apps to the main part of sd card first by unlinking them because I don't see the ext3 partition when I connect the phone to my computer.
The concept of doing a nandbackup is to copy thhe current status of the phone. Everything. So you relly don't need to do that.
Just make sure that the contents you see when you plug the phone to the computer is saved in the computer including the nandbackup you made.
The nand will basically take care of the files on the ext part when you restore it.
via xda app
stankyou said:
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
Click to expand...
Click to collapse
If using 4ext you only need to convert ext to ext4(it backs up automatically). If you restore a nand made with ext3 you also loose the ext4 partition so you also need to manually convert all nand backups to ext4 using 4ext. Hope this makes sense...
nicklashidegard said:
If using 4ext you only need to convert ext to ext4(it backs up automatically). If you restore a nand made with ext3 you also loose the ext4 partition so you also need to manually convert all nand backups to ext4 using 4ext. Hope this makes sense...
Click to expand...
Click to collapse
It makes sense but I'm starting to get a bit confused as to what I now need to do.
What you're saying is the nand backup will put the phone back how it was to start with, ie the ext4 partition will revert to ext3? So what is the best way to do all of this? When you say "you also need to manually convert all nand backups to ext4 using 4ext. " how do I do that and do you mean before or after I restore the nand backup?
To make this easier, can I not simply forget the nand backup and do this: unlink all my apps with L2sd and put them onto the sd card like in native apps2sd. Then put the whole sd card on a folder on my computer, wipe and repartiton the sd card with ext4, move the whole folder back onto the fat32 partition and the use L2sd to relink all the apps onto the new ext4 partition?
simon12 said:
It makes sense but I'm starting to get a bit confused as to what I now need to do.
What you're saying is the nand backup will put the phone back how it was to start with, ie the ext4 partition will revert to ext3? So what is the best way to do all of this? When you say "you also need to manually convert all nand backups to ext4 using 4ext. " how do I do that and do you mean before or after I restore the nand backup?
To make this easier, can I not simply forget the nand backup and do this: unlink all my apps with L2sd and put them onto the sd card like in native apps2sd. Then put the whole sd card on a folder on my computer, wipe and repartiton the sd card with ext4, move the whole folder back onto the fat32 partition and the use L2sd to relink all the apps onto the new ext4 partition?
Click to expand...
Click to collapse
Put simply:
boot into 4ext recovery.
go into tools/Convert or change a backup --> ext4
convert ext
It will automatically backup ext, convert it to ext4 and then restore ext again (no data loss).
Delete all old NAND backups and start again (otherwise you'll restore your ext3 partition) or you can convert backups with 4ext (from ext3 to ext4).
Simples :victory:
nicklashidegard said:
Put simply:
boot into 4ext recovery.
go into tools/Convert or change a backup --> ext4
convert ext
It will automatically backup ext, convert it to ext4 and then restore ext again (no data loss).
Delete all old NAND backups and start again (otherwise you'll restore your ext3 partition) or you can convert backups with 4ext (from ext3 to ext4).
Simples :victory:
Click to expand...
Click to collapse
Absolutely brilliant - thanks! Done that and it worked.
How do I delete an old Nand backup - I'm looking in 4ext but can't see anything obvious or do I simply do another backup and that wipes the old one?
simon12 said:
Absolutely brilliant - thanks! Done that and it worked.
How do I delete an old Nand backup - I'm looking in 4ext but can't see anything obvious or do I simply do another backup and that wipes the old one?
Click to expand...
Click to collapse
Using the 4ext app go into manage backups or using a file explorer go into sdcard/clockworkmod/backup and delete the corresponding folder
nicklashidegard said:
Using the 4ext app go into manage backups or using a file explorer go into sdcard/clockworkmod/backup and delete the corresponding folder
Click to expand...
Click to collapse
I have booted the phone up but now it does not want to recognise the ext partition. Links2sd suggests that the device may not support ext4 yet I know lots of Desire owners on here have that. I guess I have to revert to get my apps back that are currently showing as not loaded.
Just convert back to ext3 again using 4ext.. kernel might not support ext4
nicklashidegard said:
Just convert back to ext3 again using 4ext.. kernel might not support ext4
Click to expand...
Click to collapse
Damn. Oh well, thanks for the help anyway.
Anyone know what kernel I would need and how would I go about installing it? Is this a fairly easy and safe thing to do?
simon12 said:
Damn. Oh well, thanks for the help anyway.
Anyone know what kernel I would need and how would I go about installing it? Is this a fairly easy and safe thing to do?
Click to expand...
Click to collapse
I'd say just leave it as ext3. I've never come across a ROM that don't support ext3....
nicklashidegard said:
I'd say just leave it as ext3. I've never come across a ROM that don't support ext3....
Click to expand...
Click to collapse
I was thinking of installing this one: http://forum.xda-developers.com/showthread.php?t=1315961 I hear it is quite a stable one and that's most important to me. It says that ext4 is required for the ROM:
(Q) I get an error ”can’t Mount /dev/block/mmcblk0p2 (File Exists)”.
(A) That error and others like it are generally caused by a corrupt ext partition on your SD Card. The solution is to use 4EXT recovery, gParted, or a similar tool to reformat the ext partition to ext4. Leave the FAT32 partition alone and you shouldn’t lose any data. Don't use Windows-based partition tools!
Some suggest using ext3 as it is a known quantity and most ROMS will boot with an ext3 partition, however Runnymede AIO requires an ext4 partition.
and for AD2SDX to work (links you to here: http://forum.xda-developers.com/showpost.php?p=18911182&postcount=1784 )
I'll have to look for another instead.

[Q] pb99diag missing after partiton resize

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.

Categories

Resources