Currently: I currently have a custom-recovery (OrangeFox) and Magisk successfully installed on stock ROM.
I am now ready to flash a custom-ROM (LineageOS for now) and am unsure whether or not I need to re-flash Magisk before rebooting to system... SO in general is the process:
1) Flash custom-ROM
2) Reboot to recovery and flash Gapps
3) ???? Should I reboot to recovery and flash Magisk then reboot to system OR just reboot to system and Magisk is retained... also, since root was accomplished via Magisk, will flashing a custom-ROM unroot the phone?
Any guidance is appreciated.
Yes, Flashing any custom rom will unroot your phone. You've to reflash magisk after flashing the rom.And make sure you backup everything.
1) Download the ROM and GApps of your choice
2) Make a full wipe (system, data, cache, dalvik, vendor)
3) Flash Rom Zip
4) Flash GAPPS package
5) Flash Magisk zip
6) Wipe cache!
7) And at last Reboot!
Related
Sorry guys, help need here... installed RR 7.1.2 on GT-I9100 but failed to install Gapps... here are my steps...
1. Repartition via Odin - pit file - I9100_1.5GB-System_6GB-Data_32MB-Preload_by-the.gangster.pit - successful;
2. Flash CWM -Kitkat Compatible i9100 via Odin - successful;
3. Copy (a) RR-N-v5.8.4-20170813-i9100-Official and (b) gapps - open_gapps-arm-7.1-mini-20170910 to SD card;
4. Reboot to CWM, wipe partition, cache, dalvick cache, format system partion, flash (a) - successful;
here is the uncertain ways to flash gapps, but i try both ways, all failed.
5a. Right after flashing (a), straight away flash (b), successful, reboot but stuck at boot animation,
5b. After flashing (a), reboot and set up - successful, set Developer option, reboot to CWM to flash (b), error message e:\failed to find / misc partition.
The rom successfully installed and running, but unable to flash gapps.
Any comment? Thanks in advance!
I would suggest starting again this time install TWRP v3.1.0.0 recovery instead of CWM. You will need a compatible kernel. See djibe's guide in help section.
https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
Hi All. We have Stock ROM zips for TWRP as you know. But i have boot problem if I install them with instructions which on topics. I know i am not alone who facing with this problem. This Guide is competible with all models.
Here are the steps to install Stock ROM from TWRP.
1. Check first;
Once you booted to TWRP , Tap Mount and Check "Mount, System as Read-only", this is very important
2. Install bootstack and system files.
3. Wipe Art & Cache.
4. Reboot Recovery. (Not system, just recovery)
5. Install SuperSU now.
6. Reboot.
SuperSU will not be fully installed if you don't reboot recovery. So you can not boot.
Can anyone please guide me, how to dirty flash ota updates of pixel experience? What steps need to be taken and in which order?
I flashed the pixel experience first time in the following order
1. ) Unlocked bootloader
2.) installed twrp
3,) Wiped data
4.) Flashed dfe zip
5.)Flashed rom
Booted
but I really need help in installing new update.
For a dirty install of an update, all you have to do is boot into TWRP and install the new ROM zip, then flash the DFE zip, then reboot into the system. You can wipe the cache and dalvik cache after installing the zips, but i dont think it is nesessary.
TWRP
Flash [URL="https://forum.xda-developers.com/mi-9t/development/recovery-unofficial-twrp-xiaomi-redmi-t3960726/page15"]TWRP.[/URL]
Firmware & Vendor
Download firmware & vendor package for your device variant here and flash the zip in TWRP and format and never boot to system.
Flashing
ROM
GAPPS
MAGISK
Wiping
In TWRP go to Wipe / Advanced Wipe and select
Cache
Data
Internal Storage
Reboot
steps i need to follow for flashing rom
1. wipe (delvik, cache, system, data)
2. install rom (after flashing a message appears 'No OS installed)
3. then i press home button, and reboot to recovery.
4. Again install rom (this time without wiping any thing)
5. finally gets new rom.
why m not able to flash rom directly after wiping cache etc.
i have to always flash the rom two times (step 4) to install.
where i am getting it wrong?? help please
previously I was using Pixel experience Rom (decrypted)
edit solution: the issue was because of using older version of TWRP. hence solved.
your issue might be because of system partition not getting mounted properly after the wipe. Hence After wiping, reboot to recovery then flash rom.