Commit Graph

132 Commits

Author SHA1 Message Date
osm0sis
fe57017255 Prepare v11 2024-10-06 19:05:38 -03:00
osm0sis
0d05112f38 Replace autopif with autopif2 2024-10-06 18:51:30 -03:00
xqyz
d8ff58d9ca Add additional PixelPropsUtils props to workaround 2024-10-06 18:48:35 -03:00
Chris Renshaw
ea65aef097 Only show dialog auto-close message on Magisk where it's needed 2024-10-03 22:40:22 -03:00
Chris Renshaw
ebdbccdad2 Fix fallback whoami root check logic 2024-10-03 17:13:51 -03:00
Chris Renshaw
c13a7b1299 20 second Action dialog timeout seems about right 2024-09-27 07:19:05 -03:00
Chris Renshaw
629de14990 Increase action.sh dialog timeout 2024-09-26 23:06:38 -03:00
Chris Renshaw
8c216e2d40 Add action.sh support to run autopif.sh from root managers 2024-09-25 12:43:39 -03:00
Chris Renshaw
27fc24337b Copy pasta fixes 2024-09-23 22:37:36 -03:00
Chris Renshaw
796f776534 autopif.sh: pass advanced argument to migrate script 2024-09-22 20:08:42 -03:00
Chris Renshaw
c972637347 migrate.sh: clean up user argument parsing 2024-09-22 19:28:23 -03:00
Chris Renshaw
165d370bc8 migrate.sh: retain commented security_patch if advanced 2024-09-12 20:07:35 -03:00
Chris Renshaw
915b87e6be autopif.sh: retain commented security_patch if present
- commenting out the security_patch line is needed if enabling spoofProps (e.g. for api_level) when used with Tricky Store
2024-09-12 20:00:58 -03:00
Chris Renshaw
1255a49274 Fix Magisk version check
- the variable only gets set during installations, not in the boot script env
2024-09-12 06:51:24 -03:00
Chris Renshaw
d535747c91 autopif.sh: improve error catching, busybox finding, etc.
- simplify error display
- catch missing inject_fields.xml or FINGERPRINT, from e.g. bad download/extraction failure
- more robust busybox finding function
- accept a local migrate.sh and give it precedence over the module copy
2024-09-11 21:31:25 -03:00
Chris Renshaw
98bb23460e autopif.sh: default to api_level 32 now that the betas are served 2024-09-11 21:21:42 -03:00
Chris Renshaw
027e5855a0 Begin next development cycle 2024-09-11 18:25:54 -03:00
osm0sis
481491758c Hotfix v10(103000) 2024-08-18 21:23:44 -03:00
Chris Renshaw
b42773671a Add missing ro.adb.secure prop early with the others 2024-08-18 19:24:15 -03:00
Chris Renshaw
3d55dc59c1 Work around PixelPropsUtils framework spoof conflict where supported 2024-08-18 19:03:51 -03:00
Chris Renshaw
2857e3d2f8 autopif.sh: prefer and use my busybox directly if somehow not on PATH 2024-08-16 14:52:37 -03:00
Chris Renshaw
4b8d6497d0 Hotfix v10(102000) 2024-08-16 00:37:23 -03:00
Chris Renshaw
f3a7f3d5e9 Move Xiaomi fix even later to avoid bootloops on yet more devices 2024-08-16 00:20:49 -03:00
osm0sis
dd4db53ca2 Hotfix v10(101000) 2024-08-14 01:00:22 -03:00
osm0sis
c30b3ab8a8 Fix bootloop on some Xiaomi devices 2024-08-14 00:50:48 -03:00
osm0sis
9d0a67d119 Prepare v10 2024-08-12 23:35:33 -03:00
Chris Renshaw
6e7377b3de autopif.sh: tidy using existing if 2024-08-09 12:15:02 -03:00
pershoot
98ab70a0b6 autopif.sh: Do not execute killgms.sh if not in default directory 2024-08-08 22:05:51 -03:00
osm0sis
44420c89ab autopif.sh: retain previous Advanced Settings values, fixes 2024-08-07 12:01:16 -03:00
osm0sis
adcdd80d65 migrate.sh: tidy up now that functions are multi-line 2024-08-07 11:48:06 -03:00
Chris Renshaw
096c8941b9 migrate.sh: retain previous Advanced Settings values 2024-08-05 22:52:14 -03:00
osm0sis
a926c520f2 Restore resetprop_hexpatch for older Magisk which still needs it 2024-08-04 00:06:54 -03:00
osm0sis
9ef7a7f04e Revert "Use resetprop -w to wait for boot_completed"
This reverts commit 0bc9a45.

Cater to the lowest common denominator (older Magisk) at least until after next Magisk stable
2024-08-03 23:49:42 -03:00
osm0sis
a7c2f348ea Add granular advanced spoofing options 2024-08-02 15:30:52 -03:00
Chris Renshaw
64e412c351 Correct module description 2024-07-18 23:07:01 -03:00
Chris Renshaw
ebfd0c292a Make example.pif.json reference more clear 2024-07-11 00:04:08 -03:00
osm0sis
3e58be1e24 Correct type prop heading, add another missing prop
- if sys.oem_unlock_allowed is reset to 0 before sys.boot_completed is 1 it results in a boot hang and then reboot or poweroff
- even though sys.oem_unlock_allowed has been reset to 0 the act of opening Developer Options will set it back to 1 until next reboot
2024-07-05 16:35:04 -03:00
Chris Renshaw
662b9c59c7 Ensure all prop changes bypass property_service
- resetprop only bypasses for ro.* properties by default
2024-07-05 14:15:19 -03:00
Chris Renshaw
0bc9a4543a Use resetprop -w to wait for boot_completed 2024-07-05 12:10:42 -03:00
Chris Renshaw
e3e4bbb95f Match file code style correctly 2024-07-04 15:41:41 -03:00
Chris Renshaw
7c3d0bd8dd Fix all tags and type props, add missing prop 2024-07-04 14:55:45 -03:00
Chris Renshaw
b26b043a02 Remove resetprop_hexpatch since counter is fixed in Magisk Canary 2024-07-04 14:43:50 -03:00
Chris Renshaw
5aabd4b6b5 Don't remove killgms.sh in Scripts-only mode
- it's still useful for testing purposes
2024-07-04 14:36:29 -03:00
Chris Renshaw
8756c3963a Begin next development cycle 2024-07-04 14:22:45 -03:00
osm0sis
dc1ac51008 Prepare v9 2024-06-13 22:17:57 -03:00
Chris Renshaw
ae1322b907 Work around AOSPA PropImitationHooks conflict 2024-06-01 01:50:52 -03:00
Chris Renshaw
ee8e56b401 migrate.sh: check only trailing quote
- fixes grep_check_json for prop entries with leading wildcard
2024-05-31 10:00:02 -03:00
Chris Renshaw
2dd7a17ac2 autopif.sh: don't use half-baked wget-curl wrapper some ROMs include 2024-05-19 04:01:56 -03:00
Chris Renshaw
c7b87b944f autopif.sh: catch Termux issues properly 2024-05-15 23:36:56 -03:00
Chris Renshaw
31adf6b3b9 autopif.sh: install/output improvements
- back up old json if running as built-in to module
- keep Advanced Settings if present in old json
2024-05-11 09:10:13 -03:00