Phone boots to OS immediately shuts down and reboots to recovery - OnePlus 6 Questions & Answers

Hi,
My OP6 is unlocked, running TWRP (3.2.3-0) recovery and magisk. I didn't flash zips for about 2 years, and I actually don't even remember what magisk version or what OOS version I run...
Today my phone suddenly restarted while using some navigation app. Since then, every time I turn it on it boots to OS but immediately shuts down and reboots to recovery (TWRP). I just can't boot to system. I can boot to trwp or fastboot. Both slots yield that behavior.
My phone used to restart every now and then, but this is the first time that it won't boot to system afterwards.
I got a 2 years old twrp backup (system+boot), if it can help.
Do you think I can somehow boot to system (preferably without wiping data)?
And if not, is there any way to transfer data from the phone to pc? (I couldn't make my pc recognise the phone)
Thanks

Try timing it just right before your phone starts up again with holding power and vol down button so you can get into TWRP. You then should be able to see your phone on your PC to back up.
Sounds like your data might be corrupt.

I am able to enter twrp, just the data is corrupt somehow.
So I spend a whole day fixing it:
1) Created a nandroid backup of the current (unbootable) state - this will just backup my applications data
2) Wiped data+cache from twrp (factory reset)
3) Now it boots normally, but all data is gone (I also copied the nandroid backup to my pc just to be safe)
4) Flashed magisk
5) Installed all missing apps using some Nandroid Manager app
6) Restored the data of all those apps using titanium backup ("restore from nandroid" option). Note that TB couldn't restore the apps+data, I had to preinstall the apps for it.
7) Remember to create snapshots and backups more frequently
Thanks!

eviatal said:
I am able to enter twrp, just the data is corrupt somehow.
So I spend a whole day fixing it:
1) Created a nandroid backup of the current (unbootable) state - this will just backup my applications data
2) Wiped data+cache from twrp (factory reset)
3) Now it boots normally, but all data is gone (I also copied the nandroid backup to my pc just to be safe)
4) Flashed magisk
5) Installed all missing apps using some Nandroid Manager app
6) Restored the data of all those apps using titanium backup ("restore from nandroid" option). Note that TB couldn't restore the apps+data, I had to preinstall the apps for it.
7) Remember to create snapshots and backups more frequently
Thanks!
Click to expand...
Click to collapse
Glad it, worked out. I actually use migrate app from the playstore. Always make a backup and keep it on my PC . Restores everything .

Related

[Q] ClockworkMod Recovery failing to restore backups

I've got to be doing something wrong (but c'mon, really how can you screw it up?) because this is the second time ClockworkMod (v.3.0.2.4 on my Nexus S) has let me down. First time on my Desire Z, this time on brand new hardware my Nexus S.
When creating the backup, ClockworkMod tells me that the backup was created successfully, but halfway through the restore of said backup (after full data wipe, cache wipe, dalvik wipe) the restore process stops and I'm back at the bootloader with no confirmation of success or failure. Then, when I reboot the system, I'm greeted with the Android setup wizard and a half-restored system.
Two of my last backups that were 'successfully created' fail to restore in the exact same manner.
When I do an advanced restore, the Boot restores OK, the system restores OK, but it's during the data restore it stops. Why is this happening?
I've got 6+GB space free on my storage, space isn't an issue when creating the backup.
This is really disheartening... Any suggestions?

[Q] Twrp nandroid backup successful but...

This is weird...I'm running cm10.1.2 using latest version of TWRP
So, today I made a nandroid backup. I choose to backup everything- cache, system, recovery, boot, data and I always choose to enable compression and I do not skip generate md5.
Well everything appears to be successful and it shows backup successful once it's done but the process is taking 200 seconds, seems faster than normal.
I go to look in esfile explorer to make sure it worked and it's not there. Ok, so I make another one...same thing. I looked everywhere and I can clearly see that I have the same amount of space in storage as I did before making those two full nandroids.
I don't know what's going on. Twrp says successful but there's no b/u
Any ideas?

How to create full rom backup with or without data [stock or custom]

This Is Process Of Saving The Current State Of Device So That If Anything Wrong Happens We Can Restore That State. After Rooting Users Actually Experiment A Lot With Their Android Devices.Sometimes Users Mess With System Files And Get Android Into Bootloop Or Bricked Mood.To Prevent These Issues Its Good Practice To Take Backup Of Whole System And Later Can Restore If Anything Bad Happens.This Is Also Called Nandroid Backup. Taking Full Backup Of Android Using TWRP Recovery Is Super Simple.You can restore This anytime by just single click on restore button So Without Talking Much Let’s Get Started
Requirements
TWRP RECOVERY. IF YOU HAVEN’T FLASHED RECOVERY YET CLICK HERE TO SEE HOW TO FLASH
MEMORY STORAGE MORE THAN 2.5GB HERE
ANDROID MUST HAVE MORE THAN 50% CHARGE.
Procedure
1ower Off Your Android And Boot It Into Recovery Mode By Pressing Volume Up Key,Home And Power Button Simultaneously And Leave It When Logo Appears.
2:Now On Twrp Main Screen Click On Backup
backup
3:Then Select Boot,Cache And System.(If You Want To Backup With Your Apps And Their Data Then Select Data Checkbox Also) And Swipe Right To Start Process.Wait For 5 Mins Till Progress Bar Reaches 100%
backup_process
4:After Completion Of This Process Hit Reboot System And Wait Till Android Restarts.Now Go To File Manager And In Root Of Device Storage You Should See A Folded Named TWRP
twrp_folder
5:This Folder Should Have Bigger Size You Can Keep It On Hardrive And At The Time Of Restoration Move It To Sd Card Or Internal Storage And Then On Twrp Recovery Navigate To This Backup File Using Twrp File Manager And Flash This File To Restore Full ROM

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

Question TWRP

I need help. Problem in TWRP latest version. I will make a backup - I will connect everything that is needed, including data, system, etc. TWRP initially reports that the backup will take place without the data of the internal storage. After the backup is complete, TWRP reports that the backup was successful. After restarting, the MIUI logo will appear after a while, but the system will not boot. I don't understand the reason.
Benoni1 said:
I need help. Problem in TWRP latest version. I will make a backup - I will connect everything that is needed, including data, system, etc. TWRP initially reports that the backup will take place without the data of the internal storage. After the backup is complete, TWRP reports that the backup was successful. After restarting, the MIUI logo will appear after a while, but the system will not boot. I don't understand the reason.
Click to expand...
Click to collapse
System restore cannot work on a different rom.

Categories

Resources