mardi 25 août 2015

Launchers can't access any widgets except for their own builtin ones any more



Hi!


Using android 4.4.2 on a uhappy up920 mtk6592).

All of my widgets have disappeared - the launcher says: "Problem loading widget" and they don't show up in the "add widgets" menu any more (except for the ones that seem to be builtin / mostly "shortcut to" or "google search bar" etc - different ones depending on which launcher I try). The lock-screen widgets still work (p.E.: player control buttons, and the exact same vanilla "clock" widget that says "Problem loading widget" in the launcher). Which makes me think... maybe ownership problem? Not sure if the lock-screen runs as the same user as the launcher...

Tried the stock "launcher3", adw.launcher and nova launcher - same results for each one.
Tried reinstalling launchers (+deleting their configurations) + installed some new widgets (both over the play store + f-droid) - those new ones didn't show up in the "add widget" list either.
Made sure that all apps are installed to phone storage / not SD.
Also tested a lot of quick random things including the applications that brought the missing widgets (p.E.: "material player") - everything except for the widgets still seems to work fine.

Some of the things I remember doing between the last reboot and the first occurrence of the problem:
- Tried to root the phone and partially succeeded
- Used "/system/app mover" to move f-droid and used the latter one's weird "rom upgrade method" to try and install open source SU (this - ATM - is my most likely suspect when it comes to what broke the widgets...)
- Tried to install usb-host functionality and failed (used "usb host check" first, then manually edited + added some files in "/system/etc/permissions", then reverted changes in that folder based on /dev/recovery )

Now I'm trying to figure out what could be wrong (maybe just a permission problem), but I can't find:
- The location of the widget meta-files (I imagine applications that have widgets bring something like ".desktop files" for their widgets, that should then be indexed by the launcher?)
- A config file of sorts where I can check... where the launcher... checks for widgets. So I can check for permission problems...?
... or any useful information for that matter.

Could someone please point me into the right general direction? Any information on where to start debugging the systems / launchers "widget indecing behaviour" or the applications "widget installation directory" or whatever would be of great help...



Aucun commentaire:

Enregistrer un commentaire