How to backup all xposed modules at once? - Xposed General

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!

Related

Xposed and Modules Disable from Recovery

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!

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:

Pre-install Xposed in a custom ROM ?

I am customizing a Amlogic TV Box ROM and I would like to install Xposed as well as a home-made module in it. I can't edit the Java source code directly because I don't have access to it, so the only solution I have is editing smali code (no thx) and Xposed.
I have access to the system partition content of the ROM, and nothing much more. My module will be installed as a system app, but I can't find a way to have the Xposed framework pre-installed. I tried to simply extract the ZIP in the system partition folder, but it doesn't work : the Xposed Installer says that the Framework is installed but not active. If I install the Framework using the Installer afterwards, it works fine. What am I doing wrong ? Is there some procedure to follow after unpacking the files ? Is it even possible to have it packaged with the system and not installed ?
I still need to enable the module once the framework is installed, how may I do that ? The modules list is located into /data, which is not packaged with the ROM (and is not factory-reset proof) what would be the most elegant way of having the module enabled by default ? I thought of writing to the modules list file at each boot with the Init.rc but I think there's a better solution.
Thanks for the help
I think what's theoretically happening is:
Imagine a PC - you install an app via the normal wizard, goes through and installs registry keys etc. which stores all file paths etc. and the app opens after the wizard finishes.
What's happening here is you're just taking the files and placing them onto the PC yourself, in this case, your box.
Remember this is a SYSTEM app, not something you can drag and drop on.
You haven't flashed anything in order for the System to know Xposed is installed, for it to point to this, point to that.
You're essentially running a broken, portable Xposed which'll say installed only because you placed it there.
I'd say you have to probably play about with that ROM on somewhere you can install Xposed via custom recovery then play about with nandroid backups and restore them on your box?
That's my only assumption. This is a difficult one.
That was my guess too, but I looked at the flashing script that Xposed Installer executes and I feel like it only checks for the version/api/abi and copies files, creating backups for uninstallation. All the files are present in the system partition in my packaged ROM files so I thought that they would just work out of the box if I copied them. Well, it doesn't, I must be missing something that the installer does.
In the meantime I've put a dirty installer in my launcher : it checks for the xposed.prop file each time it's opened (uuugh) and if it's not installed it'll just run the flash script and reboot. That's not elegant but it works.

won't boot after install of magisk manager pro

Hi all,
I install magisk manager pro to see what it is, but my rooted oneplus 5t(with magisk v14.0) won't boot now. I see the boot logo of oneplus during about 5 secondes and reboot on twrp.
What must I do to recover it.
Thanks
Magisk Manager Pro? From the Play Store or some website? Uh-oh... Fake Managers not provided by @topjohnwu. Who knows what they'll do to your device...
From the release thread:
The Magisk and Magisk Manager Github releases are the ONLY official places to download Magisk!
NEVER trust 3rd party sources, don't go to scammy websites!
Click to expand...
Click to collapse
Best thing would probably be to restore your backup.
I have installed "magisk manager pro 2019" by the playstore
I reflash the rom and magisk but same result
Don't install anything not provided by @topjohnwu. It's just fake apps trying to monetize on Magisk's success. Worst case they'll even harm your device...
You might be able to manually remove the app, by navigating to its location in the TWRP file manager and delete it. Other than that, restoring a backup or wiping your device might be the only way to go.
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
wholehog2 said:
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
Click to expand...
Click to collapse
Kindly Do The Following
- Uninstall Magisk By Flashing Magisk-Uninstaller-20180328.zip Via TWRP
- Install Magisk Again
Dreamer(3MF): same issue
wholehog2 said:
Dreamer(3MF): same issue
Click to expand...
Click to collapse
Did You Grant The Installed App The Root Privilege?
I have install the app and reboot to see the changes, but I don't grant root privilege.
Maybe this is the problem ?
wholehog2 said:
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
Click to expand...
Click to collapse
You'll likely find files in /data/app, /data/data and /data/user_de/0 (and possibly other places) that are related to the app. Look for folders with the name bfd.app.poy.com.xss (the package name of the app) and delete those.
wholehog2 said:
I have install the app and reboot to see the changes, but I don't grant root privilege.
Maybe this is the problem ?
Click to expand...
Click to collapse
Anyway Try The Following
- Install Magisk
- Go To TWRP --> Advanced --> File Manager --> Data --> App --> Delete The Folder Of The Installed App
- (UP A Level) --> Data --> Delete The Folder Of The Installed App
- Clear DalvikCache & Cache Via TWRP --> Wipe --> Advanced Wipe --> Select Only Dalvik/ARTCache & Cache --> Swipe To Wipe --> Reboot
Didgeridoohan: I delete all folders bfd.app.poy.com.xss that I found in the folder you write, I reflash full rom and magisk but same issue.
Have you other ideas?
wholehog2 said:
Didgeridoohan: I delete all folders bfd.app.poy.com.xss that I found in the folder you write, I reflash full rom and magisk but same issue.
Have you other ideas?
Click to expand...
Click to collapse
Did you do anything else except install the app? It sounds strange that it would cause this kind of big issue. Does your device start if you don't install Magisk? Did you also install any modules that might be incompatible with your device? Etc...
Like I've said before, your best option might be to restore your backup (but by this time I'm assuming you don't have one).
If you can't get things figured out, the easiest solution is likely to wipe your device and start over. In TWRP you can choose to do an advanced wipe. Wipe everything except for internal storage (and external storage as well, of course) and then reinstall your system.
Don't forget to make regular backups once you get everything up and running again.
Didgeridoohan:
No I don't install other app or module. I install magisk manager pro 2019 and try to restart.
I have a backup a twrp backup but she is a little old. If there is only this solution I will do that.
Maybe is it possible to restaure ony the boot of twrp backup ?
Thanks.

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