[Q] How to get nandroid backup working on newer roms - Galaxy S II Q&A, Help & Troubleshooting

Hi
I'm having issues with doing a nandroid backup and restore using current stock roms such as KI3.
I read the boot loader changed here compared to older roms, but I'm not sure that this alone is the issue.
What I did is install a frakenstein stock rom, meaning the whole rom was put together from seperate parts of different versions from http://forum.xda-developers.com/showthread.php?t=1075278:
This Frankenstein™ Non-Wipe package has: PDA: XXKI3| Modem/phone: XXKI3| CSC: XEUKD1
Download: http://www.multiupload.com/7JTWS2E37R
Over this I installed the rooted rom from http://forum.xda-developers.com/showthread.php?t=1103399: CF-Root-SGS2_XX_OXA_KI3-42-v4.2-CWM4.zip
Just from the rom side of view, so using the phone with it everything was fine.
However now I did a nandroid backup and later a restore since I wanted to try Cyanogen mod 7.1
The restore itself ran through without errors, however I found that almost all .apk files of /data/app were missing, even google apps like gmail and market.
I heared CWM did not go well with the new boot loader so I tried running the restore after applying an older rom (first just the old boot loader) but this did not help.
I then found that the backup itself did not contain the missing apk files, so the backup process itself was not done properly.
To get to a working state again I had to extract the apk files from an older backup and collect the apks that were still missing manually.
After restoring again and then copying the apks using adb push I had the system working again.
Anyway:
It seemes to me that i had the original boot loader applied when doing the nandroid backup, but that was apparently not enough to get it running properly.
Can anyone help in creating a properly working nandroid backup from one of the newer stock roms like KI3 and KI8?
Thanx!

Can anyone help in creating a properly working nandroid backup from one of the newer stock roms like KI3 and KI8?
Standard method works CWM restore+ backup . Should know i have done ten backups and restores on KI3 today no problem
jje

>Can anyone help in creating a properly working nandroid backup from one of the newer stock roms like KI3 and KI8?
You mean so you do not have to use odin to flash a such roms?
I think you can make those yourself. Just do a factory reset, clear all caches and then use odin to flash the rom, and then apply root and go into cwm to create a backup.
You could share that backup with others.
Ofcourase that would not be entirely stock anymore since root and CWM would be included there.
>Standard method works CWM restore+ backup . Should know i have done ten backups and restores on KI3 today no problem
Interesting - so no problems at all with CWM backup and restore based on a KI3 at all? Including custom settings and own apps installed?
Which rom exactly did you flash and how did you apply CWM?

JJEgan said:
Can anyone help in creating a properly working nandroid backup from one of the newer stock roms like KI3 and KI8?
Standard method works CWM restore+ backup . Should know i have done ten backups and restores on KI3 today no problem
jje
Click to expand...
Click to collapse
+ 1
Standard CWM backup/restore works for me too.
I used the same KI3 Frankenstein firmware as you (OP) but KI3-v4.1 of cf-root.

Thanx.
I installed the 4.1 kernel and also to be sure the old boot loader and made a CWM backup the data.img is now 259mb instead of just 100mb so I think now its a proper backup.
Now I can go ahead and properly try out CM 7.1

Related

[Q] ROM Backup as stock as possible ?

I am planning to backup the SGSII stock ROM as stock as possible.
I belive there are 2 options to backup the stock ROM.
1. Clockworkmod
2. RomDump
My question is, in Clockworkmod the recovery manager is modified and in RomDump, the application itself is installed and when the ROM backup is done, in both cases will the changes like recovery manager, RomDump app will also be in the back up ?
If so then I belive in addition to rooting, these are also the changes in stock ROM backup and when restored the system will not be as stock. Right ?
Is there anyother method which can take the backup as stock as possible ?
I belive RomDump would be the most nearest to stock ROM. Correct me if I am wrong.
PS: I know we have stock ROMs available for download. But I want to have my phone's version.

[Q]Advice for newb regarding phone backup

Hello everyone,
I have SGS2 with latest stock firmware (XWKI4) for my region.
Now, I would like to start playing with it with roms and such (yes, I already have Jig just as safety net), however I would like to creat as close as possible original configuration.
Now, I have rooted the phone with zergRush by Doomlord sucessfully and made efs backup as well as kernel image backup via HC-kTool. (This is kernel image backup right?) This way I presume I got pretty much untouched kernel image except rooting, right?
What now I would like to do is to make ROM backup and install some recovery. I know that Clockwork that comes with Rom Manager isnt exactly the same as Chainfires CW that comes with CF-Root and I know that Chainfires CW is optimized for Samsung phones (not to mention that they are not compatible with each other).
I guess my question would be is above that I did make sense, and shall I install CW from ROM Backup or get some CF-Root kernel with CW? I mean what do I lose with each solution, or any other advice how to complete ROM backup so that I can recover it if something, God forbid(knock on the wood), gets fishy?
Cheers
Kepavi said:
Hello everyone,
I have SGS2 with latest stock firmware (XWKI4) for my region.
Now, I would like to start playing with it with roms and such (yes, I already have Jig just as safety net), however I would like to creat as close as possible original configuration.
Now, I have rooted the phone with zergRush by Doomlord sucessfully and made efs backup as well as kernel image backup via HC-kTool. (This is kernel image backup right?) This way I presume I got pretty much untouched kernel image except rooting, right?
What now I would like to do is to make ROM backup and install some recovery. I know that Clockwork that comes with Rom Manager isnt exactly the same as Chainfires CW that comes with CF-Root and I know that Chainfires CW is optimized for Samsung phones (not to mention that they are not compatible with each other).
I guess my question would be is above that I did make sense, and shall I install CW from ROM Backup or get some CF-Root kernel with CW? I mean what do I lose with each solution, or any other advice how to complete ROM backup so that I can recover it if something, God forbid(knock on the wood), gets fishy?
Cheers
Click to expand...
Click to collapse
If you take some time and search different threads in xda developers forum, you will find many user posting statements not to use ROM manager.
As I do not use ROM manager at all, I did not read the whole posts. That's why I do not exactly know, what the issues are about ROM manager.
(Incompatibility with many ROMs and kernels, but there must be more issues.)
I am using CWM Manager app (included in Chainfire's CF-Root kernel) or CWM5 recovery mode to create a complete system / nandroid backup.
So, in case of an emergency I only have to flash a kernel containing CWM5 recovery and restore my last system backup.
Just to be on the "safe" side, I also copied my efs folder to my external sd card.
And all my apps (+ app data) are under Titanium Backup control.
So, I recommend to use plain CWM recovery backup.
If you are not sure about ROM manager, please search the forums and make up your own mind.
Good luck !
So basically, I can instead of Rom Manager install DarkyROM2 Tool, flash some kernel with CWM support e.g. Hellcat, CF-Root, and boot to recovery and make backup of current rom(with higher compatibility), right?
Sorry if this is obvious, but I have just started with this kind of tweaks...

[Q] Help fixing CWM

Some background info: I got my phone used, so the rooting and stuff was done for me.
When I got the phone, the top of the recovery said Semaphore CWM 6.something, I don't know what I did to it but now the recovery says CWM based recovery. I also notice that fix permissions is not there anymore, there is probably more things missing that I never noticed. My question is, How do I get back to the original Clockworkmod?
Also, does anyone want to give me the basics on flashing stuff? I see people talking about Titanium Backup and ROM Manager. Every time I want to make a backup I just go into the recovery and make a backup there. What's ROM Manager? What's the best way to do this kind of stuff?
EDIT: I just booted back into recovery since a while (when I flashed my current rom) and noticed that it's back to normal. It says Semaphore CWM Recovery 6.0.3.8, when it used to say CWM-based recovery 6.0.3.6. Back then, it also gave me a warning called Warning: no file_contexts. That's gone now, should I have anything to worry about?
oneupe1even said:
Some background info: I got my phone used, so the rooting and stuff was done for me.
When I got the phone, the top of the recovery said Semaphore CWM 6.something, I don't know what I did to it but now the recovery says CWM based recovery. I also notice that fix permissions is not there anymore, there is probably more things missing that I never noticed. My question is, How do I get back to the original Clockworkmod?
Also, does anyone want to give me the basics on flashing stuff? I see people talking about Titanium Backup and ROM Manager. Every time I want to make a backup I just go into the recovery and make a backup there. What's ROM Manager? What's the best way to do this kind of stuff?
EDIT: I just booted back into recovery since a while (when I flashed my current rom) and noticed that it's back to normal. It says Semaphore CWM Recovery 6.0.3.8, when it used to say CWM-based recovery 6.0.3.6. Back then, it also gave me a warning called Warning: no file_contexts. That's gone now, should I have anything to worry about?
Click to expand...
Click to collapse
Usually your ROM comes pre-packaged with a version of recovery.
ROMs that use the Semaphore kernel also generally come pre-packaged with a modified version of Clockworkmod recovery designed to compliment the kernel.
for reference:
if your recovery says: CWM recovery X.X.X.X then its usually the official version
Semaphore CWM Recovery 6.0.3.8 is a modified version for use with Semaphore kernel
CWM-based recovery 6.0.3.6 - is a modified version likely for use with another kernel (They dont always specify)
I would recommend just sticking with whatever version comes with your ROM.
there is rarely a need to change it.
ROM manager is an App that makes flashing clockworkmod recovery easy as well as downloading and flashing ROMs.
but for the most part if you know how to use recovery already your probably better off doing stuff manually in my opinion.
Titanium backup - is an app that lets you back up and restore all of your installed apps and data.
so for instance if you wanted to install a new ROM. you could back your apps and data up with Titanium backup and then install your new ROM and even wipe user data and still be able to get all of your apps back just as they were before you switched ROMs.
in comparison a nandroid backup (the backup done through recovery) backs up everything including your current ROM so restoring from that would also restore whatever ROM you were using when you made the backup.
as an example if you do both a Nandroid and Titanium backup while running android 2.3
then you decide to update to android 4.1
after the update if you restore from the nandroid backup you will be back at android 2.3 with all of your apps and everything back the way it was.
if you restore from a titanium backup you'll still be on android 4.1 but you'll have all your apps back as they were before.

Returning to the stock without flashing it?

Hello. I am new to the world of rooting and flashing and one learn as things go. I own SGIII III I 9300. I rooted it, installed CWM, then flashed Archidroid v3.1.3, installed TWRP instead of CWM, upgraded Archidroid to 3.1.4 without creating a backup before root. It works nice and all but I would like to get my old stock ROM back with or without root, just as it comes from a factory. The thing is I cannot find an appropriate stock ROM (I am from Slovakia and my zone is I9300XXUGNA8 - there are stock ROMs with this zone but they are not intended for my country) and anyway, it would take like 9 hours to download it without buying a premium acc. Before flashing Archidroid I made a backup in CWM, it has got several files of which 2 are ISO.
My question is, if it is possible to somehow get to the clean stock ROM? I was thinking of returning to the backup I made in CWM, but I am not sure if the backup is compatible with TWRP. After restoring the backup I would just do a system wipe (including dalvik and cache). Would it work? Sorry if this has been answered somewhere but I haven't found anything.

Unable to install ANY ROM From ClockworkMod Recovery

I have downloaded and tried to install several different ROMs on Vibrant T959 . I recently managed to get back to stock 2.1 ROM with ODIN and it works fine. As I understand it I need an older version of ClockworkMod so I have CWM 2.5.1.2 installed .
All attempts to flash a new ROM fail with "Error.....(Status 0) Installation aborted.
Maybe I am missing a step here? Do I need to go to 2.2 first?
Thanks.
Update.....
So I Found an older ROM I once installed it was "Bionics" looks like "Team Whiskey" which did install .
From there I was able to install ROM Manager and update Clockwork Recovery (Updated to 2.5.1.3) . When I tried to initiate a ROM flash from clockwork recovery The error was something like
This Package is for "vibrant.vibrantmtd.SGH-T959" devicethis is a "".
I also notice that google play simply calls this device "phone" , but there is no SIM installed and could the lack of SIM cause any of this?
I have old EFS backups of both locked and unlocked states but I thought this was just IMEI . The IMEI does appear to be intact.
I think the vibrant has an identity crisis
markosjal said:
Update.....
So I Found an older ROM I once installed it was "Bionics" looks like "Team Whiskey" which did install .
From there I was able to install ROM Manager and update Clockwork Recovery (Updated to 2.5.1.3) . When I tried to initiate a ROM flash from clockwork recovery The error was something like
This Package is for "vibrant.vibrantmtd.SGH-T959" devicethis is a "".
I also notice that google play simply calls this device "phone" , but there is no SIM installed and could the lack of SIM cause any of this?
I have old EFS backups of both locked and unlocked states but I thought this was just IMEI . The IMEI does appear to be intact.
I think the vibrant has an identity crisis
Click to expand...
Click to collapse
you might check the build.prop in your/system folder and see what it shows as the device name next to ro.product.model=
some roms change it to i9000 which would not pass the check some flashable zips have to make sure you are flashing them on the right phone.
or in this case it might even be blank or have some odd characters which would cause no name to display.
I would try re-flashing the rom which should replace the build.prop with a clean copy from that rom and then try to flash the new rom.
if that doesn't work it can be edited but I would only do that as a last resort.
on a side note error 0 means the wrong update script type was used (Amend or Edify)
Amend is the older one and Edify the newer.
you either needed a newer or older version of clockworkmod or a rom that used the other type of script.
I know you got that part fixed already by chance but I thought it might help to know what happened just in case it comes up again.
Actually i worked this out , although thanks for the reply. your reply prompted me to post my findings here to help the next poor sap with the same issue.
I installed a bunch of useless efs backup and restore apps which none would work with the efs backup I had previously made . I then installed the original galaxy s unlock app which did restore the efs backup.
Apparently the efs partition was buggered . I had several different backups and found the original locked efs then unlocked it.
I now have omni ROM 5.1.1 installed on my vibrant.
BTW if you install omni ROM 5.1.1 the recommended Google apps packages do not install, but I found another package that did install and also do not use the launcher in omni ROM (launcher 3 ?) It is buggy. The Google launcher was in the Google apps package I installed and it is far better than the omni ROM bundled launcher. I can not say that I like either of them however the seem so ordinary.

Categories

Resources