Change TWRP from unofficial. - Moto G4 Questions & Answers

I have a Moto G4 and has an unofficial 64 bit TWRP installed in it. I would like to change it to official TWRP by flashing the .img file. Can I do it by flashing it within the TWRP recovery mode. I don't have root access.

Related

adb not working and how to root

I would like to root my moto xt1575 pure to try everything to improve battery life
It is running Nougat OTA zip flashed through stock recovery
I unlocked the bootloader at Motorola's web site.
I installed adb and fastboot on my windows 10 laptop. Not all the adb commands work
I want to do the image dump that magisk requires before proceeding any further.
I used Sunshine SuperSu and xposed on my HTC one m8 vzw running kitkat 4.4.4
I apologize if this is covered elsewhere or in the wrong place. Perhaps no one has rooted a stock Moto xt1575 pure already running nougat yet. If I can't figure out how to do the image dump I'm stuck with stock. I
jim1sn1 said:
I would like to root my moto xt1575 pure to try everything to improve battery life
It is running Nougat OTA zip flashed through stock recovery
I unlocked the bootloader at Motorola's web site.
I installed adb and fastboot on my windows 10 laptop. Not all the adb commands work
I want to do the image dump that magisk requires before proceeding any further.
I used Sunshine SuperSu and xposed on my HTC one m8 vzw running kitkat 4.4.4
I apologize if this is covered elsewhere or in the wrong place. Perhaps no one has rooted a stock Moto xt1575 pure already running nougat yet. If I can't figure out how to do the image dump I'm stuck with stock. I
Click to expand...
Click to collapse
You say you unlocked the bootloader? Why not just flash the magisk 14.3 zip in a custom recovery? (TWRP?) That is what I would do, flash TWRP, and then flash magisk through that. To do this you are going to want to follow this tutorial http://www.droidviews.com/how-to-install-twrp-and-root-moto-x-pure-2015-xt1575/ and then once in TWRP click install -> magisk zip. Let me know if this is unlcear. But yeah install TWRP, and then flash magisk through that
Spencervb256 said:
You say you unlocked the bootloader? Why not just flash the magisk 14.3 zip in a custom recovery? (TWRP?) That is what I would do, flash TWRP, and then flash magisk through that. To do this you are going to want to follow this tutorial http://www.droidviews.com/how-to-install-twrp-and-root-moto-x-pure-2015-xt1575/ and then once in TWRP click install -> magisk zip. Let me know if this is unlcear. But yeah install TWRP, and then flash magisk through that
Click to expand...
Click to collapse
I installed Magisk Manager and made a patched_boot.img but I get the error no devices/emulators found when trying to run adb commands from my laptop. I uninstalled and reinstalled the motorola driver software on my laptop. I'm just trying to go by the red letters straight off the magisk page in xda, so why doesn't it work? Must be me! LoL!
You don't need patched boot image.
Flash or boot only twrp 3.x(one version can backup stock recovery, I don't remember n°).
fastboot boot nameTwrp.img
Into twrp backup all: boot, system, data(?), recovery, esp.
Important: after backup restore boot.
Flash magisk14.zip(link is in my signature).
Reboot. @jim1sn1

Upgrading blu_spark TWRP to official for decryption

I have blu_spark TWRP and working root on my international 6T. I would like to upgrade the recovery to the official TWRP now, as file decryption is working now in the official.
Is this the correct process to go from blu_spark to official?
Download the fajita TWRP .img and .zip files (from https://forum.xda-developers.com/oneplus-6t/development/recovery-unofficial-twrp-touch-recovery-t3861482
Connect phone to PC and enter fastboot mode
Boot the .img file
Once in recovery, flash the new .zip file
My plan is to then flash the new Oxygen OS released from OnePlus and then flash Magisk.
Looks okay
However, the flash of the OS in TWRP is not clearly defined. Everyone is waiting for new update to try it in the TWRP... So, basically if you wanna flash it that way, you'll probably be the first.... This could put you in the risk of bricking the device though.
I have just done this. Yes you can boot the unofficial 6T recovery and then flash the installer no problem. However if you were running a OP6 ROM the 6T will not decrypt it, unless Im soing something wrong. On my phone once Im on a OP6 rom like LOS16 I can only use the Blu TWRP, if I go back to stock 6T OOS I have to use the 6T TWRP to decrypt. On either system I can bounce between TWRP versions without issue doing as you said, boot the img, then flash the zip, but I cant view anything. Going back to thr correct TWRP restores data access, no bricking worries that Ive run into personally.
There is no official TWRP yet...
Sent from my OnePlus 6T using Tapatalk
celtic426 said:
I have blu_spark TWRP and working root on my international 6T. I would like to upgrade the recovery to the official TWRP now, as file decryption is working now in the official.
Is this the correct process to go from blu_spark to official?
Download the fajita TWRP .img and .zip files (from https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Connect phone to PC and enter fastboot mode
Boot the .img file
Once in recovery, flash the new .zip file
My plan is to then flash the new Oxygen OS released from OnePlus and then flash Magisk.
Click to expand...
Click to collapse
I did a post below for the update to Unofficial version with decryption working
https://forum.xda-developers.com/showpost.php?p=78267079&postcount=299
Sent from my OnePlus6T using XDA Labs
Thanks for the replies.
I successfully went from blu_spark TWRP to the newer faijta TWRP which has the option for decrypting.
That allowed me to use the recovery to flash the new OTA OxeygenOS update which I downloaded from oneplus.com.

Which TWRP version to install?

I have moto x play xt1562 and on this page i see that there are different unofficial TWRP versions. Which version i have to install? ALso, if i have other custom recovery already installed, like linage custom recovery, do i have to take and precautions?
hi peter,
it depends on which image you want to install. since may 2020 there is a bug in twrp which no longer starts the phone with the ota update.
if you want to backup, delete or install your partitions you can install the current version 3.4.0. when you have everything set up you either have to import the updates manually or use its recovery as with lineage. twrp should also work in version 3.3.0 (or any other version before may 2020).
I am currently using the lineage with lineage recovery and it works. should you need more settings for the recovery you can simply boot twrp without installing! thus it is possible to set everything in twrp and still have the lineage recovery because of ota on the device.
if you want the recovery boot (no install) you have to execute this command:
Code:
fastboot boot twrpname.img
cheers

Samsung fastboot confirmed

I have successfully used fastboot to flash TWRP to my Tab S5e. Android 10 moved fastboot to userspace as fastbootd and if you have the right recovery it works on Samsung. I used Lineage recovery from local 17.1 build on my machine. Got curious about fastboot options in recovery and it works. Check this to better understand https://source.android.com/devices/bootloader/fastbootd Yep that is source.android link no joke. Device codename can be seen in screenshots.
Does this mean we can flash TWRP Recovery and then just root it with flashing Magisk via TWRP recovery? Thanks.
IngoPan said:
Does this mean we can flash TWRP Recovery and then just root it with flashing Magisk via TWRP recovery? Thanks.
Click to expand...
Click to collapse
Sort of, if you already have LineageOS or another custom ROM that supports it. Stock samsung does not support fastbootd. AOSP based roms should have it as of android 10. It also requires the recovery be compatable. Lineage recovery provides access current TWRP did not. It is explained here https://source.android.com/devices/bootloader/fastbootd . It's a neat trick but not for initial root or custom recovery, still same as always you have to have it before you can get it. It does not replace Odin and the same steps are required as always to root or install twrp on stock Samsung. But once you have access it works to flash magisk_patched.img on LOS which can be good since Lineage 17.1 does not have official su support.

can be closed - Samsung Galaxy Tab S5e - Root, Magisk, TWRP & Lineage

Hi,
I want to achieve the following with my Samsung Tab S5e WiFi
Root
Magisk
Lineage
TWRP
Following the guide here (https://wiki.lineageos.org/devices/gts4lvwifi/install) I already unlocked the bootloader, flashed vbmeta.tar with Odin, flashed lineage-19.1-20221114-recovery-gts4lvwifi.img with Odin and flashed lineage-19.1-20221114-nightly-gts4lvwifi-signed.zip with TWRP-recovery.
Lineage is working fine, but I would also like to use Magisk and am unsure about the next steps.
I have Lineage Recovery installed, but would like to have TWRP instead.
What would be the next steps to continue from Lineage (incl. Lineage Recovery) to finish in Root, Magisk, Original TWRP and Lineage OS?
I understood, that I would have to patch boot or recovery from Magisk, but am unsure about if I should/could use TWRP recovery.img (inside twrp-3.7.0_9-0-gts4lv.img.tar) file instead of Lineage boot.image (inside ineage-19.1-20221114-nightly-gts4lvwifi-signed.zip) or Lineage recovery (lineage-19.1-20221114-recovery-gts4lvwifi.img).
What needs to be considererd with vbmeta.img?
Thanks
I wiped system? and re-flashed Lineage via TWRP, got "original" TWRP Recovery for S5e Magisk permanent.
I have to admid, I tried several things and got lucky I did not break something.
I had nearly, what I wanted - TWRP, Lineage and Magisk, but there were issues with the sensors (no auto rotate).
Again I helped myself:
1) flashed the original, unpatched TWRP Recovery for S5e
2) flashed unpatched Lineage for S5e
3) flashed MindTheGapps
4) flashed Magisk-v25.2.apk
No bootloop, original TWRP permanent, Magisks working fine, no issues with sensors.

Categories

Resources