[MAGISK] [Tasker][Release] Motion Sense (Soli/Oslo) Mod - Google Pixel 4 XL Themes, Apps, and Mods

Release of OsloBridge v1.1.2 can be found here https://github.com/jcarletto27/magisk_module_motionsense_mod/releases
The purpose of this is to broadcast intents that Tasker can pick up as events. I plan on sending a PR to TopJohnWu once i hear back on some QA. Please update me here in this thread if you find any bugs! In my own testing I've found that the official apps like Pokemon wave hello and Headed South still function fine.
This module overwrites the built-in Bridge with a modified one that does not check for Googles signature on the requesting app, essentially letting anyone with knowledge of the bridge api to create an app to use MotionSense. My app which I'm calling OsloBridger (Oslo is the internal name for the MotionSense app) creates a foreground service that works even if the screen is off. I've not noticed any serious battery issues, but time will tell.
If you have issues please post here with the following and I'll do my best to help:
Device : (Pixel 4, Pixel 4XL)
Patch Date: (Oct,Nov,etc)
Are you Rooted with Magisk? : (Yes, No)
Other Modules Installed: (Systemless Hosts, edXposed, etc.)
Do you have Tasker installed ? (Yes, No)
Is "Allow External Access" checked in the Tasker Misc Preferences? (Yes, No)
When you start the service in OsloBridger what does it say in the Notification? (Reach, Flick Gestures Active)
Level of Tasker Experience ? (Novice, Experienced)
Also, please provide the task your trying to run. The steps to do that are Go to Tasks -> Long Press the Task you want to execute -> Click Three Dots in top right -> Export -> Description to Clipboard and paste it here
Update Nov 7, 2019 : I've updated the OsloBridger app to now allow the selection of specific tasks from within the app. No more setting up broadcast receivers in Tasker!
Update Nov 12, 2019: Added 2 new service intent filters to allow the starting and stopping of the Service without needing to use the Toggle intent. Updated the defaults to use what I've found works best (surprise! it's the same settings google uses for the builtin actions)
Advanced Users:
The app will still send those same broadcasts if you don't select a task in OsloBridger, so no changes for those setup already. I find this way to be more flexible because you can add multiple conditions to the event in Tasker, but I get that Tasker can have a huge learning curve.

Not sure if this will help, but I have used a magisk module to replace an apk in the product folder. Not sure if it's the same but the directory is /system/product/..….
I noticed in root explorer that the product directory in system is a shortcut to the one in the root directory
Btw, since you already digging around. Anyway to bypass the country restriction. I live so close to Mexico that it turns off every now and then.

It would be awesome if we can use Soli sensor with Tasker.
Actually, I've posted this suggestion on Tasker forum. and he, joaomgcd, also looking forward to it.

eg1122 said:
Not sure if this will help, but I have used a magisk module to replace an apk in the product folder. Not sure if it's the same but the directory is /system/product/..….
I noticed in root explorer that the product directory in system is a shortcut to the one in the root directory
Btw, since you already digging around. Anyway to bypass the country restriction. I live so close to Mexico that it turns off every now and then.
Click to expand...
Click to collapse
Thanks that might be exactly what I was looking for. In my digging I did find a country code in a preference file somewhere. I've also heard that it's restricted based on which service provider. I'll find the file and you can let me know if it works in your country.

ashergray said:
Thanks that might be exactly what I was looking for. In my digging I did find a country code in a preference file somewhere. I've also heard that it's restricted based on which service provider. I'll find the file and you can let me know if it works in your country.
Click to expand...
Click to collapse
eg1122 said:
Not sure if this will help, but I have used a magisk module to replace an apk in the product folder. Not sure if it's the same but the directory is /system/product/..….
I noticed in root explorer that the product directory in system is a shortcut to the one in the root directory
Btw, since you already digging around. Anyway to bypass the country restriction. I live so close to Mexico that it turns off every now and then.
Click to expand...
Click to collapse
Also looked into Motion Sense APK. Restriction is phone number country code based, can be bypassed. Also looks like its developers left setting to disable country checks at all. TO do that, you just need to change android setting 'pixel.oslo.allowed_override' to '1'. This way modified APK not needed.
I can't try this right now but if you want to check, then connect Pixel 4 with developer mode and execute command in adb shell:
Code:
adb shell setprop pixel.oslo.allowed_override 1
or
Code:
adb shell "setprop persist.pixel.oslo.allowed_override 1; setprop ctl.restart zygote"
or edit system/build.prop with some app
You need root to do this.

Eugnis said:
Also looked into Motion Sense APK. Restriction is phone number country code based, can be bypassed. Also looks like its developers left setting to disable country checks at all. TO do that, you just need to change android setting 'pixel.oslo.allowed_override' to '1' or 'true'. This way modified APK not needed.
I can't try this right now but if you want to check, then connect Pixel 4 with developer mode and execute command in adb shell:
Click to expand...
Click to collapse
i tried the first command, i'll let you know if it sticks

eg1122 said:
i tried the first command, i'll let you know if it sticks
Click to expand...
Click to collapse
Did the override work?
I am from Hong Kong and Google banned my region as well

chris111111 said:
Did the override work?
I am from Hong Kong and Google banned my region as well
Click to expand...
Click to collapse
Well, I live in the US but live so close to Mexico that I get signal from their carriers every now and then and it turns off. Has not turned off since I did the command

eg1122 said:
Well, I live in the US but live so close to Mexico that I get signal from their carriers every now and then and it turns off. Has not turned off since I did the command
Click to expand...
Click to collapse
So Glad to hear that! Gotta try it out when I get my phone

Eugnis said:
Also looked into Motion Sense APK. Restriction is phone number country code based, can be bypassed. Also looks like its developers left setting to disable country checks at all. TO do that, you just need to change android setting 'pixel.oslo.allowed_override' to '1' or 'true'. This way modified APK not needed.
I can't try this right now but if you want to check, then connect Pixel 4 with developer mode and execute command in adb shell:
Code:
adb shell setprop pixel.oslo.allowed_override true
or
Code:
adb shell "setprop persist.pixel.oslo.allowed_override true; setprop ctl.restart zygote"
or edit system/build.prop with some app
You need root to do this.
Click to expand...
Click to collapse
Thanks,According to your prompt, my friend has written the EDXPOSED module to open Motion Sense in any region.

Well ever since I ran the command, motion sense has not turned off

Quick update I've had success. I needed to disable the signature check and modify the bridge app. But I got a custom app seeing gestures.

ashergray said:
Quick update I've had success. I needed to disable the signature check and modify the bridge app. But I got a custom app seeing gestures.
Click to expand...
Click to collapse
Hey, can you DM me? I would love to learn more about your work.
[email protected] on Hangouts, @mrahmanXDA on Telegram, MishaalRahman#5289 on Discord.

ashergray said:
I've modified the Oslo Code [APK found in /product/priv-apps/OsloFeedback/OsloFeedback.apk] and added in some custom code to send intents for Tasker to pick up, but I can't over-write the file because Android 10 locks the /product folder.
I've tweeted at John to ask if Magisk can do this but I'm not sure. Does anyone have any experience with this? I'd really like to have custom actions for the Motion Sense Gestures.
If you can help I'll be happy to share my Module!
Click to expand...
Click to collapse
My Active Edge module modifies the SystemUIGoogle.apk to provide custom squeeze actions via Edge Sense Plus.
So yeah, you can build a magisk module to replace the file. You can check on my github how it works: https://github.com/Magisk-Modules-Repo/active_edge_system_mod/tree/Android10
I also want to inject some custom code, struggling a bit though, because I rely on logcats, because I don't own a pixel.
You hooked into handleContextHubMessageReceipt method in the FlickGestureSensor?

Any news on development? I'm not asking for eta Just curious about the progress as I'm quite disappointed by the actual use of this soli chip... It's useless atm atleast for me

Balino said:
Any news on development? I'm not asking for eta Just curious about the progress as I'm quite disappointed by the actual use of this soli chip... It's useless atm atleast for me
Click to expand...
Click to collapse
Just completed my initial release to github. I'll be sending a pull request to John once I get some feedback on how it's
https://github.com/jcarletto27/magisk_module_motionsense_mod

Well Done!?
i ll give it a try & send u feedback asap

Did this break face unlock for anyone else?
I've tried setting it up 6 times. Successfully saves face data but can't verify my face.

itylermartin said:
Did this break face unlock for anyone else?
I've tried setting it up 6 times. Successfully saves face data but can't verify my face.
Click to expand...
Click to collapse
Appreciate the feedback. Just checked with my device and can't replicate the issue. Can anyone else replicate this?
Edit: are you using the November Android update? I never tested for that

Yes I am. Tomorrow I'm going to do a fresh install see exactly what's causing the issue. Only modules I have installed are BusyBox, viper, sq lite, and this.
I turned face unlock off for the time being. Even if it does conflict with this mod it's worth it! Great work

Related

[DEV][KERNEL[MOD] Lenovo A6020 L36 / A46 (Vibe K5 / Vibe K5 Plus)

Hello people. My device is not listed in DEVDB options, so I must have to create this thread instead a DEVDB project. If it is wrong, please advice me.
-----------------------------------------------------------------------------------
I'm creating this thread to give us more space to create a ROM for our device, like a step-by-step to things we have to do or not. I'll edit this thread with more details when I have more time, but for now, thats what we have done, and I think we need to do:
Root (Thanks to Chainfire)
Custom recovery (thanks to Shreps)
Choose a kitchen to manage the ROM
Discover kernel options
Choose apps to add/remove
A custom app to manage various phone settings, like kernel options, battery settings, and others
Edit build.prop to get right device management
Edit boot.img to have unsecure boot
Help me to add or remove things to the list above, to have a structured plan to build the whole ROM (boot, recovey, system), because last time I manage a ROM was a long time ago, I think about 2010 (was on Xperia X2), and was only for me (my "project" wasn't public). From that time for actual days, I don't manage/create nothing "solid" and structured anymore... And I'm sure all things have changed/updated/died/etc...
To help start familiar with new kitchens (the last was DSIXDA Kitchen), I have choose SuperR's Kitchen. I try to use it inside Cygwin, but it gives me an error while opening, I'm investigating this. So, I setup a virtual machine with Ubuntu in my house, and I have remote access to it from my work. In this VM, I setup the kitchen and (after a time to setup the right Java) it is running fine.
So, let's go, people. I'll edit this post as news are coming.
[UPDATE]What I have found:
If "Google Photos" is removed, then Gallery don't crop wallpapers, or adds a image to a contact;
Titanium Backup can't uninstall/integrate some apps and updates. It says "apk not found". I'm trying to use Link2SD;
SuperSU "lose" the configuration, forcing me to remove the apps I added, then run the app again. I'm looking for this
If you remove "Theme Center", you can't change wallpaper and Lenovo Home gives an error!
If you remove "Google App", "Now Launcher" gives errors about force close.
If you remove LenovoID, Settings force close when try to enter "accounts".
If we integrate "Google Play Services" and hard reset the phone, it force close at second stage of first registration.
romulocarlos said:
Hello people. My device is not listed in DEVDB options, so I must have to create this thread instead a DEVDB project. If it is wrong, please advice me.
-----------------------------------------------------------------------------------
I'm creating this thread to give us more space to create a ROM for our device, like a step-by-step to things we have to do or not. I'll edit this thread with more details when I have more time, but for now, thats what we have done, and I think we need to do:
Root (Thanks to Chainfire)
Custom recovery (thanks to Shreps)
Choose a kitchen to manage the ROM
Discover kernel options
Choose apps to add/remove
A custom app to manage various phone settings, like kernel options, battery settings, and others
Edit build.prop to get right device management
Edit boot.img to have unsecure boot
Help me to add or remove things to the list above, to have a structured plan to build the whole ROM (boot, recovey, system), because last time I manage a ROM was a long time ago, I think about 2010 (was on Xperia X2), and was only for me (my "project" wasn't public). From that time for actual days, I don't manage/create nothing "solid" and structured anymore... And I'm sure all things have changed/updated/died/etc...
To help start familiar with new kitchens (the last was DSIXDA Kitchen), I have choose SuperR's Kitchen. I try to use it inside Cygwin, but it gives me an error while opening, I'm investigating this. So, I setup a virtual machine with Ubuntu in my house, and I have remote access to it from my work. In this VM, I setup the kitchen and (after a time to setup the right Java) it is running fine.
So, let's go, people. I'll edit this post as news are coming.
Click to expand...
Click to collapse
nice thread
romulocarlos said:
Hello people. My device is not listed in DEVDB options, so I must have to create this thread instead a DEVDB project. If it is wrong, please advice me.
-----------------------------------------------------------------------------------
[*]Titanium Backup can't uninstall/integrate some apps and updates. It says "apk not found". I'm trying to use Link2SD;
Click to expand...
Click to collapse
I randomly found this thread and noted that you are facing this issue with TB being unable to uninstall some apps. I had the same issue with my device. If you are rooted, navigate to /Cust/Channel/Preinstalled/apps folder (sometimes the "channel" folder may not exist) from your file explorer, you will find the apks for the apps that TB fails to find apk for. Remove the APKs that you don't need and/or move them wherever you feel is right for them, all set
nandakalyan said:
I randomly found this thread and noted that you are facing this issue with TB being unable to uninstall some apps. I had the same issue with my device. If you are rooted, navigate to /Cust/Channel/Preinstalled/apps folder (sometimes the "channel" folder may not exist) from your file explorer, you will find the apks for the apps that TB fails to find apk for. Remove the APKs that you don't need and/or move them wherever you feel is right for them, all set
Click to expand...
Click to collapse
Yeah, I already see that folder. Seems TB can't handle with folders different from /system/app and /data/app
romulocarlos said:
Yeah, I already see that folder. Seems TB can't handle with folders different from /system/app and /data/app
Click to expand...
Click to collapse
Yes, that seems to be the case for LP and MM factory images that have this folder, it is a TB limitation even on my device, unless I am running CM or AOSP based ROMs hope the workaround helps
nandakalyan said:
Yes, that seems to be the case for LP and MM factory images that have this folder, it is a TB limitation even on my device, unless I am running CM or AOSP based ROMs hope the workaround helps
Click to expand...
Click to collapse
You have A6020 with CM??
romulocarlos said:
You have A6020 with CM??
Click to expand...
Click to collapse
No, I have an Honor 5x L-22, we have a CM build for our device but I chanced on this issue when I was running stock and wanted to get rid of all that bloat. So just sharing what I discovered
nandakalyan said:
No, I have an Honor 5x L-22, we have a CM build for our device but I chanced on this issue when I was running stock and wanted to get rid of all that bloat. So just sharing what I discovered
Click to expand...
Click to collapse
Ok!! Thanks!
Can you please tell me how the camera quality is..I'm planning on buying this mobile...so please let me know
sudheer4188 said:
Can you please tell me how the camera quality is..I'm planning on buying this mobile...so please let me know
Click to expand...
Click to collapse
It's not great but for the price is quite good
Did you see kernel source code from lenovo's website for Vibe K5?
lucasdeeiroz said:
Did you see kernel source code from lenovo's website for Vibe K5?
Click to expand...
Click to collapse
Yes
Sent from my Lenovo A6020l36 using XDA-Developers mobile app
romulocarlos said:
Hello people. My device is not listed in DEVDB options, so I must have to create this thread instead a DEVDB project. If it is wrong, please advice me.
-----------------------------------------------------------------------------------
I'm creating this thread to give us more space to create a ROM for our device, like a step-by-step to things we have to do or not. I'll edit this thread with more details when I have more time, but for now, thats what we have done, and I think we need to do:
Root (Thanks to Chainfire)
Custom recovery (thanks to Shreps)
Choose a kitchen to manage the ROM
Discover kernel options
Choose apps to add/remove
A custom app to manage various phone settings, like kernel options, battery settings, and others
Edit build.prop to get right device management
Edit boot.img to have unsecure boot
Help me to add or remove things to the list above, to have a structured plan to build the whole ROM (boot, recovey, system), because last time I manage a ROM was a long time ago, I think about 2010 (was on Xperia X2), and was only for me (my "project" wasn't public). From that time for actual days, I don't manage/create nothing "solid" and structured anymore... And I'm sure all things have changed/updated/died/etc...
To help start familiar with new kitchens (the last was DSIXDA Kitchen), I have choose SuperR's Kitchen. I try to use it inside Cygwin, but it gives me an error while opening, I'm investigating this. So, I setup a virtual machine with Ubuntu in my house, and I have remote access to it from my work. In this VM, I setup the kitchen and (after a time to setup the right Java) it is running fine.
So, let's go, people. I'll edit this post as news are coming.
[UPDATE]What I have found:
If "Google Photos" is removed, then Gallery don't crop wallpapers, or adds a image to a contact;
Titanium Backup can't uninstall/integrate some apps and updates. It says "apk not found". I'm trying to use Link2SD;
SuperSU "lose" the configuration, forcing me to remove the apps I added, then run the app again. I'm looking for this
If you remove "Theme Center", you can't change wallpaper and Lenovo Home gives an error!
If you remove "Google App", "Now Launcher" gives errors about force close.
If you remove LenovoID, Settings force close when try to enter "accounts".
If we integrate "Google Play Services" and hard reset the phone, it force close at second stage of first registration.
Click to expand...
Click to collapse
hey can you tell me how root it and install TWRP.. thanks
nayakdinesh said:
hey can you tell me how root it and install TWRP.. thanks
Click to expand...
Click to collapse
Please, do not quote OP. Here is the link for what you requested: http://forum.xda-developers.com/showthread.php?t=3391100
Enviado de meu pac_A6020 usando Tapatalk
is there any custom kernel for this phone which cn provide dt2w ...
heeeelpp
I need rom L35 and not of a40 , my phone is stuck in the screen lenovo without TWRP and without backup
jrfirmino said:
I need rom L35 and not of a40 , my phone is stuck in the screen lenovo without TWRP and without backup
Click to expand...
Click to collapse
Do not spam at XDA or you won't get any help. Search an appropriate thread to make your question AFTER reading all posts from there.
Here isn't the appropriate thread.
Why did the OP marked [kernel] if there's not a kernel available here? That's not fare.
louiscypherbr said:
Why did the OP marked [kernel] if there's not a kernel available here? That's not fare.
Click to expand...
Click to collapse
@romulocarlos
No kernel yet ?
louiscypherbr said:
Why did the OP marked [kernel] if there's not a kernel available here? That's not fare.
Click to expand...
Click to collapse
The original idea was build a kernel, too.
Hnk1 said:
@romulocarlos
No kernel yet ?
Click to expand...
Click to collapse
No. Now we have CM13, thanks to Shreps, so this thread is obsolete.

Can any devs guide me in unlocking a hidden menu...

I just purchased a radio from Allixpress, it's a Allwinner T3-P3 running 6.0. The builder told me they hid the menu for Shutdown Delay when ACC OFF.. I want to enable it. I did find a workaround by creating a settings shortcut using Launcher Pro but.. it says it cannot run when I click the shortcut. They also had Build number hidden in About section so you could not activate Developer options but I was able to get to Developer options by creating the Settings shortcut using Launcher Pro.
I was able to root it so I can use root explorer does anyone know what file or config file would determine what options are on the setting menu? Or an app that would allow me to get to that settings page for Shutdown Delay?
HeyRobi said:
I just purchased a radio from Allixpress, it's a Allwinner T3-P3 running 6.0. The builder told me they hid the menu for Shutdown Delay when ACC OFF.. I want to enable it. I did find a workaround by creating a settings shortcut using Launcher Pro but.. it says it cannot run when I click the shortcut. They also had Build number hidden in About section so you could not activate Developer options but I was able to get to Developer options by creating the Settings shortcut using Launcher Pro.
I was able to root it so I can use root explorer does anyone know what file or config file would determine what options are on the setting menu? Or an app that would allow me to get to that settings page for Shutdown Delay?
Click to expand...
Click to collapse
hmm, post some pics of your unit. i remember my allwinner T3 also didn't have many settings, but after a FW upgrade i received from them, there were more options.
but none had shutdown delay on acc-off. Maybe talk to the seller to un-hide it in next FW? my other allwinner R16, also android 6 had the delay options..
zerozoneice said:
hmm, post some pics of your unit. i remember my allwinner T3 also didn't have many settings, but after a FW upgrade i received from them, there were more options.
but none had shutdown delay on acc-off. Maybe talk to the seller to un-hide it in next FW? my other allwinner R16, also android 6 had the delay options..
Click to expand...
Click to collapse
He did say "maybe" next update..
Btw when I'm searching for answers about this radio should I be searching for AllWinner t3_p3 for example my other radio is a Rk3066.. Also I'm assuming there isn't any custom roms out there or the firmware you have for the r16 won't work on this unit?
Well today was a good day.. I installed a newer firmware, but the setting was still not there.. But I did manage to get it rooted and xposed framework installed. I am so close to liking this radio.. I just need to enable or get to that one setting so it will sleep for 2 hours before shutting all the way down. I would assume there is a file somewhere in the unit that I just need to change from false to true.. But where is it... Here is what I am missing..
HeyRobi said:
Well today was a good day.. I installed a newer firmware, but the setting was still not there.. But I did manage to get it rooted and xposed framework installed. I am so close to liking this radio.. I just need to enable or get to that one setting so it will sleep for 2 hours before shutting all the way down. I would assume there is a file somewhere in the unit that I just need to change from false to true.. But where is it... Here is what I am missing..
Click to expand...
Click to collapse
First pic didn't work..
There has to be someone out there that has a solution to this..
HeyRobi said:
There has to be someone out there that has a solution to this..
Click to expand...
Click to collapse
Hi HeyRobi, could you find a solution??
The OP, posting in 2017, had posted in the wrong section/confused his device - it is not an MTCB, solutions for MTCB devices don't apply to his device.

[APP][MOD] Galaxy Wearable patch for Samsung phones with custom ROMs

Hello everyone,
Recently I have been experimenting with custom ROMs on my Samsung phone and was very unpleasantly surprised to find that Samsung does not allow my Galaxy Watch to be used with modded Samsung phone... Yeah, I know there's the option to replace manufacturer and brand in build.prop, however I don't like the idea of unnecessarily modifying the system just for a couple of proprietary apps, so instead I took the approach of patching the apps to make them work with the phone again.
All that needed to be done was patch manufacturer and brand to static string(s). Here's a command to do just that:
Bash:
find . -type f -name "*.smali" -exec sed -i 's/sget-object \(v\|p\)\(.\+\), Landroid\/os\/Build;->\(MANUFACTURER\|BRAND\):Ljava\/lang\/String;/const-string \1\2, \"letitbeheardthisphoneistobetreatedasifitwereofabranddifferentfromtheonestartingwiths\"/g' "{}" \;
Patching the apps, however made the shealth app refuse communication with the wearable app due to mismatching signing certificates and it needed to be patched too. It is possible to either completely bypass signature checking or insert custom certificate - I have attached a patch that does just that.
You can (and probably should) do this yourself if you want to use the modified applications. Just decompile apks with apktool, apply the command in the directory with the apps content (it is necessary for Galaxy Wearable, Samsung Accessory and Galaxy Watch Plugin apps), and insert you own custom certificate into Galaxy Watch Plugin (attached patch - just replace the cert with your custom one). If you use Samsung Health, just replace the certificate string with hex-encoded certificate you used to sign the apps in the attached patch and apply it to the app. Then rebuild the apps and sign using the key whose certificate you just inserted into the apps.
Although you should never trust a random stranger on the internet with apps you install, I understand not everyone wants to go through this process themselves, so hereby I solemnly promise there is no malicious code inserted into the provided apks. And here's the link
App Versions:
Samsung Accessory (com.samsung.accessory): 3.1.94.11128
Galaxy Wearable (com.samsung.android.app.watchmanager): 2.2.42.21083061
Galaxy Watch PlugIn (com.samsung.android.geargplugin): 2.2.05.21042051
Samsung Health (com.sec.android.app.shealth): 6.18.7.005
No idea what you're talking about. My watch works fine with my note 10+ using Dr ketan rom.
Same with Alexis. I just hide it with magisk but it was working just fine before that.
dchd310870 said:
No idea what you're talking about. My watch works fine with my note 10+ using Dr ketan rom.
Click to expand...
Click to collapse
Leon said:
Same with Alexis. I just hide it with magisk but it was working just fine before that.
Click to expand...
Click to collapse
I was talking about AOSP-based ROMs. Generally, I build and sign the ROM whenever possible and so I don't find it necessary to root my devices. Also I don't like the idea of making changes to mask the actual device and when the app is used with Samsung phone, it relies on proprietary interfaces implemented only in Touchwiz, which are not available in AOSP. Since it is an app issue, it makes sense to make changes on the app level instead of the system level.
dansimko said:
I was talking about AOSP-based ROMs. Generally, I build and sign the ROM whenever possible and so I don't find it necessary to root my devices. Also I don't like the idea of making changes to mask the actual device and when the app is used with Samsung phone, it relies on proprietary interfaces implemented only in Touchwiz, which are not available in AOSP. Since it is an app issue, it makes sense to make changes on the app level instead of the system level.
Click to expand...
Click to collapse
Hi,
I 've got the same problem with the rom Beyond V2.0.
Can you explain more precisely what i must do with yours files ? I'm a novice and my english not very good.
Thank a lot
Hello,
I'm using a unrooted (root not available yet) but knox tripped Samsung Galaxy S21 Ultra. Because of no root i'm not be able to edit build.prop to change the tima line. Now I'm searching a way to get Samsung shealth 6.15.1.003 get working with data sync. To be honost i dont really understand how to patch this way. Could somehone explain me what to do? Samsung health is already decompiled with APK Easy Tool. Thanks in Advance
Hallo sir can you update the files or explain a bit further how to do it by ourselves
Could you be more specific. I want to try it but I dont understand how to doit. some one knows how to patch these apks. ? you tube video? thanks.
hi sir, thank you for your hard work. looks good and might be what i wanted. just rooted my phone and i cant seem to pair my gear sport with my rooted S20+.
Do i just install the apk like normal, running it in file manager? or do i need to flash it in through custom recovery?
fwiw i use an Active 2 with a rooted Pixel 2 XL, and dont need any of that and have ECG/BP and Samsung Pay working. Only modified thing is the Samsung Health monitor app on the phone, modded to not detect root or require a Samsung Phone, thats it....
I own a s5neo with lineage 17.1 and I had the same problem as reported, galaxy wearable identified my phone as modified/rooted and exited. Using your apk I was able to launch the app but it fails to install the galaxy buds live plugin, only shows a message that failed to install.
I don't know how to do the patch and I would like to know if you can generate a patched apk for buds live plugin (https://play.google.com/store/apps/details?id=com.samsung.accessory.neobeanmgr&hl=en_GB)
thanks in advance
Can I use it for Spay?
nevermindrs said:
I own a s5neo with lineage 17.1 and I had the same problem as reported, galaxy wearable identified my phone as modified/rooted and exited. Using your apk I was able to launch the app but it fails to install the galaxy buds live plugin, only shows a message that failed to install.
I don't know how to do the patch and I would like to know if you can generate a patched apk for buds live plugin (https://play.google.com/store/apps/details?id=com.samsung.accessory.neobeanmgr&hl=en_GB)
thanks in advance
Click to expand...
Click to collapse
I have Galaxy Buds+ on a Pixel 2 XL
Heres how to do it the easy way...
Install Magisk
Enable MagiskHide in Magisk Manager settings
Tick all Samsung related apps in MagiskHide in Magisk Manager
Hide Magisk Manager
Reboot
Thats how i also have my Active 2 and Samsung Pay working
^yep, magisk is magic!
dansimko said:
I was talking about AOSP-based ROMs. Generally, I build and sign the ROM whenever possible and so I don't find it necessary to root my devices. Also I don't like the idea of making changes to mask the actual device and when the app is used with Samsung phone, it relies on proprietary interfaces implemented only in Touchwiz, which are not available in AOSP. Since it is an app issue, it makes sense to make changes on the app level instead of the system level.
Click to expand...
Click to collapse
Hi,
I am unable to install any of the apk. App not installed.
Please help me.
dansimko said:
Hello everyone,
Recently I have been experimenting with custom ROMs on my Samsung phone and was very unpleasantly surprised to find that Samsung does not allow my Galaxy Watch to be used with modded Samsung phone... Yeah, I know there's the option to replace manufacturer and brand in build.prop, however I don't like the idea of unnecessarily modifying the system just for a couple of proprietary apps, so instead I took the approach of patching the apps to make them work with the phone again.
All that needed to be done was patch manufacturer and brand to static string(s). Here's a command to do just that:
Bash:
find . -type f -name "*.smali" -exec sed -i 's/sget-object \(v\|p\)\(.\+\), Landroid\/os\/Build;->\(MANUFACTURER\|BRAND\):Ljava\/lang\/String;/const-string \1\2, \"letitbeheardthisphoneistobetreatedasifitwereofabranddifferentfromtheonestartingwiths\"/g' "{}" \;
Patching the apps, however made the shealth app refuse communication with the wearable app due to mismatching signing certificates and it needed to be patched too. It is possible to either completely bypass signature checking or insert custom certificate - I have attached a patch that does just that.
You can (and probably should) do this yourself if you want to use the modified applications. Just decompile apks with apktool, apply the command in the directory with the apps content (it is necessary for Galaxy Wearable, Samsung Accessory and Galaxy Watch Plugin apps), and insert you own custom certificate into Galaxy Watch Plugin (attached patch - just replace the cert with your custom one). If you use Samsung Health, just replace the certificate string with hex-encoded certificate you used to sign the apps in the attached patch and apply it to the app. Then rebuild the apps and sign using the key whose certificate you just inserted into the apps.
Although you should never trust a random stranger on the internet with apps you install, I understand not everyone wants to go through this process themselves, so hereby I solemnly promise there is no malicious code inserted into the provided apks. And here's the link
App Versions:
Samsung Accessory (com.samsung.accessory): 3.1.94.11128
Galaxy Wearable (com.samsung.android.app.watchmanager): 2.2.36.20113061
Galaxy Watch PlugIn (com.samsung.android.geargplugin): 2.2.05.20110441N
Samsung Health (com.sec.android.app.shealth): 6.12.3.001
Click to expand...
Click to collapse
how to generate hash from keystore. can anyone help? @dansimko
mohsin1122 said:
how to generate hash from keystore. can anyone help? @dansimko
Click to expand...
Click to collapse
Generate Hex from keystore
keytool -alias mykey -exportcert -keystore my-release-key.keystore -storepass 123456 | xxd -p
To anyone coming across this post who wants to do this themselves, I've made a little guide and some tools here: https://github.com/adil192/SamsungAppsPatcher.
I've also attached the apks I've patched if you don't want to do it yourself (since the ones in OP didn't work for me) here: https://mega.nz/folder/sUFj2C5b#M4zEP-c9ylY-ENxPw7qCUQ. Like OP, I promise I haven't added malware in this.
Edit: I've somewhat automated the process now so if anyone wants me to patch another plugin, just @ me and I'll get it added as soon as possible.
Adil192 said:
To anyone coming across this post who wants to do this themselves, I've made a little guide here: https://gist.github.com/adil192/ab95808fb66b6cde3d63ded6c19b0f1d. I've also attached the latest apps I've patched if you don't want to do that (since the ones in OP didn't work for me) here: https://mega.nz/folder/sUFj2C5b#M4zEP-c9ylY-ENxPw7qCUQ. This is tied to my name so I have no reason to add malicious code.
Click to expand...
Click to collapse
I need assistance with the gear s3plugin apk please.
Got it working..thanks
Would this process work to enable the Galaxy Wearable App to connect if using non-uk galaxy buds live? My app sets up the buds live but then fails to connect, even though Bluetooth connects and buds function.
Samsung have advised I have a Vietnamese version of the buds live which are not compatible with the Galaxy Wearable App in the UK.

Accessing Textfile from Xposed module

I trying to develop an Xposed module that would profile power and time consumption of apps on Method level so What I have for the user side is a simple list with check-boxes once and each list Item represents an App once an App is checked I get The dexfiles get all classes in the main package and get all methods as well all of this is then saved to a textile (tried using sharedprefrences but couldn't because of mode_world_readble throughing security issue ) what I want to do is to open the text file from the xposed class and read the save class names and method names to set hooks dynamically but I don't know where to place my code in xposed to make sure that the arraylist I've retrieved from the file is available i tried even leaving the code in "handleLoadPackage" without any conditions just to see what will happen some packages manged to read the file others failed not sure why I'm guessing it's something to do with permissions but not sure how to solve
You can try making a magisk module instead, some methods there can be of help.
Also looking at greenify source code can help, the app uses xposed as well.
XDHx86 said:
You can try making a magisk module instead, some methods there can be of help.
Also looking at greenify source code can help, the app uses xposed as well.
Click to expand...
Click to collapse
I'm not sure how magisk works and what language can I use in development I tried looking it before but seems complicated
ksabri said:
I'm not sure how magisk works and what language can I use in development I tried looking it before but seems complicated
Click to expand...
Click to collapse
I was just suggesting, I wasn't expecting you to just throw your current work and start all over again.
Viewing greenify source code is all that can help you now I think.
You can try to communicate with someone on the Xposed repo on github as well, they'll surely help you.
XDHx86 said:
I was just suggesting, I wasn't expecting you to just throw your current work and start all over again.
Viewing greenify source code is all that can help you now I think.
You can try to communicate with someone on the Xposed repo on github as well, they'll surely help you.
Click to expand...
Click to collapse
Yeah sure I appreciate your suggestion, I was looking for alternatives but the transition right now seems like a lot of work

Android 12 personal build

If somebody wanna to try my personal build of phh treble A12 with 01/05/22 security patch let me know and we figure out how to share. Keep in mind I don’t use Telegram .
Some info:
it's made with mind for regular use of device as phone not fancy or gaming machine.
Sms,calls,voip calls,navigation priority for me.Very slim rom!
I’m not put here some warning – you already understand all risk when using custom roms! Right? If not what are you doing here!
In short - phh aosp gsi and all credits to him and team.
Tested and adjusted for Nord10 5G BE86AA ATT provider, vendors 11.02 and 11.03, not rooted unlocked bootloaders.
Runs already w/o trouble over 2 mnts on 2 phones.
English only (no localization), diff keyboard layouts works,su, rw system, MicroG with sig spoofing, bromite webview,patched Captive portal (read here),
Cloudflare dns,dev option enabled, soft display option.
Removed useless overlays for phone, fixed voip call sound,ims, prefered network 5G enable, media sound over BT works.
Voip calls tested on Signal,Wire and WhatsUp with domestic and oversea calls.
My bank app working fine,gMaps works (but I’m using Magic Earth),fingerprint,otg-usb,Bluetooth in 2 cars,bluetooth to my pc.
I left pph treble app in case.
Many small changes, some hard coded some in build.props
I don’t use any google stuff or g Pay ,Amazon pay or any other pays so don’t know would it work or not. If you need it get something like pe and enjoy google+aftermarket s**t.
Only Foss apps
You need Calendar,Calculator,Messenger if you don’t like Signal (preinstalled) and good Music app.
I’m personally using Signal,Wire and Element, my wife Signal,Whatsup,security camera apps w/o trouble. Some apks not upstream versions.
I'm old school Linux guy - don't fix if it works is my philosophy. But on rw system you easily can rm and install what ever you like or update from Fdroid.
Interested
freemn61 said:
Interested
Click to expand...
Click to collapse
check pm
boom15 said:
If somebody wanna to try my personal build of phh treble A12 with 01/05/22 security patch let me know and we figure out how to share. Keep in mind I don’t use Telegram .
Some info:
it's made with mind for regular use of device as phone not fancy or gaming machine.
Sms,calls,voip calls,navigation priority for me.Very slim rom!
I’m not put here some warning – you already understand all risk when using custom roms! Right? If not what are you doing here!
In short - phh aosp gsi and all credits to him and team.
Tested and adjusted for Nord10 5G BE86AA ATT provider, vendors 11.02 and 11.03, not rooted unlocked bootloaders.
Runs already w/o trouble over 2 mnts on 2 phones.
English only (no localization), diff keyboard layouts works,su, rw system, MicroG with sig spoofing, bromite webview,patched Captive portal (read here),
Cloudflare dns,dev option enabled, soft display option.
Removed useless overlays for phone, fixed voip call sound,ims, prefered network 5G enable, media sound over BT works.
Voip calls tested on Signal,Wire and WhatsUp with domestic and oversea calls.
My bank app working fine,gMaps works (but I’m using Magic Earth),fingerprint,otg-usb,Bluetooth in 2 cars,bluetooth to my pc.
I left pph treble app in case.
Many small changes, some hard coded some in build.props
I don’t use any google stuff or g Pay ,Amazon pay or any other pays so don’t know would it work or not. If you need it get something like pe and enjoy google+aftermarket s**t.
Only Foss apps
You need Calendar,Calculator,Messenger if you don’t like Signal (preinstalled) and good Music app.
I’m personally using Signal,Wire and Element, my wife Signal,Whatsup,security camera apps w/o trouble. Some apks not upstream versions.
I'm old school Linux guy - don't fix if it works is my philosophy. But on rw system you easily can rm and install what ever you like or update from Fdroid.
Click to expand...
Click to collapse
Very nice! Nice to know android 12 is working on our devices. I will be waiting for release from you once it's ready
hmmm It sounds good
Thank you guys! But I'm not developer and not planing to do some releases here. If you not afraid to try and use it I can drop you link from my cloud. And of course welcome your opinion and advice after.
boom15 said:
Thank you guys! But I'm not developer and not planing to do some releases here. If you not afraid to try and use it I can drop you link from my cloud. And of course welcome your opinion and advice after.
Click to expand...
Click to collapse
I work with GSI installer here:
[BILLIE] [FASTBOOT] GSI Installer
GOOD DAY XDA'S FINEST! I recently got interested in the Generic System Image posts you guys were making, well honestly I wanted to make a script to restore my phone Mauronofrio style! It's uploaded to SourceForge and working pretty nicely. I...
forum.xda-developers.com
For now i have Pixel Experience A12 and im happy
This rom work like charm, bu NFC dont work and i cant root it now....
boom15 said:
If somebody wanna to try my personal build of phh treble A12 with 01/05/22 security patch let me know and we figure out how to share. Keep in mind I don’t use Telegram .
Some info:
it's made with mind for regular use of device as phone not fancy or gaming machine.
Sms,calls,voip calls,navigation priority for me.Very slim rom!
I’m not put here some warning – you already understand all risk when using custom roms! Right? If not what are you doing here!
In short - phh aosp gsi and all credits to him and team.
Tested and adjusted for Nord10 5G BE86AA ATT provider, vendors 11.02 and 11.03, not rooted unlocked bootloaders.
Runs already w/o trouble over 2 mnts on 2 phones.
English only (no localization), diff keyboard layouts works,su, rw system, MicroG with sig spoofing, bromite webview,patched Captive portal (read here),
Cloudflare dns,dev option enabled, soft display option.
Removed useless overlays for phone, fixed voip call sound,ims, prefered network 5G enable, media sound over BT works.
Voip calls tested on Signal,Wire and WhatsUp with domestic and oversea calls.
My bank app working fine,gMaps works (but I’m using Magic Earth),fingerprint,otg-usb,Bluetooth in 2 cars,bluetooth to my pc.
I left pph treble app in case.
Many small changes, some hard coded some in build.props
I don’t use any google stuff or g Pay ,Amazon pay or any other pays so don’t know would it work or not. If you need it get something like pe and enjoy google+aftermarket s**t.
Only Foss apps
You need Calendar,Calculator,Messenger if you don’t like Signal (preinstalled) and good Music app.
I’m personally using Signal,Wire and Element, my wife Signal,Whatsup,security camera apps w/o trouble. Some apks not upstream versions.
I'm old school Linux guy - don't fix if it works is my philosophy. But on rw system you easily can rm and install what ever you like or update from Fdroid.
Click to expand...
Click to collapse
im interested
umaga2012 said:
im interested
Click to expand...
Click to collapse
where to send link?
boom15 said:
where to send link?
Click to expand...
Click to collapse
Email address?
umaga2012 said:
Email address?
Click to expand...
Click to collapse
It's up-to you. You can check it in pm.
Sorry for being late,just came from work
Fedon said:
I work with GSI installer here:
[BILLIE] [FASTBOOT] GSI Installer
GOOD DAY XDA'S FINEST! I recently got interested in the Generic System Image posts you guys were making, well honestly I wanted to make a script to restore my phone Mauronofrio style! It's uploaded to SourceForge and working pretty nicely. I...
forum.xda-developers.com
For now i have Pixel Experience A12 and im happy
This rom work like charm, bu NFC dont work and i cant root it now....
Click to expand...
Click to collapse
Magisk 24 is now out with beta support for android 12
boom15 said:
If somebody wanna to try my personal build of phh treble A12 with 01/05/22 security patch let me know and we figure out how to share. Keep in mind I don’t use Telegram .
Some info:
it's made with mind for regular use of device as phone not fancy or gaming machine.
Sms,calls,voip calls,navigation priority for me.Very slim rom!
I’m not put here some warning – you already understand all risk when using custom roms! Right? If not what are you doing here!
In short - phh aosp gsi and all credits to him and team.
Tested and adjusted for Nord10 5G BE86AA ATT provider, vendors 11.02 and 11.03, not rooted unlocked bootloaders.
Runs already w/o trouble over 2 mnts on 2 phones.
English only (no localization), diff keyboard layouts works,su, rw system, MicroG with sig spoofing, bromite webview,patched Captive portal (read here),
Cloudflare dns,dev option enabled, soft display option.
Removed useless overlays for phone, fixed voip call sound,ims, prefered network 5G enable, media sound over BT works.
Voip calls tested on Signal,Wire and WhatsUp with domestic and oversea calls.
My bank app working fine,gMaps works (but I’m using Magic Earth),fingerprint,otg-usb,Bluetooth in 2 cars,bluetooth to my pc.
I left pph treble app in case.
Many small changes, some hard coded some in build.props
I don’t use any google stuff or g Pay ,Amazon pay or any other pays so don’t know would it work or not. If you need it get something like pe and enjoy google+aftermarket s**t.
Only Foss apps
You need Calendar,Calculator,Messenger if you don’t like Signal (preinstalled) and good Music app.
I’m personally using Signal,Wire and Element, my wife Signal,Whatsup,security camera apps w/o trouble. Some apks not upstream versions.
I'm old school Linux guy - don't fix if it works is my philosophy. But on rw system you easily can rm and install what ever you like or update from Fdroid.
Click to expand...
Click to collapse
I'm interested in a link to this android 12 rom
Fedon said:
I work with GSI installer here:
[BILLIE] [FASTBOOT] GSI Installer
GOOD DAY XDA'S FINEST! I recently got interested in the Generic System Image posts you guys were making, well honestly I wanted to make a script to restore my phone Mauronofrio style! It's uploaded to SourceForge and working pretty nicely. I...
forum.xda-developers.com
For now i have Pixel Experience A12 and im happy
This rom work like charm, bu NFC dont work and i cant root it now....
Click to expand...
Click to collapse
How did you install it?
umaga2012 said:
How did you install it?
Click to expand...
Click to collapse
Its only for OnePlus Nord N10 5G (BE2026/BE2029 - codename - billie)
download SYSTEM IMG and copy img to folder GSI-FLASHER and rename it to
system.img, then fastboot and run flash-device.bat (need unlocked bootloader of course)
Fedon said:
Its only for OnePlus Nord N10 5G (BE2026/BE2029 - codename - billie)
download SYSTEM IMG and copy img to folder GSI-FLASHER and rename it to
system.img, then fastboot and run flash-device.bat (need unlocked bootloader of course)
Click to expand...
Click to collapse
I'm sorry I am really confused about the right method coming from a samsung device where the procedure was quite different. Dont I need vbmeta.img or something? Inside the file the installation method is as below:
unlock bootloader,no root needed.
Tested on android 11.02/11.03 vendor, not sure about 10
RW version.
from terminal:
adb reboot bootloader
fastboot reboot fastboot
fastboot flash system nord-S-RW.img
fastboot -w
fastboot reboot
Enjoy!
Some times take upto 5 min to boot,
if not try restart again
Which method do I use?
umaga2012 said:
I'm sorry I am really confused about the right method coming from a samsung device where the procedure was quite different. Dont I need vbmeta.img or something? Inside the file the installation method is as below:
unlock bootloader,no root needed.
Tested on android 11.02/11.03 vendor, not sure about 10
RW version.
from terminal:
adb reboot bootloader
fastboot reboot fastboot
fastboot flash system nord-S-RW.img
fastboot -w
fastboot reboot
Enjoy!
Some times take upto 5 min to boot,
if not try restart again
Which method do I use?
Click to expand...
Click to collapse
If you have BE2026/BE2029 then all is inside my zip....
Only copy system.img into GSI-FLASHER and start flash-device.bat
(with unlocked bootloader and phone booted in fastboot - volume down + up + power)
thats all
Fedon said:
If you have BE2026/BE2029 then all is inside my zip....
Only copy system.img into GSI-FLASHER and start flash-device.bat
(with unlocked bootloader and phone booted in fastboot - volume down + up + power)
thats all
Click to expand...
Click to collapse
Thanks. Won't work on my device though. Mine is BE2025
umaga2012 said:
Thanks. Won't work on my device though. Mine is BE2025
Click to expand...
Click to collapse
it can work... you can try it... ( i try BE2026 rom on BE2029 and work like charm)
If no, you can always flash oxygen via EDL .
But i mean it can work

Categories

Resources