[Q] Broken rom after clockwork backup restore - LG Optimus 2x

I have installed custom rom from zip and used it for several weeks.
Today I have decided to try new rom and I have made a backup trough CWM (6.0.2.5) in format .tar
I have tried to restore the backup. but the phone gives me a really strange error.
Encryption Failed. The system .. bla bla bla ... you need to reset your phone ..
I have tried to factory reset trough CWM, but the problem is the same.
I have tried to restore older backup ... the same error ...
Any ideas what is the problem and now to fix it (restore the rom)

I have tried the following ..
1. format /system /cache / data
2. install custom rom (CivZ v3.0)
3. take the setup wizard
4. reboot into recovery (CWM 6.0.2.5)
5. backup (.tar format)
6. restore from the backup
and .. the same error and no working rom ..
Can this be an internal SD memory problem ?
Any ideas ???

Anyone

Try backing up to external SD card. If that works, or you dont have an external SD card, backup and repartition your internal SD using AIO toolkit (choice 4 in the toolkit, then select the new unlocked ICS bootloader, and 512 MB system partition, or whatever your preferred size is, then run the internal SD fixer which follows that step) and try again.

The backup is on external SD
I have already repartitioned the internal SD with the default ICS layout (1.5G system)

hack_man said:
The backup is on external SD
I have already repartitioned the internal SD with the default ICS layout (1.5G system)
Click to expand...
Click to collapse
Then try backing up to the internal SD and also try changing recovery to TWRP.

I have already tried TWRP but it cannot restore CWM backup
Currently I have stock rom , but I cannot rollback to the previous rom backup.
a few days ago I have used some app (found here in XDA) for optimizing internal SD .. is it possible this app to broke something in the internal SD ?

hack_man said:
I have already tried TWRP but it cannot restore CWM backup
Currently I have stock rom , but I cannot rollback to the previous rom backup.
a few days ago I have used some app (found here in XDA) for optimizing internal SD .. is it possible this app to broke something in the internal SD ?
Click to expand...
Click to collapse
Hi! I assume that you were using the stock ics rom. Right? Stock ics use system partition as ext4 but data and cache are used as ext3. Since TWRP and CWM format data and cache as ext4 you cannot use your old backup of stock ics rom, unless you format both (data and cache) to ext3.
I created a zip which converts data and cache to ext3. Download from my attachment.
Flash the zip file then restore your backup.

Thanks :victory:
I will try

Related

Moving Dalvik cache to EXT - unable to boot

Hello guys,
I have a little problem which seems to be coming when I move the dalvik cache to the EXT partition of my device.
I am using the latest version of MIUI. It has A2SD built in, but it doesn't seem to be working. It was working before though...
What happened:
I restored the NANDROID backup of the stock ROM I had made before flashing MIUI. Once I booted into it, it warned me about the 2.3.4 OTA update. I did it, but forgot that it overwrites the bootloader, removes root and I will not be able to revert to MIUI.
I pushed the Clockwork recovery and immediately started restoring the NAND backup of my MIUI ROM. Without gaining root on the Stock 2.3.4 ROM.
The Dalvik was moved to the EXT on the MIUI I was trying to restore and functioning properly.
The restore went fine, until it got to restoring the sd-ext. It stood there at some *.tmp file for an hour or so. I removed the battery, booted into recovery, wiped and started the restore again. This time it finished, but when I went to start the phone, it got stuck at the Nexus logo, not even showing the MIUI boot screen.
Wiped again. Tried booting into a previous backup, which didn't have the Dalvik moved to the EXT partition. Restored and booted just fine.
I tried several more times restoring the latest backup I had (the one with dalvik to ext) and got the same result.
Then I tried installing the MIUI backup that didn't have Dalvik moved to EXT and tried moving the Dalvik to EXT. The phone rebooted and same thing happened. Didn't want to get past the Nexus logo.
I then wiped everything except batt stats, formatted ext, and flashed the MIUI ROM. It booted perfectly, but A2SD was not working, just like before (solution was to move dalvik to sd). I downloaded the A2SD GUI only and moved the dalvik to EXT AGAIN. And AGAIN - not booting past Nexus logo.
The only thing I still haven't done is formatting the SD and re-creating the EXT partition.
Any other suggestions on what may be causing this and how to fix it?
I want to have a2sd on this ROM and moving the dalvik to EXT seems to be the only way of achieving this.
Repartition SD card, you've most probably corrupted the EXT partition by pulling the battery.
Do you think that restoring the last MIUI backup I had after this will do the job?
After repartitioning? As long as you back up the files from the main FAT32 partition on the computer, and restore them back - the EXT will be overwritten when restoring nandroid anyway.
Well.... I just formatted the card with Panasonic SD formatter. Transfered only the nandroid backup (without creating an ext partition beforehand) and restored it successfully, but when the phone starts booting it is stuck at the Nexus logo.
I also checked the MD5 of the backup and everything is fine.
Godzi said:
Well.... I just formatted the card with Panasonic SD formatter. Transfered only the nandroid backup (without creating an ext partition beforehand) and restored it successfully, but when the phone starts booting it is stuck at the Nexus logo.
I also checked the MD5 of the backup and everything is fine.
Click to expand...
Click to collapse
Wipe Cache and dalvic. Than try again. Your System Need a ext wenn you push dalvic to sd before.
I ran out of options.
Formatted the card, tried restoring - Nexus logo
Wiped Everything + Dalvik and Cache, restored - Nexus logo
Wiped Everything + Dalvik and Cache, didn't restore old MIUI backup - successful boot. When I tried to move Dalvik to EXT after the successful boot - Nexus logo after restart.
If anyone can suggest anything... Because this way I have no access to the A2SD on the device with this ROM. And everything was working fine before I restored the Stock Ginger.
Did you try installing DT on any other ROM and try and move dalvik to the sd to see if it does the same thing?
Dude Random21 said:
Did you try installing DT on any other ROM and try and move dalvik to the sd to see if it does the same thing?
Click to expand...
Click to collapse
No. I haven't tried with another ROM. I guess I will try CM7 and see what happens when I move the Dalvik to the EXT.
I repartitioned once again, this time using the same EXT size as before the breakdown (512MB). When the backup I am trying to restore was made.
Was using 1024 when I partitioned previously and got the Nexus logo again.
Edit: Same thing. Successful restore and then the Nexus Logo.
I suspect it's the ext partition. Why don't you try formatting through recovery, and do a clean install?
Which recovery do you use? I would avoid Clockwork 3.x...
Well. I formated using Panasonic SD Formatted and then partitioned using the recovery. I did a clean install after that and as soon as I move the Dalvik to the EXT, I can't boot past the Nexus logo.
Yes, Clockwork 3.x. I guess I will try Amon_RA as well. Nothing left to lose.
If you partition with Amon Ra, make sure you up the partition from ext2 to ext3 (available through the Ra menu options)...
Ok. Partitioned with RA.
Tried to transfer the nandroid backup made by Clockwork to a sd/nandroid folder so I can restore it from within RA but it kept giving out some error telling me to look at the recovery log when I selected *.img files from the list.
Good news. I booted into MIUI and installed a2sd GUI. Moved Dalvik to EXT without a problem. I guess Clockwork's partitioning is flawed. Everything is working fine now.
Thank you.
Can anyone suggest a method I can use to restore the Clockwork made NAND backup + the EXT backup now when my partitions are finally alright.
Any method would be fine. Even manual through adb. I don't care. As long as I restore my phone to yesterday.
Thank you guys once again.
You should be fine if you load a clockwork prior to v3.x. I think 2.5.1.4 was the latest version prior to the v3.x series. The issues only arise with v3.x.
But only clockwork is able to restore clockwork backups, and the same goes for Amon_RA.
As an alternative, you can just extract the img files and manually load your data back on. It is definitely more time consuming, but it wouldn't matter what recovery you use. It has been a while since I extracted anything from the img files, and when I did, I just got the data from apps stored on the internal (apps and dalvik were stored on the sdcard), and I think the only program I used was unyaffs2 to extract the data.
Thank you guys!
Partitioning the card with Amon_RA and restoring the old Clockwork-made backup with Clockwork 2.* worked perfectly.
I will not use Clockwork ever agian. Putting Amon_RA and that's it.
You will only have this problem with clockwork 3.x - there doesn't appear to be the same issue with clockwork 2.x
I have been using v2.x without any issues (never upgraded to v3.x). I prefer it because it gives me the option to wipe the /system partition, whereas Amon_RA is missing this feature and you can only do it with a flashable zip.
I use 2.x for a number of reasons. I tried 3.x a few times, but always had ext issues on my N1. Having said that, I've used 3.x on my nook, MT4G and G2, and never had issues with them - just on the N1...
I've used RA 2.2.1 on CM7, MIUI ,Sense rom. I never seen sd-ext issues on my Nexus One.

[Q] CWM cant install Cyanogen 7 - Am I missing something?

I have searched for a few hours and can't find anyone with a similar issue.
I have my 2.2 captivate rooted and unlocked with CWM and TB installed. Got the Cyanogen 7 zip install on my sd card.
Loaded CWM Recovery and backed up my rom.
Restarted and went to CWM to Install Rom from SDCard
It doesn't point to the SD card, however. It starts in the Internal storage, so i choose external_sd/ then the update file
it boots into recovery, formats the phone, but gives me the "No such File or Directory" message with the path set to SDCARD External SD Update.zip(Cyanogen install)
So it thinks my internal storage is my SD card?
So its pointing to the wrong directory, but i cant find an option anywhere to make it go through the right directory.... help?
sorry, mods please delete.
It is installable througn CWM,
atinm said:
Harder way:
Make sure you're running a Eclair/Froyo Firmware (2.1 or 2.2) and Eclair/Froyo Bootloaders!
Root your device and install ClockworkMod Recovery.
Do a Nandroid backup!
WIPE (wipe data/factory reset + wipe cache partition)
Install the ROM from internal sdcard using ClockworkMod Recovery
Optionally install the Google Addon (through ROMManager is easiest)
Click to expand...
Click to collapse
Try taking out your external sd before you flash, and if you have anymore problems post in the CM7 Q&A thread

[Q] What am i doing wrong? CM10 back to Stock ROM

This is my story.
- I followed this video (below) to ROOT (SuperOneClickv2.3.3-ShortFuse) my phone.
in youtube search for: Rooting and installing custom ROM (LG Optimus 2x) HD by TheCooLuka
- Then I made a backup file on my Internal SD card as well as on my External SD card using CWM v.6.0.15. (There was a Clockworkmod folder containing: Backup and Blobs folders)
- I don't know if I did something wrong in this next step. I moved all of my files from my Internal and External (including the CWM files) to my computer. So that my phone's External and Internal SD cards were "empty".
- I then flashed to CM10, which worked great, except for the sound and mic probs.
- Now, I'm trying to return my phone to the stock ROM. I tried to flash my phone by re-importing the Clockworkmod folder (containing: Backup and Blobs folders), and running the Restore option in CWM, but it ends up BOOT LOOPING.
My question is how do I get back to my Stock ROM with my saved backup? What steps am I doing wrong?
(I'm with the Canadian carrier = FIDO, and I'm able to restore back to CM10, but I just want to figure this out)
whitecalvus said:
This is my story.
- I followed this video (below) to ROOT (SuperOneClickv2.3.3-ShortFuse) my phone.
in youtube search for: Rooting and installing custom ROM (LG Optimus 2x) HD by TheCooLuka
- Then I made a backup file on my Internal SD card as well as on my External SD card using CWM v.6.0.15. (There was a Clockworkmod folder containing: Backup and Blobs folders)
- I don't know if I did something wrong in this next step. I moved all of my files from my Internal and External (including the CWM files) to my computer. So that my phone's External and Internal SD cards were "empty".
- I then flashed to CM10, which worked great, except for the sound and mic probs.
- Now, I'm trying to return my phone to the stock ROM. I tried to flash my phone by re-importing the Clockworkmod folder (containing: Backup and Blobs folders), and running the Restore option in CWM, but it ends up BOOT LOOPING.
My question is how do I get back to my Stock ROM with my saved backup? What steps am I doing wrong?
(I'm with the Canadian carrier = FIDO, and I'm able to restore back to CM10, but I just want to figure this out)
Click to expand...
Click to collapse
Are you sure you Wiped Data/Dalvik/Cache? If that doesn't work, you'll probably have to NVFlash it back to stock.
Yuvin said:
Are you sure you Wiped Data/Dalvik/Cache? If that doesn't work, you'll probably have to NVFlash it back to stock.
Click to expand...
Click to collapse
Am i suppose to wipe it before or after I restore my backup?
whitecalvus said:
Am i suppose to wipe it before or after I restore my backup?
Click to expand...
Click to collapse
u have to wipe all of the above before restoring. (from cm to stock)
also wipe system which u can found at mount option would be better.
Then restore your backup from external sdcard or u would end up boot loop.:laugh:
kencheung2008 said:
u have to wipe all of the above before restoring. (from cm to stock)
also wipe system which u can found at mount option would be better.
Then restore your backup from external sdcard or u would end up boot loop.:laugh:
Click to expand...
Click to collapse
I tried what you suggested. This is what I did:
- Moved my backup folder of "clockworkmod" containing the two subfolders (backup and blobs) onto my external SDcard.
- Then I put the SDcard into the phone.
- Booted into CWM Recovery v5.0.2.0
- Wiped data/factory reset, wipe cache partition, and wiped Dalvik cache
- Formatted system through the "mounts and storage option"
- Then tried to restore.
This is the following msg I got:
- Checking MD5 sums.....
- Restoring boot image...
- system.img not found. skipping restore of /system.
- data.img not found. skipping restore of /data.
- .android_secure.img not found. skipping restore of /sdcard/.android_secure.
- cache.img not found. skipping restore of /cashe.
- Restore complete!
Were not these files created with CWM restore? Am i missing files? Help?
These are the files in the BACKUP FOLDER of CWM:
.android_secure.vfat.dup
boot.img
cache.ext4.dup
data.ext4.dup
nandroid.md5
recovery.img
system.ext4.dup
I upgraded my CWM Recovery back to v6.0.1.5. and tried reflashing, but it still ends up bootlooping..
Concerning the following message, I read that sometimes you had to format (slow) the sdcard. So I did both (reformat sdcard and tried to flash with CWM v6.0.1.5), it doesn't give me the message any more, but it stilll bootloops. So I'm back on CM10 backup.
Checking MD5 sums...
Erasing boot before restore
Restoring boot image
System image not found. Skipping restore of /system
data.img not found. skipping restore of /data
.android_secure.img not found. skipping restore of /sdcard/.android_secure
cache.img not found. skipping restore of /cache
sd-ext.img not found. Skipping restore of /sd-ext
Restore complete!
Any ideas?

Custom recovery lost?

Hey guys so i backed up my v20b stock software via cwm and thought that it was going to be stored in some kind of internal storage forever (like cwm itself), but now i realised that after i done factory reset it is probably gone ) Is there a way to create a recovery file for cwm to restore to v20b?Or could i use some elses file?
Your backup is in the internal memory, unless you format or wipe it specifically factory reset will not erase it.
In development section there are a few roms based on official v20b ou can flash thhose if you can't find your backup
Rudjgaard said:
Your backup is in the internal memory, unless you format or wipe it specifically factory reset will not erase it.
In development section there are a few roms based on official v20b ou can flash thhose if you can't find your backup
Click to expand...
Click to collapse
i had 2 backups on stock and i didn't delete any of them, just did the factory reset once. When i go to recovery mode CWM doesn't find any backups on internal storage...So where did they go?
Mount usb storage from recovery and check the cwm folder they should be in there unless you did "wipe data"
did you install any 4.2.2+ rom? if you did, your cwm is reading the "wrong" folder for backups. it's reading under data/media/0/whatevercwmbackupfolderis, instead of data/media/whatevercwmbackupfolderis
Go into custom recovery and select "Restore Back-up". It will work. I had the same problem .
Yeah, i also did wipe data/cache/dalvik/(as you do) before installing 4.4.2 , no backups in data/media/cwm, so i guess my backups are gone?
No, wipe data doesn't wipe internal storage, if formats everything except data/media which is where backups are
You must specifically select "format internal storage" to loose your backups
Is other stuff you had on internal sd still present?
they have to be there, unless you formatted internal sd. try searching around more with file browsers, sorry i cant be of more help
Rudjgaard said:
No, wipe data doesn't wipe internal storage, if formats everything except data/media which is where backups are
You must specifically select "format internal storage" to loose your backups
Is other stuff you had on internal sd still present?
Click to expand...
Click to collapse
no, but i do factory reset every time. Rom manager doesn't find anything, as well as cwm in recovery mode. Searched every CWM,DATA,BACKUP folder, nothing there.
i searched with ES file explorer with root access (i even created a new backup to be 100% sure root access is on, the new backup appeared in data/media). Btw, how much internal storage is there after factory reset? Because with Beanstalk i get 11,8 of 12,2, i was sure those 400mb where my software backups....

[Q] Problem with kitkat ROM

Hi, i recentry rooted my samsung s3 mini for installing the new kitkat rom.
So, i followed the steps, saved the new ROM on my external sd card and formated the system.
The problem is this: when i was browsing the zip file with the ROM on the costume recovery menu (I have ClockworkMod Recovery v6.0.2.7), a message appears saying "no files found".
So now I can´t reebot my phone beacause it has no OS and I don't know how to fix this. Can anyone help me?
Thanks
Vitorsousa_20 said:
Hi, i recentry rooted my samsung s3 mini for installing the new kitkat rom.
So, i followed the steps, saved the new ROM on my external sd card and formated the system.
The problem is this: when i was browsing the zip file with the ROM on the costume recovery menu (I have ClockworkMod Recovery v6.0.2.7), a message appears saying "no files found".
So now I can´t reebot my phone beacause it has no OS and I don't know how to fix this. Can anyone help me?
Thanks
Click to expand...
Click to collapse
Never, ever format the system.
If you're on stock just do that:
1-Reboot in recovery
2-Choose Wipe data/factory reset
3-Flash cm rom
4-Flash gapps
5-Reboot
Done, that's it.
If you want to update cm roms (or any rom):
1-Reboot in recovery
2-Flash cm update
3-Choose Wipe cache & dalvik cache
4-Reboot
Done.
You don't need to mess up with anything more.
P.S. better use twrp 2.7 from novafusion, for better compatibility.
mauam said:
Never, ever format the system.
If you're on stock just do that:
1-Reboot in recovery
2-Choose Wipe data/factory reset
3-Flash cm rom
4-Flash gapps
5-Reboot
Done, that's it.
If you want to update cm roms (or any rom):
1-Reboot in recovery
2-Flash cm update
3-Choose Wipe cache & dalvik cache
4-Reboot
Done.
You don't need to mess up with anything more.
P.S. better use twrp 2.7 from novafusion, for better compatibility.
Click to expand...
Click to collapse
Thanks but it still doesn't work. I want to flash the rom but the rom file its in the external sd card and it says that there are no files found. And when i hook up the phone to my pc the phone is detected, however I can´t acess the sd card.
Maybe if there's a way for me to acess the ext. sd card and change the rom file for the internal memory it would work. Do you know how can i do this?
Vitorsousa_20 said:
Thanks but it still doesn't work. I want to flash the rom but the rom file its in the external sd card and it says that there are no files found. And when i hook up the phone to my pc the phone is detected, however I can´t access the sd card.
Maybe if there's a way for me to acess the ext. sd card and change the rom file for the internal memory it would work. Do you know how can i do this?
Click to expand...
Click to collapse
Euhm, it might be a weird idea, but you take your external SD-card, put it in your card reader, connect the card reader to your pc, and copy the zip to (let's say) the root of the SD-card
CWM should be fine, but I'm used to TWRP. You can find it on the novafusion website. (search novafusion TWRP)
If you can't boot into CWM or TWRP, or files still don't show up on the browsermodule in the recovery rom, you still have the possibility to flash your ROM using odin. Check the installation guide on novafusion, it gives you a link to all the files you need and a detailed description how to install your rom.

Categories

Resources