Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Linageos21 #87

Open
Babahaze69 opened this issue Oct 26, 2024 · 1 comment
Open

Does not work with Linageos21 #87

Babahaze69 opened this issue Oct 26, 2024 · 1 comment

Comments

@Babahaze69
Copy link

Specs: Galaxy A 71, Android 14, Linageos21
I'm just a noob, please help me :(

LOG:

-- Force stopping Google Play Services --
OutputStream:
am kill all com.google.android.gms

-- Gaining ownership of the database --
OutputStream:
chown root /data/data/com.google.android.gms/databases/phenotype.db

-- Setting SELINUX to permessive --
OutputStream:
setenforce 0

-- run SQL method --
OutputStream:
/data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS bluetooth_pairing_off;
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_bluetooth_timeout", "" ,1,0);
'
ErrorStream:
Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error
OutputStream:
/data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER bluetooth_pairing_off AFTER DELETE
On FlagOverrides
BEGIN
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_bluetooth_timeout", "" ,1,0);
END;'
ErrorStream:
Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error

-- restoring Google Play Services --
OutputStream:
pm enable com.google.android.gms
InputStream:
Package com.google.android.gms new state: enabled

-- Restoring ownership of the database --
OutputStream:
chown u0_a189 /data/data/com.google.android.gms/databases/phenotype.db

-- Restoring SELINUX --
OutputStream:
setenforce 1

@hadadi5005
Copy link

droidify_settings.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants