Google Pixel 4 Error in last Root step - Google Pixel 4 Questions & Answers

I have a Google Pixel 4 unlocked and with ADB and Fastboot going. I receive the following error. I do not know how to proceed. I search to see if this was already answered but I seen it posted once but with out a answer.
PS C:\sa\platform-tools> ./fastboot boot magisk_patched-23016_3Nn5i.img
Sending 'boot.img' (98304 KB) OKAY [ 2.406s]
Booting (bootloader) boot.img missing cmdline or OS version
FAILED (remote: 'Error verifying the received boot.img: Volume Corrupt')
fastboot: error: Command failed
PS C:\sa\platform-tools>
If I use flash in the command I get
PS C:\sa\platform-tools> ./fastboot flash boot magisk_patched-23016_3Nn5i.img
fastboot: error: boot partition is smaller than boot image
What should I think about? Thanks so much!

rainxy said:
I have a Google Pixel 4 unlocked and with ADB and Fastboot going. I receive the following error. I do not know how to proceed. I search to see if this was already answered but I seen it posted once but with out a answer.
PS C:\sa\platform-tools> ./fastboot boot magisk_patched-23016_3Nn5i.img
Sending 'boot.img' (98304 KB) OKAY [ 2.406s]
Booting (bootloader) boot.img missing cmdline or OS version
FAILED (remote: 'Error verifying the received boot.img: Volume Corrupt')
fastboot: error: Command failed
PS C:\sa\platform-tools>
If I use flash in the command I get
PS C:\sa\platform-tools> ./fastboot flash boot magisk_patched-23016_3Nn5i.img
fastboot: error: boot partition is smaller than boot image
What should I think about? Thanks so much!
Click to expand...
Click to collapse
@rainxy
Please read the guidances that are stuck on top of every forum prior to your next posting like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator

Related

Moto X Pure Edition 2015 FACTORY IMAGES Fastboot help!!!

When click the power button i launch on screen with the Fastboot Flash Mode. I tried all the options but nothing happens.
Select Normal Powerup then also nothing happens.
Select Factory nothing happens. I am stuck on fastboot when starting phone.
I tried to flash factory images and install again using steps mentioned by moto but receive error when below command is entered:
fastboot flash partition gpt.bin
sending 'partition' (32 KB)...
OKAY [ 0.095s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.266s
On mobile i see this:
cmd: getvar;partion-type;partion
cmd: getvar:max-download-size
cmd: download:0008000
cmd: flash;partition
hab check failed for primary_gpt
Failed to verify hab image primary.gpt
When doing motoboot.img I get this:
fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (2022 KB)...
OKAY [ 0.115s]
writing 'motoboot'...
(bootloader) Motoboot;Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
on mobile I see this:
cmd: getvar;partion-type:motoboot
cmd: getvar:max-download-size
cmd: download:001f9a00
cmd: flash:motoboot
Mismatched partition size (tz)
If you have any information about this please do in the quickest way possible.
What factory images? Are you unlocked?
lafester said:
What factory images? Are you unlocked?
Click to expand...
Click to collapse
I ment the Flash stoke images when using the bootloader thing
ymx75 said:
I ment the Flash stoke images when using the bootloader thing
Click to expand...
Click to collapse
ignore that one. I ment to say the Flash images when using the bootloader and yes I am unlocked
I would download the return to stock zip and run flash all .bat. Then use twrp to make a backup so you don't have to do this again.
lafester said:
I would download the return to stock zip and run flash all .bat. Then use twrp to make a backup so you don't have to do this again.
Click to expand...
Click to collapse
thanks for the info. the thing is, I feel stupid, but I deleted the zip and can't remember wat website I got it from. if you could help me find it, it would mean the world to me
ymx75 said:
thanks for the info. the thing is, I feel stupid, but I deleted the zip and can't remember wat website I got it from. if you could help me find it, it would mean the world to me
Click to expand...
Click to collapse
Here is the thread with the "return to stock" zip file.
ymx75 said:
thanks for the info. the thing is, I feel stupid, but I deleted the zip and can't remember wat website I got it from. if you could help me find it, it would mean the world to me
Click to expand...
Click to collapse
Under Android development or original development
Sent from my XT1575 using Tapatalk

Can't unlock bootloader....what am I missing

I'm going nuts here. I use a mac, have had the 6p since preorder (well...since they shipped it) and I haven't had a need for unlocking or rooting (first phone ever to leave it stock) but I've got a few glitches and what not and wanted to flash the newest update released today rather than wait for OTA. Figured a complete wipe can't hurt. unfortunately the fastboot flashing unlock command isn't working. Developer options enabled, OEM unlock tab enabled...usb debugging enabled.....but when I enter ./fastboot flashing unlock this is what I get in terminal (yes mac requires the ./ before any command)
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048
Perhaps you have an outdated version? Just a wild guess here but usually if an option is invalid, that's the case.
Sent from my Nexus 6P using Tapatalk
Yep - as @funnel71 said - outdated version.
I unlocked the bootloader on my shiny new 6p yesterday, and initially I got exactly the same result initially. I were doing it on my ubuntu desktop (14.04) at work which has adb installed from packages, which was working perfectly fine with other devices. I manually installed the latest android sdk - and in no time at all I had unlocked and rooted goodness
As others have said, your fastboot package is outdated. You need to install the Android SDK and make sure the platform-tools package is updated.
Thanks. I was thinking that. But it's been so long since I've done that... I got read up again lol
Sent from my Nexus 6P using XDA-Developers mobile app
Updated the SDK. Thanks everyone. It's unlocked now. I knew I was missing something.
Ok, now I'm really getting frustrated. Got the bootloader unlocked, but now I can't flash anything. I've never been able to get the flash-all.sh to work ........ever in the past with my N7, and it's not working here either. Get this message. ./flash-all.sh: line 17: tbfastboot: command not found
./flash-all.sh: line 19: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 22: fastboot: command not found
When I try to flash the bootloader, radio, or image separately I get this messagem8994f-2.6.31.1.09.img
target reported max download size of 494927872 bytes
sending 'radio' (56758 KB)...
OKAY [ 1.727s]
writing 'radio'...
FAILED (remote: partition table doesn't exist)
finished. total time: 1.74yt
318sugarhill said:
Ok, now I'm really getting frustrated. Got the bootloader unlocked, but now I can't flash anything. I've never been able to get the flash-all.sh to work ........ever in the past with my N7, and it's not working here either. Get this message. ./flash-all.sh: line 17: tbfastboot: command not found
./flash-all.sh: line 19: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 22: fastboot: command not found
When I try to flash the bootloader, radio, or image separately I get this messagem8994f-2.6.31.1.09.img
target reported max download size of 494927872 bytes
sending 'radio' (56758 KB)...
OKAY [ 1.727s]
writing 'radio'...
FAILED (remote: partition table doesn't exist)
finished. total time: 1.74yt
Click to expand...
Click to collapse
What is the exact command you're issuing?
318sugarhill said:
Ok, now I'm really getting frustrated. Got the bootloader unlocked, but now I can't flash anything. I've never been able to get the flash-all.sh to work ........ever in the past with my N7, and it's not working here either. Get this message. ./flash-all.sh: line 17: tbfastboot: command not found
./flash-all.sh: line 19: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 22: fastboot: command not found
When I try to flash the bootloader, radio, or image separately I get this messagem8994f-2.6.31.1.09.img
target reported max download size of 494927872 bytes
sending 'radio' (56758 KB)...
OKAY [ 1.727s]
writing 'radio'...
FAILED (remote: partition table doesn't exist)
finished. total time: 1.74yt
Click to expand...
Click to collapse
Have you edited the flash-all.sh script to include a ./ in front of all of the fastboot commands?
./flash-all.sh is what type in and it gives me the error above.
When I tried to flash just the bootloader first I used
./fastboot flash bootloader (bootloader name).img
It gives me this error
target reported max download size of 494927872 bytes
sending 'bootloader' (4387 KB)...
OKAY [ 0.160s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.182s
Same with the radio. I've never had an issue with terminal and flashing on any other phone prior.
Sent from my Nexus 6P using XDA-Developers mobile app
nathanchance said:
Have you edited the flash-all.sh script to include a ./ in front of all of the fastboot commands?
Click to expand...
Click to collapse
yes. nothing works on a mac in terminal for android without the ./ learned that lesson years ago.
318sugarhill said:
yes. nothing works on a mac in terminal for android without the ./ learned that lesson years ago.
Click to expand...
Click to collapse
Have you tried flashing the images manually like in Heisenberg's guide? I hate the flash-all script, it rarely works properly.
nathanchance said:
Have you tried flashing the images manually like in Heisenberg's guide? I hate the flash-all script, it rarely works properly.
Click to expand...
Click to collapse
agree, very hit or miss, personally I flash each file manually. just the best results this way. I also agree that a outdated version of fastboot/you're gonna have a bad time.
nathanchance said:
Have you tried flashing the images manually like in Heisenberg's guide? I hate the flash-all script, it rarely works properly.
Click to expand...
Click to collapse
Yes.....this is what I get
./fastboot flash bootloader (bootloader name).img
It gives me this error
target reported max download size of 494927872 bytes
sending 'bootloader' (4387 KB)...
OKAY [ 0.160s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.182s
Same with the radio. I've never had an issue with terminal and flashing on any other phone prior.
318sugarhill said:
Yes.....this is what I get
./fastboot flash bootloader (bootloader name).img
It gives me this error
target reported max download size of 494927872 bytes
sending 'bootloader' (4387 KB)...
OKAY [ 0.160s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.182s
Same with the radio. I've never had an issue with terminal and flashing on any other phone prior.
Click to expand...
Click to collapse
Did you ever use the following command?
Code:
fastboot erase bootloader
DJBhardwaj said:
Did you ever use the following command?
Code:
fastboot erase bootloader
Click to expand...
Click to collapse
No. I have to erase first? I've never had to with other phones. is that a Nexus thing? I'm hesitant to erase anything without know I can flash something.
318sugarhill said:
No. I have to erase first? I've never had to with other phones. is that a Nexus thing? I'm hesitant to erase anything without know I can flash something.
Click to expand...
Click to collapse
No! Not at all. Was just curious to ask, since your output showed that the partition table doesn't exist.
Never erase the bootloader.
DJBhardwaj said:
No! Not at all. Was just curious to ask, since your output showed that the partition table doesn't exist.
Never erase the bootloader.
Click to expand...
Click to collapse
When I try to flash anything that what I get. Radio, image, bootloader.....i get the remote partition table doesn't exist error. It's beyond frustrating.
318sugarhill said:
When I try to flash anything that what I get. Radio, image, bootloader.....i get the remote partition table doesn't exist error. It's beyond frustrating.
Click to expand...
Click to collapse
Just to confirm, while flashing the bootloader, you are using the exact same command as follows?
Code:
fastboot flash bootloader bootloader-angler-angler-03.51.img
DJBhardwaj said:
Just to confirm, while flashing the bootloader, you are using the exact same command as follows?
Code:
fastboot flash bootloader bootloader-angler-angler-03.51.img
Click to expand...
Click to collapse
yes.....just with a ./ in front. I've shorted the name of the booloader to bootloader.img just to keep the typing down.....but I've tried with the original name too. It's not angler.....it's ......
Holy F..........!!!!!!!!! I downloaded the factory image for the 5X.....it's friggin bullhead! AHHHHHHHHH
Facepalm.

Error trying to install TWERP via Fastboot

Moto G6.
Connected to Win 10 PC , ADB and Fastboot installed.
Boot device into bootloader: adb reboot bootloader - device reboots into bootloader.
Download TWERP (twrp-3.5.1_9-0-ali.img) and moved to same folder as ADB and Fastboot (C:\).
Run fastboot comand:
C:\>fastboot flash recovery twrp-3.5.1_9-0-ali.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16196 KB) OKAY [ 1.501s]
Writing 'recovery' (bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed
What am I doing wrong?
cooljeff913 said:
Moto G6.
Connected to Win 10 PC , ADB and Fastboot installed.
Boot device into bootloader: adb reboot bootloader - device reboots into bootloader.
Download TWERP (twrp-3.5.1_9-0-ali.img) and moved to same folder as ADB and Fastboot (C:\).
Run fastboot comand:
C:\>fastboot flash recovery twrp-3.5.1_9-0-ali.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16196 KB) OKAY [ 1.501s]
Writing 'recovery' (bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed
What am I doing wrong?
Click to expand...
Click to collapse
Moto G6 plus has the recovery partition merged with the boot one. If you want to use TWRP, you have to use the boot command instead, and then flash a TWRP zip installer for this phone.
mrsiri said:
Moto G6 plus has the recovery partition merged with the boot one. If you want to use TWRP, you have to use the boot command instead, and then flash a TWRP zip installer for this phone.
Click to expand...
Click to collapse
Thanks for the reply.
I am a noob when it comes to this.
How do I use the "boot" command?
cooljeff913 said:
Thanks for the reply.
I am a noob when it comes to this.
How do I use the "boot" command?
Click to expand...
Click to collapse
Type "fastboot boot the-name-of-the-twrp-file.img".
Also as advice and nothing related, if you want to revert your changes back to stock, don't forget to NEVER RELOCK your bootloader. There's a low chance of getting your phone back fully functional after this mistake.

Can't flash anything with fastboot on onn 100015685-E

I have tried updating drivers from windows update but trying to flash anything does nothing I'm using mediatek drivers Other commands fail and gives this error FAILED (Write to device failed (Too many links))
C:\Users\me\Downloads\platform-tools_r31.0.3-windows\platform-tools>fastboot flashing unlock FAILED (Status read failed (Too many links)) fastboot: error: Command failed C:\Users\me\Downloads\platform-tools_r31.0.3-windows\platform-tools>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Rewriting vbmeta struct at offset: 0 Sending 'vbmeta' (11520 KB) FAILED (Write to device failed (no link)) fastboot: error: Command failed C:\Users\me\Downloads\platform-tools_r31.0.3-windows\platform-tools>fastboot flash boot magisk_patched-23000_AxlJS.img fastboot: error: boot partition is smaller than boot image
I'm trying to follow this guide to root my device with magisk https://forum.xda-developers.com/t/...0015685-series-root-and-cfw-linux-os.4195577/
Check my comments in the stackexchange post I made for more information
https://android.stackexchange.com/q...ash-anything-with-fastboot-on-onn-100015685-e
I have tried fastbootd from the recovery menu and the bootloader fastboot but none of the commands in the guide worked I could unlock flashing but nothing else

Twrp error

Can someone help me with getting the twrp recovery system on my moto. i keep getting the error
PS C:\Users\Avery\Desktop\platform-tools> ./fastboot boot C:\Users\Avery\Downloads\twrp-installer-3.5.2_10-0-river.zip
creating boot image...
creating boot image - 19036160 bytes
Sending 'boot.img' (18590 KB) OKAY [ 0.398s]
Booting FAILED (remote: '')
fastboot: error: Command failed
I am trying to root my phone but i need to get twrp working in order to do that.
Can someone help me?
oh and my bootloader is unlocked

Categories

Resources