yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Questions & Answers] alarsama:
Hi guys! So I figured out why the error in the OP occurs. Looks like samteeee had the right idea to update platform-tools, but it's a bit deeper than that. This error occurs if you are using the flash-all.bat with ONLY fastboot.exe. The command this batch file attempts to run is "fastboot format userdata". If you run this command with fastboot.exe alone, you will get this message. The solution is to download the latest platform-tools from Google, extract it all, and put all of those extracted filed into the same folder with the factory image with the flash-all.bat file. I just tried it and was finally able to successfully flash the factory image. Hope this helps!
[Google Pixel 2 XL Questions & Answers] C5Longhorn:
This is very helpful, thanks for posting.
[Google Pixel 2 XL Questions & Answers] leathan:
For the record this did not work for me, Maybe because i ran the coommand `sudo install adb /ust/local/bin` after downloading the latest platform-tools. However I did download platform-tools and move everything in there as you are suppose to.

Any way the solution for me was to edit the `flash-all.sh` file and force it to run fastboot relative to platform.

So what I did was replace every instance of `flashboot` with `/path/to/platform-tools/flashboot` and it worked flawlessly and my stock ota boots up nice :)

my working flash-all.sh file contents:

#!/bin/sh
./fastboot flash bootloader bootloader-taimen-tmz12b.img
./fastboot reboot-bootloader
sleep 5
./fastboot flash radio radio-taimen-g8998-00164-1710262031.img
./fastboot reboot-bootloader
sleep 5
./fastboot -w update image-taimen-opm1.171019.013.zip
[Google Pixel 2 XL Questions & Answers] Larzzzz82:
My experience has been to not extract the folder inside the extracted download. Just put it in with the platform tools. Seems the flash-all is expecting to extract that before flashing.

And I made the mistake of not unlocking critical. The January image has a new bootloader and won't install the system image without doing the bootloader.
[Google Pixel 2 XL Questions & Answers] leathan:
[MENTION=5789141]Larzzzz82[/MENTION], the first command really inside `flash-all` is `fastboot flash bootloader bootloader-taimen-tmz12b.img`, so I think you do need to extract the initial stock OTA zip file. At least I need to, and the command seems to explain why.

I just retested it today, the issue in the OP for me was because the `sudo install adb` command moves fastboot into your path, so when you type `flash-all.sh` its running fastboot from /usr/local/bin when it should be running in the same directory as your flashables.

So alarmsama's solution actually would work for me if i just delete /usr/local/bin/fastboot, or remove it from my path, or maybe even just drop a symlink from the directory containing the flashables.

Personally im going to just keep using my hacked script because i prefer it, as you can see from the code you can really have the files anywhere you want if you use absolute paths.
[Google Pixel 2 XL Questions & Answers] floepie:
This is what worked for me. It seems that the process expects more than the 4 files I usually use to flash the images, and one of them was in the platform tools folder.
[Google Pixel 2 XL Questions & Answers] Larzzzz82:
I scratched me head for a few minutes then first time i flashed this awesome piece of hardware. I have a lot more reading to do. Flashing this phone is completely different than my N6.
[Google Pixel 2 XL Questions & Answers] wonderlander17:
oh you are god, thank you :D:good:
[Google Pixel 2 XL Questions & Answers] h11g:
you are a genius and my life saver~! managed to flash after...
[Google Pixel 2 XL Questions & Answers] hanschke:
dont work for me. nothing happen
[Google Pixel 2 XL Questions & Answers] Badger50:
A little more detail would be helpful! :confused:
[Google Pixel 2 XL Questions & Answers] FloR76:
Thanks ! My saver !
[Google Pixel 2 XL Questions & Answers] resarfekim:
Thanks guys, this really saved me. Coming from the 6p, where the factory restore process was easy-peasy.

Here's what I did, I probably went overboard with the Path stuff.

Made sure I was Critical Unlocked (I critical_locked then critical_unlocked)

Downloaded latest Platform Tools

Downloaded latest Pixel image

Extracted these into a new folder E:\Taimen

Edited the flash-all.bat file (notepad++)

- Removed "PATH=%PATH%;"%SYSTEMROOT%\System32" line. Didn't want it finding any other versions of Fastboot.

- Prepended the path to all Fastboot commands (E:\Taimen\fastboot.exe flash bootloader....)

Opened a command line, navigate to E:\Taimen

Just to make sure, I cleared the Path variable (I probably could have just included this in the flash-all.bat)

- path=e:\taimen

Then I ran flash-all.bat, and it was all good.
[Google Pixel 2 XL Questions & Answers] florea_calin:
It worked for me by just unzipping the whole tools file, and put everything in there. Worked great.
[Google Pixel 2 XL Questions & Answers] wrecklesswun:
the updates are cumulative meaning you cannot go fromo july to sept... you have to go from july to aug to sept to oct to nov. This is what solved for me...
[Google Pixel 2 XL Questions & Answers] wrecklesswun:
also make sure to remove the -w from the bat file
[Google Pixel 2 XL Questions & Answers] devoid31:
doing the silly thing made it work

i'm on Linux and putting all the platform tools into the same directory as flash-all.sh made it work. i dont know why. both my installed fastboot and the downloaded one showed the same version.
[Google Pixel 2 XL Questions & Answers] CyberpodS2:
I run Windows, but out of habit I do the same thing and have never had issues. Every month I download the latest factory image and also the latest adb minimum tools package and unzip all together in their own folder. Works every time...
[Google Pixel 2 XL Questions & Answers] v12xke:
Step 1. Properly install (unzip) the latest standalone adb/fastboot binaries to a new folder on your PC and add this folder to your path statement. In Windows 10 this is under system properties>>advanced>>environment variables. You add the folder you unzipped the platform tools into (eg. C:/adb) to your path statement. Done. Now you can call up adb/fastboot from any folder on your PC. This single step would resolve so many problems people are having with the command line tools.

Step 2. If your bootloader is unlocked, go ahead and save yourself some trouble and just get the full factory image (instead of the OTA). Remove the -w switch from the flash-all script and remember to save the changes. Flashing the full image reduces the possibility of errors and you start with a fresh install every month.
[Google Pixel 2 XL Questions & Answers] RockBoyEmy:
Even though I was actually attempting to flash the 5.0 Lollipop factory image of a nexus 5, this worked for me as well on linux :p

So thanks for that!
[Google Pixel 2 XL Questions & Answers] Lethe6:
Just had this problem with Android 10 so decided to check it out. It's really quite simple.

The "-w" flag wipes userdata. And to do that, it depends on the packaged mke2fs binary. Basically you have three options:

- add that to your $PATH or %PATH%

- move the binary into the same directory as the image.

- remove the "-w" flag and preserve userdata (not recommended if you're getting rid of the device).
[Google Pixel 2 XL Questions & Answers] rcmpayne:
Had the same issue with Pixel 2 attempting to load Android 11 (R) Developer beta. Here is the error

Windows flash-all.bat

...

archive does not contain 'vendor_other.img'

Erasing 'userdata' OKAY [ 0.375s]

CreateProcess failed: The system cannot find the file specified. (2)

fastboot: error: Cannot generate image for userdata

Press any key to exit...

The issue after the Erasing 'userdata' its attempting to call mke2fs. As mentioned earlier when they say you need to copy all the files from platform-tool, they mean all the files.

After that, I see the following

archive does not contain 'vendor.sig'

Sending 'vendor_a' (342124 KB) OKAY [ 8.312s]

Writing 'vendor_a' OKAY [ 0.001s]

archive does not contain 'vendor_other.img'

Erasing 'userdata' OKAY [ 0.376s]

mke2fs 1.45.4 (23-Sep-2019)

Creating filesystem with 13933563 4k blocks and 3489792 inodes

Filesystem UUID: bf1162f2-*-8dbf34458c75

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

4096000, 7962624, 11239424

Allocating group tables: done

Writing inode tables: done

Creating journal (65536 blocks): done

Writing superblocks and filesystem accounting information: done

Answer:

1. Copy all the files from C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools\ to your folder with flash-all.bat
[Google Pixel 2 XL Questions & Answers] Rootmaster906:
sorry for postin in old thread. have a link for the dtbo image for the pixel, sailfish?
[Google Pixel 2 XL Questions & Answers] Lughnasadh:
Grab it from the factory image.
[Google Pixel 2 XL Questions & Answers] Rootmaster906:
How? When I flash the stock fw, cmd line output says no dtbo.img
[Google Pixel 2 XL Questions & Answers] Lughnasadh:
Extract it from the factory image... https://developers.google.com/android/images
[Google Pixel 2 XL Questions & Answers] Rootmaster906:
I should have elaborated. I have the Google pixel 1st Gen. My phone does not have that image
[Google Pixel 2 XL Questions & Answers] Lughnasadh:
If your phone doesn't have a dtbo image, then why are you trying to flash an image your phone doesn't have? That doesn't make sense.
[Google Pixel 2 XL Questions & Answers] Rootmaster906:
I just found out moments ago that my phone doesn't have it that's why. It was suggested to me by another user
[General Questions and Answers] mahdiit:
hi

hi

i have an andorid tv box that i can not reset, recover it, it load but there is not any

screen

i found this information about rom inside it:

cpu armeabi-v7a

g18ef

HG680-X105F

Amlogic Meson6 g02

Mali-400MP

1-the board does not have any reset button

2-i test to put rom inside SD card but there is not any activity on screen

3- I CAN DETECT IT WITH Burn tools on my pc but need IMG file to recover that i do not have

i search in net and all site have ZIP SD-CARD package

Any Solutuion? how reset it? how to load rom ?
[General Questions and Answers] Ibuprophen:
I don't have a TV Box but, it looks like you may have a Chromecast.

Your best bet is to take a look at, and post a question if needed, on the following thread.

https://xdaforums.com/showthread.php?t=2563143

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] mahdiit:
no it is not chrome cast, i really know what is it!!!! it is android box tv from a chinese company with name: FiberHome
[Google Pixel 2 XL Questions & Answers] MrBrady:
Sorry if it's already been posted.

I was having trouble copying files using Android File Transfer and figured I'd plug a USB drive into the adapter and see if it works. Sure enough, it did and transferring files was a breeze.
[Essential Phone Questions & Answers] chillkann:
Essentialers,

I'm a newbie and I just made the switch from iPhone to Android. I read a whole lot about the Essential phone and sure enough, everything checks out right. I installed all the apps/updates etc and I thought I was good to go except when I got stuck with transferring my ringtones over to the Essential phone. I transferred my .mp4 from my mac via the android file transfer over to the "Ringtones" folder on my device. But I can't seem to find the ringtones on my phone at all. How do I make sure that Settings > Sounds has the recent ringtones that I added?
[Essential Phone Questions & Answers] Charkatak:
I see you mentioned mp4, but you need mp3 files. I have few ringtones that I copied to ringtones folder and never had any issues and all of them show up.
[Essential Phone Questions & Answers] chillkann:
Thank you. Just corrected them and now I can see the ringtones.
[Xiaomi Redmi Note 3 Questions & Answers] kiran G.:
How much time does it take for a developer to develop a rom...???
[Xiaomi Redmi Note 3 Questions & Answers] storm_99:
Depends on your internet connection , PC specs and most importantly on brain.
[General Questions and Answers] alimortazavi:
hi mates

i have a htc one m7 qualcomm phone with pattern lock

can i unlock pattern without data lose?

phone is s-off and locked bl
[General Questions and Answers] mozzafar alali:
Try to install custom recovery

Go to recovery than to file Manger search for pattern.key and remove
[Xiaomi Mi Max Guides, News, & Discussion] Aryan Lathar:
https://downloads.aospextended.com go here if ur link ain't working
[Xiaomi Mi Max Guides, News, & Discussion] The Arrow:
This specific thread goes no where considering the MI-Max isn't officially supported either.

Thread closed.

Regards,

Vatsal.
[Samsung Galaxy Note 8 Accessories] SerhanS:
Hey everyone.

I've recently been considering getting a Whitestone dome as my screens usually end up getting scratched. I also tend to drop my phone at least once a week (nothing so far thankfully but I know it's a matter of when not if).

My in concern is that a couple of users reported problems with lift using the S8 Whitestone with the gear VR. Has anyone got any expirence using the note 8 protector with the new gear VR headset? I do enjoy the odd VR session but Im concerned if the protector would hold in the headset and being removed in and out of the case often.

Any our insight you could offer would be much appreciated.
[Samsung Galaxy Note 8 Accessories] princeasi:
From my experience, the Whitestone does lift/bubble in the plug area between the phone and VR. I found using the film-like screen protector fits better while plugged into the VR. However I still feel the Whitestone is the best tempered glass SP for the Note 8 to date.
[Samsung Galaxy Note 8 Accessories] SerhanS:
Thank you very much for your response. Could I ask if the problems you expirenced were for the note 8 with the gear VR 2017?

Yes I do believe based on user reviews the Whitestone is the best choice out there right now for the N8. Did you yourself switch to film for VR, or just bear with the Whitestone lift? Having a hard time finding a good film availible in the UK which isn't rated 2.5 stars :/
[Samsung Galaxy Note 8 Accessories] vagelis:
The best possible thing to do, is to somehow get an additional USB-C plug, and file it on both sides, to accommodate the extra girth of the screen and perhaps a slim case.
[Samsung Galaxy Note 8 Accessories] ruffnexx_uk:
I bought the whitestone dome for the note 8 as its currently the best screen protector you can get for the money- period, i tried loads of others but no dice.

I thought id have to sacrifice the use of the gear vr..anyway over xmas i saw one going for £50...and thought id risk it....if you file ( used a dremel) to totally file down the part of the connector that rests on the screen protector...it works beautifully.

That bit is removable and its a five minute job. Its definetly worth doing...wish i did it earlier.
[SuperSU] bloodfawn:
hello, i just flashed slim7 on my htc one m7 although i'd like to have it rooted but i don't know if it's possible at all with this kind of rom, i can't find anywhere any specific information, i wanted to have the pokemon go safety net thing working but if that isn't possible i'd be happy to have only the root with supersu, if anyone knows a thread to help me or know how to help me to do this here and give me instructions i'd appreciate it, bcs if i flash supersu on twrp when i reboot the phone it gets stuck on the loading screen and i have to reflash the rom
[SuperSU] Ibuprophen:
I don't have this device but, your best bet is to post this question within the following Slim7 thread for your device.

https://xdaforums.com/showthread.php?t=3486656

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Huawei P9 Questions & Answers] sunnymodh:
Hello Guys,

All we know, Huawei have number of models which doesn't get OTA Regular due to region or different countries polices.

I tired number of things but don't get proper information

Anyone know how to get proper firmware sequence of Huawei P9 like C185, C432, C363 because they released number of firmware B180/B385/B390 and every people have different firmware number in Same Region

If anyone know please Share detail so people can get latest Update without Visit Service Center
[Huawei P9 Questions & Answers] Drysauce:
for c432 its b136 then b182 then the nougat update is b383 and one more update which is b386

(this is based on my phone update sequence but im pretty sure its the same for all c432 phones)
[Huawei P9 Questions & Answers] sunnymodh:
No...Because i have C185 and my colleague have also same model but both have different Numbers.
[Huawei P9 Questions & Answers] Arnys:
if you got L09 - L19 got same just litle bit later .. Ps. downlod firmware finder , there you can see all versions your phone got! and change different models too!
[Huawei P9 Questions & Answers] sunnymodh:
I tried already...

I have C185B390, firmware finder Showing C185B385 & C185B393 than where is C185B390 ? why is not showing B390
[Huawei P9 Questions & Answers] yasitoo:
i have an L09-C530 (Bouygue télécom france) and i just got B384 today (B382 was the EMUI 5.0.1 update)
[Huawei P9 Questions & Answers] sunnymodh:
may be this is minor changes like B390 & B393
[Huawei P9 Questions & Answers] yasitoo:
only nov. 6 security update
[Huawei P9 Questions & Answers] zgfg:
Plus further OTAs: b391, b393 and b394.

E.g, I've received b394 OTA notification few days ago (finally installed it yesterday)

And the same sequence for L09 c432 was confirmed on this and other (German, Spanish) forums by many users

Also, better omit ancient v136. If you e.g. do Rollback to MM, you can install b182 directly, there is no more use of b136 (unfortunately, old guides list b136 and many people still waste time by installing b136)
[Huawei P9 Questions & Answers] KinG5Pac:
Somehow I got C675, update sequence is kinda like this B140 , B150, B301, B160, B310, B320 latest ?
[Huawei P9 Questions & Answers] sunnymodh:
yes...almost all region have same sequence except Middle East (C185) , here same model but different sequences
[Windows Mobile Development and Hacking General] JNasty:
Here's an idea that I have that maybe the moderators and the rest of the community can help me expand on.

Since it's award season (e.g. Grammy's, Tony's, Oscar, Golden Globes, etc) I was thinking that we should have an annual xda-developer's awards.

I was thinking that a group of moderators could take cash donations thru paypal or some other means and hand out cash prizes for the awards voted best. The monies could be collected thru out the year that way by award time there should be plenty of money to "hand out as cash prizes" Maybe T-shirts could be printed for nominees.

I was thinking that moderators could choose the nominee's and then the community could vote on the winners. I think it would be counter-intuitive to have the community vote the nominees.

Some of the categories could be as follows:

Best ROM (To include sub-categories for different handsets) and then one overall ROM of the Year.

Most Creative App: (This categories could include apps that aren't IPhone knock off or sims; Trackme and Advanced Configuration come to my mind quickly)

Best IPhone SIM (e.g. IFonz, itask, S2U2, many others)

Best Skin

Best Finger Friendly Application

Best App collaboration (Many people are not just creating apps on their own)

Developer of the Year (Many devs create more than a few apps or create a killer app and should be considered for this award). This allong with APP of the Year should be considered the TOP awards

Can I get some feed back from any mods or the community? Suggestions on prizes and additional categories? Or even if this idea stinks that's cool too.

Ahh we would need a clever name for the awards as well..or would XDA-Developer awards suffice?

Just my two cents.
[Windows Mobile Development and Hacking General] eMpTy3000:
Great idea!
[Windows Mobile Development and Hacking General] theme freak:
Really cool idea..I think this way will surely motivate all developers to work even more harder :D
[Windows Mobile Development and Hacking General] X-On:
:cool:

+1

It should not be so bad! I'm in.
[Windows Mobile Development and Hacking General] bedoig:
Awesome idea!! I'd love to see this happen.
[Windows Mobile Development and Hacking General] egzthunder1:
Some good ol' recognition never hurt anyone. That sounds like a fantastic idea
[Windows Mobile Development and Hacking General] schettj:
Best Finger Friendly Application

A_C's S2XXX apps - that's my vote.
[Windows Mobile Development and Hacking General] zcink:
Best Rom for the Wing/Herald

I nominate ttran for his Open Touch 3.0 lite

Far Superior to the Stock T-Mobile Rom.
[Windows Mobile Development and Hacking General] tmz:
Love it . All of them will rock.........
[Windows Mobile Development and Hacking General] met3ora:
A_C for best dev ever.
[Windows Mobile Development and Hacking General] umchriswho:
That's really a nice idea, but I don't think it's the way to go. I really don't know why, but it seems that it will cause some trouble at a point. Maybe, it would be better to just simplify by just awarding the title to the respected person(s).

Plus, this is online. You never know if forgery, any or any mishap will come up. Anyways, just a thought. Can't really explain what I'm trying to say. It's all mumbo-jumbo-ed.
[Windows Mobile Development and Hacking General] chrisd1a1:
think if this is managed properly it could be a brilliant idea

any mods have any views as you guys would have most of the work?
[Windows Mobile Development and Hacking General] kimolias:
Count me in too. Can't wait for this to happen.
[Windows Mobile Development and Hacking General] gh8421:
This is a fantastic idea! Even if the reward is just a speacial rank on this site it would help dev's feel as though they have accomplished something and it would also encourage people to daonate.

And for best ROM dev I would nominate YUC for his O2 XDA Stealth ROM which no one eslse has been able to do!

Some one should do a poll in this thread!
[Windows Mobile Development and Hacking General] vijay555:
Made this into a poll here:

http://xdaforums.com/showthread.php?t=373965

V
[Miscellaneous Android Development] lalitjoshi06:
Do it on your own Risk I am not responsible for any kind of brick.

Your warranty will be void.

Install adb driver first on your PC.

1.	Settings >> About phone >> Tap “Build Number” seven times. You will see “You are now a developer”

2.	Hit the back button. You will now see a new option in Settings — “Developer Options”

3.	Turn on the developer options

4.	**In the Developer Options, Enable OEM Unlock (Allow bootloader to unlock)

5.	**Enable USB debugging

6.	Plug your phone to PC via USB cable

7. open Command Prompt with admin right on your pc and type adb devices.

8.	You should then see a pop up request on your Infinix Zero 5 to give your PC USB debugging permissions. Go ahead and allow

9. Type again adb devices it will show your device in list in command prompt (like Some number)

10. Type adb reboot bootloader (your phone will reboot to fastboot mode (a dim black screen will appear))

11. Type fastboot oem unlock.

12. it will ask for permission press volume+ button to confirm and wait to complete. (done, it will erase all your data)

will take more time to reboot first time.
[Miscellaneous Android Development] sanjiv204:
upto step 10 I can see as described, but nothing happens at step 11.
[Miscellaneous Android Development] lalitjoshi06:
your driver not installed correctly.

when you enter in fastboot/bootloader mode just type fastboot devices.

if there it shows your device then only further cmd will work.

and it shows only if fastboot driver installed correctly.

Read this may help you; 1. https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/

2. https://www.xda-developers.com/install-adb-windows-macos-linux/