man, don't abandon this project... Come back and do it for 10 and 11... It will be time always.. It does not take much...
Discontinuing
Hey guys! I'm planning on abandoning this module. I've been pretty occupied with other stuff right now and can't find time to do these things. I won't update the module anymore. Though anyone is free to update the module (fork). You can still use it as long as it works.
Thanks for the tip.For those on A11: I tried the third (I think?) choice from the systemizer menu (install from apk) and it works fine.
Discontinuing
Hey guys! I'm planning on abandoning this module. I've been pretty occupied with other stuff right now and can't find time to do these things. I won't update the module anymore. Though anyone is free to update the module (fork). You can still use it as long as it works.
I did not test it, because I have a working systemizer on my device, but two hints:Hello! I think I fixed the Android 11 support, you can find the source commit here: https://github.com/KreAch3R/terminal_systemizer/commit/b05116e456ea0caef75f8789bee5d912cd16fe39
It was basically an one-liner. I tried it on Android 9, 10, 11 and the app listing works on all of them, I didn't try the actual functions as I didn't have time (I only tested if it systemizes in Android 11, and it does).
You can find the magisk module attached, please let me know if it works!
I did not test it, because I have a working systemizer on my device, but two hints:
- in the api-comparison it should either be -lt in the first one or -le 29, it works anyway but it is a little bit confusing,
- there are more places where the path should be fixed (line 350 and line 529) in the original file.
apk_sizeM="$(du -m $dir_app | awk '{print $1}')"
and 529: echo ""
but these can't be the lines you are referring to. Do you mean that you need more changes for some other functions to also work? If you have also fixed it, do publish it so I'm not re-inventing the wheelSorry wrong line numbers, should be 315 and 559.Thanks for the informal review,
1. I know it can also be written differently, I chose to use the original author's coding style (check $use_cmd)
2. I looked at 350:apk_sizeM="$(du -m $dir_app | awk '{print $1}')"
and 529:echo ""
but these can't be the lines you are referring to. Do you mean that you need more changes for some other functions to also work? If you have also fixed it, do publish it so I'm not re-inventing the wheel
[ $API -lt 30 ] && systemize /system/$installdir /data/app/${apklabel}-*/base.apk
[ $API -ge 30 ] && systemize /system/$installdir /data/app/*/${apklabel}-*/base.apk
[ $API -lt 30 ] && app_path="/data/app/${i}-*/base.apk"
[ $API -ge 30 ] && app_path="/data/app/*/${i}-*/base.apk"
[ -d $SYSTEM/priv-app ] && systemize /system/priv-app "${app_path}" || systemize /system/app "${app_path}" "$i"
Hello! I think I fixed the Android 11 support, you can find the source commit here: https://github.com/KreAch3R/terminal_systemizer/commit/b05116e456ea0caef75f8789bee5d912cd16fe39
It was basically an one-liner. I tried it on Android 9, 10, 11 and the app listing works on all of them, I didn't try the actual functions as I didn't have time (I only tested if it systemizes in Android 11, and it does).
You can find the magisk module attached, please let me know if it works!
Sorry wrong line numbers, should be 315 and 559.
It's basically the same path fix as you did before, I just hardcoded it without if-clause for my personal use.
I have no time to publish it at the moment, otherwise I had done it already. (and I rarely use my github account at the moment).
Line 315 can be replaced with:
and line 559 with:Code:[ $API -lt 30 ] && systemize /system/$installdir /data/app/${apklabel}-*/base.apk [ $API -ge 30 ] && systemize /system/$installdir /data/app/*/${apklabel}-*/base.apk
Code:[ $API -lt 30 ] && app_path="/data/app/${i}-*/base.apk" [ $API -ge 30 ] && app_path="/data/app/*/${i}-*/base.apk" [ -d $SYSTEM/priv-app ] && systemize /system/priv-app "${app_path}" || systemize /system/app "${app_path}" "$i"
This is not tested, but it should work.
Oh, I see. Well I incorporated your changes and pushed another commit: https://github.com/KreAch3R/terminal_systemizer/commit/bdcae1ea200f579cfe75999d76158da05216a7ad
I tried systemizing an installed app manually to trigger that part of the code and it worked. I uploaded the new version again.
@Anurag1994, great, thanks!
Did not work for me on a LG G3 d855 Xenon Rom 7.1.1.
Do not show any apps.
Pm results:
===========================
Installed Apps
===========================
Loading Apps...
0 - Exit
[CHOICE]: 0
d855:/ # pm list packges -3
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:615)
at android.os.BinderProxy.shellCommand(Binder.java:662)
at com.android.commands.pm.Pm.runShellCommand(Pm.java:295)
at com.android.commands.pm.Pm.runList(Pm.java:666)
at com.android.commands.pm.Pm.run(Pm.java:130)
at com.android.commands.pm.Pm.main(Pm.java:99)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:264)
255|d855:/ #
systemize
systemize -nc
systemize -a com.oasisfeng.greenify org.adaway
systemize -d /sdcard/example.apk /sdcard/example2.apk
Sorry wrong line numbers, should be 315 and 559.
It's basically the same path fix as you did before, I just hardcoded it without if-clause for my personal use.
I have no time to publish it at the moment, otherwise I had done it already. (and I rarely use my github account at the moment).
Line 315 can be replaced with:
and line 559 with:Code:[ $API -lt 30 ] && systemize /system/$installdir /data/app/${apklabel}-*/base.apk [ $API -ge 30 ] && systemize /system/$installdir /data/app/*/${apklabel}-*/base.apk
Code:[ $API -lt 30 ] && app_path="/data/app/${i}-*/base.apk" [ $API -ge 30 ] && app_path="/data/app/*/${i}-*/base.apk" [ -d $SYSTEM/priv-app ] && systemize /system/priv-app "${app_path}" || systemize /system/app "${app_path}" "$i"
This is not tested, but it should work.
No, it's like when you update a system app from play store, it stays as a system app.When a systemizied app is updated, how do you re-systemize it? Do you just rerun the terminal UI and choose the updated app and reboot? After reboot, does the updated app replace the old one?