title: Inputting math symbols in Android

text:
# Question
Title: Inputting math symbols in Android
I need to input calculus and trigonometric notations in Android.

How to input math symbols in Android?

# Answer
I know this is an old question, but the answer might help if there are still people looking for what the OP asked. There is MathKeyboard that comes loaded with math symbols from trigonometric symbols to logarithmic, integrals, subscripts, superscripts, etc.

> From square roots to triple integrals, this keyboard helps you in math typing
>
> MathKeyboard it's a keyboard that helps you with symbolic typing, for the ones who struggle to get a decent math text in common apps, this keyboard is fully compatible with all instant message services

When you open the keyboard, click on Menu to select symbols' categories.

The only caveat is that the free version contains ads.
> 2 votes

# Answer
Some replacement Android keyboards on Google Play deal with mathematical characters (I don't need many, so my keyboard is sufficient), and some mathematical apps provide a very broad range. See this Google Play query to see if any are a match to your requirements.
> 1 votes

# Answer
You can do this with your existing gboard. Go to Settings\>language & input\>gboard settings\>languages\>add Greek\>save Hope this helps.
> 1 votes

---
Tags: keyboard, text-input
---


# Question
Title: Samsung - Update to Android 10 Changed Keyboard Layout
I received the Android 10 update for my Samsung phone. Unfortunately, this seems to have updated my keyboard layout by placing an ugly and almost empty bar at the bottom of my screen below the keyboard. There is a button on the left to select a specific keyboard and another on the right to hide the keyboard.

The problem is that I've already got muscle memory to hit the backspace at a specific place on the screen, but the changes have pushed everything upwards which prompts me to hit the new line/submit button instead. The same goes for almost any other key actually, but the former is the most irritating. I am also losing screen estate because of something that I would never use.

I can see an option in Settings -\> General management -\> Language and input -\> On-screen keyboard that is titled "Show keyboard button" and is turned on but the slider is disabled and I can't turn it off.

Also, if it matters, I am using a third-party keyboard (neither the Google one nor the Samsung one). The bar is there regardless of the chosen keyboard though.

Any help on getting rid of the bar would be greatly appreciated.

# Answer
> 1 votes
This is caused by an option for navigation bar with full-screen gestures on Samsung devices with One UI 2.0 (Android 10). The setting can be accessed from **Settings - Display - Navigation bar - Full screen gestures - Show button to hide keyboard**

According to Gadget Hacks - Enable Android 10's New Gestures on Your Samsung Galaxy with One UI 2,

> You can also enable the "Show button to hide keyboard" option so you can switch keyboards at any time when using these new gestures — *the keyboard icon appears in the lower-right of the screen*.
>
> <sup>(Emphasized added)</sup>

Based on OP's observation, looks like this option is enabled by default after updating to Android 10.

---
Tags: samsung, keyboard, android-10
---


title: Application Images

text:
# Question
Title: Application Images
So I am creating this website for an app from Google Play and I am currently trying to find where it's storing the image files on my phone. I've tried to search it with FX file explorer and searched in /data/data and found the app but I'm not sure where to find the images. I know that some apps hide them as another file type so if anyone can help me with trying to get the images, the app is called PC Creator if you would like to try it yourself.

# Answer
> 3 votes
# Images are contained in the app

If the images are not downloaded they are contained in the app respectively it's APK file. You can download the APK file from your device (some file explorers allow to do so) or you can download it from an external source like ApkMirror, ApkPure, ...

Once you have downloaded the APK file you can simply unzip the APK file and then manually browser the directory structure or use your favorite file serach to to identify images and other useful files.

If you want to "dig deeper" (e.g. for extracting some string resources or other resources that are not directly accessible as a file within the APK file) you can decompile the APK using a tool like ApkTool (note Apktool is a Java tool and there requires an installed Java-runtime - JRE):

```
apktool d <path to the exported APK file>

```

You will get a directory containing thousands of files, containing the code, XML resources and images contained in the app.

Alternatively you can use a GUI program like Jadx (also needs Java, there is a version available that has an integrated JRE, hence does not require to download and install a Java run-time).

Using Jadx you can browse the path `Resources/res/drawable*` to view and save a contained image of the app.

# Images are downloaded

If the images are downloaded while the app is running the are usually stored in the private app-data directory in `/data/data/<app packagename>`. For more details on this topic see this question: Where Android apps store data?

To access this directory you need root permissions.

Searching for a specific file on-device especially if the file uses a wrong file extension or a different measure to hide it can be quite tedious. Therefore I would recommend to tar (tar is available on all Android devices by default) the whole directory, export it to a PC and there examine the content:

```
tar cvf /sdcard/app_data.tar /data/data/<app packagename>

```

Afterwards you can download the created tar file via adb (execute the command on your connected PC):

```
adb pull /sdcard/app_data.tar

```

As you are searching for images you may try to directly run `photorec`on the tar file. photorec does not care about file extensions it directly operates on the data, if the image is in a known format and not obfuscated on data level it will be able to find and extract it.

---
Tags: google-play-store, files, images
---


# Question
Title: How to use wifi for a specific app and celluar data for the rest?
I have a wifi rear view camera in my car. That camera creates a WIFI hotspot for my phone to connect with. If I put my car in reverse the app gets notified and switches to the app to show the camera view. But if i'm connected to the hotspot my phones internet doesn't work (duh) because the camera doesn't have any internet access.

I only want wifi for that specific app and my phone should use my 4g data, but I don't know how or if it is even possible.

My phone has android 9 and is rooted. Is this even possible? Because I read that on IOS this works by setting a custom dns (or something)...

# Answer
> 0 votes
You can try to automate the process. The following is accomplished using Automate. There are other apps you can use to get the same results.

1. Create a new flow.
2. On the Apps category (on the drawer), select `App in foreground?`. Set Proceed section to `When changed`. On the package section, select your app. Save it. Connect it to `Flow beginning` block.
3. On the Connectivity category, select `Wi-Fi set state`. Save it. Set it to `On'. Connect its`OK`to the`Yes\` of Step 2.
4. On the Connectivity category, select `Wi-Fi set state`. Save it. Set it to \`Off'.
5. On the Connectivity category, select `Mobile data set state`. Save it. Set it to `On'. Connect it to the`OK`of step 4 and to the`In\` of Step 2.
6. Save the flow by pressing the back button. Give it the necessary privileges. Click on `Start`.

Your flow will look like the image below. When you app is in the foreground, Wi-Fi will be enabled. When your app is the background, Wi-Fi will be disabled and mobile data enabled.

**Disclaimer:** I am just a user of the app.

---
Tags: wi-fi, mobile-data
---


title: Problem rooting Xperia E Dual

text:
# Question
Title: Problem rooting Xperia E Dual
I am following the below post to root my Xperia E Dual.

> How To Root Xperia E! Latest Update! (Locked Bootloader)\*LINKS UPDATED\* NOOB GUIDE!

In step 4 to install Framaroot APK we need to Check the option "Unknown sources" and "Usb dubugging" (in Developer options)

But when I am turning on the Developer option Flashtool is showing an message like below:

```
08/048/2014 01:48:38 - INFO  - Device connected with USB debugging off
08/048/2014 01:48:38 - INFO  - For 2011 devices line, be sure you are not in MTP mode

```

I have tried changing the Usb connection mode but problem is not resolved. Could you please help?

**Some info:**

Operating System Used to flash: Windows 8.1

# Answer
> 0 votes
Have a look for towelroot tr. It might work on your device. It is just an apk you can install and start. It uses a kernel vulnerability. Chances that it works are high if your firmware is older than june.

To your issue: did you enable (usb-)debugging mode? Its in developper options. If you do not see them in your settings, go to AboutDevice and hit build number 5 times quickly. It enables a (secret) menu in your settings where you can enable adb.

On some samsung devices you can change usb mode by typing \*#0808# into your phone apk. Without hitting the call button, a service menu opens up immediately. Perhaps this works for your device too. Did you try to do adb shell or adb devices from your commandline?

New devices now usually ask for an ok on the device screen before you can connect. Disconnect and connect again, watch out for this popup. Did you check the developper menu in settings? There you can also flush the known pc's and their settings. Allowing the popup to sow up again after connecting.

# Answer
> 0 votes
It could be the power of the actual USB ie, a laptop. Try running it on another PC. If nothing else, check cabling.

---
Tags: rooting, usb-debugging, flashtool
---


# Question
Title: Is it possible to have the Auto rotate feature turned on or off by app?
I'm sick of having to turn on auto rotate every time I use Google Maps for navigation. I don't know why it's not just automatically landscape like apps such as Youtube.

Is there a way I can have it turn on auto rotate JUST for google maps and not for any other app.

Is there an app that would do this or somehow program it in Tasker?

# Answer
This solution requires Tasker installed and enabled. Tested on Android 4.2.1, 4.4.2, 5.0.2 and 5.1.1.

1. Create a profile with **Application → Maps**
2. Create an action under **Task** of the above profile as `+` **→ Display → Display AutoRotate** and *Set* it to **On**.
3. Enable Profile and Tasker.

Open Maps and orient your device in landscape mode, Maps will follow you. Close the Maps and device will fall back to Portrait.

Enjoy!

---

### OR

**Edit start: 06/06/2015**

There is a way you can force the system to go into Landscape mode by changing a value in `settings.db`. (Tested on Android 4.2.1, **root required** only under this edit.)

1. Create a profile with **Application → Maps**.
2. Create an action under **Task** of the above profile as `+` **→ Code → Run Shell,** and enter the following details:

* **Command**: `settings put system user_rotation 1`
    * Check **Use Root**.
3. Create another profile with inverse of **Application → Maps**.
4. Create an action under **Task** of the above profile as `+` **→ Code → Run Shell,** and enter the following details:

* **Command**: `settings put system user_rotation 0`
    * Check **Use Root**.
5. Enable both Profiles and Tasker.

The Maps will now automatically go into Landscape mode irrespective of manual orientation of your device. Once you close it the device will come back to Portrait mode. (Note that OP has Auto-rotation feature off so it should work.)

This edit is meant for users like me who on slow devices have to wait for the app to follow their orientation. :)

Enjoy!

### OR

The shortcoming in the last method is that on some devices the app will first open in Portrait mode and then will force shift into Landscape mode. However, the app can be directly launched into Landscape mode by using an app shortcut. Tasker allows it and we'll use it.

1. Go to your default launcher → Widgets and choose **Task Shortcut**.
2. Select **New task** → name it.
3. Create an action as `+` **→ Code → Run Shell,** and enter the following details:

* **Command**: `settings put system user_rotation 1`
    * Check **Use Root**.
4. Create another action as `+`**App → Launch App** → select **Maps**.
5. To change th icon of the shortcut, tap 3x3 square icon (at the bottom of **Task Shortcut** window) and choose the icon.
6. You'll now see a shortcut with icon you selected in step 4 and name chosen in step 2.
7. Create a profile in Tasker with inverse of **Application → Maps**.
8. Create an action under **Task** of the above profile as `+` **→ Code → Run Shell,** and enter the following details:

* **Command**: `settings put system user_rotation 0`
    * Check **Use Root**.
9. Enable both Profiles and Tasker.

Now enjoy the forced auto-mode!

**Edit closed: 06/06/2015**

---

# For folks who're new to Tasker

1. Launch Tasker. (Note that once you're done changing something in Tasker, tap Back key once. Tasker will change/close the active window and would save the settings.)
2. Under **PROFILES** tab tap `+`**Application** → choose **Maps****New Task**→ name it something and tap right icon.

Some Android versions might ask you to enable Tasker's accessibility service. Do it by following the instructions there and come back to Tasker.

This step would create a profile that will be triggered whenever Maps is launched by the user.
3. We're now under the named task (inside TASKS tab). Tap `+`**Display → Display AutoRotate** → choose `On` below **Set**.

We're creating an action here which will be executed once the profile is triggered.
4. Come back to main screen of the Tasker and you'll see a profile with Maps app name and marked as **On**.
5. Minimize the Tasker and you'll see its icon in the Notification bar. It will say `No active profile`. The message will change once you launch Maps.
6. Well, launch Maps and see the magic. You orient your device and Maps will do the same. You close the Maps and device will come back to Portrait Mode.
7. You can always stop this behavior by disabling or deleting the profile in Tasker. You can also hide Tasker's notification icon through its settings.

Enjoy Maps now!
> 22 votes

# Answer
If you are rooted (and probably not using lollipop), then you can also use xposed module App Settings.

Open the module, search and open Maps and go to **Orientation** section and select "auto-rotate". This will force it to auto-rotate.
> 5 votes

# Answer
You can use an app called Set Orientation by "Eyes-Free Project". It dose not require root and can force any app to rotate to any orientation and also only landscape and landscape reverse based on sensor. Its lightweight and also free. It is available in Google Play Store.

Edit: Use Rotation - Orientation Manager instead by "Pranav Pandey". It is fully compatable with Lollipop, is free and does not require root. This app also has per app settings which the previous app did not have.
> 3 votes

# Answer
In addition to Firelord's Tasker solution (which I favor over all the others mentioned in this post – but *Tasker* is a) not free and b) often a bit overwhelming for newbies especially) and Jaskaranbir's App Settings (like *Tasker*, *Xposed* is often a bit too much for some), there's a third option available, called **PerApp**. Admitted, it has not been updated for a while, but it might be easier to use. Before JellyBean (\<4.1), it doesn't even require root to adjust screen rotation. Has several other settings covered as well, so you might wish to give it a look.
> 3 votes

# Answer
Most automation apps can probably do this. Here's a "Flow" for Automate (free): http://llamalab.com/automate/community/flows/408
> 2 votes

# Answer
MacroDroid's free version can also do the job, though I still prefer the solution using Tasker.

1. Install and launch **MacroDroid**.
2. Tap **Add Macro → Application Launcher/Closed → Application Launched → OK** → select your app(s) for auto-rotate → **OK**.
3. Under **Add Actions**, tap **Auto Rotate On/Off → Auto Rotate On****OK** → proceed.
4. Ignore **Add Constraints** → proceed and name the macro as `Auto Rotate On`.
5. Create another macro using **Add Macro → Application Launcher/Closed → Application Closed → OK** → select your app(s) which you chose in step 2 → **OK**.
6. Under **Add Actions**, tap **Auto Rotate On/Off → Auto Rotate Off → OK** → proceed.
7. Ignore **Add Constraints** → proceed and name the macro as `Auto Rotate Off`.

That's it. The funtionality is achieved and you can test it by launching and closing the app(s) you selected in aforesaid steps.
> 1 votes

# Answer
AutomateIt's free version also does the job.

1. Install and launch **AutomateIt.**
2. Under **My Rules** block, tap **Add Rule → Applications Status Trigger** → under **Application** tap the lens icons and choose your app(s) → **Next**.
3. Under **Action** tab, tap **Enable/Disable Screen Rotation → Enable Screen Rotation → Next → No →** save the rule.
4. Create another rule from **My Rules** block by tapping **Add Rule → Applications Status Trigger →** under **Application** tap the lens icons and choose your app(s) → uncheck **Application Activated****Next**.
5. Under **Action** tab, tap **Enable/Disable Screen Rotation → Disable Screen Rotation → No →** save the rule.

That's it. The funtionality is achieved and you can test it by launching and closing the app(s) you selected in aforesaid steps.
> 1 votes

# Answer
And Tasker even allows you to add conditional's such as if my display is such do this else do whatever. So based on that I came up with my own solution which may seem a bit convoluted but it works for me. Since my device is not rooted the shell code commands that require root would not work anyway.

However with a if else loop (it could be reduced further since I had added some additional debugging code initially) you can simply set AutoRotate based on the value of Orientation. So you store those two values in two variables called **ROTATE** and **DISPLAY** and at the start of the if loop you check DISPLAY using a regular expression (I had to do that because for whatever reason the orientation value kept jumping between landscape and landscape-reverse so this regex takes care of both):

**%DISPLAY ~R landscape(.\*)?**

If that is your desired setting then in that if or else loop you can set **AutoRotate** to **Off**. In addition I also installed a Tasker plugin called AutoInput which allows me to lock down the home and back buttons, to exit I can press the other button which brings up all my open windows and simply close the Adobe Acrobat app which is the trigger for this task.

So a big Yay!! for Tasker. And yes I know I am a bit late to the party but oh well :)
> 1 votes

# Answer
For those who are looking for a solution in newest phones, e.g Samsung Galaxy that has Bixby Routines, you can set up a Bixby routine to auto rotate certain apps.

If

* Youtube
* Gallery
* etc

Then

* Auto-rotate ON
> 1 votes

---
Tags: auto-rotation
---


title: Tethering internet over WiFi

text:
# Question
Title: Tethering internet over WiFi
Consider I am using a WiFi hotspot (authenticated with password) for internet on my mobile. Is it possible to tether the connection to another device via any WiFi, USB, or Bluetooth?

Let me be clear for example I have a **WiFi** modem through which I **can access the internet** on my phone, now my question is now whether I can tether my mobile **WiFi/USB/Bluetooth** so that I can provide **connection to another people**. (here internet source is WiFi modem)

Is there an option? Also, whenever I enable WiFi portability, the current connection gets disconnected.

# Answer
> 0 votes
Yes, you can share your phone's WiFi connection which is connected via any WiFi source to more phones, tablets, and computers using Bluetooth so other devices can access the internet. Here's how to share your Android phone's WiFi connection over Bluetooth.

http://www.androidpit.com/share-wifi-over-bluetooth

# Answer
> 0 votes
The tethering option or hotspot is available only if you are connected to a mobile data/carrier network. If you are already connected to WiFi, enabling hotspot on your phone will disconnect you from the WiFi. This is a limitation in all Android phones.

# Answer
> 0 votes
From the picture I understand that you want to make a **repeater** with your phone? Is that correct?

1. The phone must be have ROOT access.
2. Install the application (**fqrouter2-2-12-7-multi-android.apk**) or (**fqrouter-2.11.5.apk**)
3. Make the settings and enjoy ...

Good luck

# Answer
> 0 votes
There are few devices that can work as a WiFi bridge, i.e can use WiFi and share the internet of that WiFi through a hotspot simultaneously. Redmi Note 5 Pro is an example of it. You can share the WiFi through USB tethering.

---
Tags: tethering, wifi-tethering
---


# Question
Title: ADB over wifi goes away after unplugging usb
connect the usb to your phone open the cmd and type:

```
adb devices
Huawie Mate 8                   device

```

and it gives something like this. This is the device connected over usb.Now type

```
adb tcpip 5555
adb connect 192.168.43.1:5555

```

type adb devices again adb devices Huawie Mate 8 device 192.168.43.1:5555 device and it works perfectly.

The problem is: as soon as the usb is plugged out. and after typing: adb devices List of attached devices

and the list is empty try:

```
adb connect 192.168.43.1

unable to connect to 192.168.43.1:5555 cannot connect to `192.168.43.1:5555 : No connection could be made because the target machine actively refused it.(10061)`

```

I dont know what to do tried revoke usb from developer settings.

# Answer
I am not sure it may be this the case, or it may be helpful, but I got the same message, and it worked if I enable adb via WiFi with the command 'adb tcpip 5555' (from the PC) when the PC is connected to the phone hotspot but the phone is NOT connected to the internet (i.e., 3G is deactivated). In short, I did the following:

1. Plug the device via USB
2. Restart the phone
3. Disable phone data
4. Enable phone hotspot
5. (adb usb)
6. adb tcpip 5555
7. Unplug the device
8. adb connect 192.168.43.1:5555

After that, I reactivated 3G on the phone, and I had both the internet hotspot and the adb connection, at the same time.
> 1 votes

# Answer
Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.
> 0 votes

---
Tags: wi-fi, adb
---


# Question
Title: I got a new bluetooth headphones and I have a delay. is there a solution?
Today I got some new Bluetooth headphones (i900000 max - Airpods Pro replica) and I know what you'll say - "You got a replica of Airpods, what did you expect?", but hey, I read a review before I bought them and people said that there is no delay, but I have a little delay when watching videos.. I'm using an Android phone (Samsung Galaxy A8 2018) and the only codec that the headphones support is `SBC`. Is there something I can do to fix the delay?

Thanks.

# Answer
There's nothing you can do. That's how those headphones are designed to work.
> 0 votes

---
Tags: wi-fi, bluetooth, headphones
---


# Question
Title: Take multiple pictures instead of making a video (Samsung Galaxy S10e)
I have a Samsung Galaxy S10e (Android 10) and I can't take pictures fast after each other when I holding down the shutter button. It will always take a video.

In the begin, it was well possible to do it with my smartphone. I can't find a setting to enable it. Is that option removed?

**Update:** I can only find a setting for `Swipe shutter button to edge to`.

# Answer
> 1 votes
In the camera settings, look for `Hold Shutter button to`. You should see 3 options: Take a picture, Take the burst shot and Create GIF. Select Take the burst shot.

This article explains the difference between the 3 options.

> * Take a picture. Essentially, it is identical to the single tap gesture.
> * Take the burst shot. You are using the Galaxy S10 burst mode. All photos taken in the burst mode will be always saved in the phone storage even you set the storage as the SD card.
> * Create GIF. Galaxy S10 camera will take a series of photos and saved them as one GIF animation file. Please note, the resolution of the GIF animation is 480\*640 (VGA) only. You do not have the option to change the resolution for the GIF.

---
Tags: camera, android-10, samsung-galaxy-s-10
---


title: Force display cursor/pointer on Android

text:
# Question
Title: Force display cursor/pointer on Android
I bought a graphics tablet (Huion HS64) that works wonderfully with my S10. Only problem is that I can't see where I'm about to tap due to no cursor display. Is there any way I could force the mouse pointer to always be on or have my phone recognize the tablet as a mouse?

I could try and connect both a mouse and the tablet with a USB hub, but I'd rather a coding solution. My phone isn't rooted, but I'm not opposed to rooting to solve the problem. Thank you in advance!

# Answer
> 3 votes
I discover this method to show the cursor on Samsung A6+ (2018) using the Huion Pen Tablet HS64. It is not an "arrow-type cursor" but a "small-circle cursor" similar to the Samsung Note series with S pen.

1. Go to **Settings**
2. Open **About phone**
3. Under **Looking for something else?**, tap **Reset**. (If you do not see the reset, go to **General Management** and then tap **Reset**)
4. Tap **Reset setting** (just go through to make your settings can be reset)
5. Reboot the phone
6. Just do the 1st, 2nd, and 3rd steps, and then tap the **Reset Accessibility Settings** (just go through to make your accessibility settings can be reset)
7. Reboot the phone
8. Plug an OTG with a USB cord to the phone
9. Plug the USB cord to the Huion Tablet
10. The cursor will appear on the screen as a small circle

This is the method I used to my Samsung A6 plus 2018 and it worked perfectly. Now I can use my Huion Pen Tablet for my Digital Arts.

Note: I can't tell you guys if your Samsung phone can be work. I just want you to share this method. But I really hope can be work on your phone too. Please tell me if it works for you.

# Answer
> 0 votes
Try turning on developer options(if you don't know how, you go into settings, about phone, software information, and tap on the build number a few times), and scrolling down in developer options to the one that says "pointer location". Tell me if it works.

---
Tags: usb, usb-on-the-go, drawing, samsung-galaxy-s-10
---


title: Widgets not updating anymore

text:
# Question
Title: Widgets not updating anymore
Since a couple of days/weeks, I noticed that my widgets aren't updating anymore on my home screens of my Nexus 6 (Android 6.0.1). It's not related to a single widget, it's all of them. I haven't found a single one that updates at the moment. I have several widgets that should update regularly: chats, weather, Google Fit, call logs etc; and none of them is updating.

When I reboot my phone, it updates the widgets one time, and that's that. Afterwards no more updates.

For example, I have the widget for Google Fit on my home screen, and it is still showing the status from a couple of days ago; when I rebooted my phone.

I tried the Android N beta some time ago (I can't remember if the widgets updated then though). But because there were some problems with applications I use daily, I reverted back to my old Android 6.0.1 build. This revert includes a factory reset. So I tried the factory reset solution. But I'm guessing the Android N beta has nothing to do with my problem?

Are there some things I can try? Are there some settings that I could have executed that froze my widgets? Maybe something with battery optimizations or something?

I don't have to mention to you that widgets that aren't updating are very annoying.

As I already mentioned, I'm using a Motorola Nexus 6 with stock Android 6.0.1 on it. I have all the latest version of the Android version for my phone, and have installed all security patches. Including the July security patch from a couple of days ago.

Update: I'm using the stock Android launcher. I don't have any special applications running that should customize my battery behaviour (like Greenify).

# Answer
Possible solutions you could try if you have the same problem as me (as mentioned by rajatpunkstaa; I just repeat them to be complete but give a vote up there too):

* Make sure any battery saving apps are disabled. Or at least aren't interfering with the widgets;
* Try to clear the data of the launcher. Best is to delete both cache and app data.

But in the end, this didn't work for me. So I got into the Android widget documentation to find out what made the widgets tick. Or in my case, why they didn't tick. So I found out, that one widget can actually block the updating of the other widgets. Not on purpose, but by accident.

So by adding every widget seperately, with a lot of time in between, I could notice that the problem occurred after a while. The time in between was rather important, because if I did it immediately there was no problem. But after a time the widget would probably crash or something (not visible though), and other widgets stopped too.

So the best solution for me was:

* Remove all widgets;
* Add about one widget a day (giving the faulty widget time to crash);
* As soon as you see the widgets misbehaving, you know the culprit widget; probably the one you last added.

Some tips on this solution:

* Best to take a widget that updates regularly as the first widget. So you have an idea when something goes wrong really soon;
* For some reason the stock clock widget keeps working, even though the other widgets stopped working. So probably that widget uses a different updating mechanism or something.
> 4 votes

# Answer
Here's how I tried a solution on huawei cam L21 based on the answers above, and it worked.

Settings -\> apps -\> app\_of\_widget -\> battery -\> keep running after screen off...
> 5 votes

# Answer
This happened to me quite time ago. Make sure you're not using Greenify or some other app to hibernate your apps. If you hibernate those apps then they won't be able to update because they are not running in the background

Clear the cache and the data for the widget apps in the settings and also for the launcher you're using. Set them up again and they will work just fine. Hope this helps !!
> 3 votes

# Answer
For me solution that worked is going to settings-\>Device-\>Battery and turned off Standby intelligent power saving.
> 2 votes

# Answer
For me following worked under Android 9: Settings -\> Smart Assistant -\>Appblocker (which is enabled) -\> selecting the app: disabling following options: 1. Boot blocker 2. Start blocker 3. Background cleanup
> 1 votes

---
Tags: 6.0-marshmallow, app-widgets
---


# Question
Title: Remove Samsung Tab S3 SetupWizard Message 'Activation Incomplete' for Verizon service
I just purchased a used Samsung Tab S3 which comes with Verizon network capabilities. I don't want to use cell capabilities, just Wifi.

After setup, on the lock screen and in the notification center is a message from "Setup Wizard" that says "Activation Incomplete" and to call Verizon support to activate the device (which I don't want to do).

Is there a way to remove this message without calling Verizon?

# Answer
> 1 votes
Here's an incomplete solution, since the notification itself says "These notifications can't be turned off":

1. Touch and hold on the notification in the notifications dropdown
2. Tap "Details"
3. When "System UI" opens under "App notifications" in Settings, it will briefly flash the "Ongoing" section
4. Tap the "Ongoing" section
5. Tap "Notification Style"
6. Tap "Silent and minimized"
7. Tap "App icon badges" to turn the switch off

This makes the notification much smaller in the notification dropdown, and doesn't show the icon in the notification bar

This works as of 2020-04-24 13:20 CDT on Android 9

---
Tags: samsung, samsung-galaxy-tab, verizon, activation, samsung-galaxy-tab-s-3
---


title: Get media playback time using ADB

text:
# Question
Title: Get media playback time using ADB
I working with C# script to control android device media. I have been able to check and set volume as well as send commands to pause, play, skip, etc for media apps like Spotify or YouTube

One thing I have not been able to figure out however is how to get the current time of the media. For example, if Spotify is playing a two-minute song, and it is currently at 1:16, I'd like to get that information. So far, I have not been able to find documentation on how to do this.

Is there a way to get the current time of media that's playing. In addition, is there a way to get the total time of the media?

Thank you

# Answer
> 3 votes
Issue this command:

```
adb shell dumpsys media_session | grep "state=PlaybackState"      # assuming that only one media player or alike app is playing audio, such as Spotify.

```

Demo output:

```
state=PlaybackState {state=2, **position=44912**, buffered position=0, speed=0.0, updated=14800717, actions=142132, custom actions=[], active item id=-1, error=null}

```

The highlighted `position` shows the position of the playing media in milliseconds.

**Issues**:

1) The *position* does not reflect real-time media position, and it **gets updated** in these conditions (based on my observation) only:

* when the media is played from fresh or from paused state
* when the media is paused
* when the media's position is changed manually by the user (such as, by dragging the position slider)

2) There is no maximum media position available, so this is all you get.

---

You can try briefly pausing and then playing the media using adb command to update the *position* to reflect that in the script. It would be disruptive, but would work.

*Tip:* you can get meta information, mostly the *description*, of the playing media from the output of `adb shell dumpsys media_session` too.

---
Tags: adb, media-player
---


# Question
Title: Is it possible to reset the compass calibration to factory settings?
My Samsung Galaxy S6 indicates constantly the wrong direction in Maps, compass apps, etc. as it shows the North always towards the left side of the phone. (This might be a long-term effect of the magnetic phone case.) Compass calibration is reported as "very good" and re-calibrating the compass by moving the phone in a 8-figure pattern doesn't have any effect.

Is it possible to somehow reset the compass calibration to factory settings?

# Answer
Thankfully, it looks like removing the phone from the magnetic case and re-calibrating it fixed the issue.

I've thrown the magnetic case on the bottom of a closet and I'm never using it again.
> 0 votes

# Answer
I also had another problem, if I tried to pay with NFC it sometimes gave me errors.

I have removed the two magnets by making an incision with a cutter, in the back and front cover, so that I can still use the cover.

Samsung A8 2018 user.
> 0 votes

---
Tags: samsung-galaxy-s-6, compass, calibration
---


title: Will a magnetic case affect my phone?

text:
# Question
Title: Will a magnetic case affect my phone?
sorry if the question is a bit off-topic but any help would be much appreciated.

I have a Samsung S4 \[I9505\] and I was looking for a good protective case for it. initially I was going for a Slim TPU Gel case but it didn't feel like it would give much protection from bumps etc.

I was thinking of buying a leather case with a magnetic closure but after reading a bit online, people are saying the magnetic flap which closes the case can damage the AMOLED screen, also the magnet that sits on the screen side. So do you think it could be risky to use this case? Would it damage my phone or screen in any way?

# Answer
There are two things to consider:

1. Temporary interference with the device operation. Magnets can and do affect the device in various ways. This includes messing with the digitizer, creating dead spots and distortion, and potentially affecting sensors such as the magnetometer. These effects are temporary, but in severe cases could make the device hard to use, or result in misinformation from apps dependent on affected sensor(s).
2. Permanent damage. There seems to be a lot of controversy around this, but I would still recommend caution unless you know for sure that the specific components in your phone when combined with specific magnet strength and location with respect to the screen, are known to be OK together. As I understand it, there are certain AMOLED screens in older devices that are susceptible, but others that are not. In a large production run device like yours, the OEM may have used different suppliers over time, so it might be difficult to find out before hand if your particular device is susceptible. The specific case you get also matters. If you get a cheapo one from eBay and it damages your screen, you'll have little recourse with the case supplier or Samsung.

If you really need/want a magnetic closure, I would see if you can find one from a reputable manufacturer that has made the case specifically for your device.
> 3 votes

# Answer
I bought a magnetic flip case for my phone, and two major things happened:

1) after a brief period of working beautifully, the phone became more electronegative in some way, and I had to brush off any metallic objects such as pen caps or cetain keys whenever removing it from my backpack; and

2) at this juncture, the GPS ceased to be able to tell where the phone was. For a while, it still functioned (but only if the magnetic case was on the phone.) At this point, the phone was magnetic enough to cling quite firmly to the outside of my car, so I got rid of the case, and that's where we are with it. Recommended for anyone longing for a way to undermine any remote snooping on the cheap. Otherwise, no.
> 2 votes

# Answer
One experience-based data point: my boss has an S4 Mini in a magnetic closure case (with the small data window that depends on the phone detecting when the case is open or closed to display a compact clock when closed), and has had it for at least a couple years. He uses the phone a lot, so I'm pretty sure I'd have heard if there was a problem.

No way to be certain that goes for all S4 family phones, but at least some are okay.
> 1 votes

# Answer
I have a Samsung galaxy android phone that was originally housed in a mechanically latched case. The latch broke and I bought a magnetic latched case. The phone did not work correctly, as if there was random noise generator turning on and off the APS and slowing down/delaying APS.

I tried to get rid of what I thought were corrupted APS, but achieved no change. Then after awhile and reading articles pro and con about the effects of a magnetic latched case I left the phone out of the magnetically latched cases.

Walla, the phone went back to working correctly after restarting. So if you are having these problems dispose of the magnetic latched case and see what happens?
> 1 votes

# Answer
I have a Samsung Galaxy S6 with a Shieldon leather case (an excellent case in all other ways) that has a magnetic closure. From the phone sensors readings, when the phone is removed from the case the magnetic field drops from 250 µT to 40 µT. The compass is constantly wrong, as it indicates the North always towards the left side of the phone, although compass calibration is reported as "very good". Recalibrating the compass or removing the phone from the case doesn't have any effect.

EDIT: I manage to fix the problem by removing the phone from the case and recalibrating it. Related question: Is it possible to reset the compass calibration to factory settings?

Also, I remember that the magnetic case of the i-mate K-Jam (a PocketPC phone sold during the 2000s) caused the screen orientation to "stick" for a few seconds.

Apart from this, I've never experienced or heard about any ill-effect of the magnets to the screen. However, it causes the issues above reported, so for what concerns me my next case isn't going to have any magnets.
> 0 votes

# Answer
There are flip covers without magnets (mechanically latched - also you can remove that if you don't need something to keep it closed).

I have a magnetic one, I had another problem, if I tried to pay with NFC it sometimes gave me errors. I removed the two magnets by making an incision with a cutter, in the back and front cover, so that I can still use it for some time.

Samsung A8 2018 user.
> 0 votes

---
Tags: samsung-galaxy-s-4, screen-protector
---


# Question
Title: How to fully back up a phone's content to a PC, possibly for restoring on a similar phone
I have an LG X-charge phone whose screen is broken, but still functional. I purchased a replacement screen module, but before going ahead on the "open heart surgery", I want to fully back it up. I have another X-charge which is not in use.

I'd like to make a backup on my PC and restore it to the fixed phone, if necessary, or the new phone, if the first one dies.

Can I transfer *all* of the content of the broken phone to the other one? By "all" I mean all media files, messages history, call history, applications, etc. IOW, make a full, restoreable, copy (to whatever extent possible) of the broken phone.

Also, it will be great to be able to access data from the backup (images, messages) on my PC.

Oh, yeah - and preferably, this should be a free solution.

# Answer
> 3 votes
LG provides different Software (or maybe just different names)
\- LG-Bridge
\- LG PC Suite
\- LG Mobile Switch
\- LG ANDROID BACKUP

For experts also there is LGUP flash tool which may shipped with qualcomm factory loader, with this you may able to create/restore full partition dump, root the device without data loss, or install TWRP via EDL mode

---
Tags: backup, restore, broken-screen
---


# Question
Title: Strange problem with proximity sensor on Nexus 5X
A few days ago I started experiencing a strange problem with my proximity sensor. When I answer a call and put the phone to my ear, the screen goes blank. When the call ends, the screen stays black. This (as I've discovered) happens to quite a few people.

I started checking with aida64 app. When the app starts, it reports proximity sensor value of 5cm. When I cover the sensor, the value goes to 0. Then I uncover the sensor - and the value stays at 0. I switch from aida64 to any other app and back to aida64 - and the value goes back to 5cm. Alternatively, I can switch the screen off, then on again - and the value will go back to 5cm. Basically, it looks like once the value is down to 0, it won't reset for the currently running activity/app - yet it does reset when the activity is deactivated and then reactivated.

I tried booting in safe mode - same results.

Any ideas about trying to solve this?

The phone is Nexus 5X with PureNexus 7.1.2 ROM and Magisk. Come to think of it, it may have started when I updated magisk a few days ago, but maybe not. Any suggestions on rolling magisk back a couple of versions would also be useful.

*EDIT:* I uninstalled magisk altogether and the problem persists, so it can't be magisk related.

# Answer
> 0 votes
Answering my own question. As I didn't have much to loose, I opened the phone up and found HUGE amounts of dust inside, including around the proximity sensor. The whole sensor was just clogged with dust. I took out all the tiny parts, gaskets, etc., carefully cleaned everything with a soft brush and re-assembled the phone. Voila! Everything works correctly now.

I suspect the dust was getting in the way of the light in the proximity sensor - but it wasn't fully closed due to the dust moving around there.

---
Tags: nexus-5x, proximity-sensor
---


# Question
Title: Android OnePlus 3T stuck on boot logo, how can i recover data?
My OnePlus 3T recently got a bootloop issue (stuck on boot logo).

Bootloader locked, stock ROM and unrooted device.

How can I recover my data?

I've already tried wipe data and reset system setting from recovery mode on my phone.

I have a pc with Windows os and another with Ubuntu os, if this can help.

On Windows i can see "Qualcomm HS-USB QDLoader 9008 (COM3)" on "PORT(com and lpt)" menu under "Device Manager".

I read many forums, but i find only this 2 solutions, that doesn't work for me:

1- Use an app on Windows called Android Data Recovery, but to use that i need to have USBDebugging setted on and i think i don't have. To do that you need your phone on and setting developer option enabled but i can't because stuck on boot logo.

2- Install a custom recovery to get data from phone storage. To get a custome revovery you have to unlock bootloader but i can't because to unlock bootloader i need to erase my memory.

My priority is get data from phone, if anyone can help or have any suggestion is really appriciated.

Ps: I find a way to connect phone and pc on Windows with USB cable. Using from Windows terminal the command ADB devices, it returns that my phone on "sideload" mode. I read there is a command "abd sideload file.zip" that flash your rom with file.zip, but i don't understand if this operation delete your data.

# Answer
there is a 3rd way for locked bootloader without erasing userdata, but it all depends on the qualcomm factory loader firehose programmer which is special for each model

these are expert tools for EDL mode to dump partitions or install TWRP from where you should be able to decrypt

https://github.com/alephsecurity/firehorse

https://github.com/bkerler/edl

but i can't guide you i have no experience
> 0 votes

---
Tags: adb, recovery-mode, boot-loop, bootloader-lock, side-loading
---


# Question
Title: Cannot flash Qualcomm with Stock Image (Lenovo Tab M10 TB-X605L LTE, Android 8 Oreo)
# Background

I’ve bought a brand new Lenovo Tab M10 TB-X605L LTE. It’s for my grandma, so that she can video-call her great-grandchildren during the Corona crises, and I learned that I require to have Android 8 Oreo on it, as Teamviewer Host has to run on it and start automatically (my grandma is almost 90 years and she can operate a toaster, but not a tablet). Unfortunately, I’ve upgraded to Android 9 Pie, which by design doesn’t support Teamviewer host.

# Problem

I need to get back to Android 8 Oreo, but I almost bricked my Lenovo Tab M10 by trying to do so. I’ve already spent a few days and read/tried tons of instructions/suggestions/forum discussions, and I’m completely stuck. I would really enjoy some help or the decisive tip – and especially my grandmother would really enjoy seeing her four great-grandchildren after three weeks of quarantine.

# Log files

indicate that the Qualcomm chip doesn't accept the download

```
LSMA: [LMSA_Recovery] Shell Resp: Status=status_flash_download_failed
QFIL: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.

```

# This works

* I managed to get a M10 TB-X605L stock ROM Android 8 Oreo: https://www.techswizz.com/lenovo-tab-tb-x605l-stock-rom-firmware-flash-file/
* XML files contained: rawprogram\_unsparse.xml, patch0.xml, rawprogram0.xml.bak,
* I can reboot to fastflash mode (reboot and hold Volume-Down), and I can use ADB and Fastboot.
* I can install TWRP recovery mode (by flashing recovery.img) and start/use TWRP (reboot and hold Volume-Up+Down).
* I I’ve unlocked the bootloader.
* I have installed the Qualcomm\_USB\_Driver\_v1.0 and the tablet gets a COM port (can be seen in Device Manager).

# This doesn’t work

## General

* I cannot boot in normal mode (device stops or constantly reboots when I try).
* I managed to install Magisk (in TWRP), but the devices still can’t boot in normal mode afterwards, so I cannot start Magisk.

## Lenovo Moto Smart Assistant (LSMA)

* I can start it, download the stock image. When I try to flash the device, the progress bar jumps to 33% immediately, and after a few seconds a “FAIL” button appears without any further information. Fastboot
* I can flash boot.img and recovery.img, but system.img is splitted in system\_1.img, system\_2.img, etc., and when I connect these files with packsparseimg.exe, the resulting system.img seems to be invalid (devices doesn’t start).

## QFIL

* I can see the devices on the COM Port. I can load rawprogram\_unsparse.xml and patch0.xml.
* When the device comes online, I try to hit Download immediately, and I either get the following error:
* ERROR: function: sahara\_rx\_data:237 Unable to read packet header. Only read 0 bytes.
* ERROR: function: sahara\_main:924 Sahara protocol error
* ERROR: function: main:303 Uploading Image using Sahara protocol failed
* Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
* or it says the device is not in EDL mode (which is easy to fix by booting in EDL mode from TWRP, but then the sahara error comes up).

## QPST

* I can connect the phone via QPST Configuration (COM3, Q/QCPP-XXX (Sarah Download), USB)-
* When I open the “eMMC Software Download app”, I can open the Sahara XML file rawprogram\_unsparse.xml – I hope, that’s the right one.
* When I “Load XML def…”, I don’t know which xml file to open:
* rawprogram\_unsparse.xml and rawprogram0.xml.bak show an error “Document error on element type ‘raw program’ and name/value ‘true’”.
* Patch0.xml shows no error, but I think it’s the wrong file for “Load XML def”.
* Dowloading with “Patch0.xml” leads to an error “Timeout waiting for device” QcomDLoader.exe (1.3.2.0)
* I can load the stock image directory (by pressing the appropriate "Load" button), and set the settings (eMMC programmer: prog\_emmc\_firehose\_8953\_lite.mbn, Raw program: rawprogram\_unsparse.xml, patch0: patch0.xml).
* When I press ‘Start’ the Step/Status “Sahara/Flashing” appears for 5 seconds, followed by messages “failed.

Any help or suggestion is highly appreciated.

# Answer
> 7 votes
# Solution (for flashing Qualcomm based Android devices)

This seems to be an easy, fast and reproducable solution for **flashing Qualcomm based Android devices** (tablets, mobile phones), so it should not be limited to my device type. You should espacially read on if you have troubles with flashing an Qualcomm based Android device with tools like QcomDloader, QFIL, eMMC Software Download.

As I had troubles on Windows, so I switched to Linux, and it worked like a charm. The point is that Windows under certain circumstances seems to block some port communication.

# tl;dr

Instead of Windows, use a Linux system with the Qualcomm USB flashing tool to flash your device.

# Requirements

You will need

* a stock image from the manufacturer (or any other image you like) for **your device**; I've found mine here
* a Linux based system (eg. a Raspberry PI with Rasbian installed)
* Required Tool: ADB and Fastboot (download and installation instruction below)
* Required Tool: Qualcomm USB flashing tool for Linux by ndechesne, tonyMakkiel and ric96 (can be downloaded here)
* Recommended tool: TWRP
* your device, a free USB port and an appropriate USB cable (no special flashing cable required).

Furthermore, it could be possible that you have to be able to unlock your the bootloader if your device. I'm not sure about that, as I had unlocked my tablet before I found the working solution.

# Step-by-step approach

## Backup your device

Make a complete and reliable backup of your android device first.

## Write down your serial number

My had device lost its serial number after flashing. I don't know if this has any further impact - I didn't recognize on. Maybe you should take a note of your serial number before flashing your device.

## Unzip your image file

You need to unzip the image file. You should get many files, including

* a \*.mbn file (mine was \`prog\_emmc\_firehose\_8953\_ddr.mbn\`)
* a \*.xml file that contains information on how the image is the be assembled - mine was \`rawprogram\_unsparse.xml\`)
* a \*.xml file that contains information on how the image has to be patched - mine was \`patch0.xml\`)

All of this files have the suit the chip type of your Android device - I highly recommend not trying this with files that were compiled for other chips.

## Preparation on your Linux device

I've setup up my Raspberry PI 3B+ from scratch with Raspbian.

Install ADB and Fastboot on it:
`sudo apt-get install android-tools-adb android-tools-fastboot`

Download Qualcomm USB flashing tool for Linux:
`git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git`

Change to the new qdl directory
`cd qdl`

and compile the software:
`make`

Return to the previous directory:
`cd ..`

Stop the Modem Manager (I've found this in one instruction - didn't do anything as I hadn't had it installed)
`sudo systemctl stop ModemManager`

## Get ready to reboot your device in EDL mode

### Option 1: You can still access your Android system

Connect your Android devices to your Linux system using the USB cable.

Start your Android device normally. Enable the developer options:

* Open the Settings screen, scroll down to the bottom, and tap About phone or About tablet.
* Scroll down to the bottom of the About screen and find the Build number.
* Tap the Build number field seven times to enable Developer Options. Tap a few times and you'll see a toast notification with a countdown that reads "You are now X steps way from being a developer."
* When you're done, you'll see the message "You are now a developer!"
* Tap the Back button and you'll see the Developer options menu just above the "About Phone" section in Settings.
* To enable USB Debugging, you’ll need to jump into the Developer options menu, scroll down to the Debugging section, and enable the "USB Debugging" slider.
* Android will prompt you to allow USB debugging (unless you had already granted access for your Linux system before). Check "Always allow from this computer" and tab "OK".

Go back to your Linux system, and check to connection:
`adb devices`

If the daemon is not running, it will be started.

You should see your device as (single) entry in the device list. Otherwise check the device, the connection and the settings again.

Go on to **Unlock bootloader** below.

### Option 2: You cannot access your Android system (almost bricked)

Android devices have key combinations that allow you to boot them in different modes. Please check on the internet how to boot your device in the **EDL Mode** (Emergency Download Mode). For my device it's

* press and hold \`on off key\` for about 20 seconds, release it
* press and hold \`vol up key\`
* press and hold \`on off key\` (still hold the \`vol up key\`)
* wait for a short vibration
* release the \`vol up key\` first
* release the 'on off key\`

Be careful, it make a diffence whether an USB cable is connected or not. Connecting the USB cable can have the same effect as pressing the power key.

*Getting into the right boot mode can really be a mess.* That's why it's the easiest way to work with TWRP (Team Win Recovery Project).

To do so, download the latest version of TWRP. You need a the appropriate img file for your device (for my device: `twrp_x605f.img`).

Reboot your device in **fastboot mode** (as described by the manufacturer of your device). For my device it's

* press and hold \`on off key\` for about 20 seconds, release it
* press and hold \`vol down key\`
* press and hold \`on off key\` (still hold the \`vol up key\`)
* wait for a short vibration
* release the \`vol up key\` first
* release the 'on off key\`

On success, the device will show 'fastboot mode' in the corner.

Connect your device with the USB cable and check the connection:
`fastboot devices`

You should see your device as (single) entry in the device list. Otherwise check the device, the connection and try to reboot in fastboot mode again.

Make sure your TWRP image file is in the current directory. Install it by typing
`fastboot flash recovery <TWRP image file>` (replace with the actual file name)

Reboot your device in **recovery mode** (as described by the manufacturer of your device). For my device it's

* press and hold \`on off key\` for about 20 seconds, release it
* press and hold \`vol up+down keys\`
* press and hold \`on off key\` (still hold the \`vol up key\`)
* wait for a short vibration
* release the \`vol up+down keys\` first
* release the \`on off key\`

On success, TWRP will start. OK, it took my two to three attempts to get there, but it helps a lot as you can reboot precisely in the mode you need from the TWRP Reboot menu.

* System boots to your system.
* Recovery boots back to TWRP (or your recovery menu).
* Bootloader boots to fastboot mode.
* EDL boots to EDL.

## Unlock bootloader (not sure if this is required - you can try it and skip this)

Having done that, unlock your bootloader. To do so, boot your device in **fastboot mode**

* by using the key combination, see above OR
* by typing \`adb reboot bootloader\` (when the device is connected and the Android system is running or TWRP is running), see above

Type
`fastboot flashing unlock`
and
`fastboot oem unlock-go`

## Flash your device

Reboot your device to the Android system or to TWRP.

Prepare the flashing command (in one line) and **do not hit enter yet**
`./qdl --debug --storage emmc --include '<path to the unzipped firmware files>' '<path to the unzipped firmware files>/<mbn file>' '<path to the unzipped firmware files>/rawprogram_unsparse.xml' '<path to the unzipped firmware files>/patch0.xml'`

For me, that was (in one line) and **do not hit enter yet**
`./qdl --debug --storage emmc --include 'TB-X605L_USER_S000020_20180921_Q00020_ROW' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/prog_emmc_firehose_8953_ddr.mbn' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/rawprogram_unsparse.xml' '/TB-X605L_USER_S000020_20180921_Q00020_ROW/patch0.xml'`

Open another command prompt, and prepare the reboot EDL command `adb reboot edl`

Now, enjoy the following:

1. Run the flashing command (as prepared above), it should stop with the message 'Waiting for EDL device'
2. Run the reboot command from the second command prompt (as prepared above).

Note that you can of course enter the EDL mode in any other way - but as some instructions say that you have only a couple of seconds to start EDL mode, before the flashing is aborted.

The --debug option obviously isn't necessary, but you see much more action, and the flashing takes about 10 to 20 minutes.

Enjoy your unbricked devices!

PS: The documentation of the solution took a lot of time, and I'm a beginner here. I'm pretty sure that the description and formatting could be improved. I'd find it helpful if you give me hints as comments on how I could improve the description of the answer (instead of possibly downvoting it). Thanks!

---
Tags: tablet, rom
---


title: Disable IPv6 entirely on a Xiaomi Mi A3

text:
# Question
Title: Disable IPv6 entirely on a Xiaomi Mi A3
I am running Android One 9 on a Xiaomi Mi A3 and am trying to stop it from using IPv6 DNS servers, as they are essentially turning my RPI4 running Pi-Hole into a useless lump of silicon. How can I do this without having the phone ignore my instructions??

I have tried setting the WiFi connection to use a static IP and DNS info, as well as both the `sudo sysctl -w net.ipv6.conf.wlan0.disable_ipv6=1` and the older `echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6` commands but to no avail...the file retains the value `0` and my phone insists on using one IPv4 and one IPv6 DNS server no matter what I try!

Please help me end this madness! MTIA :-)

# Answer
Nevermind, I finally managed to configure this at a network-wide level by disabling IPv6 on my router. Now Pi-Hole works across **all** my devices. Happy days! :D
> 1 votes

---
Tags: 9.0-pie, xiaomi, android-one, ipv6
---


# Question
Title: whatsapp bluetooth call gets disrupted by 2nd incoming call
In Android 10, while talking to a person on Whatsapp using bluetooth headphones, I receive a standard call on the phone, and two bad things happen:

1. the sound of incoming call is bothering me for too long and too loud, as if it does not realise I'm using bluetooth headphones,
2. once the incoming call is not answered, I lose bluetooth connection in Whatsapp, namely it goes back to default phone speaker/mic.

(This situation could also be e.g. Whatsapp/Signal, or even perphaps the ongoing call being disrupted by the incoming one: in this case where is the priority set?)

Is this a bug of my phone/ROM, or is it standard? Is there a way to have a better default behaviour, perhaps

1. only hear a low sound for incoming 2nd call while on bluetooth,
2. not get bluetooth disrupted and having to set it back by hand

in the Android options?

# Answer
Yes it is WhatsApp bug. You can click on Bluetooth icon to reconnect to your headphone again. Hope this helps till it is fixed.
> 0 votes

---
Tags: whatsapp-messenger, bluetooth, android-10
---


# Question
Title: root chinese tablet Twrp is the only way?
Hi everyone I hope you are safe in this time's ! and I'm tring to do root into a chinese tablet

It is a nice piece i can vnc to my pc's or ssh and control by kdeconnect or use yatze etc i like it but i will love it whit cyanogenmod but that it is such a task to get it done just by me I'm starting for get it rooted now i have manage to get the scarttedfile and pull averything from.

there you can see userdata.img system.img etc. The mnt folder i place it, to mount system.img on it like

`mount -o loop system.img mnt`

And then modify the system and then flash it back again into whit SP\_FLASH\_TOOL it is almost the same as have root on it but i need place a swap file and made swapon probably I could doit from the file recovery.fstab wich cointain

```
    # mount point   fstype      device          [device2]

/boot       emmc        boot
/cache      ext4        /dev/block/mmcblk0p4
/data       ext4        /dev/block/mmcblk0p5
/misc       emmc        misc
/recovery   emmc        recovery
/sdcard     vfat        /dev/block/mmcblk0p6
/system     ext4        /dev/block/mmcblk0p3

```

I'm not sure about i will try but why? i have come here it is to see if some one could help me to either way build twrp for this devices or let me know how to place the magestik app on the system.img to do root hopefully some one here knows how to do so since twrp what it does is that rigth ? Flash the app in to the system i just should place it into the /app folder

# Answer
I follow the instructions from magisk to patch the boot.img file quite easy as alecxs suggested and it is done
> 1 votes

---
Tags: rooting, 6.0-marshmallow, twrp
---


# Question
Title: Can I get Fire OS 6 running on a Fire HD 10(7th gen)?
Android Studio claims Fire OS 5.3.6.4 is Android 5.1.1 API 22.

I would really like to be using Nougat (which apparently Fire OS 6 is). Shouldn't I have the latest Fire OS on my tablet?

Is there a way to do that? If not, I'll have to try rooting it. I hate these OEM blonked Android OS flavours!

# Answer
> 1 votes
Fire OS 6 for 7th generation tablets are not released yet, so it's not possible to install it yet. It is not sure whether Amazon will release it ever, or just keep maintaining the Lollipop Fire OS 5 version either. It might be best to just root it, you can install it later if they release it. (There is a way to go back to stock which will re-enable OTA updates. That will not leave any traces of rooting)

Even with root you won't be able to install a clean Android ROM, because the bootloader is locked. (No custom recovery either) But, you'll still be able to remove bloat apps, change launcher, install Google apps, speed it up considerably by adding a swap partition, install Xposed, etc.

# Answer
> 0 votes
Amazon says 7th gen Fires should have Fire OS 6 now.

https://www.amazon.com/gp/help/customer/display.html/ref=hp\_left\_sib?ie=UTF8&nodeId=201016370

---
Tags: 5.0-lollipop, 7.0-nougat, amazon-kindle-fire-hd
---


# Question
Title: Enable vibration and location services while on battery saver
I like using battery saver on my Android phone as it greatly extends the battery. However, there is one app that I use that I would like to exempt from two of the things that batter saver disables - vibration and location services.

I'm ok with the battery usage for these on this one app only but want to restrict all other apps from using the battery.

How can I accomplish this?

# Answer
> 5 votes
Vibration and GPS are considered as system services, not apps. Thus, it cannot be exempted on the usual setting when Battery Saver is enabled. However, ***since Android 8.0 Oreo*, it is possible to tweak some settings for Battery Saver.**

This is related to the `BATTERY_SAVER_CONSTANTS` global settings that can be modified through ADB.

```
/**
         * Battery Saver specific settings
         * This is encoded as a key=value list, separated by commas. Ex:
         *
         * "vibration_disabled=true,adjust_brightness_factor=0.5"
         *
         * The following keys are supported:
         *
         * <pre>
         * advertise_is_enabled              (boolean)
         * datasaver_disabled                (boolean)
         * enable_night_mode                 (boolean)
         * launch_boost_disabled             (boolean)
         * vibration_disabled                (boolean)
         * animation_disabled                (boolean)
         * soundtrigger_disabled             (boolean)
         * fullbackup_deferred               (boolean)
         * keyvaluebackup_deferred           (boolean)
         * firewall_disabled                 (boolean)
         * gps_mode                          (int)
         * adjust_brightness_disabled        (boolean)
         * adjust_brightness_factor          (float)
         * force_all_apps_standby            (boolean)
         * force_background_check            (boolean)
         * optional_sensors_disabled         (boolean)
         * aod_disabled                      (boolean)
         * quick_doze_enabled                (boolean)
         * </pre>
         * @hide
         * @see com.android.server.power.batterysaver.BatterySaverPolicy
         */
        @UnsupportedAppUsage
        @TestApi
        public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";

```

For the possible integer values of `gps_mode`:

```
/**
     * Either the location providers shouldn't be affected by battery saver,
     * or battery saver is off.
     */
    public static final int LOCATION_MODE_NO_CHANGE = 0;

    /**
     * In this mode, the GPS based location provider should be disabled when battery saver is on and
     * the device is non-interactive.
     */
    public static final int LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF = 1;

    /**
     * All location providers should be disabled when battery saver is on and
     * the device is non-interactive.
     */
    public static final int LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF = 2;

    /**
     * In this mode, all the location providers will be kept available, but location fixes
     * should only be provided to foreground apps.
     */
    public static final int LOCATION_MODE_FOREGROUND_ONLY = 3;

    /**
     * In this mode, location will not be turned off, but LocationManager will throttle all
     * requests to providers when the device is non-interactive.
     */
    public static final int LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF = 4;

```

As stated on XDA Developers, How to Customize Battery Saver Mode in Android 8.0 Oreo:

1. Install ADB and USB drivers if necessary.
2. Connect the Android device to the PC with USB and wait until the device is detected
3. Open a command prompt and type `adb devices` to make sure the ADB detects it.
4. Type `adb shell`
5. Decide which values wanted to be changed. Inputting multiple keys are supported with comma separation. For this specific question: `vibration_disabled=false,gps_mode=0`
6. Type `settings put global battery_saver_constants <new_value>`. Note that the change is permanent, so to undo, the user needs to manually input the opposite values instead.

On rooted devices, it is also possible to run the `settings` command directly from the device using terminal apps like Termux.

# Answer
> 1 votes
Assuming you have a Pixel 3XL and using the system level battery saving,

From: https://dontkillmyapp.com/google

**Pie and pre-Pie**

If you see background processing issues, overall it is a good idea to make your app not battery optimized to ensure it gets the freedom it needs to perform in the background.

For that:

* Go to Settings \> Apps \> Your app \> Advanced \> Battery \> Battery optimization
* Change view to All apps
* Search for your app
* Choose Not optimized

**From the comments:**

> my app is already not optimized, but vibration doesn't work nor does GPS with the screen off when power saver is on.

So as stated in: https://support.google.com/pixelphone/answer/6187458?hl=en

**What happens when Power Saver is on:**

* Apps only refresh their content, like email or news, when you look at the app.
* Location services stop when your screen is off.
* Apps stop doing things in the background, unless you turn off battery optimization.
* Your phone stops listening for "Ok Google.” Instead, you need to squeeze your phone or tap the Assistant icon Assistant.
* Dark theme turns on.
* Your phone and notifications may be delayed.

So your app not receiving GPS/location services is covered by **Power Saver** behavior, as to why vibration isn't working I can't say without knowing why vibration is occurring unless its related to any of the above items like location or a background process.

---
Tags: 9.0-pie, vibration, location-services, battery-saver
---


# Question
Title: How to disable high contrast text when that option isn't available?
I bought a new phone and the settings from my old phone were transferred during the initial setup.

One setting was "High contrast text" within Accessibility settings. I would like to deactivate this option. The reason I don't like it is that astronomy programs with a "night mode" (red on black) settings display black text with a white outline, and the white outline destroys my night -adapted vision.

My new phone, a Realme 5 - running Android 9 with the custom layer "Color OS 6" - doesn't have the high contrast text option available in its settings. Apparently the next version of Color OS does have this setting, but it's not yet available for my device in my country.

Things I have tried:

* I have tried using restore factory settings to only restore system settings, but that didn't affect the high contrast text setting.
* I have tried running `getprop | grep text` and looking to see if there's anything relevant, but there isn't.
* I have tried deactivating the option on my previous phone, manually triggering a cloud backup, then using Activity Launcher to launch CloudRestoreFlowActivity, but it doesn't open.

The only related question I can find is this one but it applies to Android 5, and it's protected and I'm unable to add an answer.
(I'm asking this question to self-answer, because I've just solved the problem myself and couldn't find any valid solutions elsewhere: everything assumes that this option is available in settings but it isn't on my device)

# Answer
I finally found the solution. A computer with ADB is required. Attempting to do this from a local terminal will fail with a permissions error: "Failed calling service settings: Failed transaction (2147483646)"

Prerequisites:

* ADB enabled in developer tools.
* The last option in developer tools, "Disable permission monitoring" I believe it's called (on my Spanish phone it's "Desactivar supervisión de permisos"), enabled. If not then the command will fail with the message
> Security exception: Permission denial: writing to settings requires:android.permission.WRITE\_SECURE\_SETTINGS

Then, with the phone connected to the computer, simply execute:

`adb shell settings put secure high_text_contrast_enabled 0`

Thanks to:
> 1 votes

---
Tags: 9.0-pie, accessibility, oppo-coloros
---


# Question
Title: Does Google Takeout contain Android Backup for my devices?
In theory, Google Takeout lets you download all the data Google stores for you (or about you). Among these there should be the backup content of my Android devices.

Is it Android Backup included in the Takeout? Should it be? Is there a way to request that?

# Answer
From https://takeout.google.com, you can download files stored in My Drive and Computers, which don't include mobile Backups:

From the question: Downloading Phone's Backups from Google Drive to PC or Alternative Phone:

> You can not download the backup onto your PC. It can only be installed back onto the product it came from, or if it is an iOS or Android backup, then that can only go back onto that operating system (so back onto another phone or the same phone).

However you can *"View details about a backup"* and *"Delete a backup"* directly from a web browser or Google Drive app (source: Manage & restore your mobile backups in Google Drive).
> 2 votes

---
Tags: backup, google
---


# Question
Title: How to put checkmarks on a checklist in Google Docs
**Note:** This question is specifically about Google Docs on Android, not Google spreadsheet on Android.

Instructions from this page shows how to insert a checklist using the Android app or Google Docs. I was able to follow those instructions on the Google Docs Android app, however, I need to then quickly and easily check off each item. The instructions on that webpage are given for a desktop web interface, because it refers to clicking the right mouse button and selecting an operation, but how do I do that within the Google Docs Android app? Is this impossible?

I currently believe the answer is "no", but I hope someone will prove me wrong about that.

# Answer
As you know, the checkmark bullet list is not available on Google Docs's Android version. A not elegant workaround is to insert the checkmark character yourself then realign it.

Use one of the many keyboard apps that provide unicode characters (I used this). Search for checkmark, copy and then paste it on your document. Then realign it to be on the same column than the real bullets as shown on the image.

**Disclaimer:** I am just a use of the linked app.
> 0 votes

---
Tags: to-do-list, google-docs
---


# Question
Title: Connected to wifi, but no internet access
first question here. I was using wifi normally on my phone. Then I turned it off and after some time turned it back again. Since then I can not access the internet. It's showing `Connected(no internet access)`.

I tried to set the IP static. It did not work for DNS `192.168.200.1`. No matter what IP I set with this DNS it does not work. Then used the `8.8.8.8` as DNS, now it's connected. But it is really slow, and the connection does not seem stable. Every time I have to reload google.com several times just to get the page.

The problem is specific to this device only. Other devices connected to the same network are perfect.

I tried

* Restarting the router
* Resetting network settings
* Clearing network cache from maintenance mode
* Rebooting the device with and without airplane mode

My phone is Huawei Y9 2018 with Android 9.

Can someone suggest me what should I do? Is this a router issue? Or is this my device problem?

I'm new in this area. So my knowledge is not so deep and you might have to explain things a bit more in detail for me to grasp the concept.

# Answer
> 0 votes
I believe you are going wrong here.

*Why* would you want to select `192.168.200.1` as DNS? It looks like a private IPv4 address, not a DNS address. Doing so, I believe you will fail to connect to internet.

In my experience DNS addresses have looked like `8.8.8.8` \- like you mentioned, and `8.8.4.4`.

You can try to use custom IP addresses like `192.168.200.1` keeping the DNS `8.8.8.8` or `8.8.4.4` only.

# Answer
> 0 votes
I suppose your router address is `192.168.200.1`.

There can be several reasons:

1. You can try to force your router to support only high-speed connections. It depends on the router and you will need to check your manual.
2. It is possible that your phone changed a frequency from 2.4GHz to 5GHz recently or vice-a-versa. You may check that both the router and the phone support it and try to connect to a different frequency. Usually there are two different WiFi points in this case. So it is hardly the case.
3. Your upstream connection can be unstable. It is possible that your phone reacts to unstable connection more notably than other devices however I don't think it is the most probable case. I guess this is the hardest case to check.
4. You phone is malfunctioning. You can test it by trying different routers somewhere or by bringing one to your home. If it is the case then it may be hardware issue, bad system update, or possibly other software issue. I would try to reinstall browser, uninstall all VPN apps, check battery usage, uninstall apps that eat too much, and a factory reset as a last resort.
5. If your phone works nicely with other routers it may be a compatibility issue. Given that your phone worked nicely it can be caused by system update of your phone or system update of your router. Depending of what the issue is you may try a factory reset of your router, a factory reset of your phone or buying a new router.
6. Certainly I missed something and there are much more reasons

---
Tags: wi-fi, huawei, internet, dns, connectify
---


# Question
Title: What could break an app download from the Play Store?
I cannot pinpoint exactly when it started, but I'm starting to get a lot of users complaining that they cannot download my app from the Play Store, the download always stops at 89%. Users can download other apps, even bigger ones.

I tried to reproduce but to no avail. Could some antivirus prevent the complete download?

App bundle size is approximately 50 mb, the issue appears on a variety of devices and different Android Versions. Available storage space does not seem relevant.

I am aware that it is common for Android users to not be able to download apps for various reasons (lack of space, wrong configuration on user device), but here the issue seems to be that they cannot complete the download of this app in particular, it always fails at 89%, and it started recently (but I cannot be sure that it is linked to a specific release). This app has more than a million downloads and all my other apps are unaffected.

Update: an user told me it worked when he tried to download the app again

# Answer
If you use a bundle format then your app is decomposed into several chunks for different languages and screen resolutions. Maybe one of these chunks cannot be downloaded or it is broken.
> 1 votes

---
Tags: google-play-store, downloading
---


# Question
Title: How do I backup my website homescreen shortcuts?
I have many websites which I constantly access thru my phone, but they aren't bookmarked on Google, they're just added to my homescreen as a web shortcut.

Of course Windows is something else entirely, but I could just go to Desktop folder and copy everything \*.lnk, right? Thing is, now I'm migrating phones. I already migrated all apps I wanted to keep. I feel there should be an equivalent easy way to do this, even without an app. Is there?

# Answer
> 1 votes
Everything on the home-screen is organized by the configured "launcher" app. Therefore it depends on the used launcher.

Some advanced launchers include a functionality to export the complete launcher configuration including web-links and all the other launcher icons.

The default launcher is usually modified by the manufacturer hence it is difficult to say what it supports.

As a fallback mechanism you can try to create an backup of the launcher via Android Debug Bridge (`adb`). However this requires to

1. Enable Developer menu
2. Activate in the Developer Menu the Android Debug Bridge
3. Connect your Android smartphone to your PC via an appropriate USB cable
4. Install the ADB drivers and ADB on your PC
5. Identify the package name of the used launcher
6. Perform the backup on the command-line/terminal of your PC via `adb backup <packagename of launcher app> launcher-backup.ab`.
7. Check the created file `launcher-backup.ab` if it is larger than a few kilobytes then the chance if good that the backup was successful

On the new device (or after a factory reset) you have to more or less perform the same steps. Just execute `adb restore launcher-backup.ab` as the last step.

---
Tags: file-system, home-screen-shortcuts, home-screen, bookmarks, home-screen-folders
---


# Question
Title: Access encrypted /data Partition over ADB and recovery (TWRP, LineageOS 16, Redmi Note 4)
I have a Redmi Note 4 (mido) Android phone with a broken screen: the screen lights up, but otherwise it stays entirely "black". I already replaced the screen, but with no luck - the cause of the error must be somewhere else. The phone has data-encryption enabled with an unlock-pattern. Now I'm trying to access the data on the phone, but did not succeed so far. Here is what I've done so far:

* Connected the phone to a PC over USB.
* Started the phone in fastboot-mode by pressing and holding the buttons vol-down and power simultaneously.
* Booted the latest version of TWRP for mido: `fastboot boot twrp-3.3.1-0-mido.img`.
* Opened `adb shell` and presumably managed to decrypt the data (found instructions in the TWRP Commandline Guide):

TWRP decrypt:

```
~ # twrp decrypt 41236
Attempting to decrypt data partition via command line.
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
Unable to mount storage
~ #

```

Unfortunately, the block device /dev/block/dm-0 cannot be mounted.

This is the result of fdisk:

```
~ # fdisk -l /dev/block/dm-0

Disk /dev/block/dm-0: 57.0 GB, 57033580032 bytes
255 heads, 63 sectors/track, 6933 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/block/dm-0 doesn't contain a valid partition table

```

So I pulled an Image of the block device with `adb pull /dev/block/dm-0`. This image has a size of 57,033,580,032 bytes.

I tried to mount this image in Ubuntu 20.04, but did not succeed:

```
# file /media/sf_U_DRIVE/Note4Data/dm-0.img
/media/sf_U_DRIVE/Note4Data/dm-0.img: data

# fdisk -l /media/sf_U_DRIVE/Note4Data/dm-0.img
Disk /media/sf_U_DRIVE/Note4Data/dm-0.img: 53,12 GiB, 57033580032 bytes, 111393711 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

# mount -o loop /media/sf_U_DRIVE/Note4Data/dm-0.img /mnt/Note4Data
mount: /mnt/Note4Data: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.

# mount -t ext4 -o loop /media/sf_U_DRIVE/Note4Data/dm-0.img /mnt/Note4Data
[ 6986.649794] EXT4-fs (loop3): VFS: Can't find ext4 filesystem
mount: /mnt/Note4Data: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.

# mount -t f2fs -o loop /media/sf_U_DRIVE/Note4Data/dm-0.img /mnt/Note4Data
[ 7004.610412] F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock
[ 7004.615289] F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock
mount: /mnt/Note4Data: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.

```

I wonder if I need to mount the image in another way (with offsets? with LVM?) or if the decryption did not work. TWRP creates a log file in **/tmp/recovery.log**. After running the `twrp decrypt` command, the following lines are added:

```
I:Command 'decrypt 41236' received
I:Set page: 'singleaction_page'
I:operation_start: 'TWRP CLI Command'
Attempting to decrypt data partition via command line.
D:crypt_ftr->fs_size = 111393711
I:starting verify_hw_fde_passwd
I:Using scrypt with keymaster for cryptfs KDF
I:TWRP keymaster max API: 3
I:Signing safely-padded objectkeymaster module name is Keymaster QTI HAL
keymaster version is 256
Found keymaster1 module, using keymaster1 API.
I:Extra parameters for dm_crypt: fde_enabled ice
I:target_type = req-cryptI:real_blk_name = /dev/block/mmcblk0p49, extra_params = fde_enabled iceE:test mount returned 0
I:Found no matching fstab entry for uevent device '/devices/virtual/block/dm-0' - add
I:Found no matching fstab entry for uevent device '/devices/virtual/block/dm-0' - change
Data successfully decrypted, new block device: '/dev/block/dm-0'
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
Updating partition details...
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
Unable to mount storage
/data | /dev/block/dm-0 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Is_Encrypted Is_Decrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encr
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p49
Decrypted_Block_Device: /dev/block/dm-0
Crypto_Key_Location: footer
Length: -16384
Display_Name: data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65539
I:Unmounting main partitions...
I:Done reading ORS command from command line
I:operation_end - status=0
I:Set page: 'decrypt_pattern'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
I:Unable to mount settings storage during GUI startup.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
Unable to mount /data/media/TWRP/.twrps
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/TWRP/.twrps' not found.
I:Backup folder set to '/data/media/TWRP/BACKUPS/f707e0500604'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/TWRP/BACKUPS/f707e0500604'
I:Starting MTP
I:[MTP] Starting MTP
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
MTP Enabled
I:Check_Lifetime_Writes result: '648837'
I:Switching packages (TWRP)
I:Starting Adb Backup FIFO
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 18
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0

```

Any ideas what I should try next or where I could find helpful information?

# Answer
> 0 votes
try this from TWRP terminal

```
busybox mount -t ext4 -o ro,noexec,noload /dev/block/dm-0 /data
busybox mount -o bind /data/media /sdcard
busybox mount -o bind /data/media/0 /sdcard

```

---
Tags: adb, recovery-mode, data-recovery, encryption, lineageos
---


title: Forward SMS messages to Telegram

text:
# Question
Title: Forward SMS messages to Telegram
I'd like to read my SMS messages without picking up my phone when I work on a laptop. Telegram has a lot of handy bots for different things. Is it possible to forward SMS messages to Telegram bot?

# Answer
> 1 votes
You can forward new SMS messages to Telegram bot. Look at https://smsq.me

---
Tags: sms, telegram
---


# Question
Title: "There was a problem communicating with Google servers, try again later" error
Yet another occurrence of this when setting up a new phone, in this case a OnePlus 5 with the H2OS (Chinese) OS. I installed the current Oxygen OS official 9.0.9 from XDA, used the OnePlus transfer, and despite many strategies, could not get rid of this error. I tried:

Wiping the cache, other data in Google Play
Ditto other Google services
turned off WIFI, turned on, etc.
Reboot
Reinstalled Google play
Installed Google APK from APK store

I had seen these elsewhere working for some folks.

# Answer
Finally the only thing that worked for me was doing a factory reset.
Hope one of these approaches works for others!
Having more potential solutions in your tool box increases your chances of success.

YMMV "Good luck, Jim!"
> 0 votes

# Answer
I have come up against this problem today, and have found a solution when everything I found online failed to fix it.

The problem I had was that all Google apps weren't working. Chrome would not load pages, I could not add an account (hung on Checking Info and eventually gave the error " There was a Problem Communicating with Google Servers"), GMail app would load but would not show emails etc.

I found that the version of Chrome I had was a long way behind. I went into Setting/Apps and disabled Chrome. This basically re-enabled Android System Webview, and at this point I could then re-add an account, Gmail and the Play Store started working. I could then use Play Store to re-enable and then update Chrome, which then worked too. If you want to, you can then go into Developer Mode and set Chrome back as the Webview Implementation.

I hope this helps someone avoid spending the hours I did on this issue!
> 0 votes

---
Tags: google-play-store, google, google-play-services
---


# Question
Title: Unable to install an APK file downloaded from a webserver
Im trying to download an apk file for a game that I cant access on Play store, but whenever I try it keeps saying APP NOT INSTALLED or there was a problem with the package, I read about a thing where sometimes it tries to install it into the SD card which I don't have a.

# Answer
> 0 votes
There are two main reasons why you don't see an app in Google PlayStore:

1. The app is not available in your country. In such a case you may be able to install the app manually via APK.
2. The app is not compatible with your device. If that is the case you can do what you want but the app installation will always fail. Unfortunately the on-device APK installer doe snot display the error message to you so it is not easy to understand why the installation fails. If you have Android Debug Bridge enabled (`adb`) you can try to install the APK from your PC via USB and adb (`adb install <apkfilename>`). Then you will see an more detailed error message why the installation fails (e.g. Android version too old or other hardware features required by the app are not available).

---
Tags: applications, installation
---


# Question
Title: File transfer over USB cable option no longer appears after upgrade to MIUI 10
I have a Xiaomi Redmi 4A and I used to often transfer files between it and my Windows 10 laptop PC over USB cable.

When I plugged in the cable the phone it used to prompt me to choose between USB charging and USB file transfer.

I didn't use this feature for months and a couple of weeks ago the phone told me MIUI 10 was available so I upgraded it it seemed very nice.

Today I want to transfer some files from the phone to the PC and now when I plug in the cable, the screen comes on and both devices beep but I am not offered to choose between charging and transfer. The phone does not show up in Windows explorer to browse files.

The phone does show on the computer as a connected USB device. But I can't find any settings or options on the phone or the computer to browse or transfer files on the phone.

Has this feature been removed in MIUI 10 or is it hidden behind non-obvious settings? Or am I missing something very simple?

---

* I have tried two different USB cables. At least one of the cables caused my feature phone to show up as a USB storage device or MTP advice.
* I have tried rebooting the phone and the behaviour afterwards is identical.

# Answer
> 5 votes
Though I was pretty sure I'd transferred files with at least one of the USB cables I tried around the time I posted this question, I tried a **third cable** at work tonight and the file transfer option now appeared!

So unless it was a coincidence, it seems it was due to a USB cable that was designed only for charging and lacked the wiring for file transfers!

# Answer
> 3 votes
On Windows PCs and other desktop PCs:

* try to use a different USB port, often rear ports have more power than the front ports which is sometimes needed by some devices
* use an USB 2.0 port if your mainboard supports both ports next to a possible type c port.
* make sure ADB and your device drivers are installed (you can find your device drivers on your phone manufacturers homepage.

On your mobile device:

* go to settings -\> "my device" (or similar) and tap on your build number multiple times
* go to "advanced" -\> "developer settings" and check if "Select USB Configuration:" is set to MTP for file transfer or PTP for your Android to play a digital camera storage.

# Answer
> 1 votes
What i did to transfer files from "redmi 4" to "mac" was following:

1. Install android transfer software on mac.
2. Go to "developers-option" in your phone to do so follow below steps: 2.1 go to "about-phone" in settings 2.2 click on the "mi-version" 8 times to enable developers mode. 2.2. Now select "developers options" in settings.
3. Then choose to "Select USB configuration" button in developers mode.
4. From that choose MTP(Media Transfer protocol) option.
5. Now connect your phone (Make sure its unlock) using USB cable and open Android file transfer software on your mac. Voila ! It should work now and should show the files to transfer.

It it don't work connect different cable as sometimes some cable don't support mtp transfer or Reconnect the same cable

---
Tags: usb, file-transfer, mtp, miui, redmi
---


# Question
Title: Is there anyway i can run the same Whatsapp account on both my android phone and android tablet at the same time?
I have a Samsung J6 phone, with Whatsapp installed.

I also have a Samsung Tablet, Tab A 2019.

Both are running the latest version of Android at the time of writing.

Ive downloaded and setup Whatsapp on the tablet, but this disassociates Whatsapp on my phone, is there anyway i can run the same Whatsapp account on both my android phone and android tablet ?

# Answer
> 2 votes
Yes, there is a way indeed.
Install WhatsApp primarily on one of your devices. On another device, open google chrome and head to web.whatsapp.com. Now click the menu icon (on the top right of browser with 3 vertical dots), scroll down and check the "Request desktop site" option. Now you will receive the web version of WhatsApp on one of your devices. Scan the QR Code from your primary device.

Enjoy!

---
Tags: whatsapp-messenger
---


title: How to start video record from PC?

text:
# Question
Title: How to start video record from PC?
is there a way to record a video just like if I would record with a normal camera app but with the difference, that I can observe the image on the PC? I've tried IP webcam and droidcam, but both created videos with very bad quality compared to normal camera recording, I guess due to streaming limits. But streaming is not my aim, I just would like to have a preview and then simply start recording locally to the phone.

# Answer
> 0 votes
scrcpy is a free/open source project which allows you to mirror the Android device and control it from the Windows/MacOS/Linux. It does require the device to be Android 5.0+, and have `adb` developer debugging enabled.

Once running I was able to with a Pixel 2 and a MacBook Air:

* See the Pixel 2 screen on the MacBook Air screen
* Scroll on the Pixel 2
* Click on the camera app
* Switch to video recording in the camera app
* Click record
* Click stop recording

without touching the phone.

You would still need to get the video off the phone but the video quality is of the native camera app.

# Answer
> 0 votes
in ip Webcam you must change the settings to get the full quality on video recording and can record at a 1920x1080 resolution if what you need is record from the phone and monitor from network it is the app you need, maybe you have being recording from the computer the stream whit some lose !

---
Tags: camera, video, streaming, video-recording
---