export magisk module list - Magisk

Exist an easy way to export magisk module list? Export and import?

Clarifications needed... Which list are you talking about? The entire Magisk repo or just the ones you've installed (I'm gonna guess the latter)? And for what purpose?

Didgeridoohan said:
Clarifications needed... Which list are you talking about? The entire Magisk repo or just the ones you've installed (I'm gonna guess the latter)? And for what purpose?
Click to expand...
Click to collapse
only the one i have installed. full list for backup / reinstall purpose. installed and not active. xposed ha a function to export /import list. I like it.

If you just need a backup, make a backup of the Magisk image (/data/adb/magisk.img). That's where all modules are kept (for now, this might change in a future version of Magisk).

Didgeridoohan said:
If you just need a backup, make a backup of the Magisk image (/data/adb/magisk.img). That's where all modules are kept (for now, this might change in a future version of Magisk).
Click to expand...
Click to collapse
oh. perfect. no problem. can i restore? like in a rom change to a new rom? what is status for enabled disabled module?

simona70 said:
oh. perfect. no problem. can i restore? like in a rom change to a new rom? what is status for enabled disabled module?
Click to expand...
Click to collapse
I do this all the time.. back the files in location mentioned above to ext sdcard...wipe device for a clean flash (all except ext sdcard/EFS obviously)...flash new ROM, then flash gapps, then flash magisk, then still in TWRP, I copy the files back to correct location and reboot

73sydney said:
I do this all the time.. back the files in location mentioned above to ext sdcard...wipe device for a clean flash (all except ext sdcard/EFS obviously)...flash new ROM, then flash gapps, then flash magisk, then still in TWRP, I copy the files back to correct location and reboot
Click to expand...
Click to collapse
Thanks. Providential.

73sydney said:
I do this all the time.. back the files in location mentioned above to ext sdcard...wipe device for a clean flash (all except ext sdcard/EFS obviously)...flash new ROM, then flash gapps, then flash magisk, then still in TWRP, I copy the files back to correct location and reboot
Click to expand...
Click to collapse
Where are the ZIP files located, in case I just want to backup those rather than the img?

oroboros74 said:
Where are the ZIP files located, in case I just want to backup those rather than the img?
Click to expand...
Click to collapse
Zip files are not saved. It gets extracted in to the location as mentioned in this thread. But each time you flash a module the zip file is downloaded in to Download folder of your internal storage. Save it for future use.

Now /data/adb/magisk.img is no more used... What folder must I backup?

Didgeridoohan said:
If you just need a backup, make a backup of the Magisk image (/data/adb/magisk.img). That's where all modules are kept (for now, this might change in a future version of Magisk).
Click to expand...
Click to collapse
Hi how can i find data/adb/magisk/img

Sk7007 said:
Hi how can i find data/adb/magisk/img
Click to expand...
Click to collapse
That's an old post you're quoting, and the last part of it has come true...
All modules are currently stored in /data/adb/modules.

Didgeridoohan said:
That's an old post you're quoting, and the last part of it has come true...
All modules are currently stored in /data/adb/modules.
Click to expand...
Click to collapse
How to backup now then?
Sent from my motorola one power using Tapatalk

Always wondered the same..

73sydney said:
I do this all the time.. back the files in location mentioned above to ext sdcard...wipe device for a clean flash (all except ext sdcard/EFS obviously)...flash new ROM, then flash gapps, then flash magisk, then still in TWRP, I copy the files back to correct location and reboot
Click to expand...
Click to collapse
All modules are currently stored in /data/adb/modules. Would the concept of copying the files back to the correct location still work after a reboot?

rodken said:
All modules are currently stored in /data/adb/modules. Would the concept of copying the files back to the correct location still work after a reboot?
Click to expand...
Click to collapse
I actually havent tried it since the change from the img method
I can tell you i do backup and restore the magisk.db file....i have a Galaxy Active2 Watch, and if it even sniffs root i have to reset the watch and start over to get Samsung Pay working. So i flash the ROM/GApps, then Magisk, reboot and setup the ROM and Magisk, set my Android ID back to the previous one (to avoid having to reset the Watch, and have it connectable in Gear app) then copy the magisk.db to /data/adb, then reboot. Then enable MagiskHide, and hide Magisk Manager. When i restore my apps the Samsung ones are already in the MagiskHide list and Samsung Pay works as before, once i reconnect the watch.
Next time i flash ill try copying back the /data/adb/modules and let you know

rodken​
Just a quick update
I was about to flash a new ROM for testing, and thought about doing the test...copy the modules folder from /data/adb, and restore on new ROM and then realised that not all modules im using are going to like that, as some set symbolic links during install and some now use filesystem overlays as well (thinking busybox and Vanced Youtube)
Ive just decided rather than copying im going to stick with what works 100%, and install them by hand one by one

73sydney said:
rodken​
Just a quick update
I was about to flash a new ROM for testing, and thought about doing the test...copy the modules folder from /data/adb, and restore on new ROM and then realised that not all modules im using are going to like that, as some set symbolic links during install and some now use filesystem overlays as well (thinking busybox and Vanced Youtube)
Ive just decided rather than copying im going to stick with what works 100%, and install them by hand one by one
Click to expand...
Click to collapse
Thanks for the update.

Related

[Q] howto delete old module versions?

using xposed frameworks for long time now, I have a lot of old versions of my modules on phone
where are this module versions stored?
how can I delete this old versions I never will reuse/reinstall again?
Frank
Not sure it will help, as you surely noticed that before. Anyway.... In the "Modules" section of Xposed, a long press on the module you want to get rid of will bring you the option you're looking for.
To add to what Roudier said, modules are just like normal apps and can be uninstalled the same way.
I think everyone misunderstood the question.
I think he's asking where the old versions of each module are stored, as it's possible to uninstall the latest version of a module and install an older version that you had installed without downloading it again.
Basically, where are the downloaded files stored?
kingvortex said:
I think everyone misunderstood the question.
I think he's asking where the old versions of each module are stored, as it's possible to uninstall the latest version of a module and install an older version that you had installed without downloading it again.
Basically, where are the downloaded files stored?
Click to expand...
Click to collapse
That's handled by the download manager, it's usually cleared after a reboot if I'm not mistaken.
Doesn't sound like that's what he's asking about, though.
GermainZ said:
That's handled by the download manager, it's usually cleared after a reboot if I'm not mistaken.
Doesn't sound like that's what he's asking about, though.
Click to expand...
Click to collapse
That's how I read it.
[email protected] said:
I have a lot of old versions of my modules on phone
where are this module versions stored?
how can I delete this old versions I never will reuse/reinstall again?
Click to expand...
Click to collapse
He's seems to be specifically asking about old versions of modules there.
In any case, I actually wanted to know where old versions of installed modules were stored so I could delete them and your reply provided the required information. They were all in the download manager and were not deleted after a reboot, so I manually deleted the specific old versions of modules that were no longer required. Thanks.
kingvortex said:
That's how I read it.
He's seems to be specifically asking about old versions of modules there.
Click to expand...
Click to collapse
you absolutly right.
I want to remove my old versions of modules.
kingvortex said:
In any case, I actually wanted to know where old versions of installed modules were stored so I could delete them and your reply provided the required information. They were all in the download manager and were not deleted after a reboot, so I manually deleted the specific old versions of modules that were no longer required. Thanks.
Click to expand...
Click to collapse
@kingvortex,
can please told me, where download manager is storing this modules
[email protected] said:
you absolutly right.
I want to remove my old versions of modules.
@kingvortex,
can please told me, where download manager is storing this modules
Click to expand...
Click to collapse
I deleted them via the download manager.
Enter it via "Downloads" in your app drawer, then long press any item you want to delete and a trash icon should show up to allow you to delete them (at least that's how it works on my device).
Hi,
that's easy
I must confess that I rarely used the App Drawer and the download app I've never particularly noticed
This is about to change, thanks for the hint :good:
Frank
You're welcome.

[SOLVED] Deleted bloatware but came back after reboot

Hi!
I have rooted my phone, and deleted bloatware using uninstall.
After reboot, the apps returned, so I deleted /system/apps/*.apk (relevant) files (I'd also like to know what are the *.odex files if someone can kindly tell me )
Then, I rebooted again, and again they were... I have read in previous threads that flashing the kernel is needed. Is that so? And if so, how can it be done?
Thanks!
barashe said:
Hi!
I have rooted my phone, and deleted bloatware using uninstall.
After reboot, the apps returned, so I deleted /system/apps/*.apk (relevant) files (Id also like to know what are the *.odex files if someone can kindly tell me )
Then, I rebooted again, and again they were... I have read in previous threads that flashing the kernel is needed. Is that so? And if so, how can it be done?
Thanks!
Click to expand...
Click to collapse
You need a custom kernel with /system write permission (unsecured kernel) .
You will not be able to install ota updates if you mess with /system files.
Thanks!
alray said:
You need a custom kernel with /system write permission (unsecured kernel) .
You will not be able to install ota updates if you mess with /system files.
Click to expand...
Click to collapse
Downloaded and installed ElementalX-m7 kernel and now they are all gone!
barashe said:
Downloaded and installed ElementalX-m7 kernel and now they are all gone!
Click to expand...
Click to collapse
for future reference, you can also stay on stock kernel (dont really know why ) and do the changes in custom recovery (eg TWRP)
if you want a relatively easy file manager for custom recovery, check out Aroma File Manager... that would save you the hassle of using an adb shell
oh, and if all is good now, can you also edit main thread title to include [SOLVED], thanks
edit the first post -> at the bottom of the edit window, click Go Advanced, and then you can edit main title

OBB folder locked.

It seems my android\OBB folder is write protected. I can't install certain apps that need to write to this folder. I can't seem to unlock it and have been trawling Google for solutions.
I can delete the folder, then create a new OBB folder, but I still can't copy a folder into it. I'm using a rooted EU rom if this helps. Thanks
It is rooted device with EU rom on it
Can someone check on their phone if they can copy a file or folder into the obb folder? I'm getting very desperate for a fix
perryano said:
It seems my android\OBB folder is write protected. I can't install certain apps that need to write to this folder. I can't seem to unlock it and have been trawling Google for solutions.
I can delete the folder, then create a new OBB folder, but I still can't copy a folder into it. I'm using a rooted EU rom if this helps. Thanks
It is rooted device with EU rom on it
Click to expand...
Click to collapse
no problem at all..
any magisk modules installed? maybe disable and check
perryano said:
Can someone check on their phone if they can copy a file or folder into the obb folder? I'm getting very desperate for a fix
Click to expand...
Click to collapse
Yes, it works.
I can read/copy/delete every file/folder inside /Android/Obb directory.
Stock MIUI 10 Global.
matchung said:
no problem at all..
any magisk modules installed? maybe disable and check
Click to expand...
Click to collapse
No magisk modules installed. Thank you
I have faced this exact problem a few weeks ago. It started after I flashed a ROM, MiRum if I'm not mistaken. Tried deleting it via TWRP and make a new folder, changing the folder permission, no luck. I don't know how exactly I got my issue resolved, but I think wiping your data (storage) will do. Just backup your data, wipe your device clean, reflash your ROM, restore everything, and you'll be good to go...I guess.
I'm sorry if I can't be of more help to you in this regard.
Enthunk said:
I have faced this exact problem a few weeks ago. It started after I flashed a ROM, MiRum if I'm not mistaken. Tried deleting it via TWRP and make a new folder, changing the folder permission, no luck. I don't know how exactly I got my issue resolved, but I think wiping your data (storage) will do. Just backup your data, wipe your device clean, reflash your ROM, restore everything, and you'll be good to go...I guess.
I'm sorry if I can't be of more help to you in this regard.
Click to expand...
Click to collapse
Thanks for the suggestion. I guess this might have to be the last resort as I can't seem to find any other fix. I have tried the permission stuff in twrp file explorer also and this doesn't help. Cheers
hope this may help: -> http://en.miui.com/thread-2950541-1-1.html
matchung said:
hope this may help: -> http://en.miui.com/thread-2950541-1-1.html
Click to expand...
Click to collapse
Thank you for this. I have seen this and unfortunately on miui 10 this option is not there. The only option for mock sd card is to formal it. There is nowhere to enable/disable it. Not that I can find with developer options also enabled.
have you ever try to toggle "MIUI Optimization"? will it help?
or you may check the group/permission of the folder, here is mine
6815767 drwxrwx--x 72 root sdcard_rw 4.0K 2019-06-13 10:12 data
6815746 drwxrwx--x 4 root sdcard_rw 4.0K 2019-06-06 18:10 obb
Click to expand...
Click to collapse
matchung said:
have you ever try to toggle "MIUI Optimization"? will it help?
or you may check the group/permission of the folder, here is mine
Click to expand...
Click to collapse
I will check that now. Where can I check the group/permissions for the holder?
Thank you
I am going with a wipe and reinstall of everything. Hope this works
And a fresh wipe and install fixed it

can't R/w even with rooted phone

rooted with magisk and i'm trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail. Anyone else?
Make sure AVB verity is unchecked in magisk then reinstall from the app
qman66 said:
rooted with magisk and i'm trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail. Anyone else?
Click to expand...
Click to collapse
If the pixel 4 is any like pixel 3 with its logical partitions you'll have to use magisk to add to system. Easy way download a magisk module. Then go to /data/adb/modules then the module you installed if u need to add to /system/app you might have to add the /app set permissions then add what is wanted set permissions then restart. easy way without having to make your on module you can always go to magisk thread an learn to make a module as well either way only way I've been able to do it on Android 10 which I reverted back to pie so much better in my opinion
virtyx said:
Make sure AVB verity is unchecked in magisk then reinstall from the app
Click to expand...
Click to collapse
It's always been unchecked
billyt1 said:
If the pixel 4 is any like pixel 3 with its logical partitions you'll have to use magisk to add to system. Easy way download a magisk module. Then go to /data/adb/modules then the module you installed if u need to add to /system/app you might have to add the /app set permissions then add what is wanted set permissions then restart. easy way without having to make your on module you can always go to magisk thread an learn to make a module as well either way only way I've been able to do it on Android 10 which I reverted back to pie so much better in my opinion
Click to expand...
Click to collapse
Ok I'm willing to do this. What module do I download exactly?
qman66 said:
It's always been unchecked
Click to expand...
Click to collapse
Strange
That's the only thing I know that could cause you're issue
Android 10 requires you to so any system changes through Magisk in a "systemless" manner. As mentioned above, it needs to be in a module. If you can't do it yourself, ask for help from one of the devs. If it is a common task that others could benefit from, create a thread with the request and I am sure someone will come through...
CyberpodS2 said:
Android 10 requires you to so any system changes through Magisk in a "systemless" manner. As mentioned above, it needs to be in a module. If you can't do it yourself, ask for help from one of the devs. If it is a common task that others could benefit from, create a thread with the request and I am sure someone will come through...
Click to expand...
Click to collapse
ok does anyone know?
bump
qman66 said:
ok does anyone know?
Click to expand...
Click to collapse
What exactly is the question?
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
qman66 said:
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
Click to expand...
Click to collapse
I think it needs to be done "systemless" with a magisk module. Maybe if you ask @Tulsadiver nicely, he might be able to give you a template or even make you up what is needed. If so and it's possible others might have used for it you could share it.
qman66 said:
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
Click to expand...
Click to collapse
You are welcome to try this. Put your file in the vrtheme/system/bin folder. Leave the system folder alone. This is untested.
qman66 said:
Ok I'm willing to do this. What module do I download exactly?
Click to expand...
Click to collapse
BusyBox is the module I always use

Downloaded a module from magiskroot.net - safe?

So like a total dumbass I didn't check the source and downloaded a module (fde.ai) from magiskroot.net . Seemed to install fine, boot took a bit longer than usual, after boot the module was not listed in Magisk manager.
Is that site safe?
Thanks!
PS I guess I'm asking opinions about the specific site...
I would investigate and open the zip and look what it changes? Did you install it in recovery or in magisk?
I don't know that site.
McFlypants said:
I would investigate and open the zip and look what it changes? Did you install it in recovery or in magisk?
I don't know that site.
Click to expand...
Click to collapse
In Magisk. I'm trying to search for added files in the system right now, nothing found so far. I have also opened the zip (just before your reply) but I'm not sure I'll be able to decipher...
krakout said:
In Magisk. I'm trying to search for added files in the system right now, nothing found so far. I have also opened the zip (just before your reply) but I'm not sure I'll be able to decipher...
Click to expand...
Click to collapse
a magisk module wouldn't change system files it'll just create a folder in data/adb/modules so look there for strange folders
jons99 said:
a magisk module wouldn't change system files it'll just create a folder in data/adb/modules so look there for strange folders
Click to expand...
Click to collapse
Only the few, known modules there. Should I assume I'm ok then?
krakout said:
Only the few, known modules there. Should I assume I'm ok then?
Click to expand...
Click to collapse
not sure it might have done something else like put a script that magisk run on boot or something maybe send me this module in pm and I'll look at what's in there
Sure thing, thanks. Also, here is the Magisk log:
jons99 said:
not sure it might have done something else like put a script that magisk run on boot or something maybe send me this module in pm and I'll look at what's in there
Click to expand...
Click to collapse
Sure thing, thanks. Also, here is the Magisk boot log:

Categories

Resources