MIUI Gallery/Notes app don't work anymore - Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans

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

Related

[ZIP]Replace Stock Samsung Apps with Google Apps

*DISCONTINUED*
Google's apps trump Samsung's in my opinion, so I wanted to make a flashable zip to replace (replace, not just add google apps) Samsung's stock apps with Google's.
I am installing these as user apps, not system. If you would prefer them installed as system let me know (I thought you would like to be able to delete the ones you don't want)
Just flash in custom recovery or in flashfire (Mount system in flashfire)
Please post or PM me with problems or app requests!!
Note * I'm not responsible for any damage to your phone, such as bootloops.
Changelog:
[V1.2] -
Note - No longer in BETA!
Uninstalls:
Samsung Contacts (the phone app)
Samsung Gallery (you'll have to install Google photos manually for now)
Samsung Messages
Samsung Clock
Samsung internet
Samsung calendar
Installs:
Google calculator
Google calendar
Google Clock
Google contacts
Google messages
Google dialer (The Phone App)
Google Pixel Launcher
Pixel pill widget - not from google
[V1.3] -
All from 1.2 +
Uninstalls:
Samsung Calculator
Samsung Memo
Installs:
Google Keep
Google Photos
-----------------------------------------------------------------
------------------------------Download--------------------------------
[V1.2] -
https://drive.google.com/file/d/0Bygh6W_e2Fo5dy02emotd3ZGdEE/view?usp=drivesdk
[V1.3] -
https://drive.google.com/file/d/0Bygh6W_e2Fo5b2JlZUZVSUQ2Yzg/view?usp=drivesdk
Huge thanks to @kevp75 for getting it to work, as well as @billdauterive23 for testing

			
				
The thing that would be great is dialer + contact+ messages apps , that are way quicker and lightweight than Google ones
robhug said:
The thing that would be great is dialer + contact+ messages apps , that are way quicker and lightweight than Google ones
Click to expand...
Click to collapse
Will be working on it soon, I've had problems in the past with uninstalling Samsung's phone, so you might have to just disable that. All the others I should be able to remove no problem
Craz Basics said:
Will be working on it soon, I've had problems in the past with uninstalling Samsung's phone, so you might have to just disable that. All the others I should be able to remove no problem
Click to expand...
Click to collapse
there's 2 apks for it. i think you need to keep incallui... (i dont remember the other one, but that one can get deleted/replaced)
kevp75 said:
there's 2 apks for it. i think you need to keep incallui... (i dont remember the other one, but that one can get deleted/replaced)
Click to expand...
Click to collapse
Got it, the incallui is phone v2.1.39.
Edit: You leave the phone apps alone. You actually delete samsung contacts app
Yeah i had trouble using package disabler pro for that
Updated link - Mount system in flashfire... let me know if it works or not
Edit: Updated again (July 20th)
Nice part about these as well... we don't have to rely on Samsung's App store to get themes... all google's apps are substratum friendly.
I have/had a rom out for the LG G4, i basically replaced all LG stock apps with either the Google version or the Sony Xperia version for this very reason... theme-ability without the need for a stock based theme store
Kudos mate!
Have anyone tried it on the S8+ port rom? I don't know if it will crash the system in some point
Flewoutthecuckoonut said:
Have anyone tried it on the S8+ port rom? I don't know if it will crash the system in some point
Click to expand...
Click to collapse
As long as they didn't change the package names... if they did it shouldn't mess anything up (like a brick/bootloop) it just won't uninstall the Samsung apps.
robhug said:
The thing that would be great is dialer + contact+ messages apps , that are way quicker and lightweight than Google ones
Click to expand...
Click to collapse
Done
Hey,
Could I am trying to build the Google Stock apps on my own, currently having some trouble building the apps
with Android Studio, getting errors like "No resource found that matches the given name "Theme.AppCompat.Light"
how did you overcome those problems?
Thanks!
greyergandalf said:
Hey,
Could I am trying to build the Google Stock apps on my own, currently having some trouble building the apps
with Android Studio, getting errors like "No resource found that matches the given name "Theme.AppCompat.Light"
how did you overcome those problems?
Thanks!
Click to expand...
Click to collapse
I did not use android studio, sorry man.
Craz Basics said:
I did not use android studio, sorry man.
Click to expand...
Click to collapse
I acctualy dont mind which IDE I will use.
greyergandalf said:
I acctualy dont mind which IDE I will use.
Click to expand...
Click to collapse
I mean I didn't use anything, just notepad++ to update the script and I placed the apps in data/app.
Craz Basics said:
I mean I didn't use anything, just notepad++ to update the script and I placed the apps in data/app.
Click to expand...
Click to collapse
How did you build the apps from source?
greyergandalf said:
How did you build the apps from source?
Click to expand...
Click to collapse
I didn't, I just used the apk files I downloaded.
Could you make it into system and not a uninstallable app? Also, can you remove the Samsung Calculator when it is installed? I don't like two calculators on my phone, thanks!!
KawaiiBear said:
Could you make it into system and not a uninstallable app? Also, can you remove the Samsung Calculator when it is installed? I don't like two calculators on my phone, thanks!!
Click to expand...
Click to collapse
Will work on it, pc down right now so might be a little.

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

[SCRIPT]Debloating S8 Oreo [Lighter Samsung Expercience]

Hi all! it's a long time was looking for a debloat script here that doesn't remove all functionalities of Samsung and keep the basics apk i need such as smart mirror, wallpaper crop, photo editor,smart manager but i removed for example samsung cloud because i don't need it
So i created a little script that will remove the following apps.
Code:
in /system/app
AAAService
AASAservice
AdvSoundDetector2015
AllshareFileShare
AllshareMediaShare
AntHalService
ANTPlusPlugins
ANTPlusTest
ApexService
AppLock
apps_brasil_signed_aligned
AutomationTest_FB
BasicDreams
BBCAgent
BCService
BeaconManager
BeamService
BookmarkProvider
BriefingPanel
CarmodeStub
CatchFavorites_N
ChocoEUKor
Chrome
ChromeCustomizations
ClockPackage_N
CloudGateway2017
CloudPrint2
CnnPanel
ColorBlind_N
CoolEUKor
CoreApps_SDK_2017
CoreApps_EOP
Crane
DayLite
DictDiotek_update
Drive
DRParser
EasymodeContactsWidget
EasymodeContactsWidget81
EasySetup
EmergencyLauncher
Facebook_stub
FactoryCameraFB
FBAppManager_NS
FlipboardBriefing
Foundation
GalaxyAppsWidget_Phone_Dream
GoogleVrServices
Gear360Editor_WQHD_Dream
GameOptimizer
GearManagerStub
Gmail2
GooglePrintRecommendationService
GoogleCalendarSyncAdapter
HandwritingService
HiyaService
Hangouts
HealthService
Hs20Provider
ImsSettings
InteractivePanoramaViewer_WQHD
KnoxAppsUpdateAgent
KnoxAttestationAgent
KnoxDesktopLauncher
KnoxFolderContainer2
KnoxRemoteContentsProvider
KnoxSetupWizardClient
KnoxSwitcher
LedCoverAppDream
LedCoverService
MhdrService
MDMApp
MirrorLink
MotionPanoramaViewer
MSSkype_stub
MyGalaxy
My_Singtel*
Omc
Panorama360Viewer
papergarden
PartnerBookmarksProvider
Personalization
PhotoTable
RootPA
RoseEUKor
SamsungCloudDreamNewIcon
SamsungConcierge_stub
SamsungDLPService
SamsungMagnifier3
SamsungPayStub
SamsungTTS
SEMFactoryApp
SapaMonitor
SmartcardManager
SmartcardService
SmartClipEdgeService
SmartManager_v5
SmartManager_v5_DeviceSecurity
SmartReminder
SmartSwitchAgent
SnsImageCache_N
SNS_v2_N
SoundAlive_51
SPdfNote
SPrintSpooler
SPrintSpooler7
STalkback
StoryEditor_Dream_N
SVoicePLM
SysScope
TaskProvider
UniversalSwitch
UnifiedProfile
UniversalMDMClient
Upday
UserManual
VirtualTour_N_OS
vsimservice
VisionIntelligence
VRSetupWizardStub
WallpaperBackup
Weather_*
WeatherWidget2017
WebManual
WfdBroker
WlanTest
yandex.search
YouTube
in /system/priv-app
ANTRadioService
BeaconManager
Crane
CallLogBackup
CarrierConfig
ConfigUpdater
ContainerAgent3
ContextProvider
ColorBlind_N
CtsShimPrivPrebuilt
Daydream_VrCore
DCMService
DeviceHealthReporter
DeviceKeystring
DeviceQualityAgent
DeviceTest
DiagMonAgent
EmergencyInfo
EnhanceService
EpdgService
Excel_SamsungStub
EasySetup
FBInstaller_NS
FBServices
Fmm
FotaAgent
Fresco_1.0
GalaxyApps_3xh
GalaxyAppsWidget_Phone_Hero
GameTools_Dream
GalaxyCare
GoogleFeedback
Gear360Editor_WQHD_Star
GearRebootService
GameHome
GoogleDaydreamCustomization
Hearingdro_V6
HwModuleTest
Ignite-Globe_2.2.003-996_releaseProduction
Ignite-Singtel_1.7.306_releaseProduction
ImsLogger+
intelligenceservice2
IPService
IrisUserTest
KLMSAgent
knoxvpnproxyhandler
LedCoverAppDream
LedCoverService
LTETest
ManagedProvisioning
MateAgent
MediaLearning
NetworkDiagnostic
NSFusedLocation_v3.0_DREAM
NSFusedLocation_v3.2/
ODTCFactoryService
OMCAgent5
OneDrive_Samsung_v2
PaymentFramework
PhoneErrService
PowerPoint_SamsungStub
PreloadInstaller
RadioBasedLocation
LiveBroadcast
Rlc
RNBShell
RubinVersion20
MyKNOXSetupWizard
RadioBasedLocationManager
SamsungBilling
SamsungCloudGreat
SamsungMagnifier3
SamsungPass_1.1
SamsungPayStub
SHealth5
SmartManager_v5_DeviceSecurity
SmartManager_v6_DeviceSecurity
SNS_v2_N
SOAgent
SoundAlive_52
SPDClient
SPPPushClient
StatementService
StoryService
StubUpdater
SVCAgent
SVoicePLM
SystemUIBixby/
TransmitPowerService
TzDataUpdater
UIBCVirtualSoftkey
UnifiedProfile
Upday
Velvet
VisionCloudAgent
VisionProvider
VoiceServiceFramework
VoiceWakeUp
VoWifiSPG
VRSetupWizardStub
wssyncmlnps2
SVCAgent
Tag
VoiceNote_5.0
Word_SamsungStub
Note that i didn't remove Knox because on the ROM i've right now they are already deabloated by default so if you want to give me the folder names related to them i'll be happy to add them. I'm not responsable of any bricked device or exploding phones i'm just sharing this so anyone can modify/use it so you can debloat easily your favorite rom! Just flash the zip in the attachment via TWRP.
Make sure you read what apps will be removed that maybe you need i did this for myself so maybe it's not what YOU want
UPDATE: I uploaded new version that fixes a problem in samsung gallery (thanks to @Bicet ) where users can't see folders and added Bixby e some Knox stuff related. Also i've made 2 different versions of this script. One will remove the samsung cloud also the other one not (NoCloud and Cloud version)
I lost play store & framework services. but couldn't find it on your script
fairyshacker said:
I lost play store & framework services. but couldn't find it on your script
Click to expand...
Click to collapse
I noticed now. Damn! Everything else is working fine right? I need to find what apk is play store related. I solved installing Play Store from here. Maybe @foobar66 can help us with this beacuse i took some of the apk list from his script
fairyshacker said:
I lost play store & framework services. but couldn't find it on your script
Click to expand...
Click to collapse
Ok so maybe i figure it out why! Updated v2 with some little corrections
Anyway to do it without flashing the script cuz I don't have twrp
i also have a personal debloat list, that i keep updating with every new android version. i try to get rid of most samsung bloat, but i do like some of their features (camera, blue light filter, smart view/mirroring, upsm and device maintenance/smart manager). for all the basics (calculator, clock, calendar, browser, mail, dialer, messaging etc) i use google. i think you are even a bit more extreme than me, but we come close
if you would like it or if it's needed, i would like to share ideas/experiences with debloating. there are a lot of lists around, but there is no complete/definitive list of removable apps WITH their exact functions.
i have figured out a lot o functions or apk's, but certainly not all. for example applinker.apk. does anyone REALLY know what this app is and what it does?
cheers!
Barthlon said:
i also have a personal debloat list, that i keep updating with every new android version. i try to get rid of most samsung bloat, but i do like some of their features (camera, blue light filter, smart view/mirroring, upsm and device maintenance/smart manager). for all the basics (calculator, clock, calendar, browser, mail, dialer, messaging etc) i use google. i think you are even a bit more extreme than me, but we come close
if you would like it or if it's needed, i would like to share ideas/experiences with debloating. there are a lot of lists around, but there is no complete/definitive list of removable apps WITH their exact functions.
i have figured out a lot o functions or apk's, but certainly not all. for example applinker.apk. does anyone REALLY know what this app is and what it does?
cheers!
Click to expand...
Click to collapse
Will be great if you have anything to update this list here.
ImbaWind said:
Will be great if you have anything to update this list here.
Click to expand...
Click to collapse
I will see what I can do
Do you by any chance have a document/list that clearly specifies what an apk does/provides?
Like I said, I still can't find a decent explanation of Applinker.apk. I know it's a Samsung apk, but what feature is it exactly?
Same for Imsservice/imslogger etc. I can imagine what it is supposed to do, but what features does it really give you? Extra menu options in messaging or something?
Ofcourse we can just delete the lot, as long as the system is stable. We might not even miss certain features. But I'm trying to get more insight in the individual apk's and there just doesn't seem to be a comprehensive list
IDan1109 said:
Ok so maybe i figure it out why! Updated v2 with some little corrections
Click to expand...
Click to collapse
V2 is perfect!
Barthlon said:
I will see what I can do
Do you by any chance have a document/list that clearly specifies what an apk does/provides?
Like I said, I still can't find a decent explanation of Applinker.apk. I know it's a Samsung apk, but what feature is it exactly?
Same for Imsservice/imslogger etc. I can imagine what it is supposed to do, but what features does it really give you? Extra menu options in messaging or something?
Ofcourse we can just delete the lot, as long as the system is stable. We might not even miss certain features. But I'm trying to get more insight in the individual apk's and there just doesn't seem to be a comprehensive list
Click to expand...
Click to collapse
That list is far from being a really comprehensive one but I'm hoping that someone else with better knowledge, willing to experiment with their device can help provide more input, but people these days don't seem to be as adventurous anymore.
You could try to decompile the apk and guess from the files inside or try to understand the reverse engineered code if you are into that.
Since quite a few of the functions are carrier/device/etc dependent, they are hidden in the software by default so even if you delete those associated apks, it won't make any visible changes to your software.
There are some apks in this list that will make a difference to the function of your phone which I tested myself from trial and errors+logcat, for example, BeaconManager.apk
PM me if anyone wants to discuss anything, didn't want to hijack OP's thread here.
ImbaWind said:
That list is far from being a really comprehensive one but I'm hoping that someone else with better knowledge, willing to experiment with their device can help provide more input, but people these days don't seem to be as adventurous anymore.
You could try to decompile the apk and guess from the files inside or try to understand the reverse engineered code if you are into that.
Since quite a few of the functions are carrier/device/etc dependent, they are hidden in the software by default so even if you delete those associated apks, it won't make any visible changes to your software.
There are some apks in this list that will make a difference to the function of your phone which I tested myself from trial and errors+logcat, for example, BeaconManager.apk
PM me if anyone wants to discuss anything, didn't want to hijack OP's thread here.
Click to expand...
Click to collapse
i'm interested in this but also i don't want to delete every app but just that ones that i don't need. AFAIK there is another dev working on an aroma debloater https://forum.xda-developers.com/galaxy-s8/themes/4-2-18-extreme-aroma-based-debloater-s8-t3744608. I just wanted something simple that you can flash and will remove what i don't need. Also i didn't removed all the apps without knowing what they do (i lost months probably trying to figure it out what apk are doing just beacuse i want to know what i'm deleting but for some of them i couldn't find any description. Anyway if you have any suggestion i will be happy to remove/ add something
After use this script can't login in Samsung account don't even open FC every time how to solve
is bixby been added to the script? @IDan1109
manojl76 said:
After use this script can't login in Samsung account don't even open FC every time how to solve
Click to expand...
Click to collapse
I don't have any problem with login in Samsung account also I haven't deleted about anything of Samsung account related apk. Are you on oreo?
fairyshacker said:
is bixby been added to the script? @IDan1109
Click to expand...
Click to collapse
Not yet if you want you can send me what's inside your priv-app and app folder and I i can add it
Yes using oreo
fairyshacker said:
V2 is perfect!
Click to expand...
Click to collapse
Do you have problems with Samsung account?
IDan1109 said:
Do you have problems with Samsung account?
Click to expand...
Click to collapse
Any help mate? I can't log in to my account and do the backups
Lost Samsung account too. Using Ambasadii 3.3.2 rom
Sent from my [device_name] using XDA-Developers Legacy app
IDan1109 said:
Do you have problems with Samsung account?
Click to expand...
Click to collapse
guastucci said:
Lost Samsung account too. Using Ambasadii 3.3.2 rom
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
OK now I got it. You mean only Samsung cloud which I don't use. Before flashing this take a look at what you remove i posted it in the |op| for a reason
IDan1109 said:
Do you have problems with Samsung account?
Click to expand...
Click to collapse
Nope

[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

Themes / Apps / Mods [REQUEST] Google Pixel UI APK

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.

Categories

Resources