revanced-manager icon indicating copy to clipboard operation
revanced-manager copied to clipboard

Stuck after successfully patching and installing.

Open estebanxz opened this issue 3 years ago • 28 comments

Type

Functionality

Branch

Flutter

Issue

Screenshot_20220914-163307

After patching and installing an app, screen gets stuck (shown in photo). I tried giving the manager all permissions and also disabling any battery optimizations, tried again from the beginning but the result is the same. This prevents the successfully installed app from being detected by the manager.

Feature

If this is fixed it'll enable the installed apps to appear under "installed apps" and it will help to keep the patched app itself updated.

Motivation

Because it's an essential part of the functionality of the app.

Additional context

For additional context refer to

https://discord.com/channels/952946952348270622/1019692986096955523

estebanxz avatar Sep 14 '22 19:09 estebanxz

Go to settings and hold About about section and paste it here.

Aunali321 avatar Sep 14 '22 19:09 Aunali321

Go to settings and hold About about section and paste it here.

Version: 0.0.1 Model: SM-N975F Android Version: 12 Arch: arm64-v8a

estebanxz avatar Sep 14 '22 19:09 estebanxz

I have the same issue

Version: 0.0.1 Model: 2201116SG Android Version: 12 Arch: arm64-v8a

SpookieGames avatar Sep 14 '22 20:09 SpookieGames

Fixed on https://github.com/revanced/revanced-manager/commit/9f3a30d9f2d06f00250623142a7e2e2c119d4aaa.

ponces avatar Sep 15 '22 00:09 ponces

From what I can see it is still not working as indented on 0.0.6

SpookieGames avatar Sep 15 '22 08:09 SpookieGames

Yes can confirm, issue persists as of 0.0.6, can the issue be reopened?

estebanxz avatar Sep 15 '22 08:09 estebanxz

@ponces the issue has not been fixed can you reopen this thread?

SpookieGames avatar Sep 15 '22 08:09 SpookieGames

@estebanxz Did you allow unknown install apps for Manager?

ponces avatar Sep 15 '22 11:09 ponces

He can install the patched YouTube but the manager doesn't recognize it that it has been installed

Edit: I even allowed it to see installed apps

SpookieGames avatar Sep 15 '22 11:09 SpookieGames

He can install the patched YouTube but the manager doesn't recognize it that it has been installed

Edit: I even allowed it to see installed apps

Same thing for me, I have YouTube, YT Music and Tiktok install but only shows YouTube and Tiktok

SadLinusGuy0 avatar Sep 15 '22 16:09 SadLinusGuy0

@estebanxz Did you allow unknown install apps for Manager?

Yes, all permissions including media access and installation of apps from unknown sources (in this case manager) are allowed, I tried multiple times, clearing data, reinstalling, same result.

estebanxz avatar Sep 15 '22 18:09 estebanxz

I found a workaround for now.

You basically want to install the apk you downloaded and then select app and patch normally. When patched you can remove the original YouTube and leave the patched one installed and now it shows it in the installed screen

SpookieGames avatar Sep 16 '22 15:09 SpookieGames

Mine problem same manager doesnot recognise the installed patched youtube apk file, all permissions given.

harry590 avatar Sep 17 '22 12:09 harry590

I found a workaround for now.

You basically want to install the apk you downloaded and then select app and patch normally. When patched you can remove the original YouTube and leave the patched one installed and now it shows it in the installed screen

Unable to install youtube 17.33.42 over latest youtube, says package invalid.

harry590 avatar Sep 17 '22 12:09 harry590

Forgot to mention that if you have YouTube preinstalled it won't work as this version is older and you can't downgrade apps. Also the App signature might be different

SpookieGames avatar Sep 17 '22 12:09 SpookieGames

Forgot to mention that if you have YouTube preinstalled it won't work as this version is older and you can't downgrade apps. Also the App signature might be different

I have removed the youtube over adb and tried to install youtube v.17.33.42 but still same issue that package invalid.

harry590 avatar Sep 17 '22 13:09 harry590

You have to install the full apk and not the split APK file .xapk

SpookieGames avatar Sep 17 '22 13:09 SpookieGames

You have to install the full apk and not the split APK file .xapk

I have managed to install youtube 17.33.42 and revanced manager also showing in patched applications.

harry590 avatar Sep 17 '22 14:09 harry590

As of 0.0.10 this issue seems to be fixed (albeit with a side-effect) I uninstalled everything, installed manager and proceeded to patch YouTube, it patched successfully and after install I was at the main menu and the app was there, the issue now is the duplication of installed apps in manager, which is already documented.

EDIT: Hmmm after this, I decided to patch YouTube music and the issue reappeared, stuck at the same screen again.

estebanxz avatar Sep 18 '22 03:09 estebanxz

Those are not duplicates. You have installed ReVanced version of YouTube Music in parallel with an existing installtion of regular YouTube Music right?

Nope, for YouTube that could be somewhat true (pre-installed YouTube app that is disabled) but i don't have YouTube music installed and patched version will too duplicate in the installed apps screen, so I don't see that being the reason of the issue.

estebanxz avatar Sep 18 '22 03:09 estebanxz

Those are not duplicates. You have installed ReVanced version of YouTube Music in parallel with an existing installtion of regular YouTube Music right?

ponces avatar Sep 18 '22 03:09 ponces

Nope, for YouTube that could be somewhat true (pre-installed YouTube app that is disabled) but i don't have YouTube music installed and patched version will too duplicate in the installed apps screen, so I don't see that being the reason of the issue.

Ok. I'll take a look into it. Thanks

ponces avatar Sep 18 '22 03:09 ponces

Duplicates should be fixed on incoming v0.0.11.

ponces avatar Sep 18 '22 03:09 ponces

Duplicates should be fixed on incoming v0.0.11.

I also have same duplication upto 5 or 6 times in manager v0.0.13. I do have youtube preinstalled.Screenshot_20220918-140052.jpg

harry590 avatar Sep 18 '22 08:09 harry590

I don't think they will remove by themselves you probably have to reinstall the manager

SpookieGames avatar Sep 18 '22 08:09 SpookieGames

I don't think they will remove by themselves you probably have to reinstall the manager

Yep i think so bec everytime manager is updated it creates duplicates like that.

harry590 avatar Sep 18 '22 08:09 harry590

Clean manager data or uninstall and start it over. This is fixed now. But currently saved manager data can still keep this duplicates.

ponces avatar Sep 18 '22 08:09 ponces

As for the OP problem, this still exists. Tested on the latest version 0.0.26. You can use ADB at the moment of the installation as a workaround, but it seems that even if the app appears on the manager it won't be checked if an update is available, it will keep staying on the Installed tab.

BitSleek avatar Sep 27 '22 22:09 BitSleek

Does this still exist on the latest version of manager?

I was having the same issue, but I realized what the issue is. When you hit install, the OS will warn you saying "installing this app could be harmful for your device!"

The main button available will say "Got It!", but this actually just prevents the installation of the .apk

Instead, you need to hit the drop down in the warning pop up and there should be a button that say "install anyway".

nik0pic0 avatar Aug 06 '23 02:08 nik0pic0