You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename /data/data/sksa.aa.tweaker/sqlite3 to /data/data/sksa.aa.tweaker/sqlite3.bak
Copy /system/bin/sqlite3 to /data/data/sksa.aa.tweaker/sqlite3
Re-open AA-Tweaker
Fix Proposal
Attempt to directly use the /system/bin/sqlite3,
check if existing + executable, fallback to binary provided by AA-Tweaker if not.
Provide additional x86_64 sqlite3 binary (Can be pulled from rooted AVD at /system/bin/sqlite3),
detect CPU architecture (ARM or x86_64) and use correct binary accordingly.
The text was updated successfully, but these errors were encountered:
You can compile updated sqlite3 releases for both arm and x86 from my repository: https://github.com/jacopotediosi/sqlite3-android, but the best solution here is to migrate to libsu and run a sqlite native library from a root service via java bindings.
Issue Description
The
sqlite3
binary provided by AA-Tweaker is compiled for ARM,so it refuses to run with following error on x86_64 devices/emulators (AVDs):
/data/data/sksa.aa.tweaker/sqlite3 --version # output: /system/bin/sh: /data/data/sksa.aa.tweaker/sqlite3: not executable: 32-bit ELF file
Also, the binary currently provided appears to be 5 years old 👀
Expected output
/data/data/sksa.aa.tweaker/sqlite3 --version # output: 3.32.2 2021-07-12 15:00:17 bcd014c473794b09f61fbc0f4d9488365b023f16123b278dbbd49948c27calt2
Work Around (for x86_64)
/data/data/sksa.aa.tweaker/sqlite3
to/data/data/sksa.aa.tweaker/sqlite3.bak
/system/bin/sqlite3
to/data/data/sksa.aa.tweaker/sqlite3
Fix Proposal
/system/bin/sqlite3
,check if existing + executable, fallback to binary provided by AA-Tweaker if not.
sqlite3
binary (Can be pulled from rooted AVD at/system/bin/sqlite3
),detect CPU architecture (ARM or x86_64) and use correct binary accordingly.
The text was updated successfully, but these errors were encountered: