[Solved] [Magisk Module] [Oreo Update] Spoofing "Daydream ready device" on a Nexus 6P - Google Daydream VR

[Solved] [Magisk Module] [Oreo Update] Spoofing "Daydream ready device" on a Nexus 6P
TL;DR Skip to the last paragraph!
Daydream runs pretty nice on my n6p. sucks to sideload all apps also not all apps can be found on google. so i wanted play store to recognize my device as "daydream ready" and let me download all daydream apps. a little googleing later i found 2 reddits explaining what to do and saying "it works" in the comments.
https://www.reddit.com/r/oneplus/co...got_daydream_working_on_a_oneplus33t/dbmy2it/ creating 2 new files in /system/etc/permissions/
https://www.reddit.com/r/Android/comments/5hno6u/got_daydream_to_work_on_my_5x_might_work_on_other/ put the 2 feature tags in handheld_core_hardware.xml
none of those worked. i could start sideloaded daydream apps before this. updating/downloading from play store is my issue.
things i didnt try yet:
- a clean flash of the rom then change the permission files in twrp adb then reboot.
- putting the feature tags in 2 seperate files AND in handheld_core_hardware.xml
- https://android.googlesource.com/pl.../etc/android.hardware.vr.high_performance.xml has the <feature name="android.software.vr.mode" /> and the high performance mode tag in it. didnt try that 2 tags in one file way yet.
anybody got this to work yet? if so pls share
EDIT: i made a magisk v10 module changing the build.prop. if anyone wants to do it this way feel free to dl the attached module.zip. just downloaded some previously "incompatible" apps. idk what happens if u install it on a device that is not daydream-compatible. n6p is the dev device so it is compat but not daydream-ready. as every dev i take no responsibility for anything. u flash this at ur own risk. that it requires magisk to be installed and working is self-explainatory. just ignore the "wrong vendor.img" warning that pops up on booting.
UPDATE: magisk module disabling bug fixed since some versions ago.
V1.1 : quick and dirty commented out out manufacuturer line and zipped it again. still v10/11 magisk template but it works. just tested. template didnt change much anyway to v12 i think.
DaydreamBypass.zip : version for oreo by @tazzkiller

Here you go::
1) Get a build.prop editor out of the play store once you have acquired root access.
2) Locate the following strings of texts and change what is written there to "marlin", without the quotes.
ro.build.product
ro.product.device
ro.product.board
ro.product.name
3) Locate the following strings of texts and change what is written there to "Google", without the quotes.
ro.product.manufacturer
4) Locate the following string of text to "Pixel XL", without the quotes.
ro.product.model
5) Locate the following string of text and change what is written there to "google/marlin/marlin:7.1/NDE63L/3273814:user/release-keys" without the quotes.
ro.build.fingerprint
The last part might not be the proper string of text but I am doing this off of memory. Just look for the text that looks like the above and swap it out. After you do this, reboot your device. You will get an error message or two upon booting up and the first boot may take longer than normal but it works. I've personally done it with my 6P to get proper Daydream store games because I wanted to play Gunjack and ArcSlinger. Your build.prop editor should save the original build.prop as a build.prop.bak. When you are done installing your new games, simply change the new build.prop to build.prop.bak1, and the original back to a build.prop
The only bugs I have noticed with this are that during the first 24 hours after doing this I continually got an overheating message while in daydream even when the device wasn't hot. I don't know if time played a factor or multiple reboots but eventually the message stopped popping up. Let me know if it works for you.

Varking said:
Here you go::
1) Get a build.prop editor out of the play store once you have acquired root access.
2) Locate the following strings of texts and change what is written there to "marlin", without the quotes.
ro.build.product
ro.product.device
ro.product.board
ro.product.name
3) Locate the following strings of texts and change what is written there to "Google", without the quotes.
ro.product.manufacturer
4) Locate the following string of text to "Pixel XL", without the quotes.
ro.product.model
5) Locate the following string of text and change what is written there to "google/marlin/marlin:7.1/NDE63L/3273814:user/release-keys" without the quotes.
ro.build.fingerprint
The last part might not be the proper string of text but I am doing this off of memory. Just look for the text that looks like the above and swap it out. After you do this, reboot your device. You will get an error message or two upon booting up and the first boot may take longer than normal but it works. I've personally done it with my 6P to get proper Daydream store games because I wanted to play Gunjack and ArcSlinger. Your build.prop editor should save the original build.prop as a build.prop.bak. When you are done installing your new games, simply change the new build.prop to build.prop.bak1, and the original back to a build.prop
The only bugs I have noticed with this are that during the first 24 hours after doing this I continually got an overheating message while in daydream even when the device wasn't hot. I don't know if time played a factor or multiple reboots but eventually the message stopped popping up. Let me know if it works for you.
Click to expand...
Click to collapse
oh so its build.prop not permissions. or do i need those too?
will make me a magisk module for the build.prop mods tomorrow or so. and tell u how it worked out. u dont recommend keeping the changed build.prop?
Sent from my Nexus 6P using XDA Labs

All I did is unlock my bootloader, root my phone, and edit the build.prop. I would keep both build.props. It makes it so you can easily switch to the Pixel XL settings to download and install new games, and then load the original 6P ones again after you are done. Editing the build.prop like above had Google email me a welcome to the Pixel family email, too lol.
But I have 100% working daydream and store access just by doing what I listed above.

4RK4N said:
oh so its build.prop not permissions. or do i need those too?
will make me a magisk module for the build.prop mods tomorrow or so. and tell u how it worked out. u dont recommend keeping the changed build.prop?
Click to expand...
Click to collapse
I'm on a Nexus 5X and I'm on Pixel ROM, but I've heard keeping that build.prop change is fine. It doesn't affect Nexus as our OTAs and Stock apps don't need it. It'll just give you access to the Pixel specific apps

My experience on Sony Xperia Z1 says that you need to clear data of Google Play Service and Google Play Store after you modify the XMLs in system. I guess that by doing this, your device will be updated as a "Daydream ready phone" in Google's database.
By the way, Xperia Z1's Daydream doesn't work on AOSP 7.1.1. It crashes. Anyway, after I cleaned the data of those two apps, I can download apps like Daydream, Google VR Service, Daydream Keyboard, etc. from Google Play.

UPDATE:
apparently the build.prop modifications crash google camera (latest purenexus). fc upon opening the app.
also various daydream apps (twilight pioneers, vr karts sprint, etc) report "phone overheating" quite fast and force you to "cool the phone" with a "take it out of the headset and close the app" vr screen.
interstingly disabling the magisk module in magisk manager wasnt enough. build.prop was still set to the pixel xl values. uninstalling my module restored original build.prop.
no "wrong vendor.img" warning, google camera works, i still get "performance reduced. phone overheating." overlay warnings while playing daydream games but no force cool off time.
so i just install the module again once a week to check for updates on daydream apps and then uninstall it again.
anybody figured out how to disable the kinda annoying "overheating" warning while playing? ^^
Sent from my Nexus 6P using XDA Labs

4RK4N said:
UPDATE:
apparently the build.prop modifications crash google camera (latest purenexus). fc upon opening the app.
also various daydream apps (twilight pioneers, vr karts sprint, etc) report "phone overheating" quite fast and force you to "cool the phone" with a "take it out of the headset and close the app" vr screen.
interstingly disabling the magisk module in magisk manager wasnt enough. build.prop was still set to the pixel xl values. uninstalling my module restored original build.prop.
no "wrong vendor.img" warning, google camera works, i still get "performance reduced. phone overheating." overlay warnings while playing daydream games but no force cool off time.
so i just install the module again once a week to check for updates on daydream apps and then uninstall it again.
anybody figured out how to disable the kinda annoying "overheating" warning while playing? ^^
Click to expand...
Click to collapse
About the build.prop, don't change manufacturer. That messes up the camera. Allot.

I'm really interested in making my Samsung Galaxy S7 Edge "Daydream-compatible". I don't even have a Daydream headset, just the regular Gear VR. I really wish that Google would just make a Youtube VR app for Gear VR--it's the only reason why I'd like to give Daydream a try. If you want me to test anything, please let me know!

itinkerstuff said:
I'm really interested in making my Samsung Galaxy S7 Edge "Daydream-compatible". I don't even have a Daydream headset, just the regular Gear VR. I really wish that Google would just make a Youtube VR app for Gear VR--it's the only reason why I'd like to give Daydream a try. If you want me to test anything, please let me know!
Click to expand...
Click to collapse
since it requires the actual daydream headset to activate daydream mode im afraid i cant help you. besides the youtube vr app is optimized for the daydream controller. making it work with the gear vr headset buttons or the gear vr controller would require some rewriting of the yt vr app.
Sent from my Nexus 6P using XDA Labs

i tested this magisk modul on my s7 edge. seems to work. but then my NFC doesnt work anymore ?!?! so daydream doesnt work.
are really all prop need to be changed?
what build.prop item can make NFC unfunctional?
btw. this is the error i got in Need for Speed VR (logcat) ->
"failed to initialize async reprojection, unsupported device"

inteks said:
i tested this magisk modul on my s7 edge. seems to work. but then my NFC doesnt work anymore ?!?! so daydream doesnt work.
are really all prop need to be changed?
what build.prop item can make NFC unfunctional?
btw. this is the error i got in Need for Speed VR (logcat) ->
"failed to initialize async reprojection, unsupported device"
Click to expand...
Click to collapse
try removing the manufacturer line. maybe nfc still works and u can daydream.
just recived my n6p back from rma (ranfom hardware failure) dunno if module still works with latest magisk.
about nfs vr idk. maybe samsung messed up some graphics function. wait no they call it "optimized" xD find a aosp rom and try it again.
Sent from my Nexus 6P using XDA Labs

use magisk prompt incompatible
use magisk daydream prompt: ‘’ incompatible phone ‘’
how to deal with .......
my telephone model is Nexus 6

xiaoluwan said:
use magisk daydream prompt: ‘’ incompatible phone ‘’
how to deal with .......
my telephone model is Nexus 6
Click to expand...
Click to collapse
What? give us a little more than a few random words pls. ur post makes like no sense sry to day that.
ALSO: changed the module to NOT alter manufacturer. i still wouldnt recommend having the module always running. just tested it. still can dl all daydream apps while module is active. module disabling works now with magisk yay. new version in first post.
Sent from my Nexus 6P using XDA Labs

How to get past this screen?
Not able to proceed even if I enter my credentials.

Will this work for leeco lemax2?

Guys don't bother. I got Daydream running on my Moto X Style and virtually all of the 3rd party apps don't work. They either crash on launch or are in full screen 2d mode and not split screen 3d mode. Only the Google made Daydream apps seem to work.

tboy2000 said:
Guys don't bother. I got Daydream running on my Moto X Style and virtually all of the 3rd party apps don't work. They either crash on launch or are in full screen 2d mode and not split screen 3d mode. Only the Google made Daydream apps seem to work.
Click to expand...
Click to collapse
How did u skip add payment option?

baratheon16 said:
How to get past this screen?
Not able to proceed even if I enter my credentials.
Click to expand...
Click to collapse
i never had that screen lol. cant help you sorry. i have a paypal linked with my playstore since ages ago maybe thats why it never asked me.
Sent from my Nexus 6P using XDA Labs

baratheon16 said:
How did u skip add payment option?
Click to expand...
Click to collapse
I never got that option. maybe because I have paypal linked to playstore as previous guy said.
Seriously, don't waste your time.

Related

[Q]how to lock apps in memory? Xpose and Jkay no work

Hello everyone,
Here is my problem.
My background music (ttpod ) frequently get killed when I open browser or anything other thing, even when I am typing this right now got killed again.
I tried dozens ROM as stock, omega, android revolution...etc, all happens same thing.
I also tried Jkay and Xpose framework to whitelist it, but still...
Anything idea?
Sent from my GT-I9300 using xda premium
Did anyone answer you with this one? I can't restore anything Jkay in my settings it just says restore failed, even though I have not limited access for Jkay on anything?
qtwrk said:
Hello everyone,
Here is my problem.
My background music (ttpod ) frequently get killed when I open browser or anything other thing, even when I am typing this right now got killed again.
I tried dozens ROM as stock, omega, android revolution...etc, all happens same thing.
I also tried Jkay and Xpose framework to whitelist it, but still...
Anything idea?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Hey dude,
Jump on to the Xposed modules site and download the one called AppSettings_0.4.apk located here
Set this in Xposed to make it function. Open the app. Then go back to Xposed Privacy if you have it and enable this settings app to have full control. Then go back to the AppSettings apk and this should then allow you to search and should display all of your apks. This is your permissions controlller app now (not necessarily security like Xprivacy but more so the gateway for your Xposed framework. Think of it like a new toll road that has just been opened, it will allow a better route for traffic to flow to its destination, but there at the moment the toll booth is un-manned and the gates are shut so no one can use the toll road until you put a man in the booth to control the boomgates
Find Jkay app and check allow for all of its functions and bam everything working 100%
Really once you get used to this, this framework can allow for Jkay + more. Jkay should be porting his app to Xposed modules rather than trying to update every freakin framework release there is, especially considering that most of the functionality doesn't change between releases all that much. With Xposed he should publish for the top level of functionality and people who don't have a framework that is equiped with that functionality just won't get it, none of their apps will force close, nothing will screw up if they flash the incorrect version etc.
But....thinking about it, my feeling is that Jkay is more about the money than anything? If he was to do this he wouldn't make any money off people buying his app so I guess that will never work for him.
Jarmezrocks said:
Hey dude,
Jump on to the Xposed modules site and download the one called AppSettings_0.4.apk located here
Set this in Xposed to make it function. Open the app. Then go back to Xposed Privacy if you have it and enable this settings app to have full control. Then go back to the AppSettings apk and this should then allow you to search and should display all of your apks. This is your permissions controlller app now (not necessarily security like Xprivacy but more so the gateway for your Xposed framework. Think of it like a new toll road that has just been opened, it will allow a better route for traffic to flow to its destination, but there at the moment the toll booth is un-manned and the gates are shut so no one can use the toll road until you put a man in the booth to control the boomgates
Find Jkay app and check allow for all of its functions and bam everything working 100%
Really once you get used to this, this framework can allow for Jkay + more. Jkay should be porting his app to Xposed modules rather than trying to update every freakin framework release there is, especially considering that most of the functionality doesn't change between releases all that much. With Xposed he should publish for the top level of functionality and people who don't have a framework that is equiped with that functionality just won't get it, none of their apps will force close, nothing will screw up if they flash the incorrect version etc.
But....thinking about it, my feeling is that Jkay is more about the money than anything? If he was to do this he wouldn't make any money off people buying his app so I guess that will never work for him.
Click to expand...
Click to collapse
thanks anyway , i have ready solve this problem :good:
No problems man. I usually come back and answer my own questions on the forum so that when others search that they can know answers too. So I will leave my post up.
It wasn't just me was it? The information required to solve the problem WAS NOT easily located in the sea of information within the framework thread?

[MOD][XPOSED] Prevent Running

I have a forked update, Brevent, which doesn't require Xposed, nor root, nor unlock bootloader.
You can find it here: https://forum.xda-developers.com/android/apps-games/introduce-brevent-black-prevent-root-t3559151
Prevent Running was transfered to "Shanghai Falcon Network Co., Ltd." since 2.3.3.
This module was written for my GF, and accept donations.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- configuration changed, otherwise cannot change lanugage
- account, otherwise sync and account won;t work
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Latest testing version: http://piebridge.me/pr/
Change Logs
for english version: please visit: http://piebridge.me/pr/CHANGELOG.en.txt
for chinese version: please visit: http://piebridge.me/pr/CHANGELOG.txt
First.
GB users will happy.
Good Work sir !
Will test it ASAP .
so by activing this module, after i click Force stop, in GB, will be the same like Hibernating with greenify ? :laugh:
lovely thanks, i hope this can make my old ace duos come back to life thanks liudongmiao bro
liudongmiao said:
This module is written for my GF, and accept donations.
// Normally, I don't accept any donation for most little project.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
For GB user, there is no greenify, and there is no change to back-port.
1). greenify depends system's launch control (http://developer.android.com/about/versions/android-3.1.html#launchcontrols), which introduces in 3.1
2). greenify is not opensource, also the author and i live in the same country, even in the same city, however, he doesn't open source it.
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- input method, otherwise reboot is needed to show a input method in the input method chooser.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- launcher, otherwise there is no chance to start the activiy.
- view for system's package, otherwise it will cause FC. For example, if you force stop browser, and user want to visit a link, it should receive the broadcast.
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Click to expand...
Click to collapse
Please give screenshot and your battery life before and after installing this module
Sent from my GT-N7100 using Tapatalk
Was looking for Greenify for GB from long...
Can somebody review this app? Is there any shortfall of this app in comparison with Greenify (as user, don't understand technicality )
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
swat4samp said:
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
Click to expand...
Click to collapse
It shouldn't receive any broadcast, and never running, so you coun't recive messages.
Can you add a UI when you can choose apps to hibernate (like Greenify) and force stop them one by one?
BTW, this mod is superb...
Sent from my Xperia E1 dual using Tapatalk
1. Love doesn't need any reason.
2. Wanna speed up 3G (not 4G LTE)?
Here it is:
http://forum.xda-developers.com/showthread.php?t=2586876
3. My blog
4. Press the thanks button if I really helped/assisted you.
???? amazing , thanks so kmmuch
Enviado desde mi HTC One mediante Tapatalk
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
nikola1970 said:
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
Click to expand...
Click to collapse
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
liudongmiao said:
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
Click to expand...
Click to collapse
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
swat4samp said:
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
Click to expand...
Click to collapse
I don't know what's freeze, it doesn't seem to be a android's function.
As i said in the description, it doesn't force stop any application, but prevent sending broadcast to force stopped application.
For caching, it's a feature added to android's design.
For android's native design, when you start the application, it will be removed from the stop list until you force stop again.
But for me, i think its too complex to stop it, so i catch the finish, and if it's exited by finish, it will be added to the stop list.
// but it's in the cache processing list. so if you want to force stop it. this little design is useful for me to open a application temporary.
So if you stop the mms, i don't know whether you will receive or not.
The mms should be the core services of the android, i don't think you can force stop the services...
And i didn't forbidden the open the activity from the service, otherwise, it will cause FC of the application.
As i'm very busy, and an UI will take me some time. So there is no ui currently.
However, for the list, you can open the /data/data/me.piebridge.forcestopgb/conf/forcestop.list
For the xposed and other back-ported's module, it's not updated just because i'm too busy, and sometime too lazy .
You can read the description here: http://repo.xposed.info/module/me.piebridge.forcestopgb
And if you want to know more about the tech, you can read google's documetation: http://developer.android.com/about/versions/android-3.1.html#launchcontrols
thanky you for answers @liudongmiao
when i prevent Viber from running, when i start Viber, it starts but when you tao on some conversation it gives me force close. is this know bug?
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
swat4samp said:
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
Click to expand...
Click to collapse
true or false has special meaning.
true indicates this app is in the stopped list, and no broadcast would be send to the application.
false indicates this app has been marked in the stopped list, and when use back-key to exit, it would be in the stopped list.
I will write a simple ui, after the back-porting of xposed installer (completed), xprivacy (completed), and app settings (in to do).
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
kalel29 said:
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
Click to expand...
Click to collapse
As I have no ics+ devices, so i cannot say much things.
And if you want to try, you can wait for some days, I would write a simple configuation ui this weekend.
In short, if greenify works on your device, then just use greenify. But if you find greenify doesn't work at all, then try this one.
From design, greenify depends on http://developer.android.com/about/versions/android-3.1.html#launchcontrols introduces in android 3.1, this app hacks some api to emulate the launch controls. This works on gingerbread devices, and the devices that launch controls don't work at all.

[MOD][Xposed]MyAndroidTools Xposed Module 0.1

This module prevents components from trying to enable themselves.
---------------------------------
We can use MyAndroidTools or MyAndroidTools Pro (you can find them in the Google Play) to disable components(service,broadcast receiver,activity,content provider).
But any app can enable their own component through an open api (setComponentEnabledSetting).
This module just prevent it.
The icon comes from Uchiha Shisui's Mangekyō Sharingan.
1. Log:record all the components that use "setComponentEnabledSetting" to enable themselves,not matter whether it is checked in the blacklist.
2. BlackList settings:select the app you want to block,then save.
--------------------------------------------
//the main source code:
Code:
XposedHelpers.findAndHookMethod("android.app.ApplicationPackageManager",
loadPackageParam.classLoader,
"setComponentEnabledSetting",
ComponentName.class, int.class, int.class,
new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
if (((int) param.args[1]) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) {
param.args[1]=PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
}
}
});
I love your app !!! What version do I need to be on for this to work ?
Would be nice if you explained more info in your thread ? What exactly does this do that the app already doesn't ?
does MyAndroidTools 1.2.8.7 apk need to be installed first and then this Xposed Module 0.1?
how exactly does this work? please explain in detail and also the installation procedure.
I agree with m0han. The module doesn't provide us with a user interface. So when activated through Xposed, what exactly is it doing? Do we need to download the apk from the app store? More clarification is needed before I activate this module. Thanks.
wangqi060934 said:
This module prevent components from trying to enable themselves.
Click to expand...
Click to collapse
Awesome, thank you!
Finally something to stop K9-Mail and Google Play store from starting at boot
Would you consider making the Xposed module or even MyAndroidTools open source? Xposed modules and root apps are scary and releasing the source would increase trust immensely.
I bought the pro version and I would actually buy it again or donate for an open source version. Your app and XPrivacy (open source ) make a very nice couple on any phone :laugh:
@wangqi060934, it is very cool and higly anticipated feature. Thank you!
But how does it work? How does it distinct components disabled by me with MyAndroidTools and components disabled by host app itself? And, by the way, can such components be visually distinguished in MyAndroidTools's GUI?
I don't know the nature of this facts but some apps (e.g. Gmail) indeed have services which are disabled without any manual intrusion.
Kind regards!
There is a beta2 now. I already have MyAndroidTools 0.9.8.6 installed from Play Store. I downloaded the beta through Xposed and installed it as we usually do for Xposed modules, enabled it in Xposed and rebooted.
If we go to XPOSED>modules and click on My AndroidTools, we are asked to activate the module. When we click OK, it goes back to the modules screen and if once again clicked, the UI appears. We have Log, Blacklist and Settings options at top left.
The blacklist menu gives options of third party apps and system apps and when you choose one, the apps are listed with a checkbox against their names. Till now I have experimented. After this comes the conjecture.
If we choose one or more of the apps and click the save button at top right, then that app is prevented from enabling itself unless we invoke that app ourselves. This is my understanding. I have not attempted it. I am afraid as 1. I am not an expert 2. there is no info about what this module actually does 3. it is an Xposed module 4. I won't have my laptop for some more time (in case something happens).
The settings option has only one option to show a toast when a blocking happens. The log is a log.
So if somebody else is brave enough to experiment further or if the OP explains things, I would be happy.
EDIT:
The app also appears in the app drawer and clicking it has the same effect as from Xposed.
if you do a search on xda theres more info on this app when you find it try the tenshi_xp settings.
v0.2 is not working for me, it always show me that the Module is not active even though I can see in Xposed Log it's loaded.
xk0niR said:
v0.2 is not working for me, it always show me that the Module is not active.
Click to expand...
Click to collapse
Same here.
(CM12.1 at SGS4mini I9192)
xk0niR said:
v0.2 is not working for me, it always show me that the Module is not active even though I can see in Xposed Log it's loaded.
Click to expand...
Click to collapse
There seems to be an issue with the UI. I also get the popup that the app is not active and asking me to activate it. If I activate it, the UI closes. The workaround I found is to open it from recents. Then the UI stays and you can play with it.
---------- Post added at 02:14 PM ---------- Previous post was at 02:13 PM ----------
Kirrrr said:
Same here.
(CM12.1 at SGS4mini I9192)
Click to expand...
Click to collapse
...
wangqi060934 said:
This module prevent components from trying to enable themselves.
Click to expand...
Click to collapse
The module block massenger to connect to the network
Envoyé de mon SM-N910F en utilisant Tapatalk
Version 0.3 seems to work again.
I was wondering about the purpose of a blacklist. When I disable a service for an app with MyAndroidTools, I do not want that app to re-enable said service. Essentially this means that all apps should be activated in the blacklist in the Xposed module?
There is a version 0.6 now. Further the Dev has also furnished more info on the app in the first post.
When we reboot after enabling the app in Xposed and open the app, the log populates and shows the components which have been enabled through 'setComponentEnabledSetting'. We can then long press the component which we want to disable and choose 'blacklist'. It is then shown as blacklisted. The 'blacklist settings' shows the third party apps installed on the phone which can be selected and saved for blocking.
So find any component or third party apps which you want to block and do so. When something is chosen for blocking and it tries to enable itself, it is blocked and an entry appears in the log with its name and the time of its blocking.
If anyone finds any further info, please post the same so that we can learn.
---------- Post added at 01:52 PM ---------- Previous post was at 01:48 PM ----------
daniel_m said:
Version 0.3 seems to work again.
I was wondering about the purpose of a blacklist. When I disable a service for an app with MyAndroidTools, I do not want that app to re-enable said service. Essentially this means that all apps should be activated in the blacklist in the Xposed module?
Click to expand...
Click to collapse
No. You check the log and if you find the blocked app/component shown as started, then you add it to the blacklist.
As the Dev explains in the first post, not all disabled apps/components enable themselves. Only a few do so. You find them from the log and block them. Not all.
tnsmani said:
No. You check the log and if you find the blocked app/component shown as started, then you add it to the blacklist.
As the Dev explains in the first post, not all disabled apps/components enable themselves. Only a few do so. You find them from the log and block them. Not all.
Click to expand...
Click to collapse
Yes, I noticed. Of the 200 apps installed on my phone, only K9-Mail and Google Play Store try to re-enable some services.
The question is, does blacklisting impact performance? If not, one could simply blacklist all apps and not care about checking the log. On my ancient Sony Xperia Mini Pro, blacklisting all apps did not seem to slow down the phone noticeably.
Installed it and it worked perfectly; however I had to uninstall the module since it caused, sometimes, a bootloop. It didn't happened all the time and if I accessed to the recovery and rebooted the phone after a forced shutdown, phone booted correctly. I'm almost sure it's the module fault because since I uninstalled it the phone is working smoothly, anyway I don't know how to provide a log in order to help.
I have a Oneplus One running custom CM12.1 by Sultanxda.
Bino92 said:
Installed it and it worked perfectly; however I had to uninstall the module since it caused, sometimes, a bootloop. It didn't happened all the time and if I accessed to the recovery and rebooted the phone after a forced shutdown, phone booted correctly. I'm almost sure it's the module fault because since I uninstalled it the phone is working smoothly, anyway I don't know how to provide a log in order to help.
I have a Oneplus One running custom CM12.1 by Sultanxda.
Click to expand...
Click to collapse
Try the next version 0.7
Module fc since last version
Sent from my SM-G920F using XDA-Developers mobile app
FC on blacklist menu and still bootloop, with and without system app selection...
Bino92 said:
FC on blacklist menu and still bootloop, with and without system app selection...
Click to expand...
Click to collapse
Was also suffering with alot of bootloop, couldn't work out what app it was. Glad I found your comment

[Help] Whatsapp videopreview black screen with audio

Hello everyone,
I have a Galaxy S7 (SM-G930F) with Kernel 3.18.91. and Android 8.0. The phone was rooted just recently with the latest version of magisk.
I am not quite the expert, but I will try my best to describe the issue.
Basically after I rooted this phone, I started noticing that I could no longer play back videos in Whatsapp before I send them (the preview window where you can edit it before sending it).
All it does now is play back the audio and show a black screen. It doesn't crash or anything, the content of the video is just not being played except the audio.
Video playback is completely fine in the stock gallery app and everywhere else.
I already reinstalled Whatsapp and restarted my Phone
I have the following modules for magisk installed:
Busybox 1.31.1
debloater 17.3.3
Viper4Android FX 2.7.1
Samsung 4K60 Camera Mod 7.6.86
I also removed some of the bloating software with the terminal, but upon noticing this issue I decided to revert some of the changes. I do not know if this issue persisted beforehand. I was thinking that I might have deleted something here that was important for its functionality, but then the stock player wouldnt work either right?
I would rather not do a factory reset to fix this, if possible. However, if there is no other possibilty is there a way to backup all my modules and settings?
Here is what I tried:
reinstall Whatsapp multiple times
restart the phone
revert some of the changes in the debloater terminal
deactivate HW overlay
My guess is that I deleted something in the terminal that was important, is there a way to know for sure?
I hope someone can give me some hints as to what this problem is about. I will make sure to add screenshots of the list EDIT: need 10 posts to send links so I will just do it manually.
list of removed apps:
Basic Daydreams
Skype
tuiService
VoiceAssistant
upsmtheme
gearmanagerstub
samsung galaxy friends
language packs
galaxy essential widgets
Gear VR Service
S voice
Samsung gear, account, billing, cloud
EDIT 2: I found a temporary fix by enabling force GPU rendering in the system settings, I double checked by enabling the refresh indicator and previewing a video. Once I disable this option, video preview no longer works again. Question now is, if there is a way for me to exclusively enable this for whatsapp to save battery life
Just switch rendering by gpu in develop opp
Manny thanks buddy its works
Tomas
How to Enable Force GPU Rendering:
First of all "THANKYOU" for the solution of error. May GOD Bless You :angel:
1. Go to Settings and scroll all the way down to the bottom.
2. If you don't see the option, tap on About phone (About device) and look for an entry called Build Number.
3. Tap on Build number 7 times until you get a message saying “You are now a developer“.
4. Find Force GPU Rendering option and enable it.
Request for prayers.
:angel::angel::angel:
Galaxy S7 EDGE in whatsapp
Tzuuit said:
Hello everyone,
I have a Galaxy S7 (SM-G930F) with Kernel 3.18.91. and Android 8.0. The phone was rooted just recently with the latest version of magisk.
I am not quite the expert, but I will try my best to describe the issue.
Basically after I rooted this phone, I started noticing that I could no longer play back videos in Whatsapp before I send them (the preview window where you can edit it before sending it).
All it does now is play back the audio and show a black screen. It doesn't crash or anything, the content of the video is just not being played except the audio.
Video playback is completely fine in the stock gallery app and everywhere else.
I already reinstalled Whatsapp and restarted my Phone
I have the following modules for magisk installed:
Busybox 1.31.1
debloater 17.3.3
Viper4Android FX 2.7.1
Samsung 4K60 Camera Mod 7.6.86
I also removed some of the bloating software with the terminal, but upon noticing this issue I decided to revert some of the changes. I do not know if this issue persisted beforehand. I was thinking that I might have deleted something here that was important for its functionality, but then the stock player wouldnt work either right?
I would rather not do a factory reset to fix this, if possible. However, if there is no other possibilty is there a way to backup all my modules and settings?
Here is what I tried:
reinstall Whatsapp multiple times
restart the phone
revert some of the changes in the debloater terminal
deactivate HW overlay
My guess is that I deleted something in the terminal that was important, is there a way to know for sure?
I hope someone can give me some hints as to what this problem is about. I will make sure to add screenshots of the list EDIT: need 10 posts to send links so I will just do it manually.
list of removed apps:
Basic Daydreams
Skype
tuiService
VoiceAssistant
upsmtheme
gearmanagerstub
samsung galaxy friends
language packs
galaxy essential widgets
Gear VR Service
S voice
Samsung gear, account, billing, cloud
EDIT 2: I found a temporary fix by enabling force GPU rendering in the system settings, I double checked by enabling the refresh indicator and previewing a video. Once I disable this option, video preview no longer works again. Question now is, if there is a way for me to exclusively enable this for whatsapp to save battery life
Click to expand...
Click to collapse
same issue here with my Galaxy S7 EDGE in whatsapp i factory reseted reinstalled whatsapp but still same issue any help?
Having the same issue here with my s7 edge too i haven't rooted or done anything to it. Its a tmobile version.. Before it was blank screen with sound.. Noe there is no sound at all.. Any solution please
Seems to be a general bug for some devices...
Force GPU rendering and clearing my cache didn't fix it for me, however, I was able to get around the black screen by hitting the "Add files" icon, and immediately hitting "OK" without adding any additional files. Video preview renders fine after doing this each and every time. It's a hassle but it works for me. Hope this helps someone.
In case this is an entirely different bug, the file's audio still plays for me when I tap the black screen on my Google Pixel 3.
Thank you so much i have been dealing with this in my samsung s7 too for a long time and i fixed it with an old version of whatsapp, until today that i couldn´t use it anymore because it was too old. This is the first site that i have seen a real solution to this problem. Thanks againn!!
It worked
I enable developer and force gpu rendering and I can now preview videos before uploading on whatsapp. I've been having this issue from the time I got my phone and now it works fine thanks guys

Question Spoofing for unlimited Photos storage

Is anyone aware of a method of doing only spoofing and nothing else for this phone?
There are a few mods available for spoofing. They seem to assume that you're using a non-pixel device though, as they also "Pixelify" the phone with many additional pixel goodies that Pixel phones already have. I'm concerned that it might cause issues as it seems unhealthy to double up on features.
I've used pixelify, so far no issues and works with full size photos, the only kinda annoying thing is you need to turn it off every time you want to use magic eraser otherwise it doesn't show up as an option, as well if the app updates while the module is on you lose the eraser completely until deleting the data storage of the app and updating again without the module on, easy fix tho is just turn off auto update for google photos and update with the module off
GitHub - Kingsman44/Pixelify: Magisk module to enables pixel exclusive features and ui
Magisk module to enables pixel exclusive features and ui - GitHub - Kingsman44/Pixelify: Magisk module to enables pixel exclusive features and ui
github.com
Google unlimited backup is not working for me after root; the Google Photo app says it's not taking space, but the 'storage used' on the webpage actually increases. I tried using zygisk / shamiko / pixelify /lsposed module and those doesn't seem to work..
trojblue said:
Google unlimited backup is not working for me after root; the Google Photo app says it's not taking space, but the 'storage used' on the webpage actually increases. I tried using zygisk / shamiko / pixelify /lsposed module and those doesn't seem to work..
Click to expand...
Click to collapse
I've checked out those other solutions that I mentioned in the OP and it seems like Google has started using a protection method that constantly checks the validity of certain services and dynamically re-enforces them to function as originally intended. So even if you get a mod like Pixelify to work it will stop working within hours.
The devs behind these mods are aware of this protection and have yet to figure out a way to crack it. For now we can't cheat Google Photos.
RobbyRobbb said:
I've checked out those other solutions that I mentioned in the OP and it seems like Google has started using a protection method that constantly checks the validity of certain services and dynamically re-enforces them to function as originally intended. So even if you get a mod like Pixelify to work it will stop working within hours.
The devs behind these mods are aware of this protection and have yet to figure out a way to crack it. For now we can't cheat Google Photos.
Click to expand...
Click to collapse
I got it working yesterday on an old android 8 phone (htc10).
I factory reset, did not login Google account, applied zygisk/universal safetynet fix/pixel features, test that safetynet passes, then did the Google login. Google photos is saying that I can upload unlimited photos at 'storage saver' quality, but when I choose original quality it doesn't take up any space.
So yeah, it might have something to do with the newer protection methods, but for now I'm fine with copying photos to my old phone just for the backup.
trojblue said:
I got it working yesterday on an old android 8 phone (htc10).
I factory reset, did not login Google account, applied zygisk/universal safetynet fix/pixel features, test that safetynet passes, then did the Google login. Google photos is saying that I can upload unlimited photos at 'storage saver' quality, but when I choose original quality it doesn't take up any space.
So yeah, it might have something to do with the newer protection methods, but for now I'm fine with copying photos to my old phone just for the backup.
Click to expand...
Click to collapse
Can you try restarting the phone and see if it still works when uploading a larger video? I also thought that it worked on some other phones until i restarted and the settings for the Google Play service resets in Zygisk, breaking the hack. Photos still said that uploads are unlimited, but they still actually took up space in the could.
RobbyRobbb said:
Can you try restarting the phone and see if it still works when uploading a larger video? I also thought that it worked on some other phones until i restarted and the settings for Google Play service resets in Zygisk, breaking the back. Photos still said that uploads are unlimited, but they still actually took up space in the coul
Click to expand...
Click to collapse
That kind of scares me from restarting xd
I've uploaded ~50G of photo/videos with no problems, but haven't restarted for once yet. I'll try out restarting once I got all my old photos uploaded.
RobbyRobbb said:
I've checked out those other solutions that I mentioned in the OP and it seems like Google has started using a protection method that constantly checks the validity of certain services and dynamically re-enforces them to function as originally intended. So even if you get a mod like Pixelify to work it will stop working within hours.
The devs behind these mods are aware of this protection and have yet to figure out a way to crack it. For now we can't cheat Google Photos.
Click to expand...
Click to collapse
Well of course why wouldn't they figure it out when people post and create so many videos of this spoof/exploit. Dont you think they would investigate then patch the issue lol wow
The OG Pixel gets unlimited original quality storage forever, so any device with the OG Pixel fingerprint would presumably be able to back up photos in Original Quality without counting towards storage.
The Pixel 2 through 5a all get unlimited Storage Saver (1080p) forever.
If I flash the pixelify module,will it work? or will all the other "pixel features" get in the way of my stock android 12?
squidbutt said:
If I flash the pixelify module,will it work? or will all the other "pixel features" get in the way of my stock android 12?
Click to expand...
Click to collapse
You can use pixelify but unselect all features except unlimited google photos

Categories

Resources