Hide Magisk and Substratum Theming - Magisk

I had to hide my Magisk install and now I lost the ability to theme the app. Is there a work around? It's not a big deal but I tried figuring it out on my own to no avail.

Nosferatu. said:
I had to hide my Magisk install and now I lost the ability to theme the app. Is there a work around? It's not a big deal but I tried figuring it out on my own to no avail.
Click to expand...
Click to collapse
You'd have to edit the substratum theme to recognise the new package name

KevinX8 said:
You'd have to edit the substratum theme to recognise the new package name
Click to expand...
Click to collapse
Can that be done within substratum or is something else required?

Curious about this as well, almost made my own thread but glad you posted this. I haven't hidden the magisk manager yet with a random package name because I suspected this would happen, but may need to do it for one of my apps to work properly.

Nosferatu. said:
Can that be done within substratum or is something else required?
Click to expand...
Click to collapse
You'd need to use android studio and decrypt the theme resources, uh basically you aren't getting it done without some effort.

KevinX8 said:
You'd need to use android studio and decrypt the theme resources, uh basically you aren't getting it done without some effort.
Click to expand...
Click to collapse
Gotcha. Not worth the time to do thanks!

Related

[UNOFFICIAL][2016-Nov-02]Xposed build that passes SafetyNet while enabled and active

UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Hi all. Long time lurker, first time developer. I created a modified version of the Xposed Framework that doesn't cause you to fail SafetyNet, even while it's enabled and active. Instructions:
Remove any existing Xposed versions
Get your phone in a state where it passes SafetyNet without Xposed (install a custom kernel to hide an unlocked bootloader, hide root with RootSwitch, etc.)
Install the Xposed Installer app if you don't already have it
Go to https://github.com/josephcsible/Xposed/releases/tag/v86a and download xposed-v86a-safetynet-josephcsible-sdk23-arm.zip
Flash xposed-v86a-safetynet-josephcsible-sdk23-arm.zip from recovery
Wipe cache and dalvik
Reboot
You should now have Xposed installed and enabled, with all of your modules working, without failing SafetyNet. Notes:
Do not turn off Xposed with RootSwitch with this build. It will probably break things because of differences in how app_process sits, and the entire point of this build is that you don't need to do this.
The only build I made was for ARM and Marshmallow, because that's all I have to test on
The official uninstaller won't work right with this version, so use my version of the uninstaller instead
This passes SafetyNet as of November 2nd. It probably won't for very long.
Technical details:
I made this build by compiling my own app_process, then editing it into the stock installer zip. I didn't recompile anything else or use the tools to make the zip.
app_process32 is now a regular file instead of a symlink to app_process32_xposed.
XposedBridge.jar is now called YqptfeBridge.jar (since SafetyNet checks the classpath for a file called XposedBridge.jar)
I obfuscated many of the strings in the app_process binary with a simple Caesar cipher. The source for this is in the GitHub with the download link.
Enjoy it while it lasts!
Great work, thanks! Though I think the method is kind of dirty.
Yeah, but I'm not overly concerned since I expect at best a few weeks before it gets patched and I have to redo it all anyway.
aviraxp said:
Great work, thanks! Though I think the method is kind of dirty.
Click to expand...
Click to collapse
You mean that it's not good to install it ?
MrMikeTyson said:
You mean that it's not good to install it ?
Click to expand...
Click to collapse
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
josephcsible said:
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
Click to expand...
Click to collapse
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
MrMikeTyson said:
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
Click to expand...
Click to collapse
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
josephcsible said:
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
Click to expand...
Click to collapse
Okay, i'll wait it and good luck for your work
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
josephcsible said:
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
Click to expand...
Click to collapse
So it means you cannot just rename the method/class, if I am right?
aviraxp said:
So it means you cannot just rename the method/class, if I am right?
Click to expand...
Click to collapse
I tried stubbing out the main method in XposedBridge to just call the real main method, and that made it pass. That leads me to conclude that it's a behavior thing and not a name thing.
So this version of xposed is passing?
Barfelonous said:
So this version of xposed is passing?
Click to expand...
Click to collapse
REREAD THE OP Please
josephcsible said:
UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Click to expand...
Click to collapse
: (
Any news on this?
meiser said:
Any news on this?
Click to expand...
Click to collapse
I haven't had time to work on it since my last update. I expect to have more time in June.
Hi is there an other way to use Xposed modules while passing safatynet check ? Its usefull on POGO !
Regards, Devilo !

[Tutorial] Fix crashing System-UI Substratum Theme (or any other Crash relating to Su

THIS IS MY FIRST TUTORIAL IF YOU ENCOUNTER ANY PROBLEM FEEL FREE TO PM ME OR POST ON THIS THREAT
Recently I've been encountering one Issue (apart from that it is an awesome Theme Engine) when I install a certain Theme my System-UI crashes even after a Reboot and therefore I've made this little tutorial for this who encounter the same or similar.
*Requirements*
A custom Recovery with a File manager build in or
Aroma File manager (LINK HERE!)
*Tutorial*
First you need to boot into your recovery and navigate to /data/app
Then just search for the theme you tried to apply (but it crashed your System-UI) and search for the folder with the System-UI Com name for Example for the Theme DNAdark it would be the folder : com.android.systemui.DNADark-1 and com.android.systemui.DNADark.Infected-1 and delete them and reboot and your Phone should be working now but if you want to completely remove the Theme then just remove all Folders related to the theme
The most Com folders for Substratum are like this :
com.android.XXXXXX.YYYYYY.Y
X = Application Name
Y=Theme Name or Developer Name
Worked well! Thanks
Thanks!! Worked!!!
Found this thread while googling for an answer. Another solution I found was in TWRP, go to data/system/ and delete overlays.xml
Edit: here's the video, I can't understand a thing this guy is saying lol
https://youtu.be/FGU6FJ2v2XI
Hello, any chance to fix it if I don't have custom recovery, nor root?
Thanks
Draegloth said:
Hello, any chance to fix it if I don't have custom recovery, nor root?
Thanks
Click to expand...
Click to collapse
You are in the wrong Thread for that.
thanx man you're the best :good:
Please tell any side effects from substratum theme engine on s8
muksathegreat said:
Please tell any side effects from substratum theme engine on s8
Click to expand...
Click to collapse
As far as I know it you shouldn't have any problems but if you are on Touchwiz you may need to buy the substratum Samsung add-on in order to be able to use Substratum on Touchwiz.
I have s8 custom rom on Samsungs 7 rooted will it possible to get it
muksathegreat said:
I have s8 custom rom on Samsungs 7 rooted will it possible to get it
Click to expand...
Click to collapse
I think so you, just need Android Nougat and it should work.
well thats working perfectly, thanks bro, i am about to do a factory reset.
Don't need a factory reset, go to settings,system ui, nav bar and just change to a different setting and go back to your previous settings and that fixed it for me
Hi,
I'm not able to apply any substratum theme in my mobile running on Android oreo...
Substratum keeps getting crashes while applying theme and gives option to rescue and logcat...
Please help me.
Hi. I've tried to apply dna theme by substratum and then my interface just died. What can I do now if I don't have root, any recovery... Nothing.
I have brand new Samsung galaxy s8, oreo 8.0
I've tried with factory reset but I can't even switch my phone off...
Thanks for this, helped a lot
jova33 said:
Found this thread while googling for an answer. Another solution I found was in TWRP, go to data/system/ and delete overlays.xml
Edit: here's the video, I can't understand a thing this guy is saying lol
Click to expand...
Click to collapse
This helped! Thanks!!!
thank you so much. worked like charm
Literally could not use my phone thanks to this. You saved me!
i delete folder
but same error systemui stooped

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/

Remove/Hide IME Keyboard Switcher notification and icon for OnePlus 3 (OOS/FreedomOS)

This notification appears if you have 2+ languages or 2+ keyboards.
Some ROMs have a built in option to hide it, but many don't.
There used to be Xposed module to hide IME Keyboard Switcher notification and icon (link below) :
http://repo.xposed.info/module/biz.underpants_gnomes.android.xposed.mods.hidexposedime
Obviously Xposed doesn't work in Nougat (yet?). I was wondering if someone can make a Magisk module to hide this annoying thing.
EDIT: WORKING MODULE in the thread thanks to Tulsadiver. Works on OnePlus 3 (OOS/FreedomOS)
<double post>
I know that there is working xposed now for nougat, but it currently breaks safety net.
Bumping it up in hopes for a magisk module that will Hide IME Keyboard Switcher notification and icon.
Droff said:
I know that there is working xposed now for nougat, but it currently breaks safety net.
Bumping it up in hopes for a magisk module that will Hide IME Keyboard Switcher notification and icon.
Click to expand...
Click to collapse
I could probably make one for you but it wouldn't work on all phones. In your Systemui.apk you probably have a menu_ime.xml and ic_ime_switcher_default.xml. Edit those and you are probably good.
Tulsadiver said:
I could probably make one for you but it wouldn't work on all phones. In your Systemui.apk you probably have a menu_ime.xml and ic_ime_switcher_default.xml. Edit those and you are probably good.
Click to expand...
Click to collapse
I backed up my systemui apk via titanium backup and attached a copy here. Not sure what to edit there and how to make a magisk file from it so it doesn't break safetynet.
By the way this is for One Plus 3, FreedomOS-2.10
Droff said:
I backed up my systemui apk via titanium backup and attached a copy here. Not sure what to edit there and how to make a magisk file from it so it doesn't break safetynet.
By the way this is for One Plus 3, FreedomOS-2.10
Click to expand...
Click to collapse
I'll need your framework-res.apk also so I can decompile this.
Tulsadiver said:
I'll need your framework-res.apk also so I can decompile this.
Click to expand...
Click to collapse
Got both files the right way (not through TB). Couldn't attach because of the size, so I uploaded them and put the links there.
One is here (in case if location different from other roms)
Root>system>priv-app>OPSystemUI>OPSystemUI.apk
https://ufile.io/yewk2
Framework here:
Root>system>framework>framework-res.apk
https://ufile.io/k1ugd
Thanks
Droff said:
Got both files the right way (not through TB). Couldn't attach because of the size, so I uploaded them and put the links there.
One is here (in case if location different from other roms)
Root>system>priv-app>OPSystemUI>OPSystemUI.apk
https://ufile.io/yewk2
Framework here:
Root>system>framework>framework-res.apk
https://ufile.io/k1ugd
Thanks
Click to expand...
Click to collapse
Do you want it off your keyboard too?
Try flashing this in TWRP. No guarantees.
Tulsadiver said:
Do you want it off your keyboard too?
Try flashing this in TWRP. No guarantees.
Click to expand...
Click to collapse
Got it flashed/installed successfully, but IME notification and icon are still there.
I do use layout switcher on the keyboard itself, so I'd like to keep it.
Droff said:
Got it flashed/installed successfully, but IME notification and icon are still there.
I do use layout switcher on the keyboard itself, so I'd like to keep it.
Click to expand...
Click to collapse
My bad. I forgot to save my changes before I recompiled. Got in a hurry. Give me a minute.
Droff said:
Got it flashed/installed successfully, but IME notification and icon are still there.
I do use layout switcher on the keyboard itself, so I'd like to keep it.
Click to expand...
Click to collapse
Try this one....
Tulsadiver said:
Try this one....
Click to expand...
Click to collapse
Awesome. It worked.
I installed first and forgot to wipe cache. Still got the notification. After second flash followed by cache wipe it worked and notification is no longer there. Happy times. Thanks a lot.
Droff said:
Awesome. It worked.
I installed first and forgot to wipe cache. Still got the notification. After second flash followed by cache wipe it worked and notification is no longer there. Happy times. Thanks a lot.
Click to expand...
Click to collapse
You are welcome. Good point about the wipe and thanks for sharing. I believe app and priv-app mods are wiped but apparently framework-res.apk mods are not and this turned out to be a framework-res.apk mod.
Tulsadiver said:
You are welcome. Good point about the wipe and thanks for sharing. I believe app and priv-app mods are wiped but apparently framework-res.apk mods are not and this turned out to be a framework-res.apk mod.
Click to expand...
Click to collapse
I have noticed a weird thing with this module. When I go to Google Play store I have a strange box in the search field (screenshot attached). Also if I choose an installed app in the store and try to go into three dot menu (not enable/disable auto-update) store crashes. It is definitely because of this module, because when I disable it, this strange behavior stops. Wondering if you have any clue what could be a cause of it.
Droff said:
I have noticed a weird thing with this module. When I go to Google Play store I have a strange box in the search field (screenshot attached). Also if I choose an installed app in the store and try to go into three dot menu (not enable/disable auto-update) store crashes. It is definitely because of this module, because when I disable it, this strange behavior stops. Wondering if you have any clue what could be a cause of it.
Click to expand...
Click to collapse
I believe all I did was change the enable IME switcher bool from true to false. That is all. Was that a stock framework-res.apk you uploaded? I'll take a look at it when I get home tomorrow.
Droff said:
I have noticed a weird thing with this module. When I go to Google Play store I have a strange box in the search field (screenshot attached). Also if I choose an installed app in the store and try to go into three dot menu (not enable/disable auto-update) store crashes. It is definitely because of this module, because when I disable it, this strange behavior stops. Wondering if you have any clue what could be a cause of it.
Click to expand...
Click to collapse
I did this same mod on my phone and cannot replicate your issue. Do you have any other modules installed that could be conflicting with this mod,?
Tulsadiver said:
I believe all I did was change the enable IME switcher bool from true to false. That is all. Was that a stock framework-res.apk you uploaded? I'll take a look at it when I get home tomorrow.
Click to expand...
Click to collapse
I've got framework file from my Root>system>framework>framework-res.apk. It is stock (OxygenOS / FreedomOS) as far as I know.
Tulsadiver said:
I did this same mod on my phone and cannot replicate your issue. Do you have any other modules installed that could be conflicting with this mod,?
Click to expand...
Click to collapse
I've got only two other modules (add free youtube and app systemizer).
I have disabled all modules, all is fine. Then I enable just this module (Tulsadiver Mods V1) and the issue appears. If i disable it and enable the other two, everything is still good.
Droff said:
I've got framework file from my Root>system>framework>framework-res.apk. It is stock (OxygenOS / FreedomOS) as far as I know.
I've got only two other modules (add free youtube and app systemizer).
I have disabled all modules, all is fine. Then I enable just this module (Tulsadiver Mods V1) and the issue appears. If i disable it and enable the other two, everything is still good.
Click to expand...
Click to collapse
Let's try a different method this time. I'll leave the bool as true.
Tulsadiver said:
Let's try a different method this time. I'll leave the bool as true.
Click to expand...
Click to collapse
Thanks! This one works and I don't see any side effects so far.
Droff said:
Thanks! This one works and I don't see any side effects so far.
Click to expand...
Click to collapse
This one is should be safe for other phones as well. All I did was use blank pngs instead of the keyboard icons.

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

Categories

Resources