-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Specials Wifi access point, fingerprint and wallpaper not backing up on lineageos 21 as the targetted xmls are somewhere else #902
Comments
Possibly related to #860 |
the big question with such things is, does it work for all A14 or only on LOS21 or even only on your system etc.? It's not guarantied at all, that a file can be found at a certain place. We are only two devs sporadically working on NB. Because of all that, I lately added a plugin system as a first step. See DevTools/plugins for an editor (no docs have been written). You have builtin and user plugins. I have some ideas to add conditions to the system, e.g. Android version, manufacturer, device model, maybe certain chips. The only defined things are what is documented by Google etc. The proper way would be to use APIs like e.g. the SMS special package handler does. That's why you need to break the official access methods anyways. And that means accessing files directly. I separated the previous two wifi file locations, that were handled by the wifi special package before, into two files. Now we would have a third location of the wifi files. You could create a new plugin for it, determine the conditions and choose an appropriate name, then send it to me for inclusion (plus some comments). Or you could create a pull request here, if you are able to do this. |
the wifi location was wrong for some time after implementing the plugins (some simple copying error) and the path was already fixed after that: /apexdata/com.android.wifi/WifiConfigStore.xml but plugin updates did not work (they only worked in pumpkin apks so I didn't notice it), and this was fixed 2024-09-18. |
Wifi access point backup issue solved by blacklisting "wifi access points up to sdk29" --> I'm guessing it was erroneously getting run instead of "wifi access points" although I had not selected it... --> thre must be a nug there somewhere... For the rest I've tried creating my personal ".special_files" in "/data/user/0/com.machiav3lli.backup/files/plugins" (by copy/modify but they are not getting proposed... in the UI. is a placeholder for "/data/user/0" it seems... what is the palceholdder for "/data/system/users/0" ? |
I would say this is unlikely
that's not the way to do it...
DevTools is long press on title e.g. on "Homepage" and this:
has a side effect: the file is copied to the The directories are not observed all the time, that doesn't make sense for such a rare event. Not sure about the user folder. I didn't think about it, because we already have a plugin management page and it has a Reload button to scan both folders again. Editing/copying/creating plugins does this automatically. |
you can see the current list in: currently these:
note, this might still be subject to changes, I want to keep this logical |
sorry, for answering late... |
Description
The 3 Specials "Wifi access point, fingerprint, and wallpaper" are not backing up for me on lineageos 21
Steps To Reproduce
Such fails are normal as the files are in these alternative locations on lineageos 21:
-rw------- 1 system system 365 2023-08-25 22:05 /data/system/users/0/settings_fingerprint.xml
-rw------- 1 system system 7616 2024-09-07 21:26 /data/system/users/0/wallpaper_info.xml
Expected behavior
They get backed up
Screenshots
System Information(please complete the following information):
** PS **
I did notice the "up_to_sdk29" for Wifi Access point backup, and am intrigued why it running as it should know the OS is android 14 so sdk 34...
The text was updated successfully, but these errors were encountered: