yashsingh1/xdaforums huggingface dataset:
[Other SmartWatches] silver-alx:
Data partitions are different. I mounted system and data to image files both. I can try real hard reset without wiping real system - completely virtual machine ))

With your method of modification it's impossible to edit smali code but strings is ok. BTW - wearsettings generates errors in this case after hard reset anyway.

And last )) You have to run your mount script from "load_all_props_action" trigger section before reading props.
[Other SmartWatches] Neuer_User:
GREAT!! Like "multirom" :D :D

Would be interested to see, how you coded that. So, do you mount over the full Data partition, or only parts?

So, the code is checked on the signature then, I guess? Pity. But for simple translation, it would be sufficient. I have WearSettings running with the translations from the English version :D

Thanks, will move it to that place. :) Is this the same place you load your data image?
[Other SmartWatches] silver-alx:
I renamed data mountpoint to xdata, mount it and immediately mount my image as data mountpoint.

No, we have to mount data on the early stage. I use on-fs trigger in init.watch.rc :good:
[Other SmartWatches] Neuer_User:
Hmm, getting errors recompiling SystemUI:

I: Using Apktool 2.2.1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: Failed to generate resource table for split ''
W: /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/res/values/bools.xml:29: error: Error: No resource found that matches the given name (at 'config_enableLockScreenRotation' with value '@android:bool/config_lockDayNightMode').
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3035240255324352130.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-66, -F, /tmp/APKTOOL3543388749846348785.tmp, -0, arsc, -0, arsc, -I, /home/michael/.local/share/apktool/framework/1.apk, -S, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/res, -M, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3035240255324352130.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-66, -F, /tmp/APKTOOL3543388749846348785.tmp, -0, arsc, -0, arsc, -I, /home/michael/.local/share/apktool/framework/1.apk, -S, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/res, -M, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3035240255324352130.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-66, -F, /tmp/APKTOOL3543388749846348785.tmp, -0, arsc, -0, arsc, -I, /home/michael/.local/share/apktool/framework/1.apk, -S, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/res, -M, /home/michael/Technisches/Huami AmazFit/tests/modded system decompiled/priv-app/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more

WearLauncher, WearSettings and some other apps I tried, worked fine. Any idea, what the problem is?
[Other SmartWatches] Pi3rluigi:
Can you give an answere to this question?

Thanks in advance

https://xdaforums.com/showthread.php?p=70560566

Inviato dal mio D6633 utilizzando Tapatalk
[Other SmartWatches] silver-alx:
Did you install framework-res.apk to apktool?
[Other SmartWatches] Neuer_User:
Yes. And it can recompile all other apks that I tested, except SystemUI.
[Other SmartWatches] silver-alx:
Did you try to compile unmodified systemui? What tool did you use to deodex?
[Other SmartWatches] Neuer_User:
I made it very easy. I do not touch the odex files yet:

- decompile app with apktool (-s = no sources)

- copy modified res files into decompiled directory

- recompile directory with apktool

- copy original signatures into apk

This works so far for all apps (except SystemUi). Not sure, if I need to change something in SystemUI. When all apps are modified, the watch looks already pretty nice. (Currently system 1.2.3 with English translation from 1.3.0n). Seems to be working (even without changed SystemUI).
[Other SmartWatches] Neuer_User:
As a small update: A user send me a dump of 1.2.5a. As I started to write scripts (which are still very basic, though), I was able to translate the 1.2.5a version to English and load it on my watch in a couple of minutes. Pretty nice. (Even without SystemUI).

I will test this for a couple of days and then probably publish it for testing. I will then open a GitHub / GitLab project, in which people can help translating.

Still a lot to do, but it looks really nice already. Pity only that I know so little about Android development. So I need to test and try. (Thanks [MENTION=2561885]silver-alx[/MENTION] for your help!)

P.S.: I like the new watchface.
[Other SmartWatches] Pi3rluigi:
I renew my effort as beta tester, I'm on 1.2.5 already

Inviato dal mio D6633 utilizzando Tapatalk
[Other SmartWatches] Neuer_User:
Thanks, I will come back to you. :good:

The Chinese version is really so much better than the PACE. It's incredible. Especially the watchfaces and the customizations it allows. Now, with all this translated to English! Very nice. :D

Please give me a couple of days, and I will prepare and publish a test version that can be used on the watch with NO FLASHING at all. (So, no risk of bricking the watch.)
[Other SmartWatches] Pi3rluigi:
I just have that problem with Bluetooth /WiFi low power, that I think isn't hardware related. Hope on Friday will be released something that fix it!

Fingers crossed

Inviato dal mio D6633 utilizzando Tapatalk
[Other SmartWatches] silver-alx:
Can you share the dump?

PS. I resolved signing troubles by resign all apk-s with my own key. I boot a full deodexed rom with all files signed properly.
[Other SmartWatches] Neuer_User:
Sure, here it is (all credits and thanks for the dump goes to [MENTION=520424]lordlynx[/MENTION] ):

https://mega.nz/#!VkZTFRja!CnY4iZUggjJhXc2zZa0A5cSsVgE3icB9XrGlES5XMsI

Great to hear. Very nice work.

I also have a deodexed rom here, but haven't done much with it yet. I will focus in providing the English translated Chinese version. Maybe we can then extend it to a full custom rom. (Depending on what you plan to do, of course).
[Other SmartWatches] silver-alx:
Thanks a lot!

Do you know that CN sports app uses pictures with China text built-in?
[Other SmartWatches] Neuer_User:
Yes, that's why I copied over also the "drawable-hdpi-v4" (from the English PACE) into the new folder "drawable-en-hdpi-v4". Seems to be working, but honestly, I haven't done a very long test yet.
[Other SmartWatches] drbourbon:
decompiling AmazfitWeather source code

Question by an android coder but absolute modding newbie: I'd like to explore ways to develop custom apps for the amazfit watch. May any of you share some directions on how to decompile existing apps, like AmazfitWeather? I am getting this error:

java -jar baksmali-2.1.3.jar -a 22 -x AmazfitWeather.odex -d framework -o AmazfitWeather/smali
Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException: Unsupported oat version: 45
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:147)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:78)
at org.jf.baksmali.main.main(main.java:292)

Many thanks in advance
[Other SmartWatches] silver-alx:
But watchfaces use its own assets dir and get files by code.
[Other SmartWatches] Neuer_User:
Ah, good to know.

One more question: Do you know what initiates an "app optimization" when the watch starts? I have that every time, so I guess, it is something on the changed system.img that gets detected and initiates an app optimization (odexing).

I have to add, that I did not touch the odex files at all. So they are unchanged. Could it be timestamps on the apks and the odex files in the image?
[Other SmartWatches] f@bien:
Text to speech maker for voice prompt feature. Chinese voice with english firmware, but with TtSMaker, we can do what we want !
[Other SmartWatches] Neuer_User:
If you want to translate the mp3s, feel free to do so. I can include them in the translated rom.
[Other SmartWatches] f@bien:
Let's go ;)
[Other SmartWatches] Neuer_User:
I've posted a pre-release version here: https://xdaforums.com/smartwatch/other-smartwatches/rom-pacefied-amazfit-huami-amazfit-t3539431
[Other SmartWatches] Neuer_User:
[MENTION=2561885]silver-alx[/MENTION]: Did you notice the file "/sbin/script/hardware_adapter.sh", which gets called by "init.watch.rc"?

It remounts system and data partition. So, we better adapt the remount commands there.
[Other SmartWatches] silver-alx:
Yeah... I edited it to remount partitions properly
[Other SmartWatches] Neuer_User:
Good.

Do you have any hint on what initiates the "app optimization" process? I saw in the source code of the package manager that there is a "system updated" detected signal that initiates the "app optimization". You know how the system detects the "system updated" state?
[Other SmartWatches] silver-alx:
Sorry, I didn't dig so deep. The ART of the watch is very sensitive it looks on timestamp and checksum and cert of the file. But when I replace a single file from fully deodexed ROM the system recompiles only one file.
[Other SmartWatches] Neuer_User:
Yeah, that seems to be the normal process, especially as you probably have no odex files, so they need to be generated.

In my case there are, however, the original odex files, and the package manager clearly states that a "system update" was detected and a full optimization is started. I am looking for what the trigger is that this "system update" is detected...
[Other SmartWatches] silver-alx:
Digital sign stored inside apk file. It seems to me the system thinks that it was resigned.
[Other SmartWatches] iznogoud!:
english voice speech

Thanks for this job.

I just want to notice that i find the voice speech somewhat slow. Is it due to the mp3 files or to the code that call the various files tobuild a whole sentence ?
[Other SmartWatches] Beleriand:
There are pauses of 0,1 seconds on the beginning and 0,7 seconds on the end of each file (see image of the word "zero") but pauses have to be done by the watch software, not by the file.

That's why the voice is so interrupted.

So practically every file has to be redone. Shortening would not be a problem but there is also that issue that all the files for units should be plural not singular as most of the time you have kilometers, seconds, minutes, hours...

And "already walk" should be "already walked" and "already run" "already ran"

So you need the TTS-software Fabien used to create new files.

The watch also says "ten one kilometer" instead of eleven kilometers. (same with 11,12,13....) But i am not sure if this isn't a software problem as there are files for each number up to 100.
[Other SmartWatches] iznogoud!:
Thanks [MENTION=2554160]Beleriand[/MENTION] for this info.
[MENTION=2750664]Neuer_User[/MENTION], is it possible to get voice files from 1.3.1 ROM and put it in PACEfied ?
[Other SmartWatches] Neuer_User:
Yes, possible. Does 1.3.1 have English voices? 1.3.0 only had Chinese
[Other SmartWatches] manuelhica:
[MENTION=2750664]Neuer_User[/MENTION] What do you think about a Pacified based on Pace version instead of the Chinese one? My main problem is with Strava. I cannot synchronize with Strava on the Chinese version (I am on IOS). It is possible sync with strata on the Chinese (Pacified) version with an iPhone?
[Other SmartWatches] Neuer_User:
I don't know much about the syncing stuff. I know there are some people who sync with Strava and mifit.

The pace firmware is updated only very rarely and typically far behind the Chinese version. Therefore I will stay with the Chinese version.
[Other SmartWatches] manuelhica:
So, the Pace firmware hasn't the voices in english? I'm going crazy cause installed the Pace firmware on the chinesse and have the voices in chinesse... Now I am on the 1.3.1m and the voices in chinesse, so the firmware didn't change the voices... Am I right? Btw, someone with iPhone can sync with strava on the Pace firmware???
[Other SmartWatches] Neuer_User:
Just decompiled 1.3.1m and it indeed still seems to have the Chinese voices.
[Other SmartWatches] Beleriand:
Do you see a way to integrate voice files of different languages and switch between them like the text translations?

I also wonder what the purpose of these additional h_10.mp3 to h_19.mp3 files is. They just have the same spoken numbers. At least in Fabiens version.
[Other SmartWatches] iznogoud!:
Thanks for putting on gitlab.

It seems 1.3.1 has still chinese voice :crying:

So I will continue to edit PACEFied voice files to remove useless blanks.
[Mogul, XV6800 General] bizuca:
1- How can the volume be increased,I mean with some sort of hack or software download ?

2- I downloaded a cab so I could watch youtube,but when windows player starts,a message pops up saying "corrupt file" or something !!! Do you guys know which cab file is the right one for youtube ?

Thank you
[Mogul, XV6800 General] leetsauce:
Sorry dude, you're in the wrong forum.

Try here: http://xdaforums.com/forumdisplay.php?f=373

But I can answer your questions anyway.

1) Use the slider on the left side of the phone. This apparently works no matter which application you're in.

2) I'm assuming you downloaded the TCPMP+FlashBundle cab. You need to run TCPMP, go to settings, and associate the player with the MMS protocol.
[Mogul, XV6800 General] bizuca:
Thanks,

I know about the slider,but still when I had a Sanyo MM 9000 the speaker was 10X louder then this one here.:mad:

Second, I get the Youtube working thanks.:)
[General Questions and Answers] anildavis:
Iam using Dream11 app pro version.. and i will get money for each downloads and registration. but only one time we will get reward for this after that they will show 'This device is already registered".. but after doing factory resetting, we can use this same app without that error code.. is there any option to reset that app without doing factory reset...

search 'Dream11 pro app'
[General Questions and Answers] tys0n:
My guess is that it stores your android id, which probably changes with a factory reset. You could try to change it manually with app instead of reset the whole device. It may work.

Skickat från min SM-A310F
[General Questions and Answers] anildavis:
how to do that?

How to do that manually? i tried clear data option, and uninstalled but then also after installation it come like earlier
[General Questions and Answers] tys0n:
Sorry I forgot to mention that you'll need root to change it.

Device ID Changer, Titanium Backup

Just two examples of apps that can do it.
[General Questions and Answers] anildavis:
Thanks a lot sir...

my mobile already rooted.. and i done the job.. your apps are awesome.. the method is working now....

thank you so much....

i have one another doubt too.. Iam from India.. is there any shortcut to get OTP code from mobiles? virtual numbers?
[Mi 3 Android Development] thinhx2:
here: https://drive.google.com/file/d/0B_1n-AjklZSLOTlMUlR6N05aczQ/view?usp=sharing
[Mi 3 Android Development] reality1234:
You sir are on fire:)
[Mi 3 Android Development] thinhx2:
I'm in bed
[Mi 3 Android Development] thinhx2:
I think this rom need flash via fastboot
[Mi 3 Android Development] thinhx2:
hello
[Mi 3 Android Development] vishal24387:
Flashing via fastboot is not a good idea.
[Mi 3 Android Development] thinhx2:
done

big thank to Shivam Kumar Jha help me fix this bug
[Mi 3 Android Development] thinhx2:
new build is up
[Mi 3 Android Development] thinhx2:
@%--thbb
[Mi 3 Android Development] thinhx2:
Update

New build is up,check page 1
[Mi 3 Android Development] latifdnb:
ThanksView attachment 4178036View attachment 4178037View attachment 4178039
[LG G5 Questions & Answers] AhmedYD:
Recently i manually flashed the kdz of nougat on my h860ame and i've had the battery draining faster than MM, so i was thinking of factory reset

How can i backup every little thing on my phone to the pc so i can restore them again including apps data ? LG Bridge says that i need to have 15gb of free space on my phone in order to backup that's crazy

Any suggeations please?
[LG G5 Questions & Answers] AhmedYD:
UP
[LG G5 Questions & Answers] mass/cls/:
Because you can't root your phone as yet I believe you cannot use Titanium backup to backup your apps and app data (someone correct me if I am wrong), you can try the free backup app called Helium, you can find Helium on the play store.

I have never used the program before so make sure to test it out first and make sure it works as it claims before wiping.

Another thing to note is that it will require PC software which can be downloaded from clockworkmod.com for Windows Linux and Mac.
[LG G5 Questions & Answers] AhmedYD:
Thank you , yeah if i could use titanium backup it would be so easy

I'll try that Helium thanks
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PrincE..:
If there is any ROM developer free plz port some good ROM for redmi 3s/prime also. The ROM development of redmi 3s device is very slow.:( Its kernel source has been released but still there is not any stable rom is available.

Redmi 3s/prime xda link https://xdaforums.com/xiaomi-redmi-3s
[Xiaomi Redmi Note 3 Guides, News, & Discussion] mayank..:
Yes please and also need some recoveries like philz ( philz if possible)
[Xiaomi Redmi Note 3 Guides, News, & Discussion] adinkwok:
Hey guys, these sorts of threads won't lead to any substantial progress. Devs are limited to the devices that they have, one cannot just choose to develop for a device at will, without a device. I am closing this thread as it is pointless. It's never too late to start learning, how about giving it a shot yourselves? :fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] Krid86:
Hi,

I now read 10h Threads, searched with google, but i can't find a Solution. I have a HTC One M7 which is bircked after the last update of Vodafone. I can enter Bootloader and the phone starts in Storage Encryption Mode, but i can't unlock the bootloader, can't start Recovery with adb, RUU.exe does not work now i have no more idea how i can fix the problem.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.0000

(bootloader) version-baseband: 4T.35.3218.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 7.18.161.51

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: ------------------

(bootloader) imei: -------------

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: VODAP102

(bootloader) battery-status: good

(bootloader) battery-voltage: 4058mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-7661b1d7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Maybe you have an idea?
[One (M7) Q&A, Help & Troubleshooting] alray:
flash the 7.18.161.51 ruu.zip

https://www.androidfilehost.com/?fid=529152257862665225

using instructions from here

https://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

Don't forget to ask your question in the q&a section next time (not in the general section) see sticky thread "read before posting"
[One (M7) Q&A, Help & Troubleshooting] Krid86:
Thanks for fast reply, problem is, when i try htc_fastboot oem rebootRUU , the phone just restarts.

When i boot into recovery, it takes much time, then it starts with some missing files and failed to mount /data error.
[One (M7) Q&A, Help & Troubleshooting] alray:
When you tried to unlock the bootloader, you were able to get the token but once you've flashed the Unlock_code.bin, the phone just restarted to a still locked bootloader?
[One (M7) Q&A, Help & Troubleshooting] Krid86:
Right, i get the question, if i really want to unlock ,confirmed it, then the phone just restarts "normally" with locked bootloader.

I also tried to enable debug mode with a workaround, but when i restart , the settings are lost again.
[One (M7) Q&A, Help & Troubleshooting] alray:
Phone just restarting when using "fastboot oem rebootRUU" and not getting the unlock after "fastboot flash unlocktoken Unlock_code.bin" are 2 typical symptoms of a defective eMMC. fastboot commands requiring to read the emmc will works fine e.g "fastboot getar all". commands requiring to write on the emmc will fail e.g "fastboot flash unlocktoken Unlock_code.bin" or "fastboot oem rebootRUU".

Wouldn't be surprised to see a lot of errors from your "fastboot oem dmesg" and "fastboot oem last_dmesg" output.

Welcome to the infamous blown emmc club
[One (M7) Q&A, Help & Troubleshooting] Krid86:
Mh, i thought The same first, but i read of many users with the same Problem and the same OS Version, this cant be a fluke...
[One (M7) Q&A, Help & Troubleshooting] alray:
Nothing more can be done, without access to RUU mode and bootloader stuck in a locked state... nothing can be flashed.
[One (M7) Q&A, Help & Troubleshooting] KARIM9377:
Try with Ubuntu maybe can see the partitions and can unlock bootloader than flash TWRP

---------- Post added at 01:17 AM ---------- Previous post was at 01:15 AM ----------

Did m7 give you QHSUSB DLOAD some time on PC
[One (M7) Q&A, Help & Troubleshooting] SnoopHTC:
Stock RUU

Hello, Thanks a lot !!!!! :good::good:
[Honor 5C Questions & Answers] Mike_Wasawsky:
How to remove "Your device has failed verification and may not work properly"?

Hi everyone.

Does anyone know how to remove this message before the telephone boots?

It boots with no problem and I can use it normally, but it's there every time I turn it on or reboot it.

This a image from my Honor 5c:

Thanks!
[Honor 5C Questions & Answers] DRUGER:
Unlock bootloader once again!
[Honor 5C Questions & Answers] Mike_Wasawsky:
It worked! Thanks Druger!
[Google Pixel Questions & Answers] milleirish:
I have a rooted Pixel and was wondering if there is a mod to turn up the volume on all alerts, ringtones and while watch movies. The alerts are really low and I cant hear them sometimes.
[Google Pixel Questions & Answers] wkw84:
you could try tasker (or any other automation app) to automate the process.

set it so that when you open the app for movies, it will automatically set your alerts to the desired volume
[Google Pixel Questions & Answers] milleirish:
Is tasker in the app store.
[Google Pixel Questions & Answers] wkw84:
i can't post links yet. search "tasker" in the play store. it costs $2.99, but there are alternatives that are free, albeit less functionality