Hi guys,
At the moment we don't have many custom ROMs for 6T but we have quite a few custom kernels to play with.
Let's say we are on latest OSS, regards with Magisk and having TWRP. And with custom Kernel.
Correct way to go back to stock kernel and flash different custom kernel would be:
Boot to TWRP.
Flash Stock boot.img
Reboot to TWRP again
Flash TWRP zip
Reflash Magisk
Reboot to System.
Done.
Am I correct? Or do we have to reflash full OTA?
wangdak said:
Hi guys,
At the moment we don't have many custom ROMs for 6T but we have quite a few custom kernels to play with.
Let's say we are on latest OSS, regards with Magisk and having TWRP. And with custom Kernel.
Correct way to go back to stock kernel and flash different custom kernel would be:
Boot to TWRP.
Flash Stock boot.img
Reboot to TWRP again
Flash TWRP zip
Reflash Magisk
Reboot to System.
Done.
Am I correct? Or do we have to reflash full OTA?
Click to expand...
Click to collapse
Boot to TWRP.
Flash Stock boot.img
Flash twrp zip
Reboot to TWRP again
Reflash Magisk
Reboot to System.
Done.
indian84 said:
Boot to TWRP.
Flash Stock boot.img
Flash twrp zip
Reboot to TWRP again
Reflash Magisk
Reboot to System.
Done.
Click to expand...
Click to collapse
Is it okay to flash img files in TWRP? I was told that it is meant just for zip files. Fastboot for img files.
devilrulz4ever said:
Is it okay to flash img files in TWRP? I was told that it is meant just for zip files. Fastboot for img files.
Click to expand...
Click to collapse
As long as you flash correct image to correct slot, it should not be an issue..
devilrulz4ever said:
Is it okay to flash img files in TWRP? I was told that it is meant just for zip files. Fastboot for img files.
Click to expand...
Click to collapse
Since years
my preference is to use EXKM and flash through there. my process
need:
stock boot for whatever your running, in my case .11 boot.img
whatever kernel you want to flash
1. in exkm, flash the stock boot.img, don't reboot
2. then flash your kernel of choice, don't reboot
3. in magisk manager, flash magisk, and use direct patch, then reboot
once it reboots, your g2g
Related
Hello, I want to switch from Franco to Elemental X kernel, I read that first I must go back to stock kernel.
Here's what I do:
1) download factory image angler-n2g47w-factory-bd87661a.zip
2) unzip factory image
3) unzip image-angler-n2g47w.zip
4) copy boot.img into fastboot directory
5) adb reboot-fastboot
6) fastboot flash boot boot.img
When I reboot the phone stucks on first page with the google logo and the lock at the bottom of the page.
Fortunately I can go back to twrp, reinstall franco kernel, reboot the phone and everything works fine.
Can someone please help meto find out why I cannot boot stock kernel?
Thank you in advance
Dirty flash your rom together with stock boot.img, or do a factory reset.
Dirty flash is not working, before factory reset I need a backup.
sidethorn said:
Dirty flash is not working, before factory reset I need a backup.
Click to expand...
Click to collapse
Backup with twrp, unpack the zip in the factory image, wipe system and caches with twrp, flash boot, system and vendor.img with twrp from the unpacked zip. Why does dirty flashing isn't working?
Edit: your bootloader is unlocked, right? You didn't relocked
sidethorn said:
Dirty flash is not working, before factory reset I need a backup.
Click to expand...
Click to collapse
Dirty flash the whole stock image.
Remove the -w from the flash_all script. It is the option to tell fastboot to wipe and you don't want a wipe of data.
I dirty flash like this for stock all the time.
Thanks I will give it a try ??
coremania said:
Backup with twrp, unpack the zip in the factory image, wipe system and caches with twrp, flash boot, system and vendor.img with twrp from the unpacked zip. Why does dirty flashing isn't working?
Edit: your bootloader is unlocked, right? You didn't relocked
Click to expand...
Click to collapse
Dirty Flashing ROM (pure nexus by the way) and boot.img from stock cause a bootloop
and I never relocked bootloader I will try flashing boot+system+vendor.img
OK, as you wrote before I thought u are on stock rom with Franco kernel, now it's pn. A bit confusing, if u are planning to switch between roms a clean flash is always recommended.
I want to update my Moto G4 plus but to do so I will have to flash the stock recovery.So to do so can I flash the stock recovery image file within TWRP without using a PC
Jasnil said:
I want to update my Moto G4 plus but to do so I will have to flash the stock recovery.So to do so can I flash the stock recovery image file within TWRP without using a PC
Click to expand...
Click to collapse
Yes you can,
> TWRP > Install > (install img button at bottom) > select recovery img > flash as recovery.
____Mdd said:
Yes you can,
> TWRP > Install > (install img button at bottom) > select recovery img > flash as recovery.
Click to expand...
Click to collapse
Thank You.
Jasnil said:
Thank You.
Click to expand...
Click to collapse
isn't the recovery twrp though? if he flashes the image it will be twrp image no?
peladoro said:
isn't the recovery twrp though? if he flashes the image it will be twrp image no?
Click to expand...
Click to collapse
Though TWRP is the custom recovery, what is described above is flashing the stock recovery image in TWRP, which will overwrite TWRP recovery with the stock recovery. Upon rebooting to recovery, your recovery should now be the stock (Android) recovery. Both stock and TWRP recovery images can be flashed in TWRP without issue.
Of course, ideally you'll want to flash the recovery of the same patch level as your existing system. Furthermore, simply flashing the stock recovery over TWRP may not be enough to restore your device to stock and permit OTA updates - you'd need an unmodified system/kernel/stock logo as well.
echo92 said:
Though TWRP is the custom recovery, what is described above is flashing the stock recovery image in TWRP, which will overwrite TWRP recovery with the stock recovery. Upon rebooting to recovery, your recovery should now be the stock (Android) recovery. Both stock and TWRP recovery images can be flashed in TWRP without issue.
Of course, ideally you'll want to flash the recovery of the same patch level as your existing system. Furthermore, simply flashing the stock recovery over TWRP may not be enough to restore your device to stock and permit OTA updates - you'd need an unmodified system/kernel/stock logo as well.
Click to expand...
Click to collapse
I have an unmodified system/kernel/stock logo and I have even installed the stock recovery but I got an error while doing the OTA update.What is the problem??
Jasnil said:
I have an unmodified system/kernel/stock logo and I have even installed the stock recovery but I got an error while doing the OTA update.What is the problem??
Click to expand...
Click to collapse
What's the error and which stock firmware are you attempting to update/have on your device?
Are you certain your stock system is not modified? Even allowing TWRP to make modifications (allowing read write on the system) can cause an OTA update to fail. You may have to reflash the newest stock firmware in that case.
I am actually on modified twrp with multirom, i would like to go back to orginal twrp, do i have to flash other zip files after flashing the new recovery img?
Hi everybody,
I have a OP 6T McLaren, Oxygen 9.0.12 and I tried to uninstall Magisk 18.1 and update to Magisk 18.2 canary and something went wrong. After flashing I got the following error:
!Unable to unpack boot image
---
Updater process ended with ERROR: 1
Error installing zip file `/sdcard/Download/magisk-uninstaller.zip
The same error when I try to flash any Magisk version.
Phone doesn`t boot into system now. I can fastboot into TWRP and access files and folders.
Thank you very much in advance for your help.
Flash the magisk uninstaller then reboot. Then flash magisk.
I can't flash magisk uninstaller or magisk. It gives me the above error.
Even if I flash twrp installer in temp twrp it installs without error but after reboot it boots only in bootloader.
What can I do now to get the system working again?
-flash stock boot.img (where do I get file for McLaren 9.0.12?
-use MSMdownloadtool from here?
https://forum.xda-developers.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
flash this ota via temp twrp?
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
Try
Reflash OOS 9.0.12
Flash twrp
Reboot recovery
Flash magisk
Reboot system
Backup your data
Sent from my OnePlus6T using XDA Labs
Mclaren uses the same stock restore image.
I've been there format data .my friend let's his SD card encrypt or get errors on top of letting twrp (wrong version won't decrypt data either) if you do that reboot in system make sure adb is on and oem and auto updates are off
use different twrp the test build works better I had problems with orginal TWRP too
Solved!
All I had to do was flashing stock boot.img to boot_A and boot_B. Now It's working again...
Thank you very much for your help.
kika1992 said:
Solved!
All I had to do was flashing stock boot.img to boot_A and boot_B. Now It's working again...
Thank you very much for your help.
Click to expand...
Click to collapse
Ah.. Stuck in exactly same situation. Did you unzip the stock rom and flash boot.img through fastboot? Or did you take any different steps?
Niks.
Yes, unzip and flash both files via fastboot.
Just a note.
When installing Magisk and TWRP; I always install Magisk in one slot and reboot. I then use a partition backup tool to grab the stock boot image.
I then flash the stock boot image so the phone is completely stock again.
At this point I go through the TWRP and Magisk install the normal way.
I do this so I can always flash back to stock.
I also don't care about retaining TWRP or root.
I just start all over. It takes a few minutes but I don't usually have issues.
I also local install the same ROM to both slots before I install anything.
This way the opposite slot will always boot with the same version of the ROM.
so I'm in twrp 3.2.3-0 and using custom roms without flashing that decrypt.zip and i want to update my twrp what to do?
and if i want to update, can i flash the img file via twrp?
Download higher twrp.img file and flash via exsisting twrp in recovery partision ,your recivery will be updated.