I am trying to fix my Huawei P30 (Android 10) which gets stuck in recovery mode. I tried to fix it by using eRecovery but I get the error "Get Package info failed".
Around the internet, I was told to flash a new ROM to solve this problem but there is no tutorial for flashing stock ROMs for Huawei P30 on the internet.
My Huawei P30 does not have an SD Card slot meaning I can't use the method of adding update.app to dload folder on an sd card.
I also cannot use ADB fastboot because the Huawei Android 10 does not have the image files required (boot.img, recovery.img, etc) Instead it has a myriad of images like Super.img, Ramdisk.img, erocovery.img etc
I don't know which ones to select because I am unable to find a tutorial on the internet that tells me which files to select.
I also cannot use SP Flash tool because Android 10 stock ROMs do not have scatter file XML or txt (it has update.app)
I am unable to use SigmaKey as well because of the "SmartCard resource manager not running" error ( I'm on windows 10)
I have exhausted many options with no luck, please help me
{Mod edit: Quoted post has been deleted}
Hi bro I have same error Huawei P30 package info failed, I send PM, you can help bro?
Related
since i rooted my phone huawei honor 6 L02 i cannot perform the automatic update, i downloaded update.app from the emui website with the right build number, i put it in my sd card "dload" folder and when i chose "local update" on my phone, it boots in to recovery. I found the "dload" folder in recovery and when i try to open it it says "no files found" PLEASE HELP ME I REALLY NEED YOUR HELP
How to find dload folder using stock recovery??
Or if you are using CWM you can't flash update.app with that recovery.
You need to be on stock recovery to update. TWRP or CWM does can not install official updates.
And even if you are on stock recovery updates may fail (especially OTA:s) if you have modified certain stock system files while rooted.
is this thread helping? http://forum.xda-developers.com/honor-6/general/honor-6-stock-roms-t2963180
My phone is dead in water.. I have TWRP that complains that the system partition is read only,
I have erecovery that cannot says "getting package info failed" (dies afer "getting package info from server"), and manual downloading of image 138 putting it in dload folder of SDCARD did not go -- it complained that it was not the right version I think..
What can I do now? I thought that I ought to restore the recovery partition, but I can't seem to find it anywhere..
I'm going nuts here
HELP!!
PS: I have been downloading the firmwares from http://hwmt.ru/oth/HWFF/info/view.php?find_model=mha , they have two sets: Do I need the OTA or the FULL version to be put into SDCARD's "dload" folder?
You need the FULL version. OTA means "over the air update", and is meant to be applied from a specific version to bring you to a newer version without having to download everything.
tkalfaoglu said:
My phone is dead in water.. I have TWRP that complains that the system partition is read only,
I have erecovery that cannot says "getting package info failed" (dies afer "getting package info from server"), and manual downloading of image 138 putting it in dload folder of SDCARD did not go -- it complained that it was not the right version I think..
What can I do now? I thought that I ought to restore the recovery partition, but I can't seem to find it anywhere..
I'm going nuts here
HELP!!
PS: I have been downloading the firmwares from http://hwmt.ru/oth/HWFF/info/view.php?find_model=mha , they have two sets: Do I need the OTA or the FULL version to be put into SDCARD's "dload" folder?
Click to expand...
Click to collapse
well this is a long shot,try to unlock ur BL again.after that try to boot into twrp.and for now only L29C636 n AL00C00 have offline update files that can be flash thru dload folder.
edit-if you need stock recovery actually u can downlaod the full fw of your build and extract update.app using huawei extractor and flash the recovery.img thru twrp or adb
If you can, try firmware finder. For that to work your phone must boot. Or you can go with FunkyHuawei, but that costs money to use.
Both requires stock recovery to install though. And as @eddmecha says, only 2 builds are offline installable.
The system being read only in TWRP is normal as its added as RO in fstab. And if you have dm-verity enabled its no point in installing anything to /system.
>well this is a long shot,try to unlock ur BL again.after that try to boot into twrp.and for now >only L29C636 n AL00C00 have offline update files that can be flash thru dload folder.
>edit-if you need stock recovery actually u can downlaod the full fw of your build and >extract update.app using huawei extractor and flash the recovery.img thru twrp or adb
Thank you very much; however, there is a problem with the huawei extractor: The extractor works and creates unknown_nn.img files, and there is another script, HuaweiFinder or something that renames them by guessing their contents. I have the "unknown" files, but that renaming script no longer works -- (it dies with FINDSTR errors).
So I can't find the recovery.. perhaps someone could do a "strings recovery.img" and tell me what I suppose to see in there, so I can do the same search amongs my unknown_nn.img files.. Many thanks! -t
eddmecha said:
well this is a long shot,try to unlock ur BL again.after that try to boot into twrp.and for now only L29C636 n AL00C00 have offline update files that can be flash thru dload folder.
edit-if you need stock recovery actually u can downlaod the full fw of your build and extract update.app using huawei extractor and flash the recovery.img thru twrp or adb
Click to expand...
Click to collapse
I am right now trying to do that -- to fix the recovery to stock, so that eRecovery will let me recover anything!
But can't find it amongst the extracted "unknown_file.nn" files ..
tkalfaoglu said:
I am right now trying to do that -- to fix the recovery to stock, so that eRecovery will let me recover anything!
But can't find it amongst the extracted "unknown_file.nn" files ..
Click to expand...
Click to collapse
from whr did u download the huawei extractor?
https://forum.xda-developers.com/showthread.php?t=2433454
is it this one?
eddmecha said:
from whr did u download the huawei extractor?
https://forum.xda-developers.com/showthread.php?t=2433454
is it this one?
Click to expand...
Click to collapse
I totally forgot about that one! I instead had used the one that required Perl..
I'm downloading and working on it now; many thanks!!
-t
UPDATE: After removing TWRP (with tears in my eyes) with:
sudo fastboot flash recovery RECOVERY.img
I was able to get my phone back.. It works now!
Greetings
Does any1 know is there a (windows) app to works with phone bootloader to flash images for Honor like DC unlocker.
Looking forward for it.
StratOS_HTC said:
Greetings Does any1 know is there a (windows) app to works with phone bootloader to flash images for Honor like DC unlocker.
Looking forward for it.
Click to expand...
Click to collapse
Have you looked at SRK Tool? Could possibly help. Looks like they made some provisions for using it with the Honor 8 in the changelog.
https://forum.xda-developers.com/showthread.php?p=66627614
And according to this it works with the bootloader for Huawei devices.
Obviously when messing with system partitions be careful too. It's possible to brick the device. You already unlocked your bootloader I imagine. Are you trying to flash a different version or something?
EDIT: I keep seeing these instances for Huawei too where you can flash a system image simply by making a folder called "dload" in the root of your internal storage and just placing your system image(or UPDATE.APP file) in there and just rebooting your device into recovery mode to automatically install the image. Might be easier if you have such a file.
Thank you for support.Have used a lot of flashing and found out that the flashing sequence is important.Some flashes can only be done with use of recovery.
The sequence is problem.
Made some success with init.d support on boot.img and some initrd changes allready.
Have made own autoroot package with init.d for CF superuser and it's working.
Trying to make script with adb and fastboot now or TWRP update zip recovery script for it.
(Dev block raw copy)
Looking for program support to check out for sequence and online status of flashing of original Huawei .app.
Hey,
after my phone (L09 C636, EMUI 5, B380, rooted) began to do really crazy things yesterday (seemed like SuperSU was the problem) I decided to reset it completely because installation was a long and dirty path.
Here my steps (some missing, did to many things):
- don't know anymore how I started hours ago...
- tried several things with MultiTool and Huwei Update extractor
- wasn't able to enter something else than eRecovery and fastboot for hours
- got TWRP (3.1.1.0) run after several flashes of differtent versions
- no access to sdcard and not shown on PC (only ext SD)
- got Backup (EMUI 5, rooted) restored (without Vendor, Product, Version because with fails)
- bootloop
- sdcard accessable in TWRP and on PC
- tried dload way with different firmware versions (B130, B360, B380, failes (update.app inside dload, HuWoc (don't know name) folder deleted on sdcard)
So in summary I should have a colorfull shake of different parts of several firmwares, backups and internet guides.
Could anyone give me steps how I can get everything reseted and a clean phone? Don't need to detailed description, just steps that make the phone clean and runable so I can reinstall everything.
Thank you!
0mrwhatsupguy0 said:
Hey,
after my phone (L09 C636, EMUI 5, B380, rooted) began to do really crazy things yesterday (seemed like SuperSU was the problem) I decided to reset it completely because installation was a long and dirty path.
Here my steps (some missing, did to many things):
- don't know anymore how I started hours ago...
- tried several things with MultiTool and Huwei Update extractor
- wasn't able to enter something else than eRecovery and fastboot for hours
- got TWRP (3.1.1.0) run after several flashes of differtent versions
- no access to sdcard and not shown on PC (only ext SD)
- got Backup (EMUI 5, rooted) restored (without Vendor, Product, Version because with fails)
- bootloop
- sdcard accessable in TWRP and on PC
- tried dload way with different firmware versions (B130, B360, B380, failes (update.app inside dload, HuWoc (don't know name) folder deleted on sdcard)
So in summary I should have a colorfull shake of different parts of several firmwares, backups and internet guides.
Could anyone give me steps how I can get everything reseted and a clean phone? Don't need to detailed description, just steps that make the phone clean and runable so I can reinstall everything.
Thank you!
Click to expand...
Click to collapse
I had the same problem, first of all I used Huawei firmware extractor, so I flashed from fastboot recovery, recovery2 and boot(remember to use emui 5 firmware, with older version it will fail)
After that I used rollback package from dload and then I have installed a full marshmallow firmware from dload ...then updated to emui 5 and rooted again.
The Update.app hat to get directly in the dload folder on the external SD right? dload tells me the package doesn't exist...
Edit: getting tired. Copied the rollback as zip next try...
Edit: Rollback successful
Edit: THANK YOU! Got a runnig phone with Marshmellow that I can work with
Steps were just:
- Extracted recovery, recovery2 and boot out of B380 package
- flash them with fastboot
- install rollback package with dload
- install B130 (Marshmellow)
Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
You need unlocked bootloader for this
Yes
lapora said:
You need unlocked bootloader for this
Click to expand...
Click to collapse
I have provided complete guide to unlock bootloader
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
lapora said:
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
Click to expand...
Click to collapse
You tried to make twrp? Magisk works man.
hi , i can't find IMG file into update.zip ? why
ouawai said:
hi , i can't find IMG file into update.zip ? why
Click to expand...
Click to collapse
It´s inside the file "update.app". You need a special tool to extract.
Please take a look to this thread:
https://forum.xda-developers.com/mediapad-m5/how-to/root-root-guide-huawei-mediapad-m5-t3786157
From the M5 guide:
"Download the full stock rom (update.zip) from the site I linked in the credits. Extract UPDATE.APP file from the zip. Then use HuaweiUpdateExtractor to extract ramdisk.img specific to your device"
I might be dumb AF but these guides are incomplete :/
Can anybody please share the Profiles.xml containing the images for the M5 Lite?
So far I used the Firmware Finder for downloading the latest rom which contains the UPDATE.APP and also downloaded the HuaweiUpdateExtractor but without the right profile it won't open file.
EDIT: currently following the main guide about extracting the ramdisk image: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/
EDIT-2: guide (the one of my link above, not the guide of this thread) followed and finally rooted! Man, what a journey.
https://topjohnwu.github.io/Magisk/install.html
Rooting Huawei Mediapad M5 Lite ( All Editions )
Requirements on drumiec edition:
1. Unlocked Huawei Mediapad M5 lite.
2. Minimal ADB Tools [also added to post]
3. WinRar or other extraction tool
4. Magisk Manager apk file from original XDA topic.
5. Huawei Update Extractor [UPDATED: v0.9.9.5] [also added to post]
6. Original Firmware update.zip of current device you are running from https://pro-teammt.ru/en/online-firmware-database/
I used website that actually belong to Huawei Firmware Finder aplication TeamMT, so will give you same result with searching database (look at screen1.jpg - attached to post)
When you will find your firmware version click on filelist and pick the first link, usually is the largest file from all 3 links (like 1.8GB for example).
7. Download update.zip and extract UPDATE.APP from inside using WinRAR or so.
8. Open Huawei Update Extractor and open with it UPDATE.APP file by clicking [...] button.
Important: If program will not let you open the file because of some CRC errors, go on settings tab and uncheck Verify Header Checksum.
For me was not possible to open UPDATE.APP without previous step.
9. Find RAMDISK.img file on the list and extract it.
10. Copy RAMDISK.img file to tablet at any place.
11. Install Magisk Manager apk on tablet.
12. Follow the original guide.
Notice: Magisk will show you output location of your patched ramdisk file right after it finish processing it.
Latest update.zip for Huawei Mediapad M5 Lite 10.1 linked here:
FW version: BAH2-W19 8.0.0.230 C431 update.zip download
drumiec said:
10. Copy RAMDISK.img file to tablet at any place.
Click to expand...
Click to collapse
use
Code:
adb pull
and
Code:
adb push
to achieve the transfers as people noticed that using MTP can corrupt the file:
Code:
1. adb push /path/to/RAMDISK.IMG /sdcard
2. Patch the file using Magisk.
3. adb pull /sdcard/Download/magisk_patched.img ./
And then flash it through fastboot.
Hey Bossman, im stuck at the very end. I copied the patched magisk img to my pc folder where the adb is and when i type the fastboot flash ramdisk ****** it says
"error: cannot load 'patched-ramdisk.img': No such file or directory"
I dont know what im doing wrong?
the adb debugging on and im at the bootloader screen and my stuff is unlocked.
please help me, im not sure where im going wrong, the directions are so simple.
edit* nvm i fixed it
i had to do that adb pull and it worked from there. thank you again so much. i dont know what im going to do with this huawei device but online it said it was a good tablet to have so maybe more will come with this. if not, i can always use it as a security monitor? lol thanks again, have a great night!
sadiqkarur said:
Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
Click to expand...
Click to collapse
Same issue here.
The solution is written on the Magisk Homepage:
Don't extract the file with Zarchive.
Download the file update. Zip from the Tablet to the PC (with the Huawei Tool) and unzip the file one time with 7zip.
Use the tool Huawei Firmware extracter. Disable in the settings the checksumme check and extract the Ramdisk.img. Copy the file back to the Tablet and let it patch from Magisk. Copy the patched file back to the PC, boot the Tablet into Fastboot (via adb reboot bootloader) and flash the Ram disk.img.
Remember to active at every reboot the USB Debugging in the Dev settings. It's disabled automatically.
Thanks for the guide. Should I unroot device if I get a new official update?
With the updates I lost my root access which I was using for multi user on my M5 lite Wifi
So I had to do the whole process again.
Here is the patched file for the version : BAH2-W19 8.0.0.278 (OCEC431)
so if you have the same version you can skip some steps and flash it.
firmware : BAH2-W19OCEC431B278
https://www.mediafire.com/file/mizbqmyztiuyj13/magisk_patched.img/file
You 'll have to re-edit the file to enable the multiuser (if you already did it previously the users will still have their config)
check there https://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
drumiec said:
Rooting Huawei Mediapad M5 Lite ( All Editions )
Requirements on drumiec edition:
1. Unlocked Huawei Mediapad M5 lite.
2. Minimal ADB Tools [also added to post]
3. WinRar or other extraction tool
4. Magisk Manager apk file from original XDA topic.
5. Huawei Update Extractor [UPDATED: v0.9.9.5] [also added to post]
6. Original Firmware update.zip of current device you are running from https://pro-teammt.ru/en/online-firmware-database/
I used website that actually belong to Huawei Firmware Finder aplication TeamMT, so will give you same result with searching database (look at screen1.jpg - attached to post)
When you will find your firmware version click on filelist and pick the first link, usually is the largest file from all 3 links (like 1.8GB for example).
7. Download update.zip and extract UPDATE.APP from inside using WinRAR or so.
8. Open Huawei Update Extractor and open with it UPDATE.APP file by clicking [...] button.
Important: If program will not let you open the file because of some CRC errors, go on settings tab and uncheck Verify Header Checksum.
For me was not possible to open UPDATE.APP without previous step.
9. Find RAMDISK.img file on the list and extract it.
10. Copy RAMDISK.img file to tablet at any place.
11. Install Magisk Manager apk on tablet.
12. Follow the original guide.
Notice: Magisk will show you output location of your patched ramdisk file right after it finish processing it.
Latest update.zip for Huawei Mediapad M5 Lite 10.1 linked here:
FW version: BAH2-W19 8.0.0.230 C431 update.zip download
Click to expand...
Click to collapse
tbozo said:
With the updates I lost my root access which I was using for multi user on my M5 lite Wifi
So I had to do the whole process again.
Here is the patched file for the version : BAH2-W19 8.0.0.278 (OCEC431)
so if you have the same version you can skip some steps and flash it.
firmware : BAH2-W19OCEC431B278
https://www.mediafire.com/file/mizbqmyztiuyj13/magisk_patched.img/file
You 'll have to re-edit the file to enable the multiuser (if you already did it previously the users will still have their config)
check there https://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
Click to expand...
Click to collapse
So with this file, the process from the OP is shortened to:
1. Type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
2. Now type
Code:
fastboot flash ramdisk magisk_patched.img
(above file for BAH2-W19 8.0.0.278 (OCEC431)).
3. Your device is Successfully Rooted.
Is this right?
edit: to answer my own question: yes
Also, do we need to do this after every OTA update? (not that I expect so many in the future...)
Keine ramdisk Partition mehr
Hi,
since the last update BAH2-L09OCEC432B278 a ramsisk partition is no longer available.
I followed the modified guide with 7-zip and downloading the update.app on my PC and then pushing it onto the tablet with
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push c:/RECOVERY_RAMDIS.img /storage/emulated/0/Download
I created the magisk_patched.img and used the pull adb command to get it back onto my PC.
I followed the steps in the guide with fastboot, but the very last command fails.
The tablet says both are unlocked, on the Magisk Website there is a short section on "Magisk in Recovery", but pushing the Power on and Volume up does not give my a Magisk option.
Update: I followed the Patching guide, but this fails with the following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery magisk_patched.img
target reported max download size of 471859200 bytes
sending 'recovery' (26386 KB)...
OKAY [ 0.826s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 0.842s
Hi,
I have the Huawei MediaPad M5 lite 10 but the Build Number for me is 'BAH2-W19 8.0.0.278 (OCEC432)'
and I can't seem to find the update file for it to follow the steps above?
Any help would be appreciated on what steps I need to do.
Thanks, :good:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/
Download the file from MT Team and extract is with 7Zip: https://pro-teammt.ru/en/
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip:
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
Thanks for the link. reading the explanation then, mines would be BAH2-W19OCEC432B278. Thanks for that
---------- Post added at 03:51 PM ---------- Previous post was at 03:10 PM ----------
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
Huawei Update Extractor: it mentions this in there but I have a MacBook and there doesn't seem to be a version for this.
Am I missing something?
Hmm, I have Linux and had to dual boot into Windows, because of several tools - this one included - wanting Windows. There is an emulator / VM available for Windows on Mac, but might be a bit over the top...