text:
Can I share my Android's VPN connection over a Hotspot?
I recently purchased a Chromebook which doesn't support my companies PPTP VPN. As a workaround, would it be possible to connect to the VPN on my Android (4.4) and share that connection over a hotspot? If so, how?

Unfortunately the stock Android tethering application does not work with VPNs. This limitation is an oversight in the software and not a system limitation.
However there is an application called ClockworkMod Tether that will allow you to tether and use a VPN at the same time. In fact it makes use of the standard tethering application and then fixes up the routing information to make it work.
This application does not require you to root your phone but you do need to run software on the computer that you wish to connect to your phone. Also this only works for USB tethering at the moment.
There are other alternatives to ClockworkMod Tether, if you wish to try them, including PDANet.
Hope it could help

This worked for me using PDANet. ClockworkMod seemed to want permission to use everything. PDANet needed a lot fewer permissions, but I'm still not 100% certain of its safety.

I found some information that consists of adding iptables rules using command-line in your rooted device.
I tested it on my Android 4.4 on Blu studio and it works fine.
Quoted text originally written by  SmokeyTech1 of XDA-Developers here:

You need a rooted device
Make sure you have a VPN app, like OpenVPN or DroidVPN ( I use DroidVPN and its the best)
Download Terminal Emulator
Activate your hotspot and connect to your VPN
Launch Terminal emulator and on the first line type "su" (without the quotes) and press enter
Copy and paste this to the Terminal Emulator. Make sure to paste to a new folder using Root Browser first and copy to T.E. in the exact format as shown below:

iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61
That's about it. Also, be sure to make a folder with Root Browser and paste the code there, as this resets after re-boot. It worked on my LG G3 on android 4.4.2

(Note: Quoted text has been edited to fit the site's formatting style.)
ATTENTION: Part of the rules where it says wlan0, this is interface that corresponds to where you want send the connection.
To send it to the WiFi hotspot, replace it with ap0
The tun0 is the VPN tunnel that you receive from the remote server.
You can list all the interfaces typing netcfg the root terminal

As for terminal emulator, I use ConnectBot:

ConnectBot allows a terminal emulator on your device for connections
  ssh, telnet and localhost.

Interesting, but a bit tedious to do regularly.  Unless someone has a way to bundle that script up and run it from a home screen shortcut or something similar?

It seems like this is a perfect opportunity for someone to make a simple app to automate this on Android.

Yes. F-Secure Freedome (a VPN client) is running on my Note 2. I have Note 2 tethered to an Ubuntu machine and an Android tablet. My tablet and laptop post a Germany IP address, while I am on the other side of the ocean.

Make sure that your data plan allows tethering.
Make sure that you are on the cell network. However, USB tether to Wifi VPN on the phone
works a bit better. I keep my connection dropped when going all over
over the air.
Depending on your flavor of Android your mileage may vary

Note 2 and the tablet are running 4.4 (CM 11 nightlies), Ubuntu is on 14.04.

Okay, thanks. I will have to play with it some more. I gave it a quick try but wasn't able to access any thing on the private network.

I've had some issues with it when it was:
Laptop - wifi - phone - vpn - verizon - internet
However, it worked better when it was:
Laptop - usb cable - phone - vpn - verizon (or wifi) - internet

I currently have a Freedome VPN subscription, and using the VPN through USB Tethering isn't working on my end (LGE Nexus 4, Windows 7 PC). If I disable the VPN I'm able to access the unprotected connection over USB tethering.

This is an extension to the answer provided by João José that would allow you to selectively direct certain traffic to VPN while letting other go directly.
I wouldn't have figured it out without João José's brilliant answer so if you will upvote this, please upvote his answer as well.
# Following rules will allow me to redirect traffic through my vpn
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE

ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip rule add fwmark 0x61 table 61
ip rule add iif tun0 table 61

# Configure traffic that I want to make it go through VPN
# 1. My DNS
iptables -t mangle -A PREROUTING -p tcp -d 208.67.220.220/32 -j MARK --set-xmark 0x61
iptables -t mangle -A PREROUTING -p tcp -d 208.67.222.222/32 -j MARK --set-xmark 0x61
iptables -t mangle -A PREROUTING -p udp -d 208.67.220.220/32 -j MARK --set-xmark 0x61
iptables -t mangle -A PREROUTING -p udp -d 208.67.222.222/32 -j MARK --set-xmark 0x61
# 2. Insecure websites
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-xmark 0x61

Not sure what happened, but it worked for half a second. It worked, then I restarted my phone and it didn't work no more :( I'm on android 9.

On Android device, install:

Proxoid (run on port 8081).
Internet Sharer (HTTP: 8080, SOCKS: 1080).
Ping & DNS (I need IP address of mobile phone)

Tether Chromebook and phone by USB cable.
Run:

Mobile internet connection
VPN client
Proxoid
Internet Sharer

Set mobile to tether USB connection (check the icon of USB connection on mobile changed).
Find phone IP address (Ping & DNS, Network Info, IP: xxx.xxx.xxx.xxx, internet connection must be active)
On Chromebook, log in, check internet connection, WiFi should be automatically replaced by USB Ethernet.
Click the ethernet icon, Settings, proxy TAB.
Finally set on Chromebook (HTTP proxy host: IP in form xxx.xxx.xxx.xxx, port 8080, HTTPS proxy host IP, port 8081, SOCKS proxy IP, port 1080).
Try to run Chrome and browse intranet (as in mobile).


text:
Internal storage space running low after rooting and deleting unwanted apps
I am currently using a Samsung Galaxy GT-I8190 (S3 Mini) running Android 4.1.2 and I rooted my phone in order to get more internal memory to my disposal. It worked, but only for a little while. Then the memory started getting full and pops up a "warning" to say that the storage space is running low. I have an app installed by the name of "Clean Master" and I frequently clean the "junk" files on and clean it at the advanced side too. I also do a memory boost, but nothing helps to clear out memory space. I also cleared out my clipboard of everything I had copied and I unrooted my phone to see if it would help, but the memory just got fuller again so then I rooted my phone once again to take away the unwanted apps. I also have a 4GB external memory card in my device and I've moved all the apps (part of them that could move) to the memory card, but no positive results to my liking as yet. What can I do to clear up the memory? Because I can't even update my current apps because of the lack of space. Please help! Thanks

Did you try getting rid of some apps? Or removing any downloaded content, i.e. films, books etc.

What is taking up all the space? Get a disk manager and see what is so big. Some apps (for example Bard's Tale game doesn't remove the 3.5Gb of additionial files when uninstalled and needs to be manually wiped). It's impossible to know otherwise.

Yes, I got rid of some apps, like I said, I rooted my phone so that the unwanted Google apps could be deleted. @Peanut

@RossC - I do have an app on my phone that allows me to delete all the empty files on my phone after a certain app leaves something behind - its called "Clean Master" and I cannot download any more apps as the internal space on my phone is not enough to do so.

I also only have the apps that I use normally and only one game (Candy Crush) - all my pictures and music and videos are on my external memory card. I've had this phone for just over a year now and it's the first time ever it pops up this message.

My Google Drive and my Gmail apps wouldn't even refresh to load new emails or any other content because of a lack of internal storage space

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
How to implement AOD functionality in Rom that lacks it (LOS)?
I'm using latest unofficial LOS 18.1 (by zeelog) on my Redmi Note 4/ mido. It works super-well and smooth and has everything I need - except for AOD (Always On Display).
Before I go into more detail, a couple of disclaimers:

I know there's other Roms out there that have it natively, such as crDroid (but I prefer LOS)
I know that AOD drains a considerable amount of battery (but I don't mind)
I know there's AOD apps (but I prefer native / in-built solutions)
I know it probably could be done using Xposed / Substratum, (but I don't want to use that)

That being said - is there any way one could modify the Rom so that AOD becomes possible? If the option is there, obviously it can easily be turned on and off using Shell commands
settings put secure doze_always_on 1

and
settings put secure doze_always_on 0

, respectively (I would use the app Tasker for that).
From what I found out, presence/absence of AOD might be related to the Gapps package one is using. I also found out that (maybe only in older versions of Android?) there is a file called AmbientDisplayConfiguration.java in frameworks/base/core/java/android/hardware/display folder which has one or several boolean(s) for AOD that just need(s) to be changed from 0 to 1(?) However, I don't find that file/folder on my phone (although I'm rooted, of course). Maybe this is just present when compiling the Rom?
There are also flashable zips out there that claim to be able to activate AOD, but this did not work for me.
What exactly has to be done to enable it (given my phone/Rom constellation as mentioned)? Like which files have to be added or modified and/or which permissions have to be changed? Is it even possible to implement this feature after the Rom has been baked, or can this only be done in the building/ compilation process?
Thank you so much in advance for any hints!  Regards, Gary
P.S. please feel free to ask for any details I might have missed!
EDIT I finally dared to compile LOS 16 for my Xperia Tablet Z (pollux). I changed the values of two AOD-related bools in .../master/core/res/res/values/config.xml from false to true, flashed the finished zip through recovery after compiling successfully. AOD now works as intended . Will try that for my mido later as well. So to answer my own question - AOD seems to be something hardcoded into the ROM. After compiling the ROM, the user doesn't see that config.xml (not even if you're rooted, and it's not in framework-res.apk, I checked that). So either this has to be set before compiling the ROM or, possibly, one could use an overlay apk that achieves the same result. In my opinion the first option is best - obviously this requires you to build LOS from source yourself, which I would encourage anyone to do - it's a rewarding experience to be able to tweak the OS to your own likes instead of having to rely on devs' decisions. Once you get the hang of it of course you can modify many other things apart from just Ambient Display settings.

It can be overlayed, see how GSIs do it. Applauses for your determination in building the entire ROM just for this simple tweak, though!

@Andy Yan Sure, you're right :) However, this was just the last little incentive for me to actually go ahead and try compiling LOS myself.
I'm still quite noob, could you possibly provide some more details for the overlay method? :) thx in advance, Gary

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Is it possible to backup data from a locked android phone?
So i forgot the PIN number on my old phone which was not rooted, had no recovery software (Cwm, Xrec, etc.) installed on it, and has usb debugging and auto-mount disabled. We don't know the google account associated with the phone. Basically all I have is the phone and a usb cable. Is there a way to get the user data out of it? Adb won't recognise the device btw. I do apologise if it's a stupid question. The phone automatically connected to the wifi, and I'm on Linux, if that helps. But I managed to get into recovery but adb only recognises the device in sideload mode. The files inside the phone is extremely important to me because it contain photo of my family member that were passed away.
Phone: Vivo V7 Plus
I wanted to try brute-force the PIN with program but unfortunately the phone will cool down for 7000 second (3hours+)
Info
My phone model: Vivo 7 Plus
USB debugging: Not turned on

Comments are not for extended discussion; this conversation has been moved to chat.

So i found a way to unlock my phone (Vivo V7 Plus) without losing any data !
Special thanks to @alecxs for guiding me through the process !
In order to unlock the PIN lock, I open my phone case and short the test point in order to get into EDL mode (Note: Different phone have different test point, search where is your phone test point before proceed. )
After successful short the test point, I can see the "Qualcomm port 9008" is open !

When Qualcomm port 9008 is visible from device manager, I proceed to run the software. So, here is the MAGIC part! I used a tool from MRT but its cracked by a developer called officialroms. The different between cracked and original MRT software are cracked version doesn't have to buy additional hardware to make it work.
I clicked on start and the program run until it show all is done, after that I restart my phone and everything worked !

Here is the instructions link that i follow:
https://www.youtube.com/watch?v=iUOFvRkmBMc
https://www.youtube.com/watch?v=Enm-8CvGqIY&t=189s

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
ADB does not install any APK
This is an old phone LG L90 with Android 5.0.2 Lollipop (it does not support any newer version).
ADB does not install any APK, like literally any, old or new, any app, downloaded from anywhere on the internet. E.g. Google Play will fail installing Google Drive latest version assuming they dropped support for Lollipop.
So e.g. you can download older versions from APKMirror (versions tthat support Android 5+ and I tried most of them).
E.g. you can still install many apps via Google Play successfully, but if you download that same APK file with same version and try to install it via ADB it fails?
Command used is adb install filename.apk
Error Invalid APK file

Debugging via USB is enabled
Play Protect disabled
Device is not rooted

Can you download this app (or any app that supports your Android) from F-Droid (it is a Free/libre app repository) and install it using adb? Do you still get an error? Can you try installing it using a file manager app? Do you also fail to install using a file manager app?

@Firelord hi, it did install via File Manager, but I get same error via ADB https://i.imgur.com/MqL5phr.png

Usually you execute adb install without executing adb shell before. Therefore on your PC just execute adb install ... and afterwards (or in a second terminal) adb logcat. The logcat output should include the real error/exception what is going wrong.

@Robert Hi, thank you for your help, it does attempt installing apps now and it did succeed, but I still can't install Google Drive. I get error Failure [INSTALL_FAILED_ALREADY_EXISTS], but there is no existing installation, or at least I cannot find it listed with pm list packages. List of all packages https://pastebin.com/yrA3BaYW

Most likely Google Drive is installed as system app on your device. You can try to install the app as update via adb install -r .... But you should really go back to the app Firelord has linked. Don't start with the hardest enemy, start with the most easy one...

Android Explorer installed successfully and some others. But I really just want to have Google Drive installed and running. I guess this is going off topic.

The -r did install Google Drive, but no icon available to start the app and in Apps settings it says it is running?

Can you respond with Answer so I can close this thread, please? I will start new one for Google Drive issue.


text:
What the differences between cSIPSimple and Android's SIP stack?
What are the differences between Android's SIP stack and CSIPSimple's? One thing that I know of is that Android lacks STUN support.
I've used both but the call quality is far, far better on cSIPSimple and I'm curious as to why?

I understand I am commenting on the last post. But for future references :-
What I believe is, that CSIPSimple uses, audio codes, which are better than one provided in normal SIP Stack.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Restore home-screen auto-rotation after wallpaper change
On a pretty new Galaxy S2+, the home screen used to rotate when the device was rotated. After switching the wallpaper of home screen (and perhaps lock screen as well), using the Photo app shipped with the device, the screen no longer rotates. Not even after restoring the original wallpaper, and not after rebooting the device.
To set the wallpaper, I use the corresponding entry in the Settings. I then get a choice of target, whether I want to affect home screen, lock screen or both. When I choose both, I get a choice of Gallery, Live Wallpapers and Backgrounds. When I choose home screen only, then I get the same three but Photos as well. So that's the reason I believe I might have set both. All the item names were translated by me, the actual English versions might be called slightly differently.
How can I restore the factory default of an automatically rotating home screen, without completely resetting the device to factory defaults?

Does the homescreen auto rotate by default on the s2? It doesn't on the S3 or 4. Are you using a 3rd party launcher? Is it the stock Firmware that came with the device?

@RossC: It did auto-rotate when I got the device, with stock firmware and no 3rd party launcher. And it's the S2+, not the S2, in case that makes a difference.

Sorry typo on my part. The docs say it doesn't support this. Did you update the device to a newer android version by any chance? Touchwiz doesn't have homescren rotation that I can find on S3 or S4 here. Strange. Can you try this app and see if it helps at all? https://play.google.com/store/apps/details?id=nl.fameit.rotate

@RossC: Sorry for not replying any sooner. I did no android update. Could it be your testing S3 and S4 might have had homescreen rotation up to the first wallpaper change? Installing Ultimate Rotation COntrol doesn't feel good. For once it's only a demo, secondly it looks like it might have to place hooks all over the system to provide its features, and lastly I only want to restore behavior that used to be there, so I shouldn't need an app for that, except perhaps to edit some config. Where are these docs you mentioned?

Hmm that's odd, sorry when I said doc I had a manual for the S3 somewhere in the office that had no mention but didn't explicitly say that it wasn't an option either. I have no idea, I've never seen homescreen rotation on a stock Touchwiz ROM myself (not to say it isn't there of course). I'll keep digging for now I guess. Would you consider a 3rd party launcher?


text:
BlueStacks: Is there a keyboard shortcut for the menu button?
Instead of hitting the menu button with the mouse, is there any keyboard shortcut?

It's the "Menu" key on your keyboard usually located right next to the right "Ctrl" key. (It's the key that opens the right-click menu on windows)

Thanks but I'm using a Mac and that key doesn't work.


text:
Devices on adb are fluctuating
I have Ubuntu running on a Mac Mini with adb 1.0.31. I am trying to attach 3 devices directly and four devices via a powered hub. Every time devices attached start to fluctuate on adb after some time. For example I would see all the devices attached initially but within a few minutes last 2-3 devices will come and go on adb every now and then. Eventually more will behave same way.
I checked on dmesg and found this:
[ 1001.384481] xhci_hcd 0000:00:14.0: Not enough host resources, active endpoint contexts = 60
[ 1001.384495] hub 3-4.4:1.0: couldn't allocate port 4 usb_device

I have tried Fedora on Mac mini as well and I am seeing the same issue. I have tried on 4 different Mac Minis as well.

I've had the same problem when trying to use ADB on lots of devices on one hub. ADB uses a lot of the available USB bandwidth, so when many devices are on one hub, they can't all get the bandwidth they need. There are several suggestions you might try:-

Use ADB over the network instead of USB. If you don't know how to enable this on the device, there are a few apps to help you. Once it's enabled on the device, use adb connect ip.ip.ip.ip:port from the development machine.
Make sure the cables are plugged into a USB 2.0 port, not USB 1.1. USB 3.0 is even better if the development machine supports it. The different versions of USB are all compatible, but later versions have much more bandwidth.
Try a better hub. Cheap hubs are designed for plugging a USB storage device alongside a keyboard and mouse, and don't cope well with high bandwidth use. A professional-level USB hub will do a much better job - but it still might not be enough to connect all your ADB devices at once.

I have found adb via wifi a bit slow as compared to usb. Also the hub is of really good quality. It has 1.5 A out per usb socket and should not really be an issue.


text:
Will upgrade to Android 4.3 with Samsung Knox make my s3 impossible to root?
So my Galaxy s3 has finally offered to upgrade to 4.3.
I've heard Android 4.3 contains Samsung Knox which I have heard is a security feature that will make it impossible or at least really risky / difficult to root.
Is this true? Will I still be able to root my phone after I upgrade to Knox?
If I plan to root my phone after my warranty expires, should I not take this upgrade?

Depending on what version of S3 you have (there are 13 just looking at the wikipedia article), there could be different safeguards in place to prevent tamporing
Having KNOX installed is one thing, upgrading to 4.3 is another as some of the updates that Samsung has put in prevent certain types of expolots to get the bootloader unlocked and ability to boot a unapproved rom
A coworker of mine upgraded his phone to 4.3 and serious issues with KNOX not letting him boot. He had to downgrade all the way back to 4.1 and then upgrade back up to get a working phone. Needless to say, all of his data is lost.
If you are planning on rooting, do it now, upgrade to a rooted Rom with TouchWiz (like Carbon), or go full 1337 and get a CynogenMod rom and run Kit Kat
Rooting your phone kills the warranty, but there are ways to revert back to stock. Depending on the insurance you have on the phone, they'll take in a broken rooted phone. However, if some phone component breaks, and you have no way to get it back stock, you are sort of SOL.
There is a huge market for used phones, and if you have yours rooted, you give a bit of added value to the phone. Swappa is probably the best place to go out and sell your phone.

TL;DR: Root now, install a rom you like, get KitKat if need be, sell on swappa.
Source: Rootin' since 2009. Owner of multiple Samsung phones.

If you already have a Knox bootloader you can root and install Knox Free ROMs happily. I've done it on S3 and S4 (i9505), but the Knox flag is set to 0x1 and currently this cannot be undone. Once the ROM is knox free there is no implication other than warranty. And even in that case Samsung have said in some cases that Knox flag isn't relevant to the warranty that rooting is. It's a grey area right now. There are root methods for Note 3 that don't trip knox but ANY custom kernel/bootloader/ROM will then trip it immediately. (Also I got knox in 4.2.2 in a patch, so check if you have it already)

Sorry to double comment, my point was that if you don't have knox I'd root first as Zlatty said above, if you already have it maybe read a bit on Knox before you root, factoring in your attitude to risk and what you want from the device.

Anyone know if downgrading phones with KNOX pre-installed lets you circumvent it?  https://android.stackexchange.com/questions/65939/remove-knox-from-a-pre-installed-samsung-galaxy-note-ii


text:
updated HTC one mini screen black
I just updated my HTC one Mini and the bottom half of the screen is now black. Why? I have not done anything to it

What exactly do you mean by 'updated'? We need more information to be of any help.

it happens.Don't worry, its just a minor brick. you can recover it. What you have to do is, you have to flash your htc mini with a new firmware(either stock/cyanogenmod/any custom rom). But proceed by your own risk. Now follow up how to flash custom rom/cyanogenmod/ stock rom on htc mini on google. You should find your answer.
Good Luck!

But before that, just go to recovery mod and do these wipe data/factory reset and wipe delvic cache that may also solve your problem.


text:
Video output on audio port
I've seen phone that are able to output video from standard Android audio port or jack.
Given this, I am thinking of what are the possibilities of doing an android app that can output video from the standard Android audio port?
I am not sure but maybe those existing Android phones have video out hardware interfaced to the microphone part of the audio port (just assuming), and I am also assuming that the Android phone microphone input is not capable of outputting signals in any way we tweak it.
So I am thinking of outputting video signal through either the L or R audio port. If this is the only feasible solution, what are the things that should be considered?

Some devices has 3,5mm AV connector, 4 wires: ground, sound left, sound right, video. In some order. It should simply push current screen contents out through video wire.

You can't drive it through audio as video signal requires several MHz carrier and most probably those audio chips will not even near MHz. This means you would need audio stream with at least 12000000Hz sampling rate for video signal.


text:
Missing signal icon on lineage os
I've just installed Signal from an APK package downloaded from here on a LineageOS smartphone.
I performed the installation from a Linux laptop using adb:
$ adb install Signal-Android-website-prod-universal-release-5.32.15.apk
Success

Signal works OK, e.g. I could start it and set up an account, but I can only start it from the app list inside the system settings: There is no Signal icon at the top level.
I cannot find any documentation or any information on how to solve this problem.
Do you have any hint?
EDIT
Here is some more information.

Lineage OS version: 18.1, build 31st March 2022.
Smartphone: Samsung Galaxy A520F.
With top level I meant the home screen.

By "top level", did you mean (1) the home screen, or (2) the app drawer? Because, unlike installing from Play Store (there's a setting in it), installing by ADB won't automatically create an icon on the home screen. Otherwise, have you tried different 3rd-party launcher apps?

If an app icon is automatically added to the launcher depends on the launcher. You can add any app to the launcher by pressing and holding the icon in app drawer and then move it up to the button "add it to the start screen".

I have found it in the app drawer (thanks Andrew) and added it to the launcher by pressing and holding the icon (thanks Robert).


text:
How to make a complete backup of an Android device
I am quite new to Android and
I would like to be able to make a complete backup of an Android smartphone storage so that I can restore everything in case I mess it up or it breaks. My plan is to buy another phone of exactly the same model and restore my image to it so that I get exactly the same system back as the old one was at the time of the backup.
I have some experience doing this with a laptop. In this case I boot the laptop using an external USB stick with a live Linux distribution (let's say the USB stick is /dev/sdb after boot), attach an external drive (seen as /dev/sdc) that is larger than my laptop's internal disk (/dev/sda). From the live system I then do something like:
# mount /dev/sdc1 /mnt
# dd if=/dev/sda of=/mnt/sda.img
# umount /mnt
# reboot

The procedure for restoring the image is similar.
I have found some guides and questions on how to do this on Android but most of them show how to backup user files or individual partitions, which is not what I want.
I illustrate my questions with reference to this guide (from which I would prefer the adb + dd method, because it does not require to install additional software).
Question 1 The guide says that I should root the device: why is this needed?
Question 2 The guide shows how to make images of individual partitions but I would like to make an image of the whole system device with something like
dd if=/dev/mtd of=...

Would this work at all? Since I have to boot the device in order to connect to it with adb, will one or more partitions be mounted? Of course, I do not want this: all filesystems should be unmounted while I perform the backup.
Question 3 Is it possible to transfer the image over to my laptop directly, without writing it to an SD-card?

That's three questions.  On StackExchange you should ask one question per post.

Q1: You need root access because Android is designed this way. Users don't have access to everything. It is the same on Linux ( here you need root or a sucker user + sudo), the only difference on Android is that on regular Android devices it is not planned that anybody gets r lot access.

"That's three questions. On StackExchange you should ask one question per post.": My question can be summarised as follows: How do I do a bitwise image of the smartphone storage and copy it to my laptop without modifying it and losing the warranty? (As far as I know, if I root the phone or unlock the bootloader, the warranty will be invalid and all user data will be wiped.)

Does this answer your question? Can I flash Android on device with overwritten mmcblk0?

Does this answer your question? How to install a firmware without losing your data and restore the previous one in case it goes wrong?

Does this answer your question? Backup/dump kernel image (and full ROM) without root for Mediatek Devices

Does this answer your question? Recovering data from Mi 4c able to get only to fastboot

You could always use an app such as Google One to back up your device.

@Buzzyy: Does Google One produce a bit-wise copy of the smartphone storage device(s)?

@Giorgio I'm not too sure, sorry.

only emmc/ufs storage is accessable, bitwise copy is not possible at all as apps may use secure storage (Trustonic Kinibi or Qualcomm QTEE) and so for FBE encryption keys


text:
Backing up /boot /system /recovery on a Samsung A520F
I have purchased a used Samsung A520F on which I want to install a custom ROM. Before I start the installation, I would like to back up the /boot, /system and /recoverypartitions so that I can later reset the smartphone to its initial state, if I want to, e.g. in case I want to resell it.
I have already experimented with another smartphone of the same model.
On this phone I have installed twrp on the recovery partition using heimdall.
Using twrp I could back up all other partitions and then install LineageOS.
Using this method I lost the original recovery partition so I cannot reset the device
back to its original state. So, this time around I would like to back up the recovery
partition before installing twrp.
I have found this similar question but, as far as I understand, the answers to that question will not work for me because:

either I have to root my phone first, i.e. modify the boot and/or system partitions before I take a backup,
or I would have to use fastboot to boot into twrp without installing it, which is not supported by Samsung's download mode.

So, I am looking for an alternative solution e.g.

booting an alternative recovery image from the download mode without installing it, or
downloading the partitions I want to backup via USB, or
copying the partitions I want to backup to an SD card (I could not find such an option in the stock recovery, but maybe I have missed something?)

Do you have any hints?


text:
Samsung Galaxy Tab 3 not working with Android SDK
I can not get Samsung Galaxy Tab 3 to be seen in Eclipse Android SDK. I believe the problem is related to the usb device driver.
I loaded Samsung Kies and it sees the device fine, just not Eclipse.

Does the phone say 'USB debugging' when you plug it in? Have you tried changing the mode from, for example, camera to MTP (or vice-bersa)? Does running 'adb devices' show the device? Have you got the latest drivers? What version of the operating system are you on? Have you updated the Android SDK and the Eclipse plugin?

Kies includes the USB drivers for the device. Try running Eclipse as Administrator if you are using Windows. And all the advice above, do all that. We need more information really.


text:
Identifying whether display is broken or the motherboard
I assume it is possible to damage the motherboard / chips inside a phone if it falls on the ground. So my questions is, is it possible to confirm what has been damaged during the fall?
I don't want to end up buying a replacement display and then found out the problem is somewhere else.
The phone is JiaYu G3T (a Chinese brand), fell on a ground. I completely disassembled the the phone but I didn't find any damage anywhere, everything looks like new.
Pic 1. This should be black with a green logo, left part of the screen is darker than right

Pic 2. Again, half of the screen is darker, color problems at the bottom OR sometimes the same as the startup screen - grayscale-kind-of-inverted-colors display

You can use ADB to test phone functionality. ADB tool can be obtained from Android SDK. There are a number of test commands which you can use to test your phone. Steps are as follows:

cd to your ADB directory.
Connect your phone to PC via USB.
type the following command:
'adb devices' (without quotes)

You should see your android listed in the CLI. You can also enter device shell:
'adb shell' (without quotes)

List SD card contents:
'ls -l' (regular unix file navigation commands)

If you can access your device shell, it's most likely that your motherboard is working fine. There are several commands to check as well:
Sending user touch events to Android:
adb shell input keyevent <event_code>
1 -->  "KEYCODE_MENU"
2 -->  "KEYCODE_SOFT_RIGHT"
3 -->  "KEYCODE_HOME"
4 -->  "KEYCODE_BACK"
5 -->  "KEYCODE_CALL"
6 -->  "KEYCODE_ENDCALL"
7 -->  "KEYCODE_0"
8 -->  "KEYCODE_1"
9 -->  "KEYCODE_2"
10 -->  "KEYCODE_3"
11 -->  "KEYCODE_4" ..... etc

I don't see what any of the tests you recommend has to do with the display backlight failing and display corruption.


text:
Is it possible to Install cyanogenmod on Galaxy S2
I have galaxy S2 which I bought two years and still is in its Prime Condition with no scratches or smudges at all. So Im planning to install New Version of Android OS on it.
I like cyanogenmod So I want to install this on my phone. I have never flashed ROM on it. It still got the same Stock version of Gingerbread 2.3.3
And yes my phone is root-ed
Mobile info
Model No = GT-I9100
Android Version = 2.3.3
Kernel Version = 2.6.35.7-I9100JPKH1
Build No = Gingerbread JPKH1

Can someone please tell me what are the pre-requisites to install cyanogenmod
Thanks

Have you checked with the CyanogenMod Wiki? It has a dedicated area for the I9100. Depending on which version you want to install, you can check everything there. As this is subject to change with new versions, I won't re-type all the details here :)

Yes - you can install Cyanogenmod for the i9100 S2.
Get the CyanogenMod (nightly if you feel adventurous or stick with the stable since you're new at this) from http://download.cyanogenmod.org/?device=i9100
Also, you'll need to flash the appropriate gApps package from http://goo.im/gapps
I highly recommend you read through the major posts of this thread on XDA
Also, learn how to use CWM or TWRP recovery - Youtube has a number of videos. See how its done, before attempting to do it yourself, and of course - please back up your data to the cloud or to your PC / laptop / external SD card before attempting this and if possible, perform a NANDROID backup so you can revert back to how things were should the unexpected occur and you need to recover.

Thanks I will check it in this weekend. But first I have to buy some dumb phone as a backup I mean if I lose my Precious S2. I must have a backup. I will update you about progress. I'm a noob in this flashing thing

Maybe recommend a stable release not a nightly for beginners....

Which one do you recommed @p1xel ????

Try the stable first. Then if you want to try new features and test the cutting-edge versions, use the nightlies.


text:
How to avoid WhatsApp locking up my contacts
If there is a contact who has WhatsApp, the contact was locked from name changes and also create weird changes such as removing any white spaces in the name (even between first name and last name).  I like to keep the Whatsapp association but do not want to have WhatsApp taking over the contact changes.
What is the solution?

Go to Settings > Accounts > Whatsapp > My Whatsapp Account
Remove the account
Make any necessary contact changes
Open up Whatsapp
At this point, Whatsapp should re-associate your contacts with the existing users.


text:
Screen occasionally won't come on
I have what I believe to be a software problem with My Galaxy Nexus running 4.2.2. Occasionally the phone will turn it's display off, or I will manually trigger this with the lock button. Minutes, maybe hours later when I want to use the phone it refuses to respond to the power button. The screen will never come on with it. However, it will come on if a call comes through. Texts still vibrate the phone and flash the indicator. Holding the power to force the power off does not work, it requires removing the battery. Then it works like normal. Any ideas?

I have seen the same issue on mine. I'm afraid it's endemic to the phone. It may be related to the CPU being at 100% usage. Sometimes connecting or disconnecting the charger will kick the screen on. Removing and replacing the battery always works. But I don't think there's a real, reliable solution for us.


text:
Where do I get multiwindow function?
I bought a galaxy 3 tablet with 4.2.2 system. The multiwindow option isn't there at all.  I tried resetting the device but that did not help.

Pull down notification window, and enable it.


text:
How to remove a system file using adb shell?
I have an android system file in  /mnt/extsd/.And I wanted to delete that file.
root@android:/mnt/extsd # ls -l
d---rwxr-x system   media_rw          1980-01-01 00:00 clockworkmod
root@android:/mnt/extsd #  rm -r  clockworkmod/
Aborted

So, I remounted the system in write mode and tried the same with no luck.
root@Tron:/home/aswin# adb kill-server
root@Tron:/home/aswin# adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remount succeeded
root@Tron:/home/aswin# adb shell rm -r /mnt/extsd/clockworkmod/
Aborted

I tried to set a 755 permission by issuing these commands , but they wont work.
root@android:/mnt/extsd #  ls -l
d---rwxr-x system   media_rw          1980-01-01 00:00 clockworkmod
root@android:/mnt/extsd # chmod 755 clockworkmod/
root@android:/mnt/extsd # ls -l
d---rwxr-x system   media_rw          1980-01-01 00:00 clockworkmod
root@android:/ #  chown root /mnt/extsd/
Unable to chmod /mnt/extsd/: Operation not permitted

How can I fix this ?

Have you checked whether /mnt/extsd is writable (ls -l /mnt |grep extsd)? If it is not, you can neither chmod nor rm its direct contents.


text:
Galaxy Note 3 requiring pin for lock-screen due to e-mail account
After syncing my work email with my new Samsung phone I received an on screen notice that in order to have the account synced with my phone I was required to have a password on my lock-screen.
This is very aggravating to me to constantly have to enter a pin over and over. Is there anyway to have both the email account but no required pin? I have gone to settings>Lock Screen> Screen Lock but can not seem to find what I am looking for..
Any advice would be appreciated.


text:
Error installing apps
I'm trying to install a game on the Play store, and I get the following error every time:

Sorry, we had trouble processing your request. We're working on fixing the issue. Please try again later. [BM-PPH-01]

I've been trying to get this fixed for almost two months.  Android support directed me to the app developer's support, who in turn directed me back to Android.
It doesn't matter whether I attempt to install from my tablet (Toshiba AT300), my phone (HTC Evo 3D), or directly from the Play store.  I get the same error from all thee.

The answer can be found on our sister site StackOverflow, with the question Google Play Alpha App BM-PPH-01 Error:

BM-PPH-01 error message is usually shown when there is an incompatibility between any of the three App,Google Pay, Device.
The incompatibility can be the device's location such as Google play features not available when device is in China . An app can be restricted for downloading in US only.

This would explain why "try later" might not work in your case: if it's either your device or location, and you didn't change either of the two, the cause would have remained.
For more details (ans helpful links) see "over there".


text:
Is it possible to watch Youtube videos on the Youtube App while multitasking
I currently have Kit Kat 4.4. Is is possible to play a Youtube video in the background or while multitasking like checking email,  use other apps or surf the web on Android? As of right now, I have to have keep the Youtube app open and can't get the video to play in the background while I do other stuff on my phone.

Official answer: no. The youtube app was changed about 2 years ago to ensure once it wasn't focused on, it would stop, including locking the screen. In actuality: http://www.pcadvisor.co.uk/how-to/google-android/3447673/how-play-youtube-videos-in-background-on-android/ This may work and there are other work arounds. Supposedly they will improve the feature in Youtube itself according to this article from October: http://venturebeat.com/2013/10/23/youtubes-android-app-to-finally-let-you-play-music-in-the-background/

This is possible due to some features on custom ROMs (like Paranoid Android's Halo) and multitasking on some TouchWiz devices; of course, this requires you to completely modify your device. Alternatively, Floating Apps allows you to have an instance of an app (ie. YouTube, Vimeo, Video Player) floating above other windows and does not require root.

Use multi task option of your phone. Your screen will be split into 2 parts, you can watch Youtube and do other stuff. You can also change the formation of the screen so 90% of the screen is browser/email etc en 10% of screen will be youtube for listening music.
I am pretty sure Android Kitkat can do that – I am doing it right now.

Two things: First, please don't use txtspeak (write full words) – many of our users are non-native English speakers and already have a hard time without slang. Second: The feature you describe IMHO is not available on all devices, but rather vendor specific – so you should at least mention the device you're using ;)


text:
Changing default video player in Google Chrome for Android
tl;dr
When you open any video, default HTML5 player is used.
What I want is to make Google Chrome to use custom video player whenever it wants to playback a video
Longer story
My real goal is to stream video content from Android to AppleTV via AirPlay. I found a nice app called streambels which is capable of doing that.
The only problem is when I am trying to watch video on Google Chrome, I can't stream it so if I could change the default video player would allow me to pass the video to broadcasting app. And life would be so great :)

I use the BUBBLEUPNP application.
Once I click on the link, Chrome asks me what to do; Chrome or upnp app. I choose the upnp app. Once the UpnpApp is open it asks me what video player to use.

Use Dolphin Browser.  I think what you are asking is impossible for now on Chrome.

Have you used this app and made certain that this will solve OP's question? If not, then please post a brief description of this app to show why OP should use it for the relevant purpose.


text:
OS X utility to create stock images
Before I spoil my new HTC One.
I needed a little help with the following

Create a backup of the recovery
Create a backup of the system
Create a backup of anything that maybe required to bring the device to factory defaults

I am not interested in backing up SMS, Call Logs, and any user data.
The phone is not rooted. It has literally been taken out of the box and I walked thru the setup wizard to turn on USB debugging.

adb backup might be a good starting point. But for a complete backup to restore to its original state, it would be preferable to have a Nandroid backup available. Unfortunately, that requires at least a rooted device (to clone the partitions with dd), even better with a custom recovery (to use the Nandroid utility). Obviously, after rooting it's no longer factory-state – and after installing a custom recovery, the stock recovery is gone...

@Izzy You seem knowledgable about this. Can you please tell me "step by step" where I can get the stock recovery image for the HTC One M7 (T-Mobile). I searched the Internet and found http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html but I don't want to screw up my device.

Unfortunately I can't; my list of devices and time to experiment is limited. But you might wish to take a look at Where can I find stock or custom ROMs for my Android device? With some luck, your source is listed there. Also, XDA is a good starting point for such things (if you don't get a answer here in time).

XDA is great but people take forever to respond. I've posted there in Dec and have not received any update to my thread!!!


text:
Keyboard punctuation
I just updated my phone (Galaxy S3) and I don't like the new way auto prediction works, it keeps trying to predict the next word instead of giving me quick access to the punctuation. Does any one know if there is a way to have the auto prediction just give you a list of punctuation once you hit the space bar instead of trying to guess the next word?
When I originally got my phone last year when ever I finished texting a word and hit the space bar, the auto prediction bar would show all my punctuation and that was great. Than I did an update a several months ago, and the auto prediction started giving me next word predictions instead, the only way I could find around that was to double tab the space bar, than hit backspace/delete, and that would allow my auto prediction to once again show the punctuation available. It was a few extra clicks but at least it was still quick access to punctuation and didn't slow down the flow to much. But with this latest update auto prediction only seems to give word suggestions, I can't find anyway to make it show me punctuation. Any help would be appreciated. Thanks all.

You might try a different keyboard.  Hacker's keyboard's (my preferred keyboard) autocomplete seems to do what you want.

I have a galaxy Note 2. I opened a new message and at the top of the screen is a keyboard symbol. I pulled down the screen to then be able to "choose input method" which I tapped on. I then tapped "set up input methods" and tapped the settings icon next to "Samsung keyboard" which then allowed me to de-select predictive text. I've now been able to customise my settings a little.

If you're using Google keyboard turn off Next-word suggestion option in settings. This way you will get the bar back after finishing each word.


text:
Why removed apps use mobile data?
Android 10
When open mobile data usage ,write that removed apps use data.
Why removed  apps use my mobile data,how stops this and how properly delete them forever?
Why they use data if they are uninstalled?

That is a monthly total. Did you uninstall those apps a month ago?

this site dont has purpose if it closed question before someone answer..I find here answer:https://www.reddit.com/r/AndroidQuestions/comments/45vf2v/help_removed_apps_and_users_using_up_2gigs_of_my/   .....now you can delete my question


text:
Does using two SIM cards in a smartphone drain the battery more?
Does using two SIM cards in a smartphone drain the battery more? If yes, what does the phone do differently to cause a higher energy consumption?
If take out one SIM card, is it true that the phone still transmit microwaves towards cell towers for this free slot?
Does phone trasmit more EM per unit of time when use two SIM cards?

Dual SIM smartphones only have one antenna, so they have to switch between SIM1 and SIM2. If one SIM slot is empty all actions related to that slot are simply. As the phone already scans all cellular towers nearby an empty SIM2 slot should not cause any battery usage. Only if a SIM card is inserted switching between the networks/cell towers should have cause a slightly more battery usage as the time sender/receiver unit is active increases.

@Robert So we can say in unit of time two sim phone transmit more microwaves toward cell towers?

The phone has to keep connection with two towers and if you move around it also have to perform a hand-over to the next tower twice that often, so yes there should be a slightly higher battery consumption.


text:
Display glitches in certain apps
Device specs

I have so far only noticed this problem in Quora app, and Chrome (some pages). But these are the apps I almost always browse the net with. I did not notice any such issue offline.  It has been around three days.

These are just a few examples of the types of glitches that occur.
I have tried:
-uninstalling Google's WebView after hearing of a recent update causing trouble
-forcing GPU rendering.
-Reinstalling Chrome and Quora.
Just in case this helps: I had observed text glitches on Chrome for quite some time before this started. Usually, one or a few words would be disfigured. Changing zoom would correct it. Also, today many files of mine have disappeared. They aren't hidden, just nowhere to be seen.
Oh yeah and

Do you encounter the same problems with the pre-installed manufacturer browser?

@MorrisonChang apparently not.

I would also check in Firefox as they use a different render engine. If rebooting the phone doesn't clear the problem up in Chrome, it could be Chrome graphics driver issue or hardware fault. You may want to file a bug report: https://support.google.com/chrome/answer/95315?co=GENIE.Platform%3DAndroid&oco=1

@MorrisonChang I forgot to mention that I rebooted

The only thing that worked for me was disabling "GPU rasterization" in chrome://flags


text:
A515F Global version in Bootloop
Anyone, please help, I charge the phone overnight at normal, wake up in the morning the phone is in bootloop Forever! (It's Samsung A51 Global version, A515F with the 5/18 firmware stock ROM, NO rooting, No custom ROM)
I even try Reiboot's repair function multiple times and it didn't work.
It did re-apply the latest Firmware to the phone for me but still cannot boot to android.
The phone is able to boot to recovery mode only, I cleaned up the dust of the internal also as it has no warranty at all. I am not attempting to fix the phone, I just wanna pull all the files of the internal memory back before I can factory reset it in Recovery mode.
I have the USB debugging activated. Any questions or details please ask, I can replace it with a new phone, but at least I can pull the data out, or better yet, able to boot it to the android system, I tried the safe mode method NOT working.

try to capture logcat (and share via pastebin.com if you are not concerned about privacy)


text:
"File as" not working for Contacts
Many contact management tools (such as Google Contacts or Microsoft People) have a field called "File As", which allows to save a contact using a nickname, while keeping the first and last names hidden, just in case you forget who they really are.
It would be really useful, but it doesn't work at all on Android. While the contacts are displayed correctly on the web app, Android applications like WhatsApp still display my contacts by first and last name.
Is this a Google/Microsoft problem or is it caused by android/WhatsApp itself? Is there any workaround to make it work (at least for WhatsApp)?
It's ok for me if it involves coding or installing an unofficial version of any application, but it would mean a lot to me if I could fix this issue for me.

Looking inside the Android Developers reference I couldn't even find any information about the "File As" field, so I wouldn't know where to start!

Apps can query the address book of your device. How they display the different address fields is decided by the developer of the app. Therefore if Whatsapp does not show the contacts the way you like then this is a problem of Whatsapp.

@Robert thanks for your response. Is there any way I can make WhatsApp think that the file as field is the actual contact's name? As said, altering the app or the address book is ok, as long as the contacts on my Google Account remain the same...

Related: How can I make WhatsApp use the "File As" field?


text:
interface blocking when answering the phone on a Sony Experia U
I am experiencing a weird behavior with my Sony Experia U
didn't happen before,
When someone calls me I answer my phone and the interface gets stuck after swiping the answer button, it continues to vibrate or ring...
the other party hears everything but I can't take action only after like 4 vibrates time
so 3,4 seconds...
It's very annoying....
I use android 4.2.2  with the original firmware from sony..
I looked if I have some weird widgets or installed apps ..none...

I remember a similar issue years back on Eclair with one of my devices. Flashing a new (updated) radio firmware image (provided by the manufacturer) solved the issue then. You might want to ask your service contact for that.

is this something that can be done with the pc software ? i am a pretty computer wise guy ..so unless I need some unblocking codes I can reflash it

Too long ago for me, but yes. If I remember correctly, it's nothing more than placing an update.zip on your SDCard, and flash it from recovery. Trick is to find the update.zip. Where can I find stock or custom ROMs for my Android device? might be a good starting point on that, too, as often RUUs are mentioned along the ROMs.


text:
mobile homescreen lost
I have downloaded 2 icon packs for android. Now my phone don't work anymore.
I am working with smart launcher.
I can not even get in to settings or apps. My homescreen is black, but I can see on top the task bar, with notification for emails and our and I have netconnection.
what can I do??

What exactly are these "icon packs" you've downloaded?

Also, what Android version are you using? Please [edit] your question to add these details, so we can help you.

Try to go to setting by any way...
Like: in some launch screens you can get the settings screen via: options->Device settings or Drag the task bar ->Settings.
And then change the Home screen settings to previous home screen.
If these options not available, I think Factory Reset is the only option for you.

If your phone is connected to the net, try to install any other launcher from the play store website, for example:
https://play.google.com/store/apps/details?id=org.adw.launcher
Wait the installation to finish on your phone, then press the home button. Now you will able to uninstall then reinstall SL or any other launchers.


text:
Mobile Network disconnects during an incoming call
My mobile network normally remains connected so I can use apps like chat, whatsapp etc. However, during an incoming call the mobile network gets disconnected. Is this normal behavior ?
There is an app called TrueCaller that is supposed to show the caller details when there's incoming call from an unknown number. But since the mobile network disconnects during an incoming call this app always fails to show the name and shows an error message "unable to connect". It seems the normal behavior is for the network to remain connected during an incoming call.
I'm using Android Jelly Bean, 4.2.1. And previously had used Gingerbread (2.2.3) and Froyo (2.2.1). I experienced the same problem in all these 3 OSes.

May be depends on network provider.. Because for me internet works even on incoming/outgoing call..

This is normal if you are using a CDMA carrier, such as Verizon or Sprint.  GSM carriers like AT&T and T-Mobile can allow simultaneous voice and data, but CDMA cannot.  This is supposed to change with LTE devices, although last a checked it wasn't working with all of them on Verizon.  If you have a CDMA 3G only device it won't work.  I'm not positive but I think even with an LTE device on Verizon that supports simultaneous voice and data it still won't work if you are out of LTE coverage area.  I used to work for Verizon until a few months ago and this seemed to be the case.


text:
After using lock screen 3x I decided I don't want it
I cleared all certificates from settings, lock screen.
Not sure how to proceed since I can't get certificates back. I changed to a 30 min delay for lock screen but it is still inconvenient to type in every time I want to use phone.

Welcome to Android Enthusiasts! It's great to have you here, but I'm not sure what you're asking. Could you [edit] your question and add more information? You may also want to check our How do I ask a good question? page.

Is the problem that you added a certificate for a VPN, or Exchange, or something similar, and now you can't turn the screen lock off?

It is possible you are confusing "Lock Screen" with "Screen Timeout".
Lock Screen will provide security to enter the phone.
The Display Timeout will turn off the Display to conserve battery. This seems to be the one to which you have chosen 30 minutes. On my phone this is the longest natural timeout for the display, though you can possibly exceed it (I have) with an automation tool like Llama or Tasker (maybe).
To disable the Lock Screen, see Settings > Security > Screen Lock, or possibly even the shorter path: Settings > Screen Lock.
Select "None" to eliminate the need for a PIN. You may have to provide the PIN one more time to accept as a credential.


text:
Nexus 7: Assert failed: device == grouper when trying to install some roms
So I have Nexus 7 (not the 2013 one), Wi-Fi version, with TWRP recovery, version 2.6.3.1 installed.
When trying to install some roms, for example, SmoothRom, or PAC, installation fails with following message:
assert failed: getprop("ro.product.device") == "grouper" || getprop ("ro.build.product") == "grouper"

the problem is, I'm 100% sure nexus 7 wi-fi is grouper.
Some other roms, like cyanogenmod install OK, but I'd like to try something else.
So, what's the problem, and how can it be fixed?

Interestingly I had this exact same problem.
It seems to be an issue with the latest version of TWRP. I solved it by downgrading TWRP to 2.6.3.0 - I'm assuming there must be a bug with the 2.6.3.1 version.
That should work (as my scenario was the same: Nexus 7 (1), TWRP and the MIUI ROM).


text:
messaging push notifications won't work after 4.3 update?
I updated my Samsung galaxy s3 to 4.3 a few days ago, and ever since then, push notifications for the built in messaging app hasn't been working. My phone doesn't ring, the icon doesn't appear in the back on the top of the screen, and the lock screen doesn't show the previews. I have to keep manually checking if i have new texts by opening the app, which is annoying and inconvenient. The sound works for other apps so I know that sound isn't the issue here. Does anyone know how to fix this?!

Could you have turned on Blocking mode by accident? There's a button for it in the notification tray.

Could it be, that for some reason--aliens, loch ness, etc.--that some of the apps have "show notifications" checkbox unchecked? To check, go to Settings->Aps->whatever SMS app and see if you have a Show notifications checked.
Also, have you tried using Hangouts as a replacement for texting?


text:
install MySQL or any other lite weight database?
I have a android mobile with version 4.1 Installed. for my practices I am thinking that  it would be nice if I have a database in that.
If it is MySQL I would love that. could somebody tell me how can I install MySQL in android ?
Thank you.

Android comes with SQLite. That should be adequate for most applications.

can u setup replication to an online mysql server when the device gets internet connection it copies the whole local SQLite db to an online mysql db?

There are some packages on Google Play you might wish to check:

Bit Web Server (PHP,MySQL,PMA)
Ulti Server: PHP, MySQL, PMA
KSWEB: server + PHP + MySQL

As the names suggest, all these are web servers bundled with MySQL and some scripting support (PHP). A search for mysql might reveal additional candidates.

Bit Web Server, Ulti Servers, and ksweb is not free
Palapa Web Server is free but I can not connect to their Mysql Server on Android x86 CPU.

Well, there is a Free and very lite Mysql Server for Android that support all cpus (armv6, armv7, armv8/aarch64, and x86).

What is your connection to this product? You seem to have responded similarly to recommend this product multiple times today.

I commented you at https://android.stackexchange.com/a/173659/218252


text:
Setting gmail to sync / push / notify on wifi only?
I have a droid mini that is running 4.2.2 and I want gmail to only sync automatically on WIFI only; never on 4g / network / whatever. How do I do this without rooting the phone?
When I first bought the phone, gmail allowed me to chose to sync on wifi only (and by sync, I mean that it would notify me of new emails and download them or what not on wifi only). This is how it was originally set up. I work for a local cable company and this was great. I know this is how it was originally set up because 1) I set it up that way and 2) when I setup up new internet connections in customer's homes, I would use the wifi on my phone to verify that their internet was working. As soon as the wifi would connect I would usually hear my phone announce I had emails, letting me know the wifi was connected.Then today, I was having an issue with Google play store. I took my phone into Verizon where they claimed to only have 'soft reset' the phone. Now, not only does gmail download / notify /syn (whatever) whenever it wants but the setting for wifi only is completely gone. I distinctly remember something like 'sync on wifi only' or 'push on wifi only' or something like this. I assume there has been some update or something recently and I have no idea how to check this. I would, however, be happy to uninstall the update if i could get it to work on wifi only again.

So long story short, how the hell do I get gmail to 'whatever' on wifi only without rooting?

You can use an app like Llama or Tasker to activate sync only when on WiFi. If you turn off sync, that also turns off syncing of your calendar/contacts/tasks et al in your Google account.
The Gmail app should have an option to only download attachments via WiFi within your specific account options.

I would definitely recommend Tasker. IF you google around you'll find some good tutorial videos as Tasker is not super easy to figure out. However, once you do, you're in automation haven!


text:
Append to txt (plain text)
Problem
I want to append to a txt-file from my android. Just like Drafts does would be nice, ie:

Open the app
Type
Hit a button
Choose what to do (this is where Drafts shine; I can choose to email somebody, append to a txt, google it, create an event in my calendar, etc)
Close the app

The point is: I want creation to be fast and not have to hit a lot of buttons.
Possible solutions
1) Dropsync
Storing a file on my SD-card, and having it synced with Dropsync is an alternative, but two problems would occur

I have to turn on dropsync to sync very often, which is hard when you own a Nexus 7 and not a phone since I don't have wifi everywhere
frequent syncing would lower battery levels a lot.

2) Evernote
Worst case, I could settle upon append to a note in evernote.

Looks like a job for Tasker, but might not that easy to set up. You can append text to a file with it, and there are at least 3 addons tor Dropbox communication; so you could trigger the sync to take place right before typing and a second time after appending. Just a raw idea; I didn't create such a setup, hence no full-fledged answer.

it is a problem because I don't have 3G internet access everywhere - the sync would fail.


text:
How can I determine what is causing my Nexus 4 to freeze?
I have a new-ish Nexus 4 with Cataclysm ROM installed (rooted, 4.3).
The device has recently started freezing - being unresponsive to button presses, but with the white LED pulsing. I have to long-press the power button and then press it again to restart.
It used to freeze occasionally - say, once a week - but over the past week or two it has started to freeze every day or at least every other day.
I cannot think of a recently-installed application or setting change that might have triggered this.
I'm wondering if there's a way for me to determine 'when' the device freezes and 'what' it is that's causing it to freeze, ideally so I can determine whether or not it is the ROM or the device at fault. Is there an application that can log device behaviour and be read by a semi-technical user like me?

You may want to look into using adb logcat. Google has a documentation page for it over here. There's also a question on our site called How can I view and examine the Android log? that you may want to check.

Probably the best way to determine if the rom is at fault is to jump back to stock rom and run that for a while, if you're still experiencing issues, then it's almost positively a hardware issue.  Logcat is a good solution after you've determined it's not a hardware issue, so you can post back the information to the rom developer(s) and it can be correctly debugged.

I might get murdered for this one, but CyangoenMod has been quite buggy and laggy for me on my HTC One, Nexus 4, HTC Desire, Galaxy S4 to various degrees. I've moved from it to an ASOP / Wanam Xposed combination so I have a stable OS with all the customisation I want. I'm not knocking CyanogenMod they're a great group but I would definitely try another ROM first as the others suggested.

There are some ways to pin down your problem. The easiest way should be reading out the last_kmsg which is normally stored under /proc/last_kmsg. The kernel logs everything in there and it can be read until the next reboot.
So reading last_kmsg always shows things that happened before the device rebooted the last time.
Another way would be using "adb logcat" or - more comfortable - the app Catlog which can record your logcat into a .txt file on the SD-Card. Be advised that logcat is not the same as a kernel message but it also includes messages from user space apps and UI stuff.
If I'm allowed to make a wild guess, I'd say that it's the ROM's fault (e.g. undervolting or something else going wrong).
Best regards!

I'm hoping it's the ROM and not the phone. I'll try the methods you mention next time the phone freezes.

Just tried reading last_kmsg and it wouldn't open with a text editor. Tried sending to Dropbox and it wouldn't. It wouldn't even copy to another location on the device.

Looks like you don't have the right to read it. Are you trying to read it as root? What are the file properties? It should be -r--r-----.


text:
Huawei Ascend P6, Moving maps to external sdcard
I bought an Huawei Ascend P6, which comes with 8GB internal phone storage. But only ~4GB are available for the "internal storage".
I installed my apps, which include Tomtom Europe and Copilot Europe, which respectively have maps of about 4 and 2 GB. Both of them only install the offline maps in the internal memory for this phone.
I am trying to find a way to install those maps into the external SD.
I tried, without success, the following solutions

trying to move the apps to SD card after installing the maps. The App gets moved, but the maps remain in the internal storage.
trying to create a symbolic link installing a terminal app and using the ln -s command. But it doesn't work since the /mnt/sdcard (internal memory) is VFAT.
I tried some apps to move applications to the external SD card, but no success yet. (tried Link2SD)

Any help would be appreciated.
I read that FolderMount App can solve the problem, but it only works for rooted device. But my device isn't rooted (so, if anyone does have a good tutorial on how to root this device, it would be appreciated). But if possible, I would avoid rooting.
I still have the last try in the arsenal, which is enabling the debug mode in the cell phone and trying to use the command pm set-install-location 2 via adb or a terminal emulator app. I didn't try this yet, since at the moment my phone is installing the firmware update.
Any help would be appreciated.

I'm afraid there's no solution without rooting the device. Only things I know for such cases are FolderMount (as you already mention) and DirectoryBind; both require root access. That only leaves to either root your device, or have the resp. devs fixing it in their apps.

the pm set-install-location 2 command didn't solve. I saw that modifying the app configuration files manually in a special "procedure" can address the issue for co-pilot. I am sure that the same thing can be achieved by altering the files (currentmap.dat which is binary and .metadata.xml and maybe some other files). Those are the last resource I'll try tonight, then I'll give up and start trolling on the support forums for those apps.

I solved the issue this way: I sold the Huawei Ascend P6, and bought a Google Nexus 5. And it works much better.

I was just about asking you to make that an answer – but for obvious reasons, that doesn't make much sense :) Glad the problem is solved for you, though I'm less happy about the kind of solution it required… Still wondering how you're moving apps to the external SD card on a Nexus 5, though #D


text:
Android IoT device using excessive data over random ports
I have a large number of rooted IoT devices from an industrial supplier that are meant to run as an advertising unit. The goal was to install a standard piece of advertising software designed for android and configure it in it's housing for deployment. These devices are running a rooted Android 6.0.1 Kernel Version 4.1.17-g900299-dirty
However some of these devices are consuming insane amounts of data - over a 30 day period, 300gb of ethernet data is being used by the device, this is according to the Data Usage view within the OS Settings. However the application causing it is "Android OS"...
I used a packet sniffer to perform a couple 30 second packet captures as well as a couple longer ones. I reviewed the data and I see that across each device affected the port is random, but it's consistent that there's always 1 port transferring 80-90% of the data seen in the capture. The traffic seems mostly upload traffic (bytes sent from device to remote host), but that hasn't always been the case. Triggering a reboot seems to cause the service to pick a new port during boot.
I tried using netstat -tulpn in termux to check what process is using this, but the pid section is blank across the board. I see this port is listening, though.
I've looked at lsof -i | grep <port> but nothing comes up on any of the affected devices.
ps aux | grep <port> is not returning anything either.
Within the captures, it seems like there are a couple consistent hosts that they're reaching out to within a single device, but across devices this is not true. However I'm noticing that the remote host port we're contacting tends to be 4001... is that relevant?
I've read that it's possible it's an OS Upgrade issue where we're downloading updates that somehow fail and cause this awful cycle... but when I looked into the services running that it seems like it's already disabled (as referenced here: Google Play Services High Internet Consumption )
Does anyone have any suggestion of how I can track this down and stop it?

If you have multiple of those IoT devices use use and place it in a network you monitor via Wireshark (especially check for DNS requests to understand which server the devices communicate with). My guess would be that those devices are infected with a malware (e.g. crypto miner or ad fraud clicker). The only question is if they have been infected after installation or if they come "pre-infected" from the manufacturer. Regular updates are 99% of all cases delivered by a http(s) server on port 80 or 443.

@Robert yes that was my fear... I did use wireshark for this, the hosts being connected to are anonymous, reverse dns lookup hasn't yielded any information other than they are cloud hostings themselves. Good to know that google sends updates of http/https. Thanks for your feedback!

Just to clarify Google does not send any updates. Android updates are provided by the device manufacturer. And the device polls for them using configured update URLs. If you don't see DNS queries at all communication is done on IP level which would be really suspicious. Make sure to first start your sniffing environment and then boot the device to be checked.

I have found the issue. It appears that the application Apache Storm was loaded onto these machines.
It was being called by a shell script install-recovery.sh that was sitting in the /system/bin directory. This shell script was being invoked by the init.rc script, a quick search for the shell script name in the init returned it being called as the flash_recovery service. Pretty sneaky...
To address some other issues I had, I couldn't find the pid or process name in netstat because I wasn't the right user, swapping to the root user using su was wrong, I needed the tsu package so that I could retain the bash environment scripts that termux was giving me - going to root caused me to enter a different shell type that had different commands, which is why netstat was failing.
Hope that helps someone in the future.
Thanks


text:
Can't upload files to Google Drive from ES File Explorer
I opened the Google Drive app and tried to upload files using ES File Explorer, but it said upload fails. It gave two options, upload in the normal Android way, and file way (if above fails). I tried both, but it failed.
Some of the files having the same types did upload, but some exact same PDF didn't.
The system and apps are up to date.
Device - POCO X3 PRO(india)
Android version 11
MIUI - 12.0.5(Global)

Could you mention the device model and the Android version?

I don't know how to ping here, xd

Use @ followed by user's name to ping them. Example: @Natsu21

Oh i don't whom to ping, i thought people will view this questions without any mentioning, any suggestions? @firelord


text:
how does an android rom decide the amount of phone memory?
I used to mod symbian roms, and would like to know if it is possible in android to allocate extra internal storage memory, by removing unneeded apps, as packed by OEMs.
[NOOB ALERT]
if I manage to find a custom ROM that is smaller in size, does it mean I get more free memory?

Recommended readings: file-systems tag-wiki / Android Folder Hierarchy. These two should get you started on this topic. Apart from this, Dan's answer below gives you additional useful hints, including risks involved.

On an Android device, the internal storage is split into multiple partitions. The data from the custom ROM is stored on one partition, and the apps and user data on another. (Generally there are a few other partitions as well.) Because of this, installing a smaller custom ROM doesn't directly give you more free space for data, because they're on a different partition. But if you can make a smaller custom ROM, it allows you to repartition the storage to allocate more space to user data.
Repartitioning the storage is quite risky, as you have to know exactly how large the custom ROM is going to be. If the system partition is too small for the ROM, it will go wrong when or after you install it.
I believe it's more common to simply add some useful apps to the custom ROM, to make it up to a similar size as the stock ROM. This way, you can avoid installing some large apps in the userdata partition, giving you more space without repartitioning. Since updates to pre-installed apps get installed in the userdata partition, not the system partition, even including up-to-date versions of those apps in the custom ROM saves space.


text:
How to setup an Android tablet for use by an older person
I consider myself fairly competent with tech, but I am more of an Apple guy so I had very limited exposure to Android, so far, and my problem is that I want to set up an Android tablet (Acer Iconia 16GB, running Android 4.2.2) for usage by an older person (my mother).
For the time being she will only use Skype to communicate with relatives and friends.
How can I set up this so that it works basically as a single-purpose device?
Are there any utilities or apps I should install?
(For example I noticed that the font, even at the maximum size, may still give her problems- she will use Skype for voice/video only, so screen space for text is less important than being able to read messages and labels).
I am also worried that notifications (including the ones about patches/updates) may give her anxiety, at least at the start, so I'd like to know if it is possible to disable most of all of them.
If anyone has other suggestions for this use case, even if not explicitly mentioned in my question, please contribute. It's my first attempt at this so I may be missing a lot.

You would probably wanna:
-Setup a launcher like Nova Launcher (my personal favorite) solely to setup gestures for daily used tasks like calling and viewing SMSs.
-With Nova launcher change the icon size to maximum (130% i guess) to make icons more visible.
-Go to Accessibility and change the text size. Since it varies from manufacturer to manufacturer, the customizability may be different. Tinker around in the accessibility settings to find something useful.
-Change ringtone, notification sound and alarm to something loud and distinct.
-Turn on Haptic FeedBack in Sound settings (varies from manufacturer to manufacturer again)
-De-clutter the home screen! May even want to sort them by folders (drag an app over the other)


text:
Why: My phone will not install downloded apps. Will not calculate Storge usage % (Audio, Apps, etc.)?
My phone wouldn't install an app the other day (jefitt) so I tried looking at the internal memory (% usage for Audio, etc.) and it wouldn't calculate it (just showed the calculating status for 4 or 5 minutes then that detail went away, replaced by just "Internal Storage).
I deleted a bunch of files and then tried again and JeFitt installed. Internal memory was low (about 200 MB of 8 GB free) so I thought maybe it was a bit constipated.
Now it's doing the same thing. Tried installing a couple of different apps with the above symptoms.
What I've tried:

Deleted files so that I have 1.2 GB free on internal memory, 2+ GB free on SD card.
Booted into Safe Mode with the same symptoms
Simple Restart and Soft Reset with same symptoms.

This is a Motorola Razr M (Micro) with Android 4.2

lol, Android's internal memory is "constipated". brilliant! :D oh dear, ok seriously, first thing first, are you rooted? If so, using root explorer or equivalent, you may find a directory called /data/tombstones and /data/anr in which there could be log files filled up in there, that can be the culprit, it would be safe to delete them.

I am rooted, but have not installed a custom ROM. And I don't have a /tombestones/ directory on either the SDcard0 (internal mem) or SDcard1 (sd card)

the directory /data/tombstones is on the system partition, not on the sdcard.

@t0mm13b  Not sure how to get to Tombstones so posting that as a seperate question:http://android.stackexchange.com/questions/61624/


text:
How to check if a phone can be rooted? Can the Fujitsu Arrows 201F be rooted?
I want to have a phone that I can root.  Today, I'm trying to purchase one.  I want to know if my phone can be rooted in advance.  The selections of phones from my provider, Softbank, is limited and the phones are all outdated.  But I have a discount, so I want to get one of them.  The Arrows 201F is the phone with the best battery life, so I want to get that one.  But first, I want to know if it can be rooted?  Can it?  And if not, how do I check the other phones at Softbank to see if they can be rooted?

You could check our rooting index to see if it's listed, and has a rooting solution mentioned. Searching the web, especially XDA is another good approach. No guarantees, however, for any results :)

@Izzy Good comment, man.  I threw up a post for the 201 and 301 on XDA.  They're looking into it.  I've found I need to learn some basic stuff about rooting phones.  For example, can roms for one phone be used on another?  Can sudo-access programs be run on similarly-modeled phones.  Of course, I had already checked the index prior to asking.  Naturally, the phone I've mentioned isn't listed.

@Izzy Read this post: it's an offshoot of the link you gave me: http://forum.xda-developers.com/showthread.php?t=2239958.  The guy says: 'Just try it!  If it doesn't work, shoot me an image of the issue!  Hand me a PM!'

We have plenty questions on those topics as well. Recommendation: Check the corresponding tag-wikis and frequent questions, e.g. on rom (short answer: ROMs are device-specific due to hardware and driver issues). Superuser and SuperSU on the other hand are not device specific. // And yes, there are several rather generic rooting methods, also listed in our rooting index :)

@Izzy You know, man: I don't even know if I want to root it.  I just want to be able to run stuff as a sudo user.  Like, I want to be able to read and write in memory, for example.  And I want to be able to programmatically turn on GPS....

Just another hint: chat is over here, not in the comments :) You have the required rep, so feel welcome.

@Izzy This comes up as the top google result for "can my phone be rooted" or "how can I check if my phone can be rooted".  Obvious keywords, you know?  I think the phrasing is important: gives people a GENERAL resource for understanding whether or not any given phone can be rooted, and how to figure out if it can or cannot be rooted, alone.  I tried to root my prior phone, found out two years later that it could have been rooted the whole time--, but I was told it couldn't be.


text:
Change the way artists are displayed in Play Music?
I just got a Nexus 5 running Kit Kat. The music app (Play Music) is beautiful, but not the most effiient in terms of browsing. Right now, in the "artists" view it displays a captioned picture of each artist. I'd like it to display a simple list of artist names. Is there a way to do this?


text:
How can I increase my samsung galaxy fit's battery life?
I'm using Samsung Galaxy Fit(S5670) and running official 2.3.6 version. My battery's capacity is 1350mAh. Can I increase this capacity to 1500mAh or 2000mAh?

In my fridge is a bottle of beer, with a capacity of 0.33 litres. How can I increase its capacity to 0.5 or more litres? // I'm not making fun of you, just giving you a "picture" to grab the idea. You cannot increase the capacity of your battery, you only can replace your battery with one of higher capacity, as Keshava writes.

Can I increase this capacity to 1500mAh or 2000mAh?

Did you mean increasing capacity from 1350mAh to 1500mAh on same battery??
It's not possible.
If your phone supports a battery with capacity 1500mAh or 2000mAh, you can buy a new battery with these increased capacity.
Check manufacturer's website for details of phone and batteries.

Ok, I will check on it.


text:
Android Encryption porting
I'm currently trying to enable the full disk encryption in Android on my custom board.
Some informations:

The /data Partition is the 4th Partition on my SD Card.
after the /data Partition there is >2MB free space
the /data Partition is ext4

If I run vdc cryptfs enablecrypto inplace 1234 I get
logcat | grep crypt
E/Cryptfs ( 2407): Orig filesystem overlaps crypto footer region.  Cannot encrypt in place.

If I run vdc cryptfs enablecrypto wipe 1234 I get
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table
device-mapper: table: 254:0: crypt: Error creating IV
device-mapper: ioctl: error adding target to table

and the device reboots afterwards...
Some extended information:
fstab
cat /fstab.boundary
....
$BD4    /data    ext4    nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic    wait,encryptable=footer
....

init.rc
cat /init.boundary.rc
...
mount_all /fstab.boundary
...

Screenshot from the partition layout:

Any help is very welcome.

I assume you use the wrong parameter in your fstab. You can't place the footer in space already reserved for a filesystem. Either make an extra partition (sdc5) and specify footer=/dev/sdc5:0 (to put it at the beginning of this partition) or specify a negative offset to use the space at the end of the partition, e.g. to use 16k of the partition specify: encryptable=footer,length=-16384
Not sure if you'd need to make your ext4 filesystem not smaller than the partition, otherwise it could overwrite your footer.


text:
Is there any Android email client that fully supports offline reading?
I'm using K-9 mail on my Nexus 10 tablet. It is a good client, but it does not fetch images in HTML messages for offline reading. It has a setting for fetch images, which I have set, but I'm not really sure what it does. Images in HTML messages are still not fetched. At the moment the message is displayed the images are loaded. If there is no Internet connection at that time, there are no images.
Is there any Android email client that can be configured to fetch images when fetching the messages?


text:
How to prevent MoboGenie popups in Chrome?
I browse around with many tabs open. Frequently, an ok/cancel dialog "MoboGenie - Play Now" pops up for attention. The host (of the popup) site keeps the dialog hidden till it pops up for attention.
I find it difficult to single out sites which host this popup. None of them host suspicious or intrusive advertisements otherwise.

+1 this has been annoying me a lot lately seems particularly prevalent in the ad networks used by some webcomics.

Have you considered rooting your device? Then you have plenty of possibilities to get rid of almost all kind of ads, everywhere.

there is an application you can download for rooted devices called AdAway.
 it's not in the market, but if you don't have a problem with installing third party apks, this is a complete advertisement blocker for both in-app and browser.
https://f-droid.org/repository/browse/?fdid=org.adaway

Some browsers, like Google's Chrome, have built in pop up blockers. Now, if you surf around and you get a auto pop up like this, a message will show on the bottom of the screen asking if you would like to display it. This would greatly reduce the MoboGenie you are seeing. Also, Chrome is a pretty sweet browser with many other features. If you don't like it, FireFox and Dolphin have--to my knowledge--built in pop up blockers.

In dolphin, Block pop up windows is checked but still the  mobo genie  pop -up is coming. Especially in sites hosting mp3 songs.

you can use popup blocker "Ad Block" in chrome or "ABP- AdBlock Plus"
for firefox.

Last time I checked, the Ad Block plugin in Chrome didn't work in Chrome for Android. Does it work now? How do you install the plugin in Chrome for Android?


text:
In Samsung Galaxy S3 mini TalkBack is always speaking when switching home screens
From one day to the next, TalkBack started to tell me on which home screen I am. It is always using the Google voice, even if I set it to Samsung TTS.
Texts:

Page 2 of 5. (German pronunciation)
Der Ordner ist geöffnet.
Der Ordner ist geschlossen.

(My locale is German)
TalkBack was switched of before and when I go to settings, the text entry of TalkBack reads "off". When I enter into the TalkBack settings however the slider is switched to "on". Switching it of does not help as it always stays on but displaying off in the textual list view.
My next try was deactivating the TalkBack app completely. This did not solve the problem either.
Is there a setting I do not know about or another trick I could try?

wiping the cache partition did not help either.

Problem can also be caused by airDroid. Go to settings accessibility and ensure AirDroid notifications are turned off. It took nearly 2 hours to find this one as I had done everything suggested in this thread. Frozen screens just remember to use 2 fingers

I do not own this phony any more, but yes, I had AirDroid installed at the time. Easily possible that this was the same cause.

Very good hint.. For me, it was the "Optical Reader" when given accessibility access, whereas Airdroid was well-behaving for a change.

go to application manager and find the google text speech and disable it .

Go to application manager then to All down to Google text to speech and clear data and back out. This worked for my Samsung 3.

Open Settings
Go to Application manager
Scroll left to All
Scroll down to Samsung TTS and click it
Click disable and force stop

I just encountered this problem - I seem to have solved it by doing force stop on the app 'Google Text-to-speech'. (I also cleared application data, but I guess it's the stop that worked.)

A bit late I know, but I've just been having a similar problem with a Samsung Galaxy S3 Mini.
This is how I got rid of it. I tried other ways, but found that if I turned the phone on and off again, the speech would come alive again. This was the only way I could kill it off for good.
Go to Settings -> Accessibility -> Text to Speech and there will be a list of current text to speech providers (I had 2, Google and Samsung)
Go to Application Manager -> All
Find Google Text to Speech and disable it
If there is no disable button, you will have to click Uninstall All Updates first, then go back, and the button should now read Disable
You'll want to do the above step for each Text to Speech option you had in your list. I had 2, so I did it again for Samsung TTS.
Now if you go back to Settings -> Accessibility -> Text to Speech there should be nothing left in the list and your home screen will finally be silent. Hooray!
I also have driving mode and TalkBack disabled. I already had them turned off, but they didn't help.
Hope this helps.

Hmm. Though that might work: wouldn't that disable all other TTS events as well? My alarm clock would no longer be able to talk to me in the morning (informing me about weather conditions and calendar events), eBook readers couldn't read books to your ears, and your "car mode" would stop reading incoming SMS while you're driving. Somehow that sounds like killing a fly with a cannon ball (if atomics are unavailable).

LOL, wooow. One really irritating feature if you aren't visually challenged.
My toughest challenge was switching this talkback feature off again for I couldn't scroll down my screen. I would only manage to get the first few options which appeared on the first display of the screen and could see nothing lower down.
To overcome this, try to double swipe instead of single swipe your finger on your screen.
To solve the problem. Just go to your setting, my device, accessibility, then talk back and then disable it from there.
Once you can navigate by double swiping, it's pretty straight forward. Good luck.

Disabling "Samsung TTS" app and also Google text to speech.

although this one liner post may solve the issue, but it is always better to write your answer with more details, explaining the step-by-step procedure.

I tried all of these options; disabled everything and the voice kept turning back on.  Eventually I uninstalled the cleaning app -  AIO Cleaner - and the voice stopped.

What is working for me is to have disabled AVG Antivirus.
Settings-->Accessibility-->Services-->Antivirus: Disabled

Disabling "Google Text to Speech" worked to kill it for me.

authors: محمد عامل اف


text:
TWRP crashes on Redmi Note 8 Pro after custom rom
I tried to root my phone and succeeded without any errors, then I wanted to try installing a Custom ROM(lineageOS), I did it via TWRP(I forgot to reinstall TWRP before rebooting) then I tried to boot again to TWRP(as expected it was gone) then I reinstalled TWRP via fastboot(fastboot flash recovery filename.img), the command exited without any errors but when I tried to boot to recovery nothing shows up:
• Black Screen
• After a few seconds reboots back to lineage
I downloaded the latest TWRP image from the official Website and tried to install that, same command, install success and able to boot to TWRP
BUT after a few seconds in TWRP mode(idle or not) it closes and reboots back to lineage
What I tried:
• Installing older TWRP version
• adb erase recovery and reinstall
Notes:
• Lineage OS works as expected
EDIT
I haven't mentioned it but what i need the most is a way to install zip files from fastboot, i can extract the zip but some OSes have system.new.dat.something and i cannot find a way to install that, if you could at least help mart with this i'd be greatful.

https://forum.xda-developers.com/t/unofficial-rom-cwf-begonia-twrp-deployment-lineageos-from-theimpulson.4270573

it is because the lineage os you're running came shipped with lineage os recovery and now the partition is someway corrupted while you tried to install twrp.
try booting to lineage turning adb on and from your computer using platform tools, execute adb shell reboot recovery

I am aware of lineage os's recovery but that's not the case, i tried to adb erase recovery and reinstall but didn't work

you disabled verified boot too before trying to install twrp ?

get vbmeta.img and fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img  then flash twrp

fastboot --disable-verity --disable-verification flash vmbeta vbmeta.img throws an error, disable verity is not recognised as an option, nor disable verification.

You are using wrong fastboot. Download latest platform-tools from google https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads

@Vbrawl yeah get  latest platform tools

That killed me, now the phone won't enter fastboot at all

ok got it unbricked but still the recovery doesn'f work