PACEficator Project|Hybrid ROM 2.0.84.0 v2.8 Installer|Stratos & Pace (2021/01/29)
THIS IS NOT FOR AMAZFIT VERGE OR STRATOS 3
THIS IS NOT FOR AMAZFIT VERGE OR STRATOS 3
THIS IS NOT FOR AMAZFIT VERGE OR STRATOS 3
{
"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"
}
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.
The project is aimed to support multilanguage translations for Amazfit Stratos and Pace, installing Stratos Everest ROM on both Stratos and Pace watches.
This will merge Pace WOS ROM and Stratos Everest ROM in one project, known as Hybrid ROM.
This Custom ROM is based on latest Stratos 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.
For a correct Vo2max measurement, you have to correctly set all your personal data in Amazfit App Profile menu, Heart Rate zones included
Stratos users
This is an evolution of Everest ROM so you will not note any difference
Always choose Stratos A1609/A1619 in "Your watch is a" setup
Choose between Old or New key mapping
Pace users
This will install Stratos Everest ROM with all needed files for Pace
Always choose Pace A1602/A1612 in "Your watch is a" setup
After a Factory Reset, pair the watch in Amazfit app as Stratos
Vo2max support
Choose between Power, laps or lock button remap
What is not working on Pace
If you are NOT going to use Vo2max feature, this is a list of what is NOT WORKING: (AFAIK)
· Double tap to wake (DT2W)
· Face palm cover lock
If you are going to use Vo2max feature, this is a list of what is NOT WORKING: (AFAIK)
· Double tap to wake (DT2W)
· Face palm cover lock
· Built-in Heart-Rate Monitor. This is why you need a Bluetooth Heart-Rate Monitor
· Compass app
· Barometer
· Altitude measurement is bugged during activity or may be stuck always in initial value
· After an activity is finished, you will not get any Elevation value
· Maybe some other data
· Mic
· You tell me more
Tips for Pace users
Don't use your Pace for swimming
After ROM installation check bootloader status to ensure everything went fine and you are still unlocked
Based on latest Stratos Stable 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)
Serbian (SR)
Korean (KR) (New)
Sport voice alerts:
Spanish
Basque
English
Polish
Italian
French
Portuguese-BR
Vo2max support for Pace* (Check Requirements)
Manual laps support for Pace* (Check Requirements)
Deleted Chinese apps
Alipay.apk
XimalayaSound.apk
Stratos 3 apps
Neon icon theme in Settings
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 OneUI 2.1 emojis with Unicode 12 support
AmazMod or WatchDroid (notifications manager)
PaceCalendar, GreatFit and T9 keyboard (AmazMod)
Font selection and preview (?) for stock notifications
Stock
Arabic
Hebrew
Samsung OneUI 2.1
MIUI12
Applemint
Thai and Korean fonts
Option to choose between old Pace or new Stratos GPS Firmware
Option to choose animations speed
New bootanimations
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
Stratos
A1609(S) CN/Chinese version
A1619(S) US/Global/International version
Pace
A1602 CN/Chinese version
A1612 US/Global/International version
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 firmware
Minimum firmware versión 2.x.x.x, latest version recommended
40% battery
300 MB free on your watch
Doing a Factory Reset is recommended on installation and mandatory for Pace
* If you are going to use Vo2max feature in Pace, you MUST use a Bluetooth Heart Rate monitor
@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, SuperFit 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 & GreatFit
@Anb2rw from 4PDA for original T9 keyboard and @ahsim for his mod.
Installer audio by NoCopyrightSounds
Man and capara @1mmortal for Stratos 3 system/firmware dump
If I forget someone, please let me know.
Windows automatic installer
Sync all your data with Amazfit 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). Choose Yes in Factory Reset setup if you are a Pace user, recommended for Stratos users too
8.a Stratos users: Always choose Stratos A1609/A1619 in "Your watch is a" setup. This will enable a new setup menu, Key mapping:8.a.1 Key mapping: Choose buttons behaviour between Old or New key remap
8.b Pace users: Always choose Pace A1602/A1612 in "Your watch is a" setup. This will enable new setup menus, Vo2max Pace and Button remap, where:8.b.1 Vo2max Pace: Choose if you want to use Vo2max feature
8.b.2 Button remap: Choose button behaviour between Power, laps and lock remap
Check screenshots for more info
Click ROM installation
Wait and enjoy
[*]Configure your watch and Amazfit app and install Stratos 3 apps if you want from Main Menu>Stratos 3 apps
Some screenshot
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.
Installation output examples
Look attached files
Alternative Windows installers, Linux scripts and Manual Installation method
Check Post #2
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. Pace users can also enable or disable Vo2max feature from here, as other configuration.
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
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 (MiRemote) (not deleted by default)
WearSmartHome.apk (MiHome) (not deleted by default)
XimalayaSound.apk (deleted by default)
Added scripts to install Stratos 3 apps and Health app
Stratos 3 apps
Some info
I added a new menu in the installer, Main Menu>Stratos 3 Apps. In this new page you will be able to choose between usually installed Stratos 3 apps zip and Health app, which needs some specific steps before installation.
Health app
If you want to install Stratos 3 apps and Health app, you have to follow these steps before installation:
Install the ROM as usual. AmazMod installation is needed for full support
When installation is done, pair the watch if needed and configure your watch as usual
Configure everything in phone as usual, Amazfit and AmazMod app
If you are going to use Continuous HR measurement feature in your watch, be sure to enable it and check HR data syncs correctly in Amazfit app. Note that Stratos 3 Health app doesn't have a toggle to enable/disable this feature, so this feature has to be enabled before. IMPORTANT: When you run one of these scripts don't touch the screen of the watch because the scripts will so some stuff like unlock the watch, launch a screen and send a tap action in HR button of the
Install Stratos 3 apps and Health app.
You can install Stratos 3 apps only if you want, without Health app.
You can install Health app without continuous HR measurement enabled and still take manual HR measurements.
If HR data doesn't sync in Amazfit app you can try to force close Amazfit app and cleaning app's cache and data.
If you install Health app and you want to go into stock firmware or just reinstall the ROM again but without the app, after the installation, you will have to do a factory reset or use the new shell script health_fix to avoid Stratos Health app from crashing.
Bugs
As for now, the known bugs are:
Weather data not fully working for stock watchfaces but you can use AmazMod and its weather provider to have partial data
If you install Health app without enabled continuous HR measurement, you can still take manual measurements but you can't check for previous data (3 dot icon) as watch Launcher will crash.
Manual HR measurement doesn't seem to sync in the app
AGPS and Location Services settings in Settings>General menu
Ultra mode
First boot after ROM installation and factory reset will take around 5-10 min
Some tips
If you install any 3th party apps like AmazMod, you MUST enable launcher Applist in order to use them, and open them at least once.
New shell scripts
You can use AmazMod or a PC:
AmazMod
In phone's app, go to Settings>Tweaks, and in the command line type the name of the script you want to run, and press RUN.
PC
Open a command window or terminal and use these commands:
Code:
adb shell script_name
Added scripts in this version (/system/xbin):
health_fix Fix Stratos/Pace Health app crash if you installed stock firmware or another ROM and you previously had installed Stratos 3 Health app
Manual command:
Code:
adb -d kill-server
adb -d start-server
adb -d root
adb -d shell su -c rm -r /data/user/0/com.huami.watch.health/
adb -d reboot
adb -d kill-server
hr0 Disables continuous HR measurement (Beta)
hr1 Enables continuous HR measurement (Beta)
disable_ota Disable OTA notifications (If you apply this on iOS, and you do a factory reset, you MUST enable notifications in order to pair again the watch
enable_ota Enable OTA notifications
cache Wipe Dalvik-Cache
stratos_new For New key mapping in Stratos
stratos_old For Old key mapping in Stratos
pace_power For Pace, the button will work as Stratos' upper button, you can switch between all widgets (swipe left) or scroll up in menus, and launch Power menu with a long press. Unlocks the screen when screen is locked. During activity will pause/resume the activity when screen is unlocked
pace_laps For Pace, the button will work as Stratos' lower button, you can switch between all widgets (swipe right) or scroll down in menus, and will show notification tab with a long press. Unlocks the screen when screen is locked. During the activity will take manual laps when screen is unlocked
pace_lock For Pace, the button will lock the screen immediately. Unlocks the screen when screen is locked but note that it may fail sometimes, so be advised, after locking the screen with the button you may wait for 5 seconds in order to unlock it. During the activity will lock the screen immediately
pace_vo2max0 For Pace, to disable Vo2max
pace_vo2max1 For Pace, to enable Vo2max
hybrid_to_pace For Pace, if you want to install WOS ROM. If you install stock firmware just do a Factory Reset after installation
qr Launch paring QR code
reset Do a Factory Reset
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.
GreatFit official thread.
SuperFit 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.
Latest version
Instalador v2.8 Hybrid 2.0.84.0 | Mirror | More info
Previous versions
Instalador v2.7.1 Hybrid 2.0.83.0 | Mirror | More info
Instalador v2.7 Hybrid 2.0.83.0 | Mirror | More info | Bug Fixes: Watchface date mod fix
Instalador v2.6.1 Hybrid 2.0.82.0 | Mirror | More info | Bug fixes: Stratos3 HR Launcher fix for Hybrid v2.6
Instalador v2.5 Hybrid 2.0.81.0 | Mirror | More info | Bug fixes: Stratos3 Alarm fix for Hybrid v2.5
Instalador v2.4.1 Hybrid 2.0.80.0 | Mirror | More info | Bug fixes: NL Launcher fix for Hybrid v2.4.1
Instalador v2.4 Hybrid 2.0.80.0 | Mirror | More info
Instalador v2.3 Hybrid 2.0.74.1 | Mirror | More info
Instalador v2.2.1 Hybrid 2.0.70.1 | Mirror | Fixed Alternative ROM_US.bat installer
Changelog v2.7.1 -> v2.8 (2021/01/29)
Based on Stratos Stable 2.0.84.0 Chinese firmware
Bug fixes
Updated translations
New Korean (KR) language
AmazTimer 8.1
AmazMod service 1914
WatchDroid 15.40
New WearOS bootanimation (MiWatch)
Updated New GPS firmware version to 19439
Stratos 3 apps updated to CN 4.0.22.0 version
Improved Launcher applist
Fixed the crash when entering to manual HR measurement data screen in Health app
Added HR toggle between continuous and manual modes through AmazMod scripts (hr1, hr0)
Automatic bootloader unlock method (Windows)
Unlock code generator by @mauronofrio
New PACEficator Project Telegram Channel
Join us to be up to date https://telegram.me/joinchat/AAAAAFMzCpOaRgEowNH1bg
If you like my work you can buy me a beer here
Manual installation method
Manual installation method
Introduction
This is a guide for Windows alternative installers, Linux scripts manual installation method 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.
All files needed for installation are inside 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 installers
ROM installer
To use an alternative Windows installer, run ROM_US.bat for English interface.
Stratos 3 apps and Health installer (New)
Before installing Health app, check OP and Health app section.
Run STRATOS3_US.bat for English interface.
Linux installation scripts
Open a command or terminal window on the root of unzipped folder.
Run one of these .sh scripts depending on your watch and needs:
Stratos ROM installers:
stratos_us_new.sh for English interface and new key mapping
stratos_us_old.sh for English interface and old key mapping
Code:
sh stratos_us_xxx.sh
Pace ROM installer:
pace_us.sh for English interface.
Code:
sh pace_us.sh
Pace with Vo2max support ROM installer:
pace_vo2max_us.sh for English interface and Vo2max support
Code:
sh pace_vo2max_us.sh
Stratos3 apps installer:
Pace (New)
stratos3_apps_pace_us.sh for English interface and install Stratos 3 apps.
Code:
sh stratos3_apps_pace_us.sh
Stratos (New)
stratos3_apps_stratos_us.sh for English interface and install Stratos 3 apps.
Code:
sh stratos3_apps_stratos_us.sh
Stratos3 apps and Health installer: (New)
Pace (New)
stratos3_health_pace_us.sh for English interface and install Stratos 3 apps and Health app.
Code:
sh stratos3_health_pace_us.sh
Stratos (New)
stratos3_health_stratos_us.sh for English interface and install Stratos 3 apps and Health app.
Code:
sh stratos3_health_stratos_us.sh
If you need to Factory Reset your watch, run this .sh script. Recommended for Stratos users, MANDATORY for Pace users.
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 manual commands
Windows users may want to use adb.exe instead of adb and fastboot.exe instead of fastboot for a better compatibility.
Note that depending on your OS, the syntax may be different, for example: "" as "/" and others.
All users. Temporal adb root for Stock firmware
0. If you are on Stock firmware, you need to install CN or US temporal root depending on your firmware version in order to install the ROM. If you installed my adb root, init.d and SuperSU mod, you can skip this step.
Code:
# Reboot in fastboot mode
adb shell reboot bootloader
# Flash CN temp root
fastboot boot root\boot-CN-adb-root.img
# Or flash US temp root
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. 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.
All users. 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/
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.
Stratos users only
Do this only for Stratos, if you do this on your Pace, you will re-lock the bootloader.
2.1 Flash bootloader for Stratos
Code:
adb push stratos\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
All users
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
Pace users only
4. Configure some stuff por Pace
Code:
# Mount the system
adb root
adb remount rw
# Push a file to know that this is a Pace Hybrid ROM
adb push pace\.pace_hybrid /system/
# Push some files and scripts to enable or disable Vo2max feature from phone or PC
adb shell mkdir /system/hybrid
adb push pace\sensorhub.bin /system/hybrid/sensorhub_pace.bin
adb push stratos\sensorhub.bin /system/hybrid/sensorhub_stratos.bin
adb push pace\gpio-keys.kl /system/hybrid/gpio-keys_pace.kl
adb push stratos\gpio-keys.kl /system/hybrid/gpio-keys_stratos.kl
adb push hybrid\. /system/xbin/
adb shell chmod -R 0755 /system/xbin/.
adb shell chmod -R 0644 /system/hybrid/.
adb shell chmod 0755 /system/hybrid
5. Copy and Flash boot.img, recovery.img and bootloader for Pace
Code:
# Copy the files
adb push pace\boot.img /sdcard/
adb push pace\recovery.img /sdcard/
adb push pace\u-boot-with-spl-mbr-gpt.bin /sdcard/
# Flash the files
# boot.img
adb shell busybox dd if=/sdcard/boot.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/boot bs=4096
# recovery.img
adb shell busybox dd if=/sdcard/recovery.img of=/dev/block/platform/jzmmc_v1.2.0/by-name/recovery bs=4096
# bootloader
adb shell busybox dd if=/sdcard/u-boot-with-spl-mbr-gpt.bin of=/dev/block/mmcblk0
6. Copy some other files and libraries for Pace (New)
Code:
# If you want to ENABLE Vo2max feature, don't use the commands marked in red.
# To DISABLE Vo2max feature, just use all the commands.
adb push pace\sensorhub.bin /system/etc/firmware (Use this to ENABLE Vo2max)
adb push pace\gpio-keys.kl /system/usr/keylayout
adb push pace\libslpt-linux.so /system/lib
adb push pace\slpt.pipe.so /system/lib
adb push pace\libcoded2-jni.so /system/lib
adb push pace\libopus-jni.so /system/lib
adb push pace\libopus-share.so /system/lib
adb push pace\libvadstdaln.so /system/lib
adb push pace\bluetooth.default.so /system/lib/hw
adb push pace\sensors.sensorHub.so /system/lib/hw
adb push pace\WearSettings.odex /system/priv-app/WearSettings/mips
adb shell chmod 0644 /system/etc/firmware/sensorhub.bin (Use this to ENABLE Vo2max)
adb shell chmod 0644 /system/usr/keylayout/gpio-keys.kl
adb shell chmod 0644 /system/lib/libslpt-linux.so (New)
adb shell chmod 0644 /system/lib/slpt.pipe.so (New)
adb shell chmod 0644 /system/lib/libcoded2-jni.so
adb shell chmod 0644 /system/lib/libopus-jni.so
adb shell chmod 0644 /system/lib/libopus-share.so
adb shell chmod 0644 /system/lib/libvadstdaln.so
adb shell chmod 0644 /system/lib/hw/bluetooth.default.so
adb shell chmod 0644 /system/lib/hw/sensors.sensorHub.so
adb shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
7. Delete copied files for Pace from watch
Code:
adb shell rm /sdcard/boot.img
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/u-boot-with-spl-mbr-gpt.bin
All users. 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.
tra_SR = Folder with Serbian files. (New)
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=XY:' /system/build.prop
adb shell setprop persist.sys.country XY
adb shell setprop persist.sys.language en
11. Push apps to your watch from your language folder
Code:
adb push tra_XY\HuamiWatchFaces.apk system/app/HuamiWatchFaces
adb push tra_XY\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
All users
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. Install SuperSU installer script
If you want to enable and disable Vo2max feature for Pace from Phone, you have to install this (and AmazMod).
SuperSU needs to be installed on a very early system boot stage.
Code:
# Reboot your watch
adb reboot
# When you see that the bootanimation starts, mount the system quickly and run the installer
adb root
adb remount rw
adb shell cd /sdcard/supersu/; sh root_amazfit.sh
or this if above doesn't work, use separated commands
Code:
adb reboot
# When you see that the bootanimation starts, mount the system quickly and run the installer
adb root
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
This is only needed if you previously installed Old 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 Old 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
For me, there is no significant difference between the old and the new one.
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
Output (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
Reboot your watch 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
samsung = Samsung OneUI 2.1 font (New)
miui = MIUI12 font (New)
applemint = Applemint 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 AB
adb shell settings put global transition_animation_scale AB
adb shell settings put global animator_duration_scale AB
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 notifications 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 phone'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
Code:
adb install -r amazmod\service-release.apk
Install PaceCalendar
Code:
adb install -r amazmod\PaceCalendarWidget.apk
After that reboot your watch
Code:
adb reboot
Watchface date format Mod
75. Modded watchface date format
If you want to set watchface date format to a 31/12/2019.
Code:
adb root
adb remount
adb push date\mod\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb 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 push date\stock\HuamiWatchFaces.odex system/app/HuamiWatchFaces/mips
adb shell chmod 644 system/app/HuamiWatchFaces/mips/HuamiWatchFaces.odex
adb shell rm /data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex
adb reboot
All users
Install Stratos 3 Settings app with DT2W support (New)
Depending on your device, install appropriate Settings app:
Code:
adb root
adb remount rw
adb shell rm /system/priv-app/WearSettings/mips/WearSettings.odex
adb shell rm /system/priv-app/WearSettings/WearSettings.apk
adb push stratos3\varios\dev\WearSettings.apk system/priv-app/WearSettings
Where dev is your device:
Stratos for Stratos users
Pace for Pace users
Install Stratos 3 apps and Health app
Check OP before installing Health app. You can install Stratos 3 apps and Health app or just Stratos 3 apps without Health app.
76. To install Health app, first delete old files and copy the new ones.
Code:
adb -d root
adb -d remount rw
adb -d shell rm -r /system/app/WearHealth/
adb -d push stratos3\varios\WearHealth\. /system/app/WearHealth
adb -d reboot
77. Install Stratos 3 apps.
Code:
adb -d push stratos3\update.zip /sdcard
adb -d reboot update
adb -d shell rm /sdcard/update.zip
Bootanimation (New)
78. Bootanimation
You can choose between 4 bootanimations:
stock
everest
starwars
wearos
nexus (New)
Replace boot_name with one of above names:
Code:
adb push boots\boot_name\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 in locked bootloader and which also works for Stock ROM is
Code:
adb reboot wipe
When it finishes, the watch will power off.
You are done with ROM installation, enjoy!
All users
How to go back to Stock Firmware
Just install the firmware as always. You have links in Post #4.
Pace users
How to install WOS ROM
Before you install the ROM, you have to convert your watch model back to Pace again.
Use these commands
Code:
adb root
adb remount rw
adb shell busybox "sed -i 's:ro.build.huami.model=.*:ro.build.huami.model=A1602:' /system/build.prop
adb remount ro
adb reboot
When the watch is fully booted, just install the ROM as always, and do a Factory Reset.
How to Enable or Disable Vo2max
Check Installation section in OP.
How to Enable or Disable Manual Laps
Check Installation section in OP.
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
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 Stratos Stock US/Global/International Firmware
Install Pace Stock US/Global/International Firmware
Amazfit App collection (Android)
AmazMod
GreatFit
PaceCalendar
Mio4
Mio4
Mio5
Mio5
I can not wait!!! This will be a bomb!
HOLY CRAP!
Thanks for keeping it alive [emoji846][emoji846][emoji847]
Στάλθηκε από το Redmi Note 7 μου χρησιμοποιώντας Tapatalk
Just! Amazing! Work!
?
I think I'm done with all posts writing :silly::silly::silly:
So maybe tomorrow or Sunday I will post download links.
please Master give to us links)
deleted
Thanks a lot
Can you add customization to pace button,
1 press unlock, 2 loading an app ...
and most useful:
silent the watch during ringing with watch button
Sadegh said:
Thanks a lot
Can you add customization to pace button,
1 press unlock, 2 loading an app ...
and most useful:
silent the watch during ringing with watch button
Click to expand...
Click to collapse
I don't think this can be done at all without breaking button behaviour during an activity.
Please for Verge too!
Hybrid ROM 2.0.70.1 v2.2.1 Installer (2019/08/23)
Hybrid ROM 2.0.70.1 v2.2.1 Installer (2019/08/23)
Download link online.
Windows installers will not flash any bootloader at this moment, just in case of facing any issues with Installer/Windows. This will avoid issues for flashing a Pace as a Stratos o vice versa.
Linux scripts and Manual installation method will install it,but it's not a big deal as it will use the one on your watch already.
Read whole OP before flashing.
Hello Saratoga. Good job, thaks for your work. But i have issue on this download link my internet dont download file. Can you send me zip file you project to Email.
BoJIWeB said:
Hello Saratoga. Good job, thaks for your work. But i have issue on this download link my internet dont download file. Can you send me zip file you project to Email.
Click to expand...
Click to collapse
Mirror added to OP. It will be available to download in few minutes. File can't be sent by email, it's too big.
EDIT: I found a bug in the installer. I will upload it fixed soon
Saratoga79 said:
Mirror added to OP. It will be available to download in few minutes. File can't be sent by email, it's too big.
Click to expand...
Click to collapse
@Saratoga79 How can I get out of deep flash state? I was trying to do Cloner procedure and Stratos got stuck in this mode. Kept pressed power button for a long time but nothing happens!
Enviado de meu SM-G950F usando o Tapatalk
I found I can use these ADB commands to turn on and of the WiFi of a rooted phone:
Code:
adb shell su -c 'svc wifi enable'
adb shell su -c 'svc wifi disable'
However, I'm interested in doing it without having to root the phone for an automatic testing I'm doing. Do you guys know if this is possible?
I found this project which allows me to connect to a WiFi through ADB commands not being a root user. I was wondering if anyone knows how to disconnect also from ADB and not being a root user.
UPDATE:
I've been recently trying:
Code:
C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
and
Code:
C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
I also found doing this type of command:
Code:
adb shell input keyevent 20 & adb shell input keyevent 23
I can navigate and click. The problem seems to be that I always finish in a different state so the next time I input the command
Code:
adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
I start in a different place and start clicking elsewhere. I've tried returning home, but that doesn't fix the issue. Is there any way to start always from the same point inside the WiFi settings?
Thanks!
natiya said:
I found I can use these ADB commands to turn on and of the WiFi of a rooted phone:
Code:
adb shell su -c 'svc wifi enable'
adb shell su -c 'svc wifi disable'
However, I'm interested in doing it without having to root the phone for an automatic testing I'm doing. Do you guys know if this is possible?
Click to expand...
Click to collapse
Turn WiFi off
Code:
adb shell settings put global airplane_mode_on 1
adb shell settings put global wifi_on 0
adb shell settings put global wifi_scan_always_enabled 0
Afterwards you've to re-boot the device.
Turn WiFi on
Code:
adb shell settings put global airplane_mode 0
adb shell settings put global wifi_on 1
adb shell settings put global wifi_scan_always_enabled 1
jwoegerbauer said:
Turn WiFi off
Code:
adb shell settings put global airplane_mode_on 1
adb shell settings put global wifi_on 0
adb shell settings put global wifi_scan_always_enabled 0
Afterwards you've to re-boot the device.
Turn WiFi on
Code:
adb shell settings put global airplane_mode 0
adb shell settings put global wifi_on 1
adb shell settings put global wifi_scan_always_enabled 1
Click to expand...
Click to collapse
Thank you, but those don't produce any change on my device. Actually, if I put the first two commands without doing "adb kill-server" in between, I get this message:
error: more than one device/emulator
Click to expand...
Click to collapse
But the output when they work is:
adb server is out of date. killing...
* daemon started successfully *
Click to expand...
Click to collapse
and nothing happens.
I've been recently trying:
Code:
C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
and
Code:
C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
This opens the screen where you can turn on and off the WiFi but it doesn't do it...not sure if I'm missing something!
Just to be shure, make shure your using the latest version of ADB offered by google here:
https://developer.android.com/studio/releases/platform-tools
You could use adb wifi
After activating when using usb it and connecting through the same wifi:
svc wifi enable
works without root
I'm a little late to this thread, but if it still helps the OP, non-rooted Android 10 and below allowed wireless adb connections AFTER a USB connection was first established (adb start-server && adb tcpip 5555 && adb connect [IP]:5555), but that changed (for the better) in Android 11 and above with the new new Developer options Wireless debugging random port assignments (adb connect [IP]:[PORT] or adb pair [IP]:[PORT] [PIN]) such that the adb wireless connection never needs USB cable ever again.
Given Android 11 allows Developer options Wireless debugging via a random port, and Android 12 new Developer options Wireless debugging allows that to be accessed even easier with a new Developer options Wireless debugging tile, the only thing missing is a way to turn the non-rooted Android Wi-Fi on or off via adb (which was the OP's original question after all).
Maybe this will work if we can figure out how to tap the buttons?
adb shell "am start -a android.settings.WIFI_SETTINGS"
Click to expand...
Click to collapse
For swiping on the phone from adb this works...
C:\> adb shell input swipe 500 1000 500 100
This will instantly swipe from center to the top of the screen.
You can add a time period, e.g., take 3 seconds to swipe that.
C:\> adb shell input swipe 500 1000 500 100 3000
Click to expand...
Click to collapse
But you want to tap the buttons, right?
If we can figure out the positions, maybe this would work?
C:\> adb shell am start -n com.google.android.gms/.ads.settings.AdsSettingsActivity
That should pop up an Android "Reset Advertising ID" settings page.
C:\> adb shell input tap 500 400
If run after the command above, that will tap the button to
asking to "Opt out of Ads Personalization" in that Activity
if that button is like mine, at the X=500 & Y=400 location.
On my phone, this is the "Reset advertising ID" button location:
adb shell input tap 500 200
On my phone, this is the "OK" button on that GUI above.
adb shell input tap 700 1000
C:\> adb shell am force-stop com.google.android.gms
If run after bringing up the advertising-id reset Activity,
it will close the activity without doing anything else.
Click to expand...
Click to collapse
Here is a somewhat related post...
[adb,scrcpy,vysor] What ports does Android 12 randomly set when Wi-Fi connecting via Wireless debugging adb "pair" or "connect" commands?
Type adb tcpip 5555 in the command line or Terminal and press Enter.
Find your phone's IP address in Settings > About Phone > Status > IP Address.
Back in the command line or Terminal, type adb connect [your Android's IP address].
Finally, press Enter again.
Regards,
J Wick
Hello , i have an old Samsung S2 , that is working , but the screen is broken ( black screen can't be touched or show anything ) , the phone also has a pattern lock screen , can i somehow access my data on the phone ? Use it through a pc ?
If you can access the phone via ADB you for example can try the following command sequence to remove the FRP lock:
Code:
adb devices
adb shell "am start -n com.google.android.gsf.login/"
adb shell "am start -n com.google.android.gsf.login.LoginActivity"
adb shell "content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1"
adb reboot
jwoegerbauer said:
If you can access the phone via ADB you for example can try the following command sequence to remove the FRP lock:
Code:
adb devices
adb shell "am start -n com.google.android.gsf.login/"
adb shell "am start -n com.google.android.gsf.login.LoginActivity"
adb shell "content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1"
adb reboot
Click to expand...
Click to collapse
Thanks for reply , since my very little experience I'll try to do this , I'll google how to deal the ADB , but i think it will require the developer options to be activated, which i think they are not , but I'll try anyway , if there is a way to get the phone screen on my pc it would be a dream .