Flashed magisk patched boot image - killed phone :(

Search This thread

thecdn

Senior Member
Apr 26, 2011
471
101
63
I tried to root by flashing the patched boot image as describe in https://forum.xda-developers.com/ho...agisk-root-honor-view-10-mate-10-pro-t3749280. After that, the phone went into a bootloop.

When I get to the eRecovery screen, I tried 'Download latest version and recovery.' It got to 'getting package information from server' but then stopped with 'getting package info failed.'

I then tried 'Wipe data/factory reset' and it rebooted but nothing changed.

I don't know what else to try with this phone. None of the current versions of twrp would run on it. I've never bricked a device in years of rooting.
 

Pretoriano80

Senior Member
Jun 9, 2010
3,200
2,879
253
I tried to root by flashing the patched boot image as describe in https://forum.xda-developers.com/ho...gisk-root-honor-view-10-mate-10-pro-t3749280. After that, the phone went into a bootloop.

When I get to the eRecovery screen, I tried 'Download latest version and recovery.' It got to 'getting package information from server' but then stopped with 'getting package info failed.'

I then tried 'Wipe data/factory reset' and it rebooted but nothing changed.

I don't know what else to try with this phone. None of the current versions of twrp would run on it. I've never bricked a device in years of rooting.
You need to restore your original ramdisk. Also, you have to patch your own ramdisk.img with Magisk Manager if you want to try rooting your device.
And btw, this is a development forum, not General or Q&A one. Read carefully before trying to mod this device, or you will end up with an expensive brick.
 
  • Like
Reactions: kevp75

thecdn

Senior Member
Apr 26, 2011
471
101
63
I flashed the system.img and the recovery_ramdisk.img. It booted to the eRecovery screen again.

I tried 'Download latest version and recovery' and it failed with the 'getting package info failed' error again.

I then tried 'Wipe data/factory reset' and unlike before, it actually went through and said it was successfully completed. But then it rebooted twice and went back to the eRecovery screen again.

Any ideas on how to proceed from here?

ETA: When I pressed vol up/power after this it went to a screen which said 'software install failed' instead of the recovery screen I thougt it would go to. After the first time, pressing vol up/power goes to the EMUI screen with the options of 'Reboot' 'Wipe data/factory reset' and 'Wipe cache partition.'
 
Last edited:

Pretoriano80

Senior Member
Jun 9, 2010
3,200
2,879
253
I flashed the system.img and the recovery_ramdisk.img. It booted to the eRecovery screen again.

I tried 'Download latest version and recovery' and it failed with the 'getting package info failed' error again.

I then tried 'Wipe data/factory reset' and unlike before, it actually went through and said it was successfully completed. But then it rebooted twice and went back to the eRecovery screen again.

Any ideas on how to proceed from here?

ETA: When I pressed vol up/power after this it went to a screen which said 'software install failed' instead of the recovery screen I thougt it would go to. After the first time, pressing vol up/power goes to the EMUI screen with the options of 'Reboot' 'Wipe data/factory reset' and 'Wipe cache partition.'
You need to restore ramdisk, not recovery_ramdisk.
 
  • Like
Reactions: kevp75

thecdn

Senior Member
Apr 26, 2011
471
101
63
You need to restore ramdisk, not recovery_ramdisk.

I did 'fastboot flash ramdisk ramdisk.img' and it still does a couple of reboots and then goes back to the EMUI screen with the recovery/reset/reboot/shutdown options.

In summary, this morning I did:

'fastboot flash system system.img' which resulted in 7 occurances of 'sending sparse system x/7 (xxxx KB)...' - which I have never seen before but all finished with OKAY

'fastboot flash recovery_ramdisk recovery_ramdisk.img'

'fastboot flash ramdisk ramdisk.img'


Is there something else I could do or redo in a particular order?
 

Pretoriano80

Senior Member
Jun 9, 2010
3,200
2,879
253
I did 'fastboot flash ramdisk ramdisk.img' and it still does a couple of reboots and then goes back to the EMUI screen with the recovery/reset/reboot/shutdown options.

In summary, this morning I did:

'fastboot flash system system.img' which resulted in 7 occurances of 'sending sparse system x/7 (xxxx KB)...' - which I have never seen before but all finished with OKAY

'fastboot flash recovery_ramdisk recovery_ramdisk.img'

'fastboot flash ramdisk ramdisk.img'


Is there something else I could do or redo in a particular order?
Try to also flash kernel : fastboot flash kernel kernel.img
 

akasek

Member
Feb 16, 2010
7
3
0
Same problem here on a US BKL-L04 =(

I flashed a magisk modified ramdisk.img and have been in bootloop ever since.

I've downloaded and flashed recovery_ramdisk.img, ramdisk.img, and kernel.img from the link earlier in this thread: https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
I've then did "Wipe data/factory reset" from Huawei eRecovery - no luck

$ fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.401s]
writing 'ramdisk'...
OKAY [ 0.083s]
finished. total time: 0.484s
$ fastboot flash recovery_ramdisk recovery_ramdisk.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (32768 KB)...
OKAY [ 0.807s]
writing 'recovery_ramdisk'...
OKAY [ 0.164s]
finished. total time: 0.971s
sek stock2 $ fastboot flash kernel kernel.img
target reported max download size of 471859200 bytes
sending 'kernel' (24576 KB)...
OKAY [ 0.615s]
writing 'kernel'...
OKAY [ 0.128s]
finished. total time: 0.745s


Aside from fastboot happing very quickly (< 1 second even for 32 meg recovery_ramdisk.img) everything seems to work fine... The phone just no longer boots - it trys a few times - displaying the "Your device has been unlocked and can't be trusted" screen for quite a while and the non-animated blue honor screen briefly and then ends up in EMUI eRecovery.

Are these files still up to date? Or perhaps there were newer versions on my phone and that's why flashing the older ones isn't working?

Also worth noting, I'm flashing from a mac with Android sdk fastbook:
$ fastboot --version
fastboot version 0.0.1-4500957
Installed as /Users/sek/Library/Android/sdk/platform-tools/fastboot


Thanks for any help / tips!
 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,058
10,977
263
Palma de Mallorca
OnePlus 9 Pro
I flashed a magisk modified ramdisk.img and have been in bootloop ever since.

I've downloaded and flashed recovery_ramdisk.img, ramdisk.img, and kernel.img from the link earlier in this thread: https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
I've then did "Wipe data/factory reset" from Huawei eRecovery - no luck

$ fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.401s]
writing 'ramdisk'...
OKAY [ 0.083s]
finished. total time: 0.484s
$ fastboot flash recovery_ramdisk recovery_ramdisk.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (32768 KB)...
OKAY [ 0.807s]
writing 'recovery_ramdisk'...
OKAY [ 0.164s]
finished. total time: 0.971s
sek stock2 $ fastboot flash kernel kernel.img
target reported max download size of 471859200 bytes
sending 'kernel' (24576 KB)...
OKAY [ 0.615s]
writing 'kernel'...
OKAY [ 0.128s]
finished. total time: 0.745s

Aside from fastboot happing very quickly (< 1 second even for 32 meg recovery_ramdisk.img) everything seems to work fine... The phone just no longer boots - it trys a few times - displaying the "Your device has been unlocked and can't be trusted" screen for quite a while and the non-animated blue honor screen briefly and then ends up in EMUI eRecovery.

Are these files still up to date? Or perhaps there were newer versions on my phone and that's why flashing the older ones isn't working?

Also worth noting, I'm flashing from a mac with Android sdk fastbook:
$ fastboot --version
fastboot version 0.0.1-4500957
Installed as /Users/sek/Library/Android/sdk/platform-tools/fastboot

Thanks for any help / tips!
Flash stock kernel, ramdisk and recovery ramdisk for your model in fastboot and you'll be able to boot again
 
  • Like
Reactions: kevp75

akasek

Member
Feb 16, 2010
7
3
0

Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?

I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/

They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:

$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s


It still doesn't want to boot. I end up in eRecovery each time.

I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?
 

akasek

Member
Feb 16, 2010
7
3
0
Finally back up and running - Thanks Tecalote!

FYI: I am finally back up and running - Tecalote's post worked perfectly (and BKL-L04 update zips are linked earlier in the thread also): https://forum.xda-developers.com/showpost.php?p=76331841&postcount=46
:)

Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?

I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/

They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:

$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s


It still doesn't want to boot. I end up in eRecovery each time.

I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?
 

rajaumarfarooq

Senior Member
Jan 10, 2010
58
15
28
Rawalpindi
Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?

I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/

They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:

$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s


It still doesn't want to boot. I end up in eRecovery each time.

I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?

try to install twrp and then do hruupdate from twrp
get your files from firmware finder and search xda forums to how to install those files
its very easy and your system will be back in stock format
after that you can try to root and install custom rom
 

ankan1993

Senior Member
Feb 19, 2013
119
22
0
Nagpur
No joy yet but I do appreciate all the help.
Hi, what helped you there? I have a similar situation.

"Hi,

I need some advice on what can be done with my Honor View10 as it keeps gracing a bootloop followed by fasrboot mode.
Mine is a C675 variant and I was on 190 when I decided to unroot and update the device to 218. Once that was done, I flashed a patched recovery_ramdisk boot image that was patched using magisk to support it. Worked fine. Did a reboot and it got stuck in a bootloop.

I have tried flashing other patch.imgs too, due instance tried extracting recovery.img of the current version of rom, flashed it, no luck!
Tried flashing the patched version of that, still did not help.

I am on EMUI9, any help please?
Also can anyone help me with the link of one of the latest versions of C675 update please? :rolleyes:"

This is what happened to me
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I tried to root by flashing the patched boot image as describe in https://forum.xda-developers.com/ho...gisk-root-honor-view-10-mate-10-pro-t3749280. After that, the phone went into a bootloop.

    When I get to the eRecovery screen, I tried 'Download latest version and recovery.' It got to 'getting package information from server' but then stopped with 'getting package info failed.'

    I then tried 'Wipe data/factory reset' and it rebooted but nothing changed.

    I don't know what else to try with this phone. None of the current versions of twrp would run on it. I've never bricked a device in years of rooting.
    You need to restore your original ramdisk. Also, you have to patch your own ramdisk.img with Magisk Manager if you want to try rooting your device.
    And btw, this is a development forum, not General or Q&A one. Read carefully before trying to mod this device, or you will end up with an expensive brick.
    1
    You can download the appropriate images to restore your device below. These are for the US variant (BKL-L04)

    https://drive.google.com/open?id=1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3

    Edit: Link updated
    1
    I flashed the system.img and the recovery_ramdisk.img. It booted to the eRecovery screen again.

    I tried 'Download latest version and recovery' and it failed with the 'getting package info failed' error again.

    I then tried 'Wipe data/factory reset' and unlike before, it actually went through and said it was successfully completed. But then it rebooted twice and went back to the eRecovery screen again.

    Any ideas on how to proceed from here?

    ETA: When I pressed vol up/power after this it went to a screen which said 'software install failed' instead of the recovery screen I thougt it would go to. After the first time, pressing vol up/power goes to the EMUI screen with the options of 'Reboot' 'Wipe data/factory reset' and 'Wipe cache partition.'
    You need to restore ramdisk, not recovery_ramdisk.
    1
    I flashed a magisk modified ramdisk.img and have been in bootloop ever since.

    I've downloaded and flashed recovery_ramdisk.img, ramdisk.img, and kernel.img from the link earlier in this thread: https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
    I've then did "Wipe data/factory reset" from Huawei eRecovery - no luck

    $ fastboot flash ramdisk ramdisk.img
    target reported max download size of 471859200 bytes
    sending 'ramdisk' (16384 KB)...
    OKAY [ 0.401s]
    writing 'ramdisk'...
    OKAY [ 0.083s]
    finished. total time: 0.484s
    $ fastboot flash recovery_ramdisk recovery_ramdisk.img
    target reported max download size of 471859200 bytes
    sending 'recovery_ramdisk' (32768 KB)...
    OKAY [ 0.807s]
    writing 'recovery_ramdisk'...
    OKAY [ 0.164s]
    finished. total time: 0.971s
    sek stock2 $ fastboot flash kernel kernel.img
    target reported max download size of 471859200 bytes
    sending 'kernel' (24576 KB)...
    OKAY [ 0.615s]
    writing 'kernel'...
    OKAY [ 0.128s]
    finished. total time: 0.745s

    Aside from fastboot happing very quickly (< 1 second even for 32 meg recovery_ramdisk.img) everything seems to work fine... The phone just no longer boots - it trys a few times - displaying the "Your device has been unlocked and can't be trusted" screen for quite a while and the non-animated blue honor screen briefly and then ends up in EMUI eRecovery.

    Are these files still up to date? Or perhaps there were newer versions on my phone and that's why flashing the older ones isn't working?

    Also worth noting, I'm flashing from a mac with Android sdk fastbook:
    $ fastboot --version
    fastboot version 0.0.1-4500957
    Installed as /Users/sek/Library/Android/sdk/platform-tools/fastboot

    Thanks for any help / tips!
    Flash stock kernel, ramdisk and recovery ramdisk for your model in fastboot and you'll be able to boot again
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone