Related
(STEP 1 GOLDCARD)
Finaly i done it all phew i had a really long day learning yesterday from the start i was on the tmobile latest rom RUU_Hero_TMobile_UK_2.73.110.26_release_signed_NoDriver.exe
I figured out the goldcard soulotion http://forum.xda-developers.com/showthread.php?t=572683
Great video guide here http://theunlockr.com/2009/10/18/how-to-downgrade-your-htc-hero-so-it-can-be-rooted/
01. Download QMAT 5.06 here http://revskills.de/downloads/qmat_506.zip
It’s a demo version so will only run for 10 minutes.
02. Format your SD card to FAT32. Please keep in mind some brands of SD cards do not work. Note sd card must be in phone here
03. Use adb to run this command: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid
04. Copy the SD card cid code displayed after the adb command.
05. Start Qmat and Click on Cyptoanalysis Tools > Crypto Toolbox.
06. Look at the bottom, there is a text box (beside the “Reverse String” button) enter the SD card cid code you got earlier.
Click on the “Reverse String” button, the result is reversed…
Example: 532600bd227d9c0347329407514d5402
07. Copy the reversed SD card cid code.
08. Go to QMAT goldcard site here http://revskills.de/pages/goldcard.html to generate your goldcard (yes it says for G1 but works for our Hero too).
09. Enter your email. For the correct SD card cid code, you need to replace the first 2 characters to 00.
Example: From “532600bd227d9c0347329407514d5402” to “002600bd227d9c0347329407514d5402”
10. Click Continue and you will receive the goldcard.img in .zip format in your email.
11. Go to your email, download the zip file and save it to a directory and unzip it to goldcard.img
12. Download HxD Hex Editor from here http://download.cnet.com/HxD-Hex-Editor/30....html?tag=mncol
13. Install and launch HxD Hex Editor program. Note SD Card has to be in your pc or reader here at this point NOTE ALSO (run the editor as administrator in order for it to appear)
14. Go to Extra tab > Open Disk. Under Physical disk, select Removable Disk (Must be your SD card), uncheck “Open as Readonly), click OK.
15. Go to Extra again, Open Disk Image, open up goldcard.img which you’ve saved/unzipped earlier.
Now, you should have two tabs, one is your removable disk, the other is goldcard.img. Press OK when prompted for “Sector Size” 512 (Hard disks/Floppy disks), click OK.
16. Click on goldcard.img tab. Go to Edit tab > Select All, edit tab again > copy.
17. Click on the “removable disk” tab. Select offset 00000000 till offset 00000170 (including the 00000170 line), click on Edit tab and then Paste Write.
18. Click on File > Save. now you can exit the program.
19. Reboot your phone with this SD Card (now GoldCard) inside
20. Use the Official HTC RUU to downgrade to 2.73.405.5 here ftp://xda:[email protected]/Hero...ed_NoDriver.exe
from which you can fastboot boot and/or root your phone with flashrec Here http://forum.xda-developers.com/showthread.php?t=559613 (Please see guide below for this)
Done.
(STEP 2 recovery)
You need to install this recovery first with flashrec instructions below
You can use flashrec to flash the patched recovery, from where you can do all the usual stuff (and even put the old hboot back on if you want!)
Notice:
flashrec is using an exploit that isn't patched yet in the current kernel used by HTC, however if/when HTC patches this, flashrec will stop working.
So for now it's ok but a next version might have patched this, so keep this in mind !
Quick Howto:
1. On your phone, goto Settings, Applications, and make sure Unknown source is checked ON.
2. On your phone, goto Settings, SD card and phone storage, and click Unmount SD card.
3. Then click Format SD card (it should automatically remount after this).
4. Plug the phone into the compuer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
5. Download this APK and recovery image and save it to your computer:
flashrec-20090815.apk
Cyanogen’s / Modaco Hero Recovery Image
Update: updated flashrec here
6. Extract the cm-hero-recovery.img out of the MoDaCoPatchedRecovery-1.0.zip and put it somewhere on your computer.
7. Save both the cm-hero-recovery.img and the flashrec-20090815.apk to your computer, then copy them both to your SD card
(do NOT put them inside any folders on the SD card, just put them in the root of the SD card itself).
8. Unplug the phone from the computer once they are downloaded to the SD card.
9. Goto the Market and download Linda File Manager or any file manager program if you do not already have one.
10. Open the file manager and goto SDCard and then find the flashrec-20090815.apk file and click on it.
If asked, tell it to use Package Installer to open it. It should automatically install the apk.
11. Open the FlashRec program and click on Backup Recovery Image and wait for it to finish.
12. Once done, click on the empty text box in the FlashRec program and type:
sdcard/cm-hero-recovery.img
Then click on the Flash Custom Recovery Image button and wait for it to finish.
13. Turn off the phone and turn it on into Recovery mode by holding down Home and Power to turn it on
(keep holding until the recovery screen comes up has a bunch of text on a black background).
As long as that screen comes up, you have done it correctly and can now go and load other ROM/hboot/whatever.
THIS IS OPTIONAL RECOVERY BELOW BETTER OPTIONS BUT YOU NEED THE ABOVE RECOVERY FIRST
I then flashed the new recovery-RA-HERO-v1.2.3 Great Video guide here http://theunlockr.com/2009/10/15/how-to-flash-a-new-recovery-image-if-you-are-already-rooted/
http://forum.xda-developers.com/showthread.php?t=561124
There are several ways to install a custom recovery, choose the one that suits you most
via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
Code:
Copy recovery-RA-HERO-v1.2.3.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img
(STEP 3 INSTALL CUSTOM ROM)
Then i installed the cool modaco custom rom v2.8 to my phone http://android.modaco.com/content/htc-hero...com/292018/xda/
Great Video guide here http://theunlockr.com/2009/08/27/how-to-load-a-custom-rom-on-your-htc-hero/
Also dont forget to upgrade your radio here http://android.modaco.com/content/htc-hero...ate-zip-format/
Download the latest one normally on the top to install rename the zip to Update put on root of SD card and boot into recovery and install update.zip option easy as that.
STEP 4 PARTITION SD CARD)
Then finaly i partioned my sd card using the recovery imiage with thease commands directly from the phone in recovery.
I ran the following commands in this order from recvoery mode:
- Wipe data + cache (factory reset)
- Wipe ext partition on SD-card
- Wipe Dalvik-cache on SD-card (NOT on /data !) [email protected] ALWAYS WORK
- Partition SD-card : 500MB Ext2, 32MB Swap, remaining Fat32
- Convert ext2 to ext3
- Installed ROM
ANOTHER GREAT GUIDE HERE FOR WINDOWS TERMINAL USERS http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
what a nice day and now i have a super hero
PS ANY QUESTIONS I WOULD BE GLAD TO HELP WITH ANY PROBLEMS THATS WHAT I AM HERE FOR THANKS.
Mods if you think this is usefull for noobs then you may sticky if you want thanks to all.
If anyone wants to add anything or finds something wrong with the guide please let me know so i can edit it thanks to all that made this possible.
hi, i got an error 170 when trying to do step 20 in section 1(downgrade rom)!
GaRd3NiA said:
hi, i got an error 170 when trying to do step 20 in section 1(downgrade rom)!
Click to expand...
Click to collapse
you could have not done the steps corectly my advice is to start again from the start.
What is the point of this gold card process? Noobish question i am sure just i have a rooted phone already so will this give me anything additonal guys? Ta
MojUk said:
What is the point of this gold card process? Noobish question i am sure just i have a rooted phone already so will this give me anything additonal guys? Ta
Click to expand...
Click to collapse
the point of this is for users that upgraded to the new rom and can't downgrade back and updated there hboots u need the goldcard the rest is all optional hence the road to freedom for your hero.
need help
hi. is this procedure it will work with Htc Hero from Hong Kong? i was trying several procedures founded on google, but no one worked.
QMAT 5.06 link has changed
https://ssl.webpack.de/revskills.de/pages/download.html
HTC Hero problems after gold card procedeure
jutley said:
(STEP 1 GOLDCARD)
Finaly i done it all phew i had a really long day learning yesterday from the start i was on the tmobile latest rom RUU_Hero_TMobile_UK_2.73.110.26_release_signed_NoDriver.exe
I figured out the goldcard soulotion http://forum.xda-developers.com/showthread.php?t=572683
Great video guide here http://theunlockr.com/2009/10/18/how-to-downgrade-your-htc-hero-so-it-can-be-rooted/
01. Download QMAT 5.06 here http://revskills.de/downloads/qmat_506.zip
It’s a demo version so will only run for 10 minutes.
02. Format your SD card to FAT32. Please keep in mind some brands of SD cards do not work. Note sd card must be in phone here
03. Use adb to run this command: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid
04. Copy the SD card cid code displayed after the adb command.
05. Start Qmat and Click on Cyptoanalysis Tools > Crypto Toolbox.
06. Look at the bottom, there is a text box (beside the “Reverse String” button) enter the SD card cid code you got earlier.
Click on the “Reverse String” button, the result is reversed…
Example: 532600bd227d9c0347329407514d5402
07. Copy the reversed SD card cid code.
08. Go to QMAT goldcard site here http://revskills.de/pages/goldcard.html to generate your goldcard (yes it says for G1 but works for our Hero too).
09. Enter your email. For the correct SD card cid code, you need to replace the first 2 characters to 00.
Example: From “532600bd227d9c0347329407514d5402” to “002600bd227d9c0347329407514d5402”
10. Click Continue and you will receive the goldcard.img in .zip format in your email.
11. Go to your email, download the zip file and save it to a directory and unzip it to goldcard.img
12. Download HxD Hex Editor from here http://download.cnet.com/HxD-Hex-Editor/30....html?tag=mncol
13. Install and launch HxD Hex Editor program. Note SD Card has to be in your pc or reader here at this point NOTE ALSO (run the editor as administrator in order for it to appear)
14. Go to Extra tab > Open Disk. Under Physical disk, select Removable Disk (Must be your SD card), uncheck “Open as Readonly), click OK.
15. Go to Extra again, Open Disk Image, open up goldcard.img which you’ve saved/unzipped earlier.
Now, you should have two tabs, one is your removable disk, the other is goldcard.img. Press OK when prompted for “Sector Size” 512 (Hard disks/Floppy disks), click OK.
16. Click on goldcard.img tab. Go to Edit tab > Select All, edit tab again > copy.
17. Click on the “removable disk” tab. Select offset 00000000 till offset 00000170 (including the 00000170 line), click on Edit tab and then Paste Write.
18. Click on File > Save. now you can exit the program.
19. Reboot your phone with this SD Card (now GoldCard) inside
20. Use the Official HTC RUU to downgrade to 2.73.405.5 here ftp://xda:[email protected]/Hero...ed_NoDriver.exe
from which you can fastboot boot and/or root your phone with flashrec Here http://forum.xda-developers.com/showthread.php?t=559613 (Please see guide below for this)
Done.
(STEP 2 recovery)
You need to install this recovery first with flashrec instructions below
You can use flashrec to flash the patched recovery, from where you can do all the usual stuff (and even put the old hboot back on if you want!)
Notice:
flashrec is using an exploit that isn't patched yet in the current kernel used by HTC, however if/when HTC patches this, flashrec will stop working.
So for now it's ok but a next version might have patched this, so keep this in mind !
Quick Howto:
1. On your phone, goto Settings, Applications, and make sure Unknown source is checked ON.
2. On your phone, goto Settings, SD card and phone storage, and click Unmount SD card.
3. Then click Format SD card (it should automatically remount after this).
4. Plug the phone into the compuer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
5. Download this APK and recovery image and save it to your computer:
flashrec-20090815.apk
Cyanogen’s / Modaco Hero Recovery Image
Update: updated flashrec here
6. Extract the cm-hero-recovery.img out of the MoDaCoPatchedRecovery-1.0.zip and put it somewhere on your computer.
7. Save both the cm-hero-recovery.img and the flashrec-20090815.apk to your computer, then copy them both to your SD card
(do NOT put them inside any folders on the SD card, just put them in the root of the SD card itself).
8. Unplug the phone from the computer once they are downloaded to the SD card.
9. Goto the Market and download Linda File Manager or any file manager program if you do not already have one.
10. Open the file manager and goto SDCard and then find the flashrec-20090815.apk file and click on it.
If asked, tell it to use Package Installer to open it. It should automatically install the apk.
11. Open the FlashRec program and click on Backup Recovery Image and wait for it to finish.
12. Once done, click on the empty text box in the FlashRec program and type:
sdcard/cm-hero-recovery.img
Then click on the Flash Custom Recovery Image button and wait for it to finish.
13. Turn off the phone and turn it on into Recovery mode by holding down Home and Power to turn it on
(keep holding until the recovery screen comes up has a bunch of text on a black background).
As long as that screen comes up, you have done it correctly and can now go and load other ROM/hboot/whatever.
THIS IS OPTIONAL RECOVERY BELOW BETTER OPTIONS BUT YOU NEED THE ABOVE RECOVERY FIRST
I then flashed the new recovery-RA-HERO-v1.2.3 Great Video guide here http://theunlockr.com/2009/10/15/how-to-flash-a-new-recovery-image-if-you-are-already-rooted/
http://forum.xda-developers.com/showthread.php?t=561124
There are several ways to install a custom recovery, choose the one that suits you most
via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
Code:
Copy recovery-RA-HERO-v1.2.3.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img
(STEP 3 INSTALL CUSTOM ROM)
Then i installed the cool modaco custom rom v2.8 to my phone http://android.modaco.com/content/htc-hero...com/292018/xda/
Great Video guide here http://theunlockr.com/2009/08/27/how-to-load-a-custom-rom-on-your-htc-hero/
Also dont forget to upgrade your radio here http://android.modaco.com/content/htc-hero...ate-zip-format/
Download the latest one normally on the top to install rename the zip to Update put on root of SD card and boot into recovery and install update.zip option easy as that.
STEP 4 PARTITION SD CARD)
Then finaly i partioned my sd card using the recovery imiage with thease commands directly from the phone in recovery.
I ran the following commands in this order from recvoery mode:
- Wipe data + cache (factory reset)
- Wipe ext partition on SD-card
- Wipe Dalvik-cache on SD-card (NOT on /data !) [email protected] ALWAYS WORK
- Partition SD-card : 500MB Ext2, 32MB Swap, remaining Fat32
- Convert ext2 to ext3
- Installed ROM
ANOTHER GREAT GUIDE HERE FOR WINDOWS TERMINAL USERS http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
what a nice day and now i have a super hero
PS ANY QUESTIONS I WOULD BE GLAD TO HELP WITH ANY PROBLEMS THATS WHAT I AM HERE FOR THANKS.
Mods if you think this is usefull for noobs then you may sticky if you want thanks to all.
Click to expand...
Click to collapse
hi, was following your procedure in order to crezte the Gold Card. Everything goes perfect up to step 20. After I used to flash with RUU_Hero_HTC_WWE_2.73.405.6_WWE_release_signed_NoDriver.exe; big mistake. after flashing I can't put phone in recovery mode, it showing a triangle with a exclamation mark in the center, also GPS is not existing at all, 3 G network not present. My phone has been bought from Hong Kong.
I was trying to follow the steps to recovery but useless; flashrec-20090815.apk is not working, even the new versions. If someone can help me with some advices, i'm really desperate. thanks
help please!!!!
Hi all. after I create the gold card, see link http://forum.xda-developers.com/showthread...187#post5036187, I RUU my Htc Hero from Hong Kong with SEA: (South East Asia)
RUU_Hero_HTC_Asia_SEA_WWE_2.73.728.5_release_signe d_NoDriver.exe and I'd seen there is no GPS, Market and 3G, than I'd applied another RUU RUU_Hero_HTC_WWE_2.73.405.66_WWE_test_signed_NoDri ver.exe and this time I have Market, but still no GPS and 3G. I tried different RUU from http://forum.xda-developers.com/showthread.php?t=559622, but no one working, not even the previous two. I tried to use flashrec-20090815.apk in order to flash, but no working. even the new version of flashrec not working. I tried to put in recovery mode holding POWER + HOME button, but after boot is showing a triangle with exclamation mark in the middle. Same is happening if I try to go in recovery mode from ADB (command adb shell reboot recovery). Is somebody so kind to explain me what to do in order to restore my phone at least how it was before, please? My skills in android development are 0. thanks
help please!!!!
so, nobody wants to help me ? i'm really desperate ...........
finally, I made again the gold card, after I re flash with RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe, and works. Than I used flashrec-1.1.3-20091107-2.apk and recovery-RA-hero-v1.5.2.img and I created Backup.img. Tried to put in recovery mode by pressing in the same time Power and Home and I got the following screen:
"reboot system now [Home+Back]
apply sdcard:update.zip [Alt+S]
wipe data/factory reset [Alt+W]"
"E:Can't open /cache/recovery/command"
BTW, GPS and 3G still missing from menu. Trying to update with 2.8-update-hero-modacocustomrom-core-chinese-signed.zip or with 3.0-update-hero-modacocustomrom-core-signed.zip, I got this :
" -- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:No signature (663 files)
E:Verification failed
Installation aborted."
Phone hanging, freezing.... HELPPPPPP please!!!!!!!!
I forgot to mention these details:
Original version
phone type is EBI132A
Firmware version: 1,5
baseband version 63.18.55.06EU_6.35.06.18
Kernel Version:**2.6.27 - 44690c1a
Build no: 2.73.721.9 **146733 CL#62020
Soft Version 1.0.0.A 6288
Actual version
Firmware version: 1,5
baseband version 63.18.55.06EU_6.35.06.18
Kernel Version:**2.6.27 - 8dd6deee [email protected])
Build no: 2.73.405.5**146733 CL#61267
Soft Version 1.0.0.A 6288
this is what I got:
What else i can do?
Is there anyone here in this forum who has been complimentary to this guide? I ask because I am an organizer of the recognition awards for Achievement in Technical Writing & Guides (to help people use their phones)... And the Android forums are new, and thus there has been very little response to the intention to recognize those who have contributed knowledge, apps, themes, guides to the community.
thank you. see my sig.
ovigt71 said:
I forgot to mention these details:
Original version
phone type is EBI132A
Firmware version: 1,5
baseband version 63.18.55.06EU_6.35.06.18
Kernel Version:**2.6.27 - 44690c1a
Build no: 2.73.721.9 **146733 CL#62020
Soft Version 1.0.0.A 6288
Actual version
Firmware version: 1,5
baseband version 63.18.55.06EU_6.35.06.18
Kernel Version:**2.6.27 - 8dd6deee [email protected])
Build no: 2.73.405.5**146733 CL#61267
Soft Version 1.0.0.A 6288
Click to expand...
Click to collapse
Hi, I have the exact same hero as you do (same system etc..). Didn't work with the "RUU_Hero_HTC_WWE_1.76.405.1_R3_WWE_release_signed_NoDriver.exe"
so am now about to try it with this one:
RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe
but after reading you post I am a lil weary...
is you hero still not working 100%??
Thx
1. Bricked my rooted G2 with 2.1 rom by interrupting the radio update process
2. Got it back within 5 days repaired in warranty FOC! mainboard replaced.
3. Flashrec backup recovery did not work, so had to go into goldcard method. (2.73.110.26 CL#69351)
4. Update succesfull. I thank you very much for your efforts Even the ugly static G2 T-Mobile screen now says HERO
5. Linda File Manager + FlashREC
6. Backup recovery -> Backup complete
THANKS
I got a Customer Id Error when I try to install either
RUU_Hero_HTC_WWE_1.76.405.1_R3_WWE_release_signed _NoDriver.exe
or
RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoD river.exe
I thought the purpose of the GoldCard was to help bypass the ID checking?
bob_harris said:
I thought the purpose of the GoldCard was to help bypass the ID checking?
Click to expand...
Click to collapse
It is - the point is that the creation of a goldcard is not an exact science. If your goldcard is not correct, for any reason, it won't work.
There have been many accounts on these forums of people having to try 3 or 4 times (usually using different SD cards) before getting a goldcard that works.
Regards,
Dave
foxmeister said:
It is - the point is that the creation of a goldcard is not an exact science. If your goldcard is not correct, for any reason, it won't work.
There have been many accounts on these forums of people having to try 3 or 4 times (usually using different SD cards) before getting a goldcard that works.
Regards,
Dave
Click to expand...
Click to collapse
I got it working on the second attempt. In the tutorial I was reading it advice I use a separate sd card reader when creating the gold card.
On my second attempt I just left the card in the phone the whole time and mounted it through the phone when I needed to perform hex editing on it.
Lovely job, now to choose what custom ROM I shall flash.
Rebrand-Update-Tool HWOTA7 for Huawei P9-Plus-VIE
The classic HWOTA Tool is available for all newer Huawei models. Now it is also available for the P9-PLUS-VIE
→ It is programmed for use with Android 7 (Nougat) and does not work on Android 8 (Oreo) - with the exception of the Update to Oreo.
Don't use this Tool to update your phone from Android 6 to Android 7 or Android 8.
You must already have Android 7 on your phone.!
Update to Oreo from Nougat is possible, but once you're on Oreo, the tool can not be used again until downgraded to nougat.
→ The same Tool for P9-EVA is different: https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
Features of HWOTA7 for P9 Plus VIE:
Update your Firmware with FullOTA-MF Firmware (3 zip files, two renamed) = Using the script /1. Change firmware
Rebrand between L09-L29-AL10 (your hardware does not change on VIE) = Using the script /2. Change location
Debrand from Vodafone, Telekom or other to: open cust ( current: 5 oeminfo files)
Note: If your Phone has SIM Lock, Debranding does not unlock mobile network - you can do that with HCU Client by DC Unlocker
The best feature is: You can update the P9-Plus-VIE to the official Android 8 (Oreo) unofficially with HWOTA7. This requires a rebranding of your device to VIE-AL10. How to manage this is explained in Post #2: https://forum.xda-developers.com/showpost.php?p=77650678&postcount=2
→ How to get back to the original model from Oreo is explained in Post # 4: https://forum.xda-developers.com/showpost.php?p=77650687&postcount=4
Note: To return to the original model related oeminfo is required - should your oeminfo not be included in the HWOTA7 tool, make a backup of the oeminfo with TWRP before Rebranding. If you give it to me, I can integrate it into the tool.
Requirements:
Bootloader Unlock code → if you do not have it, it can be read out with HCU Client by DC Unlocker
Developer Options enabled → OEM Unlock + ADB Debugging in charging only mode + USB Debugging (in this order) enabled
HiSuite HDB in Settings on the phone disabled, HiSuite on PC closed
Working USB Connection (drivers) between P9 Plus and PC (MTP, ADB and Fastboot → Allow access to the phone, accept RSA key fingerprint)
Windows 7, 8.1, 10 (the tool does not work on Mac or Linux or on Virtual machine)
Battery should be charged
Backup your important data (folders from internal storage such as WhatsApp, DCIM, downloads, music, etc. - as well as user apps with data, contacts, calendars, sms, etc.) → The internal storage is erased several times during this process.
Follow the instructions
How HWOTA7 works and what to keep in mind:
Download HWOTA7, extract it on PC and place HWOTA7 on: C:\HWOTA7 - without subfolders between.
Do not change the folder structure. The tool has two working folders:
→ C:\HWOTA7\tools\Windows - you can use: cmd-here.exe (run as Administrator) to check ADB/Fastboot or to flash an image later
→ C:\HWOTA7\update - this is the main working folder. You have to copy in this folder the FullOTA-MF firmware (3 zip files, two renamed)
If you are on custom ROM, first go back to Stock Firmware ("Using script" and "Change firmware" - use the Firmware that matches your device and cust)
HWOTA7 is self-explanatory. It detects what to do and prompts you to press certain key combinations or enter the unlock code.
→ The USB cable between the phone and PC remains connected throughout the process!
→ Only press "Enter" in the terminal if the described step, in the line before, was executed.
→ If you face an error like: "adb: error: connect failed: no devices/emulators found" - close Terminal, reboot phone into Fastboot mode and restart HWOTA7
The HWOTA7 tool is started by double clicking on "update_eng.bat"
The phone is connected to the PC via USB and you start with the key combination: VOL- and Power Button key into Fastboot mode.
When the Bootloader is locked, the tool unlocks the Bootloader with the code. Thereafter, a factory reset is performed by clearing the internal storage = Lowlevel Wipe.
When the Bootloader is open, the tool automatically flashes TWRP and prompts you to press (and hold) VOL+ and Power Button to start into TWRP.
Then you click 2x in the terminal on "Enter"
→ Before you choose: 2. Using the script and 1. Change firmware or 2. Change location - make sure, the FullOTA-MF Firmware is already in the update folder: C:\HWOTA7\update - and two zip files are renamed!
Rename the two zip files of the FullOTA-MF firmware → incorrect renaming such as "update_all_hw.zip.zip" does not work
update.zip = update.zip (do not rename)
update_full_VIE-AL10_all_cn.zip -rename to: update_all_hw.zip
update_data_full_public.zip - rename to: update_data_public.zip
Important - The difference between four different situations:
1) When the Bootloader is closed, HWOTA7 opens it with the code, a "lowlevel" factory reset is performed and the device must then boot into the system. In the setup everything can be skipped (which is possible) - but the developer options must be switched on (1.ADB Debugging + 2.USB Debugging enabled). And HiSuite HDB disabled.
2) If you select "Change firmware" to flash the firmware, the tool copies the ZIP files to the phone in the /data directory, flashes the Nocheck recovery, and installs the firmware. In this case, you also need to boot into the system and check if Developer options with the required settings are enabled.
3) But if you do the step: "Change location" - it is different! The tool will flash the corresponding "oeminfo", close the Bootloader and request the Unlock code to unlock the device and force a "lowlevel" factory reset → In this case (only), you should NOT boot into the system after the reset. Wait until the EMUI recovery is 100% done with the reset. Then comes the message "Reset succesful, device will restart" Now press (only) the VOL+ button and keep it pressed so that the device starts into TWRP. Now click on "Enter" in the terminal. HWOTA7 now copies the firmware to the device, flashes the Nocheck recovery, reboots and flashes the firmware belonging to the "oeminfo". After this step, the device must be booted into the system.
4) If the device boots into the system and you have a black screen, with an input field in the middle and possibly the keyboard (do not get worried) - the Bootloader was locked by the firmware during rebranding. In this case, press the Power Button to restart and hold down the VOL- button during the restart to start the device into Fastboot mode. Close the Terminal Script and restart update_eng.bat. Click on "Enter" in the Terminal and HWOTA7 will ask you for the Unlock Code and unlock again the Bootloader. Confirm the unlock on the device with the keys, then there is a factory reset followed by a reboot into the system. Now everything is fine.
Where can I get the firmware I need?
Note: The firmware must match your device and your "cust" - if you want to update, or coming back from a Custom ROM to Stock firmware - If you do a "rebranding", the firmware must match the "oeminfo" that you "rebrand"
Install "Firmware Finder" from the Playstore
In Settings (3 dot menu/settings) change to "Show only FullOTA" In main window "Add model" Example: VIE-L09C432. Click on FullOTA-MF Firmware (that matches) and "Check Firmware Access" and "Check Availability" If it says: "The firmware is not approved for installation" - I would not recommend . If it shows: "Firmware approved for installation Models VIE-Lxx" (and it matches your device/cust or the cust you want to rebrand)- click on Download.
Tip: If you enable in Developer Options "Keep phone awake during USB charging" you make sure, the Download get not corupted. Additional I would try to open the zip file after Download in a zip viewer to check if the zip file is complete.
The other possibility is, download the zip files to PC instead on the phone. Finally, it is needed on the PC and needs to be copied to the C:\HWOTA7\update
If you click in Firmware Finder on Download you will see 4 zip files - but you need only 3 of them: update.zip, update_data_full_public.zip and the third file must match your device (which you like to update or rebrand to) When you see the 4 files, choose the 3 files you need.
When you click on "Share Firmware" - then you can store the Links in a txt file. In this case you can download the files on PC. When you click instead "ok" Firmware Finder will download the Firmware to the Phone.
Alternatively you can use the Direct Link on PC:
http://pro-teammt.ru/firmware-database/?firmware_model=&firmware_page=0
Enter the correct model name and cust (Example: VIE-L09c432) and press enter. Choose only FullOTA-MF. Click on FILELIST and wait until a new Window pops up with the Links you need for Download. However, here you dont see if the Firmware is approved for installation.
The Third possibility - Firmware Finder for PC:
http://pro-teammt.ru/projects/hwff/v2/GetLatestVersion.action
Unzip it and double click on FirmwareFinder.exe. Click on "Common Base" and enter your model name with cust. Search on "Type" for FullOTA-MF and click on FILELIST. After you can copy with right click on changelog and above in the symbol "check availability" you can check, if the Firmware is approved (even with your IMEI, if you like)...
→ In the second post there is a step by step guide to rebrand the P9 Plus VIE to VIE-AL10 (including the links) and update to Android 8 Oreo.
Download P9PlusVIE-HWOTA7:
https://www.androidfilehost.com/?fid=1322778262904007988
MD5: 1edc0c8aedbf3f3470fb419dc67d7c26
→ Extract the zip on your PC, the zip contains the folder: HWOTA7 - Copy the folder to C:\ = C:\HWOTA7
Have fun
Credits:
@Atarii VIE-NoCheck Recovery
@OldDroid Android 7 TWRPs for many Huawei devices, Lead Developer/Maintainer Open Kirin Team
@Pretoriano80 Android 8 TWRP for many Huawei devices
@urbanmec Huawei Tweak Professor
XDA:DevDB Information
Rebrand-Update-Tool-HWOTA7-P9-PLUS-VIE, Tool/Utility for the Huawei P9 Plus
Contributors
Tecalote
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-09-18
Created 2018-09-18
Last Updated 2018-09-18
Update Huawei P9 Plus VIE to official Android 8 Oreo
Unofficial method to update European models of Huawei P9 Plus VIE to official Android 8 Oreo
- for VIE-L09 and VIE-L29
Originally, all models of the P9 Plus VIE and P9 EVA should receive the Android Oreo update. Unfortunately, Huawei has decided to only supply the Chinese models with Android 8.
For this reason, there is an unofficial way to update to the official Oreo → by rebranding the European models to VIE-AL10.
Note: This Guide is for P9 Plus VIE → (P9-EVA HWOTA7 with Update Guide to Oreo you can find here: https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849)
Oreo runs smoothly and well on P9 Plus, the battery last longer and with Android 8 there is Treble Support.
Since it is possible to update P9 Plus to Oreo - Huawei P9 VIE is officially supported by the OpenKirin Team :https://forum.xda-developers.com/p9/development/roms-openkirin-aosp-collection-t3828806
See OpenKirin supported devices: https://openkirin.net/devices/
Here is a small Guide how to go back from OpenKirin ROM to EMUI: https://forum.xda-developers.com/showpost.php?p=77905152&postcount=833
Preparation for the update to Oreo:
If you are on any Custom Rom - go back to Stock firmware first - before rebrand to another location!
You should be on the latest approved Firmware for your device - if you have not the latest approved Firmware, use HWOTA7 Tool to update your Firmware.
Do for every case a Backup (TitaniumBackup /Huawei Backup - without System-Apps/Settings) before. TWRP Backup makes no sence, because you can not restore it on Oreo! Make sure, the Update-Firmware is copied to the folder C:\HWOTA7\update - and two zip files are RENAMED as mentioned in OP → read OP Post#1. Update your Firmware by using the script (HWOTA7 Terminal: 2. Using the script + 1. Change firmware)
Instructions for updating to Oreo by rebranding your phone to VIE-AL10:
Requirements:
A) HWOTA7 Tool
B) Bootloader Unlock Code for your device
C) Micro SD Card → formatted as exFAT
D) For rebranding from VIE-L09 or VIE-L29 to → VIE-AL10 you need to download the following 2 Firmwares:
A) VIE-AL10c00b399SP20 /Android 7 (this Firmware is required for the Update to Oreo):
update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/update.zip
update_full_VIE-AL10_all_cn.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
update_data_full_public.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/public/update_data_full_public.zip
B) VIE-AL10C00B537 (8.0.0.537) OREO
update.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/update.zip
update_full_VIE-AL10_all_cn.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
update_data_full_public.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/public/update_data_full_public.zip
→ rename for each Firmware two zip files as described in OP (Post #1)
Step-by-step:
0) Developer Options enabled (7x click on Build-Number in Settings /About phone) - In Developer Options: OEM Unlock, ADB Debugging + USB Debugging (in this order) enabled, HiSuite HDB (in Settings /Adv.Settings /Security) disabled, HiSuite on PC closed, working USB Connection
1) Connect your device with USB to PC and start from HWOTA7 main folder: update_eng.bat - Accept possibly the RSA query on the display of the P9 Plus
2) Restart your P9 Plus into Fastboot mode (use restart/restart and press VOL- /or shutdown phone and press VOL- and Power Button)
→ Note: During all steps USB Cable stays connected between phone and PC and you only press "Enter" in the terminal when the described step, in the line before, was executed.
3) HWOTA7-terminal detects if Bootloader is open or closed - if the Bootloader is closed go to 4) - if the Bootloaer is open go to 7)
4) Terminal ask you for the Unlock code - enter the Unlock code and confirm the Unlock on the phone
5) Your P9 Plus reboots and an automatic factory reset is done with internal storage wipe (lowlevel reset) - wait until the phone reboot to system. Skip everything during setup (except what can not be skipped) - Important: Enable Developer Options with ADB Debugging and USB Debugging
6) Restart your P9 Plus into Fastboot mode - now hit "Enter" Button - HWOTA7 Terminal will flash automatically TWRP for Android 7 and gives you the order to boot into TWRP by pressing VOL+ and Power Button (dont hit "enter" before this step is done)
7) In TWRP swipe to allow system modification - now hit "enter" (2x) in the Terminal - after a short while you will see: Upgrade Options
8) 2. Using script: 2.Change location - you will see a list of available "oeminfo" - use: 1.VIE-AL10c00
→ Note: The Firmware for VIE-AL10c00b399SP20 (Nougat) must be already in the update folder (and two zip files renamed)!
9) HWOTA7 flashes now oeminfo for VIE-AL10, Bootloader is getting closed, confirm the Unlock on device - automatic factory reset is executed, wait until 99% and 100% restarts the phone → NOW PRESS VOL+ to boot the phone into TWRP instead of system!
10) Allow system modification in TWRP and hit "Enter" Button for Terminal - HWOTA7 copies now the firmware to the directory: /data/update/HWOTA - phone will restart automatically and flashes the Firmware with NoCheck EMUI Recovery.
→ After your P9 Plus has started into the system - you may see a black screen with an input field and a keyboard - if yes, go to 11) - if no, go to 13)
11) Close HWOTA7 Terminal and press Power Button on P9 Plus to restart your Phone, restart phone, in the moment of restart press VOL- Button to boot into Fastboot Mode → Bootloader is closed. BTW: Chinese Brands dont have FRP.
12) Open update_eng.bat, click enter, enter the Unlock code, confirm Unlock on phone, phone makes a Factory reset with lowlevel wipe. Then the P9 Plus starts automatically into the system. Now you have already rebranded to VIE-AL10c00b399SP20 (Nougat) :good:
13) Accept the terms and conditions (Huawei + Google Services) and skip the rest, what can be skipped. Do not be nervous, your P9 Plus has no IMEI at the moment and no mobile network. This is normal. In the settings in the search bar, search for "Trust Space" and "HiSuite HDB" - disable both. Enable again Developer Options and inside: ADB Debugging and USB Debugging (in this order).
14) Click enter in Terminal, select 2. "No, I would not" and HWOTA7 will be closed. → Change now the Firmware in the update folder to: VIE-AL10C00B537 (8.0.0.537) OREO (remember: two zip files has to be renamed!)
15) Start again update_eng.bat. Reboot phone into Fastbood Mode. Hit "enter" for Terminal - TWRP will be flashed automatically - reboot with VOL+ and Power Button into TWRP - allow system modification - hit "enter" in HWOTA7 Terminal
16) Use Upgrade options: 2.Using the script - 1.Change firmware (Same brand update /but Oreo)
17) Click enter in Terminal, Firmware will be copied to: /data/update/HWOTA - "System update should start automatically" → if you receive any error like: "connect failed, no devices/emulators found" - go to 18) - if everything is okay go to 19)
18) Close HWOTA7 Terminal and use menu of TWRP to reboot into Bootloader, start again update_eng.bat - TWRP will be flashed again - boot into TWRP with VOL+ and Power Button - allow system modification - hit "enter" in HWOTA7 Terminal - Firmware will be copied to: /data/update/HWOTA - Phone will make reboot and flash the Firmware for Oreo automatically.
19) You have now successfully updated to Android 8. :good: Phone will reboot into VIE-AL10C00B537 (8.0.0.537) OREO
→ You should accept the terms and conditions (Huawei + Google Services) - otherwise Playstore will not work later! Do not enable WLAN and do not set up your phone (Fingerprint etc)right now! - skip, what can be skipped. → You will have "unknown IMEI" and no mobile network at the moment, that is normal. Open Settings/System and enable again Developer Options/ADB+USB Debugging. In Settings /Security+Privacy you can find "Trust Space" - disable it - and in same menu you find in "More" "Allow HiSuite to use HDB" - disable it! → Now we must help the phone to recognize the IMEI and enable mobile network and NFC on VIE-L09 and Dual-SIM on VIE-L29 as well as disable Chinese apps, which we do not need in Europe (and some of them would not work here)
20) Downloads:
TWRP for OREO: P9-VIE_EVA-8.0.0-TWRP-v4.img https://www.androidfilehost.com/?fid=1322778262904008816 - we need this to flash the important changes to system without the need of Root!
This TWRP is made by @Pretoriano80 for Honor 9 Lite. I made just small changes for assert hi3650. You can backup and restore everything, except data! There is no access to /data - means: you can not do Factoryreset from TWRP - and decryption of the internal storage for the TWRP session is not working. → For Backkup and restore data you can use HiSuite or Huawei Backup or Titanium Backup. MTP ist working, when you just disable/enable it once.
Network-Patch zip files (new released 03.03.2019):
→ select the zip according to your original model (which you had before rebranding to VIE-AL10)
→ Copy the zip file to the external SD or to the USB Stick, which you connect to P9 Plus after with OTG cable. Since TWRP can currently not access /data (internal storage) - you can not flash this Patches without → external SD or USB OTG
→ The Network Patch zip files can be used for b537. If you are already on Oreo and have an older Firmware (b528, b535), you must update first to b537.
→ Update from older Oreo Firmware to b537: see Post #5
VIE-L09_b537-SingleSIM_NetworkPatch-v2.5.zip: https://www.androidfilehost.com/?fid=1395089523397898649
MD5: c22b40706584852ee1b1873fc7c28e54
VIE-L29_b537-DUAL-SIM_NetworkPatch-v2.5.zip: https://www.androidfilehost.com/?fid=1395089523397898655
MD5: 9f8f5df0f8abfe5afe49097b6bc6c4d3
VIE-EVA-FaceUnlock-Oreo-v1.5.zip: https://www.androidfilehost.com/?fid=1395089523397898647
MD5: 973d006c55fa812d722b653a57c844c0
21) Copy the downloaded TWRP (from STEP 20) into the folder C:\HWOTA7\tools\Windows - connect P9 Plus with USB to PC - right click on cmd-here-exe (run as administrator) - type: adb reboot bootloader (enter, to restart your P9 Plus into Fastboot mode)
Code:
fastboot flash recovery_ramdisk P9-VIE_EVA-8.0.0-TWRP-v4.img
22) Disconnect the USB cable from P9 Plus and press (with the left hand) VOL+ and Power Button (with the right hand) and keep pressing until the Phone is rebooted into TWRP.
23) On the first Screen click on "Cancle" (because decryption is not working for now) but swipe to confirm to "Allow System modification"
→ Go to: Install /select storage: Micro SD (or USB-OTG) and flash the downloaded NetworkPatch.zip file. If you like, you can use the function down left "Add zip file" and choose the VIE-EVA-FaceUnlock-Oreo-v1.5.zip
24) Swipe to confirm flashing the Network Patch (and the optional added VIE-EVA-FaceUnlock-Oreo-v1.5.zip file)
25) If you had used an older NetworkPatch before flashing the newest one - go back to the main menu of TWRP, go to wipe → advanced wipe and choose only "cache" (not Dalvik) → but if you are new on Oreo b537 you can skip this step
26) Reboot to the system
27) Finally, Playstore and any keyboard is needed. Download the apks from here (February 2019): https://www.androidfilehost.com/?w=files&flid=290472
28) Install it, enable keyboard, open Playstore and log into your account. After that reboot your phone. Now you can update apps, download and install your favorite apps and additional all other Google apps from Playstore → do not flash GApps instead!
29) After you have installed all required files, you have currently TWRP installed → this is good for Users, which like to have Root and disabled OTA.
Root Guide can be found here: LINK WILL COME SOON
→ But if you like to enable OTA instead:
A) Download and flash: Enable-Hwota.zip from here: https://www.androidfilehost.com/?w=files&flid=290480
B) Go back to the main menu of TWRP and Reboot to Bootlader
C) flash in Fastboot mode the Stock EMUI Recovery
Code:
fastboot flash recovery_ramdisk VIE-b537-EMUI-RECOVERY_RAMDIS.img
Download from here: https://www.androidfilehost.com/?fid=1395089523397898696
Reboot Phone and enjoy
If you search for older files (Network Patches etc) for older Firmwares, you can also search my folder on Android Filehost:
https://androidfilehost.com/user/?w=settings-dev-files&flid=131030
Note: It is not possible to lock the Bootloader on to VIE-AL10 rebranded phone with Network Patch and FaceUnlock! This would revert all the required changes and in the worst case push your phone into a bricked state.
→ But what you can do with installed EMUI Recovery (instead of TWRP): You can do from settings /system /reset a Factoryreset with wipe of the internal storage (to clean up previous instalations) → in this case the Factoryreset lowlevel does not revert the changes! The only difference is: When you get Push notifications, the Badges over the app symbol on Homescreen will change from numbers to points (which is standard on Oreo) → which is currently not change able in settings without Factoryreset.
Known issues:
VoLTE and WiFi-Calling is is visible in the menu - but does not work for now!
If you want synchronisation between Google calendar and EMUI calendar - you need to install Google calendar from Playstore.
If you like to use Google Assistant and have problems to teach this app with your voice "Hello Google" - just open settings /apps & notifications /standard (default) apps - and choose Google Assistant as default app (then it will work).
→ Please read also the next few posts (Root, current firmware with eRecovery, Update Firmware on Oreo with HWOTA8, going back to EVA-AL10 Nougat and rebrand back to original model)
→ Currently working to update this posts (will be ready soon).
Instructions for root
Instructions for root access
Root is not required, but if you still wish, here is the guide:
Due to the fact TWRP cannot access the encrypted data partition, you cannot JUST flash Magisk!!
→ A) But you can flash Magisk with TWRP using a workaround
→ B) Alternatively it is possible to flash a Magisk patched ramdisk.img in Fastboot mode
A) Workaround for flashing Magisk with TWRP – for Advanced Users:
1) Download the favorite Magisk version from here (all releases): https://github.com/topjohnwu/Magisk/releases
The actual and newest stable version you can get always from here too: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2) Copy the flashable Magisk-vXX.zip and Magisk Manager apk to external SD – and make sure, you have Developer options with 1) ADB Debugging and 2) USB Debugging (in this order) enabled.
3) Reboot device to TWRP, cancle Password, allow system-modification (swipe to confirm)
4) On the main menu go first to "Mount" - down left click on "Select storage" and choose "Micro SD"
5) Go back to main menu and open "Advanced" and open "Terminal"
NOTE:
If you have got a OTA-Firmware Update with “Patch02” or “Patch01” before flashing the Network Patch (after Network Patch, you will not see this in "About phone"!) or if you don’t remember, then use following both Lines in Terminal, but if you are sure, you have only Firmware without Patch 01 or Patch02, then use just "Keep Force encrypt" Line. Write the Lines in TWRP/Terminal exactly.
6) Write following code with Terminal:
Code:
echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk
→ Confirm each Line with blue/white checkmark on keyboard, before writing the next Line and confirm also the second Line (if you use two)
7) Go back to the main menu to "Install" and flash Magisk - after that reboot phone without wipe of Dalvik/Cache!
8) Search for Magisk Manager on Homescreen - if it is not installed, just install the Magisk Manager apk
9) Open Magisk Manager → everything should be okay
10) Open normal settings /apps & notifications /Magisk Manager /permissions and make sure Magisk Manager has permission for storage.
11) From Magisk Manager menu above left, section “Downloads” – download and install directly “Busybox for Android NDK” by osmosis – save log and reboot phone.
→ If Magisk get a major update, uninstall first Magisk from Magisk Manager and use “uninstall” button. “Uninstall complete” The phone restarts automatically. After that you can flash the new Magisk and reflash the modules.
B) Flashing Magisk with patched ramdisk.img in Fastboot mode:
If you don’t want flash Magisk with the TWRP workaround – you can use a Magisk patched ramdisk.img instead.
1) You can patch ramdiks.img from update.app by yourself, with following method:
Extract the update.zip of the current installed Firmware, because we need the UPDATE.APP.
Download Huawei Extractor v0.9.9.5 from here: https://forum.xda-developers.com/showthread.php?t=2433454
In the settings of the Huawei Extractor disable "verify header checksum" - then put with drag and drop the UDPATE.APP into Huawei Extractor and extract by right click the RAMDISK.img (on earlier Android Versions it would be: BOOT.img)
2) Copy the original RAMDISK.img to your phone to the internal storage in the folder: Download
3) Install the latest Magisk Manager: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
4) Open Magisk Manager, Magisk Manager ask you "Install Magisk-vx.zip?" - first click on: no thanks
5) Since internal storage is encrypted by default, you must first enable the checkbox: "Preserve force encryption"
5) If you have installed a OTA-Firmware Update with Patch01 or Patch02 – then enable additional the checkbox "Preserve AVB 2.0/dm-verity" in Magisk Manager.
6) Then click on "Install" - "You want to install Magisk-v1x.zip now?" - Install - Patch Boot Image File...
7) Navigate to Download folder, and choose RAMDISK.img
8) Magisk will now patch the RAMDISK.img and and once that's done, Magisk will save the patched ramdisk.img with the new name: patched_boot.img in the "Download" folder on internal storage.
→ Do not be confused - this is just named “patched_boot.img, but it is in fact the patched ramdisk.img !
9) Go to Settings /Apps & notifications/Apps and uninstall Magisk Manager
10) Now you must flash the “patched_boot.img” – Reboot your phone into Fastboot mode
Android 8:
Code:
fastboot flash ramdisk patched_boot.img
10) Reboot phone, install again newest Magisk Manager, open it and you will be asked: "Requires Additional setup - to you want to proceed now" Yes. → This step is required for to work properly.
Google Playstore certification
You can try it with method by @zgfg:
https://forum.xda-developers.com/showpost.php?p=79070144&postcount=1574
→ If it does not work you can try advanced method:
1) Set your phone into Flight Mode (no network should be connected)
2) Open Settings/Apps & notification/Apps and down right in the dot menu click on: show systemprocessing
3) Go step by step into following Apps (if there): Google - Google Play Store - Google Play Services - Google-Service-Framework - each has the entry: storage - delete ONLY cache /not data
4) Open with Mixplorer the directory:
/data/data/com.android.vending/shared_prefs - search for the xml file: finsky.xml
5) Open finsky.xml with TEXT Mixplorer Text Editor
6) Search inside finsky.xml for: <boolean name="device-google-certified"value="false" - change it to:
Code:
<boolean name="device-google-certified"value="true"
- means, you change only "false" to: "true"
7) click on the save symbol to save the changes! - close Mixplorer and everything in the Background
8) Disable Flight Mode (so Phone search for network connections)
9) Reboot your Phone
10) Open Playstore menu /settings/ =certified
If you have problems with current version of Magisk and using Gpay (Google Pay), try following workaround:
https://forum.xda-developers.com/showpost.php?p=79028818&postcount=5
How to uninstall Magisk:
A) Before you doing an OTA Update, it is required to uninstall Magisk → and also make sure, to have Stock EMUI Recovery installed (instead of TWRP).
B) In case for a “major” Magisk update it is also sometimes necessary to uninstall Magisk before installing the new version, because with directly update the phone could get a Bootloop. (But normally Magisk updates can be done directly and without uninstalling Magisk before).
C) If your device can not boot into system due to an incompatible Magisk Module.
a + b) If you can boot normally to system, you can uninstall Magisk from Magisk Manager - just use the "Uninstall" button “Uninstall complete”. Magisk will be uninstalled and Magisk files deleted from /data directory. Thereafter, the P9 is restarted automatically.
c) If your device can not boot into system due to an incompatible Magisk Module, you can flash the original EMUI Stock ramdisk.img (which is not patched with Magisk)
→ ramdisk.img must match the Firmware version of your device
For the current Firmware VIE-AL10 b537 you can download the original ramdisk.img here:
VIE-b537-RAMDISK.img:
https://www.androidfilehost.com/?fid=1395089523397898698
You can flash it in Fastboot Mode:
Code:
fastboot flash ramdisk VIE-b537-RAMDISK.img
Alternatively, you can flash the image with TWRP.
In this case you flash the img with TWRP by using: "flash img" - but important is, you must flash it to: ramdisk (and NOT to recovery_ramdisk !!)
Soon you have installed the EMUI ramdisk.img, the device can boot to system again and Magisk is disabled.
Credits:
@osm0sis Busybox for Android NDK
@Didgeridoohan MagiskHidePropsConfig module
@topjohnwu Magisk root
Restore Firmware - downgrade to Nougat - rebrand back
Restore current firmware (if you are on EMUI or OpenKirin ROM) → check out following Post:
https://forum.xda-developers.com/showpost.php?p=77905152&postcount=833
How to go back from Oreo to Nougat → and rebrand back
A) Method by using HiSuite (on PC):
1) If you have Magisk Root - uninstall Magisk with Magisk Manager (Button Uninstall)
2) Make sure, you have EMUI-Stock-Recovery installed (it does not work with TWRP)
3) Download Huawei HiSuite: https://consumer.huawei.com/minisite/HiSuite_en/
4) Update HiSuite on PC to (minimum) version: 8.0.1.302_OVE and connect your Phone with PC and HiSuite.
5) Let HiSuite install HiSuite App on your Phone - accept the Permission requests. Once that is done:
6) Click on "Systemupdate" - a new window pop up and show you your current version, click on the Link "Change version" - then you can downgrade to the latest Android 7 AL10 firmware
7) → then it is possible to use HWOTA7 again for rebranding back...
B) Method by using HuRUpdater → requires external SD or USB OTG:
If you want to go back from unofficial Oreo to Nougat and rebrand back to your original brand, you can do it with simply steps.
→ Note: HuRUpdater can not only be used for Downgrade, it can also be used for Update Firmware - It depends only on which firmware you pack together with HuRUpdater in the folder (which you have created on external SD or USB OTG)
→ The Firmware must be FullOTA-MF (same renaming than with HWOTA7 Tool)
1) Bootloader must be open
2) Flash TWRP for Oreo Download TWRP by Pretoriano80: https://www.androidfilehost.com/?fid=1322778262903998750
3) Backup your data with Huawei Backup (because TWRP can not acces data for now, because it has no encryption/decryption support)
4) Make a folder on your external SD and name it: Downgrade or Update (or however)
5) Copy the 3 Firmware zip files into the folder and make sure, two zip files are renamed (same as you did for HWOTA7)
6) Download HuRUpdater_0.4.zip from here:http://www.mediafire.com/file/r14sor2g4cbugzw/HuRUpdater_0.4.zip
7) Copy HuRUpdater into the same folder together with the firmware zip files. If you have the Nougat AL10 zip files inside, you will downgrade.
The folder contains now 4 files:
HuRUpdater_04.zip
update.zip
update_all_hw.zip
update_data_public.zip
8) Boot into TWRP. It will ask you for password. Just cancle. In TWRP open "Wipe" - but dont wipe anything - you must use the Button on the right Format Data. Confirm with typing: yes. Soon data is formatted, go back to the main menu and open Reboot - but do not reboot System - you must Reboot Recovery
→ Note: Format data is only important until we have TWRP with working data decryption
9) After TWRP is rebooted go "Install".
10) Navigate to the folder which containes the files and flash ONLY HuRUpdater_04.zip In some seconds the Akku vibrates - in this moment press for one second the VOL- Button. Now HuRUpdater will flash automatically the FullOTA-MF Firmware.
11) Once it is done, use on the left: Wipe Cache Button. After go back to the main menu and Reboot RECOVERY.
12) Your device has rebooted now into EMUI Stock Recovery. From there perform Wipe Cache Partition and Factory reset and boot to system.
Once you are back to Nougat - you can use again the HWOTA7 Tool to rebrand back to your original brand. Just use Change location (for your original cust) and make sure, the Firmware is in the update folder..
Credits:
@zxz0O0 Many thanks for HuRUpdater
HuRUpdater Thread: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
How to update older Oreo Firmware to → b537
How to update manually the Firmware from Oreo b528 or b535 to → b537
This method is based on VIE-EVA-Nocheck EMUI-Recovery for Oreo.
Required for the Firmware update is installed TWRP https://www.androidfilehost.com/?fid=1322778262903998750
Additonal information to the manual Firmware-Update from b535 (or even from b528) → to b537 → or even to next version in the future:
1) Download current Firmware VIE-AL10C00B537 (8.0.0.537):
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/update.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/public/update_data_full_public.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
2) Let Windows show file extensions (to make sure you have at the end not zip.zip) and rename the last two zip files - (update.zip - do not rename)
update_data_full_public.zip - rename to: update_data_public.zip
update_full_VIE-AL10_all_cn.zip - rename to: update_all_hw.zip
3) Download FirmwareUpdate_onOreo_from-externalSD.zip file and extract (unzip) it:
https://www.androidfilehost.com/?fid=1395089523397898767
Inside is the folder: HWOTA and contains two files. Do not rename that files.
4) Create a folder on your external SD with the Name HWOTA in the main directory (dont use another name!) - or copy the HWOTA folder from unzipped Firmware-Update.zip instead to your external SD
5) So you have now the folder HWOTA on your external SD (without Subfolders between)
6) The folder HWOTA must contain:
eva_vie_recovery_nocheck.img
ExtSD-FirmwareUpdateScript.zip
update.zip
update_all_hw.zip
update_data_public.zip
7) Now boot to TWRP, cancle Password, allow system modification, go to Install, select storage: Micro SD - and flash ONLY the one zip file with the name: ExtSD-FirmwareUpdateScript.zip
8) The phone will automatically reboot and needs a while to flash automatically the No Check EMUI-Recovery and this needs also a while until the Firmware will be flashed automatically as well as Phone reboots after. Just wait, until it boot up.
→ if you have Root, there is no need to Unroot before and you will loose no installed apps but probably Playstore and/or Keyboard (if the apps were not updated, if the were updated, you will not loose Playstore and not Keyboard). If Playstore is missing, just install the Playstore apk and Keyboard apk and reboot phone. → Links for the apks in Post #2
Nothing will be wiped, except mobile network settings are gone and some additional Chinese Apps are installed.
9) Flash again TWRP and select your NetworkPatch.zip (that matches your real device) and in the middle you find the button "add zip" just add: Faceunlock.zip
→ flash both together with swipe to confirm and reboot phone without wipe anything.
Note: You must use the new released Files from Post #2 step 20-29: https://forum.xda-developers.com/showpost.php?p=77650678&postcount=2
10) You are now on b537 - The Chinese Apps are automatically deleted and everything works as it should
Enjoy :good:
And here it is ? Can't wait to try it. On holidays right now, I'll test it by two weeks, I just need to recover a Windows laptop as I'm using Linux right now. Anyway, thank you a lot for the effort!
thank you so much for the hardwork. Love to see this happening for the p9 plus. keep the good work up. i will try out the tools this weekend.
Just to be sure, to update an european modelo (c432) we need to follow instruction in post 1 and post 2 ?
Fil76 said:
Just to be sure, to update an european modelo (c432) we need to follow instruction in post 1 and post 2 ?
Click to expand...
Click to collapse
Hi, welcome in this Thread
→ Reading OP (Post # 1) is required because some information from there is required in Post # 2. OP is a general overview of how the tool works and what to look for.
Post # 2 is an exact guide for rebranding the European model to VIE-AL10 and updating to Android Oreo.
On Oreo, initially no IMEI is detected and there is no mobile network available - the P9 Plus must therefore be adapted. This is done by means of a zip file, which you choose according to your original model. The zip must be flashed with TWRP, after a factory reset must be performed with the EMUI Stock Recovery.
Yes, if you want your device to work with the Chinese firmware on Oreo, then you must read both Instructions and following the Guide.
I spent a lot of time for free into this project, so that the user is able to get the "impossible" possible. Everything was tested thoroughly by me and others.
FYI: I am not responsible for any mistakes or bricks that occur if someone do not follow the instructions exactly
Post #3 - Root instructions → ready
Fantastic to see this tool also for P9 Plus!
Thank you very much for the time and the work spent to create this tool!
edit:error in progress
Fil76 said:
edit:error in progress
Click to expand...
Click to collapse
? Please more detailed, if you need help
i had fastboot connection problem due to cable (one original and one not) and cause i'm dumb i didn't rename a nougat file correctly and got nrm90 test key as build number
resolved after installing oreo update (i tried restarting all the procedure with hwota setting again al10 but nrm90 etc remain)
But i'm in working progress cause i installed oreo and build numer now it's correct
now i'm continuing following your guide
let's hope....lol
edit2:YEAH ALL FINE THANK YOU FOR YOUR TOOL
the only one problem that i got that everytime i boot i got message that bootloader is unlocked
Fil76 said:
YEAH ALL FINE THANK YOU FOR YOUR TOOL
the only one problem that i got that everytime i boot i got message that bootloader is unlocked
Click to expand...
Click to collapse
That's not a problem
That's always on every Android version from Marshmallow /Nougat /Oreo above..
If the Bootloader is opened you will get this message as long the Bootloader is unlocked.
And there's nothing what could be done to hide this message.
But the other side is, without unlocked Bootloader you couldn't change anything.
And if you would relock the Bootloader - you would loose all the settings necessary for European VIE to work properly on Oreo
First of all, thanks @Tecalote and team to let my Vie-p9 plus fly again^^, i followed each step carefully and successful debrand and upgrade to Oreo, everything works like a charm and after restore all the apps and all works without problem only NFC(because i need google pay as my transport payment method), the nfc icon show in the pull down drawer but it grey out and no respond. And inside setting> device connection> only have bluetooth, Multi-screen, usb and printing options but only missing the NFC.
is it any way to fix it?
htc_black said:
First of all, thanks @Tecalote and team to let my Vie-p9 plus fly again^^, i followed each step carefully and successful debrand and upgrade to Oreo, everything works like a charm and after restore all the apps and all works without problem only NFC(because i need google pay as my transport payment method), the nfc icon show in the pull down drawer but it grey out and no respond. And inside setting> device connection> only have bluetooth, Multi-screen, usb and printing options but only missing the NFC.
is it any way to fix it?
Click to expand...
Click to collapse
Hello @htc_black
What was your original model? VIE-L29 ? - okay, I am sorry. I saw just right now, that L29 includes also NFC - I did not know that. I will upload corrected zips for L29 in about 30 minutes.
I thought, it is the same than on EVA (EVA L09 = NFC, no Dual SIM, L19+L29 = no NFC, but Dual SIM) - but VIE has NFC on L09 as well as on L29....
So, it can be fixed, no problem.
I had only L09 to test and dont own L29
After upload the corrected zip, please install and let me know, if it works! Thanks
Tecalote said:
Hello @htc_black
What was your original model? VIE-L29 ? - okay, I am sorry. I saw just right now, that L29 includes also NFC - I did not know that. I will upload corrected zips for L29 in about 30 minutes.
I thought, it is the same than on EVA (EVA L09 = NFC, no Dual SIM, L19+L29 = no NFC, but Dual SIM) - but VIE has NFC on L09 as well as on L29....
So, it can be fixed, no problem.
I had only L09 to test and dont own L29
After upload the corrected zip, please install and let me know, if it works! Thanks
Click to expand...
Click to collapse
Finally finally finally:laugh: rebranded , updated to Oreo and rooted :victory: :laugh:
Thank you so much for your great effort and helping us
Really you are a genius
Everything is working well, only NFC is not working but the rest is perfect
From VIE-L29 to VIE-AL0
meshoo00oo said:
Finally finally finally:laugh: rebranded , updated to Oreo and rooted :victory: :laugh:
Thank you so much for your great effort and helping us
Really you are a genius
Everything is working well, only NFC is not working but the rest is perfect
Click to expand...
Click to collapse
NFC patch is just uploading, coming in a few minutes. I post it here
Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597
TWRP and Lineage 16/17.1 for (SM-T590/SM-T595/SM-T597)!!!!!!!!!!!!!!!!!!!!!
BROUGHT TO YOU BY: MrHomebrew
BIG CREDIT TO: Rupansh (For his time, work: dedication and discovery on how to achieve TWRP on these devices).
THANK YOU TO: Cale (For his time, findings and testing).
READ ENTIRE POST!!!!!!!!
READ ENTIRE POST!!!!!!!!
READ ENTIRE POST!!!!!!!!
THIS IS AT YOUR OWN DESCRETION AND I AM NOT RESPONSIBLE FOR ANYTHING THAT COULD GO WRONG (for example a BRICKED DEVICE)!!!!!!!!
EXPECIALLY IF YOU CAN NOT FALLOW INSTRUCTIONS PROPERLY!!!!!!!!
THIS IS SIMPLY A GUIDE AND IF YOU ARE WILLING TO ATTEMPT ON YOUR OWN DEVICE THAT IS FULLY YOUR CHOICE, RESPONSIBILY and DESCRETION!!!!!!!!
IF YOU ARE STUCK IN A BOOTLOOP REBOOT TO DOWNLOAD MODE AND FLASH STOCK SAMSUNG ROM IN ODIN AND IF YOU WOULD LIKE, TRY AGAIN!!!!
1.
Download stock/unmodded Odin:
https://forum.xda-developers.com/attachment.php?attachmentid=4946889&d=1581302091
Install stock SM-T590/T595/T597 PIE rom with stock/unmodded Odin in download mode
(POWER OFF TABLET AND BOOT WITH VOLUME UP, DOWN AND POWER BUTTON WELL PLUGGED IN TO YOUR PC THROUGH USB).
2.
Finish setup SKIP ALL and enable OEM UNLOCK in developer options/settings.
(If developer options/settings is not viewable tap build number in settings/about a bunch of times)
(Then go back and you should see developer options in settings and ENABLE OEM UNLOCK).
3.
Download patched/modded Odin:
https://forum.xda-developers.com/attachment.php?attachmentid=4952061&d=1581888388
Reboot to recovery (POWER OFF TABLET AND BOOT WITH VOLUME UP AND POWER BUTTON).
Select wipe data/factory reset in recovery (THIS WILL WIPE THE TABLET).
THEN SELECT REBOOT TO BOOTLOADER (DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO THE BOOTLOADER/DOWNLOAD MODE)
(BLACK LOOKING SCREEN THIS TIME).
4.
Download TWRP:
(SM-T590)
Mega - https://mega.nz/#!nVIknQrB!-Zb_xBWy2_Ruj0TBMHPQGvND1uA_LtOvwdRkmV9sFnQ
Zippyshare - https://www15.zippyshare.com/v/dLVoxicq/file.html
(SM-T595/SM-T597)
Mega - https://mega.nz/#!GQQWnASY!T0oJEkwu9m2rviVYFHy_E5tfithsqLYUTjcIW04iGzw
Zippyshare - https://www45.zippyshare.com/v/2VGMIYyb/file.html
Well in download mode open patched/modded Odin.
Select options in patched/modded odin and UNCHECK Auto Reboot and F. Reset Time.
Select recovery.tar.md5 (SPECIFIC FOR YOUR DEVICE MODEL SM-T590 or SM-T595/SM-T597) in the AP tab of patched/modded odin.
Flash recovery.tar.md5 to your tablet.
WHEN FINISHED MAKE SURE TO REBOOT TO RECOVERY MODE/TWRP(STEPS BELOW).
HOLD (VOLUME DOWN AND POWER BUTTON) AND AS SOON AS THE TABLET TURNS OFF HOLD (VOLUME UP AND THE POWER BUTTON) TO FORCE RECOVERY MODE/TWRP
(DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO RECOVERY MODE/TWRP).
5.
Download Lineage 16 Download Lineage 16 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
(SM-T590/SM-T595/SM-T597)
Sourceforge - https://sourceforge.net/projects/an...017-UNOFFICIAL-treble_a64_avN.img.xz/download
Download Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
Mega - https://mega.nz/#!eUpj3AAR!B-3_dgBX9nEj4PJufCnCl7FsiS5bJXy-XvNsBg2KQXg
Zippyshare - https://www120.zippyshare.com/v/fDpBrVte/file.html
Download open_gapps-arm-9.0-nano (SELECT AND DOWNLOAD ARM, 9.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
https://opengapps.org/
Unmount your micro sd in TWRP, remove CURRENT/MAIN micro sd card from your tablet and replace with the SECONDARY micro sd.
In recovery/twrp select wipe tab, then format data and type yes fallowed by enter (THIS WILL FORMAT/ERASE ALL DATA ON THE TABLET).
Go back to main TWRP menu, select reboot and then REBOOT TO RECOVERY.
Once Rebooted to RECOVERY/TWRP select install and at the bottom select install img.
Find the lineage-16.0-20191017-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).
Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
(Swipe to resize).
Go back select install and at the bottom select install zip.
Then install open_gapps-arm-9.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).
Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.
Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card.
6.
REBOOT TO SYSTEM AND SEE THE MAGIC HAPPEN (NOT DONE YET IF YOU WANT ANDROID 10 ALONG WITH ADOPTABLE STORAGE!!!!).
Setup device
FORMAT your MAIN micro sd card in android (SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).
Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).
(IF LINEAGE 16 DOES NOT ASK TO FORMAT MICRO SD CARD EJECT THEN PLACE IT IN A WINDOWS COMPUTER AND FORMAT TO SOMETHING ANDROID DOES NOT LIKE AND TRY AGAIN)
(FALLOWING INSTRUCTIONS BELOW)!!!!
Then insert your MAIN micro sd card (THAT IS FORMATTED IN A WAY THAT FORCES YOU TO HAVE TO REFORMAT) the MAIN micro sd card in Lineage 16
(SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).
Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).
7.
Download Lineage 17.1 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
(SM-T590/SM-T595/SM-T597)
Sourceforge - https://sourceforge.net/projects/an...111-UNOFFICIAL-treble_a64_avN.img.xz/download
Download open_gapps-arm-10.0-nano (SELECT AND DOWNLOAD ARM, 10.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
https://opengapps.org/
Download PHH-Magisk (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD)
https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download
Power off or reboot to twrp (VOLUME UP AND THE POWER BUTTON).
Unmount your micro sd in TWRP, remove MAIN micro sd card (NOW USED AS ADOPTABLE STORAGE) from your tablet and replace with the SECONDARY micro sd.
Now select install and at the bottom select install img.
Find the lineage-17.1-20200111-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).
Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
(Swipe to resize).
Go back select install and at the bottom select install zip.
Then install open_gapps-arm-10.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).
Go back select install and YOU MUST INSTALL Magisk-v20.2-b29f0ca4-phh.zip (OR ELSE LINEAGE 17.1 WILL NOT BOOT).
Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.
Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card (STILL USED AS ADOPTABLE STORAGE).
8.
(VERY IMPORTANT YOU CAN UPDATE (MAGISK MANAGER) BUT NOT (MAGISK) ITSELF!!!! DO NOT UPDATE MAGISK!!!!) YOU WILL END UP IN A BOOT LOOP).
(VERY IMPORTANT) REBOOT TO SYSTEM AND GO IN TO MAGISK MANAGER.
Go to modules in Magisk Manager and install Busybox for Android NDK (DO NOT REBOOT) and also install MagiskHide Props Config (NOW REBOOT).
After reboot go to developer options/settings (System/Advanced/Developer options) and enable Local terminal.
(If developer options is not viewable tap build number in settings/about a bunch of times till it enables)
(Then go back and you should see developer options in settings).
9.
Return to home screen and launch terminal app.
In terminal app type "su" (WITHOUT QUOTES) and hit enter (ALWAYS HIT ENTER TO EXECUTE THE COMMAND).
Accept Magisk/Superuser popup for terminal.
(If you accidentally deny/miss permission go to Magisk a enable Superuser for terminal).
In terminal app type "props" (WITHOUT QUOTES).
Select option "1" (WITHOUT QUOTES), then select option "f" (WITHOUT QUOTES) and then select option "23" (WITHOUT QUOTES).
Now select (ONE OF THESE 3) options "45" (WITHOUT QUOTES) for SM-T590 / option "46" (WITHOUT QUOTES) for SM-T595 / or option "47" (WITHOUT QUOTES) for SM-T597.
Finally select "y" (WITHOUT QUOTES) to accept and then select "y" (WITHOUT QUOTES) to restart.
FINISHED!!!!
YOU ARE DONE!!!!
Hope you enjoy, a lot of work has gone in to making this possible on the Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597.
BUGS/ISSUES:
Encryption
Lockscreen password NOT WORKING (DO NOT SET A PASSWORD)
MTP not working in TWRP
Two out of four speakers WORKING
Can only enable adoptable storage in Lineage 16 and carry it over to Lineage 17.1
DEMONSTRATION/REVIEW VIDEO COMING SOON!!!!
BROUGHT TO YOU BY THE ONE AND ONLY: MrHomebrew
Contributors: MrHomebrew, Rupansh and Cale.
Source Code Used To Help Build TWRP For SM-T590/SM-T595/SM-T597
https://github.com/rupansh/android_kernel_samsung_gta2xl
Magisk_PHH and Lineage 16/17.1 GSI: AndyYan
XDA:DevDB Information
[RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597], Kernel for the Samsung Galaxy Tab A series
Contributors
Leonidas87, rupanshji, AndyYan, Cale
Source Code: https://github.com/rupansh/android_kernel_samsung_gta2xl
Kernel Special Features:
Version Information
Status: Stable
Created 2020-02-20
Last Updated 2020-02-20
confirmed working on sm - t590.
many thanks !
supelele said:
confirmed working on sm - t590.
many thanks !
Click to expand...
Click to collapse
You are welcome, thanks for confirming you had success on your end :good:
One issue. Wifi does not stay enabled.
Connection gets disconnected here.
supelele said:
One issue. Wifi does not stay enabled.
Connection gets disconnected here.
Click to expand...
Click to collapse
Try forgetting the network in wifi settings. Reboot and then connect to the network again with the password. Might help, I noticed that one time during testing
MrHomebrew said:
Try forgetting the network in wifi settings. Reboot and then connect to the network again with the password. Might help, I noticed that one time during testing
Click to expand...
Click to collapse
Did try that. It keeps remembered and after a resstart it is connected. But after 2 Minutes it goes to disconnected and stays there.
Tried 2 wifis. Tried aswell reflashing line 17.
No success :/
MrHomebrew said:
Try forgetting the network in wifi settings. Reboot and then connect to the network again with the password. Might help, I noticed that one time during testing
Click to expand...
Click to collapse
Disableing location did the trick
Want to try but...
Firstly, thank you for this. I can only imagine the time and effort to figure this out.
How the hell you guys do this I'll never know. Kudos.
Now, what if I want to install LineageOS 16 without the adoptable storage and get root? Is there a reason one needs adoptable storage for this process?
Nervous about having an eventually-to-fail sd card in there and no spare sd card slot to add storage.
All I really want (sorry, would like) right now is root so I can fiddle with my device. It seems all other attempts at pure root result in bootloop and having to reflash stock. I know, I tried https://forum.xda-developers.com/showthread.php?p=81286251#post81286251 and posted my results.
Is there a method to just install LlineageOS/Gapps, Magisk, Busybox/su?
Not wanting to knock your efforts, but a slimmed down LinOS16 with root installation instr. will be fantastic!
Is there a benefit to having to do the system install with adoptable storage?
Thanks again.
T
TrinityTrip54 said:
Is there a method to just install LlineageOS/Gapps, Magisk, Busybox/su?
Not wanting to knock your efforts, but a slimmed down LinOS16 with root installation instr. will be fantastic!
Is there a benefit to having to do the system install with adoptable storage?
Thanks again.
T
Click to expand...
Click to collapse
You don't have to use adoptable storage it's just an option really. If you want to use lineage 16 you can just fine with even magisk canary builds, might want try out some other GSI a64a ( ARM 32-bit with 64-bit binder, A-only) builds with an AOSP base and see what works. The only benefit would be having extra install space for loads of apps and full access to storage. As far as lineage 17 goes you must flash the magisk-phh for it to even boot but adoptable storage you don't need. Still follow the instructions minus adoptable storage and you'll achieve root in no time. As of right now there's been weekly builds of lineage GSI. Hopefully we'll get a real build of lineage 17 eventually.
Highly recommend orange fox recovery.
whenever i try to flash the recovery i get an error only official released binaries are allowed to be flashed how do i resolve this problem?
Mikxx said:
whenever i try to flash the recovery i get an error only official released binaries are allowed to be flashed how do i resolve this problem?
Click to expand...
Click to collapse
https://www.the***********.com/prenormal-rmm-state-on-samsung-galaxy-guide/
dm.homelinux.com said:
https://www.the***********.com/prenormal-rmm-state-on-samsung-galaxy-guide/
Click to expand...
Click to collapse
link broken but it still helped me out thanks
Boot loop after installing Busybox for Android NDK and MagiskHide Props Config
8.
(VERY IMPORTANT YOU CAN UPDATE (MAGISK MANAGER) BUT NOT (MAGISK) ITSELF!!!! DO NOT UPDATE MAGISK!!!!) YOU WILL END UP IN A BOOT LOOP).
(VERY IMPORTANT) REBOOT TO SYSTEM AND GO IN TO MAGISK MANAGER.
Go to modules in Magisk Manager and install Busybox for Android NDK (DO NOT REBOOT) and also install MagiskHide Props Config (NOW REBOOT).
After reboot go to developer options/settings (System/Advanced/Developer options) and enable Local terminal.
(If developer options is not viewable tap build number in settings/about a bunch of times till it enables)
(Then go back and you should see developer options in settings).
Click to expand...
Click to collapse
Hello community,
I am now at this point. I have installed just Linage 17, without Linage 16 without gapps, because i dont need them.
So, lineage 17 is starting, now I have to prepare Magisk.
I have updated _JUST_ Magisk Manager (see screenshot) and installed two recommended modules (Busybox for Android NDK and MagiskHide Props Config)
After reboot ends up in a boot loop. Interim solution is start to recovery and make factory reset. In this case is Magisk not available. After Magisk installation there is again a loop. I tried this 3 times. What I am doing wrong?
dm.homelinux.com said:
Hello community,
I am now at this point. I have installed just Linage 17, without Linage 16 without gapps, because i dont need them.
So, lineage 17 is starting, now I have to prepare Magisk.
I have updated _JUST_ Magisk Manager (see screenshot) and installed two recommended modules (Busybox for Android NDK and MagiskHide Props Config)
After reboot ends up in a boot loop. Interim solution is start to recovery and make factory reset. In this case is Magisk not available. After Magisk installation there is again a loop. I tried this 3 times. What I am doing wrong?
Click to expand...
Click to collapse
Are you using magisk-phh? Also try using magisk manager Canary
Yes. Step 7
https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download
What ist Magisk Manager canary?
Edit: many thx
https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
It semms to be stable, after I installed this apk. Magisk is now available as app, i can see the installed modules and the system starts correctly.
Do I ned the next steps with su?
The rom works great, but one question, is it possible to get the assistant ambient mode on this device when i place it in my pogodock?
Mikxx said:
The rom works great, but one question, is it possible to get the assistant ambient mode on this device when i place it in my pogodock?
Click to expand...
Click to collapse
As far as I know probably not. These are GSI builds and are not exactly fully supported for our devices but still function pretty good.
---------- Post added at 08:53 AM ---------- Previous post was at 08:53 AM ----------
dm.homelinux.com said:
Yes. Step 7
https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download
What ist Magisk Manager canary?
Edit: many thx
https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
It semms to be stable, after I installed this apk. Magisk is now available as app, i can see the installed modules and the system starts correctly.
Do I ned the next steps with su?
Click to expand...
Click to collapse
Next steps for su? Which steps are you referring too? As soon as you have magisk-phh flashed with Canary manager on 17 you have SU. As far as 17 goes do not update magisk just manager. 16 you can use any magisk up to Canary
koobie777 said:
Next steps for su? Which steps are you referring too? As soon as you have magisk-phh flashed with Canary manager on 17 you have SU. As far as 17 goes do not update magisk just manager. 16 you can use any magisk up to Canary
Click to expand...
Click to collapse
I refer to step 9 in this manual on page 1.
But su is indeed over Magisk configuration. ROM works very well
Magisk also working with LineageOS 16 ?
jb44 said:
Magisk also working with LineageOS 16 ?
Click to expand...
Click to collapse
Yes up to Canary. Use magisk-phh for 17
---------- Post added at 09:35 AM ---------- Previous post was at 09:34 AM ----------
dm.homelinux.com said:
I refer to step 9 in this manual on page 1.
But su is indeed over Magisk configuration. ROM works very well
Click to expand...
Click to collapse
Step 9 is recommended for safteynet
Note
Before getting started, I'm not a developer and I'm not on that level yet but being an enthusiast of Android ROMs especially my favorite ROM Pixel Experience (PE). However what I can contribute (as of now) is to guide newbies and answer people who is confusing with flashing PE ROM, any custom kernels, mods, Gcam and help you out from problems while trying these things.
Tons credits to @jhenrique09, without his great effort there is no born of Pixel Experience project, and we would not have a taste of stock and pure Pixel ROM without having an actual Pixel phone.
It is good that you attempt new things and seek into the freedom of pure Android experience, and the whole world of Android development, though there's some risk when you try something new.
!!! Warning: I am not responsible for any bricked devices, it is your choice to modify your device software.
Pixel Experience ROM official thread - by Henrique Silva @jhenrique09
How to unlock bootloader?
https://xiaomiwiki.github.io/wiki/Unlock_the_bootloader.html
Official ROM downloads:
Download from Pixel Experience website
Screenshots
Check telegraph here!
Pixel Experience Official Wiki Page for Redmi K20 Pro/Mi 9T Pro - Info about raphael & raphaelin
Appreciation to
@jhenrique09, founder and lead developer of Pixel Experience, and maintainer for raphael & raphaelin (Redmi K20 Pro & Mi 9T Pro Series).
@WasikFahim, a friend of mine who assists me for creating this thread.
Thanks to all developers I have been know so far.
And all developers and original creators of the attached files below and for all of the following posts.
Special thanks to @Sandeeep Kiran (TG handle @ sandeeep, due to request from him), who has proposed the idea of creating this new thread for me.
Reserved.
Nice Thread ?
How To Flash Custom Kernels
Hello Guys Hope You're Fine, Today We're Going To Learn How To Flash Custom Kernels In Recovery, So Without Further Due Let's Jump Into It:
I'm Using PitchBlack Recovery
Prerequisite:
*Backup Stock Kernel [Boot.img & Dtbo(Optional)] Image=> 1 & 2
Steps For Flashing Custom Kernels:
1.Go To Recovery.
2.For OF(Go To Files) For TWRP/PBRP(Go To Install). Image=> 3
3.Select Kernel And Swipe to Install. Image=> 4 & 5
4.Wipe Dalvic/Cache.(Optional)
5.Reboot To System.
Enjoy!!!!!! :good::fingers-crossed:
Here Are Some Recommended Kernels:
We Use LOS FOD Implementation.
Gaming & Decent Battery = F1xy
Battery Backup & Decent Gaming = Immensity
Decent Performance + Battery = Englezos (Less gaming)
Mods tutorials
ANX Camera
ANX Camera TWRP
ANX Camera magisk
Working version of ANX magisk: 185
48MP fix for ANX camera magisk module: 181
Which ones should I download? Check attached screenshots below this post.
How to install and setup MIUI camera on PE?
* For ANX Camera TWRP
1. Save zip file to internal storage (/sdcard) and reboot to recovery.
2. For orangefox go to "files", for TWRP or Pitchblack recovery go to "install".
3. Swipe button to install.
4. Reboot to system.
5. Give all permissions to ANX camera, launch and quit app for at least 3 times.
6. You're all done.
* For ANX Camera magisk modules
1. Save both camera and 48MP fix modules to internal storage (/sdcard).
2. Open magisk manager, hamburger icon on top left corner, modules, tap on "+" icon and find ANX camera zip.
3. Same goes with 48MP fix module.
4. Reboot, give all permissions to ANX camera app, then launch & quit app for at least 3 times.
5. You're all done.
* 48MP fix is already included in ANX Camera TWRP, do NOT flash the 48MP fix magisk module.
* No root needed.
+ Credits to ANX developers and contributors, @HSgod, @nuub1k, for porting and debugging MIUI camera to AOSP ROMs.
Custom boot logo
MS drive Downloads
Head to XDA thread for more info, credits for @mouhannadsukkar creating boot logo collection.
Disable force encryption
Force Encrytion and difference compared with decrypted storage
1. All ROMs have force encryption by default for now, which should be enabled while booting the device for the first time.
2. Therefore DFE, also known as "disable force encryption", which shall force the device to be decrypted (Use #-dfe to get the DFE file).
3. If you format data, it will decrypt the encrypted storage, while everything on data partition including internal storage, also known as /sdcard directory, will be erased.
4. However if you already got a decrypted storage, simply wipe data and internal storage won't have any effects, unless you do a format.
5. To keep the storage decrypted, if you want, you will need to flash DFE for every ROM and vendor update.
6. Format data only if you flash custom ROM from stock MIUI, if you want to keep your storage decrypted or you want encrypted without flashing DFE while flashing custom ROMs and vendors (if the ROM uses MIUI vendor).
7. In short formatting data is to remove encryption for an encrypted device.
How to flash DFE?
IMPORTANT: Please make sure you perform a data FORMAT (NOT wipe) via recovery before flashing DFE, otherwise device may end up with bootloop or stuck in bootloader! Everything including all files on internal storage will lost so please backup everything to elsewhere. You have been warned, I am not responsible for data loss.
1. Go to recovery and format data (NOT wiping it, the place where you will type "yes" and confirm formatting).
2. Since internal storage is purged too, copy DFE from your PC or OTG storage etc., flash via recovery.
3. The recovery console will ask you to press volume buttons for picking options, so the recommended key combination is:
+ (vol up)
- (vol down)
- (vol down)
+ (vol up)
4. Done, reboot to system and see if storage is decrypted.
F2FS
What is F2FS?
F2FS, which stands for "Flash-Friendly File System", it was invented by Samsung coorperation, mainly focus on improving random read/write efficiency of flash storage and somewhat extends its lifespan.
Notice!!!
Currently, almost all known custom ROMs support F2FS on cache and data partitions but not system for compatibility and disk quota reasons, usually there's no writing actions to system partitions except flashing/updating ROM or using root access to modify it so keep system partition as EXT4.
How to enable F2FS?
You will lose all of your data including internal storage.
1. In recovery, convert data partition to F2FS via advanced wipe, same for cache partition (Do not convert system partition to F2FS to avoid some possible problems).
2. Flash f2fs-patched-fstab.zip (attached below) via recovery.
3. Reboot.
Note: You will have to flash patch again whenever flashing/wiping vendor, otherwise you will stuck at boot animation.
Fix low microphone problem (magisk needed)
Description
Sometimes, you might feel the microphone sensitivity isn't good enough on AOSP ROMs including Pixel Experience, this might related to device tree (or source code) of K20 Pro/9T Pro series. For instance you make or pick a phone call, using voice call of some IM apps the other side might not hear you clearly, that's the time when you can have a workaround if you have magisk installed.
How to fix?
Same as you install any magisk modules via magisk manager.
magisk_iem_mic_gain_0.3.zip attached below.
Magisk manager recovery mode
What to do if my device stuck at boot animation?
Sometimes, your device might stuck at boot animation because you flashed a buggy magisk module, for obvious reasons you have to delete that for letting your device boot into OS, so what about removing it via recovery? That's how this zip comes - Magisk Manager Recovery Mode.
How?
1. Boot your device to recovery, flash provided zip file.
2. Go to advanced => terminal.
3. Type this command to launch program:
sh /sdcard/mm
4. Type l to list all installed magisk modules, locate the one which might causes the problem.
5. Type r, enter, then the name of module name as the output shown, case-sensitive!
For example:
module[]
You should type:
module
Then enter.
6. If you see there's an X inside brackets like:
module[X]
Then you're good to go.
7. Reboot your phone and that's it.
Troubleshoot and advanced guides
Stuck at bootloader
Sometimes when you flashed ROM, custom recoveries, or updating vendor and try rebooting your device thereafter, your device does not boot into system or recovery but fall into bootloader (fastboot) screen. This is due to verified boot of our device being triggered, so flashing a custom vbmeta will usually get the problem solved.
How to flash vbmeta?
You need a working PC or laptop, USB cable and install fastboot driver if you are using Windows.
1. Download attached vbmeta file to your PC, connect your phone with USB cable, make sure PC has detected the phone and it's connected properly.
2. Open CMD (if using Windows) or terminal (Linux/Mac).
3. Type the following command:
Code:
fastboot flash --disable-verity --disable-verification vbmeta fake_vbmeta_williamfeng.img
4. Reboot your device to either recovery or system, it should work fine now.
Upgrade vendor
Note: You will not lose your data so you don't need to wipe anything, just flash vendor on top of current one, no matter if device is encrypted
1. Download right vendor zip for your device variant, see official PE wiki page.
2. Reboot your device to recovery, copy vendor zip to your internal storage.
3. On your device, select install and flash vendor zip.
4. Reboot to system.
Downgrade vendor
Note: Before you downgrade your vendor you're suggested to backup all your data (including internal storage) elsewhere in case you lose them while doing so.
If your device is decrypted (NOT encrypted), the steps are same as you upgrade vendor.
Otherwise:
1. Download right vendor zip for your device variant, see official PE wiki page.
2. Reboot your device to recovery, copy vendor zip to your internal storage.
3. On your device, select install and flash vendor zip.
4. Format data partition in your recovery (the place where you'll type "yes" and confirm formatting).
5. Reboot to system.
How to update PE ROM?
You don't need to download full zip file on PE, it gives small OTA which can be downloaded from "settings => system => system updater". After downloading simply tap on 'apply/install update', then the device will boot into recovery, update and reboot back into system.
WARNING: Make sure your device always have enough charge (30% or more is suggested) for updating process.
* The update file will be downloaded to /data/system_updates
Error 7 when updating PE
- If you see updating ROM doesn't work and the recovery shows you error 7, please make sure you update vendor to correct one first.
- Try updating your recovery (TWRP/OFOX).
If it still happens, try flashing full ROM zip of latest build instead of using built-in updater from ROM.
Miscellaneous info of Pixel Experience
Changing animation of Pixel Experience - just like you have a real Pixel device!
Power-off your phone and plug into changer, you'll see that.
Video link
First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.DISCLAIMER: Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader
STEPS:
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)STEPS:
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install MagiskSTEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"
3. Now listen carefully, this is very important part of this topic:
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
shafi1885 said:
First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.DISCLAIMER: Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader
STEPS:
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)STEPS:
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install MagiskSTEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"
3. Now listen carefully, this is very important part of this topic:
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
Click to expand...
Click to collapse
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Hussein Gbr said:
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Click to expand...
Click to collapse
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
shafi1885 said:
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
Click to expand...
Click to collapse
My bootloader was unlocked but when i try to use mi flash tool by mistake or by default flash and lock bootloader option with there and the flash didnt go through in last second
Is there a way to unlock the phone if it only turns on in fastboot mode and is not associated with a xiaomi account?
Hello there, I would like to contribute to this tutorial if you agree
There is a way for people that have encrypted storage and no usb otg pendrive:
Step 4.3:
a-alternative. If encrypted, but no OTG Pendrive at your disposal:
You still can use the adb push command to send your Magisk folder into a decrypted part of your phone’s root folder. You are going to use your phone “/tmp” folder.
“/tmp” folder is suitable for temporary files just as our files (We will not need these files anymore after this tutorial). There is no risk to add files into this folder while it is not encrypted but do not delete any files already present into your /tmp folder!
1.Copy your Magisk folder containing your three Magisk files into the Plateform-tool folder:
2.Then in the cmd execute: adb push [replace_brackets_by_your_Magisk_folder_address_location] /tmp
3.Your Magisk folder should be now copied into your /tmp folder
4.twrp > install > select tmp/magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4.5-alternative. (This step only for those that processed through the “a-alternative” step) After rebooting your phone, you might have no chance to access the Magisk folder you’ve pushed earlier into the /tmp folder. However, now you have booted into your MIUI usual OS, you can copy the Magisk folder again into your internal storage using the classical drag and drop thanks to MTP protocol, to continue through this tutorial.
Hope this will help