[Guide] Unbricking P20 - Huawei P20 Guides, News, & Discussion

So I kinda bricked my phone when trying to go back from Beta 9.0 to Latest Official. So I decided to give some kind of guide to try and assist the people Who also got stuck. Beware that I couldnt get ADB to work as it kept complaining about drivers which I couldnt make work but it was due toe phone being bricked. If you can get into ADB and have TWRP already loaded then you can simply transfer the three files from below to your phone and follow this guide with the below three files. It works perfectly : https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
If you have the same issue as me then follow the following procedure :
I have the Dual Sim EML-L29C185 (How do I know this?) Well at first I didnt so I had to figure out. So let look at the following :
EML-L29 - Dual Sim Model
C185 - South African Region Model which you can get from the following post : https://forum.xda-developers.com/8-lite/how-to/huawei-regional-codes-t3740473
So now that you know the model number go to this site and type in the model number eg : eml-l29c185 and you will get a list of firmwares for your phone : https://pro-teammt.ru/firmware-database/?firmware_model=eml-l29c185&firmware_page=0
{
"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"
}
Click on the file list and in the example below you will see 4 files but only need three. The EM09 and L29 have the same update.zip and same update_data_full_public.zip but different EML-XXX_hw_meafnaf/update_full_EML-XXX_hw_meafnaf.zip files so get the three files you need for your model.
Now download the Huawei Multitool from here : http://4pda.ru/forum/index.php?showtopic=759172&st=0#entry51396624
and The update.zip extractor from here : https://forum.xda-developers.com/showthread.php?t=2433454
We need to manually flash all the broken image files in the phone with the Multitool but the files we need to flash are inside the update.zip file and thats why need the extractor.
So unzip the update .zip file. Then point the extractor to the folder so you can extract the files needed by the Multitool.
The following Three files need to be flashed
System [Called System.img]
Boot [Called Ramdisk.img]
Recovery [Called Recovery_Ramdisk.img] make sure it is in the folder and rename it correctly. Mine was recovery_ramdis.img without the K so had to rename it otherwise multitool wont flash it]
You can also flash it manually without multitool with the following commands :
fastboot flash ramdisk ramdisk.img
fastboot flash system system.img
fastboot flash recovery_ramdisk recovery_ramdisk.img
Start your phone in Recovery mode : Switch off. Hold vol down and keep holding it and plug usb cable in. Or in TWRP reboot Bootloader.
Start multitool and click on the unbrick tab on top and follow the instructions. That worked for me.
After it was done I transfered the 3 downlaoded files to the phone and followed the procedure to make sure all 3 files are flashed because multitool only uses the update.zip file and i dont think it fixed all the region stuff but this procedure did :
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279

One more

Related

Yureka downgrade lollipop 5.0 to kitkat 4.4.4

Hello Members, I am about to share the final method for downgrading Yureka Lollipop to Kitkat Stock Rom.
You need to download these files
1. CM11 FASTBOOT SIGNED.ZIP DOWNLOAD LINK: http://builds.cyngn.com/factory/tomato/cm-11.0-XNPH05Q-tomato-signed-fastboot.zip
2. FASTBOOT DRIVERS DOWNLOAD LINK: https://drive.google.com/file/d/0B0_IwOvcRE4gWkpiRTBlenJoR1k/view?usp=sharing
3.LIST OF COMMANDS AND BAT FILE INCLUDED DOWNLOAD LINK: https://drive.google.com/file/d/0B0_IwOvcRE4gODk4R09GTDVVWW8/view?usp=sharing
You can enter each commands step by step or click on the bat file. But don't prefer the bat file procedure, you may get errors. I'm not responsible for any hard brick. try with on own risk.
Procedure:
1. Download these above files
2. Create a Folder name it as "Flash".
3. Extract CM11 Fastboot Signed and Fastboot Zips in that "Flash" Folder which you have just created.
4. Open the Folder and CLICK on the SHIFT button and right clicked on the mouse. You can see the "Open Command Window Here".
5. Clicking on " Open Command Window from here" will open a command window.
6. Switch off your yureka and press volume plus button and connect to the computer.
7. You will see the phone has been started in Fastboot Mode.
8. Now, You need to enter the given commands one bye one or just click on FLASH_ALL.bat file, which will flash everything easily.
9. Final step is to Reboot in Normal Mode.
10. You will be in KITKAT.
{
"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"
}
For more detail, I have uploaded a video in youtube. Please watch it. If I Helped you then please HIT THANKS.
fastboot
I am unable to set in fastboot device...
I tried a lot..can you please tell me the process of fastbooting the device
after done that procedure am i able to flash any custom rom based on cm 11 ?
after done that procedure am i able to flash any custom rom based on cm 11 ? or i have to rerooted my phone again ? plz send me rply bcoz i m going to downgrade to kitkat from buggy lollypop .

[TOOL][VINCE] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the Xiaomi Redmi 5 Plus's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
I want to specify that this tool can't bypass Xiaomi Bootloader Unlock procedure but all others function are working
Make this tool to enable diag port open without root permissions... My phones imei id is lost
not unlock bootloader my device. is redmi5plus.
[question]
So you are saying that this tool isnt compatible with other phones? Is the Device list updated over the years or what?
Please give us the tutorial and link of downloaded files that needed to flash in this Phone, I'm having a hard time to understand How this thing work

Magisk patched boot.img for OOS 11.0.6

Can anyone share magisk 24 patched boot.img for 11.0.6.1 version of stock global rom?
I was able to extract and patch boot.img from the update file. Now my problem is I can't get PC to recognize the device. Obviously already tried reinstalling device drivers + ADB, turned on/off USB debugging and default USB setting. Any ideas? Alternatively, any way to flash boot.img or get root without PC?
yeah, if someone can provide the patched boot img for 11.0.6.1 HD65AA, that would be great!
See Guides section
@sathya
I have extracted for you stock boot.img from OnePlus 7T OxygenOS 11.0.6.1.HD65AA OnePlus7TOxygen_14.O.32_OTA_0320_all_2202112234_3f24a87f818973
{
"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"
}
Download:
Zippyshare.com - [now defunct] Free File Hosting
So if you are running now OxygenOS 11.0.6.1.HD65AA without any mods and root just paste this boot.img file into main directory of your phone.
Start Magisk and select this file and let it patch. After patch copy magisk patched boot.img to your folder on your PC where you have fastboot files.
Would be easier to change name of patched file just to boot.img
Enter to fastboot mode on your phone and flash patched file using commands:
fastboot flash boot boot.img
Restart phone and you are rooted
I am always using this method.
But I just downgrade from OOS11 to 10 becuase is just terrible.
Wanna know more details PM me.
Here y'all go
magisk_patched-24100.img | by benv1 for OnePlus 7T
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
ystokar said:
I was able to extract and patch boot.img from the update file. Now my problem is I can't get PC to recognize the device. Obviously already tried reinstalling device drivers + ADB, turned on/off USB debugging and default USB setting. Any ideas? Alternatively, any way to flash boot.img or get root without PC?
Click to expand...
Click to collapse
solved problem by deep cleaning of my phone's USB-C port...

Question help me extract recovery.img

Hello all, I am trying to make a custom recovery for my new phone, the realme gt me rmx3363. However this is my first phone that is A/B partitioned so I don't know what to do fully. I am trying to extract the recovery.img because that is whats needed in order to make a custom recovery. However, when I look into the device firmware the only image files I see are: boot, bootloader, dbto, radio, vbmeta, vbmeta_system and vendor_boot. The system files are all seperated into "sparsechunks".
On a non-A/B device getting the recovery was as easy as downloading the stock firmware, extracting, and then recovery.img was right there. Now it seems to be different and I don't know what to do, I couldn't find anything on google about how to do this. I am sure it is easy enough though. Thank you in advance.
{
"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"
}
NextB said:
Hello all, I am trying to make a custom recovery for my new phone, the realme gt me rmx3363. However this is my first phone that is A/B partitioned so I don't know what to do fully. I am trying to extract the recovery.img because that is whats needed in order to make a custom recovery. However, when I look into the device firmware the only image files I see are: boot, bootloader, dbto, radio, vbmeta, vbmeta_system and vendor_boot. The system files are all seperated into "sparsechunks".
On a non-A/B device getting the recovery was as easy as downloading the stock firmware, extracting, and then recovery.img was right there. Now it seems to be different and I don't know what to do, I couldn't find anything on google about how to do this. I am sure it is easy enough though. Thank you in advance.View attachment 5549789
Click to expand...
Click to collapse
I have the same proble with my tecno camon 17 pro mediatek mt6587 helio g95 on android11. let me know if you find a solution.. thanks
Try
https://github.com/twrpdtgen/twrpdtgen
It says supports Android 12.
"Create a TWRP-compatible device tree only from an Android recovery image (or a boot image if the device uses non-dynamic partitions A/B) of your device's stock ROM It has been confirmed that this script supports images built starting from Android 4.4 up to Android 12"
@NextB Having the exact same issue on my Blackview BV8800.
The recovery partition is nowhere to be seen. Here's an Interesting article mentioning this scenario from the android docs. Basically, it says that the recovery code is shipped in boot_vendor.img !
@retiredtab Pardon me if I do not follow, how can mapping out a device tree help us here?
I have a feeling that this tool might help us get done: https://github.com/cfig/Android_boot_image_editor.
Basically, the flow I am thinking about is:
1. Grab vendor_boot.img unpack with it.
2. Grab twrp.img unpack with it.
3. Replace recovery code in 1 with the one in 2.
4. Repack boot_vendor.img.
5. Flash boot_vendor.img with fastboot.
Now, in my case with a mediatek processor, it's more complicated as I have to "port" twrp first, and to do that, I first need a vanilla recovery.img, so I will have to reconstruct that too at some point.
Just found an interesting method with Carliv Image Kitchen tool, seems very promising, and maybe that it the solution we seek: Here's a video demo'ing the method:
And according to the video above, the recovery code is in boot.img not boot_vendor.img!

[GUIDE] Instructions to Restore ASUS Zenfone Max Pro M2 Serial Number

❈ Caution ​I won't be responsible for any device brick or any data lost or any loss of employment because of brick device. Follow it on your own risk​❈ Notes​• You will lose your widevine L1 certificate
• Make sure to backup your persist partition using TWRP or ORFX recovery
• Use TWRP 3.3.1-0 or ORFOX R10.1_14 if you are gonna flash Android 9 (Pie) stock rom
❈ Prerequisite​• Download sn.bin file from here (https://t.me/ZenfoneMaxProM2Official/1021187)
• Download X01BD flashable persist file from here (https://t.me/ZenfoneMaxProM2Official/1021342)
• Download the TWRP or ORFOX recovery (I have used ORFOX R10.1_14 recovery personally)
• Prepare the stock ROM for TWRP flashable. Follow the guide here (https://telegra.ph/X01BD-Modify-firmware-03-30) Or download it from here (https://telegra.ph/Links-of-stock-ROM-both-stock-recovery-and-TWRP-flashable-links-12-08)
❈ Steps​1. First, log in to the ASUS website OR Find your device serial number or check the device box
{
"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"
}
2. Open sn.bin, it will look like the above, type your serial number at the place of "JBXXXXXXXXXXXXX". Don't edit anything else.
3. Save the file, rename it to ".sn.bin" and copy it to your sd card.
4. Make a backup of your data (not recovery backup) as we have to flash the stock ROM
5. Flash the TWRP or ORFOX recovery if you haven't already.
6. Then take a backup of Persist Partition on SDcard or copy it to your PC.
7. Flash the X01BD flashable persist zip file downloaded early. Flash it directly as a ZIP file.
8. Mount the persist partition.
9. Copy the ".sn.bin" file to the root of persist folder. (for noobs - copy the file to the inside of persist folder.)
10. Flash the stock from either Android 9 or Android 10. No need to relock the bootloader. (Note- for flashing pie ROM, TWRP 3.3.1-0 or ORFOX R10.1_14 only works. Later versions won't work)
Your Serial Number should have been restored now. You can return to any custom ROM now, the Serial Number will be retained. Just don't format the persist partition

Categories

Resources