[RECOVERY][UNOFFICIAL] TWRP 3.5.0

Search This thread

vache

Recognized Developer
Jun 12, 2009
1,137
3,696
Paris
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​

Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Install guide:

Boot :
Code:
fastboot boot <twrp.img>

Install :
Code:
fastboot flash recovery <twrp.img>


Download:


XDA:DevDB Information
TWRP, Tool/Utility for the Moto G8

Contributors
vache
Source Code: https://github.com/TeamWin/android_bootable_recovery


Version Information
Status:
Beta
Beta Release Date: 2020-08-28

Created 2020-08-28
Last Updated 2020-08-31
 
Last edited:

pixlone

Member
Oct 28, 2019
10
0
Hello, I'm trying to port TWRP to the motorola edge plus and right now I'm running into an issue where my touchscreen and adb do not work. Could you publish the device tree you used here so I can take a look at it and potentially get it working on my phone?

Thanks.
 

vache

Recognized Developer
Jun 12, 2009
1,137
3,696
Paris
Hello, I'm trying to port TWRP to the motorola edge plus and right now I'm running into an issue where my touchscreen and adb do not work. Could you publish the device tree you used here so I can take a look at it and potentially get it working on my phone?

Thanks.

You'd better check the moto edge tree : https://github.com/boulzordev/android_device_motorola_racer/tree/twrp

Unified one for trinket devices is here : https://github.com/moto-sm6xxx/android_device_motorola_sofiar/tree/twrp

Where to look at :
recovery/root/vendor/firmware - firmwares for touchscreen and vibrator
recovery/root/sbin/modules - drivers for touchscreen/battery/vibrator
recovery/root/sbin/load_ts_firmware.sh - in charge to load modules and tell touchscreen driver which firmware to load
 
Last edited:
  • Like
Reactions: Spaceminer

swear000

Member
Jul 29, 2012
17
2
There is no system partition to install to in TWRP. Super is listed twice. It may be nice to know what partitions listed actually mean.
No checkbox activation:
System
Vendor
product
USB storage
 
Last edited:

vache

Recognized Developer
Jun 12, 2009
1,137
3,696
Paris
There is no system partition to install to in TWRP. Super is listed twice. It may be nice to know what partitions listed actually mean.

It would be nice to see users searching by themself.
Google for "dynamic partitions" and "fastbootd". That could also help you to understand why omni is shipped as images for now instead of flashable zip.
 

pixlone

Member
Oct 28, 2019
10
0
You'd better check the moto edge tree : https://github.com/boulzordev/android_device_motorola_racer/tree/twrp

Unified one for trinket devices is here : https://github.com/moto-sm6xxx/android_device_motorola_sofiar/tree/twrp

Where to look at :
recovery/root/vendor/firmware - firmwares for touchscreen and vibrator
recovery/root/sbin/modules - drivers for touchscreen/battery/vibrator
recovery/root/sbin/load_ts_firmware.sh - in charge to load modules and tell touchscreen driver which firmware to load

Oh thanks, I didn't even know you had a moto edge tree. I'll take a look at it and see what I can do with it.
 

swear000

Member
Jul 29, 2012
17
2
OMNI

It would be nice to see users searching by themself.
Google for "dynamic partitions" and "fastbootd". That could also help you to understand why omni is shipped as images for now instead of flashable zip.

Most people agree OMNI is a great ROM. System, Vendor, and product are critical partitions for ROM flashing so I am surprised TWRP does not toggle them correctly.
 

Spaceminer

Senior Member
Sep 9, 2016
1,232
599
Olympus Mons
Moto E (2020)
It took some digging to figure this out, so I'm going to outline the steps for getting this installed without a boot loop.

1. Unlock your device. (I'm not holding your hand here.)
2. Reboot into fastboot.
3. Temporarily boot twrp.
4. Install magisk by flashing the latest zip from twrp. Then flash the copy partitions zip so you don't hard brick.
5. Reboot to system, and you're now rooted.
6. Reboot into recovery.
7. From stock recovery select "enter fastboot" this takes you to "fastboot d" mode.
8. Flash twrp while you're in fastbootd mode.
9. Enjoy! Everything is working perfectly. Rebooting to recovery takes you to TWRP. Rebooting to system gives you root. We also have full decryption support.
 

mattrav05

New member
May 1, 2009
4
0
It took some digging to figure this out, so I'm going to outline the steps for getting this installed without a boot loop.

1. Unlock your device. (I'm not holding your hand here.)
2. Reboot into fastboot.
3. Temporarily boot twrp.
4. Install magisk by flashing the latest zip from twrp. Then flash the copy partitions zip so you don't hard brick.
5. Reboot to system, and you're now rooted.
6. Reboot into recovery.
7. From stock recovery select "enter fastboot" this takes you to "fastboot d" mode.
8. Flash twrp while you're in fastbootd mode.
9. Enjoy! Everything is working perfectly. Rebooting to recovery takes you to TWRP. Rebooting to system gives you root. We also have full decryption support.

I'm rather new to the scene, everything you're saying here makes sense except the copypartions.zip. Is this something that is the same for all phones or is there a special file i should have for the g fast?
 

ninjakira

Senior Member
Nov 6, 2016
541
245
30
batavia, ohio
and still bootloop lmao, im doing the exact steps provided exactly as i see them on this thread, christ ill send 20 bucks through paypal to whoever makes a actual detailed guide with explanations on what to do like for example what is the copy partitions zip? whats it for? do i make a patched boot image first if im coming from full stock? do i do any of this to the other partition? treat it like your making it for noobs like christ is it that hard to help out now lmao
 

Beetle84

Recognized Contributor
Oct 24, 2013
2,371
1,378
Hervey Bay
and still bootloop lmao, im doing the exact steps provided exactly as i see them on this thread, christ ill send 20 bucks through paypal to whoever makes a actual detailed guide with explanations on what to do like for example what is the copy partitions zip? whats it for? do i make a patched boot image first if im coming from full stock? do i do any of this to the other partition? treat it like your making it for noobs like christ is it that hard to help out now lmao

If you have done an OTA update on the phone, AFAIK you don't need the copy-partitions.zip. The zip copies needed partitions from the used slot to the unused slot. So if it does change from one to another, you aren't left with a completely blank slot with nothing on it. (As i said, if you have done a OTA update, both slots will be populated, so it isn't necessary to flash the zip..)

SOMEONE SMARTER THAN ME CORRECT ME IF IM WRONG ON THE ABOVE STATEMENT PLEASE :D

So.. assuming you are on clean stock and you have done an OTA update... In fastboot:

(make sure you have a magisk.zip on your phone or sd card)

Code:
fastboot flash recovery <twrpfilename>.img

Then enter recovery mode from the bootloader menu you are still in.
Wait for twrp to load, install magisk, reboot.
Profit.
Now you are rooted, with twrp permanently installed.

p.s: Keep the 20 bucks and send it to vache ;) :silly:
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​

    Code:
    #include <std_disclaimer.h>
    /*
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */

    Install guide:

    Boot :
    Code:
    fastboot boot <twrp.img>

    Install :
    Code:
    fastboot flash recovery <twrp.img>


    Download:


    XDA:DevDB Information
    TWRP, Tool/Utility for the Moto G8

    Contributors
    vache
    Source Code: https://github.com/TeamWin/android_bootable_recovery


    Version Information
    Status:
    Beta
    Beta Release Date: 2020-08-28

    Created 2020-08-28
    Last Updated 2020-08-31
    6
    New TWRP Build :

    Updated to TWRP 3.5 sources
    Fix slot switching
    Fix sideload
    Fix touchscreen issues on some devices

    2
    It took some digging to figure this out, so I'm going to outline the steps for getting this installed without a boot loop.

    1. Unlock your device. (I'm not holding your hand here.)
    2. Reboot into fastboot.
    3. Temporarily boot twrp.
    4. Install magisk by flashing the latest zip from twrp. Then flash the copy partitions zip so you don't hard brick.
    5. Reboot to system, and you're now rooted.
    6. Reboot into recovery.
    7. From stock recovery select "enter fastboot" this takes you to "fastboot d" mode.
    8. Flash twrp while you're in fastbootd mode.
    9. Enjoy! Everything is working perfectly. Rebooting to recovery takes you to TWRP. Rebooting to system gives you root. We also have full decryption support.
    1
    Hello, I'm trying to port TWRP to the motorola edge plus and right now I'm running into an issue where my touchscreen and adb do not work. Could you publish the device tree you used here so I can take a look at it and potentially get it working on my phone?

    Thanks.

    You'd better check the moto edge tree : https://github.com/boulzordev/android_device_motorola_racer/tree/twrp

    Unified one for trinket devices is here : https://github.com/moto-sm6xxx/android_device_motorola_sofiar/tree/twrp

    Where to look at :
    recovery/root/vendor/firmware - firmwares for touchscreen and vibrator
    recovery/root/sbin/modules - drivers for touchscreen/battery/vibrator
    recovery/root/sbin/load_ts_firmware.sh - in charge to load modules and tell touchscreen driver which firmware to load
    1
    Well finally got it going so thank you @Beetle84 and @Spaceminer, sorry for sounding annoyed, just more or less pissed at myself for not understanding it , I will say trying to use a root uninstall app doesn't remove anything that came with the phone, gonna see if I can in shell

    ---------- Post added at 07:29 PM ---------- Previous post was at 07:16 PM ----------

    And as I said I would, 20 dollars (or technically 25 because the euro exchange rate so 25 usd to make 20 euro) has been sent to the dev @vache

    The system, oem, and vendor partitions are in the super partition, which is dynamic, and not writeable by the Linux kernel. Lineage OS recovery has a method for doing it though, so I'm working on making a way to do this with root. It's possible, but for the moment, improbable.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone