[GUIDE] [HOWTO] Return to stock for Huawei Watch

Skin1980

Inactive Recognized Developer
Nov 25, 2009
2,490
6,227
0
Hi guys, since the development is started i think that we also need a way to restore the watch to the stock FW.

HOWTO:

- download from the following links the boot, recovery and system image;
- reboot to fastboot and:
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
and then go to recovery and do a wipe data / factory reset.

EDIT:

For some strange reason the system img flash didn't work properly on a device i could test. Here is the workaround:

1- First of all download the TWRP from the other thread and fastboot boot it:
Code:
fastboot boot TWRP2.8.7.0-Sturgeon.img
2 - Then push the system.img in the sdcard so:
Code:
adb push system.img /sdcard/
3 - Now flash it:
Code:
adb shell
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
4 - reboot

Link:

https://mega.nz/#!rgRQHRrb!lgQCvqH-qkuqitPRRXfCad29MdmJ6ynaUHJDr0hjeLM
https://mega.nz/#!ahgjxA4R!y8Hb0CBVBRwUr0tA3HeFrrqh0ALAiMyqJu0pLsBsAD8
https://mega.nz/#!2pYVBDpA!wQJT8LDcffk7uxEmrsqna6MKWIODD-FqBO_k4Poml7g
 
Last edited:

brizey

Senior Member
Aug 6, 2011
2,451
620
0
Will try to get to it today. I am booted up on your kernel now as a test (just fastboot booted it). Will do the same to test the recovery once I get a chance.


Edit: btw...when I have pulled images before, I had always done something like

cat /dev/mtd/mtd2 > /sdcard/boot.img (or wherever the boot image is mounted).

in an ADB shell. Do these things even have an sdcard location to temporarily store the images? Just curious on how you pulled them.
 
Last edited:

brizey

Senior Member
Aug 6, 2011
2,451
620
0
return from what?
Having su installed. When you install skin1980's kernel, it uses chainfire's autoroot method, which modifies your system partition. So to make sure OTAs work, this is a way to get back to a clean system image that will pass the hash checks done by the OTA script.
 

Njzkrish

Senior Member
May 14, 2008
70
4
0
I tried this and for some reason every reboot goes straight back to recovery. Did I do something wrong or am I screwed haha. everything seems to work correctly but then just reboots to recovery.

edit:
Now I just get an icon of an android on floor with chest open haha
 
Last edited:

brizey

Senior Member
Aug 6, 2011
2,451
620
0
I tried this and for some reason every reboot goes straight back to recovery. Did I do something wrong or am I screwed haha. everything seems to work correctly but then just reboots to recovery.

edit:
Now I just get an icon of an android on floor with chest open haha
That's the stock recovery.
 

kpcheang2

Senior Member
Sep 11, 2015
345
67
0
question, did bootloader unlock flash twrp then immediately backup my watch before flash the kernel. if i restore this backup file will it get back to stock?
Thanx
If you flash the recovery (twrp) and reboot into twrp to backup then you are backing up the stock boot, system and data.

Flashing the kernel will replace the boot.img only so restoring the twrp backup prior to this will restore your stock boot, system and data. At this stage your recovery is still custom (twrp)
 
  • Like
Reactions: vinny.1967

Kingdavid7

Member
Aug 3, 2010
49
1
0
So I want to return to stock to sideload the LCB43B update. However, I'm having issues following the directions listed. The recovery img and boot img flash fine but when I try to flash the system img, I get:
Code:
target reported max download size of 63963136 bytes
Invalid sparse file format at header magi
So I follow the steps to boot into twrp and it boots fine but adb push and shell gives error no device found. I unlocked my bootloader and flashed your kernel so idk if that is causing the errors.
 

Skin1980

Inactive Recognized Developer
Nov 25, 2009
2,490
6,227
0
So I want to return to stock to sideload the LCB43B update. However, I'm having issues following the directions listed. The recovery img and boot img flash fine but when I try to flash the system img, I get:
Code:
target reported max download size of 63963136 bytes
Invalid sparse file format at header magi
So I follow the steps to boot into twrp and it boots fine but adb push and shell gives error no device found. I unlocked my bootloader and flashed your kernel so idk if that is causing the errors.
You should check your drivers
 

Skin1980

Inactive Recognized Developer
Nov 25, 2009
2,490
6,227
0
I'm uploading a zip file that can be flashed with twrp. It might restore stock system, boot and recovery so, after the flash, you should only relock bootloader anda you are good to go.

It's untested so only people that know how to restore the watch should try it.

Like i said, i dont own this watch so i can't test for you. Sorry.

https://mega.nz/#!vkBSCR4C!hZzbAMe7PZPBG88Bfm3mBi6hAfDHCpLMArIwpY6xhHc
 

juliano76

Senior Member
Jul 30, 2009
270
19
0
Sofia
Does anybody could be able to tall me what is the reason to root this watch? What are the benefits?

Sent from my SM-N920C using XDA Free mobile app
 

erikiksaz

Senior Member
Mar 18, 2010
986
209
0
Los Angeles
I'm uploading a zip file that can be flashed with twrp. It might restore stock system, boot and recovery so, after the flash, you should only relock bootloader anda you are good to go.

It's untested so only people that know how to restore the watch should try it.

Like i said, i dont own this watch so i can't test for you. Sorry.

https://mega.nz/#!vkBSCR4C!hZzbAMe7PZPBG88Bfm3mBi6hAfDHCpLMArIwpY6xhHc
Has anyone thus far tried to relock the bootloader? I usually don't unlock any of my device until using them for a couple weeks to make sure I don't have a lemon. I'm curious if it's unlocked if Huawei would check, or if their system would show it was being previously unlocked.