Nandroid Restore....LagFix? - Captivate Q&A, Help & Troubleshooting

If you have your phone running without a LagFix but you have a Nandroid Backup that was done with LagFix Enable can you Restore? If so will the newly restored phone have LagFix Off or On?
Thanks

RonH54 said:
If you have your phone running without a LagFix but you have a Nandroid Backup that was done with LagFix Enable can you Restore? If so will the newly restored phone have LagFix Off or On?
Thanks
Click to expand...
Click to collapse
Don't take this as the 100% accurate truth, but my assumption is that nandroid backup and your lagfix are not tied together.
The reason I say this is that the lagfix is usually accomplished by converting certain portions of the phone's file system to the ext4 file system. The backup you made is a collection of files that resides somewhere on your phone, and when you restore it, you'll be copying those files to their previous locations in whatever filesystem you're currently using. If you have lagfix (ext4) on, it will write those files as ext4 files. If you have lagfix off (rfs), it will write them as rfs files. Ultimately, it's a lot like incorporating the lagfix in the first place - the files are copied to a safe location, the filesystem is rewritten to ext4, and the files are copied back.
Again, I'm not a person who is highly knowledgeable about computer file systems, so I may be incorrect. Hopefully someone who completely understands this will chime in and give a more detailed or more correct reply.

You are correct. the first thing that happens when you enable a lagfix is it makes a nandroid. Then formats the file system then restores the nandroid and boots.
It doesn't matter what file system it was taken from the files are restored to what ever file system Is present.

Related

[Q] Making Complete ODIN Backup of Phone

Is there a way to create a complete backup of my phone with a custom rom, all my apps and settings, and even the way the file system is configured (ie. ext4) like in Voodoo or ULF?
Can ODIN do this or is the ClockworkMOD recovery able to do this? Since I am not sure Clockwork will backup my ext4 configured lagfix and also restore that successfully.
Hope I am not reposting...but thanks for any help anyways!

[Q] What folders does Voodoo lagfix actually convert to EXT4?

I was just wondering about the folders that the voodoo lagfix actually changes to EXT4? As in my other thread(s), I bricked my phone by installing 2.2.1 over 2.2.1 + lag fix (without uninstalling voodoo), and fixed it by going to JM8 + 512 PIT repartition then back to JPY without repartition.
Basically I know the repartition option in ODIN converts SPECIFIC folders back to RFS within the system partition (the ~2gb section in the internal SD). In this way I'm assuming that Voodoo applies the ext4 file system to these same folders, does it not?
While the phone is working now, I want to positively make sure that there isn't some random unused EXT4 portion in my phone waiting to rear its ugly head with random bricks and bugs. In my mind this could occur because voodoo and ODIN don't format the same folders, and there could be some sort of overlap happening. Is there a valid method to my madness?
I might get on the voodoo IRC later and ask for help there, or if someone could get hold of curio/know the answer themselves it would be even better!
Thanks for any replies!
data
cache
dbdata
Thanks
I'm assuming odin repartitions these sections then (obviously because my phone is working now) + another section , right?
I saw a thread with the folders that ODIN repartitions but can't find it now!
Nevermind, found the thread and ODIN repartitions the /data, /dbdata, /system and /cache files. Same as voodoo except with /system included. Back to stock RFS yay!
Correct Odin repartitions everything or else there wouldn't be much point to it

do cwm backups keep the file system?

If I have to switch file systems but I don't wanna lose data will recovering backups restore the filesystem of the backup too?
-sandro- said:
If I have to switch file systems but I don't wanna lose data will recovering backups restore the filesystem of the backup too?
Click to expand...
Click to collapse
In theory the latest CWM (5.0.2.0 as of this moment) should be able to restore the filesystem as well as the data. In practice however this doesn't work yet. (At least not for me if trying to restore an ext3-backup on an ext4-phone.)
That's not really a concern though, because you can revert from ext4 to ext3 by running/installing "r1_backtoext3-2x-unsigned.zip" (search for it) before restoring the backup, or install another .zip which will convert ext3 to ext4 without data-loss if going the other way. (Cannot remember the filename right now, never used it myself.) I think Rusty packaged that one.
CMW can backup the whole rom /system included. I always change into CM7 and the Leaked GB via the backup/restore.

[Q] Messed up my best friends SGS, please help!

My best bud was complaining about how slow his stock SGS was so I decided to help as I've fixed about 20 phones now without any issues! Until now!
Problem
Lost Contacts which were stored to phone memory
Lost memos
Almost all programs are Force Closing
History
Installed clockwork recovery as per Cyanogen Wiki page (http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Full_Update_Guide)
Then using the new SpeedMod kernel by Hardcore, I rooted the phone and also converted the file system to EXT4 to ensure the lagfix worked nicely
The Recovery automaticalled generated a Nandroid back-up before the file system conversion took place.
When phone started, a lot of programs Force Closed, so we ran a Fix Permissions and this solved most problems. However, a few days have passed and now the phone is constantly FC. The loss of contacts and memo's was annoying but he wasn't too bothered as had various back-ups
So I tried a Nandroid restore which works apart from system.img which it cannot find.
I wonder if the system.img backup doesn't work since the file system was changed to EXT4? Do you think if I push the nandroid backup using ADB, it will successfully restore the phone with contacts and memo's too?
That's why I never touch someone else's phone. Always something goes wrong that never gone on my phone.
Sounds like you need to do...
Wipe data/factory reset
Wipe cache partition
...in clockworkmod to make a clean install.
If your friend didn't set up a syncronisation in "Accounts and sync" between google and the phone, AFAIK you cannot revert back contacts and memos
After turning the file system to EXT4, it removes backups.Because its not a nandroid backup. Just backing up your files before the partition formatting. So, no luck.
I'm not a android expert, so I might be wrong about it.

[Q] ext4 problems when changing ROM's

So I like to switch ROM's quite frequently, the only problem is that I seem to have to format my sdcard and set up the partitions each time I switch. I feel like nandroid either doesn't restore data to the ext4 properly or messes up the partition when I do a factory reset, since it formats the ext4 partition. Whatever the case, I am unable to move apps to the ext4 after a flash.
Whenever I want to switch to another ROM I have to backup my sdcard to my computer, format the card using diskpart, create the partition again in recovery mode, restore sdcard contents, and then finally flash the ROM I want. This can take forever and makes trying new ROM's out a huge hassle.
If I don't restore a nandroid and flash a ROM from scratch, I'll install s2e, reboot, and navigate to /sd-ext using root explorer and there will be no files.
I mainly use s2e with CM7, but I have tried a2sd with similar results. As far as I know though, they both use the same technique to move apps so it shouldn't matter.
Am I doing something wrong? I use nandroid and everything, but once I do a factory reset it refuses to restore the ext4 backup, and I get an error relating to space limitations.
Thanks a lot.
I've changed ROMs a few times, and everytime I've done so, the ext4 partition has remained fine. Although, it is seriously recommended that you flash the latest darktremor a2sd script as the incorporated ones don't seem to work well.
Flash darktremors, then enter the command line emulator on your phone and type:
su
a2sd reinstall (your phone will reboot)
su
a2sd cachesd (your phone will reboot)
su
a2sd zipalign
This should always be done after a ROM switch.
Alright, I will try that out.
Just wondering, will this restore all the apps I have on the ext4 partition? For example, if I flash MIUI for the first time, then commands the commands you gave me, will all my apps be restored? I assume no since clockworkmod wipes the ext4 partition when doing a factory reset.
The S2E and DarkTremor's a2sd apps actually use different ways of utilizing the ext partition, so the two are incompatible (although, S2E includes a way to convert from DT's to its own).
And as long as you didn't wipe the ext partition (which a Factory Reset does), using those commands should restore your apps.
But with what you are doing, it may be easier to use Titanium Backup to restore your apps back rather than nandroid. This will allow you to keep all your app settings and saved info as well. Just be careful to not back up system data. Restoring those on the same ROM can cause issues, and it would probably cause a lot more if it is between two different ROMs.
Switch your Ext 4 Partition to Ext 3 and you'll notice a lot more stability when switching roms.
Some roms don't have the correct Apps2SD or Kernel installed to support ext 4 but most, if not all, support ext 3.
I recommend using AmonRa Recovery as CWM always corrupts the ext partitions.
Re-partition your SD-Card and start again.
If This Helped please Hit THANKS

Categories

Resources