LightBlog

samedi 13 juin 2020

MicroToggles is an open source widget with 30+ toggles for rooted power users

Google introduced Quick Setting tiles in Android Lollipop to allow users to easily toggle certain settings on their devices. However, you still need to pull down the notification shade with one finger at least twice to see the full set of Quick Settings tiles (you only need to pull down once if you use two fingers). Now imagine the freedom to have all those toggles on your home screen in the form of a widget. This is where MicroToggles from XDA Recognized Developer ukanth comes into play.

Widgets have been a staple among Android users for years, and MicroToggles allows them to be more productive by adding more than 30 actionable toggles. Besides typically used toggles such as Wi-Fi, GPS (AKA Location), and Airplane mode, you will now get access to several not-so-used toggles such as Wireless USB Debugging and battery information at your fingertips. Expand the list below to see all the supported toggles.

Supported actions by MicroToggles

  • Wifi optimizer
  • Home Shortcut
  • USB Tether
  • Screen Lock
  • Volume Toggle
  • adbWireless
  • Rotation Lock
  • Wifi
  • Sync
  • Mobile Data
  • Flashlight
  • GPS
  • Bluetooth
  • Brightness
  • Data network Toggle
  • Bluetooth Tether
  • Sync now
  • Airplane Mode
  • Bluetooth Discovery
  • Music Volume
  • Brightness
  • Auto Brightness
  • Brightness Slider
  • Screen Always On
  • Screen timeout
  • Screen auto rotate
  • Screen Light
  • Volume Slider
  • Battery Info
  • Pulse Notification Light
  • Font +/-
  • Shutdown menu
  • Shutdown
  • Restart

The developer is actively working on adding more features as well as new toggles. The app works on Android 10 while being backward compatible all the way back to Android Lollipop. Having root access is suggested to make the most of this highly customizable Android widget as many toggles require root.

microtoggles_widget microtoggles_options

The concept of this app isn’t completely new, though, as the widget itself is based on an app named PowerToggles that used to provide similar functionalities. XDA Junior Member painlessDeath, the creator of PowerToggles, open-sourced the project before discontinuing development which was later picked up by XDA Recognized Developer ukanth to use as the foundation for MicroToggles.

As of now, the app is in the Early Access stage, but you can download it using the link below. The source code is available on a private repository, which the developer has promised to make public after the general availability of the widget.

MicroToggles — XDA Download and Discussion Thread

MicroToggles (Root) (Free, Google Play) →

The post MicroToggles is an open source widget with 30+ toggles for rooted power users appeared first on xda-developers.



from xda-developers https://ift.tt/3hmZmcN
via IFTTT

How to force 90Hz mode in every app on the Realme X2 Pro [Root]

The Realme X2 Pro is unquestionably one of the best-priced flagship-tier smartphones you can get, even in 2020. Powered by the Qualcomm Snapdragon 855+ SoC, the phone offers an impressive quad-camera setup, insanely fast 50W charging, and a high refresh rate 90Hz display. Users have the freedom to choose between the 60Hz and 90Hz refresh rates, but the 90Hz mode is actually limited to only a handful of third-party apps. Our own Tushar Mehta tried out the famous ADB command trick from the OnePlus 7 Pro/7T/7T Pro to unlock the 90Hz mode at all times in all apps, only to find out that it did not work on the Realme X2 Pro. That was obviously going to be the case since the X2 Pro doesn’t run OxygenOS but rather ColorOS/Realme UI.

Realme X2 Pro Forums

The good news is, though, that Realme has a hidden command left in the Realme X2 Pro’s firmware, which can be exploited to unlock a persistent 90Hz mode on this device. XDA Recognized Developer phhusson actually managed to discover the required parameters back in February. You need to fiddle with an Android service called SurfaceFlinger, albeit you have to be rooted to execute the command shown below from ADB shell or a terminal emulator app. This command will need to be executed on every boot.

su -c service call SurfaceFlinger 1035 i32 0

In case you are running a recent version of phhusson’s custom AOSP Project Treble GSI on your Realme X2 Pro, then you can find a “Force FPS” option in the “Misc” settings of phhusson’s Treble settings app which does the same thing mentioned above. You can separately download the relevant app, but it might work under stock Realme UI.

Force 90Hz mode in every app on the Realme X2 Pro — XDA Discussion Thread

If you would specifically like to force a 90Hz refresh rate for just PlayerUnknown’s BattleGrounds (PUBG) Mobile on the Realme X2 Pro, XDA Senior Member rkmadotra has come up with a handy Magisk module. Upon examining the internals, it seems that the module just replaces /system/etc/refresh_rate_config.xml with a modified version of that file that sets the PUBG Mobile package to 90Hz display mode.

PUBG Mobile Global 90Hz Enabler for the Realme X2 Pro — XDA Download and Discussion Thread

Both Realme UI and ColorOS have this particular file on smartphones featuring display panels with a refresh rate higher than 60Hz. The OS checks the packages in this list to decide what refresh rate mode to run the display at. For example, this file does exist on the OPPO Find X2 and Realme X3 SuperZoom, though these two devices can’t run at 90Hz as they only have 60Hz and 120Hz display modes.

The post How to force 90Hz mode in every app on the Realme X2 Pro [Root] appeared first on xda-developers.



from xda-developers https://ift.tt/2XXZl7C
via IFTTT

vendredi 12 juin 2020

Realme releases a flash tool for installing ColorOS/Realme UI updates

Realme might have separated from its parent company OPPO, but both of them are internally using a common foundation when it comes to custom Android skin. Realme UI is so far still a fresh coat of paint on top of OPPO’s ColorOS, and it is definitely not close to stock Android as initially promised by Realme’s CEO. In fact, Realme is still utilizing OPPO’s proprietary OZIP file format to pack their update packages. Not only do you have to brute force these OZIP packages to extract the AES key in order to convert them to regular recovery flashable ZIP files, but you also can’t directly use them to perform a clean flash using the standard Fastboot interface.

The custom development community around Realme devices is expanding rather quickly, primarily because of the low-cost revolution they have brought to the smartphone space. Realme does publish kernel source codes and allows bootloader unlocking, which acts as strong catalysts in the aftermarket development scene. The phones themselves, however, can get bricked for a fair few reasons in the journey of porting a custom ROM or trying out a new mod, and the unavailability of an official flash tool makes everything complicated to restore. The lack of a flash tool basically forces users to visit a service center to carry out a simple job of unbricking, which is not at all appreciated by the community.

But now, after teasing their flash tool for a little over a year, Realme has finally come up with something productive. The initial version of the Realme Flash Tool is now available for download, although the Realme X50 Pro is the only compatible device as of yet. Users can flash OFP packages with this tool, which is different from the OZIP firmware listed on the company’s download portal. The flashing process will completely wipe the target device so you should backup your personal data before playing with the flash tool.

realme_flash_tool

As you can see, the UI of the flashing app is remarkably similar to the Mi Flash Tool developed by Xiaomi. However, Realme Flash Tool isn’t programmed to work with Qualcomm Emergency Download Mode (EDL). It is more of a GUI wrapper for the Fastboot binary, thus you have to unlock the bootloader of the target device before flashing. Realme India CMO Francis Wang promised that the broken fingerprint sensor issue on Realme phones after bootloader unlocking should be resolved with the release of the flash tool, although we can’t verify the veracity of that claim at this moment.

It is worth mentioning that downgrading to a lower Android version isn’t supported by this tool, although you should be able to switch to a lower version of ColorOS or Realme UI if the underlying Android layer remains unchanged. Contrary to what Realme claims, the Windows-only tool isn’t specifically tied to the Indian variant of the Realme X50 Pro. You should be able to flash any Snapdragon or MediaTek-powered Realme phone with this flasher, provided you have your hands on the appropriate OFP package. The company is planning to add more phones from its portfolio to the list of supported devices by releasing required OFP files in the coming future.

Download Realme Flash Tool


Source: Realme Community (1, 2)

The post Realme releases a flash tool for installing ColorOS/Realme UI updates appeared first on xda-developers.



from xda-developers https://ift.tt/2XYMEt7
via IFTTT

How to restore the missing pocket mode toggle in OxygenOS on some OnePlus phones

OxygenOS from OnePlus provides a heavily customized Android experience and a variety of useful features and options. For example, you can find a built-in “Pocket mode” in OxygenOS that prevents accidental touches when the device is kept inside your pocket. However, a toggle to disable this particular option is apparently missing on devices like the OnePlus 7 and the OnePlus 7 Pro after the most recent OxygenOS update.

OnePlus 7 Forums ||| OnePlus 7 Pro Forums

The OnePlus 7 family recently received OxygenOS 10.3.3 (OxygenOS 10.0.6 for the European variants) that bumped the Android security patch level to May 2020 and brought in features like Dolby Atmos support for the new OnePlus Bullets Wireless Z earphones. Open Beta users, on the other hand, got the same security patch level in the form of Open Beta 14 a few days before the stable channel rollout. It might be a coincidence, but the “Pocket mode” toggle under Settings > Utilities seems to be missing right after these updates.

oneplus_6_pocket_mode oneplus_7_pro_no_pocket_mode

Although the toggle is visually absent, the pocket mode detection algorithm is always running in the background. It eventually breaks ambient display-related features like double-tap to wake and pickup to show in low light conditions, because the phone believes that it is still in your pocket. Due to the fact that OnePlus tends to re-use a majority of the UI codebase of OxygenOS across their devices, the glitch may affect non-OnePlus 7 (Pro) phones as well.

Hopefully, there is an easy way out, but you have to be rooted in order to apply the fix. All you need to do is add the following text snippet to the end of /system/etc/feature_list file on your phone (just before the last ]).

,
   {
       "featureName": "OP_FEATURE_ENABLE_POCKETMODE_SWITCH"
   }

Reboot the phone after saving the changes and the “Pocket mode” toggle should now be visible under Settings > Utilities. Note that the default status of the option should be “disabled” after adding the above code, thus you may need to toggle it twice to properly turn off pocket mode detection.


Source: OnePlus Forums

The post How to restore the missing pocket mode toggle in OxygenOS on some OnePlus phones appeared first on xda-developers.



from xda-developers https://ift.tt/3cSwCFm
via IFTTT

This Foldable Bluetooth Keyboard Helps You Stay Productive on the Move

Many phones today are more powerful than laptops were five years ago. The only thing that prevents you from really getting things done on mobile is the touchscreen interface. With the Universal Mini Foldable Wireless Keyboard, you can easily turn your mobile device into a tiny computer. This lightweight accessory works with most phones and tablets, and it even has a built-in touchpad. Right now, you can grab it for just $103.99 at the XDA Developers Depot.

From writing an email to making changes to an important document, typing on a touchscreen can be a frustrating experience. As a result, you may find yourself taking your laptop everywhere. Instead, you could just pack this keyboard. 

When you need to write something, you simply unfold the keyboard and connect your device via Bluetooth. It works with Android, iOS, and Windows, including phones, tablets, computers, and even streaming boxes. The keyboard runs on a rechargeable battery, which lasts for 48 hours of typing and 560 hours on standby. 

Despite the mini layout, the keys are surprisingly comfortable and you should get good accuracy. In addition, the built-in touchpad allows you to navigate with greater precision on large screens. It’s the perfect upgrade for coders, writers, and other remote professionals.

Normally priced at $129, the keyboard is now only $103.99 with this deal.

Prices subject to change

The post This Foldable Bluetooth Keyboard Helps You Stay Productive on the Move appeared first on xda-developers.



from xda-developers https://ift.tt/3cVeKJW
via IFTTT

Fitbit is preparing to bring Google Assistant support to fitness watches

Late last year, Google announced its plans to acquire Fitbit for a reported $2.1 billion. The deal is still pending approval and we haven’t heard anything about it in a while. We still don’t know what the two companies plan to do, but it’s looking like Fitbit may be working on bringing Google Assistant support to its devices.

Currently, Fitbit supports Amazon Alexa on the Versa 2 fitness watch. The device doesn’t have a speaker for answers to be read aloud and there’s no hotword detection. The integration is rudimentary when compared to full-fledged smartwatches, but it’s better than nothing. Fitbit reportedly approached Google about bringing Assistant to the Versa 2, but the company was not super willing to make it happen. Strings found in a recent update to the Fitbit Android app seem to indicate things have changed.

The folks at 9to5Google found a few mentions of “Assistant” in the APK. These strings could easily be in reference to Amazon Alexa, but a few XML files clearly name “google_assistant.” The strings and XML files list basic things like activating Assistant, error messages, on-boarding, etc. The groundwork certainly seems to be in place for support.

<string name=”ga_activate_assistant”>Activate Assistant</string>
<string name=”ga_activate_assistant_general_error”>Unable to process request to activate Assistant</string>
<string name=”ga_deactivation_error”>Error deactivating Assistant</string>
  • res/layout/a_google_assistant_on_boarding.xml
  • res/layout/f_google_assistant_landing.xml
  • res/layout/f_google_assistant_teaser.xml

Further digging into the Fitbit app, there is mention of only using one assistant at a time and being able to switch providers whenever you want. Users will likely get a choice at start-up between Amazon Alexa and Google Assistant, but they’ll be able to switch on a whim. That’s a great option for users who may be invested in either ecosystem.

As mentioned, Alexa support is currently available on the Fitbit Versa 2, which makes it a likely candidate for Google Assistant support. It’s also entirely possible that Fitbit will save it for a new product launch. This is certainly an exciting development for any Fitbit fans in the Google ecosystem.


Source: 9to5Google

The post Fitbit is preparing to bring Google Assistant support to fitness watches appeared first on xda-developers.



from xda-developers https://ift.tt/2zrmQfH
via IFTTT

Google’s Messages app will soon enable Bubble notifications in Android 11

Google introduced the new Bubbles notification API with Android 10 Beta 2 back in April last year. The API was initially offered as an opt-in feature for developers, allowing them to test it in their apps so that the apps were ready when the feature finally rolled out in a future Android release. As expected, the feature was enabled by default in the Android 11 Developer Preview 1, and in the leaked Android 11 beta, the API gained a user-facing setting. Back in December last year, we saw the feature in action on Android 10 in an APK teardown of the Google Messages app. Then, earlier this month, Facebook Messenger’s chat heads feature switched over to the bubbles notification API on Android 11 devices. Now, according to a recent comment on Reddit, the feature will soon be enabled in the Google Messages app on devices running Android 11 beta.

Google Messages Google Messages Google Messages

The comment in question comes from the official Android beta program account on Reddit, which states: “Bubbles for Android Messages will be enabled over the next month. If you’re in the Android Messages Beta, you’ll receive an update starting in the next week or two that enables the new feature…The feature is controlled on the application side, so you will be able to use the feature on 3rd party messaging apps as our partners start enabling it.”

Google Messages Google Messages

Once the update rolls out, you will see a new option called Bubbles in the Google Messages settings with a toggle to turn it on or off. Enabling the feature will make all incoming text messages appear in a bubble. The notification bubbles will appear at the edge of the display with a photo of the contact, the app icon, and a preview of the message. If left untouched, the preview will disappear shortly thereafter and will be replaced by a notification dot. Tapping on the notification bubble will open up the conversation in an overlay, allowing you to quickly reply to the message. To dismiss the bubble, you’ll be able to tap and hold on it and drag it to the ‘x’ icon that appears towards the bottom.


Source: Reddit

Note: The attached screenshots are from an APK teardown of the Google Messages app running on Android 10.

The post Google’s Messages app will soon enable Bubble notifications in Android 11 appeared first on xda-developers.



from xda-developers https://ift.tt/3hmdLpB
via IFTTT