[GUIDE] UNBRICK Mi Band 3 (with | without NFC) - General Accessories

How to unbrick of hard bricked the Mi Band 3
(with | without NFC)​​
Last Updated: 07.04.2019
Warning​
Proceed at your own risk !!!
It may also damage the internal electronics of the device (meganic damage, electrostatic discharge, etc.) !!!
I'm not responsible for permanently bricked your the MB3!!!
(Tested on two the Mi Band 3 without NFC, version CN, HW v0.18.3.2)
Introduction​​ This thread contains instructions for unbrick the Mi Band 3 (after flash wrong firmware through bluetooth), using the SPI Flash programmer to program the correct firmware, directly into to the SPI flash memory on the PCB of the Mi Band 3. The DA14681 processor boots executable firmware directly from this flash memory, which contains a boot loader, calibration and other production data, and executable firmware that is updated via bluetooth.
Known issues
​
Need to open the cover body of Mi Band 3.
When the body of the Mi Band 3 is opened, waterproofness is lost.
Need special equipment (Micro soldering station, programmer for SPI flash memory, and etc.).
You will need​​
Hard bricked the Mi Band 3 (bricked after flash wrong firmware through bluetooth)
Micro soldering station, with 0.2mm tip
SPI Flash programmer for programming correct firmware into internal SPI flash memory.
Control software for SPI Flash programmer (Flashrom / FT2232-SPI-Prog)
Hex editor for editing full dump bin file of the SPI flash memory.
Correct firmware file for the Mi Band 3
Procedure​
How opening the cover body of Mi Band 3.
Follow this thread to open the Mi Band 3 cover body How to open the body cover of Mi Band 3 (with | without NFC)​
How to connect to the SPI flash memory
The Mi Band 3 contains the SPI flash memory GD25LQ32 32Mbit on the PCB. Unfortunately, there are no testpoints available on the PCB (maybe possible under the LCD), for easy contacting of the SPI flash memory. It is necessary to contact the terminal wire directly on the SPI flash memory package.​
{
"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"
}
​
Example of connecting to the SPI flash memory (for single use unbrick):​
​
Or a better connection solution (for continuous tests):​
​​
How to connect to the SPI programmer (circuit diagram of the SPI Flash programmer)
You can use one of these programmers (FT2232 Programmers) based on FT2232 chipset to program the SPI Flash memory on the Mi band 3.​​​I used my own circuit diagram with FT2232H, see. the circuit diagram below. The SPI Flash memory (GD25LQ32) on the Mi band 3 has supply voltage of 1.8V !!! The SPI interface of this memory is 3.3V tolerant. The Mi Band 3 battery 3.8V must be disconnected when programming the SPI flash memory GD25LQ32, otherwise the Mi Band 3 processor blocks communication over the SPI interface.​
​
Control software for SPI Flash programmer (You can use one of these Flashrom or FT2232-SPI-Prog)
# Flashrom (utility for flash BIOS/EFI/coreboot/firmware/optionROM images)​Dowonload tool: View attachment Flashrom_v1.0.1-rc2.zip Windows (v1.0.1-rc2) / Ubuntu (v0.9.9+r1954-1)​
You install drivers (Windows) for Flashrom / FT2232H SPI Flash programmer using tool: Zadig libusb-win32.​
Flashrom requires these libraries "libusb-win32" !!!​
Tool the Flashrom directly natively supports of the GD25LQ32 Flash memory.​​* Reading of the flash memory GD25LQ32:​Command: flashrom -p ft2232_spi:type=2232H,port=A​
​
You check the presence of the GD25LQ32 Falsh Memory (Found GigaDevice flash chip "GD25LQ32" (4096 kB, SPI) on ft2232_spi) !!!​​* Reading of the flash memory GD25LQ32:​Command: flashrom -p ft2232_spi:type=2232H,port=A -c GD25LQ32 -r MB3_FullFlash_brick.bin​
​
"MB3_FullFlash_brick.bin" is the output file.​​* Erasing of the flash memory GD25LQ32:​Command: flashrom -p ft2232_spi:type=2232H,port=A -c GD25LQ32 -E​​* Writing of the flash memory GD25LQ32:​Command: flashrom -p ft2232_spi:type=2232H,port=A -c GD25LQ32 -w MB3_FullFlash_unbrick.bin​
​
You make sure that Flash Memory has been verified (Verifying flash... VERIFIED) !!!​​# FT2232-SPI-Prog (SPI Flash Programmer based on FTDI chips in MPSSE mode)​Dowonload tool: Windows (v0.1.13.0) / Ubuntu (v0.1.6.0)​
FT2232-SPI-Prog does not require special drivers and uses native drivers from FTDI (Windows): Virtual COM port (VCP) drivers​
Tool the FT2232-SPI-Prog does not support the GD25LQ32 Flash memory directly, you can use "M25PX32" type and set the "Ignore Device ID" control.​
In case of problems with communication with the GD25LQ32 Flash Memory, you can set the communication slowdown by turning on "Disable Quad Mode".​
Also, do not forget to select the memory address range "Start Address" and "End Address".​​​* Instructions to control the FT2232-SPI-Prog can be found here: FT2232-SPI-Prog​​
How to unbrick of hard bricked the Mi Band 3
You read out the Mi Band 3 GD25LQ32 SPI Flash memory full data range and save it to a file such as "MB3_FullFlash_brick.bin". This GD25LQ32 SPI Flash memory, which contains a boot loader, calibration and other production data (serial number), and executable firmware that is updated via bluetooth. These data are unique to the device and it is necessary to backup !!! Read the GD25LQ32 SPI Flash memory again, repeatedly and compare the files to see if the memory read is correct !!!
Open "MB3_FullFlashFlash_brick.bin" in any HEX editor and go to address 4000 and paste the correct firmware from this address. After paste the correct firmware, save the file for example as "MB3_FullFlashFlash_unbrick.bin".
Write the file "MB3_FullFlashFlash_unbrick.bin" back to the GD25LQ32 SPI Flash memory.
It is recommended that you also reload Firmware, Resources and Font files via Bluetooth after unbrick. This will prevent the Mi Band 3 instability !!!
That is all
If you can't get unbrick the Mi Band 3, you can try uploading "Full Dump Flash Images for the Mi Band 3". Unfortunately, you will permanently lost your calibration and other production data (serial number), which is irreversible. However, the Mi Band 3 bracelet will be functional.
Mirror:
[UNBRICK] Mi Band 3 (with | without NFC) - geekdoing.com

Related

[8.1] WinPE 64-bit en-US

Might be you need a "Windows 8.1 Rescue Disk 64bit" at some point. If you won't create such a WinPE by yourself, you might use the one I created by means of phantastic WinBuilder tool. Note, that this WinPE boots in legacy mode and only comes with legacy apps.
{
"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"
}
• Requirements:
1. At least 1 GB RAM; the WinPE completely is copied to RAM and runs from therein.
2. A storage device with at least 500 MB; the WinPE currently is ~300 MB of size.
3. A VESA-compatible display device. Note, that screen resolution will be set to 1024x768 and colordepth to 32-bit.
• Network:
Wireless networking is not supported in WinPE, this WinPE uses TCP/IP and/or NetBIOS over TCP/IP to provide network access and support for standard network drivers. Hence connect the PC to a router using an ethernet cable before booting.
• How To:
» You burn the .ISO on CD/DVD/BD (use 2x speed).
» You direct your Windows 8.1 x64 computer to boot from optical storage device.
» You power off the PC.
» You insert the CD/DVD/BD.
» You restart your Windows 8.1 x64 computer.
If WinPE has successfully booted, you right click anywhere in the desktop to get the WinPE's MENU shown.
• Disclaimer:
This WinPE only was tested in VMWare Player. It comes with no warranty or official support - I will try to help with any bugs or issues that people report when I get chance but this is not in any way guaranteed. No guarantee of final success or absence of undesirable side effects is being given hereby. Any liability of any kind will be rejected. I cannot be held accountable for any loss of data that occurs as a result of using this WinPE, you use the programs included AT YOUR OWN RISK. Be aware in WinPE environment you are "nt authority/system", which is the highest level on a local system, above Administrator.
TO GET AN IDEA, WHAT A PROGRAM INCLUDED IS FOR, PLEASE VISIT ITS RESPECTIVE WEB-SITE.
This WinPE comes with no programs' documentation! Might be with next version of this WinPE.
• License, Use, Copying, and Distribution:
Because this WinPE compilation only is based on free softwares, it is licensed as Freeware and free to download and for personal and commercial usage.
• Trade-Marks and Proprietary Notices:
Parts of this WinPE contents might be protected by copyrights, trademarks, trade secrets, or other proprietary rights, and if so, these rights are valid and belong to the authors of the softwares injected in the WinPE. "Microsoft Windows PE 5.0" which this WinPE is built on, is copyrighted by Microsoft.
• Credits:
Misty, who provided an excellent basic WinBuilder-project ready to start with ...
BlueLife & Lancelot, who created the "Reg Convert PE ( RegCPE )" tool
• Version History:
2014-04-07
v2
ISO-Download: WinPE-8.1-x64-en-US-v2
2014-03-16
v1
For devices without an optical drive, it *should* be possible to format a USB stick, mark its partition as "Active", and then dump the contents of the disc image to the root of the flashdrive (note: not the image itself!)
Great work. Possible to add PowerShell?
Baltasar1 said:
Great work. Possible to add PowerShell?
Click to expand...
Click to collapse
Would be possible, YES, but I don't add it. Reason: MS PowerShell requires MS .NET Framework (~2GB) to be installed, too.
50+ downloads until this writing. No bug reports, wow. This encouraged me to spend further efforts in this project: result is version 2.
• Programs added:
TCC/LE, version 13.0.6.77
AOMEI Partition Assistant, version 5.5
Q-Dir, version 5.97 (March 24th 2014)
SumatraPDF, version 2.5.8665
SearchMyFiles, version 2.48
ESET SysInspector, version 1.2.402 !!! needs 38 MB RAM !!!
ODIN, released 2011-10-09
Calculator, version 2.6.0.0
7-Zip, released 2013-12-11
Agent Ransack, version 7.0.820.1
BOOTICE, version 1.3.21
TestDisk, version 6.14
CheckDisk, version 1.4
Could't add TrueCrypt, because no native 64-bit version of it exists.
---------------------------------------------
GoodDayToDie said:
For devices without an optical drive, it *should* be possible to format a USB stick, mark its partition as "Active", and then dump the contents of the disc image to the root of the flashdrive (note: not the image itself!)
Click to expand...
Click to collapse
Problem herewith is, that WinPE only detects the USB drive if you boot the computer with the drive connected. If you bootet WinPE from USB drive, then this USB drive isn't not useable for other purposes anylonger, means you can't use it for data transfer in either direction. If you decide to use another USB drive for data transfer then, if already running WinPE and you plug in such another USB drive, nothing happens. Hence also added:
Microsoft's DevCon utility
----------------------------------------------
• Shell modified:
Added "multiple-desktops" feature, you now have 3 desktops you can switch among
Reorganized the menu, perhaps a little bit less cluttered now
Added a desktop wallpaper, so one now recognizes when WinPE has successfully loaded
Download: See post #1.
Very good project I used de DVD with no problem for now.
Link is broken. Could you please update it again ?
update the link plz
plz update the link is broken
Could you reupload this file please ?

Xiaomi Mi4 Quad-Core (Qualcomm wcdma)

Xiaomi Mi4 Quad-Core (Qualcomm Wcdma)
3GB RAM 16GB Rom
5-inch 1080P 13MP
WCDMA Smartphone
{
"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"
}
​
MANY THANKS TO OUR MODERATORS !
More attention to the Xda-developers Rules:
http://forum.xda-developers.com/announcement.php?f=256
Many thanks to "SUPER ADMIN" MR. MIKE​
Details Section
​Specification
Model:
MI4
Sim Card:
Single Micro-SIM Card Single Standby
Color:
Black, White
Capacity
RAM: 3GB
ROM: 16GB
Does not support expanded storage through a memory card slot.
Multi-Languages
English, Simplified Chinese, Traditional Chinese
Chipset
CPUualcomm Snapdragon 801 Quad-core 2.5 GHz
GPU: Adreno 330 GPU
RAM: 3GB LP DDR3 RAM
System
Android OS, v4.4.2 (KitKat)
Screen
Display Size: 5.0 Inch
Type: IPS, capacitive touch screen,Sharp/JDI
Resolution: 1080 x 1920 pixels(~441 ppi pixel density)
Screen Color: 16000K Colors
Multitouch: Yes
Technology:Very high colour gamut (84% of NTSC range)
Camera
Rear Camera: 13MP, F1.8, real-time HDR, 4K video recording (Sony IMX214)
Front Camera: 8MP front camera, f1.8, 80-degree wide angle (Sony IMX219)
Video Capture: Rear and Front support [email protected]
Network and Wireless Connectivity
2G: GSM 850/900/1800/1900MHz
3G: WCDMA 850 / 900 / 1900 / 2100MHz
Data Technology: GPRS/EDGE/DC-HSPA+(42Mbps)
GPS: GPS + GLONASS, AGPS
Bluetooth 4.0: HID
WiFi: Wi-Fi 802.11 a/b/g/n/ac, dual-band ,WIFI 2.4 / 5 GHz , WiFi Display, WiFi Direct
FM: Yes
Battery capacity and life
Non-removable 3080mAh lithium-ion battery
Standby Time: About 2~3 days
Sensor
Gyro, Light, Gravity, Proximity, Compass, Barometer
Size
Dimensions: 139.2 x 68.5 x 8.9 mm
Net Weight: 145 g (5.11 oz) (Including battery)
Package
1 x Xiaomi mi4
1 x Travel Charger
1 x Usb Data Cable
1 x Sim tray opener
1 x User Manual
​
Software Section​
This is a collection thread of the Fastboot ROMs files for Mi1/1S/2/2S/2A/3/Pad.
"http://en.miui.com/thread-14641-1-1.html"
Fastboot is one way to flash ROMs to your phone, it's safer than flashing in Recovery mode. Different phones enter Fastboot mode differently, e.g. for Xiaomi devices, you should turn off your phone, and hold the Volume+ & the Power button at the same time. You could find the way for you device using Google. When flashing ROMs in fastboot mode, you should connect your phone to the computer via USB cable.
The files are arranged reverse from the latest ROM version, please pay attention when downloading.
You could use Ctrl + F to quickly find the ROM version you're looking for.
ROM Flashing Guides Mi1/1S/2/2S/3/4/Pad Recovery ROM Files Redmi Recovery ROM Files Redmi Fastboot ROM Files
Rom archives:
MIUI 4.9.26 V6 weekly update for Xiaomi MI4/MI3 WCDMA
Based on android 4.4.4
Download: http://media.celogeek.com/roms/android/miui/4.9.26/xiaomi.eu_multi_cancro_4.9.26_v6-4.4.zip
MIUI 4.10.10 V6 weekly update for Xiaomi MI4/MI3 WCDMA
Based on android 4.4.4
Download: http://media.celogeek.com/roms/andr...edia=c296070abb071a0bc7edc1741f47bec80b66e44f
​
Setup Section
Firmware installation
There are 3 ways of install the firmware or custom rom.
1) Install Rom from Recovery.
STEP 1
Download the multilingual MIUI ROM
MI3 and MI4
http://file.xiaomishop.com/rom/xiaomishop.redmi.eu_multi_HM2013023_WCDMA_JHBCNBD15.0_jb-4.2.zip
RedMi
http://file.xiaomishop.com/rom/xiaomishop.redmi.eu_multi_HM2013023_WCDMA_JHBCNBD15.0_jb-4.2.zip
RedMi 1s
http://file.xiaomishop.com/rom/xiaomishop.Redmi 1s_eu_multi_armani_JHCCNBD24.0_jb-4.3.zip
RedMi NOTE
http://forum.xiaomishop.com/thread-359531-1-1.html
RedMi NOTE 4G LTE-FDD
http://forum.xiaomishop.com/thread-359523-1-1.html
MI2 MI2S
http://forum.xiaomishop.com/thread-359527-1-1.html
Operate on the computer, rename the zip file as update.zip, and copy it to the root directory of the SD card.
STEP 2
Enter Updater, press the Menu button, and select Reboot to recovery mode.
Another way to enter recovery mode: turn off the phone, press the Volume+ key and the Power button at the same time, wait until the screen wakes.
STEP 3
Select your language. Select to install update.zip to system one (use the volume keys to select,and the Power button to confirm).
After the updating is completed, reboot to system one.
​
2)Install Rom from update app under android S.O.
STEP 1
Download the multilingual MIUI ROM
MI3 and MI4
RedMi
RedMi 1s
RedMi NOTE
RedMi NOTE 4G LTE-FDD
MI2 MI2S
If you have downloaded the latest installation pack, there is no need to download it again.
STEP 2
Connect your phone to the computer, and put the ROM file to the folder downloaded_rom in the SD card. Open Updater on the launcher,
press the Menu button – Select installation file. Choose the ROM pack you want to flash, and select Update now.
​
STEP 3
After updating is completed, select Reboot now to enter the new system.
​
3) Flash in the fastboot mode when the phone is in brick situation.
Method 3. Flashing MIUI ROM in Fastboot Mode
(This part applies to Xiaomi Mi4 , Xiaomi Mi3, Xiaomi Redmi 1S , Xiaomi Mi2,Xiaomi Mipad, Xiaomi Mi2S.)
Download necessary files, and make sure that your phone has enough power.
This guide will help you to upgrade your ROM version to MIUIV5 or stock Android, all user data will be cleared in the process
STEP 1
Download the ROM flashing tools and the full ROM pack, unzip after downloading is completed.
Download the flashing tools, MiFlash (size: 27M)
or
http://www.4shared.com/file/HKVTMrQmba/MiPhone20140509.html
Red Mi 1s Fastboot ROM(size: 608M)
Mi2_Mi2s Fastboot ROM(size:554M)
Mi3_Mi4 Fastboot ROM(size;480M)
MI PAD Fastboot ROM(size:394M)
ps:1,Rom provided here is the official original upgrade package, only Chinese and English.
2,Unless unable to use Method 1 and Method 2 to upgrade, or do not use this method.
3, If you want to brush back multi-language version, follow Method 1 and Method 2.
Operate on the phone.
Turn off the phone, press the Volume– key and the Power button at the same time to enter Fastboot mode, then connect the phone to a computer.
​
STEP 2
Double click on the zip file after downloading is completed to decompile it. Open the folder of the ROM pack, and copy its address on the computer.
​
STEP 3
Decompile and install the ROM flashing tools after downloading is completed (if there’s a security prompt, please select Allow).
Open MiFlash.exe and paste the address copied in the last step into the address bar.
Click on the first button to Refresh, and MiFlash will automatically recognize the phone. Then click the second button to flash.
​
STEP 4
Wait until the progress bar on MiFlash is green, which means the ROM is successfully flashed, and the phone will automatically boot.
​
Mi flash app
http://www.4shared.com/file/HKVTMrQmba/MiPhone20140509.html
REMEMBER.
To EXIT FROM FASTBOOT MODE
Press the Volume (–) key and the Power button at the same time to exit from Fastboot mode​
Utility Section
Drivers for windows
http://www.4shared.com/rar/IQlV6RQXba/xiaomi_usb_driver.html
This is the procedure to change the default launcher
to nova or Xperia or others launcher
link soon
1) Nova launcher modded for Xiaomi
2) Xperia launcher modded for Xiaomi
http://www.4shared.com/mobile/h6uZJP7lba/xperia_launcher-Mi4.html
Procedure to Have Right Root
1)Use this method to gain root permission.
Vroot.exe
http://file.xiaomishop.com/root/VRoot_1.7.8.8987_Setup.exe
1.Install and open it VRoot_1.7.8.8987_Setup.exe in the computer:
​
2. Open the USB debugging in the phone.
​3. Use the USB cable connect the phone to the computer.
​4. If the phone show this window,please click OK.
​5. In this condition,you need to re-connect.
​6. The phone will show a application,you need to install it.
​7.If it connected successfully in the phone,it will show like that.
​8. Click it to gain the Root permission.
​9. In the progress of Root permission:
1.Please do not disconnect the USB cable.
2.The phone maybe will restart 2 to 3 times,
please do not operate the phone.
10.After successfully to gain the Root permission,the phone will restart by itself.
2)Use this method to gain root permission if the first procedure fail.
Download The superSu app from the play store, after this step you must authorize the SuperSu app from Security Miui app.
1) select from the several Miui App the Security app.
2) Permission
3)Root Access
4) select the button to the app to give the right root
5) Check the root access with some app that you prefer like Root Checker
​
In all those Photos are shown the new product and the details of the phone and the details of the apps and other steps!
Not be considered spam or advertising is shown only to understand the difference and the details.
Video Section​
In all those videos are shown the new product and the details of the phone !
Not be considered spam or advertising is shown only to understand the difference and the details.
Reserved

[MiBand2]Mi Band 2 Date Editor - Change the date locals of your Band to your language

Mi Band 2 Date Editor
Code:
Your warranty is now probably void.
I am not responsible for any bricked devices, do this at your own risk!
The Mi Band 2 is a really popular and inexpensive Wearable that has many fans around the world. However, the representation of the current date on the homescreen (Small "Fri, Apr 19") is only available in english. But with this tool you can change the software running on your Mi Band 2 and change which characters are shown for the date texts, to localize your Mi band to your language!
This procedure requires a bit of preparation, because there are some limitations to how many individual characters are available to you. But below you can find an easy and quick way to change the localization. Or you can search if somebody has already made the changes for your language and has shared his setup here in this thread, as this software has the option to export and share your settings!
Features
Change the texts shown when you look at the current date/time on your Mi Band 2
This enables you to localize your Mi Band to your language, or even to change the font style!
Together with my other software, the Mi Band 2 FW editor, you can change the complete style and representations of icons and texts on your Mi Band 2!
You don't need to worry about choosing the right version, as the software auto-detects the firmware you loaded in
By saving the changes made to the firmware to a "Table Data File", you can share your localization changes with others or save them for yourself. The Table Data File is Firmware/Hardware-Revision independent!
To Do
Support the indian version.
Downloads
Github Page
Releases
Source Code
Instructions
1. Check your Mi Band Hardware Revision
This might be a little tricky. One way is with the App "Mi Band Masters".
After you authorized your Mi Band, you can find your hardware version under the tab "Statistics". This Image is from the Gadgetbridge Wiki:
Now you have to look which firmware file is needed for your hardware version. If you Mi Band doesnt has a pulse sensor, its the hrx variant.
{
"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"
}
2. Getting the desired firmware file for your Mi Band
Now that you know which Mi Band Firmware file you need. When you scroll down the Gadgetbridge Wiki for the Mi Band 2,
you can find the lists for which Mi Fit App version had which firmware versions. NOTE: This tool only supports 1.0.1.x Version files, everything older doesnt make sense to search all the icons for.
You search the group with your Mi Band Firmware name, and look out the needed Mi Fit Version.
Now you can search the needed version APK on sites like APKMirror. Download the APK from there and open it with a ZIP-programm like Winrar.
The needed .fw-file will be in the folder assets. Extract that file.
3. Editing your firmware
Now you are finally ready to edit the firmware! Open the Mi Band 2 Date Editor, press "Load File...", click on "Firmware File" and select your firmware file.
You can also load in now a Table Data File if you have one. In it you can save your changes to the firmware file, so in case you want to use your settings on a different firmware/hardware version or want to share your language settings online, you can load them from here and apply the changes instantly.
The best workflow would be to first sketch everything out in a spreadsheet or on paper. First, write down the short versions (3 characters) of the days of the week or the months down.
Example for a German translation
then write down the characters in the "character table". Look for matching characters, as these dont need to be edited. The characters not needed from the character tables can now be replaced with the missing characters in the table. However, you have to take into consideration, that the maximum width of your "pixelfont"-character cannot exceed the width of the character it is replacing in the character table (Example: you couldnt fit a 5 pixel wide character, like an "a" into the available width of the character "i" (1 pixel wide))
Example for a German translation. Green is a match. Orange are characters that get replaced and the red cells are left over characters
After you have changed the characters in the appropriate fields in the table (empty characters can be a space, but dont forget edit the font!), you can change the text representations in the "text tables" on the right side. You simply have to look up the "position" number of the character you want to insert to the text and select it from the dropdown.
Example for a German translation
After that, the only thing left is to edit the pixel representations of the characters you changed. Simply click on the pencil button next to the changed character. Now the Character Editor will open.
The Black squares are the turned on pixels, the white/transparent squares are turned off pixels. Underneath the pixel editor, you can change the width of the character
The character editor. I have changed the character 'd' to the german character 'ä'
When you're all done, you can save the changes you have made by clicking on "Save File...". Here you have the option to save your changes to a Table Data File, for future modifications or for sharing, or save your
modified firmware to flash it onto your Mi Band 2!
4. Flashing your new edited firmware
You are nearly done! All you have to do now, is to copy the edited firmware file onto your phone (f.ex. with a usb cable or via bluetooth), and open up the "Mi Band Master" App
(Though you can use nearly all third party apps, most of them support flashing from a file), and after syncing with Mi Fit, you have to open up the settings.
There you enter "Wristband" and press on "Firmware". Here you can select "Firmware Update from file" and select the edited firmware. Now your Mi Band will receive the new firmware and restart afterwards.
Now you're done!
Troubleshoot
This program is working properly and you shouldnt be at risk of bricking your device. If someone wants to improve it or use parts of the code (like all the offset data), you happily can use it with credits. This is rather a usable "demo" of the research and exploration i made with the Mi Band 2.
I would be pleased to get feedback and error reports, and you for sure can submit changes to the program through github.
Credit
Thanks to SirStefan for the documentation of the font data for the small text used for the date and as a general ressource: Post
The software around it, the positions for all the tables and characters across all hardware and firmware versions (FW: 1.0.1.xx) were made by me.
For detailed credits and tools used, visit the Github Page.
Screenshots
My example German language uploaded to my Mi Band 2
Cool! I will try to translate this
Thank you very much! I was looking for this for a very long time!

[GUIDE] What should I backup before trying to customize my MERLIN device ? (Redmi Note 9 / Redmi 10X 4G)

WARNINGS:​
NEVER try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI.
Keep your backup files safe and secure ! If you can, encrypt them.
Never try to share your backups or your security and privacy will be compromised.
USE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR YOUR ACTIONS.​
Why to backup ?
If you backup the partitions listed here, you can avoid mistakes without risking all of your device's identification details.
Like IMEI, WiFi MAC, Bluetooth MAC, calibration data, NVDATA, NVRAM, RADIO/MODEM/BASEBAND and others.
How to backup ?
You can backup using TWRP, PBRP, DD, SP Flash Tool or anyway you want.
How to restore ?
You can restore using TWRP, PBRP, DD, SP Flash Tool or anyway you want.
I suggest you to use same tool of backup.
Partition: frp​Description: This partition stores persistent data for factory reset protection. Like google account and miaccount/micloud.​Size: 1.024 KiB (1 MiB)​Block: /dev/block/mmcblk0p5​Start address: 0x5508000​Length: 0x100000​
{
"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"
}
Partition: md_udc​Description: This partition stores master keys for encrypting and decrypting files.​Size: 23.144 KiB (22,6 MiB)​Block: /dev/block/mmcblk0p9​Start address: 0x6e08000​Length: 0x169a000​
Partition: nvcfg​Description: This partition stores variable configs of NVDATA and NVRAM.​Size: 32.768 KiB (32 MiB)​Block: /dev/block/mmcblk0p11​Start address: 0xa4a2000​Length: 0x2000000​
Partition: nvdata​Description: This partition stores variable data of secure and identifying infos for your device. Like IMEI, WiFi MAC, Bluetooth MAC, calibration data and others.​Size: 65.536 KiB (64 MiB)​Block: /dev/block/mmcblk0p12​Start address: 0xc4a2000​Length: 0x4000000​
Partition: nvram​Description: This partition stores persistent data of secure and identifying infos for your device. Like IMEI, WiFi MAC, Bluetooth MAC, calibration data and others.​Size: 65.536 KiB (64 MiB)​Block: /dev/block/mmcblk0p21​Start address: 0x19f00000​Length: 0x4000000​
Partition: persist​Description: This partition stores persistent data for factory reset protection. Like google account and miaccount/micloud.​Size: 49.152 KiB (48 MiB)​Block: /dev/block/mmcblk0p13​Start address: 0x104a2000​Length: 0x3000000​
Partition: proinfo​Description: This partitions stores persistent data of default structure for NVRAM/RADIO/MODEM/BASEBAND.​Size: 3.072 KiB (3 MiB)​Block: /dev/block/mmcblk0p19​Start address: 0x18200000​Length: 0x300000​
Partition: protect1 (or protect_f)​Description: This partition stores variable data of SIM/RADIO/MODEM/BASEBAND settings and infos.​Size: 8.192 KiB (8 MiB)​Block: /dev/block/mmcblk0p15​Start address: 0x164a2000​Length: 0x800000​
Partition: protect2 (or protect_s)​Description: This partition stores variable data of SIM/RADIO/MODEM/BASEBAND settings and infos.​Size: 11.640 KiB (11,36 MiB)​Block: /dev/block/mmcblk0p16​Start address: 0x16ca2000​Length: 0xb5e000​
Partition: seccfg​Description: This partition stores the state of the bootloader. (Locked or Unlocked.)​Keep atention: If you backup this partition in locked bootloader, it will keep locked after restoring. If you want to backup this partition in unlocked bootloader, you need to unlock bootloader first.​Size: 8.192 KiB (8 MiB)​Block: /dev/block/mmcblk0p17​Start address: 0x17800000​Length: 0x800000​
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
Can't figure out how to do a backup with SP flash tool. What's the easiest way?
ticotexas said:
Can't figure out how to do a backup with SP flash tool. What's the easiest way?
Click to expand...
Click to collapse
You can backup with sp flash tool easily too.
Use this readback file:
[READBACK][FLASH] Read Back file for backuping using flash tool from MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)
Works with: - Xiaomi Redmi Note 9 - Xiaomi Redmi 10X 4G How to use it: 1. Paste the file inside home folder of flash tool. (If there is an existing file, you need to overwrite it.) 2. Open flash tool. 3. Open "download" tab, select scatter...
forum.xda-developers.com
Where do I get the Scatter-loading file and Authentication file?
ticotexas said:
Where do I get the Scatter-loading file and Authentication file?
Click to expand...
Click to collapse
You can skip auth file if you use any of these DA (download-agent) file:
[DA][FLASH] DA files for flashing to MERLIN using FLASH TOOL (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)
Downloads: - SP Flash Tool (Windows) https://spflashtools.com/windows - SP Flash Tool (Linux) https://spflashtools.com/linux Alternative Downloads: If you are having problems for flashing on Windows with sp flash tool, give a try on these...
forum.xda-developers.com
Scatter file for MERLIN:
[SCATTER][FLASH] Scatter file for flashing using flash tool to MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)
Works with: - Xiaomi Redmi Note 9 - Xiaomi Redmi 10X 4G Options for download: - Untouched Original Stock Rom. - Original Stock Rom with disabled boundary check. (File sufix: boundary_false) - All partitions allowed for download mode with...
forum.xda-developers.com
I selected a Scatter loading file, and when I choose download, it says, Please select one ROM at least before execution. Closed, reopened, chose Read Back. Doesn't seem to do anything or ask to save a backup. This is totally unintuitive. I may have to try the magisk without backing up. I can't figure this out.
ticotexas said:
I selected a Scatter loading file, and when I choose download, it says, Please select one ROM at least before execution. Closed, reopened, chose Read Back. Doesn't seem to do anything or ask to save a backup. This is totally unintuitive. I may have to try the magisk without backing up. I can't figure this out.
Click to expand...
Click to collapse
May you attach the screenshot, please?

How to unlock bootloader of vivo MTK devices?

Unlocking bootloader on vivo MTK devices
This thread is intended for vivo MTK devices only. However you might have seen some of the threads for unlocking vivo bootloader but it might not work for you. So let's begin our tutorial
!! WARNING !!
THIS STEP WILL ERASE YOUR USERDATA, SO MAKE SURE YOU HAVE BACKED UP ALL YOUR DATA BEFORE EXECUTING THIS​Requirements:
This is needed to make it work!
1. MTK Driver
2. Python (latest)
3. UsbDK
4. MTKClient
5. Zip extractor like 7zip
Set up all the requirements:
1. Install Python
1.1. Open Python that you have download​1.2. Tick a box called "add to PATH"​1.3. Install​2. Install UsbDK
2.1. Make sure you have downloaded UsbDk according to your architecture​2.2. Double click the installation file and install​3. Install MediaTek Drivers
3.1. Download zip that I attach on this thread​3.2. Use your zip extractor app and extract the zip​3.3. After extract, you will see 3 files inside, choose "cdc-acm.inf" and right click​3.4. Select "Install drivers" and follow all instructions​4. Setup MTKClient
4.1. They're many version releases on the github, download the source code zip from the latest version​4.2. Use your extractor app and extract it into a folder​4.3. Go into that folder and open command prompt from there​4.4. Simply type "pip3 install -r requirements.txt" on the cmd and enter. Wait for it to finish​4.5. Close the cmd​
Steps to unlock:
1. Go to mtkclient folder and open cmd from the folder
2. Type "python3 mtk da seccfg unlock"
3. Prepare your phone, make sure it's turn off
4. Connect your phone to PC with volume combination, hold both volume button and connect
5. Hold it until you heard usb connection sound and release it
6. Wait until it succeed
7. If successful, disconnect your device and turn it on
8. You will see a message saying "Orange state bla bla", ignore it
9. If it keeps rebooting, just wait for it to enter recovery and it will ask you to factory reset your device
10. Factory reset it and you're done!
You've finally unlocked your vivo bootloader
Tested devices:
1. vivo Y20 2021/Y12s (PD2036F)
2. vivo Y17/Y15/Y12 (PD1901)
3. vivo Y1s (PD2014F)
4. vivo Y91C (MTK)(PD1818HF)
However vivo have patched the BROM mode(something like download mode on mtk) on the latest update. But I have solution for that issue!
NeonzGamingYT said:
However vivo have patched the BROM mode(something like download mode on mtk) on the latest update. But I have solution for that issue!
Click to expand...
Click to collapse
way
NeonzGamingYT said:
However vivo have patched the BROM mode(something like download mode on mtk) on the latest update. But I have solution for that issue!
Click to expand...
Click to collapse
Seems like you don't?
so i was trying to use mtk client with your command. i'm not sure why my windows don't recognize python3 as installed and redirected me to microsoft store, so i used just python command which should ran python 3.11.2 on my pc. But when i did that it didn't really let me do that saying that "da" flag not found
Code:
mtk client\mtkclient-1.52>python mtk da seccfg unlock
usage: mtk [-h]
{printgpt,gpt,r,rl,rf,rs,ro,w,wf,wl,wo,e,es,footer,reset,dumpbrom,dumppreloader,payload,crash,brute,gettargetconfig,peek,stage,plstage,xflash}
...
mtk: error: argument cmd: invalid choice: 'da' (choose from 'printgpt', 'gpt', 'r', 'rl', 'rf', 'rs', 'ro', 'w', 'wf', 'wl', 'wo', 'e', 'es', 'footer', 'reset', 'dumpbrom', 'dumppreloader', 'payload', 'crash', 'brute', 'gettargetconfig', 'peek', 'stage', 'plstage', 'xflash')
MTK Flash/Exploit Client V1.52 (c) B.Kerler 2018-2021
Also i'm trying to make it work with vivo v25e which uses Mediatek MT8781 Helio G99 (6nm) (if you can believe description)
if i run adb toolkit it shows me this info for my phone
Code:
Device: V2201
Model: V2201
Brand: vivo
Android: 13
Firmware: TP1A.220624.014
Security Patch: 2023-02-01
also this is behaviour for my phone on the 4ths step
4. Connect your phone to PC with volume combination, hold both volume button and connect
Click to expand...
Click to collapse
at first it shows first line in device manager then second and then disappears at all, is this normal behaviour?
{
"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"
}
Is there any chances for me to unlock bootloader or i should just give up for now? Also i'm very sorry if i miss something obvious.
twq_bought_a_shit_phone said:
so i was trying to use mtk client with your command. i'm not sure why my windows don't recognize python3 as installed and redirected me to microsoft store, so i used just python command which should ran python 3.11.2 on my pc. But when i did that it didn't really let me do that saying that "da" flag not found
Code:
mtk client\mtkclient-1.52>python mtk da seccfg unlock
usage: mtk [-h]
{printgpt,gpt,r,rl,rf,rs,ro,w,wf,wl,wo,e,es,footer,reset,dumpbrom,dumppreloader,payload,crash,brute,gettargetconfig,peek,stage,plstage,xflash}
...
mtk: error: argument cmd: invalid choice: 'da' (choose from 'printgpt', 'gpt', 'r', 'rl', 'rf', 'rs', 'ro', 'w', 'wf', 'wl', 'wo', 'e', 'es', 'footer', 'reset', 'dumpbrom', 'dumppreloader', 'payload', 'crash', 'brute', 'gettargetconfig', 'peek', 'stage', 'plstage', 'xflash')
MTK Flash/Exploit Client V1.52 (c) B.Kerler 2018-2021
Click to expand...
Click to collapse
i got the same error
First i think if you got vivo device is most likely patched. If not what version of mtk exploit is it using
I see you're using security patch dated 2023-02-01 which most likely won't work
ko_hi said:
First i think if you got vivo device is most likely patched. If not what version of mtk exploit is it using
I see you're using security patch dated 2023-02-01 which most likely won't work
Click to expand...
Click to collapse
honestly i was trying to lock the bootloader just so i won't touch these stuff and my phone is not even vivo it's oppo a5s

Categories

Resources