how to root asusrog phone - Asus ROG Phone Questions & Answers

plz help

summary!!
1. Downloads your computer.
- Minimal ADB and Fastboot, magisk
https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
- firmware (Version WW-15.1618.1810.77), bootloader unlock tool
https://www.asus.com/us/Phone/ROG-Phone/HelpDesk_Download/
- twrp, boot.img
https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
2. https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
>> Proceed to Unlock Boot Loader.
3. reboot >> recovery mode (power + vol down) >> sideload
===========================
adb sideload firmware.zip
============================
4. reboot >> fastboot (power + vol up)
===========================
fastboot devices
fastboot flash boot boot.img
fastboot flash boot TWRP.img
============================
5. reboot >> twrp recovery mode (power + vol down)
format data >> reboot >> twrp recovery
6. install magisk.zip
========================
ex) /data/media/0/download/magisk.zip
========================
7. reboot & magisk.apk install
8. enjoy

cloneeye said:
1. Downloads your computer.
- Minimal ADB and Fastboot, magisk
https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
- firmware (Version WW-15.1618.1810.77), bootloader unlock tool
https://www.asus.com/us/Phone/ROG-Phone/HelpDesk_Download/
- twrp, boot.img
https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
2. https://forum.xda-developers.com/rog-phone/development/twrp-build-shakalaca-t3877053
>> Proceed to Unlock Boot Loader.
3. reboot >> recovery mode (power + vol down) >> sideload
===========================
adb sideload firmware.zip
============================
4. reboot >> fastboot (power + vol up)
===========================
fastboot devices
fastboot flash boot boot.img
fastboot flash boot TWRP.img
============================
5. reboot >> twrp recovery mode (power + vol down)
format data >> reboot >> twrp recovery
6. install magisk.zip
========================
ex) /data/media/0/download/magisk.zip
========================
7. reboot & magisk.apk install
8. enjoy
Click to expand...
Click to collapse
Has anyone tested this on the release of Pie??

sysopkotton said:
Has anyone tested this on the release of Pie??
Click to expand...
Click to collapse
It has and works, but the TWRP is dependant on the firmware version. The next time there is an update, you'll have to wait for someone to make a new TWRP to apply the update. The other method doesn't have this issue.

Tesla74 said:
It has and works, but the TWRP is dependant on the firmware version. The next time there is an update, you'll have to wait for someone to make a new TWRP to apply the update. The other method doesn't have this issue.
Click to expand...
Click to collapse
Okay got it, Thanks! What is the other method?

sysopkotton said:
Okay got it, Thanks! What is the other method?
Click to expand...
Click to collapse
https://forum.xda-developers.com/rog-phone/how-to/guide-root-t3865490

Related

CyanogenMod 12.1 instlation fail Xperia Z2 (Sirius) D6503 (where did it go wrong?)

CyanogenMod 12.1 instlation fail Xperia Z2 (Sirius) D6503 (where did it go wrong?)
1) i'm on stock lollipop 5.0.2 (23.1.A.1.28)
2) rooted with KingRoot
3) installed recovery ( Z2-lockeddualrecovery2.8.21 )
4)from TWRP recovery >> factory reset >> tried to flash cm-12.1-20150916-NIGHTLY-sirius.zip >>> FAILED >> WIPE (data+dalvik cache+cache ) >> flash cm-12.1-20150916-NIGHTLY-sirius.zip >>> SUCCESS
5)flashed stock Gapps >>> SUCCESS
6) Reboot >> phone is dead (when i press the power button i feel a small vibration and the LED flash Red twice ) nothing more .
PS
i tried flashing cm-12.1-20150916-NIGHTLY-sirius-recovery.img
using the flash tool (phone is rooted & on debug mode ) >>> Failed >> so i used the Z2 dual recovery
where did it go wrong ??
Is your bootloader unlocked? If not, you must unlock it, because cm based roms need a custom kernel.
If yes, try the following:
1. Download latest TWRP recovery.img
2. unpack the boot.img from your cm-12.1-20150916-NIGHTLY-sirius.zip
3. bring your phone into fastboot mode (shut down, hold volume up and plug in usb)
4. fastboot flash boot boot.img (the boot.img you just unpacked)
5. fastboot flash recovery twrp.img
6. fastboot reboot
7. Go to recovery (press volumebuttons when LED is flashing pink)
8. Do a full wipe and flash cm-12.1-20150916-NIGHTLY-sirius.zip
Attention: Don't download latest build, just stay on 20150916, cause later builds don't work cause of random reboots.
thanks for your great help.
i found out that i have to unlock my bootloader 1st >> so i did http://developer.sonymobile.com/unlockbootloader/
now all works fine

Rollback To Stock ROM (Huawei GR5 mini/P9 lite) / Relock your bootloader

Rollback to EMUI 4.1.2 in Huawei GR5 mini / P9 lite using dload OR relock your bootloader​
If you flashed a custom rom and want to rollback to original firmware then here you are.
You need to have stock firmware and stock recovery first.For them visit the links below:
-Stock Firmware: http://consumer.huawei.com/np/support/downloads/detail/index.htm?id=94462
-Stock Recovery: https://mega.nz/#!5OQF0CjK
Now follow these steps carefully:
At first extract the GR5 firmware zip file that you downloaded from above link.Create a dload folder in your SDcard and put the update.app file in it.
-You need to have adb in your pc:
Get it here : https://mega.nz/#!pfplUJ5J
Download and extract it.
Note::If you have a custom rom in your device and TWRP recovery flashed then it will probably be better if you wipe the system partition.You can do it by going to wipe tab in TWRP.If you need TWRP then go to: https://mega.nz/#!tLAUEDqI
-Go to the adb folder.Press shift and do a right click.Select Open command window here.
-Connect your device to the pc and type:
Code:
adb reboot bootloader
This will boot your device into fastboot.
-Now flash your stock recovery:
Code:
fastboot flash recovery RECOVERY.img
-Reboot to bootloader
Code:
fastboot reboot-bootloader
-Now disconnect your device from pc and long press power button.It will boot again to erecovery.Now select Shutdown .
-After your device shuts down press and hold all three buttons : Power + Vol Down + Vol Up together.This will make your device do a forced update.It may take some time to boot to recovery from bootloader.So wait patiently.
-Let your device update.After your device is updated do a Factory Reset
-Now you will boot to your Stock rom with bootloader relocked.Congrats
Doing this will relock your bootloader.If you want to unlock it again Visit:
https://forum.xda-developers.com/android/help/how-to-unlock-bootloader-flash-twrp-t3590213/post71876736#post71876736
hey dude what is the decryption key in mega link for stock recovery ? Please i need it now and it works on emui 5.0 ?

mi pad 3 no more recovery

hello
i tried to install twrp but the swipe didn't work
so i tried to install an older version
but now when i reboot twrp do not appear
and i have no more than 800mo memory available
i can't hard reset
what can i do ?
noogpout said:
hello
i tried to install twrp but the swipe didn't work
so i tried to install an older version
but now when i reboot twrp do not appear
and i have no more than 800mo memory available
i can't hard reset
what can i do ?
Click to expand...
Click to collapse
Flash recovery from CMD !
AbhaYsinGH007 said:
Flash recovery from CMD !
Click to expand...
Click to collapse
how can i flash recovery from cmd ?
where can i download the file ?
noogpout said:
how can i flash recovery from cmd ?
where can i download the file ?
Click to expand...
Click to collapse
Xiaomi.eu -> https://xiaomi.eu/community/threads/twrp-for-mi-pad-3.39743/
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
noogpout said:
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
Click to expand...
Click to collapse
That could be a bug !
noogpout said:
i follow the thread you mention
i can launch twrp but swipe do not work, i have now an otg cable but mouse is not recognized
so i don't know how to flash the rom
Click to expand...
Click to collapse
I find that hard to believe. Did you follow post #10? At your own risk, of course.
Guys, I did it!
I had no problems with the touchscreen, so there was nothing to solve for me. My Bootloader was also unlocked already.
Here is everything I did (be careful, this deletes all your data!):
Boot into fastboot (Volume down+ Power on, hold the Volume down-Key until fastboot loads)
Code:
fastboot -w
fastboot erase system
fastboot format system
fastboot flash recovery twrp.img
Boot into TWRP (Volume up + Power on, hold the Volume up-Key until TWRP boots)
WIPE -> Data -> Repair or Change File System -> Resize File System
Flash xiaomi.eu-zip normally (hopefully) enjoy!
Click to expand...
Click to collapse
Read the entire thread
yes i read the entire thread, i executed all the flashboot command but my rom was a global one not chinese, so the touch screen does not work in twrp.
Actually i downloaded a rom here : https://drive.google.com/uc?id=0B023gSzruW0aLV9ZRG1pdHpqd3c&export=download
then in fast boot mode i executed this command : ./flash_all.sh
but at the end i have this error : finished. total time: 10.194s
error: cannot load './images/cust.img'
i cannot boot to miui but now i have MI Recovery instead of TWRP
noogpout said:
yes i read the entire thread, i executed all the flashboot command but my rom was a global one not chinese, so the touch screen does not work in twrp.
Actually i downloaded a rom here : https://drive.google.com/uc?id=0B023gSzruW0aLV9ZRG1pdHpqd3c&export=download
then in fast boot mode i executed this command : ./flash_all.sh
but at the end i have this error : finished. total time: 10.194s
error: cannot load './images/cust.img'
i cannot boot to miui but now i have MI Recovery instead of TWRP
Click to expand...
Click to collapse
Why would you execute "./flash_all.sh". Did you try the methods mentioned on page 2 in the thread?
You need to know your commands.
Do you have ADB drivers installed?
Palm Trees said:
Why would you execute "./flash_all.sh". Did you try the methods mentioned on page 2 in the thread?
You need to know your commands.
Do you have ADB drivers installed?
Click to expand...
Click to collapse
yes i know the command : ./flash_all is a script in the archive : cappu_images_7.5.11_20170514.0000.00_7.0_global_xiaomi.eu.zip
i have already tested the commands in the page 2 :
fastboot -w
fastboot erase system
fastboot format system
fastboot flash recovery twrp.img
twrp is ok but i cannot swipe, because the touch screen is not enabled
so i cannot pass the step :
10. WIPE -> Data -> Repair or Change File System -> Resize File System
it's ok i commented the following lines in the script :
fastboot $* flash cust `dirname $0`/images/cust.img
if [ $? -ne 0 ] ; then echo "Flash cust error"; exit 1; fi
so the script can continue and after the boot is ok, MIUI start

[ROM][7.0] Maze Alpha V05_20170816 [STOCK]

Maze has finally published the Alpha Stock-Rom.
Download Link: https://goo.gl/9kCJiv :fingers-crossed:
The system.img file is incorrectly downloaded as a system 002.img file. It must be renamed. And then copy it to the folder "3. Maze_Alpha_V05_20170816 Official ROM".
Thanks!
Hope anyone can root this phone.
Hi!
I am in need of a new phone, and this one looks quite good at the price.. But what do you think can i expect from custom ROM scene here for it? I am a Xiaomi Fan, and my Mi4 was and is one of the best supported phones still. Do you think there will be a subforum for this device, custom ROMs (preferreable Lineage OS, or other close to AOSP ROMs? OFC nobody can know now, i understand, but what tells your experience of other new phones from new companys? It has created quite a buzz, so i think there will be a demand for sure..
Just am 2 afraid to get a phone without good custom ROM. Never had an Android in last 5 years with stock ROM. Total nightmare for me now to have to go back.
Root + TWRP 3.2.1
3 Methods to root MAZE Alpha
Note: Method II is the most universal and must works with almost any official ROM
I- Method 1 : flashing modified Magisk boot.img
1. make sure to have already installed the version 20170816
2. reboot the phone in fastboot mode (phone off -> Vol Up + Power or "adb reboot bootloader")
3. unlock the bootloader if not already done : fastboot flashing unlock (if not works, in android development setting set the unlock bootloader and then retry)
4. unzip and then flash the attached boot image : fastboot flash boot new-boot.img
5. reboot your phone: fastboot reboot
6. install the MagiskManager apk v14
7. Voila
I have used this Magisk guide to create it
I used old manual guide :
Code:
adb shell "rm -rf /data/local/tmp/*"
adb push META-INF/com/google/android/update-binary common magisk_inject boot.img /data/local/tmp
adb shell "cd /data/local/tmp/magisk_inject; mv ../common/* .; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox"
adb pull /data/local/tmp/magisk_inject/new-boot.img
adb shell "rm -rf /data/local/tmp/*"
II- Method 2 : using TWRP and Magisk.zip (External SDCARD or USB OTG cable needed)
1. reboot int bootloader mode : adb reboot bootloader
2. unzip and flash the the attached TWRP recovery : fastboot flash recovery recovery_maze_alpha_4G_twrp-321.img
3. In TWRP choose first "change language" then press the "cancel" button while asking you for decryption password for data
4. In your PC download the Magisk-v15.3.zip and put it in a USB key, or an SDCARD
5. Use an usb otg cable to connect the USB key to your phone running TWRP and install the Magisk-v14.zip from Usb-otg (or SDCARD)
6. bonus: do a complete backup of your phone : all partitions except cache and data to your Usb-otg (or SDCARD)
7. reboot and install the MagiskManager apk v14
III- Method 3 : using the phhusson modified boot image
1- flash the attached boot image, using fasboot (fastboot flash boot boot-super-bootimg-output-su-eng-r318.img) or SPFlashTools using the attached scatter, if you do not want to unlock your bootloader
2- reboot to Android then install from google play the phhsusson superuser
3- Voila
Important Notes:
1- In all case you can use SPFlashTools to flash boot image without unlocking bootloader.
2- windows SPFlashTools users : phone off, press VOL+ and connect it to your PC (running SPFlashTool and waiting for phone connetion)
3- linux SPFlashTools users : phone off and connected to PC , press VOL+ and POWER while your PC is running SPFlashTool (with sudo) and waiting for phone connetion.
Some useful tips
1- manual install of busybox :
a- root you phone with method II if not already done
b- stay in TWRP (or boot TWRP as in method II) then in advance->sideload slide the slider to confirm and after cancel that (we will not sideloading any thing, just to activate adb)
c- unzip and copy the attached busybox : adb push busybox /external_sd/
d- mount the system partition with the TWRP mount button
e- copy the busybox binary to /system/xbin : adb shell --> cp /external_sd/busybox /system/xbin/
f- make executable busybox and create links (the point at the end is a part of the command) : cd /system/xbin/; chmod 755 busybox; ./busybox --install -s .
g- umount the system partition in TWRP and reboot
2- manually install the OTA update.zip :
a- Google and download those 3 tools BlockImageUpdate, simg2img and img2simg.
b- In a terminal of your Linux PC do :
Code:
simg2img system.img system.raw.img # convert the sparse image to a normal raw (ext4) image
BlockImageUpdate system.raw.img system.transfer.list system.new.dat system.patch.dat # patch the newly created raw image
img2simg system.raw.img system.img # convert the patched raw image to a flashable sparse image
- system.img: you old system image (from 20170816 official rom)
- system.transfer.list, system.new.dat and system.patch.dat : inside the OTA update.zip
c- After that the original system.img will be patched and you will have an updated system.img.
d- Flash this patched system.img and also all .bin and .img files inside the update.zip (just replace old ones in the original 20170816 rom by those) and you will have the new official rom
3- Using supersu as root manager :
The last update at this time of supersu zip (2.82 SR5) works well, even it cannot update the su binary.
Credits to Magisk Devs, Phhusson and Jemmini
dreambo said:
Here how to root this phone.
1. make sure to have already installed the version 20170816
2. reboot the phone in fastboot mode (phone off -> Vol Up + Power or "adb reboot bootloader")
3. unlock the bootloader if not already done : fastboot flashing unlock (if not works, in android development setting set the unlock bootloader and then retry)
4. unzip and then flash the attached boot image : fastboot flash boot new-boot.img
5. reboot your phone: fastboot reboot
6. install the MagiskManager apk v13.6
7. Voila
I have used this Magisk guide to create it
Credits to Magisk Devs.
Click to expand...
Click to collapse
If I root my phone with this method, will I get further OTA Updates from Maze?
Following to see where this goes.
Cheers
CrashCrash123 said:
If I root my phone with this method, will I get further OTA Updates from Maze?
Click to expand...
Click to collapse
Yes.
You will only lost the root.
If the new update have the same kernel, the same methode with the same boot image can be used to root it again, othewise, we can follow the Magisk guide to create a new one.
I have tried this method. But it only works until the reboot. Then the root access is gone again.
SomeOneX said:
I have tried this method. But it only works until the reboot. Then the root access is gone again.
Click to expand...
Click to collapse
The root is permanent.
If you lost it, perhaps the first time we unlock the bootloader, the phone do a reset, and we lost the root (I suppose).
Just re-flash the new boot again, and it will be permanent : fastboot flash boot new-boot.img
Hi . I have locked the OEM lock but I can not install it through fastboot (remote: not allowed in lock state)
can we expect VOLTE on this device ?
and is there any chance of custom rom development for this device?
alfymon22 said:
can we expect VOLTE on this device ?
and is there any chance of custom rom development for this device?
Click to expand...
Click to collapse
It seems (take with a pinch of salt) that VoLTE is supported, but then most sites that announce that also make mistakes on other specs, so...)
As for custom ROMs, so far the square root of bugger all, but the consumer phones are just filtering in, so give it time.
dreambo said:
Here how to root this phone.
1. make sure to have already installed the version 20170816
2. reboot the phone in fastboot mode (phone off -> Vol Up + Power or "adb reboot bootloader")
3. unlock the bootloader if not already done : fastboot flashing unlock (if not works, in android development setting set the unlock bootloader and then retry)
4. unzip and then flash the attached boot image : fastboot flash boot new-boot.img
5. reboot your phone: fastboot reboot
6. install the MagiskManager apk v13.6
7. Voila
I have used this Magisk guide to create it
Credits to Magisk Devs.
Click to expand...
Click to collapse
it worked, but i have cts fail on safetynet check. how you fixed this?
PrimateaEu said:
it worked, but i have cts fail on safetynet check. how you fixed this?
Click to expand...
Click to collapse
install the universal safety net fix
Hey guys, does this root method wipe the data partition?
KilljoyTDA said:
Hey guys, does this root method wipe the data partition?
Click to expand...
Click to collapse
The flash of the boot image does not wipe the data, but unlocking the bootloader reset the phone and wipe the data.
If you phone is already unlocked, you will not loss the data, otherwise do a backup before.
Well, I don't remember unlocking it, unless Kingo's windows app does it without telling even when rooting fails, so I guess I'd better back up.
Thanks for the info
KilljoyTDA said:
Well, I don't remember unlocking it, unless Kingo's windows app does it without telling even when rooting fails, so I guess I'd better back up.
Thanks for the info
Click to expand...
Click to collapse
It is easy to know if your phone is locked or not : enter fastboot mode and then do : "fastboot getvar all".
Read the last lines of the output and you will know.
Thank you @dreambo for this method, but for me "fastboot flashing unlock" not work, "fastboot oem unlock" working for me, all ok
ps:excusez moi pour mon anglais
dreambo said:
It is easy to know if your phone is locked or not : enter fastboot mode and then do : "fastboot getvar all".
Read the last lines of the output and you will know.
Click to expand...
Click to collapse
Well I failed to back up for some reason anyways, so since I had almost nothing vital on the internal memory, I rooted (sucessfully) and now I'm reinstalling/reconfiguring my apps. Thanks anyways

[GUIDE] How to flash GSI roms on the Mi 9

Hello. In this guide i will show you step by step on how to flash GSI roms on our beloved Mi 9.
I AM NOT RESPONSIBLE FOR BRICKING YOUR DEVICE. PROCEED WITH OWN RISK.
Things you'll need:
- a PC
- a Mi 9 with bootloader unlocked
- MIUI 10 (for android 9 gsi's)/MIUI 12 (for android 10 gsi's) OR MIUI 12.5 (for android 11 and newer gsi's), recomended to download from https://xiaomifirmwareupdater.com/
- TWRP, vbmeta.img and disable-dm-verity.zip (TWRP can be obtained on theirs website, the other files are in this post. NOTE: I AM NOT THE CREATOR OF ANY OF THESE.)
- MiFlash app
- minimal adb and fastboot installed (recomended to use this)
- a A/B GSI of your choice (must be a .img file)
1st STEP - FLASHING STOCK ROM
(if you already have the stock rom then skip this)
1. Extract the archive downloaded earlier (i prefer doing it with 7-zip as its easy)
2. Open MiFlash and select the ROM, then click on "clear all" (to leave the bootloader unlocked).
3. Enter fastboot mode by holding vol down + power button and plug in the phone to your PC.
4. Click "refresh" on MiFlash, make sure your device is detected and click flash!
2nd STEP - PREPARATION
1. Boot into fastboot mode and plug in the phone to your PC.
2. Flash TWRP recovery.
Code:
fastboot flash recovery twrp.img
3. Flash the vbmeta image.
Code:
fastboot flash vbmeta vbmeta.img
4. Reboot into TWRP by holding vol up + power button.
5. In TWRP, wipe system, cache, dalvik cache and data.
LAST STEP - FLASHING
1. Reboot into fastboot from TWRP or by holding vol down + power button.
2. Flash the GSI image.
Code:
fastboot flash system system.img
NOTE: Some GSI'S may not flash as they are bigger than the system partiton. The system partition can be resized but i won't cover it in this tutorial.
3. Reboot into TWRP again.
4. In TWRP, install the disable-dm-verity.zip.
5. To make sure everything will be okay, wipe cache and dalvik cache, then FORMAT (format, not wipe) data.
6. Reboot into system
ENJOY THE GSI!
(sorry if i made any spelling mistakes lol)

Categories

Resources