Giter Club home page Giter Club logo

Comments (27)

Botspot avatar Botspot commented on June 25, 2024

I think the actual error message you saw was:
Successfully downloaded ESD image, but it appears to be corrupted. Please run this script again.

Did you see any errors when downloading?
Also, I would like to try to reproduce this, but the image I download depends on the language you chose. Since that could still be inaccurate, could you run wor-flasher again and take note of the Input configuration: lines of output? Specifically, I need you to send the BID line. The line looks like this: BID: XXXXXXXX

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Thanks for the reply, I choose en-us, sure i will try to run it once again and copy paste the IO here, but there really isn't that much output in terminal because it fails very quickly after i click flash i guess just the 10 lines, in these lines it shows the config.txt and the error message

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

So i ran it agan and here is what the output looks like after it throws the error:

Checking for internet connection... Done

Input configuration:
DL_DIR: /home/nasyx/wor-flasher-files
RUN_MODE: gui
RPI_MODEL: 4
DEVICE: /dev/sda
CAN_INSTALL_ON_SAME_DRIVE: 1
BID: 22621.1702
WIN_LANG: en-us
CONFIG_TXT: ⤵
  > # don't change anything below this point #
  > arm_64bit=1
  > arm_boost=1
  > enable_uart=1
  > uart_2ndstage=1
  > enable_gic=1
  > armstub=RPI_EFI.fd
  > disable_commandline_tags=1
  > disable_overscan=1
  > device_tree_address=0x1f0000
  > device_tree_end=0x200000
  > dtoverlay=miniuart-bt
  > dtoverlay=upstream-pi4
CONFIG_TXT: ⤴
DRY_RUN: 0

Not downloading /home/nasyx/wor-flasher-files/peinstaller - folder exists
Not downloading /home/nasyx/wor-flasher-files/driverpackage - folder exists
Not downloading /home/nasyx/wor-flasher-files/pi4-uefipackage - folder exists
Downloading Windows ESD image
Done —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Verifying download... 
Successfully downloaded ESD image, but it appears to be corrupted. Please run this script again.


I also attached the screenshot below

SCREENSHOT

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

I have tried to replicate your situation as much as possible, but I was not able to get this error to occur.

Input configuration:
DL_DIR: /home/pi/wor-flasher-files
RUN_MODE: gui
RPI_MODEL: 4
DEVICE: /dev/sdb
CAN_INSTALL_ON_SAME_DRIVE: 0
BID: 22621.1702
WIN_LANG: en-us
CONFIG_TXT: ⤵
  > # don't change anything below this point #
  > arm_64bit=1
  > arm_boost=1
  > enable_uart=1
  > uart_2ndstage=1
  > enable_gic=1
  > armstub=RPI_EFI.fd
  > disable_commandline_tags=1
  > disable_overscan=1
  > device_tree_address=0x1f0000
  > device_tree_end=0x200000
  > dtoverlay=miniuart-bt
  > dtoverlay=upstream-pi4
CONFIG_TXT: ⤴
DRY_RUN: 1

Downloading WoR PE-based installer from Google Drive
Done ———————————————————————————————————————————————————————————————————————————

Downloading ARM64 drivers
Done ———————————————————————————————————————————————————————————————————————————

Downloading Pi4 UEFI firmware
Done ———————————————————————————————————————————————————————————————————————————

Downloading Windows ESD image
Done ———————————————————————————————————————————————————————————————————————————
Verifying download... Done

Is your internet connection unreliable or slow? Are you using WiFi or Ethernet?

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

I use WIFI, i tried it again and again and it is throwing me same error all the time, could it be because i am using cloudflare DNS in my raspberry pi os, because without cloudflare dns i can't access sites like
https://raw.githubusercontent.com and some other sites, pi apps was also not responding without the dns, i get timeout error without dns, today i also tried to flash windows in usb drive by WOR flasher for windows 11, i downloaded the file from and ran the script on windows and it started downloading esd images and drivers and some other files, then after the download was finished it started converting it to ISO image, and it did convert it successfully, the size was around 4.5 GB, i had selected only Windows 11 Home on the download page, so when i tried to flash, it showed mounting image and then unmounting image, and then throwed this error, the selected image file is not supported, please select a compatible windows arm64 build or.newer image I had selected rpi4/400 device.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

On which OS did you try to replicate the issue, if its raspberry pi os, is it 32 bit or 64 bit

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

On which OS did you try to replicate the issue, if its raspberry pi os, is it 32 bit or 64 bit

PiOS 64-bit

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

I also tried on the same Pi Os 64 bit but all in vain, i am currently trying with parrot os, it's downloading esd image right now let's see where it goes, it's without dns and it's a fresh install
20230812_094331

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

I have made a change to wor-flasher that might help. Now, when it displays that error about the image being corrupted, it will display the expected and the actual SHA1 hashes of the file. This will not solve your problem, but it will help if one of the hashes is missing, for example.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

I have made a change to wor-flasher that might help. Now, when it displays that error about the image being corrupted, it will display the expected and the actual SHA1 hashes of the file. This will not solve your problem, but it will help if one of the hashes is missing, for example.

But it won't help, as i stated earlier i modifed the cide to skip the check for hash matching then it throwed another error when it tried to extract the image, it showed Can't extract the image, image contains invalid data

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

I might have just found the problem.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Didn't work on parrot os either.

16918146944971971806646347273994

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

I might have just found the problem.

Really, what's it

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

My theory is that your first download attempt did fail or was corrupted, but from that point on, aria2c (the downloader program) continued to try to use that corrupted ESD image, rather than starting over. The change I just made forces aria2c to restart the download. Try running wor-flasher again and see if it helps.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

sure, i will delete the wor flashed and install it from git repository,

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

wor-flasher should be able to detect the new version and reinstall itself automatically.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

I just pulled it manually

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Do i need to re download the esd image or should i use the existing one which i download few minutes ago on parrot os

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Ok it started re downloading the image even though i had the existing one already in wor-flasher-files, will it replace the existing image in wor-flasher-files with new one

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

It's downloading esd image, i will update you here, and also i am getting this warning in terminal:

./install-wor-gui.sh: line 329: bc: command not found

will it cause any issues or is it occurring due to missing dependency/package

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

I've now made wor-flasher make sure bc is installed. I was under the impression that it was always preinstalled on all systems, but I guess not. It's used in only one place, and that's to display your available RAM in a human-readible way. Wor-flasher will work without bc installed.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Ah ok, thanks

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

The fact that wor-flasher is re-downloading the ESD image is a good sign. Has it completed for you yet?

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

no, not yet, my internet speed is currently 5 mbps. 2gb downloaded, i ll let you know on any progress

from wor-flasher.

Botspot avatar Botspot commented on June 25, 2024

Well I need to go to bed now. Hopefully by my morning, it's solved for you.

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

Well I need to go to bed now. Hopefully by my morning, it's solved for you.

Hope so. It is currently morning here 💦 11:00 AM, good night

from wor-flasher.

nasyx-rakeeb avatar nasyx-rakeeb commented on June 25, 2024

It worked, thankyou for the fix, It even runs amd64/x86 programs like a charm and without any third party softwares. And is there a way to turn off network boot, when i am not connected to ethernet, it shows Error: Could not detect network connection at boot time

from wor-flasher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.