Skip to content

unknown321/nw-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nw-installer

Generic service installer for Walkman NW-A50Series.

Requirements:

  • Linux
  • Docker
  • ~8GB free space

Build:

Build toolchain + tools (~20 minutes on i7 7700, ~1 hour on i3 7100):

make prepare

UPG files + windows installer:

make

Rebuilding UPG

make clean && make

Rebuilding UPG with tools

make veryclean && make

Rebuilding toolchain

docker image rm nw-crosstool && make prepare

Usage:

Pack your data and install script named run.sh into userdata.tar.gz. See installer/run.sh.

  • copy userdata.tar.gz into installer directory
  • run make
  • grab UPG files from installer/<model>/ and installer/walkmanOne

Windows:

  • pack uninstaller script named run.sh and other data into userdata.uninstaller.tar.gz
  • copy userdata.uninstaller.tar.gz into installer directory
  • run make build win
  • grab Windows installer from installer/windows/install.exe

You can provide following arguments to make:

  • USERDATA_FILENAME: custom name for userdata.tar.gz used in UPG files (not for Windows)
  • OUTFILE: sets Windows installer name
  • APPNAME: sets application name in installer
  • A50: NW-A50 Windows support (default: on)
  • A40: NW-A40 Windows support (default: on)
  • A30: NW-A30 Windows support (default: on)
  • A50Z: NW-A50Z (mod) Windows support (default: on)
  • WM1AZ: NW-WM1A/Z Windows support (default: on)
  • ZX300: ZX300 Windows support (default: on)
  • DMPZ1: DMP-Z1 Windows support (default: on)
  • A40MOD_ONLY: indicates that NW-A40 build must be used only with A50 mod and stock fw is incompatible (default: off)
  • A30MOD_ONLY: NW-A30 build must be used only with WalkmanOne and stock fw is incompatible (default: off)

Example:

Produces Walkman One, A50/40/30 UPG files:

$ make
...
tree -P "*.UPG" --noreport installer/
installer/
├── bin
├── a50z
│   └── NW_WM_FW.UPG
├── nw-a30
│   └── NW_WM_FW.UPG
├── nw-a40
│   └── NW_WM_FW.UPG
├── nw-a50
│   └── NW_WM_FW.UPG
└──  walkmanOne
     └── NW_WM_FW.UPG

Produces Walkman One, A50(Z)/40/30 UPG files and Windows installer (A30 is disabled). Windows installer indicates that only A40 mod is supported:

$ make build win OUTFILE=mybinary.exe APPNAME=uniqueApplication A30=0 A40MOD_ONLY=1
...
Processed 1 file, writing output (x86-unicode):

Output: "mybinary.exe"

Produces UPG files using test.tar.gz:

$ make build USERDATA_FILENAME=test.tar.gz

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks