Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

[Bug]: INSTALL_FAILED_VERSION_DOWNGRADE #753

Open
2 tasks done
Gouster4 opened this issue Dec 8, 2021 · 11 comments
Open
2 tasks done

[Bug]: INSTALL_FAILED_VERSION_DOWNGRADE #753

Gouster4 opened this issue Dec 8, 2021 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@Gouster4
Copy link

Gouster4 commented Dec 8, 2021

Device

Device: Xperia 1 III
Operating System: Android
Android Version: 11

Version

2.6.2

Bug Description

I installed an system update, ans youtube reinstalled to original 16.32.34 version.
When i try to install youtube vanced root version i get this error:
INSTALL_FAILED_VERSION_DOWNGRADE

I cannot just uninstall updates as update is part of system.
Im not able to modify system files because disable-verify does work just on userdebug builds.

But it would be nice if you implement some automatic workaround, for example creating new magisk module with ytb vanced during each update.

Thanx.

Additional checks

  • I have checked other bug reports and this is not a duplicate.
  • This is a bug in Vanced Manager and NOT YouTube Vanced/YouTube Vanced Music/Vanced microG.
@Gouster4 Gouster4 added the bug Something isn't working label Dec 8, 2021
@Gouster4
Copy link
Author

Gouster4 commented Dec 12, 2021

Solution can be simply faking higher apk version.

@X1nto
Copy link
Member

X1nto commented Dec 12, 2021

Solution can be simply faking higher apk version.

not possible, bug will be fixed in next manager, meanwhile the only fix rn is to wait for the next vanced update

@tracedgod
Copy link

Same issue on OnePlus 9 Pro after upgrading to Android 12, system package for YouTube is higher than current vanced version, therefore downgrade error happens. Nonroot method works fine obviously. Hate to be that guy, but any ETA on when an update will be released? I'll be using Nonroot method until then since it works.

@cl-ement05
Copy link
Contributor

Usually, you can uninstall updates from System apps. Did you try this ?
Last week, I had to reinstall my ROM so I faced the same issue since YouTube version was higher than Vanced's one.
The only thing I did was going to settings, then apps, select youtube and click on "uninstall updates". This usually downgrades (at least it did on my phone) Youtube version below Vanced version which then lets you install YT Vanced without any problems

@Gouster4
Copy link
Author

Problem is that if you have recent system version, app located on system partition can be higher version than latest available vanced. Uninstalling udates does work just for updates on data partition, then app from system partition is used.

@ghost
Copy link

ghost commented Dec 23, 2021

@Gouster4 @tracedgod use the Debloater magisk modular if you can't uninstall updates.
Read the modules documentation.

@tracedgod
Copy link

tracedgod commented Dec 23, 2021

@Gouster4 @tracedgod use the Debloater magisk modular if you can't uninstall updates. Read the modules documentation.

Thanks, this did the trick. I had tried other debloat apps with no luck, this one worked with no issues.

Quick write-up for anyone who needs to uninstall YouTube that is higher version:

  1. Install termux or any other terminal emulator
  2. Install debloat magisk module and reboot
  3. Open terminal and type su, confirm superuser priveleges
  4. Type su to enter root shell
  5. Type debloat to run the app and navigate through the menus until you find YouTube, mine was under option 4
  6. Select the YouTube app and confirm the removal, then reboot your phone
  7. After reboot, you should be able to manually uninstall YouTube app and replace it with vanced YouTube via Vanced Manager.

@rubino25
Copy link

Still have the same issue. Removed youtube app via adb but still have the error. S10+ with latest android 12 and One UI 4. Yes, rooted.

@Byter09
Copy link

Byter09 commented Jan 29, 2022

Regarding the de-bloat magisk module: the latest magisk has no module library anymore, but you can still get it via F-Droid. I downloaded De-Bloater, it is available as an app and lists itself in the magisk module tab, and removing YT with it allowed me to install Vanced 😄

@rubino25
Copy link

rubino25 commented Jan 29, 2022

I'll try!
Edit: no, it didn't work. I've removed the system app via adb but the error is still present. In debloater I can't see YouTube app in system or user path
Edit 2: It works!! Reinstalled YouTube fron play store, debloated and reintalled with vanced manager robot! Thanks

@tracedgod
Copy link

Regarding modules, there is an app called Fox's Magisk Module Manager that lets you manage your modules since it was removed from Magisk itself. I use this and it works good. Good to see you got the issue resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants