yashsingh1/xdaforums huggingface dataset:
[Other SmartWatches] mghtymse007:
It's pretty hard to brick the device...ingenics usb tool let's you burn imgs directly to the mmc....as long as you don't screw up the boot.img location/flash config...you'll be alright.

Yeah, I've been working on the stock recovery...almost done...except having trouble with system.img. need a img of system folder from update.zip. needs to be oob, w/system permissions. Can you help?
[Other SmartWatches] geek78:
I am afraid that you need to "dd" the system from the device itself and not from the update.zip
[Other SmartWatches] mghtymse007:
Yeah, had a feeling this wasn't going to work. My Linux machine is down...can u process a DD on the system partition and post when u get so we can have a stock recovery in place?
[Other SmartWatches] geek78:
will do if i can root :)

EDIT : have you tried adb under recovery ?

---------- Post added at 05:13 PM ---------- Previous post was at 04:43 PM ----------

If someone is enouth mad to try and brick his watch :D

http://www.multiupload.nl/G2QR91831K
[Other SmartWatches] mghtymse007:
What about using yaffs2img?

According to SmartQ, recovery console is not accessible. I have tried every key combo and adb command to boot the recovery...no go. i know it's there due to it booting once from a corrupted update download. If I have burn tool config settings correct for this mobo, the recovery.img is not part of the burn cycle. Can you open/mount the recovery.img...?

---------- Post added at 08:43 AM ---------- Previous post was at 08:36 AM ----------

According to this...the watch is already rooted:

http://www.pandawillforum.com/showthread.php?23116-Install-this-APP-before-you-use-SmartQ-Z-Watch
[Other SmartWatches] geek78:
If it is yet rooted maybe a dd of the good mmc block will help you. What is the block for system ?
[Other SmartWatches] mghtymse007:
If it's rooted...I could nandroid the system partition...? Basically the same thing.
[Other SmartWatches] geek78:
Nandroid , hum, don't know ...

Here is the recovery unpacked from the 1.9 "unpacked"

http://www.multiupload.nl/EUMOJ7L13G
[Other SmartWatches] juggamonkey:
Smartqme wrote me back and said it would be 5 days before my status changed on my tracking number I'm gonna give it a week if I don't hear no change I'm gonna contact PayPal..can anyone report on firmware 1.9 ? How is it ? I cant really understand what their saying about two finger gesture or something like that could someone explain the new features? Thanks
[Other SmartWatches] mghtymse007:
Thanks...I could very well be wrong...but it looks like this is a self booting recovery.. the recovery.img does not reside in device.

Haven't updated to 1.9...Really want the earliest version possible for stock recovery...just in case an update sucks..I want to have the ability to go back.Can't believe smartQ wasn't "smart" enuf to create a way to reset from outside the os.
[Other SmartWatches] Phyxs:
I could really use some help. I received my watch today. Was still on 1.5 firmware. I connected it to a win7 pc, but all I got was the ADB interface, no mtp or mass storage. So i figured I'd just update the firmware through the phone software. Update from 1.5 to 1.6 seemed to be succesfull. But now when I want to update to 1.7 it just hangs on boot. After holding the powerbutton for a few seconds it switches off and then boots up normally but it is not updated. So now I have no way of updating. ADB reboot recovery gives same result, it just hangs on boot logo. Does anyone have any idea how to make this work again?
[Other SmartWatches] geek78:
You could boot with fastboot :

fastboot boot the_path_on_your_pc\recovery.img
[Other SmartWatches] mghtymse007:
Go to settings/about there's a firmware update option there
[Other SmartWatches] Phyxs:
Doesn't work either. Still hanging on boot logo. Tried factory reset, but same result.
[Other SmartWatches] mghtymse007:
No fastboot option

---------- Post added at 01:19 PM ---------- Previous post was at 01:16 PM ----------

1. Turn off debugging

2. Drive will mount as mtp

3. Delete update.zip

4. Download updates from smart

5 apply each update via adb
[Other SmartWatches] juggamonkey:
What about just going from 1.6 to 1.8?
[Other SmartWatches] mghtymse007:
Not supposed to do that
[Other SmartWatches] juggamonkey:
Oh alright didn't know lol
[Other SmartWatches] Phyxs:
How do I apply the update via adb?
[Other SmartWatches] juggamonkey:
Do you think u got a corrupted download
[Other SmartWatches] mghtymse007:
Adb instructions at:

http://www.smartdevices.com.cn/support/download/Z1/FirmWare/201310/24-18804.html

Put this link in chrome, and translate
[Other SmartWatches] geek78:
The best solution seems to :

Take the update.zip of your current version

Delete inside all the system folder

Edit the update script to dd the system block to /sdcard

Sign the update .zip with test key

apply the update.zip

If you need help for the script I will try to help you this week end
[Other SmartWatches] Phyxs:
Okay, so I disabled usb debugging, deleted the update.zip, then enabled usb debugging again. But now it's always recognized as mtp. I tried rebooting the watch, enabeling and disabeling debugging again but still recognized as mtp. So I just copied the newly downloaded update.zip through explorer. Then tried updating through 'settings>about>firmware upgrade' but it's still hanging on boot.
[Other SmartWatches] mghtymse007:
That is very interesting. Didn't think of that. Would be great if you could help with the script, I know just enuf to be dangerous. THX! when is your watch supposed to be delivered?
[Other SmartWatches] geek78:
2 weeks...

---------- Post added at 11:16 PM ---------- Previous post was at 11:12 PM ----------

Maybe your recovery is damaged... Without tools and an image I see only one solution

Root the device (yes, dangerous...)

dd the recovery.img from the update.zip to the right block
[Other SmartWatches] mghtymse007:
Happened to me. I as lucky tho...it booted the recovery

and from there I was able to update.

See! This is EXACTLY we need a baseline recovery. This watch will never get the developer backing it needs without fastboot, a recovery console, and the files to go with it. Lame!

Which version are you running? 1.5 still? If you execute the updated from the watch, fires it recognize the version and ask to download the update? After download and transfer...does the watch auto-execute the "accept or deny upgrade"?

---------- Post added at 02:31 PM ---------- Previous post was at 02:24 PM ----------

Sorry^^^ gotta turn AC off!

Does the phone recognize the version...does it offer to upgrade...Does it download....does it transfer...then, does the watch offer to upgrade?
[Other SmartWatches] Phyxs:
No, it's running 1.6. The watch recognizes the update.zip. But when I press ok the watch reboots and then hangs on the boot logo. If I update from the phone it recognizes the 1.6, downloads 1.7 and sends it to the watch. Then I press ok on the watch and same thing happens.
[Other SmartWatches] mghtymse007:
Go back to 1.5. Download v1.5 update.zip to your pc. Move to sd. And use watch to upgrade.

If memory serves, 1.6 was an OTA only. so, most likely it was corrupted in the transfer. The entire v1.6 update.zip file is only ~ 9mb
[Other SmartWatches] Phyxs:
Okay, I'll have a go at it tomorrow. Going to bed now. Thanks for all the help so far!
[Other SmartWatches] irkan:
If I unpacked update.zip and removed some unwanted apks from system /apps folder and zipped the whole thing again, will the new update.zip work properly?
[Other SmartWatches] geek78:
Maybe not if you not sign the zip and if you don't update the updater script ... Tell me what you want and i will do it for you ;)

I am working to make a script which will dump /system. I have a major issue : i don't know and i don't find the mouting point for /sdcard in recovery ...

Is adb able to have root ? adb shell su ...

---------- Post added at 12:37 PM ---------- Previous post was at 12:07 PM ----------

Well, found the mounting point for sdcard. So here is the zip to dump (try) system to sdcard. Rename it as update.zip and start the update.

http://www.multiupload.nl/F27GU41IDV

And of course, you do this at your own risk :D
[Other SmartWatches] das7771:
I unpacked v1.9 using 7zip. Added four apk's to /system/app and then repacked using 7zip. Did not sign zip nor did I change update script. Re-flashed with modified update.zip and the watch flash the .zip and rebooted fine.

Would removing apks be any different.? Would there then be a need to change update script since preinstalled apps are being removed. Haven't tried it yet but will be doing so shortly.
[Other SmartWatches] geek78:
Good news : we don't need to sign ;)

If you don't delete one of those files, you are safe :

package_extract_dir("system", "/system");

symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");

symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");

symlink("mksh", "/system/bin/sh");

symlink("readbattery", "/system/bin/creat_curve",

"/system/bin/update_curve");

symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",

"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",

"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",

"/system/bin/getevent", "/system/bin/getpartionblkcount",

"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",

"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",

"/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill",

"/system/bin/ln", "/system/bin/log", "/system/bin/ls",

"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",

"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",

"/system/bin/nandread", "/system/bin/netstat",

"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",

"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",

"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",

"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",

"/system/bin/sendevent", "/system/bin/setconsole",

"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",

"/system/bin/start", "/system/bin/stop", "/system/bin/sync",

"/system/bin/top", "/system/bin/touch", "/system/bin/umount",

"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",

"/system/bin/wipe");

set_perm_recursive(0, 0, 0755, 0755, "/system");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 2000, 04755, "/system/bin/catkmsg");

set_perm(0, 3003, 02750, "/system/bin/netcfg");

set_perm(0, 3004, 02755, "/system/bin/ping");

set_perm(0, 2000, 06750, "/system/bin/run-as");

set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");

set_perm(0, 0, 0755, "/system/etc/bluetooth");

set_perm(0, 0, 0755, "/system/etc/bluetooth/bt.sh");

set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");

set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

set_perm(0, 0, 06755, "/system/xbin/librank");

set_perm(0, 0, 06755, "/system/xbin/procmem");

set_perm(0, 0, 06755, "/system/xbin/procrank");

set_perm(0, 0, 06755, "/system/xbin/su");

set_perm(0, 0, 0755, "/system/xbin/tcpdump");
[Other SmartWatches] das7771:
I am no expert when dealing with this, but according to the script I see nothing referencing /system/app. So I assume since this is the case we can add/remove anything from the /system/app folder update script is fine.

I also see a line setting permissions for su in the xbin folder, dammit! we need superuser access.
[Other SmartWatches] geek78:
you can install supersu.apk and see if he is able to locate su ....
[Other SmartWatches] irkan:
I was poking in the sdk documents and I found something about busybox and su

Anyone can get the gist of it?

华恒智器手表SDK程序安装指南
1.在手机端安装华恒Zwatch手机助手，在一同提供的包内有该程序，也可上智器的官网进行下载安装，下载地址：http://www.smartdevices.com.cn/support/download/Z1/
ex:adb install ***.apk
2.手表端安装手表同步通信程序
安装步骤
(1).adb push 手表端同步程序.apk /sdcard/*
(2).adb shell;su;mount -o remount,rw /system;busybox cp /sdcard/手表端同步助手.apk* /system/app/IndroidSyncWatch.apk
3.打开手机与手表端蓝牙，通过Zwatch手机助手进行配对同步，点击Zwatch手机助手中发送提醒功能，测试通信是否连接。
4.运行demo程序
5.建立自己的android工程，导入smartdevices_sdk.jar
[Other SmartWatches] geek78:
This how install an apk with adb.

Have you tried what I was suggesting before

Adb shell su?
[Other SmartWatches] pashka79:
I discovered how to enter in to Usb boot driver mod

power off yours watch after that press key and ater that enter usb cable to pc

Probably may it help to unbrick mine and yours watch
[Other SmartWatches] mghtymse007:
I just got a second confirmation that this watch is rooted. Gonna test it with ES, see if I can mount r/w...but first, I think I'll try to use the dd script...see if i get a usable img.
[Other SmartWatches] irkan:
sorry I dont have the device yet, I only have the SDK, .. the device I ordered is still shipping
[Other SmartWatches] mghtymse007:
This driver is the Ingenic direct burn utility only...do not play with, unless you really know what you're doing...scary utility if you don't understand the setup.
[Other SmartWatches] das7771:
I have used root explorer and ES file explorer and both say you need root privileges when trying to rename apks in /system/app. Also I have tried installing SuperSU and the binaries try to update for the first time, it just gives a message that binaries failed to update and the system is not rooted.
[Other SmartWatches] geek78:
As adb seems to have su rights and as you can build your own update.zip it will take few minutes to root the device. Il will do it when my watch will arrive
[Other SmartWatches] mghtymse007:
Interesting...can't mount r/w. yeah, I guess the information that this is a rooted device is bunk. Weird since this last bit of info came from a co-worker ...not the web.....? So tired of this rumour mill...Aren't the oem's required by GPL to provide access?
[Other SmartWatches] geek78:
With adb?
[Other SmartWatches] irkan:
The devices that have root access might be developer devices, not the ones bought from the english site, .. did your co-worker order one when he requested the SDK from smartdevices ?
[Other SmartWatches] shammc:
I received mine a couple of dats ago and upgraded to 1.9 firmware.

All working ok just not had the time to play with it so I have decided to sell it on.

If anyone in the UK is after one I will send it out next day delivery.

I still have my Sony watch to tinker with until my Omate arrives .
[Other SmartWatches] irkan:
Any particular reason you wanna sell it? did you have to pay VAT / customs? other than shipping fees.

If I knew you would sell it I would have bought it from you, but mine is already shipped :rolleyes:
[Other SmartWatches] mghtymse007:
Nah, he got it from a vendor...but he is talking with ppl that are involved with US rollout. No English SDKs available, no idea if/when that will be available. But i can ask....???
[Other SmartWatches] irkan:
Please do if you can, I have access to the Chinese SDK but cant do sh** with it cuz even though i was able to run demo apps successfully, the output messages are all in Chinese
[Other SmartWatches] mghtymse007:
Both..adb and ES...but it is possible to push/pull, to and from /system/app....?
[Other SmartWatches] shammc:
Got it straight to me with no customs charge so worked out well.

Reason I'm selling I think I prefer the Sony watch as the notifacations are excellent on Sony .maybe just as good on this but I 've not got time to mess about and more importantly I have an Omate coming and also I backed the hot watch which should be here in Jan 14
[Other SmartWatches] geek78:
all /system is RW or only some folders ?
[Other SmartWatches] mghtymse007:
Lol...totally get it...big waste of time...Rosetta for Mandarin, maybe...i was given the day off...so I'll ask on Monday...

---------- Post added at 10:36 AM ---------- Previous post was at 10:21 AM ----------

Out now...will check when return. I am going try to get my Linux sys back up today...totally stifled with my old XP 13" Laptop..
[Other SmartWatches] das7771:
I think although most of android code is open source the hardware that it is installed on is not. So by technicality some code does not have to be shared because it is not part of the GPL. Or something to that effect.
[Other SmartWatches] Phyxs:
Did not work either. Just won't boot recovery.
[Other SmartWatches] mghtymse007:
The recovery.img seems to be self-executing...the image itself, is not on the mmc. Nor a bootloader...DL the unpacked recovery image (^^^previous post by "geek78")...take a look at the initiatation files...
[Other SmartWatches] Phyxs:
This is from the 1.9 updater-script:

package_extract_file("recovery.img", "tmp/recovery.img");

write_raw_image("tmp/recovery.img", "recovery");

show_progress(0.100000, 0);

unmount("/system");

So I think it schould be on the mmc, but please correct me if I'm wrong, still learning about how this stuff works.
[Other SmartWatches] vaccdroid:
Will not be getting this watch for a few weeks but for those who have it , how does it fit on the wrist. I have the first Sony Smartwatch and its fits nice as its a small watch. (my issue with that watch is that it disconnects the Bluetooth all the time) is this watch big on the wrist like the pebble or the gear ? . Why I wouldnt buy those. way too big . That may make me return it if it is. I don't want a thick watch on my wrist that looks like I am **** Tracy . Thanks.
[Other SmartWatches] mghtymse007:
The s2122b mobo burn config shows only three files in the burn cycle:

Mbr-xboot.bin

Boot.img

System.img

That's it.
[Other SmartWatches] juggamonkey:
My watch will be here Monday or Tuesday so excited smartqme was nice to refund 10 bucks for shipping delay problems of a week wait so props to them .

I totally have faith we will figure all this out ..heck maybe we chip in and buy one for a good developer or somebody of some sort and let them work magic just throwing my opinion out there . also thanks to everyone who has got us as far as we are now which isn't really a lot with the recovery and su problems but hey every bit if effort counts ... android community freaking rules ive been around since the HTC g1 and have no plans of leaving anytime soon
[Other SmartWatches] irkan:
I highly doubt that you will find a smartwatch now that doesnt make you look like **** Tracy, as IMO, the current smartwatches are physical manifestation of this dream haha

Joking aside, check the youtube videos of z Watch, .. it will give you an idea about its size

---------- Post added at 05:06 PM ---------- Previous post was at 05:05 PM ----------

Can anyone with the watch post the output after running the following commands?

adb shell
cat /proc/partitions
[Other SmartWatches] shammc:
There is an update available for the android zwatch app. New version number is 1.4.2 .I can't find a change log does anyone know what has changed?
[Other SmartWatches] erlendsw:
$ cat /proc/partitions

major minor #blocks name

179 0 3784704 mmcblk0

179 1 524288 mmcblk0p1

179 2 1048576 mmcblk0p2

179 3 30720 mmcblk0p3

179 4 2154496 mmcblk0p4
[Other SmartWatches] irkan:
1 Optimized Bluetooth connectivity operational stability

2. Fixed phone records may not be the problem of synchronization

3 amendment may choose to notify the application when the question of error

4. Fixed unbind program may crash

5. Fixed some dual card dual standby mobile phone can not receive calls to remind question

6. Fixed system upgrades sometimes get less than the current version of the problem

---------- Post added at 07:52 PM ---------- Previous post was at 07:49 PM ----------

Thanx, can you run the following command as well?

adb shell
ls -al /dev/block/platform/
[Other SmartWatches] erlendsw:
$ ls -al /dev/block/platform/

drwxr-xr-x root root 2013-11-17 16:39 jzmmc.0
[Other SmartWatches] irkan:
excellent

can you run this command as well

adb shell
ls -al /dev/block/platform/jzmmc.0/

and if there is a folder called "by-name" in the output run the following command

ls -al /dev/block/platform/jzmmc.0/by-name
[Other SmartWatches] erlendsw:
$ ls -al /dev/block/platform/jzmmc.0/

drwxr-xr-x root root 2013-11-17 16:39 by-num

lrwxrwxrwx root root 2013-11-17 16:39 mmcblk0 -> /dev/block/mmcblk0

lrwxrwxrwx root root 2013-11-17 16:39 mmcblk0p1 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2013-11-17 16:39 mmcblk0p2 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2013-11-17 16:39 mmcblk0p3 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2013-11-17 16:39 mmcblk0p4 -> /dev/block/mmcblk0p4

No by-name, but there is a by-num:

$ ls -al /dev/block/platform/jzmmc.0/by-num/

lrwxrwxrwx root root 2013-11-17 16:39 p1 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2013-11-17 16:39 p2 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2013-11-17 16:39 p3 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2013-11-17 16:39 p4 -> /dev/block/mmcblk0p4
[Other SmartWatches] mghtymse007:
I have found that 1.4 works far better than the upgrade. Every time I configure the tool, the usb_boot.bin corrupts and have to reboot XP...use 1.4...I am pretty sure that the change has to do with the JZ4780...it requires a different config that is now new in the ini folder.
[Other SmartWatches] timtop:
root the watch

I have no luck rooting the watch.

I notice from the update.zip file structure that the recovery is probably a version of CWM. I have seen the recovery a few times when update failed, and it looks like CWM.

(1) I tried using Chainfire's superSU CWM install (by renaming the zip to "update.zip" to fool the watch firmware update). It did not work.

(2) I also tried replacing the su binary in the 1.9 firmware with su binary from Chainfire and repack the FW. When I install superSU apk, I could not get root (ask for binary update but "installation failed").

Looks like the su binary for MIPs is different from the more popular ARM processors.

I found this from a MIPS tablet thread about rooting:

http://xdaforums.com/showpost.php?p=29162123&postcount=471

I tried to follow the instruction, but for some reason I cannot copy ("cp") apparently because there is no "sh" in the firmware!!

Anyone has any idea on how to root this watch yet?
[Other SmartWatches] mghtymse007:
Can you try to do a "dd" of the system partitionand post it? I think i have Ingenic's burn tool figured out. If I can get an img of the root...we will have a stick recovery in place...and maybe, just maybe we can do some of the mods in yaffey.
[Other SmartWatches] irkan:
check the below, can you install parted on the watch?

http://xdaforums.com/showthread.php?t=2450045

The system is definitely one of the below blocks, and if you can install parted you can get your dump

lrwxrwxrwx root root 2013-11-17 16:39 p1 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-11-17 16:39 p2 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-11-17 16:39 p3 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-11-17 16:39 p4 -> /dev/block/mmcblk0p4
[Other SmartWatches] mghtymse007:
Nothing would surprise me at this point with this thing...it may just work...the first files, xboot/boot, bin/img are burned oob...but system/ubifs is configured to burn as an image.
[Other SmartWatches] Deadbeef:
If I receive my watch this week, do I have to upgrade to every FW version until I reach the latest or can I immediately upgrade to the latest?

There was a comment in this thread that someone took a big upgrade step and got into trouble.

I would also appreciate a list of "to do/installs" when you first prep the watch and a list of working/workable apps.

This would be nice, so others wouldn't have to sift through every page.

A Tips&Tricks list is probably to early to ask for?

Thanks from an apprentice....