wiping system on TWRP - OnePlus 6 Questions & Answers

hello all
I want a clean system install through TWRP but want to keep my apps and data
Is it safe to do the following :
1-boot into TWRP wipe system
2-boot to fastboot then install TWRP
3-boot into TWRP flash new system
4-flash TWRP zip then falsh magisk
Am I correct ? would I lose data if I do this ?
thanks

Dr.A said:
hello all
I want a clean system install through TWRP but want to keep my apps and data
Is it safe to do the following :
1-boot into TWRP wipe system
2-boot to fastboot then install TWRP
3-boot into TWRP flash new system
4-flash TWRP zip then falsh magisk
Am I correct ? would I lose data if I do this ?
thanks
Click to expand...
Click to collapse
You don't need to flash twrp.zip if you're going to flash custom rom i think... Only the flashing of official oos will restore stock recovery (correct me if i'm wrong)

If you are just flashing the system partition (system.img) then you will not lose twrp. If you are flashing the full official rom, you will lose twrp. On a custom rom you won't lose twrp either.
You will only lose data if unlocking the bootloader or relocking it. Also, if you fastboot flash-all using the fastboot zip on xda you will lose all data too. Obviously if you select wipe data in twrp you lose it there too.

Related

[ROM][UNOFFICIAL][8.1.0] LineageOS 15.1 Oreo

Hi,
It seems like there's a LineageOS 15.1-based rom avalible for Moto X Style.
Tested, it's quite laggy and buggy.
Happy Flashing
androidfilehost.com/?fid=673791459329070491
I tested it and did not recommend it by the hour.
Even it is very difficult to return to another rom 7.1. The problem recovery after the flash of this rom.
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
22pises said:
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
Click to expand...
Click to collapse
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
dzidexx said:
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
Click to expand...
Click to collapse
wipe and flashing is now working but when i flash my 7.1 rom and even my 7.1 nandbackup is now bootloop only the 8.1 is only working now im stuck in unofficial 8.1 with full of bugs i cant downgrade bootloader also
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp, flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager app.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup. @22pises
dzidexx said:
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup.
Click to expand...
Click to collapse
i see, i will try
Twrp - adv wipe - select one partition - change... - ext4... etc.
dzidexx said:
Twrp - adv wipe - select one partition - change... - ext4... etc.
Click to expand...
Click to collapse
thankyou very much for the help, im back in los7.1 again my phone is working now

full wipe brick? help please

Hello everyone! Need help.
I was testing some Xposed modules and then the system crashed and started no more.
I entered the twrp and made a wipe in all the options that there was to do.
The problem is that now the phone does not start any more, there is no way to get into the recovery or the room. When you turn it on, it goes straight to the recovery qualcoom screen. How should I proceed?
Sounds like you wiped system aswell...
Fastboot twrp should work.
In fastboot twrp flash twrp zip
Reboot to twrp
Flash OOS
Flash twrp
Reboot to twrp
Flash magisk
Should get you booted atleast
reflash oxygen os in twrp after wiping data and cache
matze19999 said:
reflash oxygen os in twrp after wiping data and cache
Click to expand...
Click to collapse
I can not access twrp because I've made a full cache, dalvik, system, and internal memory wipe. Only fastboot mode opens
You should can access TWRP because you didn't wipe recovery partition
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3903272
Follow the instructions care full...you device will work
Thanks man <3

NO OS Found IN ONEPLUS 6

Hi Team,
Today i was flashing custom os in oneplus 6 via one youtuber videos
He has selected TWRP wipe menu
Advance -> system , data , Davic/ cache
i did same then he installed the os i also did the same and flash twrp
After doing roboot the system TWRP given me error no os was installed i ignored that message and proceed to next
After system was rebooted im only getting fastboot mode and no other options also im unable to install now any TWRP in my system
can some one help me please
Maybe try format data.
Go to wipe then advance wipe and format data.
If it doesnt work then use msmtool to go back to stock rom and start again.
Don't trust every YT videos you see, NEVER wipe system on op6 or you get this result.
Now you can reinstall TWRP from fastboot and reflash stock OOS twice, if it did not work try to flash stock fastboot firmware
here is a simple solution..
Reboot Recovery
Wipe Data, System, Cache
Flash OOS & TWRP
Reboot into recovery (Ignore No OS Installed Warning)
Flash OOS & TWRP Again
Reboot
Done
if you want to Flash Custom ROM, Here is guide
Reboot Recovery
Wipe Data, System, Cache
Flash OOS & TWRP
Reboot into recovery (Ignore No OS Installed Warning)
Flash OOS & TWRP Again
Reboot into Recovery
Flash Custom ROM & TWRP
Reboot into Recovery
Flash Gapps, Magisk Latest & No-Varity zip is had data decrypted
Reboot
Done
Hitman478™ said:
Don't trust every YT videos you see, NEVER wipe system on op6 or you get this result.
Now you can reinstall TWRP from fastboot and reflash stock OOS twice, if it did not work try to flash stock fastboot firmware
Click to expand...
Click to collapse
Any reason why we shouldn't delete system partition in op6?
Sent from my ONEPLUS A6000 using XDA Labs
Bintang Krisna said:
Any reason why we shouldn't delete system partition in op6?
Sent from my ONEPLUS A6000 using XDA Labs
Click to expand...
Click to collapse
The system also holds the recovery....i made that mistake once and i had to use MSM tool to restore my phone. Big waste of my time to a dumb mistake.

[Solved] Help to flash custom ROMs

Hello everybody,
I bought a Oneplus 7 Pro a few days ago and I'm preparing it for my daily usage. It's my fourth Android smartphone, and the third Oneplus. So far, I managed to flash everyone of them, with no major issues.
And then, the Oneplus 7 Pro suddenly appeared
I used this tutorial to unlock the bootloader and flash the custom recovery.
From my understanding, the custom recovery is flashed in the Recovery Ramdisk and available for both A & B slots.
For now, I have A and B slots with stock OSS, unlocked bootloader, custom recovery and Magisk. All of this is working.
There began my problems. I want to flash a custom ROM without Gapps and I fail to do it. All instructions around ROM threads seems different to me, I don't get the thing about A & B slots, when I flash one rom, it boots as usual on the stock ROM, if I flash both slots, It causes bootloops and if I manage to launch the recovery, my internal storage isn't detected and I can't restore any backup.
I already used MSMDownload to restore the phone completely once.
Can somebody explain to my dumb person how to do it proprely ? Thanks in advance ! :fingers-crossed:
TL;DR : I fail to flash a custom ROM and make it work.
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
djhulk2 said:
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
Click to expand...
Click to collapse
For now, my phone is working nicely. But that's the process of flashing a new ROM that fails. Recovery and Magisk are already and working.
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
WesTD said:
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
Click to expand...
Click to collapse
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
draentor said:
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
Click to expand...
Click to collapse
Nope, it doesnt tell you anything. Just reboot recovery from reboot menu. Don't touch the slot options
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
draentor said:
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
Click to expand...
Click to collapse
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Joker123## said:
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
Click to expand...
Click to collapse
Thanks for the explanation !
WesTD said:
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Click to expand...
Click to collapse
Well yes, I didn't understood the difference between Wipe and Format Data.
So let's resume :
Unlock Bootloader
Advanced -> Install Recovery Ramdisk : Install TWRP
Install -> Flash TWRP Installer
Install -> Flash Magisk
Reboot -> System : Reboot on stock OxygenOS Rooted
Then
Wipe -> Factory Reset : Wipe Data, Cache and Dalvik Cache, that means you just have to swipe on TWRP.
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
is wiping internal storage compulsory?
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
How would you do it ? This is an open discussion, I can't find one and only way of doing it
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
Not wiping.. formatting..that is compulsory if your current data is encrypted
After multiple tries to verify the process :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
It worked !

Question System partition missing in TWRP when flashing custom ROM

After unlocking the bootloader and rooting my SM-A125F, I installed TWRP and the system partition was missing in the wipe section and also when flashing a custom ROM, there was no System Partition
You need to flash Dynapatch v1.5 before... Then you will be able to flash a system image.
Flash it under TWRP
Here you can get it

Categories

Resources