Xiaomi Huami Amazfit - export data - Amazfit

Hi guys,
in the Amazfit community we are making steps forward thank to some special users like 1immortal and Neuer_User on the side of rooting and language fix, but these is still an enormous issue with this wonderful watch that is the sync problem!
The watch should pair with the Amazfit app and sync the data with Strava (US edition) of Mifit (cn wersion), but in my experience both are buggy!
Following the work done by Mifit users (xmxm first) i'm trying to export the sports data directly from watch to un universal data format like gpx/tcx or othes, so I made some trials but unfortunately I'm a good android/windows users but I'm not a developer , so I'm going to provide the gathered information for someone who have the experience.
Prerequisites: adb working, DB browser sqlite (or similar) installed; Android Backup Extractor, winrar or similar
Here is my way to export data form Amazfit watch:
- connect amazfit to pc
- adb backup -f /export_data.ab -noapk com.huami.watch.sport
- java -jar abe.jar unpack export_data.ab export_data.tar (abe is android backup extractor)
- extract the tar file using winrar
- navigate to export_data\apps\com.huami.watch.sport\db folder and open sport_data.db using DB browser
- go in browse data, select the "heart_rate" table and export in csv format (remember to define the new line character)
Following this you will have a txt file with all the information of your activities that should be imported in web pages and apps
:good:
Should be possible create a small app to extract/unpack/format the db in tcx format that could be imported in strava/runtastic/etc using a software like SymcMyTracks
Any help will be welcome

Did you get any tracklog information out of the watch? I really like the watch but without GPX export it is useless for me and i will continue using my smartphone with the Sportractive app.

Beleriand said:
Did you get any tracklog information out of the watch? I really like the watch but without GPX export it is useless for me and i will continue using my smartphone with the Sportractive app.
Click to expand...
Click to collapse
GPX file you can download from Stravia webpage if you have synced your watch.
Just push the Actions button (wrench) under your activitie.

The tracklog is saved together with the heart log in the sport_data.db but must be modified to be imported in other software

rihokirss said:
GPX file you can download from Stravia webpage if you have synced your watch.
Click to expand...
Click to collapse
No i can't because i do not upload any personal activity data to any webpage. That's why i use Sportractive. No upload/share/account login/advertising mail bull****.

rihokirss said:
GPX file you can download from Stravia webpage if you have synced your watch.
Just push the Actions button (wrench) under your activitie.
Click to expand...
Click to collapse
Strava work sync only AmazfitPace but AmazfitWatch(Chinese)
sync only Mifit-Mydong and no export GPS another aps and web

The different sync is due to the amazfit app, not to the firmware version. The app from play store sync with strava, the chinese app sync with mifit, but is you follow these steps:
1 amazfis cn and pair and sync
2 mifit app and sync
3 amazfit playstore
4 strava
Using always the same user, then you will sync with mifit and strava
My actual scope is to export the data from watch or app into txt file (done) and then convert to tcx\gfx

pieralle said:
The different sync is due to the amazfit app, not to the firmware version. The app from play store sync with strava, the chinese app sync with mifit, but is you follow these steps:
1 amazfis cn and pair and sync
2 mifit app and sync
3 amazfit playstore
4 strava
Using always the same user, then you will sync with mifit and strava
My actual scope is to export the data from watch or app into txt file (done) and then convert to tcx\gfx
Click to expand...
Click to collapse
Hi, is this guide still working? i tried it but i failed because i dont know how to use and instal those programs. only think i have working is adb. I dont know how to use java etc... I had pairing with mifit and strava but i lost it because i was in need of reflash my watch and i cant pair it again so i am looking around for a way to export my activities for endomondo but your guide is too much for me

pieralle said:
The tracklog is saved together with the heart log in the sport_data.db but must be modified to be imported in other software
Click to expand...
Click to collapse
Have you been able to understand the data structure?
I might be able to install a simple method to get access to sport_data.db in my rom.

as i already mentioned in the pacified-thread (maybe not the best place to do so ), do you think there may be a solution to import data like sleep and steps from mi account back on watch, as resetting the watch only results in restored activities!?

Neuer_User said:
Have you been able to understand the data structure?
I might be able to install a simple method to get access to sport_data.db in my rom.
Click to expand...
Click to collapse
The data structure looks quite simple, in the db file there are 8 tables each containing some info; in one we have metadata (unito of measure cn_EN), in heart there are info of pulse linked to the activities, then we have location data (GPS), and running per individual or km (the whole running history)
In attach some screenshot

alexinc said:
as i already mentioned in the pacified-thread (maybe not the best place to do so ), do you think there may be a solution to import data like sleep and steps from mi account back on watch, as resetting the watch only results in restored activities!?
Click to expand...
Click to collapse
The procedure creates a backup of the "com.huami.watch.sport" that contains the db files, so if you have the backup you can also put it back on the watch, the only problem is that the program is in the "data" folder which is read only so you first have be root!

If you run the PACEfied ROM, you can simply get the database from the watch with a single command:
Code:
adb pull /data/data/com.huami.watch.sport/databases/sport_data.db

Neuer_User said:
If you run the PACEfied ROM, you can simply get the database from the watch with a single command:
Code:
adb pull /data/data/com.huami.watch.sport/databases/sport_data.db
Click to expand...
Click to collapse
Nice, you have created a root firmware
This means that is also possible to push back an sport_data.db as asked by alexinc

pieralle said:
Nice, you have created a root firmware
This means that is also possible to push back an sport_data.db as asked by alexinc
Click to expand...
Click to collapse
Yes, the rom has full adb root.
Pushing back should work, but the file may be open from apps on the watch. Then you can't overwrite it. In such case, do "adb shell stop" first, then push the file, and then "adb shell start".

I would like to perform a python script that from that file performs the upload to other services like strava, runtastic or similars.
but I dont have my amazfit watch yet.
Could anybody send me it's file?

my only "problem" is, that i did pacify my watch (the temporary way) so no backup was created and after reading that unpairing and pairing again may set everything to km instead of miles, my watch was factory reset and i dont have any backup of sport_data.db... big questions is, if there is any way to get database mi fit app is using and retransfer/reconvert it to watch, as there everything got stored - even my data from mi band 2 usage before amazfit. that would be awesome!
edit: at least it seems that mi fit app is storing everything in \data\data\com.xiaomi.hm.health\databases too, now it just needs to get converted as i doubt it will have same format than watch is using - but who knows!?
edit2: all it needs now is an db-expert to merge the information, but it seems like sleep data is not in sport_data.db, at least i didnt find any hint on it? Must be something with wearservices, as it's lately crashing on me, when scrolling in launcher to "sleep", so i guess it's where the database for sleep is located...

@alexinc, i suppose that the app sport is used only for.....sport probably other apps (if i remember well there is also something like health) are use for sleep etc. Here you can find many info about mifit app
https://forum.xda-developers.com/general/accessories/xiaomi-mi-band-data-extraction-t3019156

DAVID_EST said:
I would like to perform a python script that from that file performs the upload to other services like strava, runtastic or similars.
but I dont have my amazfit watch yet.
Could anybody send me it's file?
Click to expand...
Click to collapse
Here is a backup of the watch foolder

some progress: I am able with my python script to generate .gpx files for each "running session" . these files can be uploaded to any service and include gps and heartrate info. Next steps will be auto upload to those services

Related

[APP] Google Maps Apk (Fully working with iOS)

Will navigation is not working.. but the app work with GPS
1- Download android wear apk tool from here
2- Enable Debug on the watch
3-Download Google maps Mini from here
4-Enjoy !
Fully tested with Huawei Watch
Fully tested with Huawei Watch
Click to expand...
Click to collapse
Thanks! I was going to try Google Maps but didn't expect it to work. Most apps which require data from the internet do not work, since there is no way for them to get the data (Android Wear does not currently provide a direct connection to the internet over bluetooth). But I was surprised to see that Google Maps does in fact work! Thank you
(I'm also using a Huawei Watch)
SomeGuyInOz said:
Thanks! I was going to try Google Maps but didn't expect it to work. Most apps which require data from the internet do not work, since there is no way for them to get the data (Android Wear does not currently provide a direct connection to the internet over bluetooth). But I was surprised to see that Google Maps does in fact work! Thank you
(I'm also using a Huawei Watch)
Click to expand...
Click to collapse
Yea i think its implemented but not yet public
google keep dos not work
i hope we see some standalone apps in the future and i hope they implement wifi sync with iOs
the app stops if I try to load it
moto360 and iphone5s
Mahdy89 said:
Will navigation is not working.. but the app work with GPS
1- Download android wear apk tool from here
2- Enable Debug on the watch
3-Download Google maps Mini from here
4-Enjoy !
Fully tested with Huawei Watch
Click to expand...
Click to collapse
It works also as a gps.
Open google maps on the smartwatch.
Open google Maps from the iphone (not ios maps) and select your destination.
You'll get instruction on the watch
i use Tic Watch from china,
i install google maps apk to my watch
when i open the app, maps tell me need to update android wear
how can i update ? any apk can use to install it ?
geraldlim said:
i use Tic Watch from china,
i install google maps apk to my watch
when i open the app, maps tell me need to update android wear
how can i update ? any apk can use to install it ?
Click to expand...
Click to collapse
I have figured it out. You can update by manually installing the newest version of android wear app from playstore to your watch.
First, get an apk file of androidwear(android version).
change the file name into .zip, and extract it.
Inside a folder named "raw" inside "res", you can find an apk file.
install it to your watch with adb commands.
(if it fails to install, use the "adb install -r xxx.apk" command)
after this, you can update the android wear app on your watch
Thanks for the tutorial!
This app also works on moto 360?
Huawei / Iphone 5s.
Installation worked, I do now have the Maps icon/app on the watch.
It does give the location where I'am and features a map around me.
But the update of the gps signal is slow (probably caused by the frequency of the android wear app/google maps refreshes it) and I can't use places nearby (nothing is nearby) and navigation.
Navigation started on the phone is not transferred to the watch.
Any possibilities in a more frequent gps signal/update?
niravsoni said:
Google Maps got Google Maps v9.21 new update with new drive mode feature :]Download APK From HERE[/URL]
Click to expand...
Click to collapse
This APK is not wear ready.
I guess the TS stripped a full APK to a wearable one, right?
Can this be done (again) with a more recent full APK?
niravsoni said:
Yes it can be done with this version.
Click to expand...
Click to collapse
First question: how?
And second, does it help wear users by e.g. faster gps responses?
I think it doesn't work any more... I have installed but iPhone 6 iOS 9.0.2 Google Maps (up to date) is not responsive to the watch. Or watch is not receiving packages from iPhone. Not sure... But it hangs at "Waiting for location". Nothing else.
Which apk did you use?
william_jc said:
Which apk did you use?
Click to expand...
Click to collapse
@william_jc, I have used both. First tried Mahdy's it was just working like a standalone app. No iOS completion.
Then stripped the latest version for wearable. That was same so far.
No navigation, no nearby, nothing. Just a dry map. I didn't figure out or found any solution yet to it.
Edit:
I'd like to answer your question also.
When you download a wearable supported apk (through apkpure.com ie.) extract it to a folder (7zip is doing it quickly). Apk is a sort of ZIP archive. You can either change the file extension to .zip file or directly right click and extract with 7zip etc.
Anyhow, go to /raw/res/ directory after extraction. You will find another *.apk file there. That is for wearable.
You can install it right away to your wearable. Though adb :
adb install XXXXX.APK
That much easy.
Raintech said:
@william_jc, I have used both. First tried Mahdy's it was just working like a standalone app. No iOS completion.
Then stripped the latest version for wearable. That was same so far.
No navigation, no nearby, nothing. Just a dry map. I didn't figure out or found any solution yet to it.
Edit:
I'd like to answer your question also.
When you download a wearable supported apk (through apkpure.com ie.) extract it to a folder (7zip is doing it quickly). Apk is a sort of ZIP archive. You can either change the file extension to .zip file or directly right click and extract with 7zip etc.
Anyhow, go to /raw/res/ directory after extraction. You will find another *.apk file there. That is for wearable.
You can install it right away to your wearable. Though adb :
adb install XXXXX.APK
That much easy.
Click to expand...
Click to collapse
Ok, same here. At least after the 1.4 update and using the first google maps.
That means: standalone map, no places nearby no navigation. Fair enough for me if the gps update time was shorter. Now it seems to update ones every 15 minutes or so. Should be every 10 seconds
I do understand the stripping now, although it seems a less smaller apk (the new one).
does this work on all adndroid wear?
Sir, Could u like to help me to remove bypass security in game iruna online, we cant play this game after it update to iruna 3.1.9E, this game doesnt work if we have chat app in our device, like xmod, gamekiller n others.
sorry me noob
Mahdy89 said:
Will navigation is not working.. but the app work with GPS
1- Download android wear apk tool from here
2- Enable Debug on the watch
3-Download Google maps Mini from here
4-Enjoy !
Fully tested with Huawei Watch
Click to expand...
Click to collapse
I am using windows 10 have Xperia Arc S , i want to unlock the boot loader i have the key of it from sony but i cannot install driver for S1boot Fasboot
Please help
if someone need how to start ADB on Mac, here is guide which helped me
http://stackoverflow.com/questions/31374085/installing-adb-on-mac-os-x
and i would like to ask if is possible change for there updated maps? I tried more versions but without any success:/
and I tried also find some another apps, but I can't, is here any topic with it?
Thank you very much.
Jozef

Amazfit - any way to send a file to the watch via bluetooth?

Was considering getting an Amazfit, but was hoping there might be an easy way to transfer a podcast (or two) to the watch before I go out for a run.
From what I can read, this is only possible by connecting the phone to a computer, which isn't very handy at all.
Seems like from a technical perspective bluetooth (or wifi) transfer should be possible. If it isn't possible, has anyone looked into creating or porting a syncing app? (might have a go myself if it doesn't exist)
Me too
le_lutin said:
Was considering getting an Amazfit, but was hoping there might be an easy way to transfer a podcast (or two) to the watch before I go out for a run.
From what I can read, this is only possible by connecting the phone to a computer, which isn't very handy at all.
Seems like from a technical perspective bluetooth (or wifi) transfer should be possible. If it isn't possible, has anyone looked into creating or porting a syncing app? (might have a go myself if it doesn't exist)
Click to expand...
Click to collapse
I'm searching the same. But I've find any solution yet.
Did you?
I found this info in the Chinese firmware version:
1.2.47 development version update log
Add mobile phone to the watch transmission file experience version (temporarily only supports Android phones, you need Update to the latest development APP)
Support for mp3 and gpx files ONLY - transfer to the watch <==========
Fixed the problem of "partial data synchronization failed"
Optimize sleep data
Optimize system stability
Bug fixes
But I don't know if there is an English version with this feature.
Jesus
If you are using an Android phone you can install watch droid, it has a send file to watch function on the phone app.
[email protected] said:
I'm searching the same. But I've find any solution yet.
Did you?
I found this info in the Chinese firmware version:
1.2.47 development version update log
Add mobile phone to the watch transmission file experience version (temporarily only supports Android phones, you need Update to the latest development APP)
Support for mp3 and gpx files ONLY - transfer to the watch <==========
Fixed the problem of "partial data synchronization failed"
Optimize sleep data
Optimize system stability
Bug fixes
But I don't know if there is an English version with this feature.
Jesus
Click to expand...
Click to collapse
I have installed a ROM called Pacefied which is an English language version of the Chinese firmware. Works perfectly for transferring files.
le_lutin said:
I have installed a ROM called Pacefied which is an English language version of the Chinese firmware. Works perfectly for transferring files.
Click to expand...
Click to collapse
OK, thanks.
But, how do you transfer files?
Using Amazfit Android App? Or via bluetooth?
Jesus
Hi,
I am using Watchdroid fro Amazfit and there is an option in phone part of the app for transfering files to watch. Works fine. Also, yesterday i have installed the latest version of Amazfit Watch app (2.2) from Apkmirror and there is also a simple file manager app for transfering mp3 and gpx files to the watch. In both cases via BT connection.
im using Watch Droid. Amazfit have in ver.2.0.1, i dont know if 2.2 can sync with Strava
[email protected] said:
Me too
I'm searching the same. But I've find any solution yet.
Did you?
I found this info in the Chinese firmware version:
1.2.47 development version update log
Add mobile phone to the watch transmission file experience version (temporarily only supports Android phones, you need Update to the latest development APP)
Support for mp3 and gpx files ONLY - transfer to the watch <==========
Fixed the problem of "partial data synchronization failed"
Optimize sleep data
Optimize system stability
Bug fixes
But I don't know if there is an English version with this feature.
Jesus
Click to expand...
Click to collapse
Hello friend . I was wondering if i could transfer files to my Amazfit gtr 3 pro which doesn't have any way to connect to the computer. Only charge pad 2 . No data transferring pad . Can someone help me

APK MAPS on amazfit watch + offline + GPS

I've been testing apps for days and this is the one that worked best on my AMAZFIT PACE watch. It works quite well and with the method I present you can download maps from all over the world in the internal memory of the watch. It does not work with the clock wifi itself. It perfectly locates the location and you can access most of the options.
Sometimes you can not read the content well but we can help you from the same application on the phone. I briefly explain how I did it. More ahead I will go up explaining videos.
We will need to have a phone with Android.
First, we installed the app on the phone and in the watch (via apkinstaller). The application (apk) that I have installed is called "All-In-One Offline Maps + .ver.2.4.build.51" if you put it like that in google you will appear to download.
Then we open the app on your mobile phone:
• We go to the symbol of the map,
• Click on "save an area"
• Framing the part of the map that we want to save and the zoom that we want to obtain
• Press the save button
• This process will take a long time to download
• Once downloaded we will go to the root folder of the phone and copy the folder "OfflineMaps" and save it in our PC.
Once the folder is saved in our PC we replace it with the one in our amazfit . Now we will open the app on our amazfit and should see the downloaded area. It perfectly locates our location. To be able to know what you put in the options it is better to go browsing the app on the mobile at the same time.
Sorry i can put a link because i am a new user.
Search: "Amazfit Maps + GPS offline [NEW APK compatible]" in youtube and you can see a video demostration
I hope I have been helpful.
Hi, I can't find the folder "OfflineMaps" in my phone
hystrix65 said:
Hi, I can't find the folder "OfflineMaps" in my phone
Click to expand...
Click to collapse
After saving the maps it should appear in the root folder
hello
very interesting.
I see release 2.7 available, do you recommend 2.4 because it is the only one working or should I proceed with 2.7?
Do you how to uninstall the app if I need to?
thank you
regards
davidjog1 said:
After saving the maps it should appear in the root folder
Click to expand...
Click to collapse
I tried many times but with no success. I'm using an Oneplus One
hystrix65 said:
I tried many times but with no success. I'm using an Oneplus One
Click to expand...
Click to collapse
Try:
in your mobile phone>OfflineMaps+>Preferences>Storage device>Choose the first option (/storage/emulated/0/OfflineMaps) And repeat all the instruction of the thread)
Tell me if its solve your proble to modify the instructions :laugh:
BANFY211 said:
hello
very interesting.
I see release 2.7 available, do you recommend 2.4 because it is the only one working or should I proceed with 2.7?
Do you how to uninstall the app if I need to?
thank you
regards
Click to expand...
Click to collapse
I am the only version I have tried. Under my experience with other apps in the amazfit, the older the actualization the less likely to fail. That is why I have stayed with version 2.4.
Anyway try to try it and tell us how you have gone. You can uninstall from apkinstaller
it work so far but I have a blank area at the bottom of the screen (same on the phone).
I could not remove it, do you know how to do so? you dont have it from what I have seen on youtube
edit: this is the area for the adds...
free version APK
BANFY211 said:
it work so far but I have a blank area at the bottom of the screen (same on the phone).
I could not remove it, do you know how to do so? you dont have it from what I have seen on youtube
edit: this is the area for the adds...
Click to expand...
Click to collapse
try use the paid version APK
apk for watch?
Hi,
which google maps version did you sideload on your watch?
Where can i get it?
Thank you
Hi,
Everything went well with version 2.7 but cannot find Offline Maps folder on watch.
The apk is on the watch and runs. Where is the folder located.
THX
ququci said:
Hi,
Everything went well with version 2.7 but cannot find Offline Maps folder on watch.
The apk is on the watch and runs. Where is the folder located.
THX
Click to expand...
Click to collapse
I have the same issue, did you solve it? i can't find offlinemap folder on the watch
because you have to create it
fzelle said:
because you have to create it
Click to expand...
Click to collapse
How?
Do you create it manually? I'm not able to see this folders through the PC.
Send the card files into the Amazfit Pace watch.
davidjog1 said:
I've been testing apps for days and this is the one that worked best on my AMAZFIT PACE watch. It works quite well and with the method I present you can download maps from all over the world in the internal memory of the watch. It does not work with the clock wifi itself. It perfectly locates the location and you can access most of the options.
Sometimes you can not read the content well but we can help you from the same application on the phone. I briefly explain how I did it. More ahead I will go up explaining videos.
We will need to have a phone with Android.
First, we installed the app on the phone and in the watch (via apkinstaller). The application (apk) that I have installed is called "All-In-One Offline Maps + .ver.2.4.build.51" if you put it like that in google you will appear to download.
Then we open the app on your mobile phone:
• We go to the symbol of the map,
• Click on "save an area"
• Framing the part of the map that we want to save and the zoom that we want to obtain
• Press the save button
• This process will take a long time to download
• Once downloaded we will go to the root folder of the phone and copy the folder "OfflineMaps" and save it in our PC.
Once the folder is saved in our PC we replace it with the one in our amazfit . Now we will open the app on our amazfit and should see the downloaded area. It perfectly locates our location. To be able to know what you put in the options it is better to go browsing the app on the mobile at the same time.
Sorry i can put a link because i am a new user.
Search: "Amazfit Maps + GPS offline [NEW APK compatible]" in youtube and you can see a video demostration
I hope I have been helpful.
Click to expand...
Click to collapse
Hello,
On my smartphone the saving of saved cards is on Android / data / net.psyberia.offlinemapsplus / files / cache / builtin-maps,
So if I understand I get the two files * .DAT and * .DX that I put in a folder "offlineMaps" on the PC, that I send to the watch Amazfit Pace, but how to send it in the watch? With the PC and the connected watch? But there is a specific file to put this folder map in the watch?
Thank you for your reply.
adb shell
mimichris said:
Hello,
On my smartphone the saving of saved cards is on Android / data / net.psyberia.offlinemapsplus / files / cache / builtin-maps,
So if I understand I get the two files * .DAT and * .DX that I put in a folder "offlineMaps" on the PC, that I send to the watch Amazfit Pace, but how to send it in the watch? With the PC and the connected watch? But there is a specific file to put this folder map in the watch?
Thank you for your reply.
Click to expand...
Click to collapse
start adb shell on your PC and send:
adb push ./<pc-path>/filename.Dat /mnt/sdcard/storage/emulated/legacy/OfflineMaps/cache/builtin-maps
adb push ./<pc-path>/filename.IDX /mnt/sdcard/storage/emulated/legacy/OfflineMaps/cache/builtin-maps
Thus you get you files at least to your watch. I enabled on the Watch the option "Use Only local storage" in order to avoid network acceess issue.
But at the moment I do not get it why the APP is not finding the local files?
The APP on the watch indicates a different path to the workspace on the mobile for offline data:
watch pach: /storage/emulated/0/OfflineMaps/cache
with adb I do not get the access rights to create the /storage/emulated/ (read only) etc. dirctories and with the mounted path I am allowed to create everything but then itis not found by the watch app:
/mnt/sdcard/storage/emulated/0/OfflineMaps/cache
Still I have no clue how to solve this directory issue?:silly:
you can kill the package on the watch with an adb shell too:
am force-stop net.psyberia.*
Beside the APP is only working in a reasonable way with the Paid version. With the free version you get a blank column in the buttom which makes navigation impossible. The App itself can only be started on the watch and only be dismissed via adb shell -> am force-stop ....
or power shut down. Since it can be very CPU consuming I would assume that the resulting power drain is not funny. Currently I think it can only ne used as a sort of emergeny app I only will use if I am completly lost and the mobile is out of power too. Therefore you should think twice before you spend time and money on this.
I am using All-In-One Offline Map+ version 2.9
gswolf said:
start adb shell on your PC and send:
adb push ./<pc-path>/filename.Dat /mnt/sdcard/storage/emulated/legacy/OfflineMaps/cache/builtin-maps
adb push ./<pc-path>/filename.IDX /mnt/sdcard/storage/emulated/legacy/OfflineMaps/cache/builtin-maps
Thus you get you files at least to your watch. I enabled on the Watch the option "Use Only local storage" in order to avoid network acceess issue.
But at the moment I do not get it why the APP is not finding the local files?
The APP on the watch indicates a different path to the workspace on the mobile for offline data:
watch pach: /storage/emulated/0/OfflineMaps/cache
with adb I do not get the access rights to create the /storage/emulated/ (read only) etc. dirctories and with the mounted path I am allowed to create everything but then itis not found by the watch app:
/mnt/sdcard/storage/emulated/0/OfflineMaps/cache
Still I have no clue how to solve this directory issue?:silly:
you can kill the package on the watch with an adb shell too:
am force-stop net.psyberia.*
Beside the APP is only working in a reasonable way with the Paid version. With the free version you get a blank column in the buttom which makes navigation impossible. The App itself can only be started on the watch and only be dismissed via adb shell -> am force-stop ....
or power shut down. Since it can be very CPU consuming I would assume that the resulting power drain is not funny. Currently I think it can only ne used as a sort of emergeny app I only will use if I am completly lost and the mobile is out of power too. Therefore you should think twice before you spend time and money on this.
I am using All-In-One Offline Map+ version 2.9
Click to expand...
Click to collapse
I finally got it and it works great! The "simple" solution is to install a file explorer on the watch itself. I found one online and it works great (com.alphainventor.filemanager.apk). The local file explorer (on the watch) 'sees' all the directories properly. You can therefore copy and paste the files from your PC on the "SD card" part of the watch (where you can see some directories and have read/write access). Then use the watche's file explorer to move those files/dirs (the maps) to the right folder on the watch. It will then work!
As an added bonus, once you copy files into those "unseen by Windows" directories (for example one of mine was "Android" and all its subdirs) it becomes visible in Windows Explorer! So next time you update maps on the PC you should be able to copy and paste over without requiring the use of the watche's file explorer.
I hope that helps.
darkguset said:
I finally got it and it works great! The "simple" solution is to install a file explorer on the watch itself. I found one online and it works great (com.alphainventor.filemanager.apk). The local file explorer (on the watch) 'sees' all the directories properly. You can therefore copy and paste the files from your PC on the "SD card" part of the watch (where you can see some directories and have read/write access). Then use the watche's file explorer to move those files/dirs (the maps) to the right folder on the watch. It will then work!
As an added bonus, once you copy files into those "unseen by Windows" directories (for example one of mine was "Android" and all its subdirs) it becomes visible in Windows Explorer! So next time you update maps on the PC you should be able to copy and paste over without requiring the use of the watche's file explorer.
I hope that helps.
Click to expand...
Click to collapse
Ok FileManager works but you can achieve the same with adb shell too.
Still I do not understand to which path the offline map files needs to be pushed that they get loaded. According to Settings->StrorageDevice I should know the right path but it is not working.
So where to push the files?
Now I got it. Of course the offline strorage path is different for each map type and can be seen with the details of the map.
I am using OSM Hike&Bike, it states in its details for offline storage /storage/emulated/0/OfflineMaps/cache/builtin-maps an therefore I pushed it to the followng path (means "/storage" is substituted by "/mnt/shell")
adb push ./<pc-path>/OSMCYC.DAT /mnt/shell/emulated/0/OfflineMaps/cache/builtin-maps
adb push ./<pc-path>/OSMCYC.IDX /mnt/shell/emulated/0/OfflineMaps/cache/builtin-maps
Beside I have installed a task manager thus I am able to kill the app. Thus it very much easier to restart the app when needed.
gswolf said:
Now I got it. Of course the offline strorage path is different for each map type and can be seen with the details of the map.
I am using OSM Hike&Bike, it states in its details for offline storage /storage/emulated/0/OfflineMaps/cache/builtin-maps an therefore I pushed it to the followng path (means "/storage" is substituted by "/mnt/shell")
adb push ./<pc-path>/OSMCYC.DAT /mnt/shell/emulated/0/OfflineMaps/cache/builtin-maps
adb push ./<pc-path>/OSMCYC.IDX /mnt/shell/emulated/0/OfflineMaps/cache/builtin-maps
Beside I have installed a task manager thus I am able to kill the app. Thus it very much easier to restart the app when needed.
Click to expand...
Click to collapse
Glad you got it working. I am using the free version of Psyberia maps, as it is much lighter in resources. Of course you do get a white bar at the bottom of the screen (only on free version - paid shouldn't have it) but it is still very usable so....

App Twin Floder Location

Hello, I've just created a Twin App for Whatsapp on my Mate 10 Pro, but I can't find the Twin App folder. Can anyone help my find its path... Thanks
2nd icon will appear on home screen. Make sure you have selected Drawer Home Screen from settings.
[BUMP] File Location
Hi All,
Recently i have just started to use AppTwin for Whatsapp.
However i am not able to find the folder/directory when i connect my phone to PC through USB.
Any help are appreciated.
Non-rooted Mate10Pro here, running on EMUI 8.0
The same question here...
How can I find the app twin whasapp file/folder location?
Mate 10 Pro, EMUI 8... moving from old samsung dual sim (second whasapp was used through "Parallel App" - so no google drive backup... only local).
No, trying to transfer the old "local" whataspp backup file to the "unknown" twin app whatsapp location!
Please help.
Thanks,
Costi
From what I saw when enabling this for Facebook, the folder /data/user/10 is created. So basically it's creating a new user where you launch the twinned Facebook from.
This would be where your data is located, and impossible to get to without root.
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Costi Lazar said:
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Click to expand...
Click to collapse
Steps please

Import contacts from vcf file

I have exported multiple contacts successfully in to one single vcf file. If copy this via WebDAV to my share, the file is copyed. But when I now try to import this vcf, only one contact is imported. If i open this vcf with a editor on the device, it shows only obe contact.
Do I rename the file to contacts.vcf.txt and open this in the same editor on the device, i have multiple contacts inside. If i rename it back to contacts.vcf, its again only one contact inside.
What's going on here and how can I import successfully a vcf file with multiple contacts inside?
Lifear said:
I have exported multiple contacts successfully in to one single vcf file. If copy this via WebDAV to my share, the file is copyed. But when I now try to import this vcf, only one contact is imported. If i open this vcf with a editor on the device, it shows only obe contact.
Do I rename the file to contacts.vcf.txt and open this in the same editor on the device, i have multiple contacts inside. If i rename it back to contacts.vcf, its again only one contact inside.
What's going on here and how can I import successfully a vcf file with multiple contacts inside?
Click to expand...
Click to collapse
Vcards have special formats, maybe your formatting isn't correct after adding seperate contacts to one file?
It should look like this(2 contacts within that file):
BEGIN:VCARD
VERSION:2.1
N:john;doe;;;
FN:John doe
TEL;CELL:1234567
END:VCARD
BEGIN:VCARD
VERSION:2.1
N:john;doe2;;;
FN:John doe2
TEL;CELL:123456789
END:VCARD
The problem seems to be the transfer of the file. If I use Google Drive as a backup, the file stays intact. I will test a other WebDAV server and see afterwards if there the same problem exists. If not, I try to change my server setting.
The file itself is created by Google contacts, I assume, that it writes a correct structure.
UPDATE: I have made some more test's. The file upload seems to be work correctly. If i upload the file to the server, the file is saved there with the correct content. I could open it on the shell with "cat contacts.vcf" and see, that all entry's and contacts are there. However, if I open the file via a browser or other WebDAV client via GET, the file seems to be broken. I have only one entry. Additionally, before this "conversion" the file started with:
BEGIN:VCARD
VERSION:2.1
...
Click to expand...
Click to collapse
But now i have it look like:
BEGIN:VCARD
VERSION:3.0
...
Click to expand...
Click to collapse
Not at all, that i have only one contact, i now have vCard version 3 instead of 2.1. I'm sure this is a server side issue. But i have no idea how to fix this.
Lifear said:
The problem seems to be the transfer of the file. If I use Google Drive as a backup, the file stays intact. I will test a other WebDAV server and see afterwards if there the same problem exists. If not, I try to change my server setting.
The file itself is created by Google contacts, I assume, that it writes a correct structure.
UPDATE: I have made some more test's. The file upload seems to be work correctly. If i upload the file to the server, the file is saved there with the correct content. I could open it on the shell with "cat contacts.vcf" and see, that all entry's and contacts are there. However, if I open the file via a browser or other WebDAV client via GET, the file seems to be broken. I have only one entry. Additionally, before this "conversion" the file started with:
But now i have it look like:
Not at all, that i have only one contact, i now have vCard version 3 instead of 2.1. I'm sure this is a server side issue. But i have no idea how to fix this.
Click to expand...
Click to collapse
Strange that your webdav modifies the content of a file
As workaround you can zip the file.
Yes, really strange. I use Nginx for the webserver and SabreDAV for DAV. I now know that the problem comes from SabreDAV and not Nginx. If i use pure Nginx WebDAV, the transfer works without any problem in both directions.
To bad, that development of SabreDAV is stalled since last year. Maybe I found a fix for SabreDAV and can make a pull request in their GIT repository.
Lifear said:
Yes, really strange. I use Nginx for the webserver and SabreDAV for DAV. I now know that the problem comes from SabreDAV and not Nginx. If i use pure Nginx WebDAV, the transfer works without any problem in both directions.
To bad, that development of SabreDAV is stalled since last year. Maybe I found a fix for SabreDAV and can make a pull request in their GIT repository.
Click to expand...
Click to collapse
I use nginx too, but with nextcloud and it's own dav access. No problems here.
Hmm last time as i have played with NextCloud it uses SabreDAV 3.2.2 as the base for its DAV operations. But it was terrible slow against a pure SabreDAV installation on the same hardware. I wonder if it uses actually also SabreDAV or maybe they have made some modifications? And you say, you can upload such a export and download it again without getting the vcard converted to a single vcard? we live in a strange world...
Meanwhile is have disabled WebDAV and use Nginx WebDAV on the same url/path as a workaround. This works great and is a little bit faster than SabreDAV/WebDAV other the PHP stack. But maybe we can get a fix by SabreDAV itself. The behaviour is accepted as a bug.
Lifear said:
Hmm last time as i have played with NextCloud it uses SabreDAV 3.2.2 as the base for its DAV operations. But it was terrible slow against a pure SabreDAV installation on the same hardware. I wonder if it uses actually also SabreDAV or maybe they have made some modifications? And you say, you can upload such a export and download it again without getting the vcard converted to a single vcard? we live in a strange world...
Meanwhile is have disabled WebDAV and use Nginx WebDAV on the same url/path as a workaround. This works great and is a little bit faster than SabreDAV/WebDAV other the PHP stack. But maybe we can get a fix by SabreDAV itself. The behaviour is accepted as a bug.
Click to expand...
Click to collapse
Sure, Sabredav is included in nextcloud but I think it is they develop it independently from its source. I can upload vcf like the format I mentioned before. If I download them again from nextcloud contacts they are changed a little bit:
BEGIN:VCARD
VERSION:4.0
PRODID:+//IDN bitfire.at//DAVdroid/1.11-ose ez-vcard/0.10.3
UID: xxxxxxxxxxxxxxxx
...
...
REV:20180422T201525Z
END:VCARD
But I have no problems to import them again. So android uses an older vcf format than nextcloud/carddav.

Categories

Resources