kernel unistalling - OnePlus 7 Pro Questions & Answers

want to unistall a kernel but didn't make a backup of my own boot.img, if i were to wipe my phone and reinstall OOS would this work or not?
phone model is TMO 1915 converted to international 10.3.4 GM21AA

AngryUserLG said:
want to unistall a kernel but didn't make a backup of my own boot.img, if i were to wipe my phone and reinstall OOS would this work or not?
phone model is TMO 1915 converted to international 10.3.4 GM21AA
Click to expand...
Click to collapse
No need to wipe the phone.
Get the complete ROM and do a local install of the same ROM/OS.
It will replace the system and the boot image and your data will be preserved.
You will lose root, so before you reboot go into Magic Manager and refresh Magisk

tech_head said:
No need to wipe the phone.
Get the complete ROM and do a local install of the same ROM/OS.
It will replace the system and the boot image and your data will be preserved.
You will lose root, so before you reboot go into Magic Manager and refresh Magisk
Click to expand...
Click to collapse
thanks ill try doing that when i can!

Related

OOS 5.1.8 Restore back to original setting

Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
leonalewis said:
Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
Click to expand...
Click to collapse
Here you go,this will restore the phone back to 5.1.5:
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
leonalewis said:
Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
Click to expand...
Click to collapse
Make sure you have your full ROM zip files on your phone. Disable secure lock screen in OS. Boot TWRP, backup data only. Wipe everything (data is optional) install ROM zip file, reflash TWRP zip, reboot. You can always restore data at any time after wiping it and it will be as you have it set up to your preferences. There aren't major differences in OOS versions so erroes shouldn't occur with data on any of them. If you want root, you can boot back into recovery and install magisk.
mikex8593 said:
Make sure you have your full ROM zip files on your phone. Disable secure lock screen in OS. Boot TWRP, backup data only. Wipe everything (data is optional) install ROM zip file, reflash TWRP zip, reboot. You can always restore data at any time after wiping it and it will be as you have it set up to your preferences. There aren't major differences in OOS versions so erroes shouldn't occur with data on any of them. If you want root, you can boot back into recovery and install magisk.
Click to expand...
Click to collapse
can someone confirm this procedure is valid which mikex has confirmed? Since on this post https://forum.xda-developers.com/oneplus-6/help/help-flashing-oos-5-1-8-zip-via-twrp-t3814614 he did the same and got BootLoop
stavros67 said:
Here you go,this will restore the phone back to 5.1.5:
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Click to expand...
Click to collapse
Just use this, let OTA update run and you're done. There's no easier solution.
leonalewis said:
can someone confirm this procedure is valid which mikex has confirmed? Since on this post https://forum.xda-developers.com/oneplus-6/help/help-flashing-oos-5-1-8-zip-via-twrp-t3814614 he did the same and got BootLoop
Click to expand...
Click to collapse
You shouldn't get a bootloop if you flash stock firmware via TWRP unless the file itself is messed up. Bootloop can occur if you flash magisk right away, I think. You have to reboot recovery before flashing magisk.

What is the proper way to move from one rom to another?

I have tried a couple of roms and I always end up bricking my phone when I try to move from one of the flashed roms back to OOS and have to resort to using msmtool and start over with 5.1.5.
Can someone please guide and advise on the best practices for flashing roms and then going back to stock. Thanks
Depends what roms you are trying to go from.. And what security patch the first rom is on.
When going back from let's say September to July you will have to format phone only to install oos again.
How have you done the procedure when you brick it?
whizeguy said:
Depends what roms you are trying to go from.. And what security patch the first rom is on.
When going back from let's say September to July you will have to format phone only to install oos again.
How have you done the procedure when you brick it?
Click to expand...
Click to collapse
Thanks for your kind reply, I format system, data & dalvik partitions & then install OOS and always end up with a bricked phone.
I believe format
Install twrp
Reboot to twrp
Install oos, install twrp
Reboot to twrp
Install oos, install twrp
Reboot to twrp
Minstall magisk
So you get it on both partitions
faisalsiddiqui said:
Thanks for your kind reply, I format system, data & dalvik partitions & then install OOS and always end up with a bricked phone.
Click to expand...
Click to collapse
you mean encrypted? should be fixed with a format, or rather it's the only way afaik..
proper way is to take backups and keep off of phone, so that if you're going down android security patches(not sure what else, if anything triggers it), you'll have needed data on hand
When you switch from one rom to other Format data it's the way.
When you want to go back from Android 9 to android 8 you need to install a rollback rom.
Oos allways encripts youre phone and you will go back to Oos recovery.

Reverting back to stable from open beta without pc

Hello, I am a noob and i would like to know how to revert back to stock oos stable from open beta without pc. I have installed twrp but i want to install stock recovery too. Thanks.
yorllin said:
Hello, I am a noob and i would like to know how to revert back to stock oos stable from open beta without pc. I have installed twrp but i want to install stock recovery too. Thanks.
Click to expand...
Click to collapse
If you have TWRP, flash the OOS Stable Zip + TWRP, reboot the recovery, and there flash only OOS.
You will have OOS Stable in both slots, and the second flash will replace the recovery with the one from OnePlus
You may have to Format Data at the middle of the operation (When you reboot the recovery before the second flash). If that's the case, you won't be able to do the second flash, because the OOS zip will be erased !
Totone56 said:
If you have TWRP, flash the OOS Stable Zip + TWRP, reboot the recovery, and there flash only OOS.
You will have OOS Stable in both slots, and the second flash will replace the recovery with the one from OnePlus
You may have to Format Data at the middle of the operation (When you reboot the recovery before the second flash). If that's the case, you won't be able to do the second flash, because the OOS zip will be erased !
Click to expand...
Click to collapse
then in case I have to format the data, I would need a PC necessarily?
yorllin said:
then in case I have to format the data, I would need a PC necessarily?
Click to expand...
Click to collapse
Not necessarily. If you just flash OOS Stable, and Format the Data after, you will have a perfectly working device, with OOS Stable and OnePlus stock recovery. The storage will just be totally empty (So no Zips left to flash anything else like TWRP or Magisk), but the phone will work, just like when you first bought it ! If you don't want to flash anything more than OOS, then yes just flash the ROM, Format Data, and reboot
A PC would be useful if you want to flash OOS a second time to fill the second slot. But even then, you could do without one :
- Flash OOS
- Format the Data
- Reboot, setup the phone, install apps, ect
- Download the OOS Stable zip that has been erased when you formatted from Chrome on your phone
- Do a "Local upgrade" from the Updater in the settings, and flash 9.0.5 again
- Now you have a totally stock OOS Stable phone, with 9.0.5 on A and B System slots, clean as a baby !
I did this exact procedure myself this moning after being stupid and messing with the encryption, and not having an USB cable near me to use a PC
Totone56 said:
Not necessarily. If you just flash OOS Stable, and Format the Data after, you will have a perfectly working device, with OOS Stable and OnePlus stock recovery. The storage will just be totally empty (So no Zips left to flash anything else like TWRP or Magisk), but the phone will work, just like when you first bought it ! If you don't want to flash anything more than OOS, then yes just flash the ROM, Format Data, and reboot
A PC would be useful if you want to flash OOS a second time to fill the second slot. But even then, you could do without one :
- Flash OOS
- Format the Data
- Reboot, setup the phone, install apps, ect
- Download the OOS Stable zip that has been erased when you formatted from Chrome on your phone
- Do a "Local upgrade" from the Updater in the settings, and flash 9.0.5 again
- Now you have a totally stock OOS Stable phone, with 9.0.5 on A and B System slots, clean as a baby !
I did this exact procedure myself this moning after being stupid and messing with the encryption, and not having an USB cable near me to use a PC
Click to expand...
Click to collapse
Bro if I only want install the stock recovery just have to flash the open beta oss?
yorllin said:
Bro if I only want install the stock recovery just have to flash the open beta oss?
Click to expand...
Click to collapse
Yes ! If you don't flash TWRP, it will replace it !
Totone56 said:
Yes ! If you don't flash TWRP, it will replace it !
Click to expand...
Click to collapse
Thanks I just want to be sure that not gonna brick my phone ?
Totone56 said:
Yes ! If you don't flash TWRP, it will replace it !
Click to expand...
Click to collapse
Bro last question, the local update metod works too?
Just install the rollback zip through the local update and reboot.
Nothing else is required
It'll wipe out your data though.

Update OOS 9.5.7 to 9.5.8 - Magisk Root

Hi fellas,
I'm running OOS 9.5.7 GM21AA and rooted using Magisk.
I got a notification for the 9.5.8 system update. I would like to upgrade the OS but would still like to keep root (and don't wanna restore my phone). However, I have still backed up to Google Drive, and also using the OnePlus Switch app and copied the back up to my PC.
My question is, what's the best way to go about updating the system without having it touch my data?
I know the system update will unroot the phone automatically, which I'm guessing is going to delete all my data (because my device is rooted). So is there a way I can UNROOT separately so I don't lose my files and data, --> and then after that do the system update?
Can I download 9.5.8 from the web manually and install via TWRP for example, thus not messing with root and not losing data?
Thanks for your help in advance!
Follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414
whatthekj said:
Follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414
Click to expand...
Click to collapse
Thanks for the quick reply.
Just to make sure, following those steps I shouldn't lose my data, correct?
omar0aziz said:
Thanks for the quick reply.
Just to make sure, following those steps I shouldn't lose my data, correct?
Click to expand...
Click to collapse
Correct. I didn't lose data when I did it awhile ago but I would still make a Google back up just in case of any errors
whatthekj said:
Correct. I didn't lose data when I did it awhile ago but I would still make a Google back up just in case of any errors
Click to expand...
Click to collapse
Awesome, thanks again! :good:
See here, as the exact question has already been asked and answered: https://forum.xda-developers.com/oneplus-7-pro/help/how-properly-update-t3942735
I know you did already got an answer, but there is additional info on the other thread.
In particular, I would reiterate would I posted about data retention when updating:
Yes, it should retain your data. I just updated to 9.5.8 a few days ago, and it kept my data intact (by the process of updating in settings, don't reboot, in Magisk Manager install TWRP installer in inactive slot, etc.).
But what I always say when attempting a "dirty flash" (flashing the ROM, but retaining data) is: hope for the best, prepare for the worst. Backup anything that is important to you before any big update, just in case. What should happen, and what actually happens, are not always the same thing!
@omar0aziz, no, losing root does NOT mean you lose your data. (This is not to be confused with locking or unblocking the bootloader, which will inevitably lose your data.) If you lose root, simply flash Magisk again.
The best way to update? I recommend taking full manual control of the update process. Use TWRP to update your ROM (that includes stock OOS) when you want to, and when you need to fix stuff.
- Flash ROM
If you are on slot A and flash a ROM, it goes to slot B.
- Flash TWRP installer zip
Keeps TWRP on both slots, patches boot.img
- Reboot to TWRP, not system
- Flash ROM again
This installs the ROM to the other slot, so now both slots are updated
- Flash TWRP installer zip again
Keeps TWRP on both slots, patches boot.img
- Flash Magisk
Patches the TWRP-patched ROM, allowing it to boot.
- Wipe dalvik
You can wipe data and dalvik instead for a clean flash
- Now reboot to system
(Keep in mind that in most custom ROMs, you will need to do an initial setup of the ROM, then reboot to recovery and flash Magisk again to get root.)
Consider flashing BOTH slots (A and B) whenever you update OOS, for two reasons. First, you don't have to keep track of which slot has which version of OOS should you flash a custom ROM or kernel with a specific version of OOS required as a base. The second reason is more compelling: the way the data partition changes encryption every update has nearly obviated the reason for A/B slots, in that if newly updated B changes data encryption upon boot and then something happens, you cannot revert to A because A can't read the new data encryption. So the solution is to update both A and B at the same time so both slots use the same encryption and can both access the data partition.
Or like me, run the device decrypted (i. e. without forced encryption).
Good luck!

Fix infinite boot without resetting data?

Hi,
after installing and uninstalling some Magisk modules, my device (OP6, OOS, blu spark TWRP, Magisk) randomly froze and after restarting, it keeps booting forever. I can still get into TWRP, so I tried a few things to fix this like:
Uninstalling and reinstalling Magisk
Flashing OOS, TWRP and Magisk again
Flashing just OOS,
but nothing seems to help. Is there a proper way of fixing this without wiping my data partition?
If there is not, how do I save as much of my data (like system settings, app data etc.) as possible from TWRP so I can restore it later?
Thanks for your help
cvfd said:
Hi,
after installing and uninstalling some Magisk modules, my device (OP6, OOS, blu spark TWRP, Magisk) randomly froze and after restarting, it keeps booting forever. I can still get into TWRP, so I tried a few things to fix this like:
Uninstalling and reinstalling Magisk
Flashing OOS, TWRP and Magisk again
Flashing just OOS,
but nothing seems to help. Is there a proper way of fixing this without wiping my data partition?
If there is not, how do I save as much of my data (like system settings, app data etc.) as possible from TWRP so I can restore it later?
Thanks for your help
Click to expand...
Click to collapse
This is exactly what happened to me! (and I thought it was related to edXposed).
Have you tried flashing only the boot img?
cvfd said:
Hi,
after installing and uninstalling some Magisk modules, my device (OP6, OOS, blu spark TWRP, Magisk) randomly froze and after restarting, it keeps booting forever. I can still get into TWRP, so I tried a few things to fix this like:
Uninstalling and reinstalling Magisk
Flashing OOS, TWRP and Magisk again
Flashing just OOS,
but nothing seems to help. Is there a proper way of fixing this without wiping my data partition?
If there is not, how do I save as much of my data (like system settings, app data etc.) as possible from TWRP so I can restore it later?
Thanks for your help
Click to expand...
Click to collapse
Boot to twrp
Flash magisk uninstaller
Flash oos full rom
Flash twrp zip
Reboot recovery
Flash oos full ROM
Flash twrp zip
Reboot recovey
Flash magisk.
yldlj said:
Boot to twrp
Flash magisk uninstaller
Flash oos full rom
Flash twrp zip
Reboot recovery
Flash oos full ROM
Flash twrp zip
Reboot recovey
Flash magisk.
Click to expand...
Click to collapse
Hmm, I just tried that and it didn't help. Is there anything else I can do?
Edit: Tried with official TWRP as well, no luck either.
davidperl99 said:
This is exactly what happened to me! (and I thought it was related to edXposed).
Have you tried flashing only the boot img?
Click to expand...
Click to collapse
Where would I find the newest boot.img? Also, isn't flashing the OOS Full ROM supposed to replace my boot.img with the stock one?
cvfd said:
Hmm, I just tried that and it didn't help. Is there anything else I can do?
Edit: Tried with official TWRP as well, no luck either.
Where would I find the newest boot.img? Also, isn't flashing the OOS Full ROM supposed to replace my boot.img with the stock one?
Click to expand...
Click to collapse
I think you might have to wipe if you can't get your phone to boot after dirty flashing ROM. I would try flashing your boot. Img first in case it's magisk related problem. What ROM are you on?
yldlj said:
I think you might have to wipe if you can't get your phone to boot after dirty flashing ROM. I would try flashing your boot. Img first in case it's magisk related problem. What ROM are you on?
Click to expand...
Click to collapse
Regular OOS 9.0.7.
cvfd said:
Regular OOS 9.0.7.
Click to expand...
Click to collapse
Stock Boot. Img can be found here
https://forum.xda-developers.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853
Also try use the latest bluespark twrp
yldlj said:
Stock Boot. Img can be found here
https://forum.xda-developers.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853
Also try use the latest bluespark twrp
Click to expand...
Click to collapse
So flash the boot.img through fastboot and then repeat the steps above?
cvfd said:
So flash the boot.img through fastboot and then repeat the steps above?
Click to expand...
Click to collapse
Flash boot. Img and see if the phone boots. I have never flashed a boot. Img so not sure exactly how. If not it might be time to use the fastboot rom. If you flash the boot. Img you will lose twrp.
yldlj said:
Flash boot. Img and see if the phone boots. I have never flashed a boot. Img so not sure exactly how. If not it might be time to use the fastboot rom
Click to expand...
Click to collapse
No luck with that either, so I guess it's time to reset. What's the best way to backup and restore as much of my data as possible, like system settings and app data?
cvfd said:
No luck with that either, so I guess it's time to reset. What's the best way to backup and restore as much of my data as possible, like system settings and app data?
Click to expand...
Click to collapse
You can backup data in twrp but that might be the reason you can't boot. Google backup should of backed up most things. At this point you should be more concerned about getting your phone to boot.

Categories

Resources