Manually Construct Indoor Activity GPX to upload into Strava - Amazfit

After some research on XDA and understanding the GPX xml file format, I put together a quick guide to export, transform and upload indoor activities captured on your Amazfit Pace into Strava.
Success importing indoor activity data from Amazfit Pace , formatting into GPX file and uploading into Strava..
1. Follow instructions in thread to export backup of database on to PC (https://forum.xda-developers.com/smartwatch/amazfit/xiaomi-huami-amazfit-export-data-t3533292)
2. Open sports_data table from DB using SQLite or other DB browser and export to CSV file.
3. Open MS excel.
4. Convert the [track_id] and [time] fields from 13 digit number using the following formula:
{value}/86400000+DATE(1970,1,1)
5. Format [track_id] and [time] fields to date format YYYY-MM-DD HH:MI:SS
6. Convert [run_time] to seconds using:
{value}/1000
7. Add converted [run_time] value to time value in field [time]
8. Analysis, each unique value in [track_id] will correspond to a unique recorded activity.
9. Merge values into attached GPX file and upload into Strava.
- populate lat/long
- <ele>##.#</ele> this is elevation; choose arbitrary value
- <hr>##</hr> this is heart rate from [rate] field
10. Each row on spreadsheet corresponds to an individual trackpoint record.
11. Save file as *.gpx and upload to Strava
example GPX file below
***********************************************************************************************
<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="StravaGPX" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
<metadata>
<time>YYYY-MM-DDTHH:MI:SSZ</time>
</metadata>
<trk>
<name>Indoor Cycling</name>
<trkseg>
<trkpt lat="##.#######" lon="-##.#######">
<ele>##.#</ele>
<time>YYYY-MM-DDTHH:MI:SSZ</time>
<extensions>
<gpxtpx:TrackPointExtension>
<gpxtpx:hr>##</gpxtpx:hr>
</gpxtpx:TrackPointExtension>
</extensions>
</trkpt>
<!-- additional measured trackpoints -->
<!-- <trkpt lat="##.#######" lon="-##.#######"> -->
<!-- to -->
<!-- </trkpt> -->
</trkseg>
</trk>
</gpx>
***********************************************************************************************

As described in https://forum.xda-developers.com/showpost.php?p=73037563&postcount=106 you can use the provided python script.
I changed it so that all non GPS activities are exported as well.
I only did it in TCX, which is also accepted on strava.
https://www.dropbox.com/s/nyqrxavhvdxw21j/AmazfitExport2.ZIP?dl=1

fzelle said:
As described in https://forum.xda-developers.com/showpost.php?p=73037563&postcount=106 you can use the provided python script.
I changed it so that all non GPS activities are exported as well.
I only did it in TCX, which is also accepted on strava.
https://www.dropbox.com/s/nyqrxavhvdxw21j/AmazfitExport2.ZIP?dl=1
Click to expand...
Click to collapse
Hello, I tried it in Amazfit Pace and I got the following message:
*******************************************************
** PGM download sport_data from the Huami watch **
** and export to TCX or GPX **
*******************************************************
.
*******************************************************
** sport_data.db not exist in your PC **
*******************************************************
.
*******************************************************
** Conect your watch to PC and press ENTER **
*******************************************************
.
*******************************************************
** Download sport_data.db **
** If is not response, then reconnect your watch. **
*******************************************************
.
List of devices attached
18511834 device
Now unlock your device and confirm the backup operation.
El sistema no puede encontrar la ruta especificada.
El sistema no puede encontrar la ruta especificada.
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
El sistema no puede encontrar el archivo especificado.
*******************************************************
** Download sport_data.db is completed. **
*******************************************************
.
*******************************************************
** Exporting to TCX **
*******************************************************
.
*******************************************************
Time zone is now: 0h
Traceback (most recent call last):
File "pgm/tcx/amazfit_exporter_cli.py", line 33, in <module>
amazfit_exporter.db_to_tcx(db,dest,upd_begtime,tz)
File "C:\Users\Maria\Downloads\AmazfitExport2\AmazfitExport\pgm\tcx\amazfit_ex
porter.py", line 16, in db_to_tcx
cur.execute('SELECT track_id, start_time, type, content from sport_summary w
here track_id >'+ str(begtime) + '')
sqlite3.OperationalError: no such table: sport_summary
*******************************************************
** Export to TCX is done **
*******************************************************
At the end, nothing is exported.
Any idea?
Thanks a lot,
Alberto

Can you pm me the database?
I will have a look at the data, because the table sport_summary should be there
Edit:
Just saw "El sistema no puede encontrar la ruta especificada."
are you sure you pressed the button on the watch to allow the backup?

Just want to ask, can we make it an APK??? so that it is easy to use?

https://developer.android.com/studio/index.html
And no it won't be easier, because you need root for that on the watch.
But there is one already, just use search

Related

[HOWTO] Sign and sideload Tizen applications to the Gear Fit2 (from Windows)

Intro
This howto will explain how to sideload *.tpk and *.wgt applications on your Gear Fit2. It'll also cover how to re-sign the application with your own certificates. This can be required if the application does not include a signature that's valid for your particular Gear Fit2. For example, this would be the case for applications that haven't been accepted to the Galaxy Apps store.
Warning
Unless we get people to develop and share their applications for the Gear Fit2, essentially all applications will have been developed for a different device. This means you'll run into varying degrees of incompatibility. Even if the application installs, there's no guarantee it will run. And even if it does run, it may be a terrible experience. And please show some caution regarding what you attempt to install, I don't take responsibility if you break anything following the guide.
Getting your own author and distributor certificates for your Gear Fit2
In order to sign applications, you need an author and distributor certificate for our Gear Fit2 device. For applications on the Galaxy Apps store, Samsung would be the one who signs applications with a distributor certificate. Since you will be sideloading applications, there's no guarantee they contain a valid signature from Samsung. You there need your own distributor certificate. This certificate will only be valid for signing applications for your particular Gear Fit2, which is why I can't make one for you. However you'll only have to do this once and can uninstall Tizen Studio after you're done. Unless you want to develop applications for the Gear Fit2, of course.
Things to download
Java SE Development Kit 8
Tizen Studio 1.2 with IDE installer
Tizen Studio setup
To install, simply accept the software licence agreement and install both the Tizen SDK and data in their default locations.
After installation, Tizen Studio Package Manager should automatically launch. If not, launch Tizen Studio and choose Tools->Package Manager. In the Package Manager you choose the Extension SDK tab and install Samsung Certificate Extension. When it has been installed, close the window and launch Tizen Studio. Press OK for default workspace location.
Connect Gear Fit2 to Tizen Studio
On your Gear Fit2: Got to Settings->Gear info and turn on Debugging. Then go to Settings->Connections. Here you make sure Wi-Fi is turned on and logged on to the same Wi-Fi network as your Windows computer and that Bluetooth is turned off. The Gear Fit2 tend to automatically log off Wi-Fi networks if its connected through Bluetooth. While you can have both on if you're quick, simply turning off Bluetooth leads to much less frustration. You may have to restart your Gear Fit2 at this point to get everything working.
In Tizen Studio, you should see a drop-down list in the tool bar saying No Target. Open the drop-down list and choose Launch remote device manager. Here you press Scan and wait for your device's IP address to appear. You'll only see Tizen devices, so unless you have multiple, there will only be one result. If it doesn't appear, repeat the process above. On the toggle under Connect, turn it from off to on. On your Gear Fit2 it should say RSA key fingerprint: .... You accept on the device and should now be connected. Close down the Remote Device Manager window. The drop-down list should now say SM-R360 ....
Now you choose the menu item Tools->Certificate Manager. Add a new certificate profile by pressing the "+" sign up to the right and then select SAMSUNG as the type for your certificate profile. Go through the 4 tabs as follows
Device Type
Choose Mobile/Wearable and press next.
Certificate Profile
Choose Create a new certificate profile and type any name you want. Press next.
Author Certificate
Choose Create a new author certificate and press next.
Type in an author name and password. Make sure you remember the password as it will be needed for signing applications later on.
You'll now be asked to sign in to your Samsung account. If you don't have one, choose Create new account and follow instructions.
After you've signed in you should get a Congratulations! notice. Take note of the location of the author certificate and press next
Distributor Certificate
Choose Create new distributor certificate and press next.
For Privilege choose Partner. This defines how much of the Tizen API the applications you'll be signing are allowed to access. The three levels are Public, Partner and Platform with Platform being the highest level of access. Unfortunately that's not available to us, so we choose Partner.
IMPORTANT: Leave the password as it is.
Under the section Add individual DUIDs you should find the first entry contains something that starts with 2.0#.... That's your Gear Fit2's DUID. If you don't see it, press cancel (sorry) and go back to the Connect Gear Fit2 to Tizen Studio section above. If you do see, it press next. Make a note of the location of the distributor certificate. This should be the same as the author certificate from above. Then press Finish and you're done.
Signing and installing applications on your Gear Fit2
Things to download (See attachments to the post)
Fit2Installer
PacMan
We'll use PacMan as an example. It's a modified version of the PacMan application found in this xda post. Some of the other applications in that link work on the Gear Fit2, some don't.
Using Fit2Installer
Download and extract the Fit2Installer. The folder contains the following.
sdb.exe: Smart Development Bridge for Tizen devices. This allows us to connect to the device and install applications. See tizen.developer.org's sdb section for more information on what you can do with it.
7zipcli: The open source a command-line archiver from 7-zip. Used to package applications.
tizen: A very stripped down version of Tizen Studio that only contains the required files for signing and packaging applications.
cert: Empty folder where you're supposed to place your own certificates.
sign_me: Empty folder where you place applications you want to be signed.
install_me: Empty folder where you place applications you want to be installed on your device.
sign.bat: Batch script that will sign the applications put in sign_me
sign.bat: Batch script that will connect your Gear Fit2 to your computer, allowing you to install applications.
install.bat: Batch script that will install the applications put in install_me
connect.bat: Batch script that will connect to your Gear Fit2.
disconnect.bat: Batch script that will disconnect from your Gear Fit2.
Setting up your certificates
Go to the location of the certificates you generated with the Certificate Manager. The standard location is in your user folder under ~\SamsungCertificate\<name of cert profile>. The folder should contain 9 files. Copy all those directly into the .\Fit2Installer\cert\ folder. Eg, distributor.p12 should be placed as .\Fit2Installer\cert\distributor.p12.
Signing applications
There are two ways of using the sign.bat script.
Place a *.tpk or *.wgt file directly in the sign_me folder. Run the sign.bat script and type in the password you chose for your certificate earlier. If successful, this will produce a *.tpk or *.wgt file in the install_me folder.
If you don't have the package file, but rather just a folder containing the files for the application you'll have to place that folder in sign_me. For *.tpk files, this means the path will be .\Fit2Installer\sign_me\<application_folder>\tizen-manifest.xml. For *wgt files it will be .\Fit2Installer\sign_me\<application_folder>\config.xml. Now, run the sign.bat script and type in your certificate password.
As an example, I've attached PacMan. PacMan is a web-app that was packaged for the Gear S2. In order to get it to fit the Gear Fit2 screen, I had to extract the PacMan.wgt file and make a few changes to the code. Changes to the files invalidates the signature, so I had to resign it using my own certificates. If you've everything set up correctly, this should be fairly simple for you to do too.
Extract the PacMan.zip archive and place the content in the folder .\Fit2Installer\sign_me\PacMan\ and run the sign.bat script. Look in the install_me folder to check there's a *.wgt file for PacMan.
Installing applications
As in the earlier section Connect Gear Fit2 to Tizen Studio, make sure you're on Wi-Fi, bluetooth is off and debugging in turned on. Also, make sure you only have one Tizen device connected to your computer (this includes Tizen emulators).
Run the connect.bat script and type in the IP address of your Gear Fit2. If you do not know the IP address, you can find it on the device under Settings->Connections->Wi-Fi->Wi-Fi networks-><wifi_name> and at the bottom of the list. Make sure you allow sdb.exe through your firewall.
Important responses are:
error: failed to connect to remote target <ip address>
Make sure you've set up your device correctly. Try turning Wi-Fi off and on. Or even a reboot of the device.
device unauthorized. Please approve on your device.
This may mean you have to accept the RSA key fingerprint on your Gear Fit2. However, there appears to be a bug in the sdb that causes this to happen regardless. Try to run the script twice and see if you get the message below:
<ip address>:26101 is already connected
Now you know for sure your device is connected.
After you've connected, you can safely turn Bluetooth back on. Remember to run disconnect.bat when you're done installing applications. Your Gear Fit2 will otherwise stay connected and drain a lot of battery.
Similarly to using the sign.bat script, there are two ways of using the install.bat script. Both of them require the application to already have a valid signature.
Place a *.tpk or *.wgt file directly in the install_me folder. Run the install.bat script.
If you don't have the package file, but rather just a folder containing the application you'll have to place that folder in install_me. For *.tpk files, this means the path will be .\Fit2Installer\install_me\<application_folder>\tizen-manifest.xml. For *wgt files it will be .\Fit2Installer\install_me\<application_folder>\config.xml.. Run the install.bat script.
Since PacMan should already be signed and placed correctly in the install_me folder, you can now run the install.bat script to install it on your Gear Fit2.
LeJay said:
Intro
This howto will explain how to sideload *.tpk and *.wgt applications on your Gear Fit2. It'll also cover how to re-sign the application with your own certificates. This can be required if the application does not include a signature that's valid for your particular Gear Fit2. For example, this would be the case for applications that haven't been accepted to the Galaxy Apps store.
Warning
Unless we get people to develop and share their applications for the Gear Fit2, essentially all applications will have been developed for a different device. This means you'll run into varying degrees of incompatibility. Even if the application installs, there's no guarantee it will run. And even if it does run, it may be a terrible experience. And please show some caution regarding what you attempt to install, I don't take responsibility if you break anything following the guide.
Getting your own author and distributor certificates for your Gear Fit2
In order to sign applications, you need an author and distributor certificate for our Gear Fit2 device. For applications on the Galaxy Apps store, Samsung would be the one who signs applications with a distributor certificate. Since you will be sideloading applications, there's no guarantee they contain a valid signature from Samsung. You there need your own distributor certificate. This certificate will only be valid for signing applications for your particular Gear Fit2, which is why I can't make one for you. However you'll only have to do this once and can uninstall Tizen Studio after you're done. Unless you want to develop applications for the Gear Fit2, of course.
Things to download
Java SE Development Kit 8
Tizen Studio 1.2 with IDE installer
Tizen Studio setup
To install, simply accept the software licence agreement and install both the Tizen SDK and data in their default locations.
After installation, Tizen Studio Package Manager should automatically launch. If not, launch Tizen Studio and choose Tools->Package Manager. In the Package Manager you choose the Extension SDK tab and install Samsung Certificate Extension. When it has been installed, close the window and launch Tizen Studio. Press OK for default workspace location.
Connect Gear Fit2 to Tizen Studio
On your Gear Fit2: Got to Settings->Gear info and turn on Debugging. Then go to Settings->Connections. Here you make sure Wi-Fi is turned on and logged on to the same Wi-Fi network as your Windows computer and that Bluetooth is turned off. The Gear Fit2 tend to automatically log off Wi-Fi networks if its connected through Bluetooth. While you can have both on if you're quick, simply turning off Bluetooth leads to much less frustration. You may have to restart your Gear Fit2 at this point to get everything working.
In Tizen Studio, you should see a drop-down list in the tool bar saying No Target. Open the drop-down list and choose Launch remote device manager. Here you press Scan and wait for your device's IP address to appear. You'll only see Tizen devices, so unless you have multiple, there will only be one result. If it doesn't appear, repeat the process above. On the toggle under Connect, turn it from off to on. On your Gear Fit2 it should say RSA key fingerprint: .... You accept on the device and should now be connected. Close down the Remote Device Manager window. The drop-down list should now say SM-R360 ....
Now you choose the menu item Tools->Certificate Manager. Add a new certificate profile by pressing the "+" sign up to the right and then select SAMSUNG as the type for your certificate profile. Go through the 4 tabs as follows
Device Type
Choose Mobile/Wearable and press next.
Certificate Profile
Choose Create a new certificate profile and type any name you want. Press next.
Author Certificate
Choose Create a new author certificate and press next.
Type in an author name and password. Make sure you remember the password as it will be needed for signing applications later on.
You'll now be asked to sign in to your Samsung account. If you don't have one, choose Create new account and follow instructions.
After you've signed in you should get a Congratulations! notice. Take note of the location of the author certificate and press next
Distributor Certificate
Choose Create new distributor certificate and press next.
For Privilege choose Partner. This defines how much of the Tizen API the applications you'll be signing are allowed to access. The three levels are Public, Partner and Platform with Platform being the highest level of access. Unfortunately that's not available to us, so we choose Partner.
IMPORTANT: Leave the password as it is.
Under the section Add individual DUIDs you should find the first entry contains something that starts with 2.0#.... That's your Gear Fit2's DUID. If you don't see it, press cancel (sorry) and go back to the Connect Gear Fit2 to Tizen Studio section above. If you do see, it press next. Make a note of the location of the distributor certificate. This should be the same as the author certificate from above. Then press Finish and you're done.
Signing and installing applications on your Gear Fit2
Things to download (See attachments to the post)
Fit2Installer
PacMan
We'll use PacMan as an example. It's a modified version of the PacMan application found in this xda post. Some of the other applications in that link work on the Gear Fit2, some don't.
Using Fit2Installer
Download and extract the Fit2Installer. The folder contains the following.
sdb.exe: Smart Development Bridge for Tizen devices. This allows us to connect to the device and install applications. See tizen.developer.org's sdb section for more information on what you can do with it.
7zipcli: The open source a command-line archiver from 7-zip. Used to package applications.
tizen: A very stripped down version of Tizen Studio that only contains the required files for signing and packaging applications.
cert: Empty folder where you're supposed to place your own certificates.
sign_me: Empty folder where you place applications you want to be signed.
install_me: Empty folder where you place applications you want to be installed on your device.
sign.bat: Batch script that will sign the applications put in sign_me
sign.bat: Batch script that will connect your Gear Fit2 to your computer, allowing you to install applications.
install.bat: Batch script that will install the applications put in install_me
connect.bat: Batch script that will connect to your Gear Fit2.
disconnect.bat: Batch script that will disconnect from your Gear Fit2.
Setting up your certificates
Go to the location of the certificates you generated with the Certificate Manager. The standard location is in your user folder under ~\SamsungCertificate\<name of cert profile>. The folder should contain 9 files. Copy all those directly into the .\Fit2Installer\cert\ folder. Eg, distributor.p12 should be placed as .\Fit2Installer\cert\distributor.p12.
Signing applications
There are two ways of using the sign.bat script.
Place a *.tpk or *.wgt file directly in the sign_me folder. Run the sign.bat script and type in the password you chose for your certificate earlier. If successful, this will produce a *.tpk or *.wgt file in the install_me folder.
If you don't have the package file, but rather just a folder containing the files for the application you'll have to place that folder in sign_me. For *.tpk files, this means the path will be .\Fit2Installer\sign_me\<application_folder>\tizen-manifest.xml. For *wgt files it will be .\Fit2Installer\sign_me\<application_folder>\config.xml. Now, run the sign.bat script and type in your certificate password.
As an example, I've attached PacMan. PacMan is a web-app that was packaged for the Gear S2. In order to get it to fit the Gear Fit2 screen, I had to extract the PacMan.wgt file and make a few changes to the code. Changes to the files invalidates the signature, so I had to resign it using my own certificates. If you've everything set up correctly, this should be fairly simple for you to do too.
Extract the PacMan.zip archive and place the content in the folder .\Fit2Installer\sign_me\PacMan\ and run the sign.bat script. Look in the install_me folder to check there's a *.wgt file for PacMan.
Installing applications
As in the earlier section Connect Gear Fit2 to Tizen Studio, make sure you're on Wi-Fi, bluetooth is off and debugging in turned on. Also, make sure you only have one Tizen device connected to your computer (this includes Tizen emulators).
Run the connect.bat script and type in the IP address of your Gear Fit2. If you do not know the IP address, you can find it on the device under Settings->Connections->Wi-Fi->Wi-Fi networks-><wifi_name> and at the bottom of the list. Make sure you allow sdb.exe through your firewall.
Important responses are:
error: failed to connect to remote target <ip address>
Make sure you've set up your device correctly. Try turning Wi-Fi off and on. Or even a reboot of the device.
device unauthorized. Please approve on your device.
This may mean you have to accept the RSA key fingerprint on your Gear Fit2. However, there appears to be a bug in the sdb that causes this to happen regardless. Try to run the script twice and see if you get the message below:
<ip address>:26101 is already connected
Now you know for sure your device is connected.
After you've connected, you can safely turn Bluetooth back on. Remember to run disconnect.bat when you're done installing applications. Your Gear Fit2 will otherwise stay connected and drain a lot of battery.
Similarly to using the sign.bat script, there are two ways of using the install.bat script. Both of them require the application to already have a valid signature.
Place a *.tpk or *.wgt file directly in the install_me folder. Run the install.bat script.
If you don't have the package file, but rather just a folder containing the application you'll have to place that folder in install_me. For *.tpk files, this means the path will be .\Fit2Installer\install_me\<application_folder>\tizen-manifest.xml. For *wgt files it will be .\Fit2Installer\install_me\<application_folder>\config.xml.. Run the install.bat script.
Since PacMan should already be signed and placed correctly in the install_me folder, you can now run the install.bat script to install it on your Gear Fit2.
Click to expand...
Click to collapse
It may work on gear s? Tizen is linux kernel isn't it? I starting my little steps on code thanks for your explanetion...
Sent from my SM-G955F using Tapatalk
Few months tooo late...
Somebody tested this solution successfully?
I wish to insert the Certs for Public, Partner and Platform...
https://forum.xda-developers.com/showpost.php?p=76472787&postcount=509
:angel:
I am using since years my SM-Z130H, RD-PQ and now SM-Z300H for signing easily...
But as Windows Fan Boy maybe Windows solution would be nice. :angel:
I will later add info where I have problems... maybe only path wrong...
Best Regards
Code:
D:\Fit2Installer>sign.bat
Enter certificate password: test
Setting configuration is succeeded....
No exist the default path of security profiles.
[COLOR="Red"][B]Specified file not found: ..\..\..\..\..\cert\author.p12[/B][/COLOR]
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Scanning
Creating archive ..\PacMan_zip.zip
Compressing audio\die.mp3
Compressing audio\die.ogg
Compressing audio\eatghost.mp3
Compressing audio\eatghost.ogg
Compressing audio\eating.mp3
Compressing audio\eating.ogg
Compressing audio\eating.short.mp3
Compressing audio\eating.short.ogg
Compressing audio\eatpill.mp3
Compressing audio\eatpill.ogg
Compressing audio\extra lives.mp3
Compressing audio\extra lives.ogg
Compressing audio\intermission.mp3
Compressing audio\intermission.ogg
Compressing audio\opening_song.mp3
Compressing audio\opening_song.ogg
Compressing audio\siren.mp3
Compressing audio\siren.ogg
Compressing audio\vcs_90.mp3
Compressing audio\vcs_90.ogg
Compressing BD_Cartoon_Shout-webfont.ttf
Compressing config.xml
Compressing icon.png
Compressing index.html
Compressing jquery-1.9.1.js
Compressing LICENSE
Compressing modernizr-1.5.min.js
Compressing pacman.js
Compressing screenshots\pacman1.png
Compressing screenshots\pacman2.png
Compressing screenshots\pacman3.png
Compressing screenshots\pacman4.png
Everything is Ok
1 Datei(en) verschoben.
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.tizen.ncli.subcommands.sign.SignCLICommand.validateProfilesPath(SignCLICommand.java:120)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:63)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:48)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:85)
at org.tizen.ncli.ide.shell.PackageCLI.doRepackageForWgt(PackageCLI.java:470)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForWgt(PackageCLI.java:715)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1056)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.util.NLS
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 22 more
Drücken Sie eine beliebige Taste . . .
Will try to set Path manually...
Maybe my fault...
Best Regards
adfree said:
Code:
D:\Fit2Installer>sign.bat
Enter certificate password: test
Setting configuration is succeeded....
No exist the default path of security profiles.
[COLOR="Red"][B]Specified file not found: ..\..\..\..\..\cert\author.p12[/B][/COLOR]
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Scanning
Creating archive ..\PacMan_zip.zip
Compressing audio\die.mp3
Compressing audio\die.ogg
Compressing audio\eatghost.mp3
Compressing audio\eatghost.ogg
Compressing audio\eating.mp3
Compressing audio\eating.ogg
Compressing audio\eating.short.mp3
Compressing audio\eating.short.ogg
Compressing audio\eatpill.mp3
Compressing audio\eatpill.ogg
Compressing audio\extra lives.mp3
Compressing audio\extra lives.ogg
Compressing audio\intermission.mp3
Compressing audio\intermission.ogg
Compressing audio\opening_song.mp3
Compressing audio\opening_song.ogg
Compressing audio\siren.mp3
Compressing audio\siren.ogg
Compressing audio\vcs_90.mp3
Compressing audio\vcs_90.ogg
Compressing BD_Cartoon_Shout-webfont.ttf
Compressing config.xml
Compressing icon.png
Compressing index.html
Compressing jquery-1.9.1.js
Compressing LICENSE
Compressing modernizr-1.5.min.js
Compressing pacman.js
Compressing screenshots\pacman1.png
Compressing screenshots\pacman2.png
Compressing screenshots\pacman3.png
Compressing screenshots\pacman4.png
Everything is Ok
1 Datei(en) verschoben.
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.tizen.ncli.subcommands.sign.SignCLICommand.validateProfilesPath(SignCLICommand.java:120)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:63)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:48)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:85)
at org.tizen.ncli.ide.shell.PackageCLI.doRepackageForWgt(PackageCLI.java:470)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForWgt(PackageCLI.java:715)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1056)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.util.NLS
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 22 more
Drücken Sie eine beliebige Taste . . .
Will try to set Path manually...
Maybe my fault...
Best Regards
Click to expand...
Click to collapse
yes, i also had to change the paths manually in the sign.bat file; and then it works - on gear s3, tizen 3.0.0.2
@stakoz
Please, can you post your changes?
Thanx in advance.
Best Regards
Hi adfree
I have placed the unzipped "Fit2Installer" folder in the main tree C:\Fit2Installer
(this is Windows 10 on a Virtual Machine on a Mac)
As per the instructions have already copy pasted the certificates made with Tizen Studio in C:\Fit2Installer\cert
Below is the contents of my "sign.bat" file relating to above path
And further below is also the output window of cmd.exe having run the "sign.bat" file for "waldo_transl.wgt" that was placed in the "sign_me" subfolder
There is something about security profile.xml path, which i also tried to address by editing the default profile path in the "tizen cli-config" file, but it always comes back as before, so left it as it was, as it still works.
Finally I also shared with all my PC users the read/write rights for the "Fit2Installer" folder just in case, as described in the instructions for the "Tizen Studio" folder too
Hope this helps
+++
contents of my modified "sign.bat" :
+++
@Echo off
set /p pass="Enter certificate password: "
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat cli-config -- .\tizen "default.profiles.path=..\..\..\..\profiles.xml"
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat security-profiles add -- .\tizen -f -n MyProfile -a C:\Fit2Installer\cert\author.p12 -p %pass% -d C:\Fit2Installer\cert\distributor.p12 -dp %pass%
for %%f in (.\sign_me\*.tpk) do (
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- "%%f" -o C:\Fit2Installer\install_me\
)
for %%f in (.\sign_me\*.wgt) do (
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- "%%f" -o C:\Fit2Installer\install_me\
)
for /D %%d in (.\sign_me\*) do (
IF EXIST %%d\config.xml (
cd %%d
call "C:\Fit2Installer\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_wgt.wgt"
cd ..
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- ".\sign_me\%%~nd_wgt.wgt" -o C:\Fit2Installer\install_me\
del ".\sign_me\%%~nd_wgt.wgt"
) ELSE (
IF EXIST %%d\tizen-manifest.xml (
cd %%d
call "C:\Fit2Installer\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_tpk.tpk"
cd ..
call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- ".\sign_me\%%~nd_tpk.tpk" -o C:\Fit2Installer\install_me\
del ".\sign_me\%%~nd_tpk.tpk"
)
)
)
pause
+++
contents of the output window of cmd.exe having run above sign.bat file :
+++
Enter certificate password: password
Setting configuration is succeeded....
Loaded in 'C:\Fit2Installer\tizen\profiles.xml'.
Security profiles have a specified profile. Will be overwritten.
author path: C:\Fit2Installer\cert\author.p12
author password: *********
distributor1 path: C:\Fit2Installer\cert\distributor.p12
distributor1 password: *********
Wrote to 'C:\Fit2Installer\tizen\profiles.xml'.
Succeed to add 'MyProfile' profile.
If want to sign by this, add the file of security profiles in CLI configuration
like 'tizen cli-config "profiles.path=C:\Fit2Installer\tizen\profiles.xml"'.
Author certficate: C:\Fit2Installer\cert\author.p12
Distributor1 certificate : C:\Fit2Installer\cert\distributor.p12
Package( C:\Fit2Installer\install_me\waldo_transl.wgt ) is created successfully.
Press any key to continue . . .
+++
The query I had is resolved after going through the complete thread, so this post is irrelevant. However, I might as well use this opportunity to thank those who have contributed to this as the guide works fine.
Hey, i would like to take this opportunity and thank you for this really useful guide. Everything works fine, but I would like to ask you about the changes you did to the .wgt in order to get the screen shape right, because most of the apps are either cut in half or really small.
I cant generate distributors certificate!
davesidd said:
I cant generate distributors certificate!
Click to expand...
Click to collapse
You need to download the wearable extension in the package manager.
Namenlos55555 said:
You need to download the wearable extension in the package manager.
Click to expand...
Click to collapse
the distribution certificate gets generated automatically and it is password protected, so cant use it
working great!
Games
Are there any more games for the gear fit 2 i can download. Any help would be appreciated
Unable to open Certificate Manager
Never mind got it fixed.
Browser possible?
Have you found a way to make a browser possible using this method?
Code:
Enter certificate password: topsecret
Setting configuration is succeeded....
Loaded in 'C:\Fit2Installer\tizen\profiles.xml'.
Security profiles have a specified profile. Will be overwritten.
author path: C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\author.p12
author password: ****
distributor1 path: C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\distributor.p12
distributor1 password: ****
Wrote to 'C:\Fit2Installer\tizen\profiles.xml'.
Succeed to add 'MyProfile' profile.
If want to sign by this, add the file of security profiles in CLI configuration
like 'tizen cli-config "profiles.path=C:\Fit2Installer\tizen\profiles.xml"'.
Author certficate: C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\author.p12
Distributor1 certificate : C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\..\..\..\..\..\cert\distributor.p12
Package( C:\Fit2Installer\install_me\publicTEST_fake_v12.tpk ) is created successfully.
Drücken Sie eine beliebige Taste . . .
I am using this solution since few days... without Modification. :good: :good:
With Tizen 4 Firmware on SM-R760... and Certs from Tizen Studio 3.1.
Windows 7
Thank you very much. :good: :good:
Best Regards
Hello,
I cannot sign anything, I get errors in cli.log.
Could you help me fixing these?
Cli.log:
2019-02-24 10:56:51,523 [TRACE] Main.java(90) - Start running Tizen CLI Main class...
2019-02-24 10:56:51,526 [TRACE] Main.java(91) - Argument count:6
2019-02-24 10:56:51,533 [TRACE] ConfigCLI.java(52) - setConfigProperty default.profiles.path=..\..\..\..\profiles.xml
2019-02-24 10:56:51,533 [TRACE] ConfigCLI.java(78) - Execute configCLI...
2019-02-24 10:56:52,034 [TRACE] Main.java(90) - Start running Tizen CLI Main class...
2019-02-24 10:56:52,037 [TRACE] Main.java(91) - Argument count:17
2019-02-24 10:56:52,049 [TRACE] SecurityProfilesCLI.java(56) - Begin SecuriyProfilesCLI...
2019-02-24 10:56:52,741 [TRACE] SecurityProfilesCLI.java(66) - Finish SecuriyProfilesCLI...
2019-02-24 10:56:53,196 [TRACE] Main.java(90) - Start running Tizen CLI Main class...
2019-02-24 10:56:53,198 [TRACE] Main.java(91) - Argument count:11
2019-02-24 10:56:53,209 [TRACE] PackageCLI.java(981) - Execute PackageCLI...
2019-02-24 10:56:53,212 [TRACE] PackageCLI.java(983) - getRealWorkingPath: C:\Users\Hex\Desktop\S3Watchfaces\appswgt\Fit2Installer_freedials\sign_me\pilot.wgt
2019-02-24 10:56:53,213 [TRACE] PackageCLI.java(452) - Re-packaging wgt file C:\Users\Hex\Desktop\S3Watchfaces\appswgt\Fit2Installer_freedials\sign_me\pilot.wgt
2019-02-24 10:56:53,530 [ERROR] AbstractCLI.java(94) - java.util.zip.ZipException: invalid entry size (expected 61948 but got 61958 bytes)
java.lang.IllegalStateException: java.util.zip.ZipException: invalid entry size (expected 61948 but got 61958 bytes)
at org.tizen.common.core.command.policy.UncaughtExceptionHandlingPolicy.uncaughtException(UncaughtExceptionHandlingPolicy.java:84)
at org.tizen.common.core.command.Executor.execute(Executor.java:179)
at org.tizen.common.core.command.Executor.execute(Executor.java:150)
at org.tizen.ncli.ide.shell.PackageCLI.doRepackageForWgt(PackageCLI.java:463)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForWgt(PackageCLI.java:715)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1056)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:92)
at org.tizen.ncli.ide.shell.Main.run(Main.java:144)
at org.tizen.ncli.ide.shell.Main.main(Main.java:78)
Caused by: java.util.zip.ZipException: invalid entry size (expected 61948 but got 61958 bytes)
at java.util.zip.ZipInputStream.readEnd(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.tizen.common.util.IOUtil.redirect(IOUtil.java:149)
at org.tizen.common.file.StandardFileHandler.write(StandardFileHandler.java:283)
at org.tizen.common.core.command.zip.ZipExtrCommand.run(ZipExtrCommand.java:116)
at org.tizen.common.core.command.Executor.execute(Executor.java:164)
... 7 more
2019-02-24 10:56:53,532 [ERROR] Main.java(152) - java.util.zip.ZipException: invalid entry size (expected 61948 but got 61958 bytes)
Click to expand...
Click to collapse
Need solution to create Distributor Cert with Platform Privilege...
Tizen Studio only shows:
Code:
Public
Partner
Maybe via Command Line?
My old trick at the moment not work anymore in Tizen 3... 4...
Because DUID required to be written into Cert...
Please help. :angel:
Best Regards
I am using Platform Cert"s" from Hash-Signer... so at the moment only usefull in Combination Firmware... for me...
https://forum.xda-developers.com/showpost.php?p=79416572&postcount=751
But I made 2 new edited Batch Files for me...
1 can handle 2 different Passwords... for athor and Distributor Cert... the second Batch contains the Passwords...
Code:
@echo off
set /p pass="Enter Author certificate password: "
set /p pass2="Enter Distributor certificate password: "
call tizen\tizen-studio\tools\ide\bin\tizen.bat cli-config -- .\tizen "default.profiles.path=..\..\..\..\profiles.xml"
call tizen\tizen-studio\tools\ide\bin\tizen.bat security-profiles add -- .\tizen -f -n MyProfile -a ..\..\..\..\..\cert\author.p12 -p %pass% -d ..\..\..\..\..\cert\distributor.p12 -dp %pass2%
for %%f in (.\sign_me\*.tpk) do (
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- "%%f" -o .\install_me\
)
for %%f in (.\sign_me\*.wgt) do (
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- "%%f" -o .\install_me\
)
for /D %%d in (.\sign_me\*) do (
IF EXIST %%d\config.xml (
cd %%d
call "..\..\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_wgt.wgt"
cd ..
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- ".\sign_me\%%~nd_wgt.wgt" -o .\install_me\
del ".\sign_me\%%~nd_wgt.wgt"
) ELSE (
IF EXIST %%d\tizen-manifest.xml (
cd %%d
call "..\..\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_tpk.tpk"
cd ..
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- ".\sign_me\%%~nd_tpk.tpk" -o .\install_me\
del ".\sign_me\%%~nd_tpk.tpk"
)
)
)
pause
and
Code:
@echo off
call tizen\tizen-studio\tools\ide\bin\tizen.bat cli-config -- .\tizen "default.profiles.path=..\..\..\..\profiles.xml"
call tizen\tizen-studio\tools\ide\bin\tizen.bat security-profiles add -- .\tizen -f -n MyProfile -a ..\..\..\..\..\cert\author.p12 -p tizenauthor -d ..\..\..\..\..\cert\distributor.p12 -dp tizenpkcs12passfordsigner
for %%f in (.\sign_me\*.tpk) do (
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- "%%f" -o .\install_me\
)
for %%f in (.\sign_me\*.wgt) do (
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- "%%f" -o .\install_me\
)
for /D %%d in (.\sign_me\*) do (
IF EXIST %%d\config.xml (
cd %%d
call "..\..\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_wgt.wgt"
cd ..
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- ".\sign_me\%%~nd_wgt.wgt" -o .\install_me\
del ".\sign_me\%%~nd_wgt.wgt"
) ELSE (
IF EXIST %%d\tizen-manifest.xml (
cd %%d
call "..\..\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *
cd ..
move "%%~nd_zip.zip" "%%~nd_tpk.tpk"
cd ..
call tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- ".\sign_me\%%~nd_tpk.tpk" -o .\install_me\
del ".\sign_me\%%~nd_tpk.tpk"
)
)
)
pause
Now I still need way to create Platform Cert with f%&ing DUID for Stock Firmware...
Best Regards

PACEficator Project | WOS 2.6.7.0 ROM v1.4 Final Installer Pace (2019/12/18) | Alexa

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New Project
We are moving HERE, to a new Project known as Hybrid ROM, Stratos & Pace support.​
THIS IS NOT FOR AMAZFIT STRATOS OR AMAZFIT VERGE​THIS IS NOT FOR AMAZFIT STRATOS OR AMAZFIT VERGE​THIS IS NOT FOR AMAZFIT STRATOS OR AMAZFIT VERGE​
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please make sure you read and understand everything written in the post before flashing it! YOU are choosing to make these modifications and must be sure of what it does.
Click to expand...
Click to collapse
WOS2.0 (Watch OS 2.0) is the new Official Chinese Amazfit Pace firmware based on Amazfit 2 Stratos Official Chinese Firmware but/except VO2max and swimming features. This Custom ROM is based on latest Stable Chinese Firmware, and used translations are from STOCKfied and my Stratos ROM on Crowdin (See Post #3).
Never take OTA updates when running a custom ROM.
Click to expand...
Click to collapse
+ Based on latest Chinese Firmware
+ Supported languages (some languages may not be complete):
- Spanish (ES)
- Basque (EU)
- English (US)
- Portuguese (BR)
- Catalan (CA)
- German (DE)
- French (FR)
- Hungarian (HU)
- Italian (IT)
- Hebrew (HE)
- Dutch (NL)
- Polish (PL)
- Turkish (TR)
- Portuguese (PT)
- Czech (CS)
- Slovak (SK)
- Greek (GR)
- Slovenian (SI)
- Russian (RU)
- Croatian (HR)
- Vietnamese (VN)
- Arabic (SA)
- Persian (AF)
- Thai (TH)​
- Bulgarian (BG)​+ Sport voice alerts:
- Spanish
- Basque
- English
- Polish
- Italian
- French
- Portuguese-BR​+ Updated and fixed translations
+ GUI installer for Windows (and manual installation method)
+ Added Thai, Croatian and new emoji fonts
+ Adb root
+ Init.d script support
+ Features on installer
- Font selection:
- Stock
- Hebrew
- Arabic
- New1 (Updated Stock from Android Studio SDK)
- New2 (Updated Stock from Android Studio SDK/JRE)
- New3 (Applemint font) (New)​- New GPS Firmware
- Enable Launcher app list
- Enable bluetooth volume boost
- Bootloader check and code request
- Factory Reset[/INDENT]
+ SuperSU v2.82
+ Busybox 1.29.3 and zipalign by @osm0sis
+ New bootanimation
+ Amazfit Verge's 3 stock WatchFace by @Cracklydisc (Nicola Sagliano)
+ New Thai and Korean fonts
+ AmazMod Service notification manager
- GreatFit, SuperFit (New), Calendar and T9 keyboard​+ WatchDroid notification manager
+ Option to choose between old Pace or new Stratos GPS Firmware
+ Option to choose animations speed
+ Option to choose WatchFaces date format
+ Save locations and navigate to them starting an activity
+ Save any location while doing and activity
+ Alternative driver installer
+ No 2 widget limitation
+ Alexa voice assistant (New)
Click to expand...
Click to collapse
A1602 CN/Chinese version
A1612 US/International version
Click to expand...
Click to collapse
+ Properly installed adb/fastboot drivers on your PC
adb/fastboot drivers
adb/fastboot as system wide for Windows -> Delete C:\adb from PATH at the end of the guide if exists​+ Unlocked Bootloader if you are on stock/original ROM
+ 40% battery
+ 300 MB free on your watch
+ Doing a factory reset is very recommended on installation.
NOTE: As some users reported, if you are running STOCKfied ROM, after installing this ROM and in first boot your watch may get stuck on initial splash screen (Amazfit logo), if you are facing this, install PACEfied ROM and then re-install WOS ROM again.
Click to expand...
Click to collapse
@Neuer_User for PACEfied & STRATOSfied ROM and for a lot of stuff
@Cracklydisc (Nicola Sagliano) for AmazIT & StratOS ROM and for a lot of stuff
@1mmortal for a lot of stuff and support (My Master & Commander ;-p)
@YashdSaraf and @osm0sis for MIPS Busybox
@JRevenge for initial WOS2.0 ROM release, and IT translations.
@S3V3N for system dump scripts
@lfom for new English voice alerts and other stuff
@Ranomez for original local root script
@sergioextre and N&N Team for inti.d sripts
@s_k_u_ll for Linux .sh scripts
@JRevenge for Italian (IT) translations
@Kaudii for Polish (PL) translations
@MASVA for Croatian (HR) translations @yener90 for watchface date format mod @Snoop05 for driver installer
And to all the people who contributed for STOCKfied and Stratos ROM translations projects on OneSky and now on Crowdin.
If I forget someone, please let me know.
Windows installer:
0. Sync all your data with Amazfit Watch App
1. Download the ROM zip
2. Extract it somewhere
3. Connect your watch to PC (Watch needs to be full booted (showing the Watch Face))
3. Run .exe file (without administrator privileges)
4. Choose your language (Don't select "WIP - Don't select this" as language as it is a placeholder for future languages)
5. Choose ROM installation
6. Setup the features of the ROM (Some features will increase installation time considerably)
7. And choose ROM installation.
8. Wait and enjoy.
Some screenshot
Installation output example:
*****************************
CONNECT YOUR WATCH TO BEGIN
*****************************
************************************
CHECKING IF FULL BOOT IS COMPLETED
************************************
OK! LET'S GO!
***********************
INSTALLATION FEATURES
***********************
ROM Language = US
System Fonts = sto
Improved GPS = yes
Bluetooth volume boost = yes
Launcher App List = yes
******************
WATCH FEATURES
******************
DETECTED WATCH MODEL: A1602 - Amazfit Sports Watch
INSTALLED ROM VERSION: huanghe-2.6.0.12
PACEfied BASED ON CHINESE ROM
******************
ROM INSTALLATION
******************
************************************************
COPYING FILES TO WATCH. THIS WILL TAKE A WHILE
************************************************
[100%] /sdcard/start_update.sh
[100%] /sdcard/md5s.txt
[100%] /sdcard/recovery.img
[100%] /sdcard/update-signed.zip
/sdcard/.ble/icon/: 86 files pushed. 0 files skipped. 1.0 MB/s (526173 bytes in 0.479s)
/sdcard/supersu/: 6 files pushed. 0 files skipped. 4.9 MB/s (710149 bytes in 0.138s)
***********************************************************************************
CHECKING FILES. YOUR WATCH WILL REBOOT IN RECOVERY MODE TO BEGIN THE INSTALLATION
BE PATIENT, THIS WILL TAKE AROUND 5 MINUTES
***********************************************************************************
============= PACEfied Installer ===============
Validating files...
start_update.sh: OK
update-signed.zip: OK
recovery.img: OK
Rebooting into recovery for installation...
****************
REMOVING FILES
****************
List of devices attached
be601824 device
**********************
MOUNTING PARTITIONS
**********************
remount succeeded
***************
FILES REMOVED
***************
********************
INSTALLING SuperSU
********************
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
****************************
REMOVING OLD BATTERY STATS
****************************
***********************************
INSTALLING REMAINING APPLICATIONS
***********************************
remount succeeded
[100%] /system/fonts/DroidSansFallback.ttf
[100%] system/etc/gps.conf
*********************
SETTING PERMISSIONS
*********************
***************************************************
WAITING FOR FULL BOOT TO ENABLE LAUNCHER APP LIST
***************************************************
****************************
ENABLING LAUNCHER APP LIST
****************************
[ ?] /sdcard/launcher_config.ini: 0/?
********************************************************
WAITING FOR FULL BOOT TO ENABLE BLUETOOTH VOLUME BOOST
********************************************************
*********************************
ENABLING BLUETOOTH VOLUME BOOST
*********************************
============= PACEfied Bluetooth Volume Boost ===============
Done
***********************
UNMOUNTING PARTITIONS
***********************
remount succeeded
***********
REBOOTING
***********
**************************
INSTALLATION IS FINISHED
**************************
***************
FINISHED TASK
***************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Alexa voice assistant
This is an optional mod in the installer and it's not tested for any other language than Spanish, so let me know if it's working for your language. The app is based on Verge US 3.2.7.0 firmware, which is supposed to support these languages as Huami stated in they changelog:
Eurasia, including German (Germany), English (UK, USA, Canada, Australia, India), French (France, Canada), Spanish (Spain, Mexico), Italian (Italy), Japanese (Japan). This feature relies on Amazfit App 3.4.4 and above.
Note that your ROM version will be changed to 3.2.7.0 in order to make Alexa work.
To setup Alexa (login with Mi/Xiaomi account in Amazfit app), in Amazfit app go to Profile>Add accounts>Tap in Amazon>Login with Amazon> Wait for Authorization and you are done!
View attachment 4906489
If you face issues to login into Amazon account, force close Amazfit app and clean cache of the app.
What can you do with Alexa?
Ask for weather info. "What is the weather?"
Set an alarm. "Set an alarm at 3 PM or AM". This will trigger an alarm at specified time.
Set a reminder. "Remind me to buy bread at 10 AM". This will trigger 2 vibrations at specified time. (I couldn't make the visual alert to work :crying
Ask any question. This could trigger a text answer or a spoken answer, depends on the question, but most of the time will be a text you can read.
Control your Alexa supported smart gadgets. "Turn on Lights" "Turn off Lights" and magic is done!
Maybe some other things...
I recommend you to connect a bluetooth speaker or headset to the watch and you will listen to Alexa and learn what and how you have to deal with her.
Factory Reset
This will wipe all your data and installed applications so sync all data in Amazfit app before installation.
While wiping data you must turn off bluetooth on your phone and unpair the watch on Amazfit app.
When whole installation process finishes, turn on bluetooth on your phone and pair the watch on Amazfit app.
If you face any trouble pairing the watch reboot both, watch and phone, and try again.
NOTE
Sync all your data with Amazfit app before installing the ROM.
Doing a Factory Reset during ROM installation is recommended.
Before first activity, calibrate and run the Compass outdoor for few minutes. Also starting an activity outdoors for few minutes is recommended in order to check GPS connection and altitude.
Before starting any activity, sync all your data with Amazfit app in order to update A-GPS data if needed.
If data is not syncing after an activity, turn off bluetooth on your phone, unpair the watch, turn on the bluetooth and repair the watch.
If you still face issues to sync data, install the Amazfit App Data Sync Fix.
Install only one notifications manager, AmazMod or WatchDroid app on your phone
AmazMod official thread.
If phone app is not connecting with your watch, remember to reboot the phone after installing the app from Play Store. Note that Amazfit app must be installed too.
If you are getting duplicated notifications, go to app settings, disable notifications, apply, enable notifications and apply again. Remember to disable notifications for Amazfit app.
If you can't see the calendar widget, go to AmazMod>Settings>Reorder Widgets and enable it there. If still no widget, reboot your watch and try again.
If Training widget, or any other widget on watch, stays loading and never does, disable that widget on Amazfit app and enable it.
To report any bug or issue, you must give as much info as possible, like a log or a copy-paste text of the installation process or a screenshot.
If you want to collaborate in this project, you can do it here.
Installing AmazBoost mod will probably break init.d support.
Click to expand...
Click to collapse
Linux scripts (fixed) and Manual installation method in Post #2
Since installer v1.3 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
Click to expand...
Click to collapse
Latest version
WOS 2.6.7.0 ROM v1.4 Installer | Mirror | More info
Previous versions
WOS 2.6.6.0 ROM v1.3.2 Installer | More info
WOS 2.6.6.0 ROM v1.3.1 Installer | Mirror | More info | Smart Data sync Fix
WOS 2.6.6.0 ROM v1.3 Installer | Mirror | Smart Data sync Fix
WOS 2.6.5.0 ROM v1.2 Installer | Mirror
Amazfit Data Sync Fix
Amazfit App Sync Fix
WOS 2.6.5.0 ROM v1.1 Installer | Mirror
Amazfit Data Sync Fix
Amazfit App Sync Fix
WOS 2.6.4.2 ROM v1.0 Installer | AFH Mirror
Amazfit Data Sync Fix
Amazfit App Sync Fix
WOS 2.6.4.1 ROM v0.9.1 Installer | AFH Mirror
Amazfit Data Sync Fix
Amazfit App Sync Fix
WOS 2.6.4.1 ROM v0.9 Installer
WOS 2.6.4. ROM v0.8 Installer | AFH Mirror
WOS 2.6.3.1 ROM v0.7.3 Installer | AFH Mirror
WOS 2.6.3.1 ROM v0.7.2 Installer
Fix WatchFaces PT and BR 2.6.3.1 v0.7.2
WOS 2.6.3.1 ROM v0.7.1 Installer Amazfit Pace
Emoji font pack v0.7.1 2.6.3.1 ROM
Fixes for US WatchFaces and ALL WearHealth apps v0.7.1 2.6.3.1 ROM
Fix for FR NewWearSport app v0.7.1 2.6.3.1 ROM
WOS 2.6.2.0 ROM v0.6 Installer
Fixed DE NewWearSport.apk for v0.6
Fixed CS HuamiWatchFace.apk for v0.6
WOS 2.6.1.0 ROM v0.5 Installer
WOS 2.6.0.12 ROM v0.4 Installer
Click to expand...
Click to collapse
Changelog 1.3.2 -> 1.4 (2019/12/18)
+ Based on Chinese 2.6.7.0 Stable Firmware
+ Updated adb.exe/fastboot.exe
+ Updated translations
+ AmazMod 1904
+ GreatFit 4.1
+ Added SuperFit 1.7
+ PaceCalendar 1.5
+ Watchdroid 13.1 and widget 10.2
+ No 2 widget limitation
+ Modded date format for stock watchfaces
+ New Applemint font as New3
+ Alexa voice assistant
Click to expand...
Click to collapse
If you like my work you can buy me a beer here
Click to expand...
Click to collapse
Manual installation method
Manual installation method
Introduction
This is a guide for manual installation of the ROM using any command or terminal window. Requirements are the same as stated on OP.
Default ROM language is English (US) so if you want to set your watch in another language you need to install the ROM + change the language to install some not multilanguage apps. Later you can install/add some extra features if you want.
Since installer v1.3 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
Older versions: (With Linux scripts)
v1.2_Docs_WOS_2.6.5.0 | Mirror
v1.1_Docs_WOS_2.6.5.0 | Mirror
v1.0_Docs_WOS_2.6.4.2
v0..9.1_Docs_WOS_2.6.4.1 | AFH Mirror
v0..9_Docs_WOS_2.6.4.1
v0..8_Docs_WOS_2.6.4.0 | AFH Mirrorhttps://www.androidfilehost.com/?fid=11410963190603856435https://www.androidfilehost.com/?fid=11410963190603856435
v0.7.3_Docs_WOS_2.6.3.1 | AFH Mirrorhttps://www.androidfilehost.com/?fid=11410963190603855711https://www.androidfilehost.com/?fid=11410963190603855711
v0.7.2_Docs_WOS_2.6.3.1 | Drive Mirrorhttps://drive.google.com/open?id=17PJYGLaktfNWtX26uUoxNcp4LBE98JFhhttps://drive.google.com/open?id=17PJYGLaktfNWtX26uUoxNcp4LBE98JFh
v0.7.1_Docs_WOS_2.6.3.1
v0.6_Docs_WOS_2.6.2.0
v0.5_Docs_WOS_2.6.1.0
Older versions: (No Linux scripts)
v0.4_Docs_WOS_2.6.0.12
Windows alternative installer
To use an alternative Windows installer, run ROM_US.bat for a English interface or ROM_ES.bat for a Spanish interface.
This is the output running ROM_ES.bat
*****************************************
CONECTA EL RELOJ AL PC ANTES DE EMPEZAR
*****************************************
**************************************************
COMPROBANDO QUE EL RELOJ HA ARRANCADO TOTALMENTE
**************************************************
OK! EMPECEMOS!
***************************
CARACTERISTICAS DEL RELOJ
***************************
NIVEL DE BATERIA: 81
ESTADO DEL BOOTLOADER: Desbloqueado
MODELO DE RELOJ DETECTADO: A1602 - Amazfit Sports Watch
VERSION DE ROM INSTALADA: huanghe-2.6.3.1
ROM PACE CHINA TRADUCIDA ENCONTRADA
***********************
INSTALACION DE LA ROM
***********************
******************************************************
IDIOMAS DISPONIBLES INSTALADOR v0.7.3 ROM WOS v2.6.3.1 Estable:
0 - Salir
1 - Espanol (ES)
2 - English (US)
3 - Euskera (EU)
4 - Portuguese (BR)
5 - Catalan (CA)
6 - German (DE)
7 - French (FR)
8 - Hungarian (HU)
9 - Italian (IT)
10 - Hebrew (HE)
11 - Dutch (NL)
12 - Polish (PL)
13 - Turkish (TR)
14 - Portuguese (PT)
15 - Czech (CS)
16 - Slovak (SK)
17 - Greek (GR)
18 - Slovenian (SI)
19 - Russian (RU)
20 - Croatian (HR)
21 - Vietnamese (VN)
22 - Arabic (SA)
23 - Persian (AF)
**************************************************************************************************
ELIGE EL NUMERO CORRESPONDIENTE AL IDIOMA A INSTALAR EN EL RELOJ y DESPUES PULSA "ENTER" : 1
**************************************************************************************************************************************************
ELIGE EL NUMERO DEL TIPO DE FUENTE (1 - STOCK / 2 - HEBREO / 3 - ARABE / 4 - NUEVA1 / 5 - NUEVA2 / 6 - NUEVA3) y DESPUES PULSA "ENTER" : 1
**************************************************************************************************************
ELIGE EL NUMERO SI QUIERES USAR MEJORAS DE GPS (1 - SI / 2 - NO / 3 - GLOBAL) y DESPUES PULSA "ENTER" : 1
****************************************************************************************************************
ELIGE EL NUMERO SI QUIERES USAR MEJORAS DEL VOLUMEN BLUETOOTH (1 - SI / 2 - NO) y DESPUES PULSA "ENTER" : 1
****************************************************************************************************************
ELIGE EL NUMERO SI QUIERES ACTIVAR EL APPLIST DEL LAUNCHER (1 - SI / 2 - NO) y DESPUES PULSA "ENTER" : 1
****************************************************************************************************************
ELIGE EL NUMERO SI QUIERES EL SERVICIO AMAZMOD + GREATFIT (1 - SI / 2 - NO) y DESPUES PULSA "ENTER" : 1
***************************************************************************************************************************
ELIGE EL NUMERO SI QUIERES HACER RESET DE FABRICA DURANTE LA INSTALACION (1 - SI / 2 - NO) y DESPUES PULSA "ENTER" : 1
**************************
CARACTERISTICAS ELEGIDAS
**************************
Idioma de la ROM = en-ES
Reset de Fabrica = si
Fuentes de sistema = sto
GPS mejorado = si
Aumento volumen Bluetooth = si
App List del Launcher = si
Servicio de AmazMod + Greatfit = si
*********************************************************************************
COPIANDO ARCHIVOS AL RELOJ. TARDARA UN POCO (SE RECOMIENDA TENER 300 MB LIBRES)
*********************************************************************************
rom\start_update.sh: 1 file pushed. 0.0 MB/s (956 bytes in 0.023s)
rom\md5s.txt: 1 file pushed. 0.0 MB/s (149 bytes in 0.028s)
rom\recovery.img: 1 file pushed. 1.2 MB/s (7131136 bytes in 5.574s)
rom\update-signed.zip: 1 file pushed. 1.3 MB/s (294943370 bytes in 211.100s)
**********************************************************************************
COMPROBANDO ARCHIVOS. SE REINICIARA EN MODO RECOVERY PARA INICIAR LA INSTALACION
TEN PACIENCIA PORQUE PUEDE TARDAR HASTA 5 MINUTOS
**********************************************************************************
============= PACEfied Installer ===============
Validating files...
update-signed.zip: OK
recovery.img: OK
start_update.sh: OK
Rebooting into recovery for installation...
*******************
BORRANDO ARCHIVOS
*******************
List of devices attached
07ce202e device
**********************
MONTANDO PARTICIONES
**********************
remount succeeded
*******************
ARCHIVOS BORRADOS
*******************
********************************************
COMPROBANDO INSTALACION CORRECTA DE LA ROM
********************************************
*************************************************
LA ROM WOS v2.6.3.1 Estable v0.7.3 SE INSTALO CORRECTAMENTE
*************************************************
CAMBIANDO EL IDIOMA A ES
*****************************
******************************************************************************
ESTADO DEL BOOTLOADER: Desbloqueado. HACIENDO RESET DE FABRICA EN FASTBOOT
******************************************************************************
***************************************
RESETEANDO EL RELOJ. TARDARA UN RATO
***************************************
< waiting for any device >
Erasing 'data' OKAY [211.896s]
Finished. Total time: 212.022s
******** Did you mean to fastboot format this ext4 partition?
Erasing 'cache' OKAY [ 8.128s]
Finished. Total time: 8.248s
Rebooting
Finished. Total time: 0.067s
********************
INSTALANDO SuperSU
********************
supersu\supersu\: 6 files pushed. 2.1 MB/s (710149 bytes in 0.325s)
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
*******************************************
BORRANDO ESTADISTICAS ANTIGUAS DE BATERIA
*******************************************
rm: data/system/batterystats.bin: No such file or directory
************************************
INSTALANADO APLICACIONES RESTANTES
************************************
remount succeeded
fuentes\sto\.\: 1 file pushed. 1.6 MB/s (4033420 bytes in 2.332s)
tra_ES\NewWearSport.apk: 1 file pushed. 0.9 MB/s (7000747 bytes in 7.554s)
tra_ES\HuamiWatchFaces.apk: 1 file pushed. 3.3 MB/s (14428958 bytes in 4.128s)
tra_ES\gps.conf: 1 file pushed. 0.3 MB/s (1034 bytes in 0.003s)
****************
DANDO PERMISOS
****************
*****************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA ACTIVAR LA APP LIST DEL LAUNCHER
*****************************************************************************
***********************************
ACTIVANDO LA APPLIST DEL LAUNCHER
***********************************
lista\launcher_config.ini: 1 file pushed.
************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA ACTIVAR EL AUMENTO DE VOLUMEN BLUETOOTH
************************************************************************************
***************************************
ACTIVANDO MEJORA DE VOLUMEN BLUETOOTH
***************************************
============= PACEfied Bluetooth Volume Boost ===============
Done
***************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA INSTALAR EL SERVICIO DE AMAZMOD + GREATFIT
***************************************************************************************
**********************************
INSTALANDO SERVICIO AMAZMOD 1702
**********************************
amazmod\service-release.apk: 1 file pushed. 4.1 MB/s (10962294 bytes in 2.578s)
pkg: /data/local/tmp/service-release.apk
Success
***********************************
INSTALANDO WATCHFACE GREATFIT 3.6
***********************************
amazmod\GreatFit.apk: 1 file pushed. 2.8 MB/s (2666882 bytes in 0.923s)
pkg: /data/local/tmp/GreatFit.apk
Success
**************************
ACTIVANDO MEJORAS INIT.D
**************************
*************************
DESMONTANDO PARTICIONES
*************************
remount succeeded
**************
REINICIO 1/2
**************
******************
OPTIMIZANDO APPs
******************
**************
REINICIO 2/2
**************
***********************
FIN DE LA INSTALACION
***********************
*****************
TAREA TERMINADA
*****************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Linux installation script (Beta)
Open a command or terminal window on the root of unzipped folder.
Run the .sh to install the ROM without Alexa:
Code:
sh rom_[B][COLOR="Red"]xy[/COLOR][/B].sh
Where
Code:
rom_[B][COLOR="red"]es[/COLOR][/B].sh (Spanish text interface)
rom_[B][COLOR="red"]us[/COLOR][/B].sh (English text interface)
If you want to install the ROM with Alexa:
Code:
sh rom_[B][COLOR="Red"]xy[/COLOR][/B]_alexa.sh
Where
Code:
rom_[B][COLOR="red"]es[/COLOR][/B]_alexa.sh (Spanish text interface)
rom_[B][COLOR="red"]us[/COLOR][/B]_alexa.sh (English text interface)
If you need to Factory Reset your watch, run this .sh script
Code:
sh fct_rst.sh
USB/ADB/Fastboot drivers installation
Navigate to Instalador_XX\Autoplay\Docs\drivers and run the .exe file, reply with Y or y to all questions and accept whole installation process.
Installation using commands
Windows user may want to use adb.exe instead of adb and fastboot.exe instead of fastboot for a better compatibility.
Temporal root for Stock ROM
0.a If you are on Stock WOS1.0 (1.x.y) Rom, you need to install temporal root in order to install the ROM.
0.a.1 Reboot in fastboot mode
Code:
adb shell reboot bootloader
0.a.2a If you are on Stock Chinese ROM:
Code:
fastboot boot root\boot-CN-adb-root.img
0.a.2b If you are on Stock English/International ROM:
Code:
fastboot boot root\boot-US-adb-root.img
Output (or similar)
Code:
< waiting for any device >
downloading 'boot.img'...
OKAY [ 0.396s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.437s
Your watch will reboot and until next reboot you will have adb root access.
0.b If you are on Stock WOS2.0 (2.x.y.z) Rom, you need to install CN temporal root in order to install the ROM.
Reboot in fastboot mode
Code:
adb shell reboot bootloader
Flash CN temp root
Code:
fastboot boot root\boot-CN-adb-root.img
Output (or similar)
Code:
< waiting for any device >
downloading 'boot.img'...
OKAY [ 0.396s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.437s
The watch will not reboot, it will stay in fastboot. Wait around 10s and check adb connection with the watch.
Code:
adb devices
Try it until your watch gets detected.
Output (or similar)
Code:
List of devices attached
be601824 device
And after this go to next step, you will do the file copy process in fastboot mode.
ROM installation
1. Copy ROM files to your watch.
Code:
adb push rom\start_update.sh /sdcard/
adb push rom\md5s.txt /sdcard/
adb push rom\recovery.img /sdcard/
adb push rom\update-signed.zip /sdcard/
adb push icon /sdcard/.ble/ (Notification icons for iOS)
Output (or similar)
Code:
[100%] /sdcard/start_update.sh
[100%] /sdcard/md5s.txt
[100%] /sdcard/recovery.img
[100%] /sdcard/update-signed.zip
/sdcard/.ble/icon/: 86 files pushed. 0 files skipped. 0.6 MB/s (526173 bytes in 0.829s)
2. Run installation script to enter recovery mode and install the ROM.
Code:
adb root
adb shell cd /sdcard/; sh start_update.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to sdcard where all files are stored
Code:
cd /sdcard/
Output (or similar)
Code:
[email protected]:/sdcard #
Run installation script
Code:
sh start_update.sh
Output (or similar)
Code:
============= PACEfied Installer ===============
Validating files...
start_update.sh: OK
update-signed.zip: OK
recovery.img: OK
Rebooting into recovery for installation...
Your watch will check the copied files, install a modded Recovery (If needed) and then will flash the ROM in recovery mode.
When the ROM installs, the watch will reboot and optimize all apps. Once full boot is completed, you will have your watch in English (US) language.
3. Remove ROM files from watch
Code:
adb shell rm /sdcard/md5s.txt
adb shell rm /sdcard/start_update.sh
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/update-signed.zip
Change language
This will set the watch on your language and will also copy some not multilanguage apps. The ROM supports 6 languages, so you need to localize your language folder, in order to push correct apps to you watch. This step is not needed if you just want US English. Note that from the name format "tra_XY", XY is your language. Those are folder and language relationships:
tra_ES = Folder with Spanish files.
tra_EU = Folder with Basque files.
tra_HE = Folder with Hebrew files.
tra_HU = Folder with Hungarian files.
tra_IT = Folder with Italian files.
tra_US = Folder with US English files.
tra_BR = Folder with Portuguese-Brazil files.
tra_CA = Folder with Catalán files.
tra_DE = Folder with German files.
tra_FR = Folder with French files.
tra_NL = Folder with Dutch files.
tra_PL = Folder with Polish files.
tra_TR = Folder with Turkish files.
tra_PT = Folder with Portuguese-Portugal files.
tra_CS = Folder with Czech files.
tra_SK = Folder with Slovak files.
tra_GR = Folder with Greek files.
tra_SI = Folder with Slovenian files.
tra_RU = Folder with Russian files.
tra_HR = Folder with Croatian files.
tra_VN = Folder with Vietnamese files.
tra_SA = Folder with Arabic files.
tra_AF = Folder with Persian files.
tra_TH = Folder with Thai files.
tra_BG = Folder with Bulgarian files.
Click to expand...
Click to collapse
10. Set your language (XY) as default even if Factory Reset your watch
Code:
adb root
adb remount rw
adb shell busybox "sed -i 's:ro.product.locale.region=.*:ro.product.locale.region=[B][COLOR="Red"]XY[/COLOR][/B]:' /system/build.prop
adb shell setprop persist.sys.country [B][COLOR="Red"]XY[/COLOR][/B]
adb shell setprop persist.sys.language [B][COLOR="SeaGreen"]en[/COLOR][/B]
11. Push apps to your watch from your language folder
Code:
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\HuamiWatchFaces.apk system/app/HuamiWatchFaces
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\NewWearSport.apk system/app/NewWearSport
Output (or similar)
Code:
[100%] system/app/HuamiWatchFaces/HuamiWatchFaces.apk
[100%] system/app/NewWearSport/NewWearSport.apk
12. Set permissions to the apps
Code:
adb shell chmod 644 system/app/HuamiWatchFaces/HuamiWatchFaces.apk
adb shell chmod 644 system/app/NewWearSport/NewWearSport.apk
13. Reboot your watch
Code:
adb remount ro
adb reboot
Now your watch is set permanently in your language
Extra Features
Enable non market apps installation + SuperSU root
This will install enable the installation of non market apps on watch, one of Watch Droid feature, and will install SuperSU root on watch.
20. Enable non market apps support (Watch needs to be full booted)
Code:
adb shell settings put secure install_non_market_apps 1
21. Copy SuperSU folder to your watch
Code:
adb root
adb remount rw
adb push supersu\supersu /sdcard/
Output (or similar)
Code:
/sdcard/supersu/: 6 files pushed. 0 files skipped. 4.0 MB/s (710149 bytes in 0.169s)
22. Run SueprSU installer script
Code:
adb shell cd /sdcard/supersu/; sh root_amazfit.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb remount rw
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to SuperSU folder on your watch where all files are stored
Code:
cd /sdcard/supersu
Output (or similar)
Code:
[email protected]:/sdcard/supersu #
Run installation script
Code:
sh root_amazfit.sh
Output (or similar)
Code:
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
Reboot your watch
Code:
adb reboot
23. Remove SuperSU folder from your watch
Code:
adb shell rm -r /sdcard/supersu/
24. Copy the useful scripts to xbin
Code:
adb root
adb remount
adb push Pace\. /system/xbin
adb shell chmod -R 0755 /system/xbin/.
Alexa voice assistant (New)
25. Flash the zip that contains Alexa apps.
Code:
adb push alexa\update.zip /sdcard
adb reboot update
Install improved GPS config for your country
30. This will install and improved GPS config file based on your country
Code:
adb root
adb remount rw
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\gps.conf system/etc
adb shell chmod 644 /system/etc/gps.conf
adb remount ro
adb reboot
31. If your country is not supported, install a Global GPS config file
Code:
adb root
adb remount rw
adb push global\gps.conf system/etc
adb shell chmod 644 /system/etc/gps.conf
adb remount ro
adb reboot
Output (or similar)
Code:
remount succeeded
[100%] system/etc/gps.conf
remount succeeded
32. To remove any improved GPS config file and use stock values
Code:
adb root
adb remount rw
adb shell rm /system/etc/gps.conf
adb remount ro
adb reboot
Install a firmware for your GPS
To install the new Stratos GPS firmware:
Code:
adb root
adb remount rw
adb push gps\new\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
Install a firmware for your GPS
And to install the old stock Stratos GPS firmware:
Code:
adb root
adb remount rw
adb push gps\old\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
Enable launcher App list
You can enable launcher App List to see a list of installed apps (like and app drawer) and get access to BLE app where you can pop-up QR code for pairing.
40. Enable App List
Code:
adb push lista\launcher_config.ini /sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Output (or similar)
Code:
[ ?] /sdcard/launcher_config.ini: 0/?
41. Disable App list
Code:
adb shell rm sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Enable Bluetooth volume boost
50. Enable Bluetooth volume boost
Code:
adb shell btVolBoost
Outout (or similar)
Code:
============= PACEfied Bluetooth Volume Boost ===============
Done, now rebooting
Delete old battery stats
60. This will delete old battery stats from previous ROM and will help to properly calibrate the battery.
Code:
adb shell rm data/system/batterystats.bin
It needs a reboot to apply.
Install more fonts
70. You can install 3 different fonts in this ROM. The location of each font is "fuentes/xyz" where xyz depends on the font you want to install:
ara = Arabic fonts
heb = Hebrew fonts
sto = Stock fonts
New1 = Stock updated font from Android SDK
New2 = Stock updated font from Android SDK/JRE
New3 = Code2000 font
Click to expand...
Click to collapse
To install a font, navigate on your command window to "fuentes/xyz".
And push the font to your watch
Code:
adb root
adb remount rw
adb push DroidSansFallback.ttf /system/fonts
Set correct permmsions
Code:
adb shell chmod 644 system/fonts/DroidSansFallback.ttf
adb remount ro
And reboot to apply
Code:
adb reboot
System animations
71. Faster system animations
This will make watch interface/menu go faster
Code:
adb shell settings put global window_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global transition_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global animator_duration_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb reboot
Where AB can be any value from 0.1 (value in this ROM) and 1.0 (Stock ROM original value)
Pairing QR code
72. Launch pairing QR code
Code:
adb shell am start -n com.huami.watch.setupwizard/.InitPairQRActivity
Install a notitications manager
Install only one, WatchDroid or AmazMod
73. WatchDroid
Uninstall first all related to AmazMod if you installed it before. To do this, you have to Revoke Administrator Privileges to AmazMod on telephone's app or from AmazMod settings on watch widget.
Code:
adb uninstall com.amazmod.service
adb uninstall com.dinodevs.pacecalendarwidget
Install WatchDroid Assistant
Code:
adb install -r wd\watch.apk
Install WatchDroid widget
Code:
adb install -r wd\Widget.apk
74. AmazMod and PaceCalendar
Uninstall first all related to WatchDroid if you installed it before.
Code:
adb uninstall com.lumaticsoft.watchdroidassistant
adb uninstall com.lumaticsoft.amazfitwatchdroid
Install AmazMod and set Administrator privileges
Code:
adb install -r amazmod\service-release.apk
adb shell dpm set-device-owner com.amazmod.service/.AdminReceiver
Install PaceCalendar
Code:
adb install -r amazmod\PaceCalendarWidget.apk
After that reboot your watch
Code:
adb reboot
Watchface date format Mod
75. Watchface date format Mod
Only for v1.0 and v1.2 ROM installers.
If you want to set watchface date format to a 31/12/2019.
Code:
adb root
adb remount
adb.exe push date\mod\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb.exe shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb.exe shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
and if you want to set it to stock format 2019/12/31.
Code:
adb root
adb remount
adb.exe push date\stock\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb.exe shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb.exe shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
Factory Reset
80. If you need to do a factory reset on your watch, you can run FCT_RST.bat if you are on Windows. or use these commands, which are only valid for unlocked bootloader.
Code:
adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot reboot
New Translation Platform
Crowdin Community Translation Platform
Crowdin is an online Community Translation Platform where you can contribute to this project translating the ROM to your language or others.
This project shares translations for Amazfit Stratos and Amazfit Pace ROMs.
Create an account here
Go to Crowdin projects here
Select your language and start translating. If you can't find your language, just request it here.
Click to expand...
Click to collapse
Some tips from my expreience
Main apps/files to be translated in Crowdin are:
HuamiWatchFaces2
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
NewWearSport
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
Some date strings/letters like "MM-dd" or "yyyy-MM-dd" MUST NOT be translated, leave them that way, but you can change the sequence to fit your date format, "dd-MM-yyyy" and so on.
Imperial and metric and other units, use international language, so don't translate them to your language (km, mi, ft, h, min, s,..).
Strings like %s, %d %1$s, %2$s, and %3$s MUST NOT be translated.
Don't translate strings like:
Code:
com.huami.watch.weather/com.huami.watch.weather.WeatherWidgetView
Don't translate any value like:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="seagreen"].[/COLOR][/B]5</string>
to something like this:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="Red"],[/COLOR][/B]5</string>
If you doubt on how to translate a string just don't do it, it's ok. Note that a incorrect translation may lead to a compiling app error, this means that language string won't be added to next release. Or even worst, the app maybe could be compiled correctly but when flashing the ROM it could cause continuos app Force Close (FC)
Don't translate these strings on Launcher app>arrays.xml
Code:
<string-array name="jazzy_effects">
<item>Standard</item>
<item>Tablet</item>
<item>CubeIn</item>
<item>CubeOut</item>
<item>FlipVertical</item>
<item>FlipHorizontal</item>
<item>Stack</item>
<item>ZoomIn</item>
<item>ZoomOut</item>
<item>RotateUp</item>
<item>RotateDown</item>
<item>Accordion</item>
</string-array>
Click to expand...
Click to collapse
Extra Translation Files
Other extra stuff which also needs translation but not in Crowdin: Here
Use assets_US folder files of each app as base to translate to your language.
HuamiWatchFaces
.png files for weekdays, battery level, unlock,... translations
NewWearSport
Sport effect and sport voice alerts translations
Click to expand...
Click to collapse
Bugs/Feature request
WIP
Threads of interest
Threads of interest
Unlock your bootloader
Install adb/fastboot drivers in Windows
English voice alerts files for WOS2.0//Stratos
Recover your watch from Null SN for flashing a wrong ROM
Unbrick your Amazfit Pace
Install Stock US/International Firmware
Amazfit watch app collection
AmazMod
GreatFit
MIO2
MIO2
I haven't used it (yet), but I am sure it's great. Thanks for all your work, ROMs, etc. But you may want to change the supported models so people don't try to flash it on Stratos (got you this time! hehe). I will delete the post (or edit if I cannot delete) as soon as it is fixed. This ROM if for Pace (A1602/A1612).
lfom said:
I haven't used it (yet), but I am sure it's great. Thanks for all your work, ROMs, etc. But you may want to change the supported models so people don't try to flash it on Stratos (got you this time! hehe). I will delete the post (or edit if I cannot delete) as soon as it is fixed. This ROM if for Pace (A1602/A1612).
Click to expand...
Click to collapse
Yes, you are right... too many models on my mind.... But don't worry, the installer has a watch model detection script and if it detects Stratos watch, the ROM is not installed.
*****************************
CONNECT YOUR WATCH TO BEGIN
*****************************
************************************
CHECKING IF FULL BOOT IS COMPLETED
************************************
OK! LET'S GO!
***********************
INSTALLATION FEATURES
***********************
ROM Language = US
System Fonts = sto
Improved GPS = yes
Bluetooth volume boost = no
Launcher App List = yes
******************
WATCH FEATURES
******************
DETECTED WATCH MODEL: A1609 - Amazfit Sports Watch 2
INSTALLED ROM VERSION: everest-2.0.20.0
STRATOSfIED BASED ON CHINESE STRATOS ROM
******************
ROM INSTALLATION
******************
*****************************************************
ONLY FOR AMAZFIT PACE, NOT FOR AMAZFIT 2 STRATOS!!!
*****************************************************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Do you need help for German translation?
I don't know why each time i want to start the operation, it keep saying this;
'adb' is not recognized as an internal or external command, operable program or batch file.
Thanks !!!!
ajid1977 said:
i don't know why each time i want to start the operation, it keep saying this;
'adb' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
same thing here
ajid1977 said:
I don't know why each time i want to start the operation, it keep saying this;
'adb' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
Have you fulfilled the following requirement from the first post?
Properly installed adb/fastboot drivers on your PC
Click to expand...
Click to collapse
le_lutin said:
Have you fulfilled the following requirement from the first post?
Click to expand...
Click to collapse
of course
error
"'adb' is not recognized as an internal or external command,
operable program or batch file."
Get it after instalation starts. Nothing happened after that. What it can be?
Manual installation method
Manual installation method
Manual installation method added to Post #2 for those having trouble with Windows installer or just running on another platform.
Saratoga79 said:
Manual installation method
Manual installation method added to Post #2 for those having trouble with Windows installer or just running on another platform.
Click to expand...
Click to collapse
It seems that I know why we have such errors. I have US watch version with allready installed CN wos 2.6.0.12.
And maybe installer handle this steps in instruction wrong:
0.2a If you are on Stock Chinese ROM:
Code:
fastboot boot root\boot-CN-adb-root.img
0.2b If you are on Stock English/International ROM:
Code:
fastboot boot root\boot-US-adb-root.img
Click to expand...
Click to collapse
in my case.
vpavlyshen said:
It seems that I know why we have such errors. I have US watch version with allready installed CN wos 2.6.0.12.
And maybe installer handle this steps in instruction wrong:
in my case.
Click to expand...
Click to collapse
If you already have a CN based rom, such stock CN 2.6.0.12, you should go with CN temp root and you should be fine with that.
EDIT: ok, got it! If you are already in CN Stock 2.6.0.12, after installing CN temp root, it stays on fastboot and enables adb after few seconds, it doesn't reboot, so after installing temp root, wait few seconds and try with adb devices, when your watch is detected, go to next step.
Continued update in WOS 2.6.0.12. (activities)
Following the update, I lost all my activities on the watch. By cons they are well on my account amazfit.
All my other settings have been preserved.
I was in pacefield 1.2.51 before.
Thanks for the job, you are very efficient.
is it fully En (if I chose en language)?
Case now I have CN version with changed lang. And some parts (like notification about each mile/km) still in CN.

PACEficator Project | Verge 3.0.52.0 ROM v2.0.1 Installer | Alexa (2020/04/24)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS IS NOT FOR AMAZFIT STRATOS, STRATOS 3 OR AMAZFIT PACE​THIS IS NOT FOR AMAZFIT STRATOS, STRATOS 3 OR AMAZFIT PACE​THIS IS NOT FOR AMAZFIT STRATOS, STRATOS 3 OR AMAZFIT PACE​
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please make sure you read and understand everything written in the post before flashing it! YOU are choosing to make these modifications and must be sure of what it does.
Click to expand...
Click to collapse
ROM based on Amazfit Verge's Chinese Firmware and supports 25 languages. Some of the translations are those used on my previous projects for Pace and Stratos, from OneSky and Crowdin translation community projects.
Never take OTA updates when running a custom ROM.
Click to expand...
Click to collapse
+ Based on latest Chinese Firmware
+ Supported languages (some languages may not be complete and may contain English/Chinese strings):
- Spanish (ES)
- Basque (EU)
- English (US)
- Portuguese (BR)
- Catalan (CA)
- German (DE)
- French (FR)
- Hungarian (HU)
- Italian (IT)
- Hebrew (HE)
- Dutch (NL)
- Polish (PL)
- Turkish (TR)
- Portuguese (PT)
- Czech (CS)
- Slovak (SK)
- Greek (GR)
- Slovenian (SI)
- Russian (RU)
- Croatian (HR)
- Vietnamese (VN)
- Arabic (SA)
- Persian (AF)
- Thai (TH)
- Bulgarian (BG)​+ Sport voice alerts:
- Spanish
- Basque
- English
- Polish
- Italian
- French
- Portuguese-BR
- Portuguese-PT (New)​+ Updated and fixed translations
+ GUI installer for Windows (and manual installation method for other platforms)
+ Added Thai, Croatian, Korean and new emoji fonts
+ Deleted some Chinese apps
+ Alexa Voice Assistant
+ WearStore watchface app (New)
+ Abnormal HR monitoring (A1801)
+ MiHome
+ Adb root and
+ SuperSU
+ Init.d script support
+ Busybox 1.29.3 and zipalign by @osm0sis
+ Features on installer
- Font selection:
- Stock
- Hebrew
- Arabic
- New1 (Updated Stock from Android Studio SDK)
- New2 (Updated Stock from Android Studio SDK/JRE)
- Applemint font as New3 font
- Stock or Old GPS Firmware selection
- Enable Bluetooth volume boost
- Notifications manager selection (you need to install the app on your phone from Play Store)
- AmazMod
- WatchDroid​- PaceCalendar and GreatFit
- SuperFit
- Bootloader check and code request
- Factory Reset
- Option to choose animations speed
- USB/ADB/Fastboot driver installer by @Snoop05
- Option to launch QR code
- Option to install watchface date format mod by @yener90 and @renzetti.s​+ Bootanimation selection
+ Re-enabled OTA update notifications
+ T9 Keyboard
+ New bootanimation
+ Added custom sound for stock notifications
+ New Atria ringtone
+ Apps from Amazfit Stratos*:
- Location: Save upto 500 GPS locations and start an activity to one of the saved locations
- Training center: Guided training for beginner, 5km, 10km, half marathon and marathon​​
Click to expand...
Click to collapse
A1801 Chinese variant
A1811 US/Global/International variant (Fixed since v0.5)
Click to expand...
Click to collapse
+ Properly installed USB/ADB/Fastboot drivers on your PC
adb/fastboot drivers
adb/fastboot as system wide for Windows -> Delete C:\adb from PATH at the end of the guide if exists​+ Unlocked Bootloader if you are on stock/original ROM
+ 40% battery
+ 300 MB free on your watch
+ Doing a factory reset is very recommended during installation.
Click to expand...
Click to collapse
@Neuer_User for PACEfied & STRATOSfied ROM and for a lot of stuff
@Cracklydisc (Nicola Sagliano) for AmazIT & StratOS ROM and for a lot of stuff
@1mmortal for a lot of stuff and support (My Master & Commander ;-p)
@YashdSaraf and @osm0sis for MIPS Busybox
@Henrik Szabo for collaborating on the new GUI design
@S3V3N for system dump scripts
@lfom for new English voice alerts and other stuff
@GreatApo for PaceCalendar widget
@Ranomez for original local root script
@sergioextre and N&N Team for inti.d sripts
@s_k_u_ll for Linux .sh scripts
@JRevenge for Italian (IT) translations
@Kaudii for Polish (PL) translations
@MASVA for Croatian (HR) translations
@GreatApo for PaceCalendar and GreatFit
@lfom for SuperFit
@Anb2rw from 4PDA for original T9 keyboard and @ahsim for his mod.
AmazMod team
Pablo for WatchDroid
@chenchix and @kacperowski2 for testing A1811 model
@yener90 and @renzetti.s for watchface date format mod
@micrusa for AmazTimer
NoCopyrightSounds and TheFatRat for music
And to all the people who contributed for STOCKfied and Stratos ROM translations projects on OneSky and now on Crowdin.
If I forget someone, please let me know.
Click to expand...
Click to collapse
Windows installer:
0. Sync all your data with Amazfit Watch App
1. Download the ROM zip
2. Extract it somewhere
3. Connect your watch to PC (Watch needs to be full booted (showing the Watch Face))
3. Run .exe file (without administrator privileges)
4. Choose your language
5. Choose ROM installation
6. Setup the features of the ROM (Some features will increase installation time considerably)
- Very important: Select your watch model A1801 or A1811​
Factory Reset: This will erase all your data in the watch, sport data, watchfaces, music, installed apps,... so before this sync all the data on Amazfit app.
Fonts: To check differences between each font, click on (?)
GPS Firmware: Choose between stock or old firmware from Stratos
Bluetooth Volume: Boost Bluetooth volume
Animations Speed: This will make menu transitions go faster
Notifications Manager: Choose between AmazMod Service or WatchDroid Assistant
7. And choose ROM installation.
8. Wait and enjoy.
9. Check Post #4 if there is a bug fix
Click to expand...
Click to collapse
Installation process output example
*****************************************
CONECTA EL RELOJ AL PC ANTES DE EMPEZAR
*****************************************
* daemon not running; starting now at tcp:5037
* daemon started successfully
**************************************************
COMPROBANDO QUE EL RELOJ HA ARRANCADO TOTALMENTE
**************************************************
OK! EMPECEMOS!
**************************
CARACTERISTICAS ELEGIDAS
**************************
Modelo de reloj = A1811
Idioma de la ROM = en-ES
Reset de Fabrica = si
Fuentes de sistema = new1
Antiguo Firmware del GPS = no
Aumento volumen Bluetooth = si
Gestor de notificaciones = AmazMod
Velocidad de animaciones = 0.1
***************************
CARACTERISTICAS DEL RELOJ
***************************
NIVEL DE BATERIA: 100
ESTADO DEL BOOTLOADER: Desbloqueado
MODELO DE RELOJ DETECTADO: A1801 - Amazfit Smartwatch
VERSION DE ROM INSTALADA: qogir-3.0.31.0
ROM VERGE CHINO TRADUCIDA ENCONTRADA
***********************
INSTALACION DE LA ROM
***********************
*********************************************************************************
COPIANDO ARCHIVOS AL RELOJ. TARDARA UN POCO (SE RECOMIENDA TENER 300 MB LIBRES)
*********************************************************************************
AutoPlay\Docs\rom\start_update.sh: 1 file pushed. 0.1 MB/s (956 bytes in 0.013s)
AutoPlay\Docs\rom\md5s.txt: 1 file pushed. 0.0 MB/s (149 bytes in 0.003s)
AutoPlay\Docs\rom\recovery.img: 1 file pushed. 3.8 MB/s (7071744 bytes in 1.761s)
AutoPlay\Docs\rom\update-signed.zip: 1 file pushed. 3.7 MB/s (330817250 bytes in 86.029s)
**********************************************************************************
COMPROBANDO ARCHIVOS. SE REINICIARA EN MODO RECOVERY PARA INICIAR LA INSTALACION
TEN PACIENCIA PORQUE PUEDE TARDAR HASTA 5 MINUTOS
**********************************************************************************
============= PACEfied Installer ===============
Validating files...
update-signed.zip: OK
recovery.img: OK
start_update.sh: OK
Rebooting into recovery for installation...
*******************
BORRANDO ARCHIVOS
*******************
List of devices attached
d41e250a device
**********************
MONTANDO PARTICIONES
**********************
remount succeeded
*******************
ARCHIVOS BORRADOS
*******************
********************************************
COMPROBANDO INSTALACION CORRECTA DE LA ROM
********************************************
*******************************************************
LA ROM VERGE 3.0.31.0 v1.1 SE INSTALO CORRECTAMENTE
*******************************************************
***************************************
INSTALANDO boot.img PARA MODELO A1811
***************************************
AutoPlay\Docs\root\boot-US-adb-root.img: 1 file pushed. 2.8 MB/s (5736448 bytes in 1.986s)
1400+1 records in
1400+1 records out
5736448 bytes (5.5MB) copied, 1.770537 seconds, 3.1MB/s
********************************************
ACTUALIZANDO DOBLE TOQUE PARA MODELO A1811
********************************************
remount succeeded
AutoPlay\Docs\uboot\A1811\libslpt-linux.so: 1 file pushed. 3.0 MB/s (2972828 bytes in 0.960s)
*****************************************
BORRANDO ARCHIVOS NFC PARA MODELO A1811
*****************************************
**************************************
ACTUALIZANDO Bootloader MODELO A1811
**************************************
AutoPlay\Docs\uboot\A1811\u-boot-with-spl-mbr-gpt.bin: 1 file pushed. 2.8 MB/s (964968 bytes in 0.330s)
1884+1 records in
1884+1 records out
964968 bytes (942.4KB) copied, 0.565511 seconds, 1.6MB/s
*****************************
CAMBIANDO EL IDIOMA A ES
*****************************
******************************************************************************
ESTADO DEL BOOTLOADER: Desbloqueado. HACIENDO RESET DE FABRICA EN FASTBOOT
******************************************************************************
***************************************
RESETEANDO EL RELOJ. TARDARA UN RATO
***************************************
< waiting for any device >
Erasing 'data' OKAY [205.224s]
Finished. Total time: 205.280s
******** Did you mean to fastboot format this ext4 partition?
Erasing 'cache' OKAY [ 8.041s]
Finished. Total time: 8.092s
Rebooting
Finished. Total time: 0.034s
********************
INSTALANDO SuperSU
********************
AutoPlay\Docs\supersu\supersu\: 6 files pushed. 2.3 MB/s (710149 bytes in 0.300s)
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
*******************************************
BORRANDO ESTADISTICAS ANTIGUAS DE BATERIA
*******************************************
************************************
INSTALANADO APLICACIONES RESTANTES
************************************
remount succeeded
AutoPlay\Docs\fuentes\new1\.\: 1 file pushed. 3.5 MB/s (4529044 bytes in 1.242s)
AutoPlay\Docs\tra_ES\NewWearSport.apk: 1 file pushed. 3.2 MB/s (9731856 bytes in 2.882s)
AutoPlay\Docs\tra_ES\HuamiWatchFaces3.apk: 1 file pushed. 4.5 MB/s (24683531 bytes in 5.222s)
*******************************
USANDO FIRMWARE STOCK DEL GPS
*******************************
****************
DANDO PERMISOS
****************
************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA ACTIVAR EL AUMENTO DE VOLUMEN BLUETOOTH
************************************************************************************
***************************************
ACTIVANDO MEJORA DE VOLUMEN BLUETOOTH
***************************************
============= PACEfied Bluetooth Volume Boost ===============
Done
****************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA INSTALAR EL SERVICIO DE AMAZMOD
****************************************************************************
**************************
DESINSTALANDO WATCHDROID
**************************
**********************************
INSTALANDO SERVICIO AMAZMOD 1894
**********************************
AutoPlay\Docs\amazmod\service-release.apk: 1 file pushed. 3.8 MB/s (12688016 bytes in 3.198s)
pkg: /data/local/tmp/service-release.apk
Success
***********************************
INSTALANDO WATCHFACE GREATFIT 3.9
***********************************
AutoPlay\Docs\amazmod\GreatFit.apk: 1 file pushed. 6.0 MB/s (2780206 bytes in 0.441s)
pkg: /data/local/tmp/GreatFit.apk
Success
********************************
INSTALANDO PACECALENDAR 1.9.3
********************************
AutoPlay\Docs\amazmod\PaceCalendarWidget.apk: 1 file pushed. 5.9 MB/s (4051202 bytes in 0.652s)
pkg: /data/local/tmp/PaceCalendarWidget.apk
Success
***********************
INSTALANDO TECLADO T9
***********************
AutoPlay\Docs\t9\t9.apk: 1 file pushed. 6.3 MB/s (157309 bytes in 0.024s)
pkg: /data/local/tmp/t9.apk
Success
*****************************
ESTABLECIENDOLO POR DEFECTO
*****************************
Input method com.anb2rw.keyboardt9/.T9InputMethodService: now enabled
Input method com.anb2rw.keyboardt9/.T9InputMethodService selected
*************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA CAMBIAR VELOCIDAD DE ANIMACIONES A 0.1
*************************************************************************************
HECHO!
**************************
ACTIVANDO MEJORAS init.d
**************************
*************************
DESMONTANDO PARTICIONES
*************************
remount succeeded
**************
REINICIO 1/2
**************
******************
OPTIMIZANDO APPs
******************
**************
REINICIO 2/2
**************
***********************
FIN DE LA INSTALACION
***********************
*****************
TAREA TERMINADA
*****************
Presione una tecla para continuar . . .
How to take a log of the installation output (Windows .bat)
When the installation is finished, left click at top-left corner>Edit>Select all
Now left click again at top-left corner>Edit>Copy
Now go to any folder or desktop, right click>New>New text file, rename the file, open and paste there what you copied before. Post or upload here that .txt.
Click to expand...
Click to collapse
Change language
If you want to switch from one language to another one, you don't need to install whole ROM, just use Change Language on the installer, do your setup, and change to the new language. But note that to be able to change watch language, previously you need to have installed the ROM.
Click to expand...
Click to collapse
Abnormal HR monitoring
Since v1.8 installer, there is a new health feature, Abnormal HR monitoring, which is supposed to work only in Chinese language and maybe in China. If someone gets any abnormal HR data info or notification, please let me know here.
This feature looks like needs CN boot.img so not sure if this will work for A1811 US model.
You can enable it in HR app and check the data in the HR section of Amazfit app.
Alexa Voice Assistant
Alexa supports multi lingual since 3.2.6.0 US/International/Global version.
Supports Eurasia, including German (Germany), English (UK, USA, Canada, Australia, India), French (France, Canada), Spanish (Spain, Mexico), Italian (Italy), Japanese (Japan). This feature relies on Amazfit App 3.4.4 and above
Xiao AI Chinese voice assistant is included too as MiHome app needs this assistant. First time after using MiHome, you may see few Huami Voice app crashes, this is because Alexa conflicts with the Chinese voice assistant, but you will be able to pair/sync/use MiHome app but the Chinese voice assistant which is disabled on the app.
After installing the ROM and pairing the watch with the app, go to Me>Third-party>Amazon. Login with your Amazon account and you are good to go.
On your watch, swipe right from Watchface widget to go to Assistant widget:
Tap on the voice assistant bubble icon where you will get a prompt to choose the voice assistants app:
Choose Alexa (Huami Voice is Xiao AI Chinese voice assistant) and tap on ALWAYS to set as permanent app and launch the voice assistant:
You may check units on Me>Settings>Units and switch back to km/kg/cm if desired, check also the temperature unit on Me>Mywatch>Amazfit Smartwatch>Weather to change from ºF to ºC.
Click to expand...
Click to collapse
Factory Reset
This will wipe all your data and installed applications so sync all data in Amazfit app before installation.
While wiping data you must turn off bluetooth on your phone and unpair the watch on Amazfit app.
When whole installation process finishes, turn on bluetooth on your phone and pair the watch on Amazfit app.
If you face any trouble pairing the watch reboot both, watch and phone, and try again.
Click to expand...
Click to collapse
NOTE
Sync all your data with Amazfit app before installing the ROM.
Doing a Factory Reset during ROM installation is recommended.
Before first activity, calibrate and run the Compass outdoor for few minutes. Also starting an activity outdoors for few minutes is recommended in order to check GPS connection and altitude.
Before starting any activity, sync all your data with Amazfit app in order to update A-GPS data if needed.
If data is not syncing after an activity, turn off bluetooth on your phone, unpair the watch, turn on the bluetooth and repair the watch. If still no data sync, just install the Fix.
Install AmazMod or WatchDroid app on your phone
AmazMod official thread.
If phone app is not connecting with your watch, remember to reboot the phone after installing the app from Play Store. Note that Amazfit app must be installed too.
If you are getting duplicated notifications, go to app settings, disable notifications, apply, enable notifications and apply again. Remember to disable notifications for Amazfit app.
If you want to uninstall AmazMod service from watch, first you need to Revoke Administrator Privileges on Tweaks menu from phone's app.
Only install one of the notifications manager apps our you will face some issues.
GreatFit official thread.
SuperFit official thread.
T9 keyboard official thread.
To enable new Stratos app widgets go to Settings>Reorder Widgets and scroll to the end of the list where you will find both, Location and Training widgets. They may take few minutes to load on first boot so if you don't see them retry later.
PaceCalendar official thread.
If you can't see the calendar widget, go to AmazMod settings on watch, reorder widgets and enable the Calendar widget. If still no calendar widget, reboot the watch.
If a widget on watch stays loading and never does, disable that widget on Amazfit app and enable it.
Maximum widget amount is limited to 2 widgets.
To report any bug or issue, you must give as much info as possible, like a log or a copy-paste text of the installation process or a screenshot.
If you want to collaborate in this project, you can do it here.
Installing AmazBoost mod will break init.d support.
Click to expand...
Click to collapse
Linux scripts and Manual installation method in Post #2
Manual installation method
Since installer v0.8 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
Click to expand...
Click to collapse
Latest version
Verge 3.0.52.0 ROM v2.0.1 Installer | Mirror | More info
Previous versions
Verge 3.0.52.0 ROM v2.0 Installer | Mirror | More info | Bug Fixes: Fix for US A1811 model
Verge 3.0.51.0 ROM v1.9 Installer | Mirror | More info | Mods: Sport button launcher mod
Verge 3.0.48.0 ROM v1.8 Installer | Mirror | More info
Verge 3.0.45.0 ROM v1.7 Installer | Mirror | More info
Click to expand...
Click to collapse
Changelog 2.0 -> 2.0.1 (2020/04/24)
Based on 3.0.52.0 Stock Chinese Firmware
Updated Alexa app to latest US 3.2.7.5 firmware
New CS watchface weekdays translations by @mari8b
Fixed watchface selection in Amazfit app
Unfortunately, most of watchface names are in Chinese
Bug fixes for US A1811 model
AmazTimer 2.0 (Installed with AmazMod) by @micrusa
Click to expand...
Click to collapse
New PACEficator Project Telegram Channel
Join us to be up to date: https://telegram.me/joinchat/AAAAAFMzCpOaRgEowNH1bg
Click to expand...
Click to collapse
If you like my work you can buy me a beer here
Click to expand...
Click to collapse
Manual installation method
Manual installation method
Introduction
This is a guide for manual installation of the ROM using any command or terminal window. Requirements are the same as stated on OP.
Default ROM language is English (US) so if you want to set your watch in another language you need to install the ROM + change the language to install some not multilanguage apps. Later you can install/add some extra features if you want.
Manual installation method
Since installer v0.8 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
If you have installed an adb emulator
If you have installed an adb emulator, replace all adb commands with adb -d command.
Windows alternative installer
To use an alternative Windows installer, run ROM_US.bat for a English interface or ROM_ES.bat for a Spanish interface.
This is the example of the output running ROM_US.bat
*****************************
CONNECT YOUR WATCH TO BEGIN
*****************************
************************************
CHECKING IF FULL BOOT IS COMPLETED
************************************
OK! LET'S GO!
***********************
INSTALLATION FEATURES
***********************
BATTERY LEVEL: 93
BOOTLOADER STATUS: Unlocked
DETECTED WATCH MODEL: A1801 - Amazfit Smartwatch
INSTALLED ROM VERSION: qogir-3.0.15.0v0.3
CUSTOM CHINESE VERGE ROM FOUND
******************
ROM INSTALLATION
******************
******************************************************
SUPPORTED LANGUAGES v0.3 INSTALLER ROM VERGE 3.0.15.0:
0 - Exit
1 - Espanol (ES)
2 - English (US)
3 - Euskera (EU)
4 - Portuguese (BR)
5 - Catalan (CA)
6 - German (DE)
7 - French (FR)
8 - Hungarian (HU)
9 - Italian (IT)
10 - Hebrew (HE)
11 - Dutch (NL)
12 - Polish (PL)
13 - Turkish (TR)
14 - Portuguese (PT)
15 - Czech (CS)
16 - Slovak (SK)
17 - Greek (GR)
18 - Slovenian (SI)
19 - Russian (RU)
20 - Croatian (HR)
21 - Vietnamese (VN)
22 - Arabic (SA)
23 - Persian (AF)
24 - Thai (TH)
********************************************************
CHOOSE YOU LANGUAGE NUMBER AND PRESS "ENTER" : 2
****************************************************************************************************************************************
CHOOSE THE NUMBER FOR DESIRED FONT (1 - STOCK / 2 - HEBREW / 3 - ARABIC / 4 - NEW1 / 5 - NEW2 / 6 - NEW3) AND PRESS "ENTER" : 1
***********************************************************************************************************
CHOOSE THE NUMBER IF YOU WANT TO USE THE NEW GPS FIRMWARE (1 - YES / 2 - NO) AND PRESS "ENTER" : 2
*************************************************************************************************************
CHOOSE THE NUMBER IF YOU WANT TO ENBLE BLUETOOTH BOOST TWEAK (1 - YES / 2 - NO) AND PRESS "ENTER" : 1
***************************************************************************************************************************************************************
CHOOSE THE NUMBER IF YOU WANT TO INSTALL A NOTIFICATION MANAGER LIKE AMAZMOD OR WATCHDROID (1 - AMAZMOD / 2 - NO / 3 - WATCHDROID) AND PRESS "ENTER" : 3
************************************************************************************************************************
CHOOSE THE NUMBER IF YOU WANT TO DO A FACTORY RESET DURING INSTALLATION (1 - SI / 2 - NO) AND PRESS "ENTER" : 2
*********************************************************************************************************************************
CHOOSE THE NUMBER CORRESPONDING TO THE DESIRED ANIMATIONS SPEED (1 - 0.1 / 2 - 0.2 / ... / 10 - 1.0) AND PRESS "ENTER" : 10
***********************
INSTALLATION FEATURES
***********************
ROM language = en-US
Factory Reset = no
System fonts = sto
New GPS Firmware = no
Bluetooth volume boots= yes
Launcher App List = no
Notifications manager = WatchDroid
Animations speed = 1.0
************************************************
COPYING FILES TO WATCH. THIS WILL TAKE A WHILE
************************************************
rom\start_update.sh: 1 file pushed. 0.1 MB/s (956 bytes in 0.010s)
rom\md5s.txt: 1 file pushed. 0.0 MB/s (149 bytes in 0.007s)
rom\recovery.img: 1 file pushed. 2.9 MB/s (7071744 bytes in 2.312s)
rom\update-signed.zip: 1 file pushed. 2.6 MB/s (312883666 bytes in 116.141s)
***********************************************************************************
CHECKING FILES. YOUR WATCH WILL REBOOT IN RECOVERY MODE TO BEGIN THE INSTALLATION
BE PATIENT, THIS WILL TAKE AROUND 5 MINUTES
***********************************************************************************
============= PACEfied Installer ===============
Validating files...
update-signed.zip: OK
recovery.img: OK
start_update.sh: OK
Rebooting into recovery for installation...
****************
REMOVING FILES
****************
List of devices attached
d41e250a device
**********************
MOUNTING PARTITIONS
**********************
remount succeeded
***************
FILES REMOVED
***************
********************************************
CHECKING IF ROM WAS SUCCESSFULLY INSTALLED
********************************************
************************************************
VERGE ROM 3.0.15.0 v0.3 SUCCESSFULLY INSTALLED
************************************************
CHANGING LANGUAGE TO US
****************************
********************
INSTALLING SuperSU
********************
supersu\supersu\: 6 files pushed. 2.2 MB/s (710149 bytes in 0.313s)
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
****************************
REMOVING OLD BATTERY STATS
****************************
***********************************
INSTALLING REMAINING APPLICATIONS
***********************************
remount succeeded
fuentes\sto\.\: 1 file pushed. 6.0 MB/s (4033420 bytes in 0.644s)
*************************
USING STOCK GPS FIRMARE
*************************
*********************
SETTING PERMISSIONS
*********************
********************************************************
WAITING FOR FULL BOOT TO ENABLE BLUETOOTH VOLUME BOOST
********************************************************
*********************************
ENABLING BLUETOOTH VOLUME BOOST
*********************************
============= PACEfied Bluetooth Volume Boost ===============
Done
*********************************************
WAITING FOR FULL BOOT TO INSTALL WATCHDROID
*********************************************
***********************************
UNINSTALLING AMAZMOD SERVICE 1702
***********************************
***********************
INSTALLING WATCHDROID
***********************
wd\watch.apk: 1 file pushed. 4.3 MB/s (8732654 bytes in 1.932s)
pkg: /data/local/tmp/watch.apk
Success
******************************
INSTALLING WATCHDROID WIDGET
******************************
wd\Widget.apk: 1 file pushed. 4.7 MB/s (1302472 bytes in 0.267s)
pkg: /data/local/tmp/Widget.apk
Success
********************************************************
WAITING FOR FULL BOOT TO CHANGE ANIMATIONS SPEED TO 1.0
********************************************************
DONE!
************************
APPLYING init.d TWEAKS
************************
***********************
UNMOUNTING PARTITIONS
***********************
remount succeeded
************
REBOOT 1/2
************
*****************
OPTIMIZING APPs
*****************
************
REBOOT 2/2
************
**************************
INSTALLATION IS FINISHED
**************************
***************
FINISHED TASK
***************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Linux installation script
Open a command or terminal window on the root of unzipped folder.
Run the .sh for installation
Code:
sh rom_[B][COLOR="Red"]xy[/COLOR][/B].sh
Where
Code:
rom_[B][COLOR="red"]es[/COLOR][/B].sh (Spanish text interface)
rom_[B][COLOR="red"]us[/COLOR][/B].sh (English text interface)
A1811 users (New)
A1811 support (since v0.5)
Code:
sh boot_us.sh
If you need to Factory Reset your watch, run this .sh script
Code:
sh fct_rst.sh
USB/ADB/Fastboot drivers installation
Navigate to Instalador_XX\Autoplay\Docs\drivers\ and run the .exe file, reply with Y or y to all questions and accept whole installation process.
Installation using commands
Windows user may want to use adb.exe instead of adb and fastboot.exe instead of fastboot for a better compatibility.
Temporal root for Stock ROM
0. If you are on Stock Chinese firmware, you need to use the Chinese version of temporal root, and if you are on US/Global/International firmware version you need to use the US temporal root.
0.1 Reboot into fastboot mode
Code:
adb shell reboot bootloader
0.2a Boot Chinese temporal root
Code:
fastboot boot root\boot-CN-adb-root.img
0.2b Boot US/Global/International temporal root
Code:
fastboot boot root\boot-US-adb-root.img
Output (Or similar)
Code:
< waiting for any device >
downloading 'boot.img'...
OKAY [ 0.396s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.437s
The watch will reboot and you will able to gain adb root access.
When the watch reboots, go for the next step, but don't reboot again your watch as you will lose temporal root.
ROM installation
1. Copy ROM files to your watch.
Code:
adb push rom\start_update.sh /sdcard/
adb push rom\md5s.txt /sdcard/
adb push rom\recovery.img /sdcard/
adb push rom\update-signed.zip /sdcard/
adb push icon /sdcard/.ble/ (Notification icons for iOS)
Output (or similar)
Code:
[100%] /sdcard/start_update.sh
[100%] /sdcard/md5s.txt
[100%] /sdcard/recovery.img
[100%] /sdcard/update-signed.zip
/sdcard/.ble/icon/: 86 files pushed. 0 files skipped. 0.6 MB/s (526173 bytes in 0.829s)
2. Run installation script to enter recovery mode and install the ROM.
Code:
adb root
adb shell cd /sdcard/; sh start_update.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to sdcard where all files are stored
Code:
cd /sdcard/
Output (or similar)
Code:
[email protected]:/sdcard #
Run installation script
Code:
sh start_update.sh
Output (or similar)
Code:
============= PACEfied Installer ===============
Validating files...
start_update.sh: OK
update-signed.zip: OK
recovery.img: OK
Rebooting into recovery for installation...
Your watch will check the copied files, install a modded Recovery (If needed) and then will flash the ROM in recovery mode.
When the ROM installs, the watch will reboot and optimize all apps. Once full boot is completed, you will have your watch in English (US) language.
3. Remove ROM files from watch
Code:
adb shell rm /sdcard/md5s.txt
adb shell rm /sdcard/start_update.sh
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/update-signed.zip
4. A1811 model support
4.1 You need to install a library from latest US/Global/International firmware in order to make your watch work with this ROM and fix double tap to wake feature.
Code:
[STRIKE]adb root
adb remount rw
adb push uboot\A1811\libslpt-linux.so /system/lib/
adb shell chmod 0644 /system/lib/libslpt-linux.so[/STRIKE]
4.2 Flash boot.img for A1811 model
Code:
adb push root\boot-US-adb-root.img /sdcard/
adb shell busybox dd if=/sdcard/boot-US-adb-root.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/boot bs=4096
adb shell rm /sdcard/boot-US-adb-root.img
4.3 Delete all related NFC files for A1811 model
Code:
adb shell rm -rf /system/app/NfcNci
adb shell rm -rf /system/app/SmartcardService
adb shell rm -rf /system/priv-app/HmWallet
adb shell rm -rf /system/priv-app/Tag
adb shell busybox find ./system -type f -name '*nfc*' -delete
adb shell busybox find ./system -type f -name '*nxp*' -delete
adb shell rm /system/framework/org.simalliance.openmobileapi.jar
adb shell rm /system/lib/libp61-jcop-kit.so
adb shell rm /system/vendor/firmware/libpn553_fw.so
5. Update the Bootloader
It's important to update the Bootloader depending on your watch model, where MOD is:
A1811 if your watch originally is US/International/Global model
A1801 if your watch originally is US/International/Global model​
Code:
adb root
adb remount rw
adb push uboot\[B][COLOR="red"]MOD[/COLOR][/B]\u-boot-with-spl-mbr-gpt.bin /sdcard/
adb shell busybox dd if=/sdcard/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0
adb shell rm /sdcard/u-boot-with-spl-mbr-gpt.bin
adb remount ro
adb reboot
Change language
This will set the watch on your language and will also copy some not multilanguage apps. The ROM supports 6 languages, so you need to localize your language folder, in order to push correct apps to you watch. This step is not needed if you just want US English. Note that from the name format "tra_XY", XY is your language. Those are folder and language relationships:
tra_ES = Folder with Spanish files.
tra_EU = Folder with Basque files.
tra_HE = Folder with Hebrew files.
tra_HU = Folder with Hungarian files.
tra_IT = Folder with Italian files.
tra_US = Folder with US English files.
tra_BR = Folder with Portuguese-Brazil files.
tra_CA = Folder with Catalán files.
tra_DE = Folder with German files.
tra_FR = Folder with French files.
tra_NL = Folder with Dutch files.
tra_PL = Folder with Polish files.
tra_TR = Folder with Turkish files.
tra_PT = Folder with Portuguese-Portugal files.
tra_CS = Folder with Czech files.
tra_SK = Folder with Slovak files.
tra_GR = Folder with Greek files.
tra_SI = Folder with Slovenian files.
tra_RU = Folder with Russian files.
tra_HR = Folder with Croatian files.
tra_VN = Folder with Vietnamese files.
tra_SA = Folder with Arabic files.
tra_AF = Folder with Persian files.
tra_TH = Folder with Thai files.
Click to expand...
Click to collapse
10. Set your language (XY) as default even if Factory Reset your watch
Code:
adb root
adb remount rw
adb shell busybox "sed -i 's:ro.product.locale.region=.*:ro.product.locale.region=[B][COLOR="Red"]XY[/COLOR][/B]:' /system/build.prop
adb shell setprop persist.sys.country [B][COLOR="Red"]XY[/COLOR][/B]
adb shell setprop persist.sys.language [B][COLOR="SeaGreen"]en[/COLOR][/B]
11. Push apps to your watch from your language folder
Code:
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\HuamiWatchFaces3.apk system/app/HuamiWatchFaces3
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\NewWearSport.apk system/app/NewWearSport
Output (or similar)
Code:
[100%] system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
[100%] system/app/NewWearSport/NewWearSport.apk
12. Set permissions to the apps
Code:
adb shell chmod 644 system/app/HuamiWatchFaces3/HuamiWatchFaces3.apk
adb shell chmod 644 system/app/NewWearSport/NewWearSport.apk
13. Reboot your watch
Code:
adb remount ro
adb reboot
Now your watch is set permanently in your language
Extra Features
Enable non market apps installation + SuperSU root
This will install enable the installation of non market apps on watch, one of Watch Droid feature, and will install SuperSU root on watch.
20. Enable non market apps support (Watch needs to be full booted)
Code:
adb shell settings put secure install_non_market_apps 1
21. Copy SuperSU folder to your watch
Code:
adb root
adb remount rw
adb push supersu\supersu /sdcard/
Output (or similar)
Code:
/sdcard/supersu/: 6 files pushed. 0 files skipped. 4.0 MB/s (710149 bytes in 0.169s)
22. Run SueprSU installer script
Code:
adb shell cd /sdcard/supersu/; sh root_amazfit.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb remount rw
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to SuperSU folder on your watch where all files are stored
Code:
cd /sdcard/supersu
Output (or similar)
Code:
[email protected]:/sdcard/supersu #
Run installation script
Code:
sh root_amazfit.sh
Output (or similar)
Code:
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
Reboot your watch
Code:
adb reboot
23. Remove SuperSU folder from your watch
Code:
adb shell rm -r /sdcard/supersu/
Install GPS Firmware
30. To install the Stock GPS firmware: (Only needed if you previously installed the old firmware from Stratos)
Code:
adb root
adb remount rw
adb push gps\stock\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
And to install the old GPS firmware from Stratos:
Code:
adb root
adb remount rw
adb push gps\old\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
Enable launcher App list
You can enable launcher App List to see a list of installed apps (like and app drawer) and get access to all apps.
40. Enable App List
Code:
adb push lista\launcher_config.ini /sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Output (or similar)
Code:
[ ?] /sdcard/launcher_config.ini: 0/?
41. Disable App list
Code:
adb shell rm sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Enable Bluetooth volume boost
50. Enable Bluetooth volume boost
Code:
adb shell btVolBoost
Outout (or similar)
Code:
============= PACEfied Bluetooth Volume Boost ===============
Done, now rebooting
Delete old battery stats
60. This will delete old battery stats from previous ROM and will help to properly calibrate the battery.
Code:
adb shell rm data/system/batterystats.bin
It needs a reboot to apply.
Install more fonts
70. You can install 3 different fonts in this ROM. The location of each font is "fuentes/xyz" where xyz depends on the font you want to install:
ara = Arabic fonts
heb = Hebrew fonts
sto = Stock fonts
New1 = Stock updated font from Android SDK
New2 = Stock updated font from Android SDK/JRE
New3 = Code2000 font
Click to expand...
Click to collapse
To install a font, navigate on your command window to "fuentes/xyz".
And push the font to your watch
Code:
adb root
adb remount rw
adb push DroidSansFallback.ttf /system/fonts
Set correct permissions
Code:
adb shell chmod 644 system/fonts/DroidSansFallback.ttf
adb remount ro
And reboot to apply
Code:
adb reboot
System animations
71. Faster system animations
This will make watch interface/menu go faster
Code:
adb shell settings put global window_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global transition_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global animator_duration_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb reboot
Where AB can be any value from 0.1 (value in this ROM) and 1.0 (Stock ROM original value)
Pairing QR code
72. Launch pairing QR code
Code:
adb shell am start -n com.huami.watch.setupwizard/.InitPairQRActivity
Install a notitications manager
Install only one, WatchDroid or AmazMod
73. WatchDroid
Uninstall first all related to AmazMod if you installed it before. To do this, you have to Revoke Administrator Privileges to AmazMod on telephone's app or from AmazMod settings on watch widget.
Code:
adb uninstall com.amazmod.service
adb uninstall com.dinodevs.pacecalendarwidget
Install WatchDroid Assistant
Code:
adb install -r wd\watch.apk
Install WatchDroid widget
Code:
adb install -r wd\Widget.apk
74. AmazMod and PaceCalendar
Uninstall first all related to WatchDroid if you installed it before.
Code:
adb uninstall com.lumaticsoft.watchdroidassistant
adb uninstall com.lumaticsoft.amazfitwatchdroid
Install AmazMod and set Administrator privileges
Code:
adb install -r amazmod\service-release.apk
adb shell dpm set-device-owner com.amazmod.service/.AdminReceiver
Install PaceCalendar
Code:
adb install -r amazmod\PaceCalendarWidget.apk
After that reboot your watch
Code:
adb reboot
Date format for Watchfaces
75. Modded date format 31-12-2019
Code:
adb push date\mod\HuamiWatchFaces3.odex system/app/HuamiWatchFaces3/mips
adb shell chmod 644 system/app/HuamiWatchFaces3/mips/HuamiWatchFaces3.odex
adb shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
76. Stock date format 2019-12-31
Code:
adb push date\stock\HuamiWatchFaces3.odex system/app/HuamiWatchFaces3/mips
adb shell chmod 644 system/app/HuamiWatchFaces3/mips/HuamiWatchFaces3.odex
adb shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
77. Modded date format 31-12-2019
Code:
adb push date\mod\HuamiWatchFaces3.odex system/app/HuamiWatchFaces3/mips
adb shell chmod 644 system/app/HuamiWatchFaces3/mips/HuamiWatchFaces3.odex
adb shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
Bootanimation (New)
78. Bootanimation
You can choose between 4 bootanimations:
stock
verge
starwars
wearos
Replace boot_name with one of above names:
Code:
adb push boots\[B][COLOR="purple"]boot_name[/COLOR][/B]\bootanimation.zip /system/media
adb shell chmod 644 /system/media/bootanimation.zip
adb reboot
Factory Reset
80. If you need to do a factory reset on your watch, you can run FCT_RST.bat if you are on Windows. or use these commands, which are only valid for unlocked bootloader.
Code:
adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot reboot
Another command to do a factory reset and which also works for Stock ROM is
Code:
adb reboot wipe
When it finished, the watch will power off.
You are done with this, enjoy!
Community Translation Platform
Community Translation Platform
Crowdin is an online Community Translation Platform where you can contribute to this project translating the ROM to your language or others.
Create an account here
Go to Crowdin projects here
Select your language and start translating. If you can't find your language, just request it here.
And if you want to approve translations and be a manager of your language, ask me to promote you to be a Proofreader of your language.
Some tips from my experience
Main apps/files to be translated in Crowdin are:
HuamiWatchFaces3
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
NewWearSport
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
Some date strings/letters like "MM-dd" or "yyyy-MM-dd" MUST NOT be translated, leave them that way, but you can change the sequence to fit your date format, "dd-MM-yyyy" and so on.
Imperial and metric and other units, use international language, so don't translate them to your language (km, mi, ft, h, min, s,..).
Strings like %s, %d %1$s, %2$s, and %3$s MUST NOT be translated.
Don't translate strings like:
Code:
com.huami.watch.weather/com.huami.watch.weather.WeatherWidgetView
Don't translate any value like:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="seagreen"].[/COLOR][/B]5</string>
to something like this:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="Red"],[/COLOR][/B]5</string>
If you doubt on how to translate a string just don't do it, it's ok. Note that a incorrect translation may lead to a compiling app error, this means that language string won't be added to next release. Or even worst, the app maybe could be compiled correctly but when flashing the ROM it could cause continuous app Force Close (FC)
Don't translate these strings on Launcher app>arrays.xml
Code:
<string-array name="jazzy_effects">
<item>Standard</item>
<item>Tablet</item>
<item>CubeIn</item>
<item>CubeOut</item>
<item>FlipVertical</item>
<item>FlipHorizontal</item>
<item>Stack</item>
<item>ZoomIn</item>
<item>ZoomOut</item>
<item>RotateUp</item>
<item>RotateDown</item>
<item>Accordion</item>
</string-array>
Click to expand...
Click to collapse
Extra Translation Files
Other extra stuff which also needs translation but not in Crowdin. Download from
Here | Mirror
Use assets_US files as translation base for your language.
HuamiWatchFaces3: .png files for weekdays, battery level, unlock,... translations
Online image editor: https://pixlr.com/editor/
NewWearSport: Sport effect and sport voice alerts translations
Online voice alerts creation: https://www.youtube.com/watch?v=M8AlIJKS9qw
Click to expand...
Click to collapse
Bug Fixes
Fixes for Verge 3.0.15.0 ROM v0.3 Installer
DE language
View attachment SystemUI.apk force close fix
Code:
adb root
adb remount rw
adb push SystemUI.apk /system/priv-app/SystemUI
adb shell chmod 0644 /system/priv-app/SystemUI/SystemUI.apk
adb reboot
Threads of interest
Threads of interest
Unlock your bootloader
Install adb/fastboot drivers in Windows
Install Stock US/Global/International Firmware
Install Stock Chinese Firmware
Amazfit App Collection (Android only)
Bugs / don' select
Setting-->Preferences-->Lock screen-->Off screen mode
Thanks for the "Verge 3.0.15.0 ROM v0.3 Installer".
English works, but there is a bug in the german version.
The touchscreen does not work (german).
paphangkon said:
Setting-->Preferences-->Lock screen-->Off screen mode
Click to expand...
Click to collapse
hdcomp said:
Thanks for the "Verge 3.0.15.0 ROM v0.3 Installer".
English works, but there is a bug in the german version.
The touchscreen does not work (german).
Click to expand...
Click to collapse
Found the bad translation and already SystemUI is fixed and working.
Switch to DE language again, download the apk and push it to your watch.
Code:
adb root
adb remount rw
adb push SystemUI.apk /system/priv-app/SystemUI
adb shell chmod 0644 /system/priv-app/SystemUI/SystemUI.apk
adb reboot
Thanks Saratoga79,
it works.
Estoy usando el sistema automático, cuanto tiempo cuesta el booatloader? Puedo desconectar el reloj?
Thanks for your work. Here is another mirror:
http://roms.gerrett84.de/verge/Instalador_v0.3_Verge_ROM_3.0.15.0_Multi.exe.zip
Gesendet von meinem Mi MIX 2S mit Tapatalk
First of all, thanks for your work.
I wanted to ask you a question.
At the moment I'm on stock rom and using Watch Droid, but I could only sideload Watch Droid's Assistant apk.
I tried to sideload the Widget apk too ( it comes separately), but couldn't find it in the widget list of the Amazfit watch app, thus only having it as an app on the watch.
I'd love to have it as a widget; is it possible with your rom?
Thanks in advance.
Christian Mattaliano said:
First of all, thanks for your work.
I wanted to ask you a question.
At the moment I'm on stock rom and using Watch Droid, but I could only sideload Watch Droid's Assistant apk.
I tried to sideload the Widget apk too ( it comes separately), but couldn't find it in the widget list of the Amazfit watch app, thus only having it as an app on the watch.
I'd love to have it as a widget; is it possible with your rom?
Thanks in advance.
Click to expand...
Click to collapse
I think 3th party widget apps don't work on Verge, so no, there is no widget for WatchDroid or AmazMod, even is you use Springboard app.
Bug?
Your watch gets stuck and only a restart will help. Czech language
jankia32 said:
Your watch gets stuck and only a restart will help. Czech language
Click to expand...
Click to collapse
I installed CS version with the linux script which I'm trying to fix and works fine for me.
jankia32 said:
Your watch gets stuck and only a restart will help. Czech language
Click to expand...
Click to collapse
Installed the rom today, same problem ( US English language).
jankia32 said:
Your watch gets stuck and only a restart will help. Czech language
Click to expand...
Click to collapse
Also happens with German language. After a restart the watch will work again for ~5minutes.
Gesendet von meinem Mi MIX 2S mit Tapatalk
jankia32 said:
Your watch gets stuck and only a restart will help. Czech language
Click to expand...
Click to collapse
Christian Mattaliano said:
Installed the rom today, same problem ( US English language).
Click to expand...
Click to collapse
Gerrett said:
Also happens with German language. After a restart the watch will work again for ~5minutes.
Gesendet von meinem Mi MIX 2S mit Tapatalk
Click to expand...
Click to collapse
What ROM do you come from? US one?
What setup did you choose on installer? Any error during installation?
Since I'm not facing any of those issues not sure what to tell to do, maybe before installing this ROM, flash the stock Chinese firmware if you come from the US one, check Post #5, and then install always the ROM with a factory reset.
Also providing a logcat could help.
Is there much difference between the Stratos firmware and the Verge firmware? I already have the PACEficator firmware and I am wondering if this new firmware will be an upgrade? Thanks.
Decarabias said:
Is there much difference between the Stratos firmware and the Verge firmware? I already have the PACEficator firmware and I am wondering if this new firmware will be an upgrade? Thanks.
Click to expand...
Click to collapse
What do you mean? Installing this ROM on your Stratos? You can't do this.

PACEficator Project|Everest 2.0.70.1 ROM v2.2 Installer|Amazfit Stratos (2019/06/21)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New Project
We are moving HERE, to a new Project known as Hybrid ROM, Stratos & Pace support.​
THIS IS NOT FOR AMAZFIT PACE OR AMAZFIT VERGE​THIS IS NOT FOR AMAZFIT PACE OR AMAZFIT VERGE​THIS IS NOT FOR AMAZFIT PACE OR AMAZFIT VERGE​
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please make sure you read and understand everything written in the post before flashing it! YOU are choosing to make these modifications and must be sure of what it does.
Click to expand...
Click to collapse
The project is aimed to support multilanguage translations for Amazfit Stratos and continue the work of Stratosfied ROM by @Neuer_User.
[*]This Custom ROM is based on latest Stable Chinese Firmware, and used translations are from STOCKfied and Pace ROM on Crowdin (See Post #3) and OneSky before.
Never take OTA updates when running a custom ROM.
Click to expand...
Click to collapse
Based on latest Chinese Firmware
Supported languages (some languages may be in English/Chinese):
Español (ES)
English (US)
Euskera (EU)
Portuguese (BR)
Catalán (CA)
German (DE)
French (FR)
Hungarian (HU)
Italian (IT)
Hebrew (HE)
Dutch (NL)
Polish (PL)
Turkish (TR)
Portuguese (PT)
Czech (CS)
Slovak (SK)
Greek (GR)
Slovenian (SI)
Russian (RU)
Croatian (HR)
Vietnamese (VN)
Arabic (SA)
Persian (AF)
Thai (TH)
Bulgarian (BG)
Sport voice alerts:
Spanish
Basque
English
Polish
Italian
French
Portuguese-BR
Deleted Chinese apps
Alipay.apk
XimalayaSound.apk
Real time data of Last Lap (L.L.) and Current Lap (C.L.)
Init.d support and included script
Zipalign binary by @osm0sis (App optimization)
Samsung S8 Oreo emojis
AmazMod or WatchDroid (notifications manager)
PaceCalendar, GreatFit and T9 keyboard (AmazMod)
Font selection and preview (?) for stock notifications
Stock
Arabic
Hebrew
New1 (Updated Stock font from Android Studio SDK)
New2 (Updated Stock font from Android Studio SDK/JRE)
New3 (Code200 font)
Thai and Korean fonts
Option to choose between old Pace or new Stratos GPS Firmware
Option to choose animations speed
New bootanimation
Save locations and navigate to them starting an activity
Old keys mapping
Option for ADB/Fastboot/USB driver installation
Option to launch QR code
Re-enabled OTA update notifications
Option to install watchface date format mod
No 2 widget limitation
Click to expand...
Click to collapse
A1609(S) CN/Chinese version
A1619(S) US/Global/International version
Click to expand...
Click to collapse
Properly installed adb/fastboot drivers on your PC
Properly installed adb/fastboot/usb drivers
adb/fastboot as system wide for Windows -> Delete C:\adb from PATH at the end of the guide if exists
Unlocked Bootloader if you are on stock/original ROM
40% battery
300 MB free on your watch
Doing a factory reset is recommended on installation.
Click to expand...
Click to collapse
@Neuer_User for PACEfied & Stratosfied ROM and for a lot of stuff
@Cracklydisc (Nicola Sagliano) for AmazIT & StratOS ROM and for a lot of stuff
@1mmortal for a lot of stuff and support (My Master & Commander ;-p)
@YashdSaraf and @osm0sis for MIPS Busybox
@S3V3N for system dump scripts
@lfom for new English voice alerts and other stuff
@Ranomez for original local root script
@sergioextre and N&N Team for inti.d sripts
@s_k_u_ll for Linux .sh scripts
@JRevenge for Italian (IT) translations
@Kaudii for Polish (PL) translations
@MASVA for Croatian (HR) translations
And to all the people who contributed for STOCKfied and Stratos ROM translations projects on OneSky and now on Crowdin.
@Snoop05 for USB/ADB/Fastboot drivers
@yener90 for watchface date format mod
AmazMod team
Pablo for WatchDroid
@GreatApo for Calendar
@Anb2rw from 4PDA for original T9 keyboard and @ahsim for his mod.
Installer audio by NoCopyrightSounds
If I forget someone, please let me know.
Click to expand...
Click to collapse
Windows automatic installer:
Sync all your data with Amazfit Watch App
Download the ROM zip
Extract it somewhere
Connect your watch to PC (Watch needs to be full booted (showing the Watch Face))
Run .exe file (without administrator privileges)
Choose your language
Choose ROM installation
Setup the features of the ROM (Some features will increase installation time considerably)
And choose ROM installation
Wait and enjoy
Some screenshot
Installation output example for Spanish language
*****************************************
CONECTA EL RELOJ AL PC ANTES DE EMPEZAR
*****************************************
* daemon not running; starting now at tcp:5037
* daemon started successfully
**************************************************
COMPROBANDO QUE EL RELOJ HA ARRANCADO TOTALMENTE
**************************************************
OK! EMPECEMOS!
**************************
CARACTERISTICAS ELEGIDAS
**************************
Idioma de la ROM = en-ES
Reset de Fabrica = si
Fuentes de sistema = new1
Antiguo Firmware del GPS = no
Aumento volumen Bluetooth = si
App List del Launcher = si
Gestor de notificaciones = AmazMod
Velocidad de animaciones = 0.1
Formato de fecha Watchfaces = 31-12-2019
***************************
CARACTERISTICAS DEL RELOJ
***************************
NIVEL DE BATERIA: 93
ESTADO DEL BOOTLOADER: Desbloqueado
MODELO DE RELOJ DETECTADO: A1609 - Amazfit Sports Watch 2
VERSION DE ROM INSTALADA: everest-2.0.66.1
ROM STRATOS CHINA TRADUCIDA ENCONTRADA
***********************
INSTALACION DE LA ROM
***********************
*********************************************************************************
COPIANDO ARCHIVOS AL RELOJ. TARDARA UN POCO (SE RECOMIENDA TENER 300 MB LIBRES)
*********************************************************************************
AutoPlay\Docs\rom\start_update.sh: 1 file pushed. 0.2 MB/s (956 bytes in 0.005s)
AutoPlay\Docs\rom\md5s.txt: 1 file pushed. 0.0 MB/s (149 bytes in 0.008s)
AutoPlay\Docs\rom\recovery.img: 1 file pushed. 2.4 MB/s (6924288 bytes in 2.791s)
AutoPlay\Docs\rom\update-signed.zip: 1 file pushed. 1.4 MB/s (280523441 bytes in 193.509s)
**********************************************************************************
COMPROBANDO ARCHIVOS. SE REINICIARA EN MODO RECOVERY PARA INICIAR LA INSTALACION
TEN PACIENCIA PORQUE PUEDE TARDAR HASTA 5 MINUTOS
**********************************************************************************
============= PACEfied Installer ===============
Validating files...
update-signed.zip: OK
recovery.img: OK
start_update.sh: OK
Rebooting into recovery for installation...
*******************
BORRANDO ARCHIVOS
*******************
List of devices attached
9dee1d33 device
**********************
MONTANDO PARTICIONES
**********************
remount succeeded
*******************
ARCHIVOS BORRADOS
*******************
********************************************
COMPROBANDO INSTALACION CORRECTA DE LA ROM
********************************************
******************************************************
LA ROM EVEREST 2.0.66.1 v2.1 SE INSTALO CORRECTAMENTE
******************************************************
******************************
FLASEANDO bootloader STRATOS
******************************
AutoPlay\Docs\stratos\u-boot-with-spl-mbr-gpt.bin: 1 file pushed. 1.8 MB/s (894164 bytes in 0.475s)
1746+1 records in
1746+1 records out
894164 bytes (873.2KB) copied, 0.490857 seconds, 1.7MB/s
*****************************
CAMBIANDO EL IDIOMA A ES
*****************************
******************************************************************************
ESTADO DEL BOOTLOADER: Desbloqueado. HACIENDO RESET DE FABRICA EN FASTBOOT
******************************************************************************
***************************************
RESETEANDO EL RELOJ. TARDARA UN RATO
***************************************
< waiting for any device >
Erasing 'data' OKAY [205.376s]
Finished. Total time: 205.405s
******** Did you mean to fastboot format this ext4 partition?
Erasing 'cache' OKAY [ 8.027s]
Finished. Total time: 8.053s
Rebooting
Finished. Total time: 0.019s
********************
INSTALANDO SuperSU
********************
AutoPlay\Docs\supersu\supersu\: 6 files pushed. 1.3 MB/s (710149 bytes in 0.525s)
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
*******************************************
BORRANDO ESTADISTICAS ANTIGUAS DE BATERIA
*******************************************
************************************
INSTALANADO APLICACIONES RESTANTES
************************************
remount succeeded
AutoPlay\Docs\fuentes\new1\.\: 1 file pushed. 2.7 MB/s (4529044 bytes in 1.611s)
AutoPlay\Docs\tra_ES\NewWearSport.apk: 1 file pushed. 1.0 MB/s (7428337 bytes in 7.420s)
AutoPlay\Docs\tra_ES\HuamiWatchFaces.apk: 1 file pushed. 2.9 MB/s (13214059 bytes in 4.357s)
*******************************
USANDO FIRMWARE STOCK DEL GPS
*******************************
****************
DANDO PERMISOS
****************
****************************************************
INSTALANDO MOD DE FORMATO DE FECHA PARA WATCHFACES
****************************************************
AutoPlay\Docs\date\mod\HuamiWatchFaces.odex: 1 file pushed. 3.7 MB/s (6840752 bytes in 1.773s)
*****************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA ACTIVAR LA APP LIST DEL LAUNCHER
*****************************************************************************
***********************************
ACTIVANDO LA APPLIST DEL LAUNCHER
***********************************
AutoPlay\Docs\lista\launcher_config.ini: 1 file pushed.
************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA ACTIVAR EL AUMENTO DE VOLUMEN BLUETOOTH
************************************************************************************
***************************************
ACTIVANDO MEJORA DE VOLUMEN BLUETOOTH
***************************************
============= PACEfied Bluetooth Volume Boost ===============
Done
****************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA INSTALAR EL SERVICIO DE AMAZMOD
****************************************************************************
**************************
DESINSTALANDO WATCHDROID
**************************
**********************************
INSTALANDO SERVICIO AMAZMOD 1894
**********************************
AutoPlay\Docs\amazmod\service-release.apk: 1 file pushed. 4.6 MB/s (12688016 bytes in 2.647s)
pkg: /data/local/tmp/service-release.apk
Success
***********************************
INSTALANDO WATCHFACE GREATFIT 3.9
***********************************
AutoPlay\Docs\amazmod\GreatFit.apk: 1 file pushed. 3.4 MB/s (2780206 bytes in 0.784s)
pkg: /data/local/tmp/GreatFit.apk
Success
********************************
INSTALANDO PACECALENDAR 1.9.3
********************************
AutoPlay\Docs\amazmod\PaceCalendarWidget.apk: 1 file pushed. 3.4 MB/s (4051202 bytes in 1.152s)
pkg: /data/local/tmp/PaceCalendarWidget.apk
Success
***********************
INSTALANDO TECLADO T9
***********************
AutoPlay\Docs\t9\t9.apk: 1 file pushed. 2.9 MB/s (157309 bytes in 0.051s)
pkg: /data/local/tmp/t9.apk
Success
*****************************
ESTABLECIENDOLO POR DEFECTO
*****************************
Input method com.anb2rw.keyboardt9/.T9InputMethodService: now enabled
Input method com.anb2rw.keyboardt9/.T9InputMethodService selected
*************************************************************************************
ESPERANDO A QUE ARRANQUE POR COMPLETO PARA CAMBIAR VELOCIDAD DE ANIMACIONES A 0.1
*************************************************************************************
HECHO!
**************************
ACTIVANDO MEJORAS init.d
**************************
*************************
DESMONTANDO PARTICIONES
*************************
remount succeeded
**************
REINICIO 1/2
**************
******************
OPTIMIZANDO APPs
******************
**************
REINICIO 2/2
**************
***********************
FIN DE LA INSTALACION
***********************
*****************
TAREA TERMINADA
*****************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Linux scripts and Manual installation method in Post #2
Since installer v1.9 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
Click to expand...
Click to collapse
Language change
You can switch between different languages with ease choosing Change language menu in the installer, but note that you MUST have the ROM installed to do it.
Run .exe file (without administrator privileges)
Choose your language
Choose Change language
Setup the features of the ROM (Some features will increase installation time considerably)
And choose ROM installation
Wait and enjoy
Click to expand...
Click to collapse
CN Apps Pack
You can install/uninstall some Chinese apps which are removed by default from Change language>CN Apps Pack>Install
Alipay.apk (deleted by default)
HmTvHelper.apk (not deleted by default)
WearSmartHome.apk (not deleted by default)
XimalayaSound.apk(deleted by default)
Click to expand...
Click to collapse
Factory Reset
This will wipe all your data and installed applications so sync all data in Amazfit app before installation.
While wiping data you must turn off bluetooth on your phone and unpair the watch on Amazfit app.
When whole installation process finishes, turn on bluetooth on your phone and pair the watch on Amazfit app.
If you face any trouble pairing the watch reboot both, watch and phone, and try again.
NOTE
Sync all your data with Amazfit app before installing the ROM.
Doing a Factory Reset during ROM installation is recommended.
Before first activity, calibrate and run the Compass outdoor for few minutes. Also starting an activity outdoors for few minutes is recommended in order to check GPS connection and altitude.
Before starting any activity, sync all your data with Amazfit app in order to update A-GPS data if needed.
If data is not syncing after an activity, turn off bluetooth on your phone, unpair the watch, turn on the bluetooth and repair the watch.
If you still face issues to sync data, install the Amazfit App Data Sync Fix.
Install only one notifications manager, AmazMod or WatchDroid app on your phone
AmazMod official thread.
If phone app is not connecting with your watch, remember to reboot the phone after installing the app from Play Store. Note that Amazfit app must be installed too.
If you are getting duplicated notifications, go to app settings, disable notifications, apply, enable notifications and apply again. Remember to disable notifications for Amazfit app.
If you want to uninstall AmazMod service from watch, first you need to Revoke Administrator Privileges on Tweaks menu from phone's app.
If you can't see the calendar widget, go to AmazMod>Settings>Reorder Widgets and enable it there. If still no widget, reboot your watch and try again.
GreatFit official thread.
T9 keyboard official thread.
If Training widget, or any other widget on watch, stays loading and never does, disable that widget on Amazfit app and enable it.
To report any bug or issue, you must give as much info as possible, like a log or a copy-paste text of the installation process or a screenshot.
If you want to collaborate in this project, you can do it here.
Installing AmazBoost mod will probably break init.d support.
Click to expand...
Click to collapse
Latest version
Instalador_v2.2_Stratos_2.0.70.1_Multi | More info
Click to expand...
Click to collapse
Previous versions
Instalador_v2.1.1_Stratos_2.0.66.1_Multi | More info
Instalador_v2.1_Stratos_2.0.66.1_Multi | Mirror | More info
Instalador_v2.0.1_Stratos_2.0.63.1_Multi | Mirror | More info
Instalador_v2.0_Stratos_2.0.63.1_Multi | Mirror | More info
Instalador_v1.9_Stratos_2.0.59.1_Multi | Mirror
Instalador_v1.8_Stratos_2.0.55.1_Multi | Mirror | More info
Instalador_v1.7_Stratos_2.0.51.2_Multi | Mirror | More info | Mirror
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Changelog 2.1.1 -> 2.2 (2019/06/21)
+ Based on Chinese 2.0.70.1 Stable Firmware
- Optimize the problem of high initial velocity of motion due to some conditions
- Optimize the start of the sport
- Fixed an issue where the average stride was greater than the maximum stride in some cases
- Fixed the occasional appearance of the i0S version of the app.
- Repair swimming pool from custom pool length to standard pool length, if already set
Automatic segmentation, the automatic segmentation distance can not automatically modify the length of the pool
- Fixed bugs​+ Supported languages:
- Español (ES)
- English (US)
- Euskera (EU)
- Portuguese (BR)
- Catalán (CA)
- German (DE)
- French (FR)
- Hungarian (HU)
- Italian (IT)
- Hebrew (HE)
- Dutch (NL)
- Polish (PL)
- Turkish (TR)
- Portuguese (PT)
- Czech (CS)
- Slovak (SK)
- Greek (GR)
- Slovenian (SI)
- Russian (RU)
- Croatian (HR)
- Vietnamese (VN)
- Arabic (SA)
- Persian (AF)
- Thai (TH)
- Bulgarian (BG)​+ Sport voice alerts:
- Spanish
- Basque
- English
- Polish
- Italian
- French
- Portuguese-BR​+ Updated translations (Italian and Persian)
+ Init.d support and included script
- Zipalign binary by osm0sis (App optimization)​+ Samsung S8 Oreo emojis
+ AmazMod or WatchDroid (notificactiosn manager)
- PaceCalendar, GreatFit and T9 keyboard (AmazMod)​+ New font selection and preview (?)
- New1 (Updated Stock from Android Studio SDK)
- New2 (Updated Stock from Android Studio SDK/JRE)
- New3 (Code200 font)​+ New Thai and Korean fonts
+ Option to choose between old Pace or new Stratos GPS Firmware
+ Option to choose animations speed
+ Save locations and navigate to them starting an activity
+ Old keys mapping
+ Option for Driver installation
+ Option to launch QR code
+ Re-enabled OTA update notifications
+ Modded date format for stock watchfaces
+ No 2 widget limitation
+ Latest adb.exe/fasboot.exe (platform-tools_r29.0.1) version
- Don't worry if you get "fastboot: error: Command failed" when booting temporal root in fastboot​+ New bootanimation
Changelog 2.1 -> 2.1.1 (2019/06/19)
+ Based on Chinese 2.0.66.1 Stable Firmware
+ Latest adb.exe/fasboot.exe (platform-tools_r29.0.1) version
+ Updated translations
+ AmazMod 1894
+ GreatFit 3.9
+ T9 keyboard
+ New bootanimation
+ No 2 widget limitation
+ Modded date format for stock watchfaces
Changelog 2.0.1 -> 2.1 (2019/05/24)
+ Based on Chinese 2.0.66.1 Stable Firmware
- Optimizes the quality of the heart rate signal, optimizes the heart rate algorithm, improves the accuracy of the heart rate data, appears the disconnection of the iOS phone The problem is that the connection can not be reconnected after the connection. The problem is that the programming is configured in the application and, sometimes, the problem that the programming can not be displayed in the state of the clock lock screen is fixed. After automatic segmentation is turned off, the data in this segment and the previous segment will be reset based on the last distance.?? Repair. After the end of the campaign, even if the fastest personal score of 3 km does not occur, the clock will still Indicates the problem of the new best personal score faster than 3 km. · Repair the number of steps to reach the standard reminder, if the number of steps is standard, the clock will still remember the problem to fix the automatic due to the restart, the problem of fixing the error.​+ Supported languages:
- Español (ES)
- English (US)
- Euskera (EU)
- Portuguese (BR)
- Catalán (CA)
- German (DE)
- French (FR)
- Hungarian (HU)
- Italian (IT)
- Hebrew (HE)
- Dutch (NL)
- Polish (PL)
- Turkish (TR)
- Portuguese (PT)
- Czech (CS)
- Slovak (SK)
- Greek (GR)
- Slovenian (SI)
- Russian (RU)
- Croatian (HR)
- Vietnamese (VN)
- Arabic (SA)
- Persian (AF)
- Thai (TH)
- Bulgarian (BG)​+ Sport voice alerts:
- Spanish
- Basque
- English
- Polish
- Italian
- French
- Portuguese-BR​+ Updated translations (Italian and Persian)
+ Init.d support and included script
- Zipalign binary by osm0sis (App optimization)​+ Samsung S8 Oreo emojis
+ AmazMod or WatchDroid (notificaction manager)
- PaceCalendar, GreatFit and T9 keyboard (AmazMod)​+ New font selection and preview (?)
- New1 (Updated Stock from Android Studio SDK)
- New2 (Updated Stock from Android Studio SDK/JRE)
- New3 (Code200 font)​+ New Thai and Korean fonts
+ Option to choose between old Pace or new Stratos GPS Firmware
+ Option to choose animations speed
+ Amazfit Verge's bootanimation
+ Save locations and navigate to them starting an activity
+ Old keys mapping
+ Option for Driver installation
+ Option to launch QR code
+ Re-enabled OTA update notifications
+ Modded date format for stock watchfaces
+ No 2 widget limitation
Older Changelogs
Changelog v1.9 -> v2.0 (2019/04/27)
Changelog v1.8 -> v1.9 (2019/04/10)
Changelog v1.7 -> v1.8 (2019/03/14)
Click to expand...
Click to collapse
If you like my work you can buy me a beer here
Click to expand...
Click to collapse
Manual installation method
Manual installation method
Introduction
This is a guide for manual installation of the ROM using any command or terminal window. Requirements are the same as stated on OP.
Default ROM language is English (US) so if you want to set your watch in another language you need to install the ROM + change the language to install some not multilanguage apps. Later you can install/add some extra features if you want.
Since installer v1.9 all files for manual installation are built-in the automatic installer, in order to access them:
Unzip the installer .zip (7zip is recommended)
Unzip the .exe file
Navigate to Instalador_XX\Autoplay\Docs
Use manual installation guide as always
Older versions
v1.8_Docs_Stratos_ROM_2.0.55.1 | Mirror
v1.7_Docs_Stratos_ROM_2.0.51.2 | Mirror
If you have installed an adb emulator
If you have installed an adb emulator, replace all adb commands with adb -d command.
Windows alternative installer
To use an alternative Windows installer, run ROM_US.bat for a English interface or ROM_ES.bat for a Spanish interface.
This is the output running ROM_US.bat
*****************************
CONNECT YOUR WATCH TO BEGIN
*****************************
* daemon not running; starting now at tcp:5037
* daemon started successfully
************************************
CHECKING IF FULL BOOT IS COMPLETED
************************************
OK! LET'S GO!
***********************
INSTALLATION FEATURES
***********************
ROM Language = en-BG
Factory Reset = no
System Fonts = new1
Old GPS Firmware = no
Bluetooth volume boost = no
Launcher App List = yes
Notifications manager = AmazMod
Animations speed = 0.1
Watchface date format = 31-12-2019
******************
WATCH FEATURES
******************
BATTERY LEVEL: 98
BOOTLOADER STATUS: Unlocked
DETECTED WATCH MODEL: A1609 - Amazfit Sports Watch 2
INSTALLED ROM VERSION: huanghe-2.0.51.2v1.7
STRATOS CHINESE CUSTOM ROM
******************
ROM INSTALLATION
******************
************************************************
COPYING FILES TO WATCH. THIS WILL TAKE A WHILE
************************************************
AutoPlay\Docs\rom\start_update.sh: 1 file pushed. 0.0 MB/s (956 bytes in 0.025s)
AutoPlay\Docs\rom\md5s.txt: 1 file pushed. 0.0 MB/s (149 bytes in 0.003s)
AutoPlay\Docs\rom\recovery.img: 1 file pushed. 2.5 MB/s (6924288 bytes in 2.609s)
AutoPlay\Docs\rom\update-signed.zip: 1 file pushed. 2.4 MB/s (280924412 bytes in 112.572s)
***********************************************************************************
CHECKING FILES. YOUR WATCH WILL REBOOT IN RECOVERY MODE TO BEGIN THE INSTALLATION
BE PATIENT, THIS WILL TAKE AROUND 5 MINUTES
***********************************************************************************
============= PACEfied Installer ===============
Validating files...
update-signed.zip: OK
recovery.img: OK
start_update.sh: OK
Rebooting into recovery for installation...
****************
REMOVING FILES
****************
List of devices attached
9dee1d33 device
**********************
MOUNTING PARTITIONS
**********************
remount succeeded
***************
FILES REMOVED
***************
********************************************
CHECKING IF ROM WAS SUCESSFULLY INSTALLED
********************************************
*******************************************************
ROM EVEREST 2.0.51.2 v1.7 SUCCESSFULLY INSTALLED
*******************************************************
CHANGING LANGUAGE TO BG
****************************
********************
INSTALLING SuperSU
********************
AutoPlay\Docs\supersu\supersu\: 6 files pushed. 2.1 MB/s (710149 bytes in 0.324s)
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
****************************
REMOVING OLD BATTERY STATS
****************************
***********************************
INSTALLING REMAINING APPLICATIONS
***********************************
remount succeeded
AutoPlay\Docs\fuentes\new1\.\: 1 file pushed. 6.1 MB/s (4529044 bytes in 0.707s)
AutoPlay\Docs\tra_BG\NewWearSport.apk: 1 file pushed. 3.7 MB/s (8274720 bytes in 2.135s)
AutoPlay\Docs\tra_BG\HuamiWatchFaces.apk: 1 file pushed. 3.6 MB/s (13372198 bytes in 3.553s)
**************************
USING STOCK GPS FIRMWARE
**************************
*********************
SETTING PERMISSIONS
*********************
**************************************
INSTALLING WATCHFACE DATE FORMAT MOD
**************************************
AutoPlay\Docs\date\mod\HuamiWatchFaces.odex: 1 file pushed. 3.7 MB/s (6783408 bytes in 1.766s)
***************************************************
WAITING FOR FULL BOOT TO ENABLE LAUNCHER APP LIST
***************************************************
****************************
ENABLING LAUNCHER APP LIST
****************************
AutoPlay\Docs\lista\launcher_config.ini: 1 file pushed.
**************************************************
WAITING FOR FULL BOOT TO INSTALL AMAZMOD SERVICE
**************************************************
*************************
UNINSTALLING WATCHDROID
*************************
*********************************
INSTALLING AMAZMOD SERVICE 1880
*********************************
AutoPlay\Docs\amazmod\service-release.apk: 1 file pushed. 2.0 MB/s (12619605 bytes in 6.039s)
pkg: /data/local/tmp/service-release.apk
Success
***********************************
INSTALLING GREATFIT 3.8 WATCHFACE
***********************************
AutoPlay\Docs\amazmod\GreatFit.apk: 1 file pushed. 4.1 MB/s (2582540 bytes in 0.597s)
pkg: /data/local/tmp/GreatFit.apk
Success
********************************
INSTALLING PACECALENDAR 1.9.3
********************************
AutoPlay\Docs\amazmod\PaceCalendarWidget.apk: 1 file pushed. 3.1 MB/s (4051202 bytes in 1.247s)
pkg: /data/local/tmp/PaceCalendarWidget.apk
Success
***********************************************************
WAITING FOR FULL BOOT TO CHANGE ANIMATIONS SPEED TO 0.1
***********************************************************
DONE!
************************
APPLYING init.d TWEAKS
************************
***********************
UNMOUNTING PARTITIONS
***********************
remount succeeded
************
REBOOT 1/2
************
*****************
OPTIMIZING APPs
*****************
************
REBOOT 2/2
************
**************************
INSTALLATION IS FINISHED
**************************
***************
FINISHED TASK
***************
Presione una tecla para continuar . . .
Click to expand...
Click to collapse
Linux installation script (Beta)
Open a command or terminal window on the root of unzipped folder.
Run the .sh for installation
Code:
sh rom_[B][COLOR="Red"]xy[/COLOR][/B].sh
Where
Code:
rom_[B][COLOR="red"]es[/COLOR][/B].sh (Spanish text interface)
rom_[B][COLOR="red"]us[/COLOR][/B].sh (English text interface)
If you need to Factory Reset your watch, run this .sh script
Code:
sh fct_rst.sh
USB/ADB/Fastboot drivers installation
Navigate to Instalador_XX\Autoplay\Docs\drivers and run the .exe file, reply with Y or y to all questions and accept whole installation process.
Installation using commands
Windows user may want to use adb.exe instead of adb and fastboot.exe instead of fastboot for a better compatibility.
Temporal root for Stock ROM
0. If you are on Stock Rom, you need to install CN or US temporal root depending on your ROM version in order to install the ROM.
Reboot in fastboot mode
Code:
adb shell reboot bootloader
Flash CN temp root
Code:
fastboot boot root\boot-[B][COLOR="red"]CN[/COLOR][/B]-adb-root.img
or flash US temp root
Code:
fastboot boot root\boot-[B][COLOR="royalblue"]US[/COLOR][/B]-adb-root.img
Output (or similar)
Code:
< waiting for any device >
downloading 'boot.img'...
OKAY [ 0.396s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 1.437s
The watch will reboot. When you see the bootanimation check adb connection with the watch.
Code:
adb devices
Try it until your watch gets detected.
Output (or similar)
Code:
List of devices attached
be601824 device
And after this go to next step, you will do the file copy process.[/COLOR]
ROM installation
1. Copy ROM files to your watch.
Code:
adb push rom\start_update.sh /sdcard/
adb push rom\md5s.txt /sdcard/
adb push rom\recovery.img /sdcard/
adb push rom\update-signed.zip /sdcard/
adb push icon /sdcard/.ble/ (Notification icons for iOS)
Output (or similar)
Code:
[100%] /sdcard/start_update.sh
[100%] /sdcard/md5s.txt
[100%] /sdcard/recovery.img
[100%] /sdcard/update-signed.zip
/sdcard/.ble/icon/: 86 files pushed. 0 files skipped. 0.6 MB/s (526173 bytes in 0.829s)
2. Run installation script to enter recovery mode and install the ROM.
Code:
adb root
adb shell cd /sdcard/; sh start_update.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to sdcard where all files are stored
Code:
cd /sdcard/
Output (or similar)
Code:
[email protected]:/sdcard #
Run installation script
Code:
sh start_update.sh
Output (or similar)
Code:
============= PACEfied Installer ===============
Validating files...
start_update.sh: OK
update-signed.zip: OK
recovery.img: OK
Rebooting into recovery for installation...
Your watch will check the copied files, install a modded Recovery (If needed) and then will flash the ROM in recovery mode.
When the ROM installs, the watch will reboot and optimize all apps. Once full boot is completed, you will have your watch in English (US) language.
3. Remove ROM files from watch
Code:
adb shell rm /sdcard/md5s.txt
adb shell rm /sdcard/start_update.sh
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/update-signed.zip
Change language
This will set the watch on your language and will also copy some not multilanguage apps. The ROM supports 6 languages, so you need to localize your language folder, in order to push correct apps to you watch. This step is not needed if you just want US English. Note that from the name format "tra_XY", XY is your language. Those are folder and language relationships:
tra_ES = Folder with Spanish files.
tra_EU = Folder with Basque files.
tra_HE = Folder with Hebrew files.
tra_HU = Folder with Hungarian files.
tra_IT = Folder with Italian files.
tra_US = Folder with US English files.
tra_BR = Folder with Portuguese-Brazil files.
tra_CA = Folder with Catalán files.
tra_DE = Folder with German files.
tra_FR = Folder with French files.
tra_NL = Folder with Dutch files.
tra_PL = Folder with Polish files.
tra_TR = Folder with Turkish files.
tra_PT = Folder with Portuguese-Portugal files.
tra_CS = Folder with Czech files.
tra_SK = Folder with Slovak files.
tra_GR = Folder with Greek files.
tra_SI = Folder with Slovenian files.
tra_RU = Folder with Russian files.
tra_HR = Folder with Croatian files.
tra_VN = Folder with Vietnamese files.
tra_SA = Folder with Arabic files.
tra_AF = Folder with Persian files.
tra_TH = Folder with Thai files.
tra_BG = Folder with Bulgarian files.
Click to expand...
Click to collapse
10. Set your language (XY) as default even if Factory Reset your watch
Code:
adb root
adb remount rw
adb shell busybox "sed -i 's:ro.product.locale.region=.*:ro.product.locale.region=[B][COLOR="Red"]XY[/COLOR][/B]:' /system/build.prop
adb shell setprop persist.sys.country [B][COLOR="Red"]XY[/COLOR][/B]
adb shell setprop persist.sys.language [B][COLOR="SeaGreen"]en[/COLOR][/B]
11. Push apps to your watch from your language folder
Code:
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\HuamiWatchFaces.apk system/app/HuamiWatchFaces
adb push tra_[B][COLOR="Red"]XY[/COLOR][/B]\NewWearSport.apk system/app/NewWearSport
Output (or similar)
Code:
[100%] system/app/HuamiWatchFaces/HuamiWatchFaces.apk
[100%] system/app/NewWearSport/NewWearSport.apk
12. Set permissions to the apps
Code:
adb shell chmod 644 system/app/HuamiWatchFaces/HuamiWatchFaces.apk
adb shell chmod 644 system/app/NewWearSport/NewWearSport.apk
13. Reboot your watch
Code:
adb remount ro
adb reboot
Now your watch is set permanently in your language
Extra Features
Enable non market apps installation + SuperSU root
This will install enable the installation of non market apps on watch, one of Watch Droid feature, and will install SuperSU root on watch.
20. Enable non market apps support (Watch needs to be full booted)
Code:
adb shell settings put secure install_non_market_apps 1
21. Copy SuperSU folder to your watch
Code:
adb root
adb remount rw
adb push supersu\supersu /sdcard/
Output (or similar)
Code:
/sdcard/supersu/: 6 files pushed. 0 files skipped. 4.0 MB/s (710149 bytes in 0.169s)
22. Run SuperSU installer script
Code:
adb shell cd /sdcard/supersu/; sh root_amazfit.sh
or this if above doesn't work, use separated commands
Code:
adb root
adb remount rw
adb shell
Output (or similar)
Code:
[email protected]:/ #
Go to SuperSU folder on your watch where all files are stored
Code:
cd /sdcard/supersu
Output (or similar)
Code:
[email protected]:/sdcard/supersu #
Run installation script
Code:
sh root_amazfit.sh
Output (or similar)
Code:
============= INSTALLING SuperSU v2.82-SR5 ===============
============= SuperSU v2.82-SR5 INSTALLED ===============
Reboot your watch
Code:
adb reboot
23. Remove SuperSU folder from your watch
Code:
adb shell rm -r /sdcard/supersu/
Install the firmware for your GPS
30. To install the new/stock Stratos GPS firmware:
Code:
adb root
adb remount rw
adb push gps\stock\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
Install a firmware for your GPS
31. And to install the old/previous Stratos GPS firmware:
Code:
adb root
adb remount rw
adb push gps\old\sony_gps_fw_e.bin /system/etc/firmware
adb shell chmod 644 /system/etc/firmware/sony_gps_fw_e.bin
adb remount ro
adb reboot
Enable launcher App list
You can enable launcher App List to see a list of installed apps (like and app drawer) and get access to BLE app where you can pop-up QR code for pairing.
40. Enable App List
Code:
adb push lista\launcher_config.ini /sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Output (or similar)
Code:
[ ?] /sdcard/launcher_config.ini: 0/?
41. Disable App list
Code:
adb shell rm sdcard/launcher_config.ini
adb shell am force-stop com.huami.watch.launcher
Enable Bluetooth volume boost
50. Enable Bluetooth volume boost
Code:
adb shell btVolBoost
Outout (or similar)
Code:
============= PACEfied Bluetooth Volume Boost ===============
Done, now rebooting
Delete old battery stats
60. This will delete old battery stats from previous ROM and will help to properly calibrate the battery.
Code:
adb shell rm data/system/batterystats.bin
It needs a reboot to apply.
Install more fonts
70. You can install 3 different fonts in this ROM. The location of each font is "fuentes/xyz" where xyz depends on the font you want to install:
ara = Arabic fonts
heb = Hebrew fonts
sto = Stock fonts
New1 = Stock updated font from Android SDK
New2 = Stock updated font from Android SDK/JRE
New3 = Code2000 font
Click to expand...
Click to collapse
To install a font, navigate on your command window to "fuentes/xyz".
And push the font to your watch
Code:
adb root
adb remount rw
adb push DroidSansFallback.ttf /system/fonts
Set correct permmsions
Code:
adb shell chmod 644 system/fonts/DroidSansFallback.ttf
adb remount ro
And reboot to apply
Code:
adb reboot
System animations
71. Faster system animations
This will make watch interface/menu go faster
Code:
adb shell settings put global window_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global transition_animation_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb shell settings put global animator_duration_scale [B][COLOR="Blue"]AB[/COLOR][/B]
adb reboot
Where AB can be any value from 0.1 (value in this ROM) and 1.0 (Stock ROM original value)
Pairing QR code
73. Launch pairing QR code
Code:
adb shell am start -n com.huami.watch.setupwizard/.InitPairQRActivity
Install a notitications manager
Install only one, WatchDroid or AmazMod
73. WatchDroid
Uninstall first all related to AmazMod if you installed it before. To do this, you have to Revoke Administrator Privileges to AmazMod on telephone's app or from AmazMod settings on watch widget.
Code:
adb uninstall com.amazmod.service
adb uninstall com.dinodevs.pacecalendarwidget
Install WatchDroid Assistant
Code:
adb install -r wd\watch.apk
Install WatchDroid widget
Code:
adb install -r wd\Widget.apk
74. AmazMod and PaceCalendar
Uninstall first all related to WatchDroid if you installed it before.
Code:
adb uninstall com.lumaticsoft.watchdroidassistant
adb uninstall com.lumaticsoft.amazfitwatchdroid
Install AmazMod and set Administrator privileges
Code:
adb install -r amazmod\service-release.apk
adb shell dpm set-device-owner com.amazmod.service/.AdminReceiver
Install PaceCalendar
Code:
adb install -r amazmod\PaceCalendarWidget.apk
After that reboot your watch
Code:
adb reboot
Watchface date format Mod
75. Watchface date format Mod
If you want to set watchface date format to a 31/12/2019.
Code:
adb root
adb remount
adb.exe push date\mod\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb.exe shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb.exe shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
and if you want to set it to stock format 2019/12/31.
Code:
adb root
adb remount
adb.exe push date\stock\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb.exe shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb.exe shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
Factory Reset
80. If you need to do a factory reset on your watch, you can run FCT_RST.bat if you are on Windows. or use these commands, which are only valid for unlocked bootloader.
Code:
adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot reboot
Another command to do a factory reset and which also works for Stock ROM is
Code:
adb reboot wipe
When it finished, the watch will power off.
You are done with this, enjoy!
Crowdin Community Translation Platform
Crowdin Community Translation Platform
Crowdin is an online Community Translation Platform where you can contribute to this project translating the ROM to your language or others.
This project shares translations for Amazfit Stratos and Amazfit Pace ROMs.
Create an account here
Go to Crowdin projects here
Select your language and start translating. If you can't find your language, just request it here.
Click to expand...
Click to collapse
Some tips from my expreience
Main apps/files to be translated in Crowdin are:
HuamiWatchFaces
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
NewWearSport
arrays.xml needs full translation, partial translation may cause the app to crash
strings.xml could be partially translated
Some date strings/letters like "MM-dd" or "yyyy-MM-dd" MUST NOT be translated, leave them that way, but you can change the sequence to fit your date format, "dd-MM-yyyy" and so on.
Imperial and metric and other units, use international language, so don't translate them to your language (km, mi, ft, h, min, s,..).
Strings like %s, %d %1$s, %2$s, and %3$s MUST NOT be translated.
Don't translate strings like:
Code:
com.huami.watch.weather/com.huami.watch.weather.WeatherWidgetView
Don't translate any value like:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="seagreen"].[/COLOR][/B]5</string>
to something like this:
Code:
<string name="menu_item_high_light_scale_factor">0[B][COLOR="Red"],[/COLOR][/B]5</string>
If you doubt on how to translate a string just don't do it, it's ok. Note that a incorrect translation may lead to a compiling app error, this means that language string won't be added to next release. Or even worst, the app maybe could be compiled correctly but when flashing the ROM it could cause continuos app Force Close (FC)
Don't translate these strings on Launcher app>arrays.xml
Code:
<string-array name="jazzy_effects">
<item>Standard</item>
<item>Tablet</item>
<item>CubeIn</item>
<item>CubeOut</item>
<item>FlipVertical</item>
<item>FlipHorizontal</item>
<item>Stack</item>
<item>ZoomIn</item>
<item>ZoomOut</item>
<item>RotateUp</item>
<item>RotateDown</item>
<item>Accordion</item>
</string-array>
Click to expand...
Click to collapse
Extra Translation Files
Other extra stuff which also needs translation but not in Crowdin: Here
Use assets_US folder files of each app as base to translate to your language.
HuamiWatchFaces
.png files for weekdays, battery level, unlock,... translations
NewWearSport
Sport effect and sport voice alerts translations
Click to expand...
Click to collapse
Bugs/Feature request
Bugs/Feature request
WIP
Threads of interest
Threads of interest
Unlock your bootloader
Install adb/fastboot drivers in Windows
Recover your watch from Null SN for flashing a wrong ROM
Unbrick your Amazfit with the button trick
Unbrick your Amazfit with Cloner
Install Stock US/Global/International Firmware
Amazfit watch app collection
AmazMod
GreatFit
PaceCalendar
Mio
Mio
:good::good::good::good::good::good::good::good::good::good::good:
Hello @Saratoga79, first thanks for this aswome project! cant wait to try it.
i dont know if this happen because you didnt finished the post or not, but when i opened the link to contribute with translations but i think it is broken, its asked for login.
The link in Question:
"Other extra stuff which also needs translation but not in Crowdin: Here
Use assets_US folder files of each app as base to translate to your language....."
Thread updated with new download links and manual installation method commands and files.
saarakura said:
The link in Question:
"Other extra stuff which also needs translation but not in Crowdin: Here
Use assets_US folder files of each app as base to translate to your language....."
Click to expand...
Click to collapse
This link contains a .zip file with some stuff which is not in the translation platform, like Watchface weekdays .png. and Sport voice alerts .mp3 files.
Hello, trying this ROM i got stuck on this option "choose between old Pace or new Stratos GPS Firmware", what is the best?
saarakura said:
Hello, trying this ROM i got stuck on this option "choose between old Pace or new Stratos GPS Firmware", what is the best?
Click to expand...
Click to collapse
Not big difference between them so you are good to go with the Stratos one.
Great job! Everything you need, working with no bugs. Thanks!
I get stuck at "instaling temporal root - waiting for device" what can I do?
A very good work! Waiting for the new stable version.
Update notification
After installing ROM I have a constant notification about update 2.055.1. Does it right?
pastorshlag said:
After installing ROM I have a constant notification about update 2.055.1. Does it right?
Click to expand...
Click to collapse
That's the latest stable version.
You will see this if you installed Amazfit data fix or if for any other reason you don't have ROM version as 2.0.51.2v1.7.
Saratoga79 said:
That's the latest stable version.
You will see this if you installed Amazfit data fix or if for any other reason you don't have ROM version as 2.0.51.2v1.7.
Click to expand...
Click to collapse
Actually, firmware version 2.0.51.2. Don't install "Amazfit data fix". Only use "Manual installation". What are you recommended? Try to reinstall with factory reset?
hi thanks for great room I am in telegram group but I don't know spanish language. anybody know english group?
dadashi.reza said:
hi thanks for great room I am in telegram group but I don't know spanish language. anybody know english group?
Click to expand...
Click to collapse
:good::good::good:
There is no English telegram group, anyway, you can write in English or/and use Google translator.

How To Guide Using dism.exe and Powershell to Modify Windows ISOs

THIS IS OUTDATED, SEE THE NEW ARTICLE
How To Make Your Own Tiny or Lite Windows ISO
Hello Friends, Today I bring you a guide on how to properly mod your windows isos, to do anything you want :) [/SPOILER] [/SPOILER] [/SPOILER] To remove installed apps: dism.exe /Image:C:\Users\0110\Desktop\MODWINDOWZ\PATH...
forum.xda-developers.com
======================================
USING DISM.EXE AND POWERSHELL TO MODIFY WINDOWS ISOS
=============================================================================================
=======================================================​
On today's Lesson of Whatever I got distracted on~! Here's how to take what we learned before...
About Modding Windows ISOs.. and Make it... HARDER XD
Unintentionally, of Course, but with Purpose.
Spoiler: ORIGINAL ARTICLE
[CLOSED] How To Make Your Own Modified Windows ISO
============================================================== HOW TO MAKE A MODIFIED WINDOWS ISO ============================================================== Mod Edit: Link to Tool removed. This ISO will work just fine In virtual...
forum.xda-developers.com
Let's learn and understand what the MSMG Toolkit was really doing..
Since MSMG Unfortunately Doesn't Work as needed for Windows 7 ISOs...
We will be using the built in Windows Tool, dism.exe, in Powershell~!
Spoiler: DOWNLOAD: DEBLOAT WINDOWS 7 TOOLS, "AKA" DW7
GOOGLE DRIVE:
DW7.zip
drive.google.com
(3 GB, INCLUDES ORIGINAL WIN7WSP1)
Spoiler: VIDEO GUIDE
Spoiler: SETTING UP THE TOOLS
Extract The DW7 Folder and Paste into C:\
Win7UltSP1 is an unactivated, Stock Windows 7 Ultimate image with Service Pack 1.
You may use this ISO, Or your own Windows 7 ISO.
You may also create your own directories!
The tools are to help brand new people by proving concept.
Spoiler: PREPARING THE install.wim FILE
Open Your ISO and copy the files of the ISO into the DVD folder of DW7..
Press the Windows key on the keyboard,
Search for Powershell, Right Click, Run as Admin..
Paste this command to See, and Select, an Image "Source" Number:
Dism /Get-WimInfo /WimFile:"C:\DW7\DVD\sources\install.wim"
Paste this command to Extract the Selected Image "Source" Number:
Dism /export-image /SourceImageFile:"C:\DW7\DVD\sources\install.wim" /SourceIndex:4 /DestinationImageFile:"C:\DW7\ISO\install.wim" /Compress:max /CheckIntegrity
NOTE THAT YOU CAN:
Change the SourceIndex:Number If you don't want Ultimate.
Spoiler: OUT WITH THE OLD~! IN WITH THE NEW~!
Paste this command to copy and move the new install.wim and force replace the original install file:
copy-item "C:\DW7\ISO\install.wim" C:\DW7\DVD\sources -Recurse -Force
Paste this command to remove the "new" install.wim, that we moved above to the dvd sources folder:
remove-item "C:\DW7\ISO\install.wim"
Spoiler: PREPARING THE PATH ENVIRONMENT
At this point we need to make a copy of our DW7 Folder..
Paste The DW7 Folder to your Desktop.
Do not Cut or Drag and Drop!
This will leave you clean backups in C:\, just in case~!
This also forces us to make a change in the code...
Spoiler: LEARN DEM HOTKEYS~! PLEASE~!
You will need to Edit the Username in the code below.
If you are unsure of your Username,
Go into C:\Users and click on your Username.
Press F2 (This is the "rename" shortcut),
Which Highlights the text of any file or folder saving time..
Press Ctrl+C to quickly copy your username.
Then replace my commands below, the part after...
C:\Users\paste your user name and erase mine, the 0110 part...
To do this quickly, press Ctrl+H, type 0110 in the first line..
Press Ctrl+V to Paste your username, and replace all..
Spoiler: MOUNTING THE IMAGE
DESKTOP COMMAND:
dism.exe /mount-wim /wimfile:"C:\Users\0110\Desktop\DW7\DVD\sources\install.wim" /mountdir:"C:\Users\0110\Desktop\DW7\PATH" /index:1
DESKTOP COMMAND:
takeown /a /r /d Y /f "C:\Users\0110\Desktop\DW7\PATH"
Spoiler: ENABLING AND REMOVING FEATURES
Paste this command to Enable Windows features, currently disabled on the ISO:
Get-WindowsOptionalFeature -Path "C:\DW7\PATH" | Where-Object {$_.State –eq “Disabled”} | Out-GridView -PassThru | Enable-WindowsOptionalFeature
Paste this command to Disable Windows features, currently enabled on the ISO:
Get-WindowsOptionalFeature -Path "C:\DW7\PATH" | Where-Object {$_.State –eq “Enabled”} | Out-GridView -PassThru | Disable-WindowsOptionalFeature
Add or Remove Features by holding the control key and click on
all the features you want to include, then hit ok.
Spoiler: SAVE AND EXIT
Save your changes by pasting this command:
Dismount-WindowsImage -Path "C:\Users\0110\Desktop\DW7\PATH\" -Save
NOTE THAT UNTIL YOU DO THIS STEP, TRUSTED INSTALLER WILL NOT ALLOW YOU...
TO DELETE THE DW7 FOLDER OR FILES WITHIN~!
Spoiler: REFERENCES
How to Remove Built-in Apps, Features & Editions from a Windows 10 Install Image (WIM file)? | Windows OS Hub
In this guide we’ll show how to remove Microsoft Store provisioned apps, features (capabilities), and unused Windows editions from a Windows 10 installation image (install.wim file). Let’s do it manually…
woshub.com
Take ownership and delete a folder with Windows PowerShell
Windows won’t let me delete this folder…
mattyclutch.wordpress.com
TAKEOWN Command: Takes Ownership of A File
The TAKEOWN command is used to take ownership of a file. This command is used on the batch files.
windowscmd.com
takeown
Reference article for the takeown command, which enables an administrator to recover access to a file that was previously denied.
docs.microsoft.com
How to Add or Remove Optional Features on Windows Install Media
Ten Forums own tutorial guru @Brink has written an excellent tutorial about how to turn Windows optional features on or off in online OS, the current Windows installation user has signed in. This tutorial shows how to do the same on an offline image, a Wi
www.tenforums.com
Spoiler: Scripts from the articles to run on live machines
Remove Windows Apps:
Get-AppxProvisionedPackage -Online | Out-GridView -PassThru -Title 'Select All Windows Apps to Remove' | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue -Verbose
Remove System Apps:
Get-AppxPackage -AllUsers | Out-GridView -PassThru -Title 'Select All System Apps to Remove' | Remove-AppxPackage -Confirm:$false -ErrorAction SilentlyContinue -Verbose
Remove Windows Capabilities:
Get-WindowsCapability -Online | Where-Object {$_.State -eq 'Installed' } | Out-GridView -PassThru -Title 'Select Windows Capabilities to Remove' | Remove-WindowsCapability -Online -Verbose
Remove Windows Packages:
Get-WindowsPackage -Online | Where-Object {$_.PackageState -eq 'Installed' } | Out-GridView -PassThru -Title 'Select Windows Packages to Remove' | Remove-WindowsPackage -Online -Verbose
=========================================================================
TODAY'S PRESENTATION IS BROUGHT TO YOU BY:
THE LETTER D... FOR DISM...
DEPLOYMENT IMAGE SERVICING AND MANAGEMENT TOOL~!
===========================================================================
TO GET HELP IN SHELL...
PASTE: DISM /?
Spoiler: DISM COMMANDS
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
{servicing_command} [<servicing_arguments>]
DESCRIPTION:
DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.
GENERIC IMAGING COMMANDS:
/Split-Image - Splits an existing .wim file into multiple
read-only split WIM (SWM) files.
/Apply-Image - Applies an image.
/Get-MountedImageInfo - Displays information about mounted WIM and VHD
images.
/Get-ImageInfo - Displays information about images in a WIM, a VHD
or a FFU file.
/Commit-Image - Saves changes to a mounted WIM or VHD image.
/Unmount-Image - Unmounts a mounted WIM or VHD image.
/Mount-Image - Mounts an image from a WIM or VHD file.
/Remount-Image - Recovers an orphaned image mount directory.
/Cleanup-Mountpoints - Deletes resources associated with corrupted
mounted images.
WIM COMMANDS:
/Apply-CustomDataImage - Dehydrates files contained in the custom data image.
/Capture-CustomImage - Captures customizations into a delta WIM file on a
WIMBoot system. Captured directories include all
subfolders and data.
/Get-WIMBootEntry - Displays WIMBoot configuration entries for the
specified disk volume.
/Update-WIMBootEntry - Updates WIMBoot configuration entry for the
specified disk volume.
/List-Image - Displays a list of the files and folders in a
specified image.
/Delete-Image - Deletes the specified volume image from a WIM file
that has multiple volume images.
/Export-Image - Exports a copy of the specified image to another
file.
/Append-Image - Adds another image to a WIM file.
/Capture-Image - Captures an image of a drive into a new WIM file.
Captured directories include all subfolders and
data.
/Get-MountedWimInfo - Displays information about mounted WIM images.
/Get-WimInfo - Displays information about images in a WIM file.
/Commit-Wim - Saves changes to a mounted WIM image.
/Unmount-Wim - Unmounts a mounted WIM image.
/Mount-Wim - Mounts an image from a WIM file.
/Remount-Wim - Recovers an orphaned WIM mount directory.
/Cleanup-Wim - Deletes resources associated with mounted WIM
images that are corrupted.
FFU COMMANDS:
/Capture-Ffu - Captures a physical disk image into a new FFU file.
/Apply-Ffu - Applies an .ffu image.
/Split-Ffu - Splits an existing .ffu file into multiple read-only
split FFU files.
/Optimize-Ffu - Optimizes a FFU file so that it can be applied to storage
of a different size.
IMAGE SPECIFICATIONS:
/Online - Targets the running operating system.
/Image - Specifies the path to the root directory of an
offline Windows image.
DISM OPTIONS:
/English - Displays command line output in English.
/Format - Specifies the report output format.
/WinDir - Specifies the path to the Windows directory.
/SysDriveDir - Specifies the path to the system-loader file named
BootMgr.
/LogPath - Specifies the logfile path.
/LogLevel - Specifies the output level shown in the log (1-4).
/NoRestart - Suppresses automatic reboots and reboot prompts.
/Quiet - Suppresses all output except for error messages.
/ScratchDir - Specifies the path to a scratch directory.
For more information about these DISM options and their arguments, specify an
option immediately before /?.
Examples:
DISM.exe /Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe /Image:C:\test\offline /?
DISM.exe /Online /?
PS C:\> Get-WindowsCapability -Path C:\DW7\PATH
Get-WindowsCapability : Get-WindowsCapability failed. Error code = 0x80004002
At line:1 char:1
+ Get-WindowsCapability -Path C:\DW7\PATH
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ) [Get-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsCapabilityCommand
PS C:\> Get-WindowsCapability -Path " C:\DW7\PATH"
Get-WindowsCapability : The parameter is incorrect.
At line:1 char:1
+ Get-WindowsCapability -Path " C:\DW7\PATH"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ) [Get-WindowsCapability], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsCapabilityCommand
Upload has completed, download links are now available.
A video guide has been provided.
We are missing one or so lines of code to rebuild the ISO.
I will correct that tomorrow, I'm Sleepy. D;
You can always use MSMGTK to do that part if you make it there before I add the code~!
Apparently I have to learn Ms build which I'm doing now so obviously this will take a little longer than I expected but it will help to progress our knowledge gained from trying to do something that should be so simple, turn a folder into an ISO, but continues to prove to us that nothing in computing should ever be took lightly and it took a lot of time and tools and engineering to create everything we do on them...
I am putting out a correction~! MSBUILD is NOT needed to turn a folder into an ISO. We can do that entirely in Powershell, using the built in ISE Tool. This will allow us to create a script that will burn the ISO for us. I will release a new thread on building a script in PowerShell ISE when I know what the heck I am doing. LOL
I did however, extract the MSBUILD tool from Visual Studio if anyone ever needs it and doesn't want to install VS
MSBuild.zip
drive.google.com
(22.5 MB ZIPPED)
I am also dumping all my research on MSBUILD here in case I or anyone else want's to pickup on it later~!
REFS:
Spoiler: MSBUILD ENGINE
MSBuild - MSBuild
Learn about how the Microsoft Build Engine (MSBuild) platform provides a project file with an XML schema to control builds.
docs.microsoft.com
"The Microsoft Build Engine is a platform for building applications. This engine, which is also known as MSBuild, provides an XML schema for a project file that controls how the build platform processes and builds software"
"To run MSBuild at a command prompt, pass a project file to MSBuild.exe, together with the appropriate command-line options. Command-line options let you set properties, execute specific targets, and set other options that control the build process."
COMMAND LINE EXAMPLE:
MSBuild.exe MyProj.proj -property:Configuration=Debug
"MSBuild uses an XML-based project file format that's straightforward and extensible. The MSBuild project file format lets developers describe the items that are to be built, and also how they are to be built for different operating systems and configurations.
In addition, the project file format lets developers author reusable build rules that can be factored into separate files so that builds can be performed consistently across different projects in the product"
"Properties represent key/value pairs that can be used to configure builds. Properties are declared by creating an element that has the name of the property as a child of a PropertyGroup element"
XML EXAMPLE:
<PropertyGroup>
<BuildDir>Build</BuildDir>
</PropertyGroup>
"You can define a property conditionally by placing a Condition attribute in the element. The contents of conditional elements are ignored unless the condition evaluates to true"
XML EXAMPLE:
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
"Properties can be referenced throughout the project file by using the syntax $(<PropertyName>).
For example, you can reference the properties in the previous examples by using $(BuildDir) and $(Configuration)."
"Items are inputs into the build system and typically represent files. Items are grouped into item types based on user-defined item names. These item types can be used as parameters for tasks, which use the individual items to perform the steps of the build process. Items are declared in the project file by creating an element that has the name of the item type as a child of an ItemGroup element."
XML EXAMPLE:
<ItemGroup>
<Compile Include = "file1.cs"/>
<Compile Include = "file2.cs"/>
</ItemGroup>
"Item types can be referenced throughout the project file by using the syntax @(<ItemType>).
For example, the item type in the example would be referenced by using @(Compile).
In MSBuild, element and attribute names are case-sensitive. However, property, item, and metadata names are not."
"Tasks are units of executable code that MSBuild projects use to perform build operations.
For example, a task might compile input files or run an external tool."
"The execution logic of a task is written in managed code and mapped to MSBuild by using the UsingTask element.
You can write your own task by authoring a managed type that implements the ITask interface"
"MSBuild includes common tasks that you can modify to suit your requirements.
Examples are Copy, which copies files, MakeDir, which creates directories"
"A task is executed in an MSBuild project file by creating an element that has the name of the task as a child of a Target element.
Tasks typically accept parameters, which are passed as attributes of the element. Both MSBuild properties and items can be used as parameters."
XML EXAMPLE:
<Target Name="MakeBuildDirectory">
<MakeDir Directories="$(BuildDir)" />
</Target>
"Targets group tasks together in a particular order and expose sections of the project file as entry points into the build process."
"Breaking the build steps into targets lets you call one piece of the build process from other targets without copying that section of code into every target"
XML EXAMPLE:
<Target Name="Compile">
<Csc Sources="@(Compile)" />
</Target>
Spoiler: WHAT IS XML SCHEMA?
What is XML Schema (XSD)?
docs.microsoft.com
"XML Schema Definition (XSD) language is the current standard schema language for all XML documents and data. On May 2, 2001, the World Wide Web Consortium (W3C) published XSD in its version 1.0 format.
The XML Schema definition language (XSD) enables you to define the structure and data types for XML documents.
An XML Schema defines the elements, attributes, and data types that conform to the World Wide Web Consortium (W3C),
XML Schema Part 1: Structures Recommendation for the XML Schema Definition Language."
"The schema element contains type definitions (simpleType and complexType elements) and attribute and element declarations. In addition to its built-in data types (such as integer, string, and so on), XML Schema also allows for the definition of new data types using the simpleType and complexType elements.
simpleType
A type definition for a value that can be used as the content (textOnly) of an element or attribute. This data type cannot contain elements or have attributes.
complexType
A type definition for elements that can contain attributes and elements. This data type can contain elements and have attributes."
Spoiler: MSBUILD ON THE COMMAND LINE
MSBuild on the command line - C++
Learn more about: MSBuild on the command line - C++
docs.microsoft.com
"you can use the MSBuild tool directly from the command prompt. The build process is controlled by the information in a project file (.vcxproj) that you can create and edit."
CLI EXAMPLE:
msbuild.exe [ project_file ] [ options ]
"Use the /target (or /t) and /property (or /p) command-line options to override specific properties and targets that are specified in the project file."
"A project file can specify one or more targets, which can include a default target."
"Each target consists of a sequence of one or more tasks. Each task is represented by a .NET Framework class that contains one executable command. For example, the CL task contains the cl.exe command."
"A task parameter is a property of the class task and typically represents a command-line option of the executable command."
Spoiler: MSBUILD COMMAND LINE REFERENCES
MSBuild Command-Line Reference - MSBuild
Learn how to use MSBuild.exe command line to build a project or solution file, and several switches you can include.
docs.microsoft.com
"When you use MSBuild.exe to build a project or solution file, you can include several switches to specify various aspects of the process."
"Every switch is available in two forms: -switch and /switch."
"Switches are not case-sensitive. If you run MSBuild from a shell other than the Windows command prompt, lists of arguments to a switch (separated by semicolons or commas) might need single or double quotes to ensure that lists are passed to MSBuild instead of interpreted by the shell."
SYNTAX:
MSBuild.exe [Switches] [ProjectFile]
ARGUMENT:
ProjectFile Builds the targets in the project file that you specify. If you don't specify a project file,
MSBuild searches the current working directory for a file name extension that ends in proj and uses that file.
USE THIS ARTICLE AFTER READING THE ABOVE AND YOU WILL UNDERSTAND WHAT IT'S SAYING.
Use MSBuild - MSBuild
Learn the various parts of an MSBuild project file, including items, item metadata, properties, targets, and tasks.
docs.microsoft.com
To get help in the Shell, Type:
MSBuild -help
Spoiler: DISPLAYS THIS
C:\Users\0110\Desktop\MSBuild\Current\Bin>msbuild -help
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Syntax: MSBuild.exe [options] [project file | directory]
Description: Builds the specified targets in the project file. If a project file is not specified, MSBuild searches the current working directory for a file that has a file extension that ends in "proj" and uses that file. If a directory is specified, MSBuild searches that directory for a project file.
Switches: Note that you can specify switches using:
"-switch", "/switch" and "--switch".
-target:<targets> Build these targets in this project. Use a semicolon or a comma to separate multiple targets, or specify each target separately. (Short form: -t)
Example:
-target:Resources;Compile
-property:<n>=<v> Set or override these project-level properties. <n> is the property name, and <v> is the property value. Use a semicolon or a comma to separate multiple properties, or specify each property separately.
(Short form: -p)
Example:
-property:WarningLevel=2;OutDir=bin\Debug\
-maxCpuCount[:n] Specifies the maximum number of concurrent processes to build with. If the switch is not used, the default value used is 1. If the switch is used without a value MSBuild will use up to the number of processors on the computer. (Short form: -m[:n])
-toolsVersion:<version> The version of the MSBuild Toolset (tasks, targets, etc.) to use during build. This version will override the versions specified by individual projects.
(Short form: -tv)
Example:
-toolsVersion:3.5
-verbosity:<level> Display this amount of information in the event log.
The available verbosity levels are: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
(Short form: -v)
Example:
-verbosity:quiet
-consoleLoggerParameters:<parameters> Parameters to console logger.
(Short form: -clp)
The available parameters are:
PerformanceSummary--Show time spent in tasks, targets and projects.
Summary--Show error and warning summary at the end.
NoSummary--Don't show error and warning summary at the end.
ErrorsOnly--Show only errors.
WarningsOnly--Show only warnings.
NoItemAndPropertyList--Don't show list of items and properties at the start of each project build.
ShowCommandLine--Show TaskCommandLineEvent messages
ShowTimestamp--Display the Timestamp as a prefix to any message.
ShowEventId--Show eventId for started events, finished events, and messages
ForceNoAlign--Does not align the text to the size of the console buffer
DisableConsoleColor--Use the default console colors for all logging messages.
DisableMPLogging-- Disable the multiprocessor logging style of output when running in non-multiprocessor mode.
EnableMPLogging--Enable the multiprocessor logging style even when running in non-multiprocessor mode. This logging style is on by default.
ForceConsoleColor--Use ANSI console colors even if console does not support it
Verbosity--overrides the -verbosity setting for this logger.
Example:
-consoleLoggerParameterserformanceSummary;NoSummary;
Verbosity=minimal
-noConsoleLogger Disable the default console logger and do not log events to the console. (Short form: -noConLog)
-fileLogger[n] Logs the build output to a file. By default the file is in the current directory and named
"msbuild[n].log". Events from all nodes are combined into a single log. The location of the file and other parameters for the fileLogger can be specified through the addition of the "-fileLoggerParameters[n]" switch. "n" if present can be a digit from 1-9, allowing up to 10 file loggers to be attached.
(Short form: -fl[n])
-fileLoggerParameters[n]:<parameters> Provides any extra parameters for file loggers. The presence of this switch implies the corresponding -fileLogger[n] switch.
"n" if present can be a digit from 1-9.
-fileLoggerParameters is also used by any distributed file logger, see description of -distributedFileLogger.
(Short form: -flp[n])
The same parameters listed for the console logger are available. Some additional available parameters are:
LogFile--path to the log file into which the build log will be written.
Append--determines if the build log will be appended to or overwrite the log file. Setting the switch appends the build log to the log file;
Not setting the switch overwrites the contents of an existing log file. The default is not to append to the log file.
Encoding--specifies the encoding for the file, for example, UTF-8, Unicode, or ASCII Default verbosity is Detailed.
Examples:
-fileLoggerParameters:LogFile=MyLog.log;Append; Verbosity=diagnostic;Encoding=UTF-8
-flp:Summary;Verbosity=minimal;LogFile=msbuild.sum
-flp1:warningsonly;logfile=msbuild.wrn
-flp2:errorsonly;logfile=msbuild.err
-distributedLogger:<central logger>*<forwarding logger>
Use this logger to log events from MSBuild, attaching a different logger instance to each node. To specify multiple loggers, specify each logger separately.
(Short form -dl)
The <logger> syntax is:
[<class>,]<assembly>[,<options>][;<parameters>]
The <logger class> syntax is:
[<partial or full namespace>.]<logger class name>
The <logger assembly> syntax is:
{<assembly name>[,<strong name>] | <assembly file>}
Logger options specify how MSBuild creates the logger. The <logger parameters> are optional, and are passed to the logger exactly as you typed them.
(Short form: -l)
Examples:
-dl:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
-dl:MyLogger,C:\My.dll*ForwardingLogger,C:\Logger.dll
-distributedFileLogger
Logs the build output to multiple log files, one log file per MSBuild node. The initial location for these files is the current directory. By default the files are called "MSBuild<nodeid>.log". The location of the files and other parameters for the fileLogger can be specified with the addition of the "-fileLoggerParameters" switch.
If a log file name is set through the fileLoggerParameters switch the distributed logger will use the fileName as a template and append the node id to this fileName to create a log file for each node.
-logger:<logger> Use this logger to log events from MSBuild. To specify multiple loggers, specify each logger separately.
The <logger> syntax is:
[<class>,]<assembly>[,<options>][;<parameters>]
The <logger class> syntax is:
[<partial or full namespace>.]<logger class name>
The <logger assembly> syntax is:
{<assembly name>[,<strong name>] | <assembly file>}
Logger options specify how MSBuild creates the logger.
The <logger parameters> are optional, and are passed to the logger exactly as you typed them.
(Short form: -l)
Examples:
-logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral
-logger:XMLLogger,C:\Loggers\MyLogger.dll;OutputAsHTML
-binaryLogger[:[LogFile=]output.binlog[;ProjectImports={None,Embed,ZipFile}]]
Serializes all build events to a compressed binary file.
By default the file is in the current directory and named "msbuild.binlog". The binary log is a detailed description of the build process that can later be used to reconstruct text logs and used by other analysis tools. A binary log is usually 10-20x smaller than the most detailed text diagnostic-level log, but it contains more information.
(Short form: -bl)
The binary logger by default collects the source text of project files, including all imported projects and target files encountered during the build. The optional ProjectImports switch controls this behavior:
ProjectImports=None - Don't collect the project imports.
ProjectImports=Embed - Embed project imports in the log file.
ProjectImports=ZipFile - Save project files to output.projectimports.zip where output is the same name as the binary log file name.
The default setting for ProjectImports is Embed. Note: the logger does not collect non-MSBuild source files such as .cs, .cpp etc.
A .binlog file can be "played back" by passing it to msbuild.exe as an argument instead of a project/solution. Other loggers will receive the information contained in the log file as if the original build was happening.
You can read more about the binary log and its usages at:
msbuild/Providing-Binary-Logs.md at main · dotnet/msbuild
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio. - msbuild/Providing-Binary-Logs.md at main · dotnet/msbuild
aka.ms
Examples:
-bl
-blutput.binlog
-blutput.binlog;ProjectImports=None
-blutput.binlog;ProjectImports=ZipFile
-bl:..\..\custom.binlog
-binaryLogger
-warnAsError[:code[;code2]]
List of warning codes to treats as errors. Use a semicolon or a comma to separate multiple warning codes. To treat all warnings as errors use the switch with no values.
(Short form: -err[:c;[c2]])
Example:
-warnAsError:MSB4130
When a warning is treated as an error the target will continue to execute as if it was a warning but the overall build will fail.
-warnAsMessage[:code[;code2]]
List of warning codes to treats as low importance messages. Use a semicolon or a comma to separate multiple warning codes.
(Short form: -noWarn[:c;[c2]])
Example:
-warnAsMessage:MSB3026
-validate Validate the project against the default schema. (Short form: -val)
-validate:<schema> Validate the project against the specified schema. (Short form: -val)
Example:
-validate:MyExtendedBuildSchema.xsd
-ignoreProjectExtensions:<extensions>
List of extensions to ignore when determining which project file to build. Use a semicolon or a comma to separate multiple extensions.
(Short form: -ignore)
Example:
-ignoreProjectExtensions:.sln
-nodeReuse:<parameters>
Enables or Disables the reuse of MSBuild nodes.
The parameters are:
True --Nodes will remain after the build completes and will be reused by subsequent builds (default)
False--Nodes will not remain after the build completes
(Short form: -nr)
Example:
-nr:true
-preprocess[:file]
Creates a single, aggregated project file by inlining all the files that would be imported during a build, with their boundaries marked. This can be
useful for figuring out what files are being imported and from where, and what they will contribute to the build. By default the output is written to the console window. If the path to an output file is provided that will be used instead.
(Short form: -pp)
Example:
-pput.txt
-targets[:file]
Prints a list of available targets without executing the actual build process. By default the output is written to the console window. If the path to an output file is provided that will be used instead.
(Short form: -ts)
Example:
-tsut.txt
-detailedSummary[:True|False]
Shows detailed information at the end of the build about the configurations built and how they were scheduled to nodes.
(Short form: -ds)
-restore[:True|False]
Runs a target named Restore prior to building other targets and ensures the build for these targets uses the latest restored build logic.
This is useful when your project tree requires packages to be restored before it can be built.
Specifying -restore is the same as specifying
-restore:True. Use the parameter to override a value that comes from a response file.
(Short form: -r)
-restoreProperty:<n>=<v>
Set or override these project-level properties only during restore and do not use properties specified with the -property argument. <n> is the property name, and <v> is the property value. Use a semicolon or a comma to separate multiple properties, or specify each property separately.
(Short form: -rp)
Example:
-restoreProperty:IsRestore=true;MyProperty=value
-profileEvaluation:<file>
Profiles MSBuild evaluation and writes the result to the specified file. If the extension of the specified file is '.md', the result is generated in markdown format. Otherwise, a tab separated file is produced.
-interactive[:True|False]
Indicates that actions in the build are allowed to interact with the user. Do not use this argument in an automated scenario where interactivity is not expected.
Specifying -interactive is the same as specifying
-interactive:true. Use the parameter to override a value that comes from a response file.
-isolateProjects[:True|False]
Causes MSBuild to build each project in isolation. This is a more restrictive mode of MSBuild as it requires that the project graph be statically discoverable at evaluation time, but can improve scheduling and reduce memory overhead when building a large set of projects.
(Short form: -isolate)
This flag is experimental and may not work as intended.
-inputResultsCaches:<cacheFile>...
Semicolon separated list of input cache files that MSBuild will read build results from. Setting this also turns on isolated builds (-isolate).
(short form: -irc)
-outputResultsCache:[cacheFile]
Output cache file where MSBuild will write the contents of its build result caches at the end of the build. Setting this also turns on isolated builds (-isolate).
(short form: -orc)
-graphBuild[:True|False]
Causes MSBuild to construct and build a project graph.
Constructing a graph involves identifying project references to form dependencies. Building that graph involves attempting to build project references prior to the projects that reference them, differing from traditional MSBuild scheduling.
(Short form: -graph)
This flag is experimental and may not work as intended.
-lowPriority[:True|False]
Causes MSBuild to run at low process priority. Specifying -lowPriority is the same as specifying -lowPriority:True.
(Short form: -low)
@<file> Insert command-line settings from a text file. To specify multiple response files, specify each response file separately.
Any response files named "msbuild.rsp" are automatically consumed from the following locations:
(1) the directory of msbuild.exe
(2) the directory of the first project or solution built
-noAutoResponse Do not auto-include any MSBuild.rsp files.
(Short form:-noAutoRsp)
-noLogo Do not display the startup banner and copyright message.
-version Display version information only. (Short form: -ver)
-help Display this usage message. (Short form: -? or -h)
Examples:
MSBuild MyApp.sln -t:Rebuild -p:Configuration=Release
MSBuild MyApp.csproj -t:Clean
-p:Configuration=Debug;TargetFrameworkVersion=v3.5
For more detailed information, see https://aka.ms/msbuild/docs
C:\Users\0110\Desktop\MSBuild\Current\Bin>
Update 21-02-2022
----------------------------
Hi!
Great Job!
I done it for Windows 11 with a few changes, and windows 11 have install.esd not install.wim!
This was not my idea! It belongs to @jenneh, i only had done trough batch files.
You need to create this 5 batch files bellow:
* Need Notepad++ to be easy to read files.
* Use MediaCreationToolW11.exe and download ISO image or create a Pendrive with system.
* Extract from ISO or Pendrive all in to a work folder on descktop
* Create and copy the first 4 batch files in to inside the work folder.
* All 5 batch will request administrator permissions.
* At end delete/cut what ever the batch files from the work folder
*The 5 batch files is executed in to desktop and read what batch window says!
* Done!
This are the 5 batch files:
First one it show the images inside and the option the select and work on one.
Spoiler: 1-Preparing_and_extracting_img.bat
Code:
@echo off & @echo.
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
@echo. & @echo [43m[31mRequesting administrative privileges...[0m
goto UACPrompt
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params= %*
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
rem :To CD to the location of the batch script file (%0)
CD /d "%~dp0"
mkdir %~dp0ISO
powershell.exe Dism /Get-WimInfo /WimFile:"%~dp0sources\install.esd"
@echo. & set /p index=" Type Image Index number to extract image: "
powershell.exe Dism /export-image /SourceImageFile:"%~dp0sources\install.esd" /SourceIndex:%index% /DestinationImageFile:"%~dp0ISO\install.esd" /Compress:max /CheckIntegrity
pause
Spoiler: 2-Mount_Windows_image.bat
Code:
@echo off & @echo.
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
@echo. & @echo [43m[31mRequesting administrative privileges...[0m
goto UACPrompt
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params= %*
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
rem :To CD to the location of the batch script file (%0)
CD /d "%~dp0"
del /F /S /Q "%~dp0sources\install.esd"
move /y "%~dp0ISO\install.esd" "%~dp0sources\install.esd"
mkdir "%~dp0PATH"
dism.exe /mount-wim /wimfile:"%~dp0sources\install.esd" /mountdir:"%~dp0PATH" /index:1
pause
This one create a file where you can check the Optional Features windows state then use batch to enable or disable, batch it will refresh the file with new state, just reload the file. But some of them aren't possible to change state, it gives error.
Spoiler: 3-Enable_Disable_options.bat
Code:
@echo off & @echo.
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
@echo. & @echo [43m[31mRequesting administrative privileges...[0m
goto UACPrompt
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params= %*
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
rem :To CD to the location of the batch script file (%0)
CD /d "%~dp0"
:start
cls
@echo. & @echo Open WindowsOptionalFeature.txt to check Optional Feature state & @echo.
Timeout /t 3 >nul
powershell.exe Get-WindowsOptionalFeature -Path "%~dp0PATH" > WindowsOptionalFeature.txt
set /p Feature=" Optional Feature name:-"
set /p state=" Enable or disable ? -"
powershell.exe %state%-WindowsOptionalFeature -Path "%~dp0PATH" -FeatureName "%Feature%"
@echo. & @echo Press any key to continue. & pause >nul
goto start
This one Will Install apps from Windows app Store in Windows Offline image.
Spoiler: 3.1-Add_Apps_to_Offline_Windows_Image.bat
Code:
@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
@echo. & @echo [43m[31mRequesting administrative privileges...[0m
goto UACPrompt
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params= %*
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
rem :To CD to the location of the batch script file (%0)
CD /d "%~dp0"
@echo. & @echo [43m[31mAdd apps to offline Windows image. [4m[1mImage must be mounted![0m
@echo. & @echo [41mOpenning Windows App Store...[0m & @echo Press any key to coninue... & pause >nul
start "windows_app_store" https://www.microsoft.com/pt-pt/store/apps/windows
@echo. & @echo [1mFind your app and copy link.[0m
@echo. & @echo [41mOppening https://store.rg-adguard.net/ to [1m[4mget app link to download without install it.[0m & @echo Press any key to coninue... & pause >nul
start "store_rg-adguard.net/" https://store.rg-adguard.net/
@echo. & @echo [1m[31 PPaste the link you copy from App Store in store.rg-adguard.net link bar, select Retail and search links.[0m
@echo. & @echo [1mDownload to desktop [1m[4m[31mthe right [103mappx or appxbundle[0m [31mversion that match your windows version[0m, example for Windows 64 bits download x64 [31m[103mappx or appxbundle[0m version.
@echo [33m Note: * If download doesn t show the extencion just paste the name, to check extencion do right click and check app propertys.
@echo * Some apps have more than 1 package, The app package and its dependencies like Frameworks or VClibs as example.[0m
rem Lets start to add...
@echo.
@echo [44mAdding the Apps...[0m
:repeat
@echo. [33m
set /p app=" Type/Paste the downloaded app name and extension here and press ENTER: "
@echo.
Dism /Image:%~dp0PATH /Add-ProvisionedAppxPackage /PackagePath:%userprofile%\Desktop\%app% /SkipLicense /Region:"all"
@echo. [0m & @echo Press any key to add more apps!
pause >nul
goto repeat
This one dismount and do the clean
Spoiler: 4-Dismount_Windows_Image.bat
Code:
@echo off & @echo.
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
@echo. & @echo [43m[31mRequesting administrative privileges...[0m
goto UACPrompt
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params= %*
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
rem :To CD to the location of the batch script file (%0)
CD /d "%~dp0"
powershell Dismount-WindowsImage -Path "%~dp0PATH" -Save
RD /S /Q p0ISO >NUL
RD /S /Q p0PATH >NUL
del /F /S /Q WindowsOptionalFeature.txt >NUL
pause
This one and the last one create a ISO image from Your Windows modded image but first you need to Install Windows_Kits10ADK.
Download this tool, extract and execute: adksetup.zip
After you execute it, in selection window of tools, only select Deployment Tools like image bellow and install:
Spoiler: Selection Window from Windows Assessement and Deployment Kit
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After installation is easy, After cleanning your Windows Work folder execute this bat bellow in YOUR DESKTOP, reade what is writted in there to execute it right!!!
Spoiler: 5-Build_ISO.bat
Code:
@echo off & @echo.
CD /d "%~dp0"
@echo Copy this line bellow, paste in command and replace YOURWORKFOLDERNAME with the name of Your Windows work folder name, where you had done the all Job!
@echo YOURWORKFOLDERNAME must NOT have spaces between or will FAIL, Example: Wind 11 is wrong!!! Wind11 or Wind_11 is OK!!!& @echo.
@echo oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,b%~dp0YOURWORKFOLDERNAME\boot\etfsboot.com#pEF,e,b%~dp0YOURWORKFOLDERNAME\efi\microsoft\boot\efisys.bin %~dp0YOURWORKFOLDERNAME %userprofile%\Desktop\WinImage.iso
@echo.
%systemroot%\system32\cmd.exe /k "%systemdrive%\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat"
Is Done!!! Your Image is ready!
THE END!
Tell me if worked for you to!
persona78 said:
Hi!
Great Job!
I done it for Windows 11 with a few changes, and windows 11 have install.esd not install.wim!
I use batch to do all job like this:
* Need Notepad++ to be easy to read files.
* Use MediaCreationToolW11.exe and download ISO image or create a Pendrive with system.
* Extract from ISO or Pendrive all in to a work folder on descktop
* Copy the batch files in to inside the work folder.
* All batch need to be executed as administrator.
* At end delete/cut what ever the batch files from the work folder
* Done!
I create 4 batch files:
First one it show the images inside and the option the select and work on one.
Spoiler: 1-Preparing_and_extracting_img.bat
Code:
@echo off & @echo.
CD /d "%~dp0"
mkdir %~dp0ISO
powershell.exe Dism /Get-WimInfo /WimFile:"%~dp0sources\install.esd"
@echo. & set /p index=" Type Image Index number to extract image: "
powershell.exe Dism /export-image /SourceImageFile:"%~dp0sources\install.esd" /SourceIndex:%index% /DestinationImageFile:"%~dp0ISO\install.esd" /Compress:max /CheckIntegrity
pause
Spoiler: 2-Mount_Windows_image.bat
Code:
@echo off & @echo.
CD /d "%~dp0"
del /F /S /Q "%~dp0sources\install.esd"
move /y "%~dp0ISO\install.esd" "%~dp0sources\install.esd"
mkdir "%~dp0PATH"
dism.exe /mount-wim /wimfile:"%~dp0sources\install.esd" /mountdir:"%~dp0PATH" /index:1
pause
This one create a file where you can check the Optional Features windows state then use batch to enable or disable, batch it will refresh the file with new state, just reload the file. But some of them aren't possible to change state, it gives error.
Spoiler: 3-Enable_Disable_options.bat
Code:
@echo off & @echo.
CD /d "%~dp0"
:start
cls
@echo. & @echo Open WindowsOptionalFeature.txt to check Optional Feature state & @echo.
Timeout /t 3 >nul
powershell.exe Get-WindowsOptionalFeature -Path "%~dp0PATH" > WindowsOptionalFeature.txt
set /p Feature=" Optional Feature name:-"
set /p state=" Enable or disable ? -"
powershell.exe %state%-WindowsOptionalFeature -Path "%~dp0PATH" -FeatureName "%Feature%"
@echo. & @echo Press any key to continue. & pause >nul
goto start
The last one dismount and do the clean
Spoiler: 4-Dismount_Windows_Image.bat
Code:
@echo off & @echo.
CD /d "%~dp0"
powershell Dismount-WindowsImage -Path "%~dp0PATH" -Save
RD /S /Q %~dp0ISO >NUL
RD /S /Q %~dp0PATH >NUL
del /F /S /Q %~dpWindowsOptionalFeature.txt >NUL
pause
Tell me if worked for you to!
Click to expand...
Click to collapse
I really really Thank You for Sharing your work with Us. You have no idea how happy this makes me. Outstanding~! Great Work, Persona!
@jenneh i update my post: https://forum.xda-developers.com/t/...-to-modify-windows-isos.4398285/post-86458077
I had how to do ISO image!
persona78 said:
@jenneh i update my post: https://forum.xda-developers.com/t/...-to-modify-windows-isos.4398285/post-86458077
I had how to do ISO image!
Click to expand...
Click to collapse
You are seriously a Rockstar~! I appreciate so Much Your Time~! This has saved me countless hours in research :>
Hi!
@jenneh im woking in a way to add the apps from windows app store to the offline windows imge that we are working on.
It use DISM tool to and it will request administrator rights at starts, dont need to execute as administrator.
I already have a batch, only need to test it!
Hi!
@jenneh i update the my post! I made possible to add app in to Offline Windows image!
i update all batch. They will auto request administrator permission to start!
Check 3.1.
persona78 said:
Hi!
@jenneh i update the my post! I made possible to add app in to Offline Windows image!
i update all batch. They will auto request administrator permission to start!
Check 3.1.
Click to expand...
Click to collapse
I absolutely love these updates! I can't believe how much work you've completed today! I also love the fact that with technology, there is literally No End~! It is the infinite! Haha.
Hi!
@jenneh can you make me a favor?
I dont use VM, im a bit short of storage....
I create this ISO image and want to know how it works. I had apps ( notpad++, 7zip, a theme and a pdf reader, i eneble to HyperV and some other things that i can´t remeber...!
I had done a mod that i read here on XDA and want to know if works to. It supose to install directly on unsuported PC with out any script or regestry change.
System is Windows 11 PRO.
Can you test it???
ESD-ISO_W11_PRO_MOD.iso
Thanks
@persona78 sure thing~! I'm downloading it now. I am at a good point for a break. About to chain all my tools together now that I finally understand what they are all doing x.e
@persona78
Spoiler: ERROR
well idk what this error is but no troubleshooting settings works
actually I just remembered, nox turned off my hypervisor functionality, one sec lemme try turning that back on
jenneh said:
@persona78
Spoiler: ERROR
View attachment 5545611
well idk what this error is but no troubleshooting settings works
Click to expand...
Click to collapse
It can´t read productkey setting...! hmmmm...
i don´t know what can be. Probably that last mod to avoid tmp maybe...
it stoped there???
persona78 said:
It can´t read productkey setting...! hmmmm...
i don´t know what can be. Probably that last mod to avoid tmp maybe...
Click to expand...
Click to collapse
ahhh okay! yeah I had the same error with hypervisor on but I'll try again if you like when it's finished~!
@jenneh it stops there??? Or keep installing?
persona78 said:
@jenneh it stops there??? Or keep installing?
Click to expand...
Click to collapse
oh wait i lied one sec
When i get home i will rebuild again but with out the last mod.
Thanks

Categories

Resources