Xposed and Modules Disable from Recovery - Xposed General

Hi guys!
Is too much complicated to generate a flasheable zip or method to disable all xposed modules from recovery?
With this huge change to lollipop is super easy to install a module that bootloop your phone (like mine......) and is not so good to factory reset just for a simple module. I know the risks, and I have nandroid and backups, but again, is too complicated to format all the phone an pasting backup just for a simple module.
Thanks!
PD: I tried the old "xposer disabler" but says that there is not app backup folder and nothing to be done.

kk
disable from kitkat not from android 5

Well if you just want to get out of a bootloop because of a new module, just delete Xposedbridgeapi.jar temporarily from /system/frameworks

berryman13 said:
Well if you just want to get out of a bootloop because of a new module, just delete Xposedbridgeapi.jar temporarily from /system/frameworks
Click to expand...
Click to collapse
Nice, next time I will consider to try it (I get on bootloop again.... and I restored a backup)

you can just create an empty file named 'disabled' in '/data/data/de.robv.android.xposed.installer/conf/'

berryman13 said:
Well if you just want to get out of a bootloop because of a new module, just delete Xposedbridgeapi.jar temporarily from /system/frameworks
Click to expand...
Click to collapse
I realize this is a few years later but THANKS!
It's amazing how many people can access their /data/data directory from recovery to disable XPosed and how uneducated people are and don't use encryption!

Related

How exactly do I uninstall and reinstall my adb drivers?

I'm trying to fix the "daemon started successfully" problem, but I don't think I'm uninstalling and re-installing the driver correctly, I just uninstall the device from device manager, then plug the phone back in and let it install.
That must be wrong because it's not working. The program I'm trying to use is xUltiamte2.4 to deodex my phone.
Astralogic said:
I'm trying to fix the "daemon started successfully" problem, but I don't think I'm uninstalling and re-installing the driver correctly, I just uninstall the device from device manager, then plug the phone back in and let it install.
That must be wrong because it's not working. The program I'm trying to use is xUltiamte2.4 to deodex my phone.
Click to expand...
Click to collapse
If anyone has had this problem and fixed can you please tell me how you did it?
Astralogic said:
I'm trying to fix the "daemon started successfully" problem, but I don't think I'm uninstalling and re-installing the driver correctly, I just uninstall the device from device manager, then plug the phone back in and let it install.
Click to expand...
Click to collapse
Why is that a problem? You want the "daemon" to start successfully, ADB won't work if it doesn't... If it stays stuck on that, maybe you have some program interfering/using ADB. Maybe you have some other ADB program open (flashtool) or maybe you use Bluestacks; check your running processes for a running "adb.exe" process and kill it, then try again.
Removing the drivers should should work as you're doing it already, but before connecting your phone, you should reinstall the drivers first. Or, once it's installed, manually update the drivers through the Windows "Device Manager", by locating the "sa0105adb.inf" file manually.
It can be extracted from the drivers installer (the one that comes with Flashtool) with 7zip, or you might find it still in your temp folder.
Antiga Prime said:
Why is that a problem? You want the "daemon" to start successfully, ADB won't work if it doesn't... If it stays stuck on that, maybe you have some program interfering/using ADB. Maybe you have some other ADB program open (flashtool) or maybe you use Bluestacks; check your running processes for a running "adb.exe" process and kill it, then try again.
Removing the drivers should should work as you're doing it already, but before connecting your phone, you should reinstall the drivers first. Or, once it's installed, manually update the drivers through the Windows "Device Manager", by locating the "sa0105adb.inf" file manually.
It can be extracted from the drivers installer (the one that comes with Flashtool) with 7zip, or you might find it still in your temp folder.
Click to expand...
Click to collapse
Nothing works, isn't there a better way of deodexing then using this stupid program?
Edit: I have a better question. The only reason I want to deodex is so that I can debloat using this guide, that thread already gives me the list of bloatware, isn't there a way I can just go in and manually delete the bloat? Without have to worry about deodexing in order to get the debloat script to run?
Astralogic said:
Nothing works, isn't there a better way of deodexing then using this stupid program?
Edit: I have a better question. The only reason I want to deodex is so that I can debloat using this guide, that thread already gives me the list of bloatware, isn't there a way I can just go in and manually delete the bloat? Without have to worry about deodexing in order to get the debloat script to run?
Click to expand...
Click to collapse
Actually you can also debloat your rom while its odexed. At least as long as the framework is not changed.
Just do a backup, then get a root file manager and delete the safe to remove apps and their odex files. Reboot afterwards.
The only reason why the debloat script doesn't support odexed roms ia that the odex files are not deleted during the script. (However, it would be easily possible to add these lines)
WhiteNeo said:
Actually you can also debloat your rom while its odexed. At least as long as the framework is not changed.
Just do a backup, then get a root file manager and delete the safe to remove apps and their odex files. Reboot afterwards.
The only reason why the debloat script doesn't support odexed roms ia that the odex files are not deleted during the script. (However, it would be easily possible to add these lines)
Click to expand...
Click to collapse
Could you tell me what folder those files are in that I should delete?
Astralogic said:
Could you tell me what folder those files are in that I should delete?
Click to expand...
Click to collapse
Well, if you were following that guide you would have seen that practically everything it's deleting is in /system/app:
delete("/system/app/FBCalendarSync.apk"
Click to expand...
Click to collapse
The odex files are in the same folder, and have the same name aside from the .odex extension.
Then again, that program sometimes has issues; you could always copy the files from /system/app and /system/framework manually without using ADB to the corresponding folders, after starting the program open the Windows Task Manager and kill of the "adb.exe", and the program will continue running and let you deodex the files. Then you'd just have to figure out how to copy them back which is not hard.
Or you could also try a different deodexing program such as Universal Deodexer V4. I've never used any of those since I've deodexed my ROM with dsixda's Rom Kitchen, for which you'd just need to follow the instructions and then copy the resulting files manually (as you'd have to do in the above mentioned example anyway).
Antiga Prime said:
Well, if you were following that guide you would have seen that practically everything it's deleting is in /system/app:
The odex files are in the same folder, and have the same name aside from the .odex extension.
Then again, that program sometimes has issues; you could always copy the files from /system/app and /system/framework manually without using ADB to the corresponding folders, after starting the program open the Windows Task Manager and kill of the "adb.exe", and the program will continue running and let you deodex the files. Then you'd just have to figure out how to copy them back which is not hard.
Or you could also try a different deodexing program such as Universal Deodexer V4. I've never used any of those since I've deodexed my ROM with dsixda's Rom Kitchen, for which you'd just need to follow the instructions and then copy the resulting files manually (as you'd have to do in the above mentioned example anyway).
Click to expand...
Click to collapse
I don't mean I want to manually deodex, I mean I want to manually debloat, deleting the appropriate APK and ODEX file from /system/app seems easy enough, but what would I delete (if anything) from the /system/framework folder?
Astralogic said:
I don't mean I want to manually deodex, I mean I want to manually debloat, deleting the appropriate APK and ODEX file from /system/app seems easy enough, but what would I delete (if anything) from the /system/framework folder?
Click to expand...
Click to collapse
I know, I'm just giving you a solution since that program you're using has always given me issues, and even now, knowing that ADB works, it still get's stuck on that "starting ADB daemon" message.
I'm not trying to be rude, but if you're following the guide you'd have noticed that nothing gets deleted from the framework folder. All it tells you are which apps are safe to remove; whichever apps you do end up removing are up to you. I think the Google Talk app is garbage, but someone else might use it, so debloating is also subjective.
Also, you could just as easily do this with Titanium Backup and actually just freeze the app first in case you're not sure about deleting it.
Astralogic said:
I don't mean I want to manually deodex, I mean I want to manually debloat, deleting the appropriate APK and ODEX file from /system/app seems easy enough, but what would I delete (if anything) from the /system/framework folder?
Click to expand...
Click to collapse
I know, manually deodexing that way would cause a bootloop because of missing classes.dex files in every system app.
Some people that dont like the preinstalled Sony apps prefer getting rid of all the bloat and remove SemcGenericUXPRes.apk from framework folder.. And some (or most) of the framework jar files beginning with "com.sony..."
This will of course bring noticeable smoothness increases, but is very likely to cause bugs when not done by experienced users.
And it could cause a bootloop on odexed builds as the odex files in system/app do no longer fit to the framework.
Just for information.
WhiteNeo said:
I know, manually deodexing that way would cause a bootloop because of missing classes.dex files in every system app.
Some people that dont like the preinstalled Sony apps prefer getting rid of all the bloat and remove SemcGenericUXPRes.apk from framework folder.. And some (or most) of the framework jar files beginning with "com.sony..."
This will of course bring noticeable smoothness increases, but is very likely to cause bugs when not done by experienced users.
And it could cause a bootloop on odexed builds as the odex files in system/app do no longer fit to the framework.
Just for information.
Click to expand...
Click to collapse
I'm just gonna use titaniums backups freeze feature, I never knew it could do that.
I don't suppose someone somewhere has listed which of the com.sony*** files are safe to disable have they?
Astralogic said:
I'm just gonna use titaniums backups freeze feature, I never knew it could do that.
I don't suppose someone somewhere has listed which of the com.sony*** files are safe to disable have they?
Click to expand...
Click to collapse
TiBu's freeze doesnt help against some apps. They keep running in background but are no longer shown in Settings or Greenify.
Nope, but you might check any flashable "Xperia Media App port" zip. The more complete, the better.
The files that are included in framework folder are usually safe to remove. :good:
WhiteNeo said:
TiBu's freeze doesnt help against some apps. They keep running in background but are no longer shown in Settings or Greenify.
Click to expand...
Click to collapse
I have yet to see this happen. Maybe you can point me to one example, since I'd like to test this?
Antiga Prime said:
I have yet to see this happen. Maybe you can point me to one example, since I'd like to test this?
Click to expand...
Click to collapse
OmniSwitch.
Add it to Greenify first, then freeze it and reboot. Check Greenify main activity and you'll see.
Was getting on my nerves for two months, till I finally decided to uninstall it.
WhiteNeo said:
OmniSwitch.
Add it to Greenify first, then freeze it and reboot. Check Greenify main activity and you'll see.
Was getting on my nerves for two months, till I finally decided to uninstall it.
Click to expand...
Click to collapse
Well, don't know why you would add it to Greenify first, makes no sense, but nonetheless, you're right. But then again, this might be due to the way OmniSwitch is integrated into OmniRom in order to use it for the Recent Apps switch. I don't remember this happening on Carbon, which also has OmniSwitch without that integration. I'm on Omni right now so I can't verify this.
In Titanium Backup some apps are red, any idea why?
I'm going to disable two of those com.sony things every morning, but most of them are red.
Astralogic said:
In Titanium Backup some apps are red, any idea why?
I'm going to disable two of those com.sony things every morning, but most of them are red.
Click to expand...
Click to collapse
Most of the framework stuff cannot be disabled, it has to be uninstalled because Dalvik cache would have to be rebuilt when its gone.
I suggest trying doenen's heavily debloated 4.3 rom. Or at least having a look at its apps and framework to see what he has removed. :good:
Astralogic said:
In Titanium Backup some apps are red, any idea why?
I'm going to disable two of those com.sony things every morning, but most of them are red.
Click to expand...
Click to collapse
Titanium Backup has a help section which explains the colors. A red colored app means it's a System Service. I'm sure you can open the help section and check out what the other colors mean.
And as @WhiteNeo said, having a look at some other debloated ROM will help you decide what you can remove or not; don't disable or uninstall something just for the sake of disabling it. Find out what it's for and then decide if you need it, or if your Rom needs it in order to function properly.
If it's of any help you can use this as a reference. I made that back when I used to use Stock ROMs .
WhiteNeo said:
TiBu's freeze doesnt help against some apps. They keep running in background but are no longer shown in Settings or Greenify.
Nope, but you might check any flashable "Xperia Media App port" zip. The more complete, the better.
The files that are included in framework folder are usually safe to remove. :good:
Click to expand...
Click to collapse
Antiga Prime said:
I have yet to see this happen. Maybe you can point me to one example, since I'd like to test this?
Click to expand...
Click to collapse
WhiteNeo said:
OmniSwitch.
Add it to Greenify first, then freeze it and reboot. Check Greenify main activity and you'll see.
Was getting on my nerves for two months, till I finally decided to uninstall it.
Click to expand...
Click to collapse
Just confirming that @WhiteNeo is right. Even on Carbon Omniswitch's process is still active even though it's frozen/disabled. It doesn't consume RAM as far as I can tell, but this is odd behavior.

How to backup all xposed modules at once?

Hello.As a rom flashmaniac,i would like to know if i can backup all modules and their data at once and then restore to my new rom.thanks!
Titanium Backup
It's the best option for that.
Sent from my SM-N9005 CM13 ROM
thanks dude.i hope it restores also the installation of app,not only the data.i was wondering if there is a module for one tap auto backup only xposed modules,but i will stay glad with T.B.Thanks!
kos25k said:
Hello.As a rom flashmaniac,i would like to know if i can backup all modules and their data at once and then restore to my new rom.thanks!
Click to expand...
Click to collapse
Titanium is best. Do note that for some modules we can't get backup saved...one such module which I know is xprivacy
Sent from RN3 Pro
these modules...Their name is marked with a white line??like not valid?
I used "app2zip" app, duo you can select several installed apps (include xposed's modules) and it save them as a flashable .zip file, so after install rom & install xposed, I did restore mentioned .zip file and it work like charm! also all xposed's modules setting still available
thanks dude seems interesting!i knew a similar app but has been abandomed..thanks a lot!
By the way, Titanium Backup has an option to make a flashable zip file from apps or modules. So you can simply chose all Xposed modules, create the zip file and flash it after flashing Xposed through recovery. But unfortunately, it does not restore the app data for those apps, at least from my experience.
Portgas D. Ace said:
By the way, Titanium Backup has an option to make a flashable zip file from apps or modules. So you can simply chose all Xposed modules, create the zip file and flash it after flashing Xposed through recovery. But unfortunately, it does not restore the app data for those apps, at least from my experience.
Click to expand...
Click to collapse
It's supposed to, when you boot if you let it sit it may or may not do it, the zip only has the apps in it though, relies on tibu app being installed.
Sent from my Nexus 6P using XDA Labs
so...a xposed module to backup all xposed modules with one click..would be perfect!

Help moving user app to system partition...

I'm having a problem getting to move any user app to the system partition on my Nexus 6. I'm using the Pure Nexus ROM, now rooted with Magisk, Android 7.1.2. The thing is, I have tried to do so when I was on Stock ROM, also tried it with SuperSU root instead of Magisk with no difference whatsoever. Link2SD doesn't work but neither worked system/app mover by j4velin.
What should I do to get that to work? Thanks in advance...
You're using Magisk... There are modules for that.
Two actually. And they can be installed from the Manager:
https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851
https://forum.xda-developers.com/showthread.php?t=3477512
Take your pick.
Didgeridoohan said:
You're using Magisk... There are modules for that.
Two actually. And they can be installed from the Manager:
https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851
https://forum.xda-developers.com/showthread.php?t=3477512
Take your pick.
Click to expand...
Click to collapse
Well right now for some reason Magisk isn't installing anything on my device, however I was wondering, if there is a method which installs the app as system and that the app continues to be there even if I unroot my device?
Dorlan2001 said:
Well right now for some reason Magisk isn't installing anything on my device, however I was wondering, if there is a method which installs the app as system and that the app continues to be there even if I unroot my device?
Click to expand...
Click to collapse
The whole design concept of Magisk is to protect the system partition from being modified. It does that by sym-linking directories. Using Magisk, as designed, the apps will go into the Magisk.img, not system. When booted, it'll look like the apps are in system but if you unroot they'll be gone.
If you don't care about modifying the system partition, you can move an app manually. User apps are in /sdcard/data/app and system apps are in /system/app. Once moved, you'll have to edit the permissions for the folder to rwxr-xr-x (755) and the apk inside the folder to rw-r--r-- (644).
ktmom said:
The whole design concept of Magisk is to protect the system partition from being modified. It does that by sym-linking directories. Using Magisk, as designed, the apps will go into the Magisk.img, not system. When booted, it'll look like the apps are in system but if you unroot they'll be gone.
If you don't care about modifying the system partition, you can move an app manually. User apps are in /sdcard/data/app and system apps are in /system/app. Once moved, you'll have to edit the permissions for the folder to rwxr-xr-x (755) and the apk inside the folder to rw-r--r-- (644).
Click to expand...
Click to collapse
Thanks for the info mate! It was really helpful to me to get to understand how Magisk works, and to be able to make the changes I wanted to my system using Root Explorer. Is so weird though, that those apps who claim to automate things, don't work on my device...
Thanks again!!!! :good:

Magisk Hide not working for Pokemon Go

I'm using a Galaxy S8, Android 7.0, Magisk 16.6. When I try to play Pokemon go, it gives me the "OS not supported" message. The 16.3 fix didn't work back when it came out and I haven't been able to play since then. I did check the app in Magisk Hide and I activated the setting to hide Magisk Manager with a random package name, but it still doesn't work. Is there anything else I should do?
The only thing you can do that will work is to completely uninstall magisk. That should let you play pokemon go.
Pokemon also looks for a bunch of known root apps on your device, not only Magisk. And MagiskHide can't hide other apps.
Didgeridoohan said:
Pokemon also looks for a bunch of known root apps on your device, not only Magisk. And MagiskHide can't hide other apps.
Click to expand...
Click to collapse
What are those apps?
vladone97 said:
What are those apps?
Click to expand...
Click to collapse
There are a whole bunch... Busybox installers, system cleaners, etc. There's an old list available somewhere in the Magisk PoGo thread (search), but that list might be outdated. Easiest thing is to uninstall some root apps and see if it works better.
An easier alternative, if you have the means to do it, is to use a clean spare phone/tablet for Pokemon Go, and keep your phone how you need/want it for everything else. Bluetooth data sharing is enough bandwidth to make PoGo work.
PoGo 0.115.3 not working, no login
Didgeridoohan said:
There are a whole bunch... Busybox installers, system cleaners, etc. There's an old list available somewhere in the Magisk PoGo thread (search), but that list might be outdated. Easiest thing is to uninstall some root apps and see if it works better.
Click to expand...
Click to collapse
hello sorry for my bad english, today the new update 0.115.3 no login with magisk hide. I use a custom room with many root apps. wich is the solution? please can u say it itemized step by step?
StanGumn said:
hello sorry for my bad english, today the new update 0.115.3 no login with magisk hide. I use a custom room with many root apps. wich is the solution? please can u say it itemized step by step?
Click to expand...
Click to collapse
Sure.
Make sure you have Pokemon on the Hide list.
Hide the Magisk Manager (in the Manager settings)
Delete the MagiskManager folder on your internal storage (next time you download/install a module through the Manager the folder will be recreated).
Edit: There will likely be an update to Magisk that will hide the MagiskManager folder. But for now this is a workaround.
Didgeridoohan said:
Sure.
Make sure you have Pokemon on the Hide list.
Hide the Magisk Manager (in the Manager settings)
Delete the MagiskManager folder on your internal storage (next time you download/install a module through the Manager the folder will be recreated).
Edit: There will likely be an update to Magisk that will hide the MagiskManager folder. But for now this is a workaround.
Click to expand...
Click to collapse
Hmmm, tried all this, but still PoGo will not comply, even when I sandbox it in the work profile. (island app) The latter sounds a bit strange to me, as it should limit access to anything. (Magisk Manager gets installed, but is hidden)
To be honest, PoGo is just a test for when they start messing with Ingress as well. When it's getting to much trouble to have the app behave, it's out. They are just games, nothing to compromise my device for.
Also rename or delete every file or folder on your internal storage / sdcard that contains "magisk"
michikrug said:
Also rename or delete every file or folder on your internal storage / sdcard that contains "magisk"
Click to expand...
Click to collapse
Any file? Not only the directory, but one that can be found somewhere on the device/external sdcard? (Like Magisk-v16.7.zip which you need to install it...)
Strange it should see it when sandboxed.
You can try, someone else said so, I did also do it and had no problem anymore so far.
But you should be right, that when its sandboxed it should not see it anyways...
michikrug said:
You can try, someone else said so, I did also do it and had no problem anymore so far.
But you should be right, that when its sandboxed it should not see it anyways...
Click to expand...
Click to collapse
Will try to access sandbox via adb and see what I can find.
guys I own a redmi 3s and using 9.6.1.0 arvanasoft rom. Even on latest pokemon go version after hinding magisk manager and deleting magisk folder it's working just fine. But when I install other newer custom roms pokemon go gives me error like unable to find data on server or unable to authenticate pls try again later. but again when I restore back my old rom it works just fine. Pls help me how can I make pogo work on newer custom roms.
sorry for bad english
T_I said:
Hmmm, tried all this, but still PoGo will not comply, even when I sandbox it in the work profile. (island app) The latter sounds a bit strange to me, as it should limit access to anything. (Magisk Manager gets installed, but is hidden)
To be honest, PoGo is just a test for when they start messing with Ingress as well. When it's getting to much trouble to have the app behave, it's out. They are just games, nothing to compromise my device for.
Click to expand...
Click to collapse
Before using the hide magisk manager option, make sure magisk manager is NOT a system app. This will successfully repack magisk manager.
Then delete magisk fodler from internal storage and hide PoGO.
---------- Post added at 11:37 AM ---------- Previous post was at 11:32 AM ----------
Vinayakn73 said:
guys I own a redmi 3s and using 9.6.1.0 arvanasoft rom. Even on latest pokemon go version after hinding magisk manager and deleting magisk folder it's working just fine. But when I install other newer custom roms pokemon go gives me error like unable to find data on server or unable to authenticate pls try again later. but again when I restore back my old rom it works just fine. Pls help me how can I make pogo work on newer custom roms.
sorry for bad english
Click to expand...
Click to collapse
May be other ROMs come with integrated Magisk. That was the case in mine. Convert it to user app first.
Then try magisk hide again and look for the package name in app info (It should be something random). Then continue with other steps as it is and it should work fine.
Let us know how it goes
Hi togehter,
if you use the Fake GPS Route, then uninstall via TWRP Magisk and then works PoGo (new version) perfekt, that works with my Samsung S5
I have a problem with my Samsung S7 edge, if I uninstall Magisk, then I have the problem, that the S7 go to a bootloop <--- Have anyone a idea?
Samsung S7 Edge
6.0.1
SecurePatch 01.12.2016
TWRP Recovery
If I install Magisk again, then boot the Samsung S7 without a bootloop, but then dont work PoGo
Xamel
Uninstall in the magisk app not by flashing a zip in recovery
Before I rooted my XZ premium I played pokemon go Just fine, afer Just enabling developer options (still locked bootloader and not rooted) it did not work Annymore, switching off developer options fixed pokemon go again.
Now with properly rooted Phone with magisk busybox, and whole bunch of rooted apps I am stuck as wel.... bonkers!!! !!
Could someone find a solution?
https://forum.xda-developers.com/apps/magisk/please-help-unable-to-play-pokemon-t3837451

Magisk Backup installed

Dears,
Please how can i backup installed magisk from Rom is there a way to get the installed Magisk ?
BR
any suggestions please?
Exactly what is it that you want to backup?
Modules are stored in /data/adb/modules, superuser permissions and most other settings are stored in /data/adb/magisk.db, etc... But, more details on what it is you are actually trying to achieve would probably be a good idea.
Didgeridoohan said:
Exactly what is it that you want to backup?
Modules are stored in /data/adb/modules, superuser permissions and most other settings are stored in /data/adb/magisk.db, etc... But, more details on what it is you are actually trying to achieve would probably be a good idea.
Click to expand...
Click to collapse
Sir,
i want to get full back up for magisk that installed in my phone magisk.zip not the magisk manger
and can use it to same phone or another one
Thanks for reply Sir
When you get a new phone, you just install Magisk similar to how you've done for your current phone. Its not something that you backup and move from phone to phone.
Pretty much this...
If you really want to backup modules and Magisk settings I've given you the locations of those already, but other than that there's really nothing to backup.

Categories

Resources