Need help with Flashing ROM - Samsung Galaxy S7 Questions and Answers

Hello, I rooted almost 20 days ago and I want to change my rom and I have some questions,
Because I don't want to lose ANY data or delete my OS like the last time I tried rooting
so this is what I'm gonna do:
1. take nandroid backup
2. backup all user apps and data using titanium backup
3. move backups to somewhere safe you can get back to (SD card)
4. Download the following files:
LineageOS - Gapps - SU
Of course latest versions
5. go to Recovery and do the following:
1. Wipe (System, Data, Cache)
2. Flash (LineageOS then Gapps then SU)
3. Wipe (dalvik cache, cache)
to make sure everything goes smooth
Reboot system
6. If you fail:
restore from last backup and do it again
7. If you success:
Congratulations.
8. Restore apps and data using titanium backup
So, that's all?
now to the question part.
1. which partition should I backup in twrp for a nandroid backup?
I'm still not sure, I'm guessing all of them
2. does magisk work instead of the LineageOS su add on?
3. what does data partition include if I wipe it?
(I want to know what data Id lose)
4. do I need no Verity opt encrypt or not?
(I used to flash it alongside the SU file)
Please answer the questions, and if you know that something is wrong with the steps I'm gonna do help

1. Whenever I backup I tick everything, better safe than sorry right? Largest my backup has reached is 9gb
2. Magisk does include MagiskSU which you can use in place of another SU
3. If flashing a ROM new then you should wipe system, so you'll basically lose everything that's not on the SD card. After flashing your phone will basically be like you just took it out of the box.
4. I haven't flashed that since the very first time I flashed it and not had any problems with ROM's - but I can't say I'm 100% sure if you're meant to or not

Related

[Q] Full wipe before installing a ROM?

Hi, i were considering installing the nFinity 1.06 Gingerbread, when i see he recommends during a full wipe before installing.
Should i just do a factory reset or what?
If i'm wrong could anyone explain?
Thanks
I'm not an expert but normally you install the ROM and the you wipe data and cache.
1.Reboot into xRecovery and make a back-up of your current ROM. (You'll need a working xRecovery or else it will say Device/SD Card busy).
2.Wipe the following in xRecovery:
Factory Reset (Full wipe)
Wipe Cache Partition
Wipe Dalvik Cache
3.Go to install Custom Zip
i hope it helps
Ehm jea im kinda new to this stuff so a couple of questions:
I got an backup of my ROM so how do i reboot into xRecovery?
And will all apps be gone? cause i thought u need ROM Manager to install? (or could use)
ROM manager is too unreliable, stick with manual recovery, apps will be gone so back them up first with Titanium Backup and restore them after flashing new rom
Uhm okay got a link for a tut or something?
titanium backup can be found on the market (but its a paid app)
astro file manager (a free app) can backup your apps (although i recommend titanium backup as it allows you to backup more than just your apps)
Well never mind got my ROM installed

What are your basic steps when flashing a new ROM?

1. Titanium backup to backup apps
2. Boot to recovery - wipe data / cache / dalvik
3. Flash new ROM
4. Titanium backup to restore apps
5. Rebuild my homescreen and settings etc
J/w how the rest of you guys flash new roms. Anything else I should be doing when flashing a new rom?
Only think I would add is to wipe /system while in recovery. You can do that by accessing the "format /system" option in CWM Recovery under "Mounts and Storage"
Also, maybe make a Nandroid Backup before wiping /data incase something goes wrong
Sent from my Nexus S 4G using Tapatalk
I'll be honest I could care less about anything on the ROM itself. Apps I just reinstall, contacts/email/calendar resync. All my music/pix are saved to the internal memory.
1. Reboot to recovery
2. Wipe boot/system/data/cache/dalvik
3. Reboot ROM and reinstall all apps and accounts
I don't like backing up the apps because I like the "starting fresh" feeling by putting back in the apps I actually want.
What i do
boot into recovery
wipe boot/system/data/cache/dalvik
install the rom/kernel
boot and leave the phone for 5 mins then reboot again =D
I know a lot of users will disagree but I simply nandroid, factory wipe and then flash the new rom. A factory wipe clears data and cache and flashing the rom will wipe system and boot. I've yet to have an issue with this method. I also know how to recover from most problems I could encounter on my own. Additionally, i'm a member of the do as i say, not as i do club. Always nandroid and follow dev instructions is what most people really need to do.
Sent from my Nexus S 4G running CM7/franco.Kernel

installing rom question

Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
You should backup your rom before flashing, this way if anything goes wrong you can go back.
You should always wipe, wipe, wipe.
Wipe data/factory reset
Wipe cache partition
Go to Advanced and wipe Dalvik Cache
After the wipe go back and Install zip from sdcard. After install I do another wipe on the Dalvik Cache then fix permissions. Remember Wipe, Wipe, Wipe.
so as long as I do that then I can install a rom over another and delete the previous one while doing so?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
I recommend making several backups.
First, make sure you have Clockworkmod installed via nvflash. Then make a backup. Download the backup to your pc for safe keeping (just in case things go wrong).
Use Titanium Backup (free version works, but buy the full one if you like it). Use the batch feature to back up all user apps. Do not back up system apps.
When installing a new rom, especially roms that use different versions of android, you should wipe everything you can except the external sd card (where you keep your backups). Wiping "system" is important.
If you need help, shout out.
http://forum.xda-developers.com/showthread.php?t=1056847

Backup and Restore

What do you guys typically do when you try out new ROMs and want to do a clean flash and get back up and running quickly?
1. Restore via Google
(Very slow to redownload everything, doesnt restore everything)
2. Sony Backup/Restore
(Sometimes Restore doesnt work)
3. Titanium Backup
(This is what I currently do, but can also be extremely slow)
4. Titanum Backup (creating update.zip for use in TWRP)
(Backup only seems to allow backup to internal storage so I run out of space)
5. Something Else
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Envious_Data said:
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Click to expand...
Click to collapse
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
eng3 said:
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
Click to expand...
Click to collapse
I think i made a bit of a typo there
when going to flash
- backup
- wipe
- flash rom
- flash gapps if needed
when going to restore
- wipe (cache, art cache)
- restore
I'm sorry, I still don't understand.
1. You backup (system, data, etc)
2. wipe
3. Flash rom (which writes new rom to system and data)
4. Then you restore your backup, which now overwrites system and data, thus erasing the new rom you just flashed
I need a way to restore apps and app data while keeping the new rom, otherwise it defeats the purpose

Saving settings and data while updating LineageOS

So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
heybaybee said:
So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
Click to expand...
Click to collapse
Boot into TWRP, select the Backup option, then select "advanced", select the data partition but do not select any other partition, swipe the slider to start the backup. When the backup finished, move the backup file to external sdcard or PC if you don't have external sdcard.
When you flash your ROM(do not store your ROM and gapps in your internal storage, store it on external, if you, don't have external, store it in your internal but don't wipe your internal when you do your wipes), wipe system, data, cache and dalvik cache then flash your ROM. After the ROM finishes, while still in TWRP, you can either go ahead and restore the data backup that you created or you can reboot into system to let the ROM do its initial load then immediately power off, reboot into TWRP, select Restore, then restore the backup of your data partition and reboot the device. I would let the ROM boot then go back to TWRP and then restore the data.
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
heybaybee said:
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
Click to expand...
Click to collapse
1) no downside, it restores all settings, apps and app data to exactly what you had before flashing the update.
2) no downsides, it is just that letting the ROM boot first then going back and restoring the backup reduces chances of things being buggy after the update.
I recommend that you boot into TWRP, select Backup and make a full backup of everything except for internal storage. Then, when you flash your ROM then let it boot then go back to TWRP, select Restore, then select "advanced restore" then select only the data partition and none of the others(this will restore only the data partition from the backup and not the others), then swipe the slider to start the restore process then reboot the device.
The reason I say to create a full backup of everything is so that you have a working backup to restore if something goes wrong with the update process. It gives you a restore point to go back to so you can troubleshoot what went wrong then try again. And if everything goes right with the update, you won't need to restore the whole backup, you can just do the advanced restore and restore only the data partition and then you should be where you want to be.
I don't know if this will backup and restore your SMS/MMS text messages, you may need to backup/restore those via one of the SMS backup and restore apps in the PlayStore, there are several that can do this.
Thank you again.
Does this backup work for migration between any custom ROMs let's say from LineageOS to PixelExperience or only between versions of the same ROM like from Lineage 18 to 19?
Is it possible to migrate the same set of settings and data from stock ROM with locked bootloader to a custom ROM?
Sincerely

Categories

Resources