[Q] Editing build.prop with Xposed Module - Xposed General

Anyone have any idea on how to edit specific lines of the build.prop within an Xposed module? Which method would I have to call and from where?

Why not edit it directly?
If you want to do it using Xposed, you'd need to find where the value you want is parsed and hook that method.

GermainZ said:
Why not edit it directly?
If you want to do it using Xposed, you'd need to find where the value you want is parsed and hook that method.
Click to expand...
Click to collapse
Huh, any tutorial to gain root access and edit it?

rakeshdas said:
Huh, any tutorial to gain root access and edit it?
Click to expand...
Click to collapse
how did you install xposed without root? via recovery?, you can edit build.prop via recovery also.
to modify just hook Build.java and modify the fields to something you want
Like MODEL = getProp("ro.product.model") to
MODEL = "SomeCustomModel"
ofc not this way, you want to use xposed code

rakeshdas said:
Anyone have any idea on how to edit specific lines of the build.prop within an Xposed module? Which method would I have to call and from where?
Click to expand...
Click to collapse
This Xposed module do this: http://github.com/bigsinger/AndroidIdChanger

rakeshdas said:
Anyone have any idea on how to edit specific lines of the build.prop within an Xposed module? Which method would I have to call and from where?
Click to expand...
Click to collapse
There's a few ways to edit the build.prop using an XPosed Module or an app.
The following is just 1 of the XPosed Modules that can be used.
https://forum.xda-developers.com/showthread.php?t=3653953
The following is an excellent app that can be used to do this too. It even has a backup/restore feature for the build.prop too.
https://forum.xda-developers.com/showthread.php?t=3359589
Just a friendly FYI...
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Ibuprophen said:
There's a few ways to edit the build.prop using an XPosed Module or an app.
The following is just 1 of the XPosed Modules that can be used.
https://forum.xda-developers.com/showthread.php?t=3653953
Click to expand...
Click to collapse
Hi,
Where the GravityBox has the option for modifying "build.prop" values? I can't found it.

manos78 said:
Hi, Where the GravityBox has the option for modifying "build.prop" values? I can't found it.
Click to expand...
Click to collapse
I don't use the GravityBox Module but, you should ask within the following Module Thread.
https://forum.xda-developers.com/showthread.php?t=3653953
There's a few of the GravityBox threads based on which which Android version your using but that thread is for the Nougat.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Ibuprophen said:
I don't use the GravityBox Module but, you should ask within the following Module Thread.
Click to expand...
Click to collapse
Hi,
I use GravityBox for years!
I never see any option in any version (KK, MM, L or N) that enables the change of any build.prop parameter.
So, if you need to change some build.prop value using Xposed you can't do it with GB.

Related

Donkeygaurd module is not working on Lollipop. Please fix this.

Donkeygaurd module is best for app permission managing. it handles and modify the app permission in real time but not working in lollipop. any way to use it on lollipop?
gpasys said:
Donkeygaurd module is best for app permission managing. it handles and modify the app permission in real time but not working in lollipop. any way to use it on lollipop?
Click to expand...
Click to collapse
Yes, there is a workaround for this.
1. Uninstall Donkey Guard.
2. Install XPrivacy.
3. Done.
orville87 said:
Yes, there is a workaround for this.
1. Uninstall Donkey Guard.
2. Install XPrivacy.
3. Done.
Click to expand...
Click to collapse
no..xprivacy only allows to seet on/off on a parameter while k need to change the value of parameters.
gpasys said:
no..xprivacy only allows to seet on/off on a parameter while k need to change the value of parameters.
Click to expand...
Click to collapse
You can manually set some parameters by yourself, like location, MAC adress and so on by using XPrivacy. Not all values, but some of the most important ones.
orville87 said:
You can manually set some parameters by yourself, like location, MAC adress and so on by using XPrivacy. Not all values, but some of the most important ones.
Click to expand...
Click to collapse
got it...i was missing it as the option was in setting and not dashboard like donkeygaurd..anyways..found the randomize option now...thanks
Sent from my YU5010 using Tapatalk

[MODULE] Nano-Miitomo 1.0.20161115

As many of you know Nintendo's first mobile app Miitomo crashes on most custom kernels and ROMs. Since version 1.2.0 Miitomo does no longer check for root, but it checks the value of 'ro.debuggable'. If 'ro.debuggable' is set to '1' by the kernel (in /default.prop), Miitomo will crash.
So what this Module does, is to set 'ro.debuggable' to '0', using the shiny new resetprop introduced in Magisk v9. This Magisk Module is meant for people who can't use Xposed or don't want to.
For Xposed users, check my SecurityBypasser Xposed Module.
Tested on Lux (Moto X Play).
Download and Code over at github.
Can you make another module that sets ro.build.type=user in build.props?
Link_of_Hyrule said:
Can you make another module that sets ro.build.type=user in build.props?
Click to expand...
Click to collapse
Should not be a problem. Any particular reason?
Setialpha said:
Should not be a problem. Any particular reason?
Click to expand...
Click to collapse
Because Android Wear won't work if it's userdebug.
EDIT: I was able to make a script based on an existing script for something else thanks for your reply. This is the script I made if anyone needs it.
@Setialpha This still works great and you should get it put on the Magisk module repo.
Link_of_Hyrule said:
@Setialpha This still works great and you should get it put on the Magisk module repo.
Click to expand...
Click to collapse
+1
I can't install this on magisk with the install module feature. Does it work through twrp?
Brentboy said:
I can't install this on magisk with the install module feature. Does it work through twrp?
Click to expand...
Click to collapse
That's likely an issue with MagiskManager, flashing through TWRP will work.
Setialpha said:
That's likely an issue with MagiskManager, flashing through TWRP will work.
Click to expand...
Click to collapse
Thanks, and is there away to make this work for puzzle and dragons jp? I'm in nougat so can't use your xposed module :/
Just FYI it also helps with Super Mario Run.
This actually allows me to play Mario on my Oneplus One with resurrection remix ROM.
Thank you very much
So I do need to run that script of I don't want to have Android Wear issues?
well it helped in playing Mario Run but it made Yugioh duel links stop working so i uninstalled it
going to give this a try for mario. thanks very much!
WORKS!
Guys... Since v11.5 Magisk changes this prop value by default. If you're keeping up to date, there's really no need to flash the module, just enable Hide...
That is not working in resurrection remix (redmi note 3)
---------- Post added at 03:40 PM ---------- Previous post was at 03:36 PM ----------
Didgeridoohan said:
Guys... Since v11.5 Magisk changes this prop value by default. If you're keeping up to date, there's really no need to flash the module, just enable Hide...
Click to expand...
Click to collapse
That is not working in resurrection remix (redmi note 3)
I still think it would be great if this was added to the magisk module repo I know a lot of people probably use it.
Sent from my Nexus 7 using Tapatalk
Link_of_Hyrule said:
I still think it would be great if this was added to the magisk module repo I know a lot of people probably use it.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
It won't be added...
1 - Magisk Hide changes this prop by default. If someone has issues with Hide, there's always modules like this and you could also very easily make a boot script utilising resetprop.
2 - @topjohnwu have clearly stated he won't add modules that only changes a prop value to the repo. This is an upcoming feature in the Manager.
Didgeridoohan said:
It won't be added...
1 - Magisk Hide changes this prop by default. If someone has issues with Hide, there's always modules like this and you could also very easily make a boot script utilising resetprop.
2 - @topjohnwu have clearly stated he won't add modules that only changes a prop value to the repo. This is an upcoming feature in the Manager.
Click to expand...
Click to collapse
Oh ok so basically I don't even need this module any more?
Sent from my A0001 using Tapatalk
Link_of_Hyrule said:
Oh ok so basically I don't even need this module any more?
Click to expand...
Click to collapse
U don't need it, because magisk already does what this module does since months.

App Settings Module for Magisk?

hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
satand said:
hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Downgrade to marshmallow or write xposed for nougat. The first is easy, the second will make many people happy over here.
Sent from my ONEPLUS A3003 using Tapatalk
satand said:
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Just to clarify on the above response: No.
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
cobram3 said:
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
Click to expand...
Click to collapse
It would be just ultra hard to code that, or just impossible.
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
satand said:
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
Click to expand...
Click to collapse
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
satand said:
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
Click to expand...
Click to collapse
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
Didgeridoohan said:
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Click to expand...
Click to collapse
thanks...but that is too high for me
Do we have a petition to develop this form? hahaha
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
bush911 said:
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
Click to expand...
Click to collapse
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Thank you so much for the advice.
My phone is 1st generation Pixel with latest android, mgaisk installed. I will try to figure it out.
daniel_m said:
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Click to expand...
Click to collapse
Anybody have a suggestion - I'm looking to change the dpi of chrome app (8.1) without Xposed
Maybe this could help
https://joyofandroid.com/change-screen-resolution/

Can I trick an app into thinking i gave her premissions? (no root)

I have an app which asks for permission to my contacts in order to start. (She is installed but won't work until ill give her the permission for my contacts).
Is there any way to make her think she has Permissions to my contacts without giving her?
Or to hide the real contacts so she won't be able to see them?
I looked around and saw Xprivacy but I have no root so is there any other option?
Thank You
Deleted?
Lautta17 said:
U tried Lucky patcher? I dont know if still works, was long ago when i used, but u can try... sorry my eng!
Edit: with this app I think that u can edit permissions of apps, but there's not guarantee that works correctly
Click to expand...
Click to collapse
That app is a big no-no here on xda, so i suggest you edit your post and remove it.
Can you provide more details, like your device and your android version? Xprivacy works up to marshmallow, if you're on Nougat you can try xposed extension protect my privacy, but i think it requires root too.
Since your have xposed installed, why don't you install root? I'm assuming you have a custom recovery to flash xposed so root should not be an issue.
...
ticktock666 said:
That app is a big no-no here on xda, so i suggest you edit your post and remove it.
Can you provide more details, like your device and your android version? Xprivacy works up to marshmallow, if you're on Nougat you can try xposed extension protect my privacy, but i think it requires root too.
Since your have xposed installed, why don't you install root? I'm assuming you have a custom recovery to flash xposed so root should not be an issue.
Click to expand...
Click to collapse
Hi,
I don't have exposed install.
I'm using a note 8, android 7.1.1.
Thanks
ticktock666 said:
That app is a big no-no here on xda, so i suggest you edit your post and remove it.
Can you provide more details, like your device and your android version? Xprivacy works up to marshmallow, if you're on Nougat you can try xposed extension protect my privacy, but i think it requires root too.
Since your have xposed installed, why don't you install root? I'm assuming you have a custom recovery to flash xposed so root should not be an issue.
Click to expand...
Click to collapse
Sorry, didnt know it, why?
naimdor said:
Hi,
I don't have exposed install.
I'm using a note 8, android 7.1.1.
Thanks
Click to expand...
Click to collapse
Sorry, but I've seen your post in the xposed general forums, so i assumed you were looking for a n xposed related solution.
I do remember an app that used to decompile and recompile apks while removing permission requirement, but that was old and i can not remember the exact name, maybe try an app that gives you access to appOps on your rom to control access from there?
Lautta17 said:
Sorry, didnt know it, why?
Click to expand...
Click to collapse
That app is considered warez/promotes cracking other apps, so it's against xda rules

XInsta magisk

Hi there,
Someone can port XInsta (Xposed Module) on magisk?
black_file said:
Hi there,
Someone can port XInsta (Xposed Module) on magisk?
Click to expand...
Click to collapse
Magisk is different from xposed... It doesn't work that way... [emoji6]
Sent from my MI 5 using Tapatalk
teddy0209 said:
Magisk is different from xposed... It doesn't work that way... [emoji6]
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
Thanks but why not processing same can you explain me [emoji846]
Think of Xposed as a code injector, that changes how an app or a process works while it's running.
Magisk, on the other hand, is a file injector that replaces system files at boot, and can also run scripts at boot (like init.d).
black_file said:
Thanks but why not processing same can you explain me [emoji846]
Click to expand...
Click to collapse
Xposed modifies code while magisk only modifies files
Didgeridoohan said:
Think of Xposed as a code injector, that changes how an app or a process works while it's running.
Magisk, on the other hand, is a file injector that replaces system files at boot, and can also run scripts at boot (like init.d).
Click to expand...
Click to collapse
Can't make script as code Injector?
black_file said:
Can't make script as code Injector?
Click to expand...
Click to collapse
Scripts can't inject code they can just execute linux/android shell comands,only xposed can alter an app's code
DanGLES3 said:
Scripts can't inject code they can just execute linux/android shell comands,only xposed can alter an app's code
Click to expand...
Click to collapse
Okay thank you [emoji846]
Nice work
I using this module on redmi 4x

Categories

Resources