Themes / Apps / Mods [REQUEST] Google Pixel UI APK - Samsung Galaxy Watch 4

Hey everyone. I found this APK dump for the pixel watch one reddit. I got the pixel UI APK and it installs fine. When I set it as the default home app though it just crashes. I'm hoping if I provide the apk one of you more experienced users can perhaps mod this APK to work with our watches.

Link?
File?
APK Name?

Memo to me...
Google Pixel Subforum seems here:
Google Pixel Watch
forum.xda-developers.com
Link to APks I saw first time in this Thread...
Official List of Sideloaded Apps and Workarounds For Wear OS (Tested on Galaxy Watch)
SIDELOAD LIBRARY COMPATIBLE WITH WEAR OS 3 TESTED ON GALAXY WATCHES All Smart Watches Can Probably Benefit From This Guide Special thanks to everyone who has contributed to testing and providing feedback on various apps and versions. Thanks to...
forum.xda-developers.com
Best Regards

adfree said:
Link?
File?
APK Name?
Click to expand...
Click to collapse
Reddit Link for Pixel Watch APK
com.google.android.wearable.sysui.apk
Is file name for apk

After some Google Search...
No idea if different Version(s)...
Wear OS System UI - Apps on Google Play
Access to the next generation of Wear OS smartwatch user experiences.
play.google.com
Edit 1.
Attempt from dump... "backup"...
Code:
D:\Android\ADB>adb install com.google.android.wearable.sysui.apk
Performing Streamed Install
Success
Edit 2.
I see only 2 ugly Icons... both nothing open...
Is this what you mean with crashes?
Short tested on GVI3...
Best Regards

adfree said:
After some Google Search...
No idea if different Version(s)...
Wear OS System UI - Apps on Google Play
Access to the next generation of Wear OS smartwatch user experiences.
play.google.com
Edit 1.
Attempt from dump... "backup"...
Code:
D:\Android\ADB>adb install com.google.android.wearable.sysui.apk
Performing Streamed Install
Success
Click to expand...
Click to collapse
I found a link on APKPure it's the same version number as the dump from the pixel watch. Will probably have to be modded since it's crashing when trying to make default home app.

...when trying to make default home app.
Click to expand...
Click to collapse
How?
Btw... If I search for text string:
Code:
com.google.android.wearable.sysui
Inside old EVA8...
Then 2 GW4 files found:
Code:
d:\GW4_****\superTest_EVA8\result1_imj\extracted\system\system\framework\framework-res.apk
d:\GW4_****\superTest_EVA8\result1_imj\extracted\system\system\priv-app\ClockworkWcs\ClockworkWcs.apk
Best Regards

adfree said:
How?
Click to expand...
Click to collapse
In watch setting click app then default
adfree said:
Btw... If I search for text string:
Code:
com.google.android.wearable.sysui
Inside old EVA8...
Then 2 GW4 files found:
Code:
d:\GW4_****\superTest_EVA8\result1_imj\extracted\system\system\framework\framework-res.apk
d:\GW4_****\superTest_EVA8\result1_imj\extracted\system\system\priv-app\ClockworkWcs\ClockworkWcs.apk
Click to expand...
Click to collapse
Okay there's also APK from the dump that matches clockwork maybe that is needed

Sorry, I will check this ... then sleep or other stupid tests:
Phone by Google - Apps on Google Play
Reliable phone calls with spam protection, caller ID and more helpful features
play.google.com
Code:
D:\Android\ADB>adb install com.google.android.dialer.apk
Performing Streamed Install
Success

adfree said:
Sorry, I will check this ... then sleep or other stupid tests:
Phone by Google - Apps on Google Play
Reliable phone calls with spam protection, caller ID and more helpful features
play.google.com
Code:
D:\Android\ADB>adb install com.google.android.dialer.apk
Performing Streamed Install
Success
Click to expand...
Click to collapse
The Google dialer is already available in the watch play store

This is first time I found working Dialer for GW4...
Only Phone go or something similar... I was able before...
How to fire Secret Codes?
I can not * #
?

adfree said:
This is first time I found working Dialer for GW4...
Only Phone go or something similar... I was able before...
How to fire Secret Codes?
I can not * #
?
Click to expand...
Click to collapse
It could be your region does not have it available for gw4 in play store. However I'm in US an I was able to install it from there.
Also you can scroll down when you are in the dialer to see *#

I hope someone can port it too.

Yo, I'm the dude who dumped the Pixel Watch APKs on reddit. I've also tried tinkering around with getting the Home APP running on my GW4, but I'm not having any luck so far. I believe both com.google.android.wearable.sysui.apk and com.google.android.wearable.app.apk from the dump are responsible for the Home-Screen Experience. However as you said, if selected as the Home app on the GW4, the Sysui app just keeps crashing over and over.
Here's some notable things I found in the logcat during those crashes:
Code:
WindowManager: Permission Denial: addWindowTokenWithOptions from pid=2394, uid=10145 requires android.permission.STATUS_BAR_SERVICE
WindowManager: Permission Denial: addWindowToken() from pid=2394, uid=10145 requires android.permission.MANAGE_APP_TOKENS
ActivityManager: Permission Denial: Accessing service com.google.android.wearable.app/com.google.android.clockwork.wcs.service.notification.NotificationService from pid=2394, uid=10145 requires com.google.android.wearable.permission.BIND_WEAR_CORE_PRIVILEGED_SERVICE
ServiceConnection: Failed to bind connection 'NotificationClient#com.google.android.wearable.app#com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE', no permission or service not found.
ServiceConnection: java.lang.SecurityException: Not allowed to bind to service Intent { act=com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE pkg=com.google.android.wearable.app }
AndroidRuntime: FATAL EXCEPTION: WcsSdkWorkerThread
AndroidRuntime: Process: com.google.android.wearable.sysui, PID: 2394
AndroidRuntime: java.lang.SecurityException: Not allowed to bind to service Intent { act=com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE pkg=com.google.android.wearable.app }
I've tried my best to grant the missing permissions using pm grant but that didn't change anything so far... Kind of at my wits end here.
By manually granting all the grantable permissions that the apks request, I was able to get it so far as to say 'Getting started...' before crashing over and over, but no luck in getting to the actual Pixel Watch home screen on my GW4

Quad_Plex said:
Yo, I'm the dude who dumped the Pixel Watch APKs on reddit. I've also tried tinkering around with getting the Home APP running on my GW4, but I'm not having any luck so far. I believe both com.google.android.wearable.sysui.apk and com.google.android.wearable.app.apk from the dump are responsible for the Home-Screen Experience. However as you said, if selected as the Home app on the GW4, the Sysui app just keeps crashing over and over.
Here's some notable things I found in the logcat during those crashes:
Code:
WindowManager: Permission Denial: addWindowTokenWithOptions from pid=2394, uid=10145 requires android.permission.STATUS_BAR_SERVICE
WindowManager: Permission Denial: addWindowToken() from pid=2394, uid=10145 requires android.permission.MANAGE_APP_TOKENS
ActivityManager: Permission Denial: Accessing service com.google.android.wearable.app/com.google.android.clockwork.wcs.service.notification.NotificationService from pid=2394, uid=10145 requires com.google.android.wearable.permission.BIND_WEAR_CORE_PRIVILEGED_SERVICE
ServiceConnection: Failed to bind connection 'NotificationClient#com.google.android.wearable.app#com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE', no permission or service not found.
ServiceConnection: java.lang.SecurityException: Not allowed to bind to service Intent { act=com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE pkg=com.google.android.wearable.app }
AndroidRuntime: FATAL EXCEPTION: WcsSdkWorkerThread
AndroidRuntime: Process: com.google.android.wearable.sysui, PID: 2394
AndroidRuntime: java.lang.SecurityException: Not allowed to bind to service Intent { act=com.google.android.wearable.app.BIND_NOTIFICATION_SERVICE pkg=com.google.android.wearable.app }
I've tried my best to grant the missing permissions using pm grant but that didn't change anything so far... Kind of at my wits end here.
By manually granting all the permissions that the apks request, I was able to get it so far as to say 'Getting started...' before crashing over and over, but no luck in getting to the actual Pixel Watch home screen on my GW4
Click to expand...
Click to collapse
Theory here is we most likely can't provide these permissions through ADB because they're system permissions provided by default on the Pixel Watch but don't exist on the GW4 (For all we know), which is why we're getting this error when we try to give them.
Code:
C:\Users\Test\Desktop\platform-tools>adb shell "pm grant com.google.android.wearable.app com.google.android.wearable.permission.BIND_WEAR_CORE_PRIVILEGED_SERVICE"
Exception occurred while executing 'grant':
java.lang.IllegalArgumentException: Unknown permission: BIND_WEAR_CORE_PRIVILEGED_SERVICE
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermissionInternal(PermissionManagerService.java:1470)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1429)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2287)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:249)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22522)
at android.os.Binder.shellCommand(Binder.java:929)
at android.os.Binder.onTransact(Binder.java:813)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4730)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4523)
at android.os.Binder.execTransactInternal(Binder.java:1159)
at android.os.Binder.execTransact(Binder.java:1123)
The only possibility would be someone tries to give these permissions with a rooted watch.

Maybe, you can try
Cartesian8445 said:
Theory here is we most likely can't provide these permissions through ADB because they're system permissions provided by default on the Pixel Watch but don't exist on the GW4 (For all we know), which is why we're getting this error when we try to give them.
Code:
C:\Users\Test\Desktop\platform-tools>adb shell "pm grant com.google.android.wearable.app com.google.android.wearable.permission.BIND_WEAR_CORE_PRIVILEGED_SERVICE"
Exception occurred while executing 'grant':
java.lang.IllegalArgumentException: Unknown permission: BIND_WEAR_CORE_PRIVILEGED_SERVICE
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermissionInternal(PermissionManagerService.java:1470)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1429)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2287)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:249)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22522)
at android.os.Binder.shellCommand(Binder.java:929)
at android.os.Binder.onTransact(Binder.java:813)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4730)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4523)
at android.os.Binder.execTransactInternal(Binder.java:1159)
at android.os.Binder.execTransact(Binder.java:1123)
The only possibility would be someone tries to give these permissions with a rooted watch.
Click to expand...
Click to collapse
Maybe it can be done by editing the app itself, I don't know...

Apparently the WearOS System UI is available on Google Play now?... Not sure if this is the same version as found on the Pixel Watch, however it's marked as 'incompatible' with the GW4
Wear OS System UI - Apps on Google Play
Access to the next generation of Wear OS smartwatch user experiences.
play.google.com

Quad_Plex said:
Apparently the WearOS System UI is available on Google Play now?... Not sure if this is the same version as found on the Pixel Watch, however it's marked as 'incompatible' with the GW4
Wear OS System UI - Apps on Google Play
Access to the next generation of Wear OS smartwatch user experiences.
play.google.com
Click to expand...
Click to collapse
Same .apk name, "com.google.android.wearable.sysui", probably posted on the play store so they can update it easier

Cartesian8445 said:
Same .apk name, "com.google.android.wearable.sysui", probably posted on the play store so they can update it easier
Click to expand...
Click to collapse
It's the same package, yea, but I'm not sure if it's the exact same version as the one I dumped before.

Quad_Plex said:
It's the same package, yea, but I'm not sure if it's the exact same version as the one I dumped before.
Click to expand...
Click to collapse
Yes, I was able to past the link for the play store version in APK pure and found that it is the same version on the dump.

Related

[Xposed] OK, Google Now -> Broadcast intent

I've made a small module that broadcasts an intent when the "OK, Google now" trigger phrase is recognised. The intention is to listen for the intent with an app such as Tasker and do your own voice interface from there. This module stops all native Touchless Control functions, so you have to handle any commands you want on your own. The screen does not turn on if it was off and internet connectivity is not required.
There are two beeps I haven't been able to track down yet, though one can be disabled via the Touchless Controls settings.
Xposed Repository
http://repo.xposed.info/module/com.hawkjm.okgooglenowtriggerintent
I'm not well versed in tasker, could you help me make a tasker action to here the ok Google now phrase then open the app utter and start listening
Sent from my XT1056 using xda app-developers app
charlie-n said:
I'm not well versed in tasker, could you help me make a tasker action to here the ok Google now phrase then open the app utter and start listening
Sent from my XT1056 using xda app-developers app
Click to expand...
Click to collapse
First, you need a profile. It'll need an event for Intent Received, with com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER in the Action field.
Next, you'll need a task to command utter. I'm using autovoice, so I'm not terribly up to date on utter. They've got instructions and examples in this thread:
http://forum.xda-developers.com/showpost.php?p=34339449&postcount=2155&nocache=1&z=7169357333332300
Hello, I've been using the "Google Now API" module for xposed framework with the tasker autovoice plugin. How is this module different exactly? The way I described, touchless controls is left intact and functions exactly how it would otherwise, but a command is given through autovoice to tasker, and Google now opens and does a search on whatever command you entered. What is different with your module?
Thanks in advance...
This module basically hijacks the touchless controls trigger so you can do your own voice interface. My use case is :
-say "Ok, Google now"
-Tasker launches AutoVoice recognition
-I say something like "Start my car"
-Tasker handles the request and starts the car
My goal was to allow this to happen completely in the background, and with the screen off. This doesn't disturb anything else I might be doing on the phone, nor does it activate the screen. Also, it uses onboard recognition is available, and so is a bit faster then having Google Now do the recognition.
I've tried something very simple and it won't work please correct this if I'm wrong.
1. Open tasker
2 create profile /system/intent received
3. Typed com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER into the action field.
4. Hit back
5. Enter task menu pops up, and I click new task.
6. I give the task a name, then I click + to add action. I select App/ load app/ calculator.
7. I go back to main menu and make sure profile is active.
8. I go to home screen and say "ok Google now" I hear a beep. No action happens.
Does any one see anything wrong
Sent from my XT1056 using xda app-developers app
Lately, I've been needing to add steps to get Tasker to act as expected. Once you've completed your profile and task, completely exit Tasker, making sure to hit "save first." Then, if needed, deactivate and reactivate Tasker's monitor by long-pressing the little gear in the left corner. I usually run a little task that pops a toast then to make sure it is active. In most cases, just the full exit and save is sufficient.
If that doesn't work, check in Tasker's log to see if it is seeing the intent. If no, check your logcat for the intent being broadcast.
I fixed it, I had to install secure settings app to wake screen then launch the app I wanted, utter had so Manu more commands
Sent from my XT1056 using xda app-developers app
Is "Secure Settings" required for this to happen? Does Tasker need to be made an Administrator?
**Edit**
Looks like SS is required
This post should be way more populated, the possibilities of this plus tasker are endless
Sent from my XT1056 using xda app-developers app
Is this module designed for KK or is it compatible with JB. I can't seem to get any logs in the tasked app. Will check logcat.
You should also check out with caioketo is doing in his thread http://forum.xda-developers.com/showthread.php?t=2623063, seems pretty similar to this and they are still trying to retain Google Now functionality if you want.
I'm going to try this out as soon as I get to my aunts phone. She got the x because moto advertised it for seeing impaired. I ended up having to use tasker and autovoice to make it speak back to her but it uses so much battery. Thanks for doing this! I will be back with my results.
Just installed this, brilliant!
Commands that needed autovoice are executed immediately, if I needed Google now I just have an autovoice tasker triggered command for running the voice search app (too bad it seems we can't easily transfer a command from autovoice to gnow, but I now have instant autovoice, and one more step for Google now voice search, » ok Google now, search, "speak command")
Tapatalk - Moto X XT1058
Cyphir said:
Is this module designed for KK or is it compatible with JB. I can't seem to get any logs in the tasked app. Will check logcat.
Click to expand...
Click to collapse
I wrote for and tested on a kitkat device. Unfortunately, I don't have a moto JB on hand to check it on.
Check the Xposed logs for errors if you don't see anything in the logcat or Tasker logs. Let me know if you find anything.
cocchiararo said:
Just installed this, brilliant!
Commands that needed autovoice are executed immediately, if I needed Google now I just have an autovoice tasker triggered command for running the voice search app (too bad it seems we can't easily transfer a command from autovoice to gnow, but I now have instant autovoice, and one more step for Google now voice search, » ok Google now, search, "speak command")
Tapatalk - Moto X XT1058
Click to expand...
Click to collapse
I looked in to dumping audio to Google Now as Touchless Controls does, but it needs stringent app permissions. It might be doable from inside TC, but I'm not sure if you can record audio at the same time you're doing voice recognition. If not, you'd just end up wasting time. (saying stuff twice) I'm likely to try and elaborate on this module over time.
hawkjm73 said:
I wrote for and tested on a kitkat device. Unfortunately, I don't have a moto JB on hand to check it on.
Check the Xposed logs for errors if you don't see anything in the logcat or Tasker logs. Let me know if you find anything.
I looked in to dumping audio to Google Now as Touchless Controls does, but it needs stringent app permissions. It might be doable from inside TC, but I'm not sure if you can record audio at the same time you're doing voice recognition. If not, you'd just end up wasting time. (saying stuff twice) I'm likely to try and elaborate on this module over time.
Click to expand...
Click to collapse
I show a error in the xposed framework whenbI have this module active
Code:
java.lang.NoSuchMethodError: com.motorola.audiomonitor.bc#a(float,com.motorola.audiomonitor.t)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:179)
at com.hawkjm.okgooglenowtriggerintent.AudioTrigger.handleLoadPackage(AudioTrigger.java:71)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:202)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:527)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:148)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1311)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5167)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
at dalvik.system.NativeStart.main(Native Method)
Cyphir said:
I show a error in the xposed framework whenbI have this module active
Code:
java.lang.NoSuchMethodError: com.motorola.audiomonitor.bc#a(float,com.motorola.audiomonitor.t)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:179)
at com.hawkjm.okgooglenowtriggerintent.AudioTrigger.handleLoadPackage(AudioTrigger.java:71)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:202)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:527)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:148)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1311)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5167)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
Your apk is an old version, try updating it with the latest version, or, it could be 2 versions (one KK and other JB).
caioketo said:
Your apk is an old version, try updating it with the latest version, or, it could be 2 versions (one KK and other JB).
Click to expand...
Click to collapse
I have the most up to date TC.apk for my phone. I am still running JB.
Cyphir said:
I have the most up to date TC.apk for my phone. I am still running JB.
Click to expand...
Click to collapse
From that error, I suspect there are two different versions of Touchless Controls, one for KK, and one for JB. Their classes have changed tether dramatically as they update. Can you send me your TC apk? I'll see if there are matching classes.
hawkjm73 said:
From that error, I suspect there are two different versions of Touchless Controls, one for KK, and one for JB. Their classes have changed tether dramatically as they update. Can you send me your TC apk? I'll see if there are matching classes.
Click to expand...
Click to collapse
I will upload it later today when I an home. In the mean time, the apk in TitaniumBackup is named Touchless Control 3.15.0.1
You may be able to find it online before I get a chance to upload it.

Need urgent help with camera permission

Hi I am trying to get the camera app open with the automate app but I am having this error
com.huawei.camera.permission
Any idea how to access it
Below is the full log
Code:
2018-02-06 17:32:57.408 INFO [email protected]: Flow beginning
2018-02-06 17:32:57.409 INFO [email protected]: Camera?
2018-02-06 17:32:57.645 FAIL [email protected]: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE_SECURE flg=0x800000 cmp=com.huawei.camera/.controller.SecureCameraActivity (has extras) } from ProcessRecord{c644732 5578:com.llamalab.automate:background/u0a192} (pid=5578, uid=10192) requires com.huawei.camera.permission.PRIVATE
2018-02-06 17:32:57.646 INFO [email protected]: Stopped by failure
Hi, since that the automate app you're talking about is a third party app, what i can say by reading in the log "com.huawei.camera.permission.PRIVATE" is that the camera app won't work easily with apps not made (or signed) by Huawei. Dunno if there could be a workaround for this, honestly... I have troubles trying to launch torch app UI from third party launchers due an analog issue and at the moment, i haven't found nothing to do yet.
RedSkull23 said:
Hi, since that the automate app you're talking about is a third party app, what i can say by reading in the log "com.huawei.camera.permission.PRIVATE" is that the camera app won't work easily with apps not made (or signed) by Huawei. Dunno if there could be a workaround for this, honestly... I have troubles trying to launch torch app UI from third party launchers due an analog issue and at the moment, i haven't found nothing to do yet.
Click to expand...
Click to collapse
Thanks well I am going to try by installing a new camera app and setting it as default
Varun Chhibber said:
Thanks well I am going to try by installing a new camera app and setting it as default
Click to expand...
Click to collapse
You shouldn't have problems doing that so. Good luck

How does App whitelisting work?

Hello All,
I have been attempting to modify a particular Google app from the play store. If I decompile it and recompile it with a completely new package name (i.e. com.google.android.apps => com.mypackage) I still get the following error:
Code:
10-01 23:35:54.918: E/Bugle(5537): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted:................
So that leads me to believe the app itself is looking for it's entry in the whitelist. However, since I have renamed the package completely, I am not sure what the mechanism is. How does whitelisting work, and what can I do so that I can run two versions of a Google App on the same phone (my custom one with a new package name).
I have tried to set a breakpoint at everything in the smali code related to X509, and I don't hit any of those breakpoints before the SecurityException. Any clues on how to work backwards - or have any of you succesfully been able to reverse engineer a google app, and get it running on a non-rooted phone?
THanks

MIUI Gallery/Notes app don't work anymore

Hey guys,
I've done a bit of an oops when I removed some of the bloatware via adb on my F2 Pro and now the native Gallery and Notes apps don't seem to work. I'm getting random pop up notifications of Notes/Gallery not working and some apps don't work properly without the functionality.
I've tried to see if I can reinstall them but no success yet
Not sure if the debug logs are helping but here are the ones for the Gallery app:
Code:
java.lang.ExceptionInInitializerError
at com.miui.gallery.preference.PreferenceHelper.getPreferences(PreferenceHelper.java:25)
at com.miui.gallery.preference.PreferenceHelper.getInt(PreferenceHelper.java:41)
at com.miui.gallery.preference.GalleryPreferences$DataBase.getViewVersion(GalleryPreferences.java:1190)
at com.miui.gallery.provider.GalleryDBHelper.createViewIfNeeded(GalleryDBHelper.java:2066)
at com.miui.gallery.provider.GalleryDBHelper.onCreate(GalleryDBHelper.java:1066)
at org.sqlite.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:308)
at org.sqlite.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:228)
at com.miui.gallery.provider.cache.MediaManager$InitializeTask.run(MediaManager.java:796)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, int)' on a null object reference
at com.miui.gallery.preference.PreferenceHelper.<init>(PreferenceHelper.java:15)
at com.miui.gallery.preference.PreferenceHelper.<init>(PreferenceHelper.java:11)
at com.miui.gallery.preference.PreferenceHelper$SingletonHolder.<clinit>(PreferenceHelper.java:18)
... 9 more
Some help would be much appreciated!
Use simple gallery and simple notes from F-Droid, way better.
MajorBoobage said:
Use simple gallery and simple notes from F-Droid, way better.
Click to expand...
Click to collapse
For some reason, I am unable to change the default Gallery option so a new Gallery app doesn't help
It won't let me set Gallery default to anything
This happened to me in the past when I removed the Xiaomi Service Framework including the Xiaomi Cloud.
Same Problem. Please Help Xiaomi Cloud + Framework Reinstalled still Gallery app doesn't open
You need mi.cloud.sdk
AsusZenFone3Deluxe said:
You need mi.cloud.sdk
Click to expand...
Click to collapse
Thank you That indeed solved the issue of Gallery and Notes!! Who would've thought those two need the cloud sdk package
It still doesn't let me change the default Gallery though so there's that

[Help] NullPointerExeption on every app with widgets.

Any app that has some kind of Widget to register, crashes with NullPointerExeption, and has a reference to:
AppWidgetHost | Android Developers
developer.android.com
This includes ANY launcher, even the system default, so I can only run apps from ADB.
I made a logcat of every NullPointerException at the time.
I have no idea how to even begin trying to fix this, short of a firmware flash and starting over.
But that's such a hassle to restore secure apps, and apps that don't sync data anywhere, so you just lose it.
Anybody have a clue why this is happening?
NPE is triggered when in program code an object what doesn't exist is referenced.
What Android are you using?
jwoegerbauer said:
NPE is triggered when in program code an object what doesn't exist is referenced.
What Android are you using?
Click to expand...
Click to collapse
8.0
Galaxy S7 Edge
for the time being if i just have package disabler running i can use it to launch other apps
gearvr stopped working though unfortunately

Categories

Resources