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 LookBack really work? #13

Open
dmytrovoytko opened this issue Jun 19, 2024 · 2 comments
Open

Does LookBack really work? #13

dmytrovoytko opened this issue Jun 19, 2024 · 2 comments

Comments

@dmytrovoytko
Copy link

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)
IMG_20240619_065958.jpg

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?

@legendsayantan
Copy link
Owner

legendsayantan commented Jun 20, 2024

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 legendsayantan pinned this issue Jun 20, 2024
@dmytrovoytko
Copy link
Author

@legendsayantan thank you for the response!
Will try to test it on later Android version devices (A11+)

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