[RECOVERY][3.4.0-0][I001D]Official/Unofficial TWRP recovery for Rog Phone 2 (Stable)

Search This thread

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
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.
 *
 */

Features:
- TWRP boots
- Decryption works
- Otg works
- Backup/restore works
- Android 10 Support

Install guide (Reccomended):
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Run "fastboot boot recoveryimgfilename.img" in command line (if you want to have it permanently you should flash the installer)
5. If you will flash the installer and you are stock you need also to flash magisk or your phone will not boot again
6. Enjoy it:)

Other Install guide (More articulated but fully functional):
Actually this function is disable
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Run "fastboot boot recoveryimgfilename.img" in command line
5. Copy the recoveryimgfilename.img in the phone memory
6. Go in advanced menu
7. Click on "Install Recovery Ramdisk"
Screenshot-2019-04-04-17-25-43.png

8. Choose the recoveryimgfilename.img
9. Swipe to install


HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
- Disable all magisk modules;
- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;

If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.


Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

Download:
TWRP 3.4.0-0 Q Unofficial by mauronofrio
TWRP 3.4.0-0 Unofficial Installer by mauronofrio

TWRP 3.3.1-14 Pie Unofficial by mauronofrio
TWRP 3.3.1-14 Q Unofficial by mauronofrio
TWRP 3.3.1-14 Unofficial Installer by mauronofrio
TWRP 3.3.1-13 Pie Unofficial by mauronofrio
TWRP 3.3.1-13 Q Unofficial by mauronofrio
TWRP 3.3.1-13 Unofficial Installer by mauronofrio
Official Builds (The unofficial one is always more updated and more supported)
TWRP 3.3.1-5 Pie Unofficial by mauronofrio
TWRP 3.3.1-5 Q Unofficial by mauronofrio
TWRP 3.3.1-5 Unofficial Installer by mauronofrio
TWRP 3.3.1-1 Pie Unofficial by mauronofrio
TWRP 3.3.1-1 Q Unofficial by mauronofrio
TWRP 3.3.1-1 Unofficial Installer by mauronofrio
TWRP 3.3.1-0 Pie Unofficial by mauronofrio
TWRP 3.3.1-0 Q Unofficial by mauronofrio
TWRP 3.3.1-0 Unofficial Installer by mauronofrio

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:
https://github.com/mauronofrio/android_bootable_recovery
https://github.com/mauronofrio/android_device_asus_I001D_TWRP
Precompiled Stock kernel

Donations:



Credits:

Thanks to @Terminal_Heat_Sink and to @micky387 for the testing
Created 2019-12-29
 

Attachments

  • photo_2019-12-30_16-40-30.jpg
    photo_2019-12-30_16-40-30.jpg
    68 KB · Views: 4,669
  • photo_2019-12-30_16-40-27.jpg
    photo_2019-12-30_16-40-27.jpg
    77.8 KB · Views: 4,608
  • photo_2019-12-30_16-40-19.jpg
    photo_2019-12-30_16-40-19.jpg
    142.9 KB · Views: 4,534
  • photo_2019-12-30_16-40-14.jpg
    photo_2019-12-30_16-40-14.jpg
    122.9 KB · Views: 4,182
  • IMG_20191230_150914.jpg
    IMG_20191230_150914.jpg
    252.7 KB · Views: 4,043
Last edited:

blukutuxxx

Member
May 30, 2009
28
14
Q version boot to twrp but Touch screen is not working

Update: usb otg work, i can use mouse, working but not easy to press menu
 
Last edited:
  • Like
Reactions: Terminal_Heat_Sink
Dec 30, 2019
34
66
www.youtube.com
#5

Pie one boots up but screen is not working as well.
You can get around that by running the following while you are frozen on twrp home screen
Adb shell twrp sideload
Then
Adb sideload installer.zip
Then
Adb reboot recovery
Now you will be inside permanent twrp where screen still doesn't work but we need that magisk power so
Adb shell twrp sideload
Then
Adb sideload magisk.zip
And finally
Adb reboot
 

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk

Thanks, i found the problem, please try this new twrp and report the bugs. If you get problems please send always logs. If you want to speed up the TWRP building just write me privately on telegram (I have the same nick)

TWRP 3.3.1-1 Rog Phone 2 (I001D) by mauronofrio:
- Added Touchscreen firmware
- Reduced the Kernel size

TWRP 3.3.1-1 Pie Unofficial by mauronofrio
TWRP 3.3.1-1 Q Unofficial by mauronofrio
TWRP 3.3.1-1 Unofficial Installer by mauronofrio
 
Last edited:

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk

ased10

Member
Sep 4, 2010
46
10
TWRP 3.3.1-5 Rog Phone 2 (I001D) by mauronofrio:
- Fixed Touchscreen
- Fixed OTG
- All is working

TWRP 3.3.1-5 Pie Unofficial by mauronofrio
TWRP 3.3.1-5 Q Unofficial by mauronofrio
TWRP 3.3.1-5 Unofficial Installer by mauronofrio

P.s. to flash the installer for the first time you have to use a usb-otg or adb sideload, because when you boot the twrp from fastboot

Thanks to @Terminal_Heat_Sink and to @micky387 for the testing

Hi mauronofrio TWRP is asking for a Decypt password do you what it is, thank you
 
Last edited:

Nyuha

Member
Apr 7, 2017
24
2
Just flashed 3.3.1-1 still no touchscreen support gotta use a mouse.

EDIT: 3.3.1-5 touchscreen working ty!
 
Last edited:
  • Like
Reactions: mauronofrio

Sk1t

Senior Member
Dec 4, 2019
76
11
the UI is a bit glitchy for me especially the progress bar. Everything else seem to work just fine :)
 

a5he

New member
Dec 25, 2019
4
1
can I use this recovery to flash the we version of Android 10? My phone is a cn version.
 

Sk1t

Senior Member
Dec 4, 2019
76
11
The ui is glitchy because the twrp foesn't support 120hz i think, in all cases i will check better

The version from wzsx150 doesn't have this glitch. I'm not sure if their sources are public but I've been using that one before this.

I personally would not mind capping it to 60hz or even 30hz if that means that glitch is gone. Anyhow great work :)

---------- Post added at 06:18 PM ---------- Previous post was at 06:16 PM ----------

can I use this recovery to flash the we version of Android 10? My phone is a cn version.

I don't think so, 9 and 10's TWRP don't play well with each other.

https://xdaforums.com/rog-phone-2/how-to/rog2-android10-twrp-wzsx150-t4027313

This thread has a TWRP from another dev that supposedly supports 10.
 

Top Liked Posts