HELP! I used a bypass to pass xiaomi bootloader and accidently formatted flash - Android Q&A, Help & Troubleshooting

Hi, I'm new here. I did something wrong. I followed this guide.
[GUIDE] How To bypass authentication and flash in EDL with NO auth for FREE
Thanks to: chaosmaster / k4y0z: GitHub / XDA xyzz / xyz`: GitHub / XDA Dinolek: GitHub / XDA How to install: 1. Download the attached file: VD171_MTK-bypass.zip. 2. Extract the file and open the folder. 3. Run and install python...
forum.xda-developers.com
Then I accidently pressed Format Flash and deleted the bootloader.
and my screen wont turn on though i still can see the smartphone vcom usb
Please Help Me

Related

Help me to root coolpad mega 3

Devs,
Could any one dev help me to root and install custom recovery for my coolpad mega 3. It has MT 6737 chip android 6.0.
I would also like the to know it. There's no option to activate Root access in Developer menu directly in the phone. So probably the way is only via USB.
There is no method to root coolpad mega 3 with twrp or any custom recovery.
Hi friend, i have also coolpad mega 3 and i am writing this in my rooted coolpad device. So the question is , how i got root access. Actually rooting coolpad mega 3 was like winning god for me but fortunately i became sucessful in rooting this bloody device.
XDA community doesn't helped me in rooting my COOLPAD MEGA 3. I have rooted it with my own idea and brain.
So the steps are:
1. Download magisk manager latest version and install it in your coolpad mega 3.
2. Download stock firmware of your device.
3. Download vcom drivers and YDGP TOOL With SP FLASH TOOL. Remember all should be of latest version.
4.Install vcom drivers and after that extract your firmware in pc. It will be in the form of .CPB file.
5.Install YDGP TOOL and remember its installation folder. Now launch YDGP tool and on main screen click on select firmware then locate your firmware in pc then choose it. It will start verifying .CPB file and after that it will decompress .CPB file in the installation folder of YDGP TOOL under download folder.
6. Copy your boot.img from YDGP download folder to your coolpad phone storage. Then open magisk manager app and click on install ,then select the boot.img located to the place where you have copied it in phone storage. Click on select and then wait for the process. After that rename and save the patched boot.img to your phone storage. Now open pc and copy patched boot.img from phone storage to pc.
7.Now install and launch SP flash tool and login as developer. Switch of your Coolpad Mega 3.
8.Before above step you have to make a new folder in your pc which will contain scatter file with boot.img. Make a new folder in pc and name it coolpad3 . Go to YDGP INSTALLATION folder and open Download folder .IN Download folder open COOLPAD3053I folder. There will be a file named MtScatter.Txt.Copy it to coolpad3 folder. Also copy the patched boot.img to coolpad3.
Remember that scatter file and boot.img should be in same folder.
9.Follow step 7 and after that connect your switched off coolpadmega 3 to pc with the help of a good branded USB CABLE. Click on select scatter file in SP flashtool then it will load it and after that it will show you a menu having boot with a tick sign. Do not tick any other option. After that click on download button. If you are confused then you can search on google how to flash mediatek phones with SP flash tool.
10.It will flash boot.img patched with magisk to your phone. CONGRATS AFTER REBOOTING YOUR DEVICE YOU WILL HAVE A ROOTED COOLPAD MEGA 3.
YOU CAN CHECK IT BY MAGISK MANAGER THAT YOU HAVE INSTALLED FOR PATCHING BOOT.IMG .IF
both the option show install with a green tick in magisk manager that means your phone have been rooted.????
You can also check root status by installing rootchecker from playstore.
REMemBER THIS METHOD WILL WORK 100%.:good:
---------- Post added at 08:46 AM ---------- Previous post was at 08:37 AM ----------
XDA COMMUNITY WERE NOT ABLE TO ROOT COOLPAD MEGA 3. BECAUSE I HAVE ASKED HOW TO ROOT COOLPAD MEGA 3 TO MANY SENIOR MEMBER BUT THE ANSWER WERE EMPTY.
BUT AFTER THIS XDA COMMUNITY WILL KNOW HOW TO ROOT COOLPAD MEGA 3. I WOULD LIKE TO ASK XDA SENIOR DEVELOPERS "CAN THEY MAKE CUSTOM RECOVERY LIKE TWRP OR ANY OTHER " FOR COOLPAD MEGA 3 specially. IF YES THEN THEY SHOULD RELEASE CUSTOM RECOVERY FOR COOLPAD MEGA 3.
I AM WAITING. ???
step2?
from where do i download stick firmware. (step 2?
rohitwindows7 said:
from where do i download stick firmware. (step 2?
Click to expand...
Click to collapse
From google
Search for coolpad mega 3 stock firmware
CoolPadToolkit can be helpful to make root partly.
I needed to uninstall a lot of bundled apps so I used Root method by Magisk integrated in CoolpadToolkit.
Then I used KingRoot to delete apps.
Coolpad Toolkit
the only tool you want
coolpadtoolkit.wordpress.com

Mecool KM8 P 2GB/16GB S912 Amlogic TV Box Android 7.1, TWRP Root Instructions Russian

Hi all recently purchased the Mecool KM8 P 2GB/16GB S912 Amlogic, updated the firmware to 7.1 but lost root access. I have managed to find some instructions on a Russian website to root the stock firmware but can't make head nor tale of it and don't want to brick the device.
The google translate version of the instructions reads as follows:
To get root 7 Androide did:
1.Nado SuperSu create a text file without an ending .txt textBOOTIMAGE = / dev / block / boot
2. Flash card throw Recovery for 7 Androyd created Fail SuperSu and SuperSU.zip (5,63 MB)
3. Boot into Recovery with USB there "Advanced" ==> "File Manager" find the file on a flash drive that put his name it .SuperSu in and copy it into the folder / system
3. Without leaving the Recovery go to "Set" and set SuperSU.zip (5,63 MB)
Can someone please help to decipher the above?
Here's the link to the instructions website. The downloads are pinned to the top of the page. Please let me know if you have any success...
http://4pda.ru/forum/index.php?showtopic=807465&st=1100#entry62380504
1. Create a texfile with this content:
BOOTIMAGE = /dev/block/boot
If I am not mistaken then this file should be saved wit the name .SuperSU and no extension.
2. Copy this file and the Supersu.zip onto a SD with a working TWRP recovery.
3. The file .SuperSu is now to be copied into the system folder - it does not specify if the one from the box or the one from the recovery is used - I assume the one on the box. But needs to be tested to be sure.
4. Without ending the recovery session go back and install install SuperSu.
Thing is you need a recovery that works with Nougat to do any of this.
But then again translators suck and someone capable of reading russing could bring some light on it....
Managed to get it to work. Steps in common English are as follows:
To get root on Android 7.1:
1. Create a text file (eg in Notepad) and name it Supersu without an ending .txt with the folowing text BOOTIMAGE = / dev / block / boot
2. On a microsd card copy Recovery.img (TWRP 7), the created SuperSu file (from step 1) and SuperSU.zip (5.63 MB)
3. Insert the card into Boax and boot into Recovery.
4. Using theTWRP recovery got to Advanced" then "File Manager" find the created Supersu file (from step 1) and copy it into the folder / system.
5. Without leaving the Recovery go to "Install" and flash SuperSU.zip (5.63 MB) from the Microsd card
can you post the required Files here?
i dont understand russian so i dont know what they wrote on 4pda.ru
I have found all file and attached at end of the Post
1. decompress km8p.zip to the root of your TF-Card so you have 3 Files on the root of your TF-Card (.SuperSU, SuperSU.zip and recovery.img)
2. power off your KM8P
3. Press Reset and hold it
4. Power your Box on and hold Reset
5. If you see the TWRP-Logo you can stop press Reset
6. On the Screen accept write and modifying Systemfiles
7. go to Advanced" then "File Manager" copy .Supersu file from TF-Card in/ system of your Box
8. then go to "Install" and flash SuperSU.zip (5.63 MB) from the TF-Card
9. Reboot and now you have root installed
MetaIIica said:
I have found all file and attached at end of the Post
Click to expand...
Click to collapse
I think you uploaded the wrong file, as the zip file you uploaded only contain one file (km8p), which has no file extension (it is probably a .zip file).
However it is missing the other files you are talking about, so could you upload the right files?
Thanks for the effort!
afehst said:
I think you uploaded the wrong file, as the zip file you uploaded only contain one file (km8p), which has no file extension (it is probably a .zip file).
However it is missing the other files you are talking about, so could you upload the right files?
Thanks for the effort!
Click to expand...
Click to collapse
I attached the TWRP for Android 7 here, if you still need it.
I have also started a thread on how to root with Magisk instead of supersu, as supersu wouldn't work for me.
https://forum.xda-developers.com/android-stick--console-computers/amlogic/howto-km8-p-2gb-8gb-s912-amlogic-tv-box-t3745937

[GUIDE] Manual Oreo update - v190219 - Pie upgrade now supported (Tut #4)

Hi,
in this tutorial I will guide you how to upgrade from Nougat to Oreo and updating Oreo to newer version, when they are released.
NEW! Update Oreo to Pie - in testing now, please report!
ANNOUNCEMENT - 06 March 2019: Since I fried my phone with wrong update files, I don't own a P10 anymore. I'm still active on XDA but can't give as much support as usual for the P10. If you find any issues or have any suggestions, please post it here and qoute me. Everyone is free to use and edit my script and release it in a new threat. If someone needs help with that, let me know.
Special thank are going to @mankindtw who wrote the script and @Blackball who released something similar for the P10Plus.
I just edited the script for working with the P10 to make it easier for you.
DISCLAIMER: I don't give any warranty. I tested this on 5 devices without any problems.
This Tutorial ist just for the Huawei P10 (VTR).
This tutorial has two versions:
Tutorial 1: Upgrading your P10 from Nougat to Oreo
Tutorial 2: Updating to a newer Oreo version.
Prerequisites: You need a sd card with minimum 4gb free space, formatted in FAT32.
Also you need an unlocked bootloader and TWRP installed.
Read first, then do it.
Backup, backup, backup - please, don't blame me when you notice data loss.
For everyone who don't know how to unlock bootloader and install TWRP, here's a short tutorial:
Unlocking bootloader (will void warranty!):
The site is down at the moment. There's no official statement from Huawei if they shut it down completely or if there's just an error on this site. Fact is, at this moment you can only get an unlock code by sending Huawei support an E-Mail or using DC Phoenix (costs around US$5)!
If you found another solution, tell it here for everyone, please!
- Go to settings app and write down you IMEI, Build-Number and Model-Number. VERY IMPORTANT!
- Open phone app and dial *#*#1357946#*#* - write down the Product-ID and Serial Number. VERY VERY IMPORANT!
- Go back to settings, open developer options and activate OEM-Unlock and USB-Debugging.
- Go to this site, login or create account, follow the steps and fill out the forms to get your unlock code.
- VERY VERY VERY IMPORTANT: Write it down on paper, pc, laptop, tablet - everything you have. If you lost it and brick your phone with locked bootloader, you'll not be able to unbrick it without payed services like FunkyHuawei!
- ALSO VERY IMPORTANT: Do a backup of everything you need! Unlocking the bootloader will cause a factory reset, all data will be removed!
- Now turn off your phone.
- Connect it to USB and turn it on while holding the volume-down button.
- You should see the fastboot screen with green FRP Lock and Bootloader Lock.
- AGAIN: BACKUP! Do you have your unlock code save?
- Type following command into your cmd or terminal: "fastboot oem unlock CODE"
- Confirm the unlock with volume-up and power button.
- Done, phone will do a factory reset and the bootloader is unlocked.
Install TWRP:
- Open the developer settings and enable the the "OEM Unlock" and "USB Debugging" if you haven't done it already.
- Download the right TWRP version: TWRP 3.1.1-0 for Nougat by @OldDroid - TWRP 3.1.1 for Oreo by @Blackball.
- Boot into fastboot mode by turning off the phone, connect it via usb to you pc and power it on while holding down Volume-Down until you see the white fastboot screen.
- Flash the TWRP version - there are two different commands for Nougat and Oreo:
Nougat:
Code:
fastboot flash recovery TWRP.IMG
Oreo:
Code:
fastboot flash recovery_ramdisk TWRP.IMG
- Test it by turning off the phone with holding the power buttong until it's off and boot the phone with DISCONNECTED usb while holding Volume-Up.
Now the real thing:
Tutorial 1 - Upgrade Nougat to Oreo
Do not use this to unbrick your P10 or REinstall Oreo! This works only, if you're on Nougat! Otherwise you can full brick your P10!
Mention: I didn't loose any data after upgrading from Nougat to Oreo with this method. None of the guys who tested it noticed any data loss. BUT, no warranty for this!
BACKUP BEFORE YOU UPGADE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". Only tested with B360 FullOTA-MF, one guy bricked his phone using B365 Full-OTA-MF-PV, I think it's because B365 is an update from B360, but I really don't know if B1xx to B365 alway bricks your phone! Just use B360 and then use oreoupdate.zip for updating to a newer version - this method is tested on multiple devices without any problems.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive (alternative link without ads if you don't want to support me ) - Version 060518, MD5 0637269f1dc9b9a509de97ff14559f4a.
- Extract the archive on your sd card - you should have a folder named "oreoupgrade" on it. This folder contains three files: oreoupgrade.zip, VTR_RECOVERY_NoCheck.img and VTR_RECOVERY2_NoCheck.img.
- Put the three update zips you downloaded before inside the "oreoupgrade" folder on sd card.
- Your SD card has to look like this:
{
"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"
}
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the oreoupgrade directory.
- Tap on oreoupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have Oreo installed.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Tutorial 2 - Updating Oreo version
Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!
BACKUP BEFORE YOU UPDATE!
I tested it on 24.03.2018 with my VTR-L29C432. I updated from B360 to B365 without any problems. No data loss, no bugs notices. Update process took around 4 minutes.
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on "filelist". BFullOTA-MF-PV seems to mean "Public Version". I tested it on three devices without any problems but one guy notified me that B365 FullOTA-MF-PV bricked his phone after using this to upgrade from Nougat. For me it works fine.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive (alternative Link without ads if you don't want to support me ) - version 040518, MD5 c4c7b33d104b696a6132f8be1f36ba0b
- Extract the archive on your sd card - you should have a folder named "oreoupdate" on it. This folder contains three files: oreoupdate.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you downloaded before inside the "oreoupdate" folder on sd card.
- Your SD card has to look like this:
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the oreoupdate directory.
- Tap on oreoupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated Oreo to a newer version.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
If there are any issues with this notify me so we can work together to find a solution!
Please post the TWRP log and a screenshot of your oreoupgrade / oreoupdate directory on your sd card with file sizes. With this information it's easier to help.
Tutorial 3 - Updating Oreo version with official EMUI updater
Do not use this if you're on Nougat! This Tutorial is only to upgrade the Oreo / EMUI 8 version! Don't use it to unbrick, if you don't know what you do!
This Method is only if there's an official update released for your device by Huawei. You'll get a system update notification. If there's no such notification use Tutorial #2!
MENTION: I tested it on my device from B365 to B369 without any problems. If there are any issues, please notify me. Brick risk is barely 0 because it's using offical update files downloaded by EMUI.
BACKUP BEFORE YOU UPDATE!
- Check if there's an official update available in system settings. You should also get a notification. DO NOT INSTALL, YET!
- Download this rar archive (alternative Link without ads if you don't want to support me ) - version 130618, MD5 52cb33d74055f01a2fb4425d5b918b18.
- You can choose two different places where you extract it:
- 1. Without root: SD card: Just extract the archive on SD card, so you'll have a directory on it called "officialupdate". Inside this directory are two files: "officialupdate.zip" and "VTR_RECOVERY_OREO-NoCheck.img".
- 2. With root: /cust directory. Extract the archive with a file manager of your choise and put the "officialupdate" directory into /cust.
- Now boot into TWRP and install the officialupdate.zip on SD or in /cust - /cust needs to be mounted. Go to "Mount" and just check "cust". Then go to "Install" and navigate to the .zip file.
- TWRP will install the modified recovery - it's the same one as in Tutorial #2.
- Reboot into system
- Install the update and the update process will start.
Note: The reboot after the update can take a few minutes (my phone took around 5 minutes!). Don't abort the reboot process!
You also need to install the root again after this update!
Note #2: I need testers for it. Please write here in this threat if it worked for your or not with phone information (model, version, etc.).
Tutorial 4 - Upgrading Oreo to Pie - IN TESTING NOW!
Do not use this if you're on Nougat! This Tutorial is only to upgrade EMUI 8 to 9! Don't use it to unbrick, if you don't know what you do!
BACKUP BEFORE YOU UPDATE!
I tested it on 24.03.2018 with my VTR-L29C432. I updated from 8.0.0.381 to 9.0.1.157 without any problems. No data loss, no bugs notices. Update process took around 5 minutes + 5 minutes for booting.
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database or use the links for L09/L29 I provided below.
- When you found your version find the row which containts "FullOTA-MF" and click on "filelist".
- You need three files: update.zip and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded both files rename them after this:
update.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive - version 190219 MD5 37b51e19f70af6a896cadd522342e213
- Extract the archive on your sd card - you should have a folder named "pieupgrade" on it. This folder contains two files: pieupgrade.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you've downloaded before inside the "pieupgrade" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the pieupgrade directory.
- Tap on pieupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated to EMUI 9 / Pie.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Please note, that there's no TWRP for Pie at the moment. You may not be able to install Magisk! If you find a working TWRP, let me know!
Please note that this is too new to know everything. If you have any issues, let me know. I can't guarantee that this script works for you.
Only use your model region, only use it with B376++, only install the Pie-Beta if you know about the risk to brick your phone.
Be also aware that installing not official released version can cause a not certified play protect status! I noticed this on my P10 after updating to 9.0.1.157. I didn't notice any issues with that, yet, but I can be.
Tutorial 5 - Updating Pie and downgrading to Oreo - IN TESTING NOW!
Do not use this with Nougat or Oreo! This script is for Pie, only!
BACKUP BEFORE UPDATING / DOWNGRADING!
This script will work for updating Pie version and also for downgrading back to Oreo, with the right files.
Read the tutorial first before you do anything! BRICK RISK IS HIGH!
Special thanks to @lukasob, who helped me with this script.
- First you need to find your correct firmware for your model on the Huawei Firmware Database.
- ATTENTION FOR DOWNGRADING: There are downgrade updates available, mostly to version 384. Those downgrades are containing only 2 files instead of 3:
- "update.zip"
- "update_full_MODEL_hw_[].zip"
If there's also a "update_data_full_public.zip", it's the wrong downgrade! DON'T USE THIS!
THIS WILL CAUSE FULL HARD BRICK!
- When you downloaded both files rename them after this:
update.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar achive - version 180319 MD5 e53284141f1d93ac2e6ab9d1f528db08
- Extract the archive on your sd card - you should have a folder named "pieupdate" on it. This folder contains four files: pieupdate.zip, VTR_RECOVERY_OREO_NoCheck.img, pie_stock_recovery.img.
- Put the TWO update zips you've downloaded before inside the "pieupdate" folder on sd card.
- Inser the sd into your phone and boot into TWRP (flash the Oreo TWRP which you can find here on XDA. It'll work with this).
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the pieupdate directory.
- Tap on pieupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't to anything wrong, it should take around 2 minutes and the phone will do a reboot.
That's it. You either did an update or a downgrade, depending on which files you've used.
It's really important to flash the correct downgrade files, otherwise you'll brick your phone totally! I did this and even with DC Phoenix I couldn't recover my phone yet.
Flash stock recovery with Pie - TWRP or Root needed
- Download Pie update.zip and extract the UPDATE.APP.
- With Huawei Update Extractor (Google it, please) extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img (you need to disable the file verification in the settings of HUE)
ROOT METHOD (all commands without qoutes):
- Put the two files in the root directory of your phone's internal memory without any directory
- Use a terminal emulator or adb shell on your pc.
- Enter following command to find out which device you're on: "/dev/block/platform/"
- You should see either "ff3b0000.ufs" or "hi_mci.0" after confirm the command with enter - remember it, I call it TYPE in the following commands.
- Access root privileges with "su" --> ENTER
- Now enter two commands and confirm with enter after each:
"dd if=./RECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/recovery_ramdisk" --> ENTER
"dd if=./ERECOVERY_RAMDIS.img of=/dev/block/platform/TYPE/by-name/erecovery_ramdisk" --> ENTER
- Done, if there are no error outputs.
TWRP METHOD:
Download this file and put it on external sd in a directory called "flashrecovery". (used zippyshare, because mega is slow at the moment)
Extract RECOVERY_RAMDIS.img and ERECOVERY_RAMDIS.img from UPDATE.APP and put it into flashrecovery on sd (file names are important and also case sensitive!).
Install the flashrecovery_pie.zip with TWRP. The phone will reboot after flashing the recovery.
Magisk installation - NOUGAT AND OREO ONLY! NOT WORKING ON PIE
It's a bit more complicated to install Magisk with EMUI 9 than it was before.
Instructions can be found here.
I didn't try it, yet. Please report if this works.
EDIT_MAGISK:
I tried to patch recovery image with Magisk but with this the phone doesn't boot with enabled root.
Let me know, if you find any solution.
Thanks for testing @tangoalfa
Addition: Root with Magisk by @Blackball
Special thanks to @mleczan who provided the code for eMMC devices!
KNOWN ISSUES
- @SwiftingDuster got is bootloader loggeg with VTR-L29C636B362 coming from B162. It can be produced by the firmware files, I really don't know.
- eMMC version of P10 can be bricked! Thanks @mleczan for notice. If possible I will release an eMMC version, but without testers I can't do it.
--- U P D A T E - C H A N G E L O G ---
UPDATE 130618 - Only officialupdate
- Fixed an issue with the script, should work know (theoretically - can't test it at the moment!)
UPDATE 020618 - Only officialupdate
- Added a third guide for using official update method by EMUI.
Testers needed!
UPDATE 060518 - Only oreoupgrade
- Added support for eMMC devices
Thanks to @mleczan who provided me information about eMMC devices!
Testers for both versions are still welcome and wanted - I need information if it's working or not (I can't provide any warranty for safety!)
UPDATE 040518 - Only oreoupdate
- Added support for eMMC devices.
Special thanks to @mleczan who provided the code for eMMC devices!
Testers with eMMC devices are needed! Please read post #219!
UPDATE 080418
- Fixed oreoupdate - should work now!
UPDATE 050418
- Added comments to TWRP output
- Added security and fail safety
(check if all files are present and in the right directory, if not, it stops)
IF YOU FIND ANY ERRORS OR TYPOS PLEASE REPORT !!
UPDATE 130318
- Fixed a typo on oreoupdate, sorry for this guys!
UPDATE 120318
- Fixed the script for oreoupdate.
- Added version number 120318 for better overview of updates.
- Added MD5.
- Added firmware links for VTR-L09 and VTR-L29 version B360 provided from hwmt firmware database.
- Added screenshots of sd card directory.
- Edited the tutorial for unlocking bootloader and installing TWRP.
UPDATE 180319
- Added spoilers, for better overview
- Added pieupdate, for updating pie and downgrading to oreo
Greetings,
Jannomag
Can i lock the bootloader again after this Method?
Jannomag said:
Hi,
in this tutorial I will guide you how to upgrade from Nougat to Oreo and updating Oreo to newer version, when they are released.
Special thank are going to @mankindtw who wrote the script and @Blackball who released something similar for the P10Plus.
I just edited the script for working with the P10 to make it easier for you.
DISCLAIMER: I don't give any warranty. I tested this on 5 devices without any problems.
This Tutorial ist just for the Huawei P10 (VTR).
This tutorial has two versions:
Tutorial 1: Upgrading your P10 from Nougat to Oreo
Tutorial 2: Updating to a newer Oreo version.
Prerequisites: You need a sd card with minimum 4gb free space, formatted in FAT32.
Also you need an unlocked bootloader and TWRP installed.
Read first, then do it.
Backup, backup, backup - please, don't blame me when you notice data loss.
For everyone who don't know how to unlock bootloader and install TWRP, here's a short tutorial:
- Save all your data, make a backup. Unlocking the bootloader will cause a factory reset!
- Open the developer settings and enable the the "OEM Unlock" and "USB Debugging".
- Boot into fastboot mode by turning off the phone, connect it via usb to you pc and power it on while holding down Volume-Down until you see the white fastboot screen.
- Download the right TWRP version: TWRP 3.1.1-0 for Nougat by @OldDroid - TWRP 3.1.1 for Oreo by @Blackball.
- Flash the TWRP version - there are two different commands for Nougat and Oreo:
Nougat:
Oreo:
- Test it by turning off the phone with holding the power buttong until it's off and boot the phone with DISCONNECTED usb while holding Volume-Up.
Now the real thing:
Tutorial 1 - Upgrade Nougat to Oreo
Mention: I didn't loose any data after upgrading from Nougat to Oreo with this method. None of the guys who tested it noticed any data loss. BUT, no warranty for this!
BACKUP BEFORE YOU UPGADE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on file list.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive.
- Extract the archive on your sd card - you should have a folder named "upgrade" on it. This folder contains three files: oreoupgrade.zip, VTR_RECOVERY_NoCheck.img and VTR_RECOVERY2_NoCheck.img.
- Put the three update zips you downloaded before inside the "upgrade" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the upgrade folder.
- Tap on oreoupgrade.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have Oreo installed.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
Tutorial 2 - Updating Oreo version
MENTION: This method isn't tested because of the lack of newer version. But it's the same thing as upgrading and should work. I can't give warranty for this. If there will be any problems with it, just contact me and we can work on a solution.
BACKUP BEFORE YOU UPDATEE!
- First you need to find your correct firmware for your model on the Huawei Firmware Database. This is not a rebrand tutorial!
Link: http://pro-teammt.ru/firmware-database
- When you found your version (example VTR-L29C432B360) find the row which containts "FullOTA-MF" and click on file list.
- You need three files: update.zip, update_data_full_public.zip, and update_full_MODEL_hw_[].zip (example update_full_VTR-L29_hw_eu.zip).
- When you downloaded all three files rename it after this:
update.zip stays.
update_data_full_public.zip stays.
update_full_MODEL_hw_[].zip to update_full_hw.zip.
- Download this rar archive.
- Extract the archive on your sd card - you should have a folder named "update" on it. This folder contains three files: oreoupdate.zip, VTR_RECOVERY_OREO_NoCheck.img.
- Put the three update zips you downloaded before inside the "updatee" folder on sd card.
- Insert the sd into your phone and boot into TWRP.
- AGAIN: DO A BACKUP!
- Tap on Install, navigate to your sd card and into the upgrade folder.
- Tap on oreoupdate.zip and install it.
- The phone will restart by itself - don't press any button!
- eRecovery will start and install the update - if you didn't do anything wrong, it should take around 2 minutes and the phone will do a reboot.
- If the phone won't reboot after update wait at least 5 minutes until you do it by yourself (I had this issue with only one P10).
That's it - you should have updated Oreo to a newer version.
The script installs the original recovery, so TWRP is removed. The bootloader stays unlocked.
If there are any issues with this notify me so we can work together to find a solution!
Thanks for testing @tangoalfa
Greetings,
Jannomag
Click to expand...
Click to collapse
Do we have to take FF IMEI check into account before applying this method?
MajaronM said:
Do we have to take FF IMEI check into account before applying this method?
Click to expand...
Click to collapse
FF IMEI check? Do you mean the unlock code generator by Huawei, where you need to enter product no. and IMEI? If yes, you have to do it, because you need to u lock the bootloader.
Jannomag said:
FF IMEI check? Do you mean the unlock code generator by Huawei, where you need to enter product no. and IMEI? If yes, you have to do it, because you need to u lock the bootloader.
Click to expand...
Click to collapse
In Firmware Finder app, you have to check if the update is compatible with your phone. The app check this with the Imei code of the phone. My phone is not yet approved with the actual b360. I was wondering if it was safe to install it.
I can confirm that it Works smoothly as silk!
I went from Romfromfuture B179 worked like a charm.
Thanks.
MajaronM said:
In Firmware Finder app, you have to check if the update is compatible with your phone. The app check this with the Imei code of the phone. My phone is not yet approved with the actual b360. I was wondering if it was safe to install it.
Click to expand...
Click to collapse
Don't use the app. Read the guide, use the Database via Webbrowser on your PC.
Jannomag said:
Don't use the app. Read the guide, use the Database via Webbrowser on your PC.
Click to expand...
Click to collapse
Thanks, I'll give it a try!
Thanks for the tutorial, i find the hwota method more straight forward and the steps are actually pretty much the same to achieve that goal.
LwannaCM said:
Thanks for the tutorial, i find the hwota method more straight forward and the steps are actually pretty much the same to achieve that goal.
Click to expand...
Click to collapse
The script does the same as HWOTA but I know some guys who had problems with HWOTA. Also HWOTA doesn't support the Oreo recovery command, so you have to modify the script by yourself, which isn't easy for everyone. For me this is easier than HWOTA, for others it's not, but you still can choose your favorite method.
I have a problem, I go to install the oreoupdate.zip with all the correct files in the folder but when the device reboots it goes back tot TWRP recovery with this error.
skolebolle said:
I went from Romfromfuture B179 worked like a charm.
Thanks.
Click to expand...
Click to collapse
Please, can you tell me what you do? Did you lost you data? I'm now on 179 FromFuture. Do you have Magisk and what rom you flash?
Sent from my Huawei P10 using XDA Labs
Hi!
I did not lost data at all. Just root. Followed the guide with a room that FF says is approved to my device. Did not restart after update thought. But restarted myself after some minute's.
Supergood rom with speed and good battery management.
Jannomag said:
The script does the same as HWOTA but I know some guys who had problems with HWOTA. Also HWOTA doesn't support the Oreo recovery command, so you have to modify the script by yourself, which isn't easy for everyone. For me this is easier than HWOTA, for others it's not, but you still can choose your favorite method.
Click to expand...
Click to collapse
There you are totally right. I never thought about it yet, because i wans´t curious (or stupid) enough to use the beta. So i wasn´t in the position to update oreo.
Just curious, did you use the hwota8 from mankindtw for this (https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522)?
I can also confirm it´s working, so thanks again!
If it´s ok for you, i will post your guide in my thread?
SeanTho said:
I have a problem, I go to install the oreoupdate.zip with all the correct files in the folder but when the device reboots it goes back tot TWRP recovery with this error.
Click to expand...
Click to collapse
If you read the error text, then you should be able to find a solution by yourself.
The update.zip is missing. Did you download the three update files and placed them into the oreoupgrade folder on SD card?
Jannomag said:
If you read the error text, then you should be able to find a solution by yourself.
The update.zip is missing. Did you download the three update files and placed them into the oreoupgrade folder on SD card?
Click to expand...
Click to collapse
Yes I followed the guide and made sure all the files were in the right place
SeanTho said:
Yes I followed the guide and made sure all the files were in the right place
Click to expand...
Click to collapse
Can you share a screenshot of you SD card content including content of oreoupgrade folder on it, please? I need to be sure. Is your sd card formattet to FAT32?
Jannomag said:
Can you share a screenshot of you SD card content including content of oreoupgrade folder on it, please? I need to be sure. Is your sd card formattet to FAT32?
Click to expand...
Click to collapse
Of course, here you go
And there we have it.
The folder name is wrong, it hast to be "oreoupgrade" and it should've this name when you extract it. The script looks for the path /sdcard/oreoupgrade/...

Root without unlock bootloader any devices

hello everyone ..... i will share the root trick without ubl (unlock bootloader)
this method only applies to root magisk only.
this trick I have tested with mobile phone huawei y5 2017 with android version 6.0
and xiaomi redmi note 3 mtk ..
what you prepare as follows:
1.Firmware same with your phone type (my recommendation is flash FW on your phone)
2.Boot.img from the appropriate firmware of your phone type
3.magisk manager
execution steps:
1. make sure the phone is connected internet
2. open the phone settings to activate usb debugging and install the source check from the outside in the security settings.
3. copy boot.img into sdcard on phone
4. install magisk manager application and open the application,
go to the settings on the top left and search "booted boot output format and you can choose according to your needs (if select img.tar, this works with Odin samsung). make your choice (if img = flash with fastboot or spflashtool, ufibox.
go back and select pairs and you will see 3 options "download zip, patch boot img file, install "
please select "patch img boot file" select file and search boot.img stored in sdcard and ok ... magisk manager will download automatically ... just wait until there is installation process is complete.
after finished you see its results in the internal memory in the folder "magisk manager"
there is a file named "patched_boot.img" that means success
copy patched_boot.img to laptop / pc and rename it to "boot.img" and flash it with the appropriate tool of your phone.
if boot.tar in flash with odin
if boot.img flash with spflashtool (if your chipset is mtk)
just install patched_boot.img your phone is rooted
thanks to @topjohnwu
I am sorry, my English is not good
*remember that all the risks in modification are at risk and I am not responsible for all your failures .....
thanks for visiting and hopefully to suc ...
Does this work with Sony Xperia X Performance (Android oreo) that has ubl no?

Instructions for unlocking the bootloader on Realme 7 5G on Android 12 (Realme UI 3.0).

Instructions for unlocking the bootloader on Android 12 (Realme UI 3.0).
1. First of all, you need to roll back to Android 10 (Realme UI 1.0) in this way — https://4pda.to/forum/index.php?showtopic=1018185&view=findpost&p=108649502 .
2. Then unlock the bootloader according to the instructions from here — https://4pda.to/forum/index.php?showtopic=1018185&view=findpost&p=108311204 .
3. After you will need to download the Android 11 firmware (Realme UI 2.0) from this link — http://rms01.realme.net/SW/realme service/realme 7 5G/20680/RMX2111GDPR_11_C.09_2022011518240000.zip .
4. After that, you need to unpack it to any folder on your PC. Next , you find a file with the extension in the unpacked files .ofp and unpack it using the MCT OFP Extractor program to another separate folder.
6. After completing the process, you search in the resulting file folder for four files that are parts of the super partition image with the .img extension. Having found them, you open the folder with adb tools and run from it
the command line, after which the smartphone, switched to Fastboot mode (it can also be flashed in Fastbootd, is flashed both there and there), connect to the PC and flash these files in the order in which they are located in the folder with this command, changing only the name of the file being flashed:
fastboot flash super file name.img
7. At the end, you run the program to bypass the protection in the SP Flash Tool and this utility itself, specify in it as Scatter and Authentication files the files from the last folder (into which the extension file was unpacked.ofp), connect a smartphone in Bootrom mode, disable protection and flash all remaining files.
8. Then you download this Android 12 firmware (Realme UI 3.0) — https://rms01.realme.net/sw/RMX2111GDPR_11_F.04_2022080921130000.zip and repeat steps 4 to 7, flashing files already from it.
In the end, you will get a smartphone on the latest firmware with an unlocked bootloader, if you do everything right.
Not working
Hi. How to fix it ?

Categories

Resources