Recovery "image not signed or corrupt" - Moto G5S Plus Questions & Answers

I tried to flash anyone recovery by fastboot with the command fastboot flash recovery recovery.img but the result Is "image not signed and CORRUPT". help me.

copeye said:
I tried to flash anyone recovery by fastboot with the command fastboot flash recovery recovery.img but the result Is "image not signed and CORRUPT". help me.
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-g5s-plus/help/solution-to-lock-oem-moto-g5s-plus-t4065619

copeye said:
I tried to flash anyone recovery by fastboot with the command fastboot flash recovery recovery.img but the result Is "image not signed and CORRUPT". help me.
Click to expand...
Click to collapse
Use latest twrp

Related

How to flash the stock erecovery back?

My P20Pro was booting into the error mode and was able to booting into the fastboot mode, failed into recovery/erecovery.
So I'd like to flash the stock recovery/erecovery back. I had flashed RECOVERY_RAMDIS.img/RECOVERY_VBMETA.img/RECOVERY_VENDOR.img successfully via below commands,
fastboot flash recovery_ramdisk x:\RECOVERY_RAMDIS.img
fastboot flash recovery_vbmeta x:\RECOVERY_VBMETA.img
fastboot flash recovery_vendor x:\VENDOR.img
But I had no idea what're the partition names of ERECOVERY_KERNE.img/ERECOVERY_RAMDI.img/ERECOVERY_VBMET.img/ERECOVERY_VENDO.img. Got the error message "Writing erecovery_ramdisk' FAILED (remote: partition length get error)".
Does anyone know the partition names?
Found something interesting, ERECOVERY_RAMDI.img and RECOVERY_RAMDIS.img have the same hash value, same as ERECOVERY_KERNE.img and KERNEL.img, ERECOVERY_VENDO.img and RECOVERY_VENDOR.img. Are they the same file?
Did you have luck with that? If so, could you help me with something?
+
castiwo said:
Did you have luck with that? If so, could you help me with something?
Click to expand...
Click to collapse
Me too
Why don't you guys post your question in the main page, some people in this forum are very helpful
So you can't boot to erecovery to download the stock rom?
Did you succeed?

[Q]Stuck in fastboot mode did not check ub debugging

So i tried to change the global rom of my red magic 3 to the Chinese rom, i put the Chinese rom zip in the phone and i proceed to update it manually so it can be load, but when it was installing for the first time this error appears "your device is corrupt. it cant be trusted and will not boot", as i sais this error appears since the first time i tried to install it so did not have the opportunity to activate the developer options and check usb debugging and OEM unlock, i can use the bootloader to unlock the phone by using the command "fastboot oem nubia_unlock NUBIA_NX629J" but when i try to flash it by using this command "fastboot flashing unlock" this error appears "FAILED: (remote: flashing Unlock is not allowed)" so im stuck here, what can i do to continue or to go back to factory settings, i hope some one can help me.
im sorry for my bad English
Have you tried changing back to global rom using recovery mode through OTG cable?
kelv55l said:
Have you tried changing back to global rom using recovery mode through OTG cable?
Click to expand...
Click to collapse
i have not tried that, can you linkme how to do it?
Sinuhejrz said:
i have not tried that, can you linkme how to do it?
Click to expand...
Click to collapse
I went to this link https://forum.xda-developers.com/red-magic-3/help/stuck-fastboot-mode-t3937527
So basically you want to go into fastboot mode either using command "adb reboot bootloader" while plugging the phone into the computer or by holding down the volume down - and power button until it goes into fastboot mode.
Once you are in fastboot mode you go to "reboot to recovery mode" navigate while using the volume buttons and select by using the power button.
Now in recovery mode navigate by using volume buttons and select by using power button again. Its optional, but you can "wipe data" by wiping userdata partition and cache partition. I wiped data when I booted like this. Download the global from here https://global.redmagic.gg/blogs/news/red-magic-3-global-rom-flash-instructions I downloaded the North America version because that was the only version that worked for me. Put the zip file you downloaded into a flash drive USB. then connect the usb to the OTG cable you can buy from ebay, amazon or a nearby tech store. Then connect all that to your phone and click "Choose Update Package" and then click "Choose From OTG Device" then select the rom that you put in the usb drive and then everything should take care of itself from there.
Hope this helps!
kelv55l said:
I went to this link https://forum.xda-developers.com/red-magic-3/help/stuck-fastboot-mode-t3937527
So basically you want to go into fastboot mode either using command "adb reboot bootloader" while plugging the phone into the computer or by holding down the volume down - and power button until it goes into fastboot mode.
Once you are in fastboot mode you go to "reboot to recovery mode" navigate while using the volume buttons and select by using the power button.
Now in recovery mode navigate by using volume buttons and select by using power button again. Its optional, but you can "wipe data" by wiping userdata partition and cache partition. I wiped data when I booted like this. Download the global from here https://global.redmagic.gg/blogs/news/red-magic-3-global-rom-flash-instructions I downloaded the North America version because that was the only version that worked for me. Put the zip file you downloaded into a flash drive USB. then connect the usb to the OTG cable you can buy from ebay, amazon or a nearby tech store. Then connect all that to your phone and click "Choose Update Package" and then click "Choose From OTG Device" then select the rom that you put in the usb drive and then everything should take care of itself from there.
Hope this helps!
Click to expand...
Click to collapse
i cant go into recovery mode when i select that option the phone restarts and the same message appears "your device is corrupt. it cant be trusted and will not boot" , what can i do?
Sinuhejrz said:
i cant go into recovery mode when i select that option the phone restarts and the same message appears "your device is corrupt. it cant be trusted and will not boot" , what can i do?
Click to expand...
Click to collapse
Damn that happened to me to when I tried rooting my phone. My recovery mode was corrupt too. You can try to use the instructions given on this page https://forum.xda-developers.com/red-magic-3/help/device-corrupt-trusted-boot-t3940057/page2. Extract all img and bin files from the Global ROM and place them into the folder where the "cmd-here.exe" is. Also you need "system.img" you can download that here https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm, but dont download the other files they might be the Chinese files.
After you extracted the img and bin files and placed them into the folder where the cmd is placed connect your phone to the computer, open the cmd exe and run the commands
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot bootloader
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash dsp dspso.bin
fastboot oem nubia_lock NUBIA_NX629J
fastboot reboot
After all that you should be able to go into recovery mode through fastboot mode if not then try and flash dtbo.img and vbmeta.img in the line of commands so for example "fastboot flash dtbo dtbo.img" and "fastboot flash vbmeta vbmeta.img" looking something like this...
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot bootloader
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
fastboot flash modem NON-HLOS.bin
fastboot flash dsp dspso.bin
fastboot flash system system.img
fastboot reboot
This was the line of commands I used when my recovery mode was corrupt and somehow worked
I hope this helps and let me know if it worked or if the issue is still there. Also the forum has several posts on this matter and they might have the answer you are looking for as it helped me with this issue. Good Luck!
kelv55l said:
Damn that happened to me to when I tried rooting my phone. My recovery mode was corrupt too. You can try to use the instructions given on this page https://forum.xda-developers.com/red-magic-3/help/device-corrupt-trusted-boot-t3940057/page2. Extract all img and bin files from the Global ROM and place them into the folder where the "cmd-here.exe" is. Also you need "system.img" you can download that here https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm, but dont download the other files they might be the Chinese files.
After you extracted the img and bin files and placed them into the folder where the cmd is placed connect your phone to the computer, open the cmd exe and run the commands
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot bootloader
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot flash dsp dspso.bin
fastboot oem nubia_lock NUBIA_NX629J
fastboot reboot
After all that you should be able to go into recovery mode through fastboot mode if not then try and flash dtbo.img and vbmeta.img in the line of commands so for example "fastboot flash dtbo dtbo.img" and "fastboot flash vbmeta vbmeta.img" looking something like this...
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot bootloader
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
fastboot flash modem NON-HLOS.bin
fastboot flash dsp dspso.bin
fastboot flash system system.img
fastboot reboot
This was the line of commands I used when my recovery mode was corrupt and somehow worked
I hope this helps and let me know if it worked or if the issue is still there. Also the forum has several posts on this matter and they might have the answer you are looking for as it helped me with this issue. Good Luck!
Click to expand...
Click to collapse
OMG OMG OMG it works thank you so much dude you are THE MAN now i have more than an expensive weight-paper, i really appreciate it dude, the second code lines also works for me the only problem i encounter was in this code line "fastboot flash system system.img" throw this message "C:\adb>fastboot flash system system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi"
but i keep with the rest of the lines and works perfectly after that.
again thank you so much dude for the help :good::crying:
Sinuhejrz said:
OMG OMG OMG it works thank you so much dude you are THE MAN now i have more than an expensive weight-paper, i really appreciate it dude, the second code lines also works for me the only problem i encounter was in this code line "fastboot flash system system.img" throw this message "C:\adb>fastboot flash system system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi"
but i keep with the rest of the lines and works perfectly after that.
again thank you so much dude for the help :good::crying:
Click to expand...
Click to collapse
Awesome! glad I could help you out
kelv55l said:
Awesome! glad I could help you out
Click to expand...
Click to collapse
tnx man i really appreciate it, so could you change the ROM of you phone to the Chinese one?
Sinuhejrz said:
tnx man i really appreciate it, so could you change the ROM of you phone to the Chinese one?
Click to expand...
Click to collapse
Sorry man I haven't tried changing my ROM to Chinese yet. Don't want to risk corrupting my phone again :crying:
But I'll let you know if I decide to change my rom.
Sinuhejrz said:
tnx man i really appreciate it, so could you change the ROM of you phone to the Chinese one?
Click to expand...
Click to collapse
Pretty simple to change the ROM to chinese. Download the chinese ROM, place it in an OTG or the phone's root directory. You can either do it via local update from the system.update feature in settings or use the stock recovery and install it via the OTG. Personally I would.prefer you install it via the OTG.
Please help me !!! I have same problem with my rm3
Sinuhejrz said:
So i tried to change the global rom of my red magic 3 to the Chinese rom, i put the Chinese rom zip in the phone and i proceed to update it manually so it can be load, but when it was installing for the first time this error appears "your device is corrupt. it cant be trusted and will not boot", as i sais this error appears since the first time i tried to install it so did not have the opportunity to activate the developer options and check usb debugging and OEM unlock, i can use the bootloader to unlock the phone by using the command "fastboot oem nubia_unlock NUBIA_NX629J" but when i try to flash it by using this command "fastboot flashing unlock" this error appears "FAILED: (remote: flashing Unlock is not allowed)" so im stuck here, what can i do to continue or to go back to factory settings, i hope some one can help me.
im sorry for my bad English
Click to expand...
Click to collapse
Please help me !!! I have same problem with my rm3 :crying::crying::crying: PLEASE
---------- Post added at 09:57 PM ---------- Previous post was at 09:49 PM ----------
kelv55l said:
Awesome! glad I could help you out
Click to expand...
Click to collapse
PLEASE HELP ME Bro !!! I have same problem :crying::crying::crying:
hanif9067 said:
Please help me !!! I have same problem with my rm3 :crying::crying::crying: PLEASE
---------- Post added at 09:57 PM ---------- Previous post was at 09:49 PM ----------
PLEASE HELP ME Bro !!! I have same problem :crying::crying::crying:
Click to expand...
Click to collapse
Give me your address, I'll come to your house to fix the phone!
hanif9067 said:
Please help me !!! I have same problem with my rm3 :crying::crying::crying: PLEASE
---------- Post added at 09:57 PM ---------- Previous post was at 09:49 PM ----------
PLEASE HELP ME Bro !!! I have same problem :crying::crying::crying:
Click to expand...
Click to collapse
What seems to be the problem are you able to go into recovery mode?
If not then flashing the appropriate img and bin files should allow you to go back to recovery mode as explained on previous posts on this thread.
kelv55l said:
What seems to be the problem are you able to go into recovery mode?
If not then flashing the appropriate img and bin files should allow you to go back to recovery mode as explained on previous posts on this thread.
Click to expand...
Click to collapse
Mine has the same problem and tried all the steps in this thread. Not able to go into recovery mode, can go into fastboot mode and flash everything but phone is still corrupt and can not boot. New phone now no good, OH well
re-flashed the phone using the first version of the Chinese ROM v2.12 now can use the OTG update option. just need to get a usb adapter now
I'm hoping someone can help me. I've followed the fix on earlier pages and used the files including system.img a user uploaded.
Now when booting my phone I get a device is corrupt and cannot be trusted message. I read somewhere else that the command 'Fastboot flashing unlock' may solve this but I get an error message.
Would really appreciate some help, maybe I've done something wrong but I've followed the instructions and used the files an xda user uploaded.
Many thanks.
Johnnio said:
I'm hoping someone can help me. I've followed the fix on earlier pages and used the files including system.img a user uploaded.
Now when booting my phone I get a device is corrupt and cannot be trusted message. I read somewhere else that the command 'Fastboot flashing unlock' may solve this but I get an error message.
Would really appreciate some help, maybe I've done something wrong but I've followed the instructions and used the files an xda user uploaded.
Many thanks.
Click to expand...
Click to collapse
Have you tried to erase and then reflash again?
try something like this according from this user
em90256 said:
try this
fastboot -w
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot reboot
try your stock recovery image
Click to expand...
Click to collapse
leipnacht said:
Have you tried to erase and then reflash again?
try something like this according from this user
Click to expand...
Click to collapse
Thanks but I managed to fix it yesterday, I had to flash the system image using 'fastboot flash -S 100M system system.img', turns out that although it reported flash as successful it wasn't actually sent correctly unless split into smaller chunks.
Johnnio said:
Thanks but I managed to fix it yesterday, I had to flash the system image using 'fastboot flash -S 100M system system.img', turns out that although it reported flash as successful it wasn't actually sent correctly unless split into smaller chunks.
Click to expand...
Click to collapse
Oh new information. What does "-S 100M" on fastboot command do?

Problem with recovery / no such partition

After i erase recovery partition trough fastboot, now if i try to flash recovery twrp It says error no such partition.
Already try to flash stock with xiaomiflash and also Boot twrp and try to flash inside twrp but nothing
Anyone know how to solve?
Mancix said:
After i erase recovery partition trough fastboot, now if i try to flash recovery twrp It says error no such partition.
Already try to flash stock with xiaomiflash and also Boot twrp and try to flash inside twrp but nothing
Anyone know how to solve?
Click to expand...
Click to collapse
•when you flash stock rom they hash # out the line in the programmer .xml that tells miflash to flash to recovery partition. open the .xml and search for the line with "recovery" and change the "filename" line to include recovery.img
•you can also use the "repair" partition and advanced format option in twrp to repair it by booting it
fastboot boot recovery.img
•you can flash it in fastboot by
fastboot flashing unlock_critical
then manually flash the image in fastboot
fastboot flash recovery recovery.img
-are you sure you have Wayne ?
*Jasmine does not have a recovery partition and the recovery goes in the boot partition .........
MAKE SURE TO FLASH IN MIFLASH USING EDL
fastboot oem edl

Update problem redmi9

Please anyone can help me
I have tried to download it from the website as well but manual and auto both gives me this message. I even asked this question in mi community but still that are unable to help.
Can you explain what's your problem because I didn't understand what you mean exactly.
Abdullah.Csit said:
Can you explain what's your problem because I didn't understand what you mean exactly.
Click to expand...
Click to collapse
It gives me error of try again or cancel
Bump
6425001939offered By https://unofficialtwrp.COM
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
for ab:
fastboot flash recovery_a recovery.img
fastboot flash recovery_b recovery.img
flash magisk & encryption disabler via twrp
6425001939offered By https://unofficialtwrp.COM
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
for ab:
fastboot flash recovery_a recovery.img
fastboot flash recovery_b recovery.img
flash magisk & encryption disabler via twrp

Question The partion doesn't exist

I am trying to flash custom recovery via fastboot method and i face en error after i enter this commond {fastboot flash recovery recovery location and enter then it show me :- remote (The partion doesn't exist)
I change multiple laptop and try again and again stil face this error.
Someone please help me to fix this problem
Awnish said:
I am trying to flash custom recovery via fastboot method and i face en error after i enter this commond {fastboot flash recovery recovery location and enter then it show me :- remote (The partion doesn't exist)
I change multiple laptop and try again and again stil face this error.
Someone please help me to fix this problem
Click to expand...
Click to collapse
Shouldn't it be "fastboot flash recovery.img recovery"?
Edit: sorry, mixed it up myself "flash recovery recovery.img"
fastboot flash recovery recovery.img
jjsan said:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
It doesn't work after enter commond i show this error (the partion doesn't exist) and recovery not install
bmwdroid said:
Shouldn't it be "fastboot flash recovery.img recovery"?
Click to expand...
Click to collapse
Yes
can you try to boot recovery without flashing?
in bootloader mode:
fastboot boot recovery.img
jjsan said:
can you try to boot recovery without flashing?
in bootloader mode:
fastboot boot recovery.img
Click to expand...
Click to collapse
Can you explain it
it will try to bood it without flash. i was using it like this for a long time. and you will see if the recovery is ok
Cn yo
jjsan said:
it will try to bood it without flash. i was using it like this for a long time. and you will see if the recovery is ok
Click to expand...
Click to collapse
Can you explain the complete method or any video or Photo
do you guys even know that fastboot flash boot boot.img works with TWRP?
this is the only way to flash TWRP
Bro after this i face black screen only. Phone doesn't boot even phone doesn't boot in stock recovery.phone boot only fastboot mode.
you need to patch both boot partitions
fastboot flash boot_a file.img
fastboot flash boot_b file.img
then
fastboot reboot
jjsan said:
you need to patch both boot partitions
fastboot flash boot_a file.img
fastboot flash boot_b file.img
then
fastboot reboot
Click to expand...
Click to collapse
Can you provide.img files
you can get one from image using tool
its the same for both
this one is for 12.5.18.0
Thanks buddy i will try it.
Awnish said:
Thanks buddy i will try it
Click to expand...
Click to collapse
i updated today to 13.0.8.0 and remember about this.
were you successful?

Categories

Resources