Run Current and Old Versions of the App at the Same Time (Android only) 📱

The Process:

  1. Obtain the desired Wyze app APK from a source you trust and save this to the PC where you’ll be doing the modification. Note that it must be an actual .apk for the app, not something like an APKMirror .apkm “bundle”.
  2. Download APK Editor Studio and install as necessary for your platform. Using the AppImage on Trisquel, I just needed to make it executable (chmod a+x apk-editor-studio_linux_1.7.2.AppImage), but I also added it to the MATE menu so I could launch it from the GUI, since it’s a GUI application. This is probably even more straightforward on macOS or Windows, though it’s important to ensure that you’re meeting the other requirements on the Download page (e.g., Java and/or Visual C++ Redistributable).
  3. Launch APK Editor Studio. Before I added it to the desktop environment’s menu, I just ran it from a terminal (./apk-editor-studio_linux_1.7.2.AppImage) to make sure it would execute.
  4. Before opening an APK, you’ll want to enable source code decompiling. If you don’t do these things at this point in the process, then the app will tell you in Step #6 that it “requires the source code decompilation to be turned on”, and then after you give it permission to enable that option, it will tell you to “reopen this APK.” Save yourself some time by doing this now:
    a. From the menu, select Settings ➜ Options….
    b. In the Options dialog, select Apktool.
    c. Under Unpacking, select Decompile source code (smali).
    d. Click OK.
  5. From the menu, select File ➜ Open APK… (or click the Open APK button in the main window) and select the APK you’ll be working with. For instance, com.hualai_2.50.7.487-62187_minAPI24(arm64-v8a,armeabi-v7a)(nodpi)_apkmirror.com.apk (obviously downloaded from APKMirror). The app’s Projects pane will tell you when it’s “Done.”
  6. From the menu, select Tools ➜ Clone APK. The app will warn you that this is an “experimental function”, but renaming the package in a clone is the necessary part, because if you click OK you’ll see that the Package Name is com.hualai, which is the same as the current Android production Wyze app in Google Play Store (cf. https‍://play.google.com/store/apps/details?id=com.hualai). Changing this is absolutely necessary for running a second copy/version of the Wyze app in the same environment as the one that’s already been installed from Google Play Store.
  7. In the Package Name dialog box, change the name—I changed it to com.wyze.v2_50x—and then click OK. APK Editor Studio will then take a while with an “Updating resource references…” process while it works through the code to do package name replacement.
  8. Once the cloning process has completed, select Tools âžś Edit Application Title from the menu (or click the Application Title button in the Project Manager pane). Edit the Application Title as desired—I left it as Wyze, because the v2.50x and v3x apps use different icons, so it’s easy to tell them apart in Android’s launcher even if the names are the same—and hit the ⏎ Enter key to set it. Close the Application Title tab and confirm the change. (If you don’t see the confirmation, then check again to make sure that it set and saved.)
  9. In the Project Manager pane, click the Save APK button. I named it Wyze_2.50.7.487.apk. APK Editor Studio will inform you that you’re “using the built-in keystore provided for demonstrational purposes” with an explanatory message. I clicked OK to proceed.
  10. When the process is finished, the Projects pane will once again let you know that it’s “Done.” At this point, you can close the APK (File ➜ Close APK…) and exit the application (File ➜ Exit).
  11. Copy the APK to the phone and install as usual.
information Notes (of uncertain significance):
  • APK Editor Studio will create a signature file (I think, because it's Wyze_2.50.7.487.apk.idsig in the example I used above) in the same directory as the APK, but I didn't copy this to my phone. I copied only the APK, and it installed and ran.
  • The new APK is not the same size as the original:
    APK FilenameSize
    com.hualai_2.50.7.487-62187_minAPI24(arm64-v8a,armeabi-v7a)(nodpi)_apkmirror.com.apk231M
    Wyze_2.50.7.487.apk234M
  • Obviously other tools exist for doing this sort of thing, and this can all probably be done with Apktool. The GUI of APK Editor Studio makes it easy, though. I like easy.

Why would anyone want to do this?

  • Some users might prefer the v2.50x version of the app but still be curious about newer v3x features and want to try them at the same time.
  • Some features in the newer app versions seem broken (as of this writing, there’s an issue with Cam Pan v3 Waypoints in the current production app), but the older app still works as expected.
  • Maybe you have two different Wyze accounts because you’re managing two different locations, have separate accounts for home and business, etc., but still want to access your stuff on a single phone without constantly changing logins or user profiles.
  • Roll the :game_die::game_die: and come up with your own scenario!

Whatever the reason, it’s possible to do this on Android by cloning and modifying the Wyze app. These are the steps I’ve used.

May the Force be with you.

4 Likes

Testimonial: I have been doing this for a while now so that I can run multiple versions of the app on my same phone. I run the v2.5 app, and the latest 3.x app side by side because I can do some things in each that the other doesn’t allow. Also, I plan to keep a semi-recent 3.x app loaded so that when Beta apps “Break” functionality, I can still use a 3.x app that works fine.

For one thing, the Wyze app has gone back and forth on allowing me to use Face detection features or not, and so I will use a version that allowed me access when I need to modify something related to face detection even though some other versions have me blocked.

Some people might want to have their spouse logged into their own personal account for most stuff (especially for scales, smart watches, etc), but also be logged in to the main account with a second app so they can view the SD card recordings.

I also do this with some non-Wyze apps when I need to be logged into the same app with 2 different accounts at the same time (maybe personal and work accounts, or my account and my wife’s account for certain things).

Yeah, I use this a lot to clone apps so they aren’t conflicting.

Follow Crease’s instructions. That’s what I did to start. Now I just remember the shortened instructions:

  • Load the App APK into APK Editor Studio
  • Clone APK and change the package name to something different
  • Save and Install the new app on the phone.

I’ve been loving this so much! Not just with Wyze, but other apps too. It is nice to be able to do it with Wyze though because there are past app versions that allow me to do some stuff I couldn’t do on new versions.

2 Likes

If any of you visit me in hospice and I’m still conscious but near ready to go you can lay something like this on my chest and ask me for help. I will die laughing.

:sweat_smile:

1 Like