2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00
Commit Graph

366 Commits

Author SHA1 Message Date
Christopher Roy Bratusek
956cbb009f CommonInstaller: string change 2019-01-01 20:51:50 +01:00
Christopher Roy Bratusek
82e9bb0a0b bump version 20.4 "(Constitution)" 2018-12-30 17:40:29 +01:00
Christopher Roy Bratusek
9c4d0f8b02 CommonPatcher: don't do anything if ROM is pre-patched 2018-12-27 22:11:09 +01:00
Christopher Roy Bratusek
a3e9d116d4 fix logical error 2018-12-27 22:03:10 +01:00
Christopher Roy Bratusek
8a479966ac CommonInstaller:
- grep_prop(): also check for /vendor/build.prop
- magisk_install_postinst(): fix stock ROM SetupWizard work-around + only apply if required
- search_fake_package_signature(): import modified version of FAKE_PACKAGE_SIGNATURE detection by ale5000
- install_microg(): use search_fake_package_signature() to check whether we need FAKE_PACKAGE_SIGNATURE in privapp-permissions or not
2018-12-27 22:01:34 +01:00
Christopher Roy Bratusek
653a8db0b1 set ro.setupwizard.mode to DISABLED using resetprop 2018-12-25 21:59:45 +01:00
Christopher Roy Bratusek
22e08d6545 CommonInstaller: remove duplicated string 2018-12-24 21:50:27 +01:00
Vladimir Filatov
1ef2186972 Add double tab to each permission line in final xml and do it in "one" step 2018-12-23 19:26:36 +00:00
Christopher Roy Bratusek
6cd317c96e microG LOS compat 2018-12-23 16:19:54 +01:00
Christopher Roy Bratusek
1763f882f5 use /sbin/.magisk instead of /sbin/.core ; support both /data/adb/magisk and /data/magisk 2018-12-22 18:46:34 +01:00
Christopher Roy Bratusek
e112209c55 minor updates 2018-12-20 21:30:24 +01:00
Christopher Roy Bratusek
86269b05e9 bump version to 20.4 in-dev 2018-12-14 21:35:07 +01:00
Christopher Roy Bratusek
c3d8f9bb35 bump version to 20.3 (Shenzhou) 2018-12-08 14:43:50 +01:00
Christopher Roy Bratusek
520b52baa4 shut up find 2018-12-03 20:33:00 +01:00
Christopher Roy Bratusek
974b25bf25 CommonInstaller: minor fix 2018-12-03 20:31:02 +01:00
Christopher Roy Bratusek
9be90cd296 CommonInstaller: add more GApps to get rid of 2018-12-03 20:30:48 +01:00
Christopher Roy Bratusek
041f05be7a CommonInstaller: debug strings 2018-12-03 20:02:48 +01:00
Christopher Roy Bratusek
b45bab0083 CommonInstaller: minor fix 2018-12-03 19:56:00 +01:00
Christopher Roy Bratusek
bf401f41ea CommonInstaller:
- break GApps removal into own functions
  - make search for runtime-permissions work for any user, not just user 0
  - remove pre-existing Google Account @Vavun
  - needless to say that GApps removal is only triggered when NANODROID_UPGRADE=0
2018-12-01 20:10:37 +01:00
Christopher Roy Bratusek
9cd15b5f74 GApps removal mechanism now also checks for PrebuiltGmsCorePix 2018-11-29 22:22:07 +01:00
Christopher Roy Bratusek
7c6bab6164 CommonInstaller: string fix 2018-11-28 22:29:15 +01:00
Christopher Roy Bratusek
2f4b42b578 CommonInstaller: syntax fix 2018-11-28 22:26:45 +01:00
Christopher Roy Bratusek
b93fc7d6c3 set version to 20.2.90 (20.3~beta1) 2018-11-28 21:36:34 +01:00
Christopher Roy Bratusek
42c72dc243 CommonInstaller: string change 2018-11-28 21:35:30 +01:00
Christopher Roy Bratusek
351d753b54 CommonInstaller: change logic for which GmsCore to install 2018-11-28 21:33:41 +01:00
Christopher Roy Bratusek
c1327b30c9 data likewise 2018-11-28 21:32:38 +01:00
Christopher Roy Bratusek
2a2e271640 also check for Webview and WebViewGoogle when trying to get rid of stock WebView 2018-11-28 21:23:14 +01:00
Christopher Roy Bratusek
bcfc216e11 CommonInstaller: minor fix 2018-11-27 20:24:55 +01:00
Christopher Roy Bratusek
559176f60d Yeah, right, TWRP shell can't handle arrays, but substrings 2018-11-27 20:20:47 +01:00
Christopher Roy Bratusek
bf8fd318db CommonInstaller: match corner-case and syntax fix 2018-11-27 20:08:54 +01:00
Christopher Roy Bratusek
afcc991261 fix Kopier-Paste 2018-11-27 19:55:04 +01:00
Christopher Roy Bratusek
6d5686ee88 turn nanodroid_play into an array for better code 2018-11-27 19:48:00 +01:00
Christopher Roy Bratusek
0744150577 turn nanodroid_nlpbackend into an array for better code 2018-11-27 19:14:35 +01:00
Vladimir Filatov
002cf4f32b Merge branch 'master' into 'Microg_2'
Sync to Master

See merge request Vavun/NanoDroid!4
2018-11-27 03:42:11 +00:00
Christopher Roy Bratusek
b1bd8dace8 CommonInstaller: work around stupid magisk.img size issue due to unpacking huge Bromite WebView libraries in some cases 2018-11-26 19:14:48 +01:00
Vladimir Filatov
97e3884e63 Phonesky and nlpBackendDejavu are missing in files_database=(*) 2018-11-26 17:56:32 +00:00
Vladimir Filatov
981cd34787 Update CommonInstaller, data/build-package.database, data/build-package.pkg-microg, data/build-package.update, Full/system/etc/default-permissions/microg-permissions.xml files 2018-11-26 14:15:26 +00:00
Vladimir Filatov
f9de71aa71 nanodroid_swipe=* did not affect swipe libraries installation procces 2018-11-26 13:57:01 +00:00
Christopher Roy Bratusek
69ed2bd80c improve OsmAnd package 2018-11-23 21:18:01 +01:00
Vladimir Filatov
fe7463e59b Add OsmAnd to the project 2018-11-23 20:04:36 +00:00
Christopher Roy Bratusek
9b6deaa351 bump version to 20.3 in-dev 2018-11-23 18:32:44 +01:00
Christopher Roy Bratusek
8f0f24415c bump version to 20.2.20181122 2018-11-22 20:34:38 +01:00
Christopher Roy Bratusek
32af553323 minor string change 2018-11-22 19:57:45 +01:00
Christopher Roy Bratusek
d4bc78cf0d fix installing APK libraries for non-multilib APKs 2018-11-22 19:50:46 +01:00
Christopher Roy Bratusek
fc88b75c57 Full, microG packages: new setup variable nanodroid_gmscore 2018-11-20 18:04:35 +01:00
Christopher Roy Bratusek
9cf769fbaa fix typo 2018-11-18 22:38:51 +01:00
Christopher Roy Bratusek
8fc2276a5b CommonInstaller: log whether install was successful and show where logs are stored 2018-11-18 22:37:40 +01:00
Christopher Roy Bratusek
296e9ed1ba bump version to 20.2 in-dev 2018-11-13 20:18:00 +01:00
Christopher Roy Bratusek
9fc4958645 CommonInstaller: app data removal path fix 2018-11-12 20:53:07 +01:00
Christopher Roy Bratusek
4fa1d275f3 bump version to 20.1.20181112 2018-11-12 18:12:40 +01:00
Christopher Roy Bratusek
28102c8132 CommonInstaller: get rid of webview updates, aswell, if it's a fresh NanoDroid installation 2018-11-12 18:06:21 +01:00
Christopher Roy Bratusek
05c4727f9f CommonInstaller: drop unused code 2018-11-12 18:04:21 +01:00
Christopher Roy Bratusek
0ad03738bb CommonInstaller: change apk path for Bromite WebView from webview to BromiteWebView 2018-11-12 17:55:06 +01:00
Christopher Roy Bratusek
3445cb6e0d CommonInstaller: some ROMs use webviewstub instead of webview 2018-11-12 17:54:36 +01:00
Christopher Roy Bratusek
0212e618b1 CommonInstaller: fix GSync Adapter installation (gitlab #18) 2018-11-12 10:41:13 +00:00
Christopher Roy Bratusek
58e6f84bf7 bump version to 20.0.20181111 'Nimitz' 2018-11-11 10:24:24 +01:00
Christopher Roy Bratusek
df48f9652d CommonInstaller: no longer support flashing through Magisk Manager 2018-11-10 22:03:23 +01:00
Christopher Roy Bratusek
a794e20af7 set version to 19.90.20181110 2018-11-10 08:46:33 +01:00
Christopher Roy Bratusek
3dacafc438 bump version to 20.0 in-dev 2018-11-09 21:44:26 +01:00
Christopher Roy Bratusek
3bf712455a CommonInstaller:
- improve migrate_magisk_custom()
- update detect_bootmode()
- cleanup old modules during installation not just for Full / microG packages
- since libraries suck up additional space, increase reqSizeM by 100 MB
- improved install_bromite_webview()
- remove useless bit from install_microg()
- improved nanodroid_install_apk(), nanodroid_install_lib()
- package alias support for nanodroid_install_apk()
2018-11-09 21:11:57 +01:00
Christopher Roy Bratusek
9010244dcd CommonInstaller: install multilibs for Bromite WebView 2018-11-08 20:54:36 +01:00
Christopher Roy Bratusek
e6cd45ffcc make nanodroid_install_lib() multilib aware 2018-11-08 20:54:10 +01:00
Christopher Roy Bratusek
d38a56c1d9 CommonInstaller: make it Bromite WebView module aware 2018-11-08 18:46:56 +01:00
Christopher Roy Bratusek
1fc92ea6ce implement BromiteWebView package 2018-11-08 18:27:34 +01:00
Christopher Roy Bratusek
e45a9860a8 CommonInstaller: more fine-graded microG installation
nanodroid_microg=[0|1|2]:
* 0 = don't install microG at all (like before)
* 1 = install microG GmsCore, GsfProxy and DroidGuard Helper and Nominatim Geocoder Backend (like before)
* 2 = install microG GmsCore and Nominatim Geocoder Backend (new)
2018-11-07 17:25:33 +01:00
Christopher Roy Bratusek
858c2eeb59 CommonInstaller: minor change 2018-11-06 21:55:39 +01:00
Christopher Roy Bratusek
7aaa60242d CommonInstaller: remove unused var 2018-11-06 21:54:34 +01:00
Christopher Roy Bratusek
b754d7e8d0 CommonInstaller: path fixup 2018-11-06 21:54:08 +01:00
Christopher Roy Bratusek
c1ed05bbcb CommonInstaller: make nanodroid_install_file() gsync-aware, unify code 2018-11-06 21:48:48 +01:00
Christopher Roy Bratusek
fac2892efe CommonInstaller: make nanodroid_install_apk() gsync-aware, unify code 2018-11-06 21:42:52 +01:00
Christopher Roy Bratusek
4e871c7154 bump version to 19.2 in-dev 2018-11-05 18:23:36 +01:00
Christopher Roy Bratusek
9cbc6d4c7a drop YouTube from list of applications to get rid as part of GApps removal 2018-11-05 18:23:14 +01:00
Christopher Roy Bratusek
0b06d13502 bump version to 19.1.1 2018-11-03 10:17:45 +01:00
Christopher Roy Bratusek
ab33b74f93 Revert "Revert "finalize permissions stuff""
This reverts commit 27d7cc1ae4.
2018-11-03 10:06:53 +01:00
Christopher Roy Bratusek
e2cadf840e bump version to 19.1.20181102 2018-11-02 21:50:22 +01:00
Christopher Roy Bratusek
27d7cc1ae4 Revert "finalize permissions stuff"
This reverts commit 9207eca7c9.
2018-10-31 21:40:52 +01:00
Christopher Roy Bratusek
c3acbd05b0 CommonInstaller: make GApps removal less brutal 2018-10-31 21:37:20 +01:00
Christopher Roy Bratusek
9207eca7c9 finalize permissions stuff 2018-10-31 21:18:48 +01:00
Christopher Roy Bratusek
25347e1459 CommonInstaller: fixup swipe install; string update 2018-10-31 21:04:32 +01:00
Christopher Roy Bratusek
8d70e43073 CommonInstaller: update 2018-10-31 20:54:23 +01:00
Christopher Roy Bratusek
f2377b8ab6 CommonInstaller: update swipe lib installation routine 2018-10-31 20:35:39 +01:00
Christopher Roy Bratusek
0c9e86b85b bump version to 19.1 in-dev 2018-10-29 20:47:47 +01:00
Christopher Roy Bratusek
fa5937a36d improve DroidGuard /data installation 2018-10-29 17:41:47 +01:00
Christopher Roy Bratusek
3f7db27f97 bump version to 19.0.20181027 2018-10-27 09:54:21 +02:00
Christopher Roy Bratusek
0ffa18d8e3 change version 2018-10-20 16:23:40 +02:00
Christopher Roy Bratusek
0e1eec6d89 bump version to 18.91 (19.0~beta2) 2018-10-20 15:31:41 +02:00
Christopher Roy Bratusek
4f3a49e4da minor fixup 2018-10-20 14:36:41 +02:00
Christopher Roy Bratusek
89e731b8e4 [experimental] GApps removal mechanism, modify packages.list/packages.xml 2018-10-20 14:32:03 +02:00
Christopher Roy Bratusek
b4a6ad506d add F-Droid additional_repos.xml 2018-10-20 13:40:27 +02:00
Christopher Roy Bratusek
39bbdef05d Merge branch 'master' into 'master'
Fix typo affecting x86_64 architecture detection

See merge request Nanolx/NanoDroid!3
2018-10-18 09:59:52 +00:00
Gia90
7a83d4f646 Fixed stupid bug affecting X86_64 architecture detection 2018-10-16 20:18:29 +02:00
Christopher Roy Bratusek
e8198f6026 set version to 18.90 (19.0-beta1) 2018-10-11 19:49:50 +02:00
Christopher Roy Bratusek
609fa25a86 improve GApps removal mechanism 2018-10-11 18:53:19 +02:00
Christopher Roy Bratusek
092f8d7103 improve GApps removal mechanism 2018-10-11 18:50:51 +02:00
Christopher Roy Bratusek
eea524d8a5 CommonInstaller: CUSTOM_ROM var not needed at all 2018-10-06 20:59:43 +02:00
Christopher Roy Bratusek
7048e92261 fix Google Sync Adapters permissions file being installed in the wrong directory 2018-10-05 20:15:48 +02:00
Christopher Roy Bratusek
1233bf7a6b bump version to 19.0 in-dev 2018-10-02 16:05:24 +02:00
Christopher Roy Bratusek
f7f6812564 nupd is gone in favor of a F-Droid Repository 2018-10-02 09:35:03 +02:00
Christopher Roy Bratusek
f9314545a4 migrate from Adaway to Blockada 2018-09-29 22:05:51 +02:00
Christopher Roy Bratusek
a44ee53638 bump version to 18.3.1 2018-09-21 21:50:58 +02:00
Christopher Roy Bratusek
c7eeff0871 bump version to 18.3 2018-09-20 21:21:21 +02:00
Christopher Roy Bratusek
61bce19d39 bump version to 18.3 in-dev 2018-09-19 19:06:30 +02:00
Christopher Roy Bratusek
a586ef09f5 CommonInstaller: roll back to 17.x mode detection 2018-09-17 19:05:06 +02:00
Christopher Roy Bratusek
a1c1b84f5b bump version to 18.2.20180916 2018-09-16 10:56:23 +02:00
Christopher Roy Bratusek
b479cb4e46 CommonInstaller: finalize 2018-09-16 10:52:38 +02:00
Christopher Roy Bratusek
0de1370b97 CommonInstaller: improve custom magisk migration 2018-09-16 10:19:25 +02:00
Christopher Roy Bratusek
2b46235083 CommonInstaller: improve DroidGuard Helper handling 2018-09-16 10:18:23 +02:00
Christopher Roy Bratusek
54c7fc7293 CommonInstaller / CommonPatcher: minor improvement 2018-09-15 23:00:55 +02:00
Christopher Roy Bratusek
83face3946 CommonInstaller: fixup 2018-09-15 22:57:11 +02:00
Christopher Roy Bratusek
e53e2f73f7 CommonInstaller: install DroidGuard as user app, improve custom Magisk migration 2018-09-15 22:05:45 +02:00
Christopher Roy Bratusek
84b43e4503 bump version to 18.2 in-dev 2018-09-15 19:32:57 +02:00
Christopher Roy Bratusek
8f6a1b2886 move from Orfox to TorBrowser 2018-09-15 19:21:42 +02:00
Christopher Roy Bratusek
62abe59d2a bump version to 18.1.20180909 2018-09-09 15:35:53 +02:00
Christopher Roy Bratusek
656d368c44 CommonInstaller: fix installer not detecting upgrade when flashing through Magisk Manager 2018-09-09 14:21:13 +02:00
Christopher Roy Bratusek
42ea0d365b update version to 18.1 in-dev 2018-09-08 20:03:05 +02:00
Christopher Roy Bratusek
b117c4fd48 CommonInstaller, CommonAddon: update detect_outfd 2018-09-08 20:02:46 +02:00
Christopher Roy Bratusek
6ff65d2593 CommonInstaller: ROMs with build-type userdebug are treated as Custom ROMs 2018-09-08 19:43:09 +02:00
Christopher Roy Bratusek
9a95c5dd08 CommonInstaller: code simplifications 2018-09-08 19:05:01 +02:00
Christopher Roy Bratusek
9e78b1d563 CommonInstaller: migrate /data/adb/.nanodroid-list to /data/adb/NanoDroid_FileList 2018-09-08 10:51:27 +02:00
Christopher Roy Bratusek
3f508cd808 bump version to 18.0.3 2018-09-08 10:42:55 +02:00
Christopher Roy Bratusek
803b8d1d66 CommonInstaller: update aswell 2018-09-08 10:41:48 +02:00
Christopher Roy Bratusek
268cdc2c3c bump version to 18.0.2 2018-09-08 09:38:37 +02:00
Christopher Roy Bratusek
012669f2ec CommonPatcher: try to detect whether we are on a Custom or Stock ROM 2018-09-08 09:37:53 +02:00
Christopher Roy Bratusek
fc95b0cf01 bump version to 18.0.1 hotfix 2018-09-07 21:27:23 +02:00
Christopher Roy Bratusek
08554b5dc7 CommonInstaller: fix microG GmsCore, PlayStore and microG Services Framework Proxy loosing data / permissions after upgrade 2018-09-07 21:23:14 +02:00
Christopher Roy Bratusek
1945ee584a CommonInstaller: minor change 2018-09-07 18:27:53 +02:00
Christopher Roy Bratusek
5da7905863 CommonInstaller:
- always exist upon System Mode installation
- string changes
2018-09-07 18:21:48 +02:00
Christopher Roy Bratusek
75c3b268d1 bump version to 18.0.20180907 2018-09-07 17:39:55 +02:00
Christopher Roy Bratusek
c7808c5498 CommonInstaller / CommonPatcher: improve 2018-09-06 21:15:46 +02:00
Christopher Roy Bratusek
f176e7dca7 CommonInstaller: when /data/adb/NanoDroid_FileList exists, assume System Mode installation, even if Magisk exists 2018-09-04 20:30:23 +02:00
Christopher Roy Bratusek
aa17c14a1e CommonInstaller: remove unused definition 2018-09-04 20:24:48 +02:00
Christopher Roy Bratusek
ba0dc7faf2 CommonInstaller: simplify 2018-09-04 20:24:10 +02:00
Christopher Roy Bratusek
0ce53bd035 CommonInstaller: fix displaying install mode 2018-09-04 20:22:11 +02:00
Christopher Roy Bratusek
aa76b8d454 CommonInstaller: fix installation for Magisk Mode, when ROM wasn't booted once 2018-09-04 20:15:04 +02:00
Christopher Roy Bratusek
2162e6b6d5 error out if /data can't be mounted 2018-09-04 20:07:06 +02:00
Christopher Roy Bratusek
d0feddae7c CommonInstaller: on fresh installations, also get rid of possible user-installed version of Play Services
- this was supressed due the fact that NanoDroid wasn't self-aware
wether it was updated or not, but since 17.5 we have the internal
NANODROID_UPGRADE envvar, thus this is save and only effects GApps.
2018-09-02 15:23:12 +02:00
Christopher Roy Bratusek
84652bc70b don't get rid of GooglePartnerSetup 2018-09-02 15:17:49 +02:00
Christopher Roy Bratusek
12b60aafa5 update detect_bootmode 2018-09-01 19:14:09 +02:00
Christopher Roy Bratusek
b9054f4c5b CommonInstaller: improve installer env 2018-09-01 11:23:15 +02:00
Christopher Roy Bratusek
f37bc60073 CommonInstaller: fix error when overriding ROM built-in AdAway / OmniClockOSS if requested 2018-08-31 20:11:54 +02:00
Christopher Roy Bratusek
5e833b6e8e CommonInstaller: add sync adapters for P 2018-08-31 20:03:52 +02:00
Christopher Roy Bratusek
50d7ecef47 CommonInstaller:
- if there's no /vendor partition, but /system/vendor exists, create a compatibility link, which is required on some ROMs
- if log all mounted paritions in the recovery.log
- update /vendor mounting code
2018-08-29 17:00:56 +02:00
Christopher Roy Bratusek
9be0cc4eec Patcher: vendor mount code 2018-08-27 21:25:03 +02:00
Christopher Roy Bratusek
1e99734c85 CommonInstaller, Patcher: A/B aware /vendor mount code from Magisk 2018-08-27 18:12:17 +02:00
Christopher Roy Bratusek
ad06de9fd5 CommonInstaller, Patcher: mount /vendor partition 2018-08-27 18:08:12 +02:00
Christopher Roy Bratusek
e5e8fe101a doc updates 2018-08-25 20:19:26 +02:00
Christopher Roy Bratusek
94efbc5c0e next release will be 18.0, not 17.10 2018-08-25 00:31:29 +02:00
Christopher Roy Bratusek
ac488fa201 sort alphabetically 2018-08-25 00:28:06 +02:00
Christopher Roy Bratusek
eaa64ec3f7 CommonInstaller: remove GoogleExtServices from GApps removal list, as it is required for ROMs using GooglePackageManager 2018-08-25 00:17:40 +02:00
Christopher Roy Bratusek
6889db96ff CommonInstaller:
- extend GApps debloat blacklist to filter out more stuff
- minor fix regarding system mode installer information creation
2018-08-24 21:25:01 +02:00