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

This will never work on newer android devices #30

Open
rfaelens opened this issue Jan 28, 2020 · 7 comments
Open

This will never work on newer android devices #30

rfaelens opened this issue Jan 28, 2020 · 7 comments

Comments

@rfaelens
Copy link

See https://android.googlesource.com/platform/frameworks/base/+/921dd75
The whole point of this workaround is to install an older version of WhatsApp to access the application storage. This is prohibited in newer versions of android.

Too bad. Please adapt the documentation accordingly.

@prateekamana
Copy link

I need my whatsapp key :( is there no other way ? Did you find a workaround ?

@rfaelens
Copy link
Author

Use an older device with an old version of android. Even an emulator might do.
Install WhatsApp, restore backup from Google drive, then apply the downgrade procedure. This will not be blocked in older versions of android. Just hope that WhatsApp will still install on this older version of android...

@ghost
Copy link

ghost commented Sep 21, 2020

I need my whatsapp key :( is there no other way ? Did you find a workaround ?

You can use WhatsDump, by MarcoG3 >> https://github.com/MarcoG3/WhatsDump.

@roberts011
Copy link

I need my whatsapp key :( is there no other way ? Did you find a workaround ?

You can use WhatsDump, by MarcoG3 >> https://github.com/MarcoG3/WhatsDump.

You can't, its outdated and the referencing libraries and dependencies are broken.
Do this: https://community.signalusers.org/t/signal-fork-with-whatsapp-migration/21004/73?u=roberts

@Blocked
Copy link

Blocked commented Mar 15, 2021

Not true. Your link states

To downgrade a non-debuggable (i.e., release) package, uninstall thepackage (thus wiping its data), then install the older version of the package.

But The script will work with uninstalling apk, while keeping the data. See

adb shell pm uninstall -k com.whatsapp
echo -e "Removal complete\n"
fi
echo -e "Installing legacy WhatsApp 2.11.431"
if [ $sdkver -ge 17 ]; then
adb install -r -d tmp/LegacyWhatsApp.apk

Uninstalling first with data intact(-k) and then downgrading still works(though it's clearly a security hole). However, Recommend this

@Blocked
Copy link

Blocked commented Mar 15, 2021

@lucas75018
Copy link

@rfaelens
That is exactly what I found out the long way when using Android 12 :-/

Performing Streamed Install adb: failed to install tmp\LegacyWhatsApp.apk: Failure [-26: Package com.whatsapp new target SDK 19 doesn't support runtime permissions but the old target SDK 31 does.]

Have you an idea what is the latest Android version that supports such a downgrade?

Thanks and regards!

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

5 participants