Root Working

hecksagon

Senior Member
Dec 15, 2010
231
119
0
Freeport, IL
Well the latest update fails when it checks /system/bin/debuggerd. Probably will fail others as well despite removing root before installing. The only way I can see getting the update now is to get a working recovery so we can do a pull of an unrooted system partition. Unfortunately I am still working on twrp and have no real experience compiling anything,
 
  • Like
Reactions: btonetbone

itechnoguy

Senior Member
Feb 11, 2010
63
40
0
Los Angeles
Would it be possible to get a copy of debuggerd from an unmodified Zenwatch (not on the current build) and push that to a modified Zenwatch to allow the update to pass the sha1 check? (Although I'm guessing that KingRoot probably modifies more files, it seems like it would be worth a try)
 

hecksagon

Senior Member
Dec 15, 2010
231
119
0
Freeport, IL
Would it be possible to get a copy of debuggerd from an unmodified Zenwatch (not on the current build) and push that to a modified Zenwatch to allow the update to pass the sha1 check? (Although I'm guessing that KingRoot probably modifies more files, it seems like it would be worth a try)
Can't seem to dump any system files without root.
 

itechnoguy

Senior Member
Feb 11, 2010
63
40
0
Los Angeles
Another idea, I took a look at the system.img dump that @btonetbone did (many thanks for that by the way), and the debuggerd_real binary has a sha1 sum that matches the one in the new OTA updater script (sha1sum: ffd78e80be9f7c1d421b73dcbf95893002b97b35), maybe that would allow the update to go through.
 
  • Like
Reactions: nethead72

itechnoguy

Senior Member
Feb 11, 2010
63
40
0
Los Angeles
Update on what happened: Using that system.img dump, I managed to clean up after KingRoot. The only two files that it actually modified in /system/bin were debuggerd (backed up as debuggerd_real) and install-recovery.sh (backed up as install-recovery.sh-ku.bak), which was immutable and basically impossible to remove from an ADB shell. I used my Linux VM to mount the img file and remove the immutable + read-only flags from various files in /system/xbin and /system/bin so that the update would complete (adb sideload can't remove the immutable flags left by KingRoot), and I sideloaded the LCA43 update.

Everything seems fine after the update (other than the new Weather app, which refuses to check for weather), but KingRoot is still there. I'm going to go through and see if it re-modifies the files at bootup, and if not, backup all the files for the next OTA.

If anyone needs a copy of the modified system.img (I can't upload this today, my home internet is much too slow), or just a list of what needs to be changed if you want to do it yourself, I can do both.
 
  • Like
Reactions: nethead72

hecksagon

Senior Member
Dec 15, 2010
231
119
0
Freeport, IL
I would love to have the file and detailed instructions of what you had to do so I can better understand how to correct this issue. Still looking at getting recovery working, just haven't had time to sit down and learn to compile. Kids are keeping me busy :).
 
  • Like
Reactions: btonetbone

itechnoguy

Senior Member
Feb 11, 2010
63
40
0
Los Angeles
After reflashing my kernel back to stock it worked like a charm. Thanks for your efforts, you saved my watch!
Glad it worked out for you!

I'm still planning on doing a short write up, but today was too busy of a day, and I have a lot of free time tomorrow to work on that.

Edit: I'm attaching the guide about how I edited the system.img to work, it does require a small amount of Linux terminal usage.
 

Attachments

Last edited:

btonetbone

Senior Member
May 15, 2008
758
253
83
I'm glad you were both able to figure out how to upgrade after rooting! I took a much more low-tech approach. I called Asus, explained that why watch wouldn't update and kept erroring (gee, I wonder why...), and they issued me an RMA and replacement. So now I've got a new watch with a pristine band on the latest update, plus a little knowledge-base in the comments above about how to fix it more properly if I root again.

Hopefully someone is able to get TWRP running and we can at least get a few tweaks/ROMs going. I'd love to help however I can, but I'm better at being a tester than a doer.
 

nethead72

Senior Member
Mar 31, 2010
59
13
0
Benton
Beware Kingroot, it works but it doesn't, not really...

Read posts more carefully, I said to myself. This may be old news. I will try the modified system.img from earlier.

Just an FYI, Kingroot corrupts your binaries if you try to remove it, even with the built in self removal tool. Because of Kingroot, I am now unable to flash OTA updates by any means. Error status 7.:confused: Works fine otherwise.

Bear this in mind if you chose to root.

TWRP may be my only way to update to 1.3 now. I can only assume Kingroot modified the partition table slightly, or moved a file, or some other some such that isn't how it should be, so it fails a check-sum. Using a 100% freshly minted stock Nexus 6. Oh yeah, my Zenwatch has an unlocked boot-loader, an dis runnign 5.1.1. 'fastboot oem unlock' method

I want to test TWRP by trying to install the 1.3 update OTA i downloaded:good:. If you feel its ready, send me the file and ill flash it. Below is a link to the latest OTA for the Zenwatch, stored in my google drive. I didn't modify the filename, this seems to be important, but don't get me to lying. ADB output is different if you change the file-name.

LZD21T to LCA43
 
Last edited: