Problems with Md Partitioning. - Wildfire Q&A, Help & Troubleshooting

Hi,
i've recently partitioned my buzz with this metod:
http://forum.xda-developers.com/showthread.php?t=1233340
I used those numbers: 250 35
Unfortunately after restoring backup I don't see any system apps (phone, SMS, etc), only system settings.
I tried flashing clean rom, it doesn't even boot.
I attach file that is created after failing to boot.

Re-install Clockworkmod Recovery and start over again (Install a ROM without the Custom MTD just to make sure it works). I am not so sure why you went for MTD Repartitioning when the default partition sizes are 250 40 in any case.

Related

Possible root cause of 'bricking' desire when flashing new rom

Hi,
New to the forum - since I've used so many of the threads to gather new ROMs and sort out problems on my desire, I've decided to share what I've learned. Don't know if this is old news but it's new for me.
Have a rooted Desire and have installed a few different ROMs (opendesire, leedroid, pinkolin's one etc.). Like others, I recently partitioned my SDCARD with one FAT32 and one ext3/4 partition (and a small swap partition) to allow storage of more apps without impacting phone mem too much. Don't ask about swap - old 'nix habits. This worked fine until I tried to install a new ROM recently (went through the Recovery/ClockworkMod method, not ROM Manager).
Thought I had bricked the phone as it booted but got stuck on the loading screen.
Tried wiping all caches/data. No change.
Tried to reflash old ROM and Radio - no luck. ROM installed but same problem.
Tried RUU (including PB99IMG.zip) - no luck. Got CID error.
Noticed that in ClockworkMod, when I tried to mount /sd-ext/ the phone didn't like it - couldn't find the device.
Put SDCARD into a reader and deleted the ext3/4 and swap partitions, then installed the ROM from the FAT32 partition. Phone booted no problem.
Have a hypothesis that, with ext partition present, when ROM is installed, it takes this into account and links the ext partition as a device which then tries to mount as /sd-ext/ which it can't do as it doesn't understand the filesystem until finished booting. Can't mount /sd-ext/ until full boot, can't boot unless /sd-ext/ mounted. Therefore, no booting properly.
With no ext partition present, has to create /sd-ext/ itself and then mounts it which allows full boot into Android.
Would suggest that anyone flashing a new ROM who has an ext partition present either hides or deletes the partition (after backing up apps) to ensure that android doesn't get confused.

[Q] Q(s) does cwm 3.0.0.5 restore/backup sd-ext

Hi,
I searched various forums but cant find an answer to this.
Does cwm 3.0.0.5 backup and produce an sd-ext.img?
I recently got a replacement sd card, so I did a nandroid backup after I flashed cwm 3.0.0.5.
I copied this to my laptop, and g parted my new sd to have 2 partitions fat 32 first and the last 2 gb as ext3, as per the requirement for modaco no sense kitchen rom (a2sd+ version).
New sd in desire, I copied the whole clockworkmod folder onto the new fat32 partition.
Wiped everything I could using recovery (clockworkmod folder still remains present).
Tried to restore but got a message at the end that "sd-ext.img not found. Skipping restore of /sd-ext. Restore complete."
When I boot the desire gets past initial alpharev s-off replacement image I have (I have s-off), then presents a blank screen. This does eventually boot. However all apps are not installed. I assume that the original dalvik cache was not transferred and was reconstructed by the restore with what it had.
Is this a known problem with 3.0.0.5?
Is there another version I can flash which doesnt have this problem?
Just to provide all possible info require (I think). My desire is PVT4.
Thanks in advance.
I used CWM 2.5.0.7 from the alpharev release.
In my backup folder, I have sd-ext.img present.
I created this sd-ext with CWM itself. (I did a backup of the sd and formatted it)
So no doubt that CWM 3.0.0.5 did the same.
First, check if you actually have the sd-ext.img file.
Second, you might want to try to update to CWM 3, since the alpharev release is 2.5.1.8.
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Meaple said:
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Click to expand...
Click to collapse
Hi,
I used gparted to firstly create a fat 32 partition then secondly a ext3 partition (for apps) on a new sd card. I cant see a sd-ext.img file in the nandroid backup file produced by cwm 3.0.0.5 so I assume that it cannot detect the ext3 partition.
Do you have any idea as to why this is? Can I have done anything to help cwm "see" the partition.
I'll update to 3.2.0.1 to try if the same problem occurs in that release.
I take your point that I could use titanium backup to achieve the same. I dont really want to do this as as I find it a pain to re-install the large number of apps I like to carry about on my desire. The problem is that I know what runs well on a ext-3 partition and what only runs on int or system space. I only allow apps into system or int if I really them to be there so this means thatyou have to manually install each one of them to the relevant space. Also I use ext3 for dalvik cache (seems to improve performance).
I cant see a reason why 3.0.0.5 didnt see the ext3 partition and ideally I would like a nandroid recovery solution that could auto detect all partitions if present (as I guess many others would).
I'll update this thread when I have run through the update to 3.2.0.1 and done some more testing.
I think CWM doesn't backup ext-partition if there's no data
try the old CWM.. the one comes while you root with unrevoked3 .. coz I have old CWM and it does backup sd-ext.

Custom ROM installation - a newbie experience

Hi,
I'm a newbie to rooting and custom rom installation(Apologies for a long post).
Hope my exprience of first custom rom installation will bring confidence to other users who struggle / afraid installing custom rom.
1. Installed unrevoked3 v3.32 (latest version along with its drivers), based on the instructions from the site. This removed stock recovery & installed clockworkmod 2.5.0.7
--Successful (partially). su worked fine but nand security still on (s-on)
2. Downloaded alpharev1.8 on to a usb stick and updated recovery with alpharev-clockworkmod recovery. This process removed nand security and i got s-off
--Successful
3. Downloaded Android Flasher & Amon_Ra recovery and installed (This enabled me to create partition on SD of size >512MB)
--Successful
4. Downloaded InsertCoin_GB_Sense2.1_A2SD+_1.0.8 along with Radio 32.56.00.32U_5.17.05.08 and alignment ext files.
Now starts the fun part, I made a not of all app i had so i was prepare to lose all data !!!!
Attempt1:
0. Did a NAND backup (!!! Important !!!)
1. Partition SD (Swap: 0 ext2: 1gb fat32: remaining)
2. convert ext2 to ext3
3. convert ext3 to ext4
4. Flashed ROM (Insertcoin)
5. Flashed alignment ext
Did a reboot....
Phone hang on Logo screen
--Failure
6. Restore my previous rom via NAND restore
7. Phone back to my old setup
Attempt2:
0. Did a NAND backup (!!! Important !!!)
1. Partition SD (Swap: 0 ext2: 1gb fat32: remaining)
2. convert ext2 to ext3
3. convert ext3 to ext4
5. Flashed alignment ext
4. Flashed ROM (Insertcoin)
6. Flashed Radio
Did a reboot....
Phone hang on Logo screen
--Failure
6. Restore my previous rom via NAND restore
7. Phone back to my old setup
Attempt3:
0. Did a NAND backup (!!! Important !!!)
1. Partition SD (Swap: 0 ext2: 1gb fat32: remaining)
2. convert ext2 to ext3
3. Flashed ROM (Insertcoin)
Did a reboot....
Hurrah!!!! phone successfully installed with insertcoin rom
Had couple of issues (like facebook force close etc) but i'm confident now to explore other ROMs and find the one that suits me
It took me 2 days to understand and attempt things, but the final step took me only 30 odd mins to finally install a ROM
Its that easy....
Keep exploring and a BIG thanks to XDA & its developers for developing these custom ROM
Regs,
Ara
I have never used Android Flasher, and i would suggest everyone do the same. I flashed most ROM's and i've never had any issues, just do everything from recovery. ;-)
Also if you're partitioning the SD card, i would suggest to use gParted instead of recovery. (if you dont have linux use gParted live cd, bootable from CD, usb etc.)
dont use alignment.zip, they can mess up your ext...
restore your nandroid, go into settings>storage>format SD (this will restore whole SD as FAT32)
burn gParted Live CD, and using it format your SD after enabling USB-MS in recovery. FAT32 + 1GB EXT4 (FAT is before EXT, not after)
then flash ROM, 1st boot takes up to 15min
then you should be OK
DONT FLASH ALIGNMENT ZIP

[help needed] unable to restore nandroid backup after repartitioning ext sd

hi
i have a wildfire s )s-on_ hboot unlocked running hensmod7 rom, when i installed the rom it had something like 78something MB as secondary partition and link2sd accepts only when i select fat16/32 from the start menu.
i recently repartitioned the sd to ext4 (and to ext2 later) and linux swap, when i try to restore the nandroid backup, process completes but when the phone restarts it stays on the main boot animation of the rom.
when i data reset from cwm recovery menu + del cache + del delvik, Then it restarts as a new blank phone running hensmod7 fine.
so the basic problem is getting the nandroid to restore on the phone.
Any suggestions?
btw my cwm version is same as when the backups are being made.
predator_b4u said:
hi
i have a wildfire s )s-on_ hboot unlocked running hensmod7 rom, when i installed the rom it had something like 78something MB as secondary partition and link2sd accepts only when i select fat16/32 from the start menu.
i recently repartitioned the sd to ext4 (and to ext2 later) and linux swap, when i try to restore the nandroid backup, process completes but when the phone restarts it stays on the main boot animation of the rom.
when i data reset from cwm recovery menu + del cache + del delvik, Then it restarts as a new blank phone running hensmod7 fine.
so the basic problem is getting the nandroid to restore on the phone.
Any suggestions?
btw my cwm version is same as when the backups are being made.
Click to expand...
Click to collapse
I think you just need to reflash the recovery. After that follow the other instructions on hensemod thread to install properly. While partitioning use minitool. Make 3 partitions: fat32, 512-2gb ext2/4, 418-512 mb linux swap in that order, make all of them primary partitions.
If this doesn't solve the problem I think Ur mmc is corrupted. Or U could also use data2sd it may also be that that U dont understand the process of using link2sd.
finance.resat said:
I think you just need to reflash the recovery. After that follow the other instructions on hensemod thread to install properly. While partitioning use minitool. Make 3 partitions: fat32, 512-2gb ext2/4, 418-512 mb linux swap in that order, make all of them primary partitions.
If this doesn't solve the problem I think Ur mmc is corrupted. Or U could also use data2sd it may also be that that U dont understand the process of using link2sd.
Click to expand...
Click to collapse
i am pretty sure that recovery is just as good as a fresh apple .... as i have restored before ( with success off course) but the moment i repartitioned the mmc and changed it to ext4 and later to ext2 (for testing) then system stucks on boot animation, even after successful restore.
Why can't people see a q&a section where questions are to be asked?
Which Rom are you using? Wipe data and other stuff first, then flash the zip of the rom, then use advanced restore to restore only data and sd-ext
vbhtt said:
Why can't people see a q&a section where questions are to be asked?
Which Rom are you using? Wipe data and other stuff first, then flash the zip of the rom, then use advanced restore to restore only data and sd-ext
Click to expand...
Click to collapse
well i thought its the right section to put the question of the related, we post in q&a from next time
i was using hensmod and tried restoring hensmod after repartition, will try to flash the zip and advanced restore as you have written.

[Q] Problems resizing ext4 partition

I can't get this to work. I used to have this setup:
fat32/ext4/swap
I wanted to remove swap so I did, but system wouldn't boot anymore. So I restored nandroid backup and still the same thing - it hangs on boot logo.
So I tried deleting ext4 and swap, and restoring ext4 image which I made with clonezilla - this time the system boots, but upon desktop start I doscover that almost all apps lost their settings and they behave like they were just installed.
I'm on MIUI XJ X-part (GB-based).
impactor said:
I can't get this to work. I used to have this setup:
fat32/ext4/swap
I wanted to remove swap so I did, but system wouldn't boot anymore. So I restored nandroid backup and still the same thing - it hangs on boot logo.
So I tried deleting ext4 and swap, and restoring ext4 image which I made with clonezilla - this time the system boots, but upon desktop start I doscover that almost all apps lost their settings and they behave like they were just installed.
I'm on MIUI XJ X-part (GB-based).
Click to expand...
Click to collapse
Partition your sd-card with 4ext recovery or gparted.
abaaaabbbb63 said:
Partition your sd-card with 4ext recovery or gparted.
Click to expand...
Click to collapse
I'm on linux. That's the only thing I ever use for partitioning.
Anyway, I could not get it to work so I just installed new system.

Categories

Resources