I am desperately trying to get root access on aliendalvik (I want to integrate xposed framework to get control over what information applications are gathering and fake them using xprivacylua).
Is someone aware of some simple method how to do it? I have unpacked squoshfs, added su to the image and created new image but the apks started dont run (lxc-info says the aliendalvik container is started). On the other side, without the su binary the image is working fine. Selinux?
You should get squashfs image matching the original one (except the changes).
Copy it back to /opt/alien (stop the android subsytem first), take care that ownership and permissions are the same as original system.img.
I wonder if jolla would have something against doing some community image (normally, still for paying users) with integrated microg, xposed and root? I would rather integrate magisk, but the problem is that magisk is using boot or recovery to start, while they are not needed here. But it would be great if someone knows how to adapt magisk to start from system image.
We should pressure Jolla into integrating and supporting all those privacy features into theirs aliendalvik system.img.
It should have integrated switches to limit access to data and internet access per android app.
Wasnāt Jolla about privacy?
Quite frankly, I think they should do it sooner or later, no pressure needed.
As I have stated here:
Privacy market is becoming a huge opportunity and at the end of the day, people are becoming sick of google and fb. Projects like librem5, /e/,⦠are grabbing the attention, and I think that sailfish has the best story of them all. There are some rough edges to be polished but I am very satisfied with 4.0.1 on xperia 10 plus (and I have moved to it from my own rom that had all that I need or want. Now they have to scale up and support as many devices as possible. If they will fail to do it, someone else will lead the market.
Or, maybe some other old root that works through /system, like SuperSU or something⦠If your method to mod system img works, you might be able to hack it. (unless you tried already)
I certainly appreciate the insights, I was able to unsquash and rework based on your post.
Which SU binary were you using and which manager? I havent had much luck with the ones I have tried in /system/bin. I would love to be able to install xprivacylua to mask the unlocked bootloader. Sadly SFOSās browser is too old to access a website, and the app detects the unlocked bootloader and closes.
Been messing around with this a bit, and got SuperSU as far as screenshots, but itās ultimately an issue if system r/w access. Even su app canāt get that of itself. Somehow tje access is restricted - not sure where. Iām guessing itās either at the kernel level, or itās in closed-source Aliendalvik code⦠Iāve asked about it, but no response, Any Way to Get r/w Access in Android?. Iāve tried various things with mount, system props, etc., on Android and on SF side. May not be possible, (however, Iām certainly no expert).
No, you wont be able to obtain rw access on squashfs, by definition it is a read-only file system. You will need to use some rooting method that doesnāt require updating (this āneeds to be updatedā is a nonsense imposed by developers). Go to xda-developers and ask there.
Right, but the issue isnāt just that the root app would behave properly - the issue is the rw access itself. Without that, thereās no use in ārootingā, since you still wonāt be able to do anything that you would want root forā¦
Any news about root support of App Support on Sailfish OS 4.5.0.21 (and Android 11)? Backup/restore processes would be much easier with root access (like with the good AlienDalvik su, control, etc. made by @coderus). Unfortunately, Shizuku is not enough to obtain the right privileges to do so.