Crazyphil / digitales-amt-liberator

Removes root and bootloader checks from Austrian e-gogernment apps
GNU General Public License v3.0
65 stars 5 forks source link

Add mObywatel #10

Closed sbstn87 closed 4 days ago

sbstn87 commented 1 year ago

Hi,

would it be possible to add the Polish mObywatel app to the list of supported software?

Link: https://play.google.com/store/apps/details?id=pl.nask.mobywatel

sdrgeek commented 1 year ago

I've added support in #11. Please test it.

sbstn87 commented 1 year ago

Thank you, but can you please link to the APK? Sorry for the trouble, but I cannot see it there.

sdrgeek commented 1 year ago

app-debug.zip

sdrgeek commented 1 year ago

Auto build system doesn't seem to work, at least i dont have the permission, it seems (403). Had to zip the APK as it's not possible to directly upload an APK.

sbstn87 commented 1 year ago

I have downloaded and installed it, but it does not launch. It cannot be opened and it does not show on the list of available apps.

sdrgeek commented 1 year ago

This is a XPosed/LSPosed/Riru module. It doesn't have a UI but it certainly should be visible on the list of installed apps. RTFM

sbstn87 commented 1 year ago

Ah, ok. I have never used any of the modules you have mentioned so I will look into it later and let you know if it works for me.

sbstn87 commented 1 year ago

I have installed Magisk, but I have absolutely no idea how it works. So, I am sorry but I will not be able to test it.

Crazyphil commented 1 year ago

@sbstn87 You can find an installation instruction for Magisk here. In the Modules section of the app (in the bottom menu) you can then install LSPosed by downloading the latest release ZIP file with Zygisk, touching the Install from storage button in Magisk und selecting the downloaded ZIP file. Finally, when you start LSPosed, you can again select the Module archive menu option, search for E-Government Liberator and install the latest version.

However, please note that you need a device with an unlocked bootloader, which voids the device's warranty and is not appropriate for the average user. If you feel not up to the task, you might want to consider looking for other options.

sbstn87 commented 1 year ago

I have an unlocked bootloader and a custom ROM, but unfortunately I completely do not understand those instructions - what are the files they want to patch, etc. So I am sorry, but I will not be able to test it.

sdrgeek commented 1 year ago

@sbstn87 Ok, let's start again... You mentioned, that you installed magisk, so you should have root, right? If you don't, reboot to recovery and flash the Magisk.apk (please use instructions provided by @Crazyphil above) (sideload the apk). After you restarted your phone, go into the Magisk app settings (top right) and enable Zygisk. Restart. When you go into the Magisk app, there should be a modules tab at the bottom. When you click on it, you should see a install from storage button on the top. Click on it. Install this zip file (I assume you already downloaded it on your phone, before you click on install from storage). Wait for the installation to finish, you will be prompted to restart your phone, restart. After that open Magisk and enable the LSPosed module (in the modules tab). If successfully installed, you should now have a silent notification "LSPosed loaded". Now try to install the apk I sent you earlier for testing. Click on the LSPosed notification, go the modules tab and click on the E-Government Liberator app. Enable the module and select mObywatel. mObywatel should now work.

MinekPo1 commented 11 months ago

works for me with LSPatch (the root checker was a false positive, ironic lol), so I assume it works.

sdrgeek commented 11 months ago

That's great news. Could you test the app beyond login? Do all features work as expected?

the root checker was a false positive, ironic lol

Wdym? In testing, I had to bypass the root and bootloader checks. Ofc you won't get the errors if your device isn't modified.

MinekPo1 commented 11 months ago

That's great news. Could you test the app beyond login? Do all features work as expected?

yup, no issues, though I can't test all of the app since they don't apply to me (for example I don't drive and that seems like a large part of the app)

Wdym? In testing, I had to bypass the root and bootloader checks. Ofc you won't get the errors if your device isn't modified.

Excellent question! No idea what it checks for, I don't have a unlocked bootloader and I'm running an OEM ROM so unless I've been targeted with very advanced malware I shouldn't have a modified system and I'm just a depressed trans girl spending most of her day in her bed, not the most likely victim of such advanced malware. I even tried uninstalling shizuku along with any apps with "root" or "posed" in the name based on what some were reporting, to no avail.

Now that I think about it, could be because I changed database_creation_buildid in the global table, though the change doesn't show up anywhere except the app I use to mess with the system settings, but I can't be bothered to check.

sdrgeek commented 11 months ago

ok, enough input for merge imo @Crazyphil

No idea what it checks for, ...

This app has a number of root checks, more root checks and u guessed it, more root checks (ubfuscated :) ) There are also some app checks and so on.

so unless I've been targeted with very advanced malware ...

Unlikely but who knows...