Open dmytrovoytko opened 4 months ago
This feature was tested on Realme RMX2156 and a pixel emulator running Android 12, while downgrading to older versions of Android System Webview downloaded from apkmirror. I do plan to perform extensive testing on various other devices in future, and improve it further. For now, it seems that the existing way to downgrade apps doesn't always work reliably.
@legendsayantan thank you for the response! Will try to test it on later Android version devices (A11+)
I had similar experience as #6 - nothing (visible) happened after choosing any APK. Both USB debugging options are set On in developer options (Xiaomi Redmi Note 8T, Android 9)
Then similar behavior (nothing visible happened after choosing any APK) on another device - tablet (Android 9, no Google).
After looking at LookbackActivity.kt code I discovered there was no 'com.legendsayantan.adbtools' directory in '/Android/data/' on my devices (bug?), so I created it manually. So at least I got a toast 'Installing'.
And then, if it is a 'fresh' apk it shows USB install confirmation and then works, but if it's an older than existing apk (same signature) it shows INSTALL_FAILED_VERSION_DOWNGRADE
Then I tested it with 2 versions of DEBUGGABLE apk's, and it works - downgrades - normally.
So looks like executing 'adb pm install -S <path/to/pk> -r -d' via Shizuku (as it is coded in LookbackActivity.kt) doesn't really help in my cases (Android 9, 2 different devices, different brands).
What else should I check?
Can you please describe what (non rooted?) devices and not debuggable apk worked (downgraded) for you?