Christopher Roy Bratusek
f1b846a028
CommonInstaller: attempt to fix #157 / auto-call create_privapp_permissions_whitelist() from nanodroid_install_apk()
2020-10-04 11:42:17 +02:00
Christopher Roy Bratusek
07bf572656
drop shell utilities
2020-10-03 21:10:40 +02:00
Christopher Roy Bratusek
02f167e663
improve mount-code in regards of system-as-root, fix /vendor compat link generation, fix system-as-root detection in SysTest for recovery mode
2020-10-02 19:40:46 +02:00
Christopher Roy Bratusek
c5bab88a3d
CommonInstaller: syntax fix
2020-09-29 20:21:51 +02:00
Christopher Roy Bratusek
3becb40640
CommonInstaller: minor fix in printing order of messages
2020-09-29 20:17:10 +02:00
Christopher Roy Bratusek
8690da9c4a
CommonInstaller: further improve/fix mounting /system and /vendor
2020-09-29 20:14:02 +02:00
Christopher Roy Bratusek
4c841f03a9
CommonInstaller: fixup
2020-09-29 20:05:08 +02:00
Christopher Roy Bratusek
b3c7b2b14c
CommonInstaller: only create /vendor compat link, if really required
2020-09-29 20:01:23 +02:00
Christopher Roy Bratusek
87dcc8035f
CommonInstaller: ensure we mount system_SLOT and vendor_SLOT
2020-09-29 19:59:45 +02:00
Christopher Roy Bratusek
638bf4d4bb
fix that empty nanodroid_utils and nanodroid_init setup variable will get overriden with default value
2020-09-29 19:11:26 +02:00
Christopher Roy Bratusek
1250291713
syntax fix
2020-09-28 17:53:21 +02:00
Christopher Roy Bratusek
22d918ce9d
CommonInstaller: simplify dump_system_privapp_permissions, minor changes in create_privapp_permissions_whitelist
2020-09-28 17:46:46 +02:00
Christopher Roy Bratusek
95e81485f4
CommonInstaller: simplify check_fake_package_signature a bit
2020-09-28 17:38:18 +02:00
Christopher Roy Bratusek
6ac7d0ebca
CommonInstaller: move var to top
2020-09-28 17:32:54 +02:00
Christopher Roy Bratusek
8c1ec54241
CommonInstaller:
...
- re-arrange functions in (kinda) logical groups
- add a few banners for more easy navigation
- simplify install_swipe() by adding link_swipe_libs() function
- add setup_installer() - central function to setup environment for all Modules, instead of doing everything in all modules separately (future proof)
2020-09-27 20:44:44 +02:00
Christopher Roy Bratusek
97b13c6d84
CommonInstaller: minor change to recovery_setup_env
2020-09-27 20:05:38 +02:00
Christopher Roy Bratusek
91a41ab0e0
CommonInstaller: first install microG, then backends
2020-09-27 18:21:10 +02:00
Christopher Roy Bratusek
716ee81e66
CommonInstaller: unify detect_migrate_* into universal detect_migrate_apk()
2020-09-26 20:44:15 +02:00
Christopher Roy Bratusek
33431f5871
bump version to 23.0 in-dev
2020-09-24 20:40:58 +02:00
Christopher Roy Bratusek
72876fd61f
CommonInstaller: fix privapp-permissions for Android 11
2020-09-24 15:22:14 +02:00
Christopher Roy Bratusek
ceb8194bf2
CommonInstaller: shut up
2020-09-24 08:37:03 +02:00
Christopher Roy Bratusek
dd318e060c
drop unused var
2020-09-23 13:28:31 +02:00
Christopher Roy Bratusek
c0c48a0780
CommonInstaller: auto-detect whether we use official or Nanolx GmsCore/DroidGuard and migrate if required
2020-09-23 13:25:37 +02:00
Christopher Roy Bratusek
7c1eb9e9f6
bump version to 22.9.20200910 'Tiefseequappe'
2020-09-10 20:07:04 +02:00
Christopher Roy Bratusek
860d917d21
typo fix [ https://github.com/Nanolx/NanoDroid/pull/26 ] @elopio
2020-09-09 18:34:31 +02:00
Christopher Roy Bratusek
2dfe5dfbb3
drop useless ^
2020-09-08 22:25:12 +02:00
Christopher Roy Bratusek
d9fb69cdba
more precisely: storing config in ZIPDIR was dropped from nanodroid-overlay, now everywhere
2020-09-08 22:24:18 +02:00
Christopher Roy Bratusek
87de786783
CommonInstaller/nanodroid-overlay: ignore empty lines aswell
2020-09-08 22:16:22 +02:00
Christopher Roy Bratusek
58914bada6
CommonInstaller:
...
- simplify install_apps()
- who cares whether we override a ROM app?
2020-09-08 21:55:28 +02:00
Christopher Roy Bratusek
5c4945501a
CommonInstaller: ignore commented lines in .nanodroid-apps
2020-09-08 20:00:14 +02:00
Christopher Roy Bratusek
155d8672e9
bump version to 22.9
2020-09-06 09:02:23 +02:00
Christopher Roy Bratusek
2487b97a41
bump version to 22.8.20200901
2020-09-01 21:51:48 +02:00
Christopher Roy Bratusek
5de05d34c3
CommonInstaller: make nanodroid_init setup variable actually work
2020-09-01 21:40:12 +02:00
Christopher Roy Bratusek
edc6ac531b
CommonInstaller: if nanodroid_utils setup variable contains errors, print a warning, instead of erroring out
2020-09-01 21:37:40 +02:00
Christopher Roy Bratusek
3610af71be
CommonInstaller: add android.permission.ACCESS_BACKGROUND_LOCATION to default-permission on SDK 29+
2020-09-01 21:35:15 +02:00
Christopher Roy Bratusek
927f9bc718
CommonInstaller: dos2unix configuration file before loading them
...
see https://gitlab.com/Nanolx/NanoDroid/-/issues/147
2020-09-01 21:28:20 +02:00
Christopher Roy Bratusek
2012b83734
CommonInstaller: fix installation mode detection when Magisk is not installed
2020-09-01 21:07:49 +02:00
Christopher Roy Bratusek
bec49e9b4f
bump version to 22.7.20200829 (The Velvet Machine)
2020-08-29 21:54:17 +02:00
Christopher Roy Bratusek
9b620a7703
minor change
2020-08-29 21:43:10 +02:00
Christopher Roy Bratusek
ca6972338e
remove (now) useless check
2020-08-24 22:13:06 +02:00
Christopher Roy Bratusek
66ba010bf3
CommonInstaller: minor change
2020-08-24 22:10:33 +02:00
Christopher Roy Bratusek
b78d8b517e
CommonInstaller: clean up modules_update just in case one flashes the same package twice without rebooting (Magisk Manager)
2020-08-24 22:06:19 +02:00
Christopher Roy Bratusek
6ded9a151f
only bind-mount /dev/random if in recovery
2020-08-24 22:00:56 +02:00
Christopher Roy Bratusek
a854a8d8d7
CommonInstaller:
...
- fixup previous commit
- fix silly typo
2020-08-24 21:56:10 +02:00
Christopher Roy Bratusek
310479ce26
CommonInstaller:
...
- improve detecting block devices for /system and /vendor
- don't report magisk mount points when logging mounts
- change we way we detect whether we run Magisk Mode installation
- make check_fake_package_signature distinguish between native and self patched ROMs
- improve update information for Magisk Manager
- minor internal simplifications
2020-08-24 21:47:21 +02:00
Christopher Roy Bratusek
96cbbf8f02
CommonInstaller: no longer preserve services.jar when upgrading NanoDroid/NanoDroid_microG Magisk Modules
2020-08-24 19:24:37 +02:00
Christopher Roy Bratusek
15d2bdcc0d
Patcher, CommonInstaller, SysTest: also detect signature spoofing when ROM is self-patched
2020-08-24 19:19:18 +02:00
Christopher Roy Bratusek
a92bf80ef1
CommonInstaller: supress message
2020-08-24 18:50:05 +02:00
Christopher Roy Bratusek
298cb73638
CommonInstaller: Magisk Mode - always use MAGSIKBASE/modules_update on upgrade and MAGISKBASE/modules on clean install
2020-08-24 18:41:28 +02:00
Christopher Roy Bratusek
dd69cfd998
fixup previous commit
2020-08-23 21:33:46 +02:00