Possible to extract preset system watchface from Amazfit Verge? - Amazfit

I have a Verge with China ROM and I would like to "copy" out one WatchFace to transfer it to "US" ROM.
I know how to use ADB shell with root access to the watch. However I can't find where the preset watchface was stored.
Anyone know where I can extract then directly from the watch?

It's probably a system APK: HuamiWatchFace.apk, you cannot simply "copy" it to another device, even being the same device, because it's a system app. If you copy the whole folder and set the permissions correctly, it may work tho. Be aware that if you try you may get a bootloop and will need to flash firmware back to watch.

lfom said:
It's probably a system APK: HuamiWatchFace.apk, you cannot simply "copy" it to another device, even being the same device, because it's a system app. If you copy the whole folder and set the permissions correctly, it may work tho. Be aware that if you try you may get a bootloop and will need to flash firmware back to watch.
Click to expand...
Click to collapse
Thanks. I see, I thought it is another .wfz file which I can simply copy out.

Related

I have a CWM 3.0+ updater-script question

Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
UPEngineer said:
Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
Click to expand...
Click to collapse
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
dbu said:
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
Click to expand...
Click to collapse
LOL, what I was thinking too, but it doesn't seem to work, unless I am doing it wrong.
If I replace the file and reboot, the original rebuilds.
If I delete the file completely and reboot, the original rebuilds.
If I replace the file using root explorer after phone has booted and then reboot, my modified file sticks.
That is what I can't figure out. Why it sticks after OS has loaded but rebuilds if the same file is placed before reboot.
And I can't figure out where the file is being rebuilt from.
Uggggg.

Lost access to media - ringtones, alarms, notifications and other media files

I have also posted this issue on another general forum, so apologies if this is deemed cross-posting!
My smartphone is running a stock Lollipop C6833_14.5.A.0.242_Customzied Germany.ftf ROM flashed using Flashtool, but is rooted with KingRoot and I have a dual recovery flashed and working properly.
Following that downgrade I found that my phone no longer had either a phone or alarm tone. When I try and change the alarm tone or ringtone or even notifications in settings I am presented with the file explorer. The sound selector shows nothing. File Commander is able to see and access the files, and they do not appear to be corrupted and I also tested them in my media player.
They were not in the SD card media folder, but were in tact in the system/media/audio folder in their respective folders. So I copied all the individual folders within the audio folder across to the corresponding media folder on the SD card. But that did not work either...
After searching various sites for help I managed to find instructions to download and flash Xperia Lollipop Media Sounds.zip, which I tried to do with TWRP recovery, but this failed with an error message I could not read.
I wondered whether if I were to just flash the system file from the same ROM it would restore the media file settings? Any help would be very much appreciated, as I have no way of hearing when I receive incoming calls, and my alarm does not work either. The audio seems to function fine in third party apps, so there is no physical issue as far as I know.
I also read a recommendation to copy the files across while connected to a PC, via USB, but my computer is a Mac and it does not seem to be able to access the SD cards as external drives in the same way as they appear in a PC.
Sony technical support basically told me that the only solution is to use repair within the Sony Bridge for Mac app, but I don't want to lose root, as the latest firmware upgrade is impossible to root. I really need help on this please!
Be aware that you have to set the correct file permissions after moving them to the /audio folder. The ringtones and alarm tones should be in the folder you just wrote, meaning they're on the system partition.
Just long-press or something on the audio-folder (depending on the file explorer you're using), tap "properties", and then set the permissions to 6-4-4, which is RW-R-R, or:
[x] [x] [ ]
[x] [ ] [ ]
[x] [ ] [ ]
Then reboot.
Hi Klaoss, many thanks for replying. However I have checked the permissions. The permissions for the actual files are RW-R-R, but in fact the folder permissions seem to be even more open: drwxr-xr-x, does that sound correct? I am talking about/system/media/audio/alarms, camera, notifications, ringtones and ui, which all have the same permissions.
Uh Oh! I just checked the permissions in the /storage/emulated/0/media/audio folder are non existent! Maybe this is why it is necessary to use the PC to copy the files, in order to retain the file and folder permissions? Is it also something to do with the actual formatting of the SD partition? Thanks for your patience
Just checked mine (on 5.1.1) and it does indeed look like the folders are drwxr-xr-x, while the files themselves are rw-r-r.
Also, yeah you could try that. That might actually work. Just remember to reboot after each change.
Thanks, but to be clear, do the files need to also be in /storage/emulated/0/media/ as well as in the /system/media/audio, or are they superfluous? Because if they are not needed, then I am not going to achieve anything by going to the trouble of copying the files within a PC environment.
Also, is there no way of copying files within Android without losing the permissions?
No idea, but I've always added and removed audio files from the system partition, but I know apps like Zedge and stuff adds them to the list when downloaded, so I'm guessing that 3rd party apps use the media folder on the internal memory, and not on the system partition, which requires root. So I would probably just let that folder alone, and concentrate on the system folder. Check the permissions and see what happens.
Change the permission on one or two files (incl. the folder), reboot and see if the file/files you just edited are showing up in the ringtone list. If yes, then change the permissions on the rest of them.
I have no idea what to change the system folder permissions to...remember that they were set to drwxr-xr-x. I think it is more important to be able to provide access to third party apps, that way I could temporarily choose ringtones etc using those. However I cannot access the permissions for the folder of the internal memory via my file explorer apps, even with full root access. That has to be a contributory factor to the problem. I wonder, would you mind having a look at the permissions for these folders on your device and telling me what they are compared to the system version?
Also, I would like someone else's take on this, would anyone else care to comment please?
OK, same problem, different tack: can anyone please tell me which partition I would need to reflash from a ROM or TWRP backup to restore the system media sounds and settings to original without losing my data or root? Also does it need to be the same ROM version, or can I flash a different ROM, but still a version of Lollipop? For example, could I simply extract the relevant partition from the recent 5.1.1. ROM, or would I then lose root too, or could it come from a 5.0.1 ROM, but slightly different from the one presently installed? I have several TWRP backups, but unfortunately for some reason they included the TA information (ta.mmc.win) which causes a bootloop when I try and reboot the system after flashing, and I have yet to find a way to exclude them from the restore process.

Facer help! Where can i find synced watchfaces?

Hi
There is a watchface that i put in my favs and the creator has been asked to adjust the branding on it (probably someone complained). This update didnt affect the watch face for me somehow, now i am switching phones and the update is in effect on the new device.
When i sync the gear s3 back to the old device, still use the original watchface.
So my assumption is the watchface is stored on my phone (somewhere, somehow)
Does anyone know where to look? I downloaded ES File Explorer and tried going thru the app apk, and the app folder under android>data>com.jeremysteckling.face : not sure where to look in the apk cant find any *.face files and the folder (just says "empty").
Appreciate any help :fingers-crossed:
megahead

Document app missing (NOT FREEZE/DELETE)

(ISN'T FREEZE!)
document app missing after switching micro SD card.
is there anyway to fix this wiuthout Fastboot or wipe phone ? would aprreciate an answer that ACTUALLY works
i can´t delete anything from the video folder in my SD card just this folder I want to delete videos I have already seen.
1- Go to installed apps and check permissions for File Manager, clear cache and data if it´s necessary.
2- Download any File explorer from Play Store.
3- Unzip any miui/custom miui based rom and if you are rooted put in the proper directory.
Had been trying for a while to unzip system couldn't, can I reflash same version of miui over phone with antirollback without brick it? So the document appear again?
Jctatis said:
Had been trying for a while to unzip system couldn't, can I reflash same version of miui over phone with antirollback without brick it? So the document appear again?
Click to expand...
Click to collapse
Wait me, I´ll unpack it and upload it for you and about ARB I guess that R5P it´s not in the roll.
Edit: Put the files in the same path and give permissions 755 for folders and 644 for files https://drive.google.com/open?id=1t_u7s5IjmvM4OCqiOHXk4SVmfFChL6Z6
SubwayChamp said:
Wait me, I´ll unpack it and upload it for you and about ARB I guess that R5P it´s not in the roll.
Edit: Put the files in the same path and give permissions 755 for folders and 644 for files https://drive.google.com/open?id=1t_u7s5IjmvM4OCqiOHXk4SVmfFChL6Z6
Click to expand...
Click to collapse
honestly thanks for the help rn5 is been quite a pain, not like rn4 or mi3. i will put it right away

Get rid off SystemApps with OrangeFox (No Root)

I wanted to ask if I'm able to remove particular system apps as in, I really want to get rid off YouTube and the Music apps and some hidden Facebook services without rooting it. I love this device but the hidden apps and Chinese apps (hidden in global) get me some goosebumps. I would be happy for any solution I can come across, if I really need to root it than I need to reconsider it. I got an R5+ (Vince)
w0lf_b said:
I wanted to ask if I'm able to remove particular system apps as in, I really want to get rid off YouTube and the Music apps and some hidden Facebook services without rooting it. I love this device but the hidden apps and Chinese apps (hidden in global) get me some goosebumps. I would be happy for any solution I can come across, if I really need to root it than I need to reconsider it. I got an R5+ (Vince)
Click to expand...
Click to collapse
You can debloat some apps with this tool https://github.com/Saki-EU/XiaomiADBFastbootTools Put it in main drive of your pc and open with java.
If you have a custom recovery you can delete some not critical apps (youtube and facebook for sure) and the rest carefully. The times that I did it through file manager of recovery first I create three folders in a directory in main sdcard (by i.e in Download folder) app, priv-app and data-app, move there the files that you want and if there is some issue like a bootloop restore it/them again to the proper directory and give permissions.
SubwayChamp said:
You can debloat some apps with this tool https://github.com/Saki-EU/XiaomiADBFastbootTools Put it in main drive of your pc and open with java.
If you have a custom recovery you can delete some not critical apps (youtube and facebook for sure) and the rest carefully. The times that I did it through file manager of recovery first I create three folders in a directory in main sdcard (by i.e in Download folder) app, priv-app and data-app, move there the files that you want and if there is some issue like a bootloop restore it/them again to the proper directory and give permissions.
Click to expand...
Click to collapse
I want to say you a very kind and lovely thank you for taking your time for my question ^^, here take my kind regards

Categories

Resources