Tag: install

  • Forget Android emulators — this open-source alternative does it better

    Forget Android emulators — this open-source alternative does it better

    I have six computers of different sizes and specs, but lately I’ve noticed that I use my Chromebook more frequently. It has one amazing feature that I can’t live without, despite its obviously poor performance and small 11-inch footprint: full-fledged Android app support. I’m not just saying this because I write for Android Authority; having access to smartphone apps that don’t have a true PC equivalent is revolutionary.

    Unfortunately, earlier this year Microsoft ended the Windows Subsystem for Android (WSA) experiment, which enabled the use of Android apps on Windows 11. Additionally, Phone Link is still in use, although it just lets you mirror the screen of your smartphone. Furthermore, the Pixel and the great majority of other devices still do not have screen sharing enabled by Microsoft. Therefore, I have to decide between using an emulator or a Chrome OS device if I want the finest Android experience on my PC.

    The sole issue? At best, Android emulators on PC provide a mediocre experience. Performance is lost due to emulation costs, and even the best Android emulators, such as BlueStacks, have crowded interfaces and advertisements designed for particular applications, like gaming. On Chrome OS, however, the experience is far more seamless: you may open individual Android apps, and they coexist peacefully with native apps.

    WayDroid

    Waydroid

    Waydroid brings all the apps you love, right to your desktop, working side by side your Linux applications. 

    Is it possible to accomplish this Android-PC harmony without installing Chrome OS and forfeiting the ability to use a conventional desktop environment? Yes, but the only catch is that Linux is needed. Nevertheless, I believe it’s totally worth it, and Microsoft’s growing hostility against Windows privacy is just one more reason to think about switching.

    Forget Android emulators — this open-source alternative does it better

    Why running Android apps on PC matters more than ever

    I enjoy having access to Android’s extensive app store on my PC for a number of reasons, including my investing portfolio tracker and other smart home apps. I frequently think that Android services are simply superior to their web or PC versions. For instance, WhatsApp for PC keeps me from scaling the window to my preferred size. In particular, it feels like a needless waste of screen space because it won’t shrink any smaller than a quarter of my screen.

    Apps for smartphones, on the other hand, are made to fit on almost any screen size. Therefore, the window size should be much more adjustable if you can figure out how to run them on a computer. Additionally, you may already understand the appeal if you have ever tried multitasking on a computer with a single display.

    Waydroid on Ubuntu

    Try using a web browser to launch Google Maps and minimizing the window size (see below). As soon as you click on a business, the sidebar will occupy all of the available space, leaving you with nothing except the search box. Without ignoring this sidebar, you are unable to move about the map.

    You can see how much smaller the windows for the Android versions of WhatsApp and Google Maps can get on the right. This discrepancy is not the fault of Meta or any other developer; desktop applications are made to work on reasonable screen sizes, and my smaller windows don’t precisely meet that requirement.

    Nevertheless, the difference is clearly noticeable on a 24-inch screen, such as the monitor on my gaming PC. I’ve considered purchasing a second monitor, but my desk isn’t large enough to fit one. I must therefore use every available inch of screen real estate for the time being. Aside from density considerations, I occasionally like mobile apps because of their simple user interfaces. For instance, AI mobile apps respond far more quickly than the web version, which is useful when I only need a brief response to a small query.

    Because of my propensity for multitasking, I usually find myself using two chat apps (WhatsApp and Telegram) in addition to a full-featured web browser and possibly one other program, such as Maps or a social media app like X/Twitter. Normally, switching between the different full-screen windows would require a lot of Alt+Tab. However, with top-notch Android app support, I can use many windows simultaneously.

    Android apps on PC without emulation

    I came found Waydroid, an open source project that lets you run Android apps on a PC. Waydroid doesn’t simulate a whole Android device in a virtual machine, in contrast to Android emulators like BlueStacks or Genymotion, which you may already be familiar with. Rather, it shares the host OS’s kernel and makes use of Linux namespaces. In summary, it runs an entire Android system directly on Linux using a container-based methodology. This results in near-native performance with no overhead or performance penalty associated with virtualization.

    Admittedly, installing Waydroid is more complicated than just downloading the installer for an emulator and repeatedly selecting Next, as is the case with Windows. However, it merely required entering two simple commands into the terminal, and Waydroid is available in the app stores of many distributions. It wasn’t a problem for me because I already use Linux on a daily basis, but I would advise you to give the operating system a try if you haven’t used it recently. Stable versions, such as Ubuntu, are largely similar to Windows and require no tweaking.

    waydroid install

    Returning to the topic of Waydroid, there are two builds available: one with Google apps (GApps) and one without. I chose the former, which included a minimum build of Android 13 based on LineageOS along with the Play Store and Google Play Services framework.

    After installation, Waydroid displays installed Android apps in the application menu of your computer, complete with taskbar entries and unique icons, just like native programs. Additionally, you may enable multi-window mode, which lets each program open in a separate window, by changing one setting.

    Is using Waydroid pleasant?

    WayDroid

    Waydroid

    Waydroid brings all the apps you love, right to your desktop, working side by side your Linux applications. 

    Despite being an open-source, community-built program, Waydroid feels quite well-designed. With the exception of a few configurable configuration changes (such as turning off the on-screen keyboard), the main experience is identical to that of an Android tablet. I can use my monitor without even using my keyboard and mouse because it allows touch input.

    I was pleasantly happy to discover that practically every software I wanted to run on Waydroid worked without any issues, despite my initial concerns about compatibility. You must first take a moment to register your Waydroid installation with Google Play Protect, but I could download everything from the Play Store. Of course, you may also utilize other app stores like F-Droid or sideload apps. Compared to Windows Subsystem for Android, which was formally restricted to the Amazon App Store, this is already a significant improvement.

    We tested all of my favorite apps, including Telegram, YouTube, and Google Maps, and they all functioned perfectly without a single frame loss. Even my Chromebook, which runs Android apps less effectively, stands in sharp contrast to this. You see, with the release of Chrome OS 109 in 2023, Google shifted to a virtualization-based strategy for running Android. Since then, a lot of Chromebooks with lower specs have had trouble running Android apps.

    The term “way” alludes to Waydroid, a crucial part of the graphics infrastructure of contemporary Linux that enables even hardware acceleration and fluid input. Even though I have AMD hardware, as the project suggests, I tested a few simple games and they ran perfectly. Allowing Waydroid to utilize your PC’s built-in graphics or switching to software rendering are two workarounds for NVIDIA’s lack of official support.

    d6a52c0e9479dc6c833c78da46a1c4e3

    That’s not to imply that Waydroid doesn’t have drawbacks. You’ll soon discover that you can’t view incoming notifications when you run programs in multi-window mode. Apps lack the ability to send notifications outside of the container they reside in, in contrast to Chrome OS. If you install the appropriate desktop application and use a forwarding app, such as KDE Connect, you can easily get around this.

    Additionally, Waydroid shields a large portion of your device’s hardware from Android apps. For example, the camera input is broken, which is really important if you care about video calls. Similarly, apps are inherently unable to directly access Bluetooth or GPS. However, this only truly matters in ancillary use scenarios, such as when attempting to configure a smart home device straight from Waydroid.

    Overall, Waydroid fills the void better than anything else available at the moment, although it doesn’t completely replace my Pixel or even my detachable Chromebook. I can highly recommend Waydroid if you’re among the numerous folks who either use an emulator or wish that Windows Subsystem for Android would come back.

    WayDroid

    Waydroid

    Waydroid brings all the apps you love, right to your desktop, working side by side your Linux applications. 

  • How to install/uninstall and use Magisk modules on your rooted Android device

    How to install/uninstall and use Magisk modules on your rooted Android device

    Without a question, Magisk is one of the best tools a rooted user can utilize to customize any Android device. You can install modules to accomplish almost anything you want that aren’t system-dependent, which means they won’t replace your system files permanently. You’ll be back to stock after uninstalling them and rebooting. Certain module-related properties have changed in recent versions of Magisk; to learn more about how to install and use it, see the tutorial below.

    Download official Magisk repo

    This official repo was built directly into the Magisk app to make installing and updating your modules quick and easy. However, starting with Magisk v24.0, developer John Wu has decided to remove it entirely from the app. If you previously relied only on the app for your module needs, you might be unsure of what to do now that the feature is missing.

    Smartphone makers may consider rooting your phone and installing Magisk modules to be technological methods that void your warranty. If something goes wrong, you may experience issues ranging from simple data loss to a bricked device, and your device may become less secure as a result. Before you start, make sure you’re aware of the dangers.

    Now, you have to manually access the official repo, which you can find by doing the following:

    1. Visit the official Magisk repo on GitHub.
    2. Scroll through the list and tap on a module that interests you.
    3. Look over the description and features to get an idea of what it does, see picture below.
    4. Scroll down to the Releases section towards the bottom, then tap the latest version.
    5. Under Assets, tap the .zip file to download the Magisk module to your device.
    magisk module

    The official Magisk repo may eventually shut down because it is no longer accepting new module contributions. The alternative Magisk repo, on the other hand, is available and will act as an unofficial substitute if that happens. This repository is continuously updated with new modules, thus it’s already a popular resource. It, too, uses GitHub, thus the download instructions are the same as for the official repo above.

    magisk install

    Install Magisk modules

    1. Open the Magisk app to the main screen.
    2. Tap the Modules tab in the lower right corner.
    3. Hit the Install from Storage button at the top.
    4. Navigate to your Download folder or the location where you saved the module if needed.
    5. Tap the module .zip file to begin the installation process, then follow any on-screen instructions as necessary.
    6. Once finished, press the Reboot button at the bottom to restart and activate the module.
    magisk unistall

    Although module compatibility is generally strong, not all combinations will operate well together. If you’re using a lot of different modules, be cautious about how many you install at once to avoid problems like a bootloop. Under typical situations, though, you should be able to stack many modules together without difficulty.

    The BootloopSaver module is something that we recommend you check out when installing lots of modules. Knowing you won’t lose the data on your device because of a compatibility issue should help put your mind at ease. It’s also handy if you don’t have a custom recovery environment to fall back on.

    The left screenshot shows the default gesture navbar at the bottom on a Pixel device running Android 12, while the right shows it was removed after installing the example module.

    How to uninstall Magisk modules

    When you decide a module just isn’t working for you, removing it is a straightforward and easy process. To uninstall a Magisk module from your device, do the following:

    1. Open the Magisk app to the main screen.
    2. Tap the Modules tab at the bottom right.
    3. Locate the module you wish to uninstall, then hit the Remove button.
    4. The module’s section and text are grayed out to indicate it’ll be uninstalled the next time you reboot your device.
    5. To undo this action for any reason before that, hit the Restore button, and it’ll reverse the changes instantly.
    magisk uninstall modules

    Tapping the button on the right will turn it off, but not actually uninstall it. This can help with testing module compatibility, since you can always turn it back on later. You’re still required to reboot your device if you plan on disabling and enabling modules in this manner.

    Install Fox’s Magisk module manager and how to use it

    If you’d prefer to avoid scrolling through online repos looking for new modules, this is the method for you. Developer Fox2Code has created an app to manage your Magisk modules with relative ease. The app pulls from three different online repo sources, including the official one (for now), the unofficial alternative, and Androidacy’s. You can get started using Fox’s module manager by doing the following:

    1. Visit Fox’s module manager download page on your rooted device.
    2. Scroll down to the Releases section towards the bottom, then tap the latest version.
    3. Under the Assets section, hit the .apk file to begin the download.
    4. Once it’s finished downloading, tap the notification in the status bar to install it.
    5. If needed, enable the Install unknown apps permission to continue.
    6. Press Install to begin.
    7. You are greeted with a superuser permission request, so press Grant to confirm your choice.
    Install Fox's Magisk module manager and how to use it

    Tapping the information icon on the right takes you to the README page for each module, and hitting the download button on the left will bring up the installation option. If you want to use a particular module, just tap Install Module, then follow the on-screen instructions as needed. Once you reboot your device, the module will be activated and ready to go.

    Like the Magisk app, you can disable a specific module by switching its button to the off position. If you want to uninstall it entirely from your system, tap the trash bin icon to do that. Either way, you’ll have to do a reboot to finalize the changes you made here.

    Tapping the Settings cogwheel in the upper right corner and going to Manage repos will let you pick where the modules come from. All sources are enabled by default, but you can disable any of them by pressing each switch to the off position.

    fox magisk

    Despite the fact that the official module repo has been deleted from the Magisk app, modules continue to exist. In fact, as more developers are joining on board with different methods to fund their work, your life with Magisk could get even better. Whether you use an internet source to manually download modules or Fox’s module management, the community has you covered.

  • The complete guide to install ADB on any platform

    The complete guide to install ADB on any platform

    Whether you want to install a custom ROM, turn on some hidden Android features, or take screenshots from apps that prevent you from doing so, you’ll need the Android Debug Bridge (ADB) and fastboot. They’re part of the Google SDK platform tools and give you some lower-level access to your phone. You’ve got to prepare a few things before you can start, so here’s a comprehensive guide showing you how to get the platform tools up and running on any platform.

    Setup your phone

    You need to set up your Android device first. If you haven’t already activated the developer options in your system settings, you will have to do so by going to the About section and taping the Build number entry seven times. You will be congratulated on becoming a developer, and a new entry called Developer Options will appear in your system settings. Enter them, look for the USB debugging toggle, and turn it on.

    Installing ADB

    Windows, macOS, Linux, and Chrome OS with Android Studio

    If you’re a developer or looking to get into Android app development, you should install the Android Studio. It’s Google’s official IDE (Integrated Development Environment) for Android applications and has all the tools on board you need for creating your projects, including ADB and fastboot. The software will also ensure that your tools are always up to date. You can download Android Studio on the Android Developers website. The installation process is straight-forward — just follow the on-screen instructions from the installer.

    android adb

    Since Android Studio is quite huge when installed, the standalone SDK platform tools could be a better option if you want to save some precious space on your computer’s storage, especially if you don’t want to get into app development. The tools are comprised of the same interfaces you get when you install the Android Studio: ADB, fastboot, and systrace. They’re available on the Android Developers website. You’ll have to extract them and add them to your system’s path, but there are some scripts that simplify the process:

    Nexus Tools

    If you ask me, Nexus Tools is the fastest way to get ADB and the other platform tools up and running on your computer. It’s an open-source tool created by our own Corbin Davenport. Nexus Tools automatically downloads the latest platform tools from the Google website mentioned above, extracts them, and adds them to your system’s path for ease of use. You just need to paste the following command into a macOS or Linux terminal and hit enter:

    bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

    Once it’s finished installing, open a new terminal window and confirm that ADB works with the ADB devices command. If your phone is connected with USB debugging enabled, you should then be able to see its ID.

    The script also works for the latest Macs with the M1 chip, Linux on Chromebooks (here’s how to enable Linux on Chrome OS), and Bash for Windows. However, the Windows subsystem for Linux doesn’t support USB, so you’ll have to rely on a wireless connection. That’s only really feasible if you have Android 11 or a rooted phone, and even then, there are some limitations.

    You can find more information on Nexus Tools on Github, including uninstall and update instructions.

    15 seconds ADB installer

    adb installer

    For Windows, you can rely on another automatic tool from an XDA Developers Forum member, the 15 seconds ADB installer. However, some users report that the script doesn’t properly work for them, and it hasn’t been updated by the original maintainer for a long time. You can try using some of the recent revisions from another forum member or set up the platform tools manually:

    1. Download the SDK platform tools for Windows from the Android Developers website.
    2. Extract the ZIP file into a folder you can easily remember (like C:/platform-tools)
    3. Open a command window in the folder by holding shift and right-clicking in an empty spot in the folder and selecting “Open command prompt/PowerShell here” in the menu. Then you can start using ADB — connect your phone and try .\ADB devices to see if it’s working. A list with attached devices should show up.
    4. If you computer doesn’t recognize your phone, you may need to install its respective Windows USB driver additionally. Alternatively, there’s an open-source universal driver if you don’t want to go through the hassle of finding the correct one for your device.

    If you want to be able to just open a command window and start using ADB without navigating to your platform-tools folder first, you’ll need to add the folder to your Windows path:

    1. Search for “system environment” in the Windows 10 Start search and select “Edit the system environment variables” from the results.
    2. Click “Environment Variables…” towards the bottom of the window that just opened.
    3. In the lower section of the next window under “System variables,” look for the “Path” row. Select it and click “Edit…”
    4. In the “Edit environment variable” window, you can hit the “New” button and add the path with the platform tools. In our example, that’s “C:/platform-tools.”
    5. Exit all windows and save the changes you’ve made by selecting “OK.”
    6. Open a new command prompt or PowerShell and see if ADB devices now works without navigating to your platform-tools folder first. You also won’t have to add .\ in front of it anymore. You might have to restart your computer before the change takes effect.

    On your phone

    Lev2.2 206x366 1

    If you don’t want to root your phone or install a custom ROM and just need access to the ADB shell, you don’t even need to connect your handset to a computer. The open-source LADB app allows you to run a shell locally, utilizing the wireless ADB protocol. However, setting it up is a little convoluted, and you’ll need to be on Android 11 to be truly free from a computer. We’ve got a tutorial that walks you through the process.

    Web

    ADB

    If you don’t have the Android 11 yet, or prefer to work with a larger screen, the WebADB might be for you. It’s an open-source web app that you can use to run the ADB shell, but it also comes with a file manager and supports SCRCPY for screenshots and screencasts in apps that don’t allow you to run them on a regular basis. The biggest caveat: being a web tool, you have to trust that developers don’t do anything fishy with your phone—you’re giving an unknown party low-level access, after all. Here’s our tool hands-on.

    Using ADB

    Depending on which install method you opted for, you may have to add a .\ in front of ADB commands to make them work. If you haven’t added your SDK tools installation to your path on Windows, keep in mind that you always have to run a terminal from the SDK tools folder.

    There are tons of advanced features and tweaks you can enable or disable via ADB and the ADB shell. Here are just a few of the things we covered, but there are plenty of other things you can find all around the internet. Some of our favorites include SCRCPY, APK installation, stock-ifying Amazon Fire tablets, and more.

  • Install Google apps on Huawei

    Install Google apps on Huawei

    There is no official way for Google apps to be enabled on Huawei smartphones, like the Mate 30 Pro. We want to make this clear from the start. And this is where you should stop reading if you were expecting an official way. Yet there are other ways to do this that give us an alternative way. That’s an open secret. Most of Google’s applications are also free online and easy to use

    Installation takes less than 5 minutes to complete. No protection is assured, however, because the circumstances surrounding the situation in Google–Huawei attract people with malicious intent. Copy security specifications for HD streaming of different services can not be enabled. Furthermore, you can not install Google Bill, too.

    Install Google Service

    All you need is the Chat Partner app. Only a few clicks, you can install mobile services on Google more easily than ever before. No prior experience, technical know-how or accessories are needed. Download Partner Chat app HERE

    • Download, install & start the app
    • Follow the instructions in the app (see screenshots above)
    • – Detect device
    • – Repair Now
    • – Activate
    • Restart (!)
    • Log in to the installed Google Play Store (again) with a Google account
    • Create additional Google accounts or install Google Apps via the Play Store
    Youtube video

    Notes!

    • Despite our extensive tests, app appraisal and observation of possible illegal account activity in the days after the installation, we received a legitimate security
    • Notice: The login via Webview can be potentially unsafe.
    • It also seems to be possible to skip this step and restart the device directly in order to then create a Google account via the Play Store or the system settings (secure).
    • So far, we have not been able to test whether this will lead to restrictions in subsequent use – which we do not assume, however.
    • The app can also be uninstalled after achieving your goal.
  • Install ADB on Windows, macOS, and Linux

    Install ADB on Windows, macOS, and Linux

    There will be a lot of guides on Droid Tools about how to access certain features of the Android platform that simply are not visible to the user. 

    Theese will be done generally with the help of some command line Android Debug Bridge (ADB) commands, a tool that Google offers for developers to debug various parts of their applications or the system, but which we can use for all kinds of neat and hidden tricks. Using the command line isn’t something that everyone is comfortable with, though, so in an attempt to teach everyone how to do these tweaks (no matter what skill level you’re at), we have been including some basic steps about how to install ADB in each of our tutorials where necessary.

    Setup the Android Debug Bridge (ADB)

    Phone Setup

    • Launch the Settings application on your phone.
    • Tap the About Phone option generally near the bottom of the list (this is hidden behind the “System” option in Google’s latest Android Oreo version).
    • Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
    • Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
    • Go in there and enable the USB Debugging mode option.
    usb debugging

    Next up, you will need to scroll below and follow the rest of the instructions for your operating system.

    Windows 10 ADB Setup

    • Download the ADB ZIP file for Windows
    • Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb)
    • Open Windows explorer and browse to where you extracted the contents of this ZIP file
    • Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
    windows adb
    Windows ADB folder
    • Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.
    • In the Command Prompt window, enter the following command to launch the ADB daemon: adb devices
    • On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
    maxresdefault 2

    Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in the command prompt. 

    Install ADB on macOS

    • Download the ADB ZIP file for macOS
    • Extract the ZIP to an easily-accessible location (like the Desktop for example).
    • Open Terminal.
    • To browse to the folder you extracted ADB into, enter the following command: cd /path/to/extracted/folder/
    • For example, on my Mac it was this:cd /Users/Doug/Desktop/platform-tools/
    • Connect your device to your Mac with a compatible USB cable. Change the USB connection mode to “file transfer (MTP)” mode. This is not always required for every device, but it’s best to just leave it in this mode so you don’t run into any issues.
    • Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: adb devices
    • On your device, you’ll see an “Allow USB debugging” prompt. Allow the connection.
    maxresdefault 3
    • Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in macOS’s Terminal window. Congratulations! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!

    Install ADB on Linux

    1. Download the ADB ZIP file for Linux
    2. Extract the ZIP to an easily-accessible location (like the Desktop for example).
    3. Open a Terminal window.
    4. Enter the following command: cd /path/to/extracted/folder/
    5. This will change the directory to where you extracted the ADB files.
    6. So for example:cd /Users/USER/Desktop/platform-tools/
    7. Connect your device to your Linux machine with your USB cable. Change the connection mode to “file transfer (MTP)” mode. This is not always necessary for every device, but it’s recommended so you don’t run into any issues.
    8. Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: adb devices
    9. Back on your smartphone or tablet device, you’ll see a prompt asking you to allow USB debugging. Go ahead and grant it.
    10. Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in the Terminal window output. Congrats! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!
    usbdebugging

    Some Linux users should be aware that there can be an easier way to install ADB on their computer. The guide above will certainly work for you, but those own a Debian or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands. . .

    • Debian-based Linux users can type the following command to install ADB: sudo apt-get install adb
    • Fedora/SUSE-based Linux users can type the following command to install ADB: sudo yum install android-tools