text:
Computer does not recognize Galaxy S4 after upgrade from Windows 7 to Windows 10
I have updated from Windows 7 to Windows 10 and now can't get my Galaxy S4 to connect via USB to my computer to download photos etc.
I have Kies ordinary and lite, both up-to-date, but still nothing. The computer says to put the phone into MTP mode, but that is nowhere to be found. Please advise.

Use shareit to transfer file between your pc and phone

This still seems to be a problem for many people.
1) Download the Samsung mobile USB driver.
2) Unplug phone & install driver.
3) After install, plug in phone. It should be recognized but open Device Manager and scan for hardware changes. Windows may possibly then do a driver update.
AND/OR: TRY ANOTHER USB CABLE! This has worked for many people including myself. I'm a fan of Monoprice cables. I throw away any cables that "seem to work" under some circumstances (like charging) but not others (like MTP connections in this case.)

I'll second bmdixon's "try another usb cable".  I tried three that didn't work (#1), but that had seemed fine for other devices.  I finally found my original Samsung USB cable and tried it ... and my Mac saw my Galaxy S7 Edge!       #1: when plugged in with the other cables, the phone chirped and started charging, but there was no recognition of the phone by a Mac or a PC.

Connect your galaxy S4 to the PC first (don't bother if not recognized).
Go the the Device Manager (Right click on ‘My Computer’ and select ‘properties’ then ‘Device Manager’  in the left sidebar, or go to ‘Control Panel’ then ‘system’ then ‘Device Manager’ from the left sidebar).
Next, find the Android device driver if found then right click uninstall. The driver may be listed under ‘Portable Devices’ or ‘Other devices’ or it may be listed under it’s own name.
Once the drivers are uninstalled, unplug your device from the PC. Make sure your computer is connected to the Internet and automatic updating is turned on, then replug your device and allow Windows to find and install the drivers all over again.
If your device is not listed in the drivers list then check whether you are using the Right cable ( cable with data transmission capability not just charging).
Provide the unlock password on your device in order to view external or internal memory on your PC.
In windows 10, go to setings->Devices->AutoPlay. Tap to choose what happens to the devices after connected.

Alternative or best solution
Move to AirDroid for transferring contents from your system wirelessly to your phone or vice versa.

I was experiencing the same issue and it was rather flustrating. However, thanks to a source online, i was able to get this fixed.
First, you need to make sure you have usb debugging turned ON on your android phone. Although not compulsory with some android smartphones, it's kinda compulsory on some others. But it wouldn't hurt to have USB debugging turned on anyway.
Next, you need to update MTP driver on your computer. Plug in your device to your computer using a working usb and follow the steps disclosed in the screenshots below:
Right click on the windows start icon and click on Device manager, then go to other devices and right click on the unknown device or MTP (whichever your computer currently displays):

OK. It seems as though stackexchange only permits only one image. Or maybe i don't know how to add more.
But here is the link to the source. Perhaps, you could check and fix your issue.

AirDroid is probably your best bet.  Depending on your wireless carrier, the drivers may be unsigned and not current enough for Windows 10.  For Verizon, my Galaxy S4 drivers aren't signed so I can't install.  AirDroid provides me the ability to transfer content.  Some wireless FTP apps, even installed from the play store, can result in mixed results.

USB debugging turned on - seemed to doo it for me. tks

in addition: it was a very intermittent connection. but could access the sd card on the phone for moving pics from there to the laptop.

We had tried pretty much all of the recommendations found on various sites.  Nothing worked. The lower-level error was "Port Reset Failed". I discovered that using a POWERED USB hub between the phone and the computer eliminated the problem. Later we learned that one of the three cables we had would work without using the hub. My speculation is that the amount of power the phone is allowed to draw from the computer is somehow controlled by the Samsung cables. Those that ask for a higher draw will only work thru the powered USB hub (because the computer doesn't power the device then).


text:
Applications do not close after exiting
I have lately noticed that, after last updates on my Samsung S3 mini (although I am not entirely sure which ones in particular), applications simply do not close after exiting them and keep running in the background. As workaround I have to manually end all the processes from Task Manager.
I have read a couple of similar questions recommending this or that other Application Manager to switch them down but I did not understand whether this is a standard behaviour for Android phones (that I somehow never noticed) or a bug introduced.
Also, why is that so? Exit an application means exiting an application, I see no point is closing them but still keeping them running behind the back: it obviously drains the battery strongly. Is it adjustable?

How do you know they are running and drain your battery? Android doesn't exit applications, unless there is not enough RAM for a new started one.

I checked the current status of the applications since at some point I noticed that my battery did no more properly charge. Manually closing all of them restores the natural behaviour and the battery returns to its standard performances.

I would suggest you use the Greenify app. It really shuts down or hibernates an app after you exit it. It doesnt allow the selected process to secretly run in the background.
You can find the app here.
The app works even better if the phone is rooted.

Thank you for the suggestion. I'm reading the documentation though and it seems that it would in most cases even idle all the messages apps, providing you to get new notifications (as if they were truly inactive). Is it true or am I just misreading it?

If your device is running on Android Lollipop 5.x than there is change in the behavior, all those apps that you can see on the multitasking screen aren't actually running in the background. This is a snapshot of recent apps only some of them are actually running in the background and this doesn't take much of battery. Android automatically closes the background apps whenever required.

source: Stack Exchange

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

sort: votes


text:
su doesn't give root acess
I have an HTC Sensation and I'm using Linux on my workstation. I would like to switch S-Off on this phone.
I found documentation, but when I type su in adb I don't have root access:
shell@android:/ $ su

255|shell@android:/ $ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
shell@android:/ $

Thanks for helping.

please provide a link to the tutorial you are following and also add information at which stage of the tutorial your problem occurs.

su should give root access, should not it?

When a device is rooted entering su - in the terminal would result a root access acquiring process, which usually pops up a window asking for root permission; granting root would let su to go on (it will wait for the response, or rather wait for the operating system to allow or deny the request) and provide uid0 for you.
If your device is not rooted su cannot gain root permission since you don't have the means to allow it: root requests are automatically rejected.
I would guess your device is not (properly) rooted.

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


text:
Willl unlocking my Bootloader delete my OS
I have decided to install Cyanogen Mod Android 5.1.1 onto my Xperia SP[C5302].
I am about to unlock the bootloader(the first step).
I have followed the steps and downloaded Android SDK(downloaded and installed google usb driver separately) and FastBoot driver.
Am about to perform the unlocking but am hesitant in doing so because am afraid whether unlocking my bootloader delete the OS.
It's running on official 4.3 update from Sony and no custom works have been done ever since.
My question is whether unlocking bootloader will delete the os and I'll not be able to boot the phone again?

Unlocking the bootloader  will not delete the OS but only the user data which is equivalent to full scale factory reset.

@Firelord I don't mean to be rude but will unlocking my bootloader brick my phone or make my phone stuck in a loop ?

See the third point here. That's all I said.

No. Unlocking your bootloader will not delete your os. It will delete your userdata which is not related to the /system partition.
But always keep in mind that, especially with Sony devices, there are solutions without having you to unlock the bootloader.
Cheers


text:
is there a keylogger in my phone
I have an Android phone accent a400 and I sent it to a repair store to change the broken screen.
After receiving the phone, I noticed that they did a reset to the phone and the internal memory doesn't appear in the file manager. Also the application SuperSU which was installed by default doesn't exist any more, so I installed ES file explorer and used it to verify that the system and racine folder still exist. Then I installed Framaroot after rooting the phone and the application SuperSU became visible.
Sometimes "the message was sent" popup alone when using the phone. How would I fix this?

The service center guys flashed a stock firmware( unrooting it) which is pretty safe. Since the device is unrooted there isn't a way for a malicious app to reside in /system , so a factory reset will get rid of your worries. And regarding that message sending, it could be carrier related or standard outgoing message after a factory reset. To be sure, you can just reflash the stock firmware.

Thank you all for all your answers
I am not sure but i read that doing a Hard reset dosen't remove installed keylogger and for flashing with stock ROM i dont know where to find the correct ROM to my phone which is Accent A400 and wich software to use but i think that solution will fix the problem .

use this app to check pesent logging apps on your phone http://forum.xda-developers.com/showpost.php?p=17612559
if your phone is not a htc only one or two should show up, tombstones (crash dumps for kernel panics and such) and, flash Player (if installed)
possibly google services would show up but that would be googles av scanner built into google services
for htc devices another would show up for htc usage logs

forgot the link  http://forum.xda-developers.com/showpost.php?p=17612559

David thank you for your answer i have installed the application in the link and this is what i found
Loggers found
/data/data/anr
Mtk_traces.text
Native1.txt
Native1_1.txt
.
.
And similair files
Sf_RTT
Traces.text
And others
/data/data/tombstones
/data/system/dropbox
Contains many text files
Sytem-Boot@a number.txt
Many files
System-app_anr@a number.txt
Event-log
Snet-gcore
Event-data
Data-app-crash
*app usage logs found
/data/system/usage stats
Google usage stats

Here is  other informations i found.Find adware log files
*Google analytics data found
*flurry data found
*mobclix data found
Admob data found
App scanners here what I found may be suspected
Ktcit
Hidden uis
Protps apk
Meditek.mtklogger
Com.android.dreams
Photo table
Com.meditek.lbs.em.mytabactivity
Eu.chainfire.supersu
// it poped up after installing framaroot
And
Com.mtk.user2root //I didn't installed that

Sorry if the details are not well ordered

the data/data/anr Mtk_traces.text are normal as well as data/data/tombstones,  /data/system/dropbox, and /data/system/usage stats Google usage stats are all normal and created by android.  Google analytics is normal as some apps may use Google analytics, mobclix is a advertising network as well as the flurry data and they are for an apps that use ads, Com.android.dreams is a screen saver and should be harmless, Com.mtk.user2root is for frameroot (which you can uninstall after rooting), and Eu.chainfire.supersu is for superuser. for hidden uis Ktcit is for device servicing and Meditek.mtklogger

is for devices with MediaTek gps chips but it shouldn't send any of that info to external sources, i would recommend you turn it off though to save performance and ram http://teleread.com/smartphones/how-to-save-loads-of-memory-on-a-mediatek-device/ use this tutorial to turn it off


text:
Flashing CM 11, I get `set_metadata_recursive: some changes failed`:
ClockworkMod Recovery v6.0.2.3 gives me the folling error when I try to update my Samsung Galaxy Tab 2 (GT-P5113) to Cyanogenmod 11:
Restarting adbd...
Finding update package...
Opening update package...
Installing update...
set_metadata_recursive: some changes failed
E:Error in /tmp/update.zip
(status 7)
Installation aborted.

Being desperate I tried the same thing with Team Win Recovery Project (TWRP) v2.6.3.0 -- also the latest for my platofrm,
Checking for MD5 file...
Skipping MD5 check: no MD5 file file found.
set_metadata_recursive: some changes filed
E:Error: executing updater binary in zip '/data/media/0/sideload.zip'

In short, if you want to flash KitKat Android 4.4, you'll have to upgrade to a version of CWM greater than v6.0.4.5. Or, use an alternate bootloader. For the Galaxy Tab 2 GT-P5113 or GT-p5110 you can find the instructions here.

Any references or links about why does this happen, please?

@SopalajodeArrierez I provided an explanation on the link to further instructions. This is an error message (if you try first without knowing), the other question is a tutorial-answer with more details.

A zip package that contains a firmware update always includes two files in META-INF/com/google/android: updater-script and update-binary. updater-script is a text file containing commands required to install the update. update-binary translates the commands into binary code.
In Android 4.4 KitKat, Google has changed the interface that updater-script uses for setting up permissions. The previously used set_perm method was deprecated and replaced by set_metadata. This causes old versions of custom recovery software to fail with Android 4.4 packages (e.g. CyanogenMod 11) and display the error message "set_metadata_recursive: some changes failed".
The best solution is to update the custom recovery software. I haven't found a new enough version of ClockworkMod compiled for my device, but I have found the newest version of TWRP to work.
Second option is to fix the updater-script by replacing any set_metadata and set_metadata_recursive calls with the old syntax, i.e. set_perm and set_perm_recursive. I haven't done this so I'm not sure how easy this would be.
Third option is to replace the update-binary with a patched one created by XDA member daniel_hk:
http://forum.xda-developers.com/showthread.php?t=2532300
. I have done this and it worked fine, but the binary is compiled for ARMv7 and won't work in any other architecture.

Replacing the update-binary worked on my Oppo Find 5 for both the ROM and gapps. Thanks!

Indeed: upgrading TWRP from 2.6.3 to 2.8 did the trick for me. After that the set_metadata_recursive error when flashing new ROMs disappeared. Thanks a lot for the tip!

In addition to jmullee's answer, made by comparison of cm-10.1.3 and cm-11 updater-script. After this replacement, I successfully flashed cm-11-20141110-NIGHTLY-n7000.zip with recovery 5 (built-in in ICS speedmod kernel).
set_metadata => set_perm
set_metadata_recursive => set_perm_recursive

sed -i "s|set_metadata(\(\"[^\"]*\"\), \"uid\", \([0-9]*\), \"gid\", \([0-9]*\), \"mode\", \([0-9]*\).*);|set_perm(\2, \3, \4, \1);|" updater-script

I have solved that modifiying the \META-INF\com\google\android\updater-script file in a text editor, and replacing all the set_metadata_recursive by its old version set_param_recursive (the signature of the functions are relatively equivalent), after that you have to re-zip the pack and sign the file.
For replacing and figure it out how to do it: search in google "replace set_metadata_recursive by set_param_recursive phyton" somebody has created a phyton script but if you understand the functions signatures you can doit manually.
- then repack and sign the zip.

I wrote this search/replace pattern that munges the new format into the old, and it worked for me:
$ sed -i "s|set_metadata_recursive(\\(\"[^\"]\*\"\\), \"uid\", \\([0-9]\*\\), \"gid\", \\([0-9]\*\\), \"dmode\", \\([0-9]\*\\), \"fmode\", \\([0-9]\*\\),.*);|set_perm_recursive(\2, \3, \4, \5, \1);|" META-INF/com/google/android/updater-script

In the end the google-play app wouldn't install either, so I bit the bullet and flashed an updated recovery (recovery-clockwork-6.0.4.6-i9300.img with heimdal) and was then able to flash an unmodified CM11. Aside, Google Play had errors until I disabled 3G (forcing IPv4 over WiFi), it seems there were (temporary?) issues connecting to Play Servers via IPv6.

A bit more information would be useful. Did you get this from a forum? Or did you write it yourself? In either case, random piece of code isn't all that helpful without some comments (especially in the case of regular expressions).

ok sorry -
it's just a search/replace pattern I wrote that munges the new format into the old.
In the end the google-play app wouldn't install either, so I bit the bullet and flashed an updated recovery (recovery-clockwork-6.0.4.6-i9300.img, with heimdal ) and was then able to flash an unmodified cm11.
Aside, google play had errors until I disabled 3G (forcing IPv4 over wifi), it seems there were (temporary?) issues connecting to play servers via IPv6

ERROR STATUS 7 is because  of  you will have to upgrade CWM version to greater than or equal to the version CWM  v 6.0.4.4  to install kitkat and lollipop on samsung Galaxy Tab 2 GT-P5113 or GT-p5110

That may be true, but can you back your claim with source(s)?

Make sure you enable "USB Debugging" under "Developer options" on your rooted phone. That worked for me.

What do developer options have to do with recovery? When booted into CWM/TWRP, those play no role at all. Especially not for flashing ROMs.

They are completely unrelated.

I believe this answer is referring to the "USB Debugging" setting, which on some devices/versions can set a flag in nvram that is indeed readable from Recovery.

authors: Евгений Шахов

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


text:
Is it possible to boot into a different recovery from TWRP?
Normally I boot into TWRP with
fastboot boot twrp.img

Is it possible, after I boot into TWRP with the above command, to boot into a different version of TWRP (from a different image) without booting into a rom, enabling ADB debugging, booting into the bootloader, and then running the command above?

You can reboot to Bootloader from TWRP.

Using either the Reboot menu and clicking on Bootloader
Or from adb shell when TWRP is running using twrp reboot bootloader

From the bootloader, fastboot will work and you can run
fastboot boot twrp.img

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


text:
How do I install Cyanogenmod 11 on a Samsung Galaxy Tab 2 (GT-P5113)?
I'd like to install Cyanogenmod 11 on a Samsung Galaxy Tab 2 (GT-P5113), is this currently possible? I see the Rom shows up in Cyanogenmod's Updater.

Update
Previously it wasn't possible.

In short, the previously used set_perms method was deprecated and replaced by set_metadata. Unfortunately, most of available recoveries didn’t allow users to flash these packages properly, and this has resulted in the following error message: set_metadata_recursive: some changes failed

But now all major recoveries support set_metadata_recursive. Just use a version of TWRP newer than 2.7.0
What I did was boot into Download Mode:

Shut down the tablet.
Unplug the USB.
Hold Volume Up and Power.
Let go of both after it boots and you see it is in Download Mode.
Plug in USB.

Flash it into the RECOVERY partition,
heimdall flash --RECOVERY twrp-3.1.1-0-whatever.img --no-reboot

Now when you boot into Recovery Mode and you're in TWRP you'll see the option to flash the CM11 .zip, or adb sideload it, which is what I did.

The link to "PhilZ-NON-Touch-Recovery_6_(Advanced-CWM).tar.md5" is dead

@naXa updated now


text:
Android studio not detecting devices
I am currently using windows 10 enterprise and my android studio does not detect devices despite me installing drive pack 17 and also adb fastboot drivers all phones are detected by the machine but android studio does not detect the phone.

Enable USB debugging while you have plugged the phone in on android studio. Then a pop-up should appear, allow permission for your pc to do usb debugging. This might be the case since the phone is being detected by the device, usb debugging is found in Settings > Developer tools

Check Whether the program is running locally through your Android Virtual Device Manager

Ensure the following:
1.The connection is set to "allow file transfer " and not "charge only mode".
2.Ensure having developer privileges in your device and also enabling USB debugging.


text:
Suddenly VOLTE not working on my moto g4 plus
I was using VOLTE services (from reliance jio in India) seamlessly since November 2016, but since June 2017 it suddenlt stopped working. I get an error "Unable to place call. Please try another method" while trying to make a call. I am able to access the internet and make/recieve calls from the Jio 4G Voice app.
UPDATES:

I have enabled "enhanced 4G LTE mode"
Did a factory reset
My jio connection is on and working. Also, I can place/receive calls from the Jio4GVioce app which means the service is working fine.

Have you recharged your JIO number? Have you switched on mobile data for JIO and turned on volte in sim settings?

@AshwinMothilal yes mobile data is on. What do you mean by turned on volte in sim settings?

Follow the below answer to turn on volte in your phone. Have you recharged your jio number? May be service is disconnected.

you can check answer here JIO VoLTE is not working with Moto G5 plus

I also had the same problem
Steps:

I tried to wipe partition, does not worked for VOLTE.
Removed the JIO SIM from slot 1 and inserted on slot 2.
then removed the JIO sim from slot 2 and inserted BSNL SIM in slot 1, BSNL works.
Then remove the BSNL SIM & insert JIO SIM in slot 1.

Now VOLTE is working.

Your best bet is to boot into safe mode and then toggle Volte on and check if it works there.
To (re)boot into safe mode: Press the Power key, then tap and hold on Power off, and then tap OK when Reboot to safe mode The Moto G4 will reboot and you should see Safe Mode in the bottom-left corner.

Go to Settings/Wireless and networks/...More/Cellular networks and check whether Enhanced 4G LTE mode is enabled. Somebody (you) might have turned it off accidentally.

yes, its enabled

What's the result?

Same. It was enabled the whole time


text:
How to set restricted user as default user on reboot?
We would like to have an already added restricted user account be the default when we restart our Samsung SM-T580 tablets.
At current we have 2 accounts installed, Admin and User
The User is a user with restricted access.
The tablets are rooted
Hope that someone has a solution for our question

I am suggesting two solutions. Both of them require root access, and both were tested on a OnePlus 6 running Android 10.
Solution #1
Have the following script (let's call it switch-user.sh) run during boot but after the user has entered device decryption credentials (PIN/password)

#!/system/bin/sh

while true; do
        flag=`/system/bin/getprop vold.fbe.decrypted`
        if [ $flag ]; then
                sleep 1;
                /system/bin/am switch-user USER_ID          # replace USER_ID term with restricted user's id
                exit;
        else
                sleep 1;
        fi
done

What this script does is to continuously check (with a delay of 1 second) whether the user has decrypted the device or not. If yes, switch to the restricted user after one second, or continue to recheck. Since my restricted user's User Id is 10, I used 10 as USER_ID in it. Change it to whatever User Id your restricted user has. See my answer here if you need help in finding out the User Id.
Note: In the above script I am checking for the value of the property vold.fbe.decrypted which works for my OnePlus 6 running Android 10. Your device may or may not have the same property. You can hunt for the relevant property by looking into the output of the command adb shell 'getprop | grep vold'. Alternatively, see if sys.user.0.ce_available property is available in your Android version.
Next thing to do is to put that script into a location in your Android from where the system would execute it on its own during boot. Since I use Magisk, I placed that switch-user.sh script into the directory /data/adb/service.d (see Magisk's Boot Scripts section for further information on it) and added executable permission to it using the command:
adb shell su -c 'chmod +x /data/adb/service.d/switch-user.sh'

If you do not use Magisk, you can take the help from the answers at How can I run a script on boot?
Restart the device to see if your script works. In my case, whenever I enter my PIN to decrypt the device, than within two-three seconds the system automatically switches to my restricted user.

Solution #2
If you don't want the hassle of injecting a script into boot process you can setup an automation app which would switch the Android to your restricted user once it receives BOOT_COMPLETED broadcast, or in other words, do something during startup.
I can suggest Tasker and MacroDroid as I have tried them and they worked on Genymotion with Android 6.0 and on a OnePlus 6 with Android 10. You can try any app which can run a command/script on startup.
Tasker
For Tasker, the profile and the task should be this:
Profile: Event → Device Boot
Task: Code → Run Shell:

Command: su 2000 -c am switch-user USER_ID
tick Use Root
leave the rest of the settings untouched

Make sure to replace USER_ID there with the actual user id of the restricted user.
MacroDroid
For MacroDroid, the Macro should be this:
Trigger: Device Events → Device Boot
Action: Applications → Shell Script:

tick Rooted
Enter the following command in "Enter script" field: su 2000 -c am switch-user USER_ID
leave the rest of the settings untouched

Make sure to replace USER_ID there with the actual user id of the restricted user. See my answer here if you need help in finding out the User Id.
Note: because many apps would be competing to run their XYZ things during startup, you might notice a delay of a couple of seconds before user switching takes place.

I suggest to add an App that will start at every system start to switch to a secondary user. The method require a version of Android 10 minimum.
Let's suppose that the secondary user is not admin and it's the only secondary user.
Source code:
Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.example.switchuser">

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver android:name="com.example.switchuser.BootReceiver"
            tools:ignore="Instantiatable"
            android:enabled="true"
            android:exported="true"
            android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
            <intent-filter>
                <category android:name="android.intent.category.DEFAULT" />
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.intent.action.ACTION_BOOT_COMPLETED" />
                <action android:name="android.intent.action.REBOOT" />
                <action android:name="android.intent.action.QUICKBOOT_POWERON" />
                <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
                <action android:name="android.intent.action.ACTION_SHUTDOWN" />
            </intent-filter>
        </receiver>
        <receiver
            android:name=".AppAdminReceiver"
            android:permission="android.permission.BIND_DEVICE_ADMIN">
            <meta-data
                android:name="android.app.device_admin"
                android:resource="@xml/device_admin_receiver" />

            <intent-filter>
                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
            </intent-filter>
        </receiver>
    </application>

</manifest>

res/xml/device_admin_receiver.xml
<?xml version="1.0" encoding="utf-8"?>
<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-policies>
        <limit-password />
        <watch-login />
        <reset-password />
        <force-lock />
        <wipe-data />
        <expire-password />
        <encrypted-storage />
        <disable-camera />
        <disable-keyguard-features />
    </uses-policies>
</device-admin>

MainActivity.java
package com.example.switchuser;

import android.app.admin.DevicePolicyManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;

import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;

import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.os.UserHandle;
import android.view.View;

import android.view.Menu;
import android.view.MenuItem;

import java.util.List;

public class MainActivity extends AppCompatActivity {
    public static final int RESULT_ENABLE = 11;
    private ComponentName compName;
    private DevicePolicyManager manager;
    @RequiresApi(api = Build.VERSION_CODES.P)
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        FloatingActionButton fab = findViewById(R.id.fab);
        fab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                        .setAction("Action", null).show();
            }
        });

        compName = new ComponentName(this, AppAdminReceiver.class);

        Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
        intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, compName);
        intent.putExtra(DevicePolicyManager.EXTRA_ADD_EXPLANATION, "Explain why we need this permission");
        startActivityForResult(intent, RESULT_ENABLE);

        manager = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);

        # Get list of secondary users
        List<UserHandle> listUsers = manager.getSecondaryUsers(compName);

        #Switch to the first secondary user in the list
        manager.switchUser(compName, listUsers.get(0));

    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();

        //noinspection SimplifiableIfStatement
        if (id == R.id.action_settings) {
            return true;
        }

        return super.onOptionsItemSelected(item);
    }
}

AppAdminReceiver.java
package com.example.switchuser;

import android.app.admin.DeviceAdminReceiver;
import android.app.admin.DevicePolicyManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;;
import android.widget.Toast;

import androidx.annotation.RequiresApi;

public class AppAdminReceiver extends DeviceAdminReceiver {

    private static final String TAG = "AppAdminReceiver";
    @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
    @Override
    public void onProfileProvisioningComplete(Context context, Intent intent) {
        // Enable the profile
        DevicePolicyManager manager =
                (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);

        ComponentName componentName = this.getComponentName(context);

        manager.setProfileName(componentName, "SwitchUser");

        manager.setLockTaskPackages(componentName, new String[]{"com.example.switchuser"});
    }

    /**
     * @return A newly instantiated {@link ComponentName} for this
     * DeviceAdminReceiver.
     */
    public static ComponentName getComponentName(Context context) {
        return new ComponentName(context.getApplicationContext(), AppAdminReceiver.class);
    }

    @Override
    public void onEnabled(Context context, Intent intent) {
        Toast.makeText(context, "Device Admin : enabled", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void onDisabled(Context context, Intent intent) {
        Toast.makeText(context, "Device Admin : disabled", Toast.LENGTH_SHORT).show();
    }
}

BootReceiver.java
package com.example.switchuser;

import android.app.admin.DevicePolicyManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.UserHandle;

import androidx.annotation.RequiresApi;

import java.util.List;

public class BootReceiver extends BroadcastReceiver {

    private static final String TAG = "Boot Receiver";
    private ComponentName compName;
    private DevicePolicyManager manager;

    @RequiresApi(api = Build.VERSION_CODES.P)
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent != null) {
            if (intent.getAction().equalsIgnoreCase(
                    Intent.ACTION_BOOT_COMPLETED)) {

                compName = new ComponentName(context, AppAdminReceiver.class);

                manager = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);

                List<UserHandle> listUsers = manager.getSecondaryUsers(compName);

                manager.switchUser(compName, listUsers.get(0));
            }
        }
    }
}

To enable the application as Device Owner in order have permissions to change the user, we need to use ADB:
adb root
adb shell dpm set-device-owner com.example.switchuser/.AppAdminReceiver

User restriction
In order to harden the user you can:

Dump /data/system/users/10.xml where 10 is the id of the user. The file looks like this:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<user id="10" serialNumber="10" flags="16" created="1598034338552" lastLoggedIn="1598035769294" lastLoggedInFingerprint="Android/sdk_phone_x86_64/generic_x86_64:10/QPP6.190730.005.B1/5775370:userdebug/test-keys" icon="/data/system/users/10/photo.png" profileBadge="0">
    <name>New user</name>
    <restrictions no_sms="true" no_outgoing_calls="true" />
</user>

Add more restrictions. The list of restrictions can be founded on UserManager Documentation
push the changes

adb push 10.xml /data/system/users/10.xml

Reboot
Once the device start the application switch the user to the secondary user.
Tests
The app was tested on AVD (Android Virtual Device)
Source code on github

Hi! I appreciate the source code for the app, but considering Android Enthusiasts Stack Exchange focuses on Android end-users (but not necessarily developers), I'm afraid this answer is a bit too much for the majority of end-users and out-of-scope of this site. Considering that the source code is already on GitHub, I'd suggest removing the source code and providing the link to the APK instead so that non-dev end-users can use it directly, and dev-users can still build it from GitHub if they want. Thanks!


text:
Not able to install app using adb command
I have a broken screen in my device due to that i am not able to take back of contact and other data.
I am trying to use vysor chrome plugin which installs an app and cast the screen in to web browser.
When i try to use vysor application, i am not able to install the app in device. I am always getting below error
adb install com.koushikdutta.vysor.apk

2660 KB/s (2958940 bytes in 1.086s)
Please select on your phone whether can install the app by The ADB command?

refused to install the app by The ADB command !
I tried to install the app using pm command as well but observed the same issue.
Note : - Same issue is observed for all the apks.
Device details : - LeTv Le 2

Which android version?

It seems like a prompt is asking for your approval.

What @esQmo_ said is right; lots of Chinese phones implement such extra "security" measures to prevent USB-sourced malicious installs.

For LeTv Le 2, Go to Settings > Fingerprint & Password > Other Security Options > Install apps in background , Set this options to Yes.


text:
How do I delete just one specific auto suggested URL from android chrome browser
I would like to remove only one particular URL from auto suggestions in my mobile (android) chrome browser. U know how embarrassing it gets sometime when u forget to use incognito mode and don't know how to delete the auto suggested website. The shift+delete can't work with mobile as highlight option is not possible. Also I would like to keep all my other browser suggestions in tact.
Anyone can help? Please...

Holding down a suggestion will ask the user if it should be removed from the browsing history, and therefore removed from the suggestions.

If holding down on a suggestion does not bring up the prompt, then make sure you have typed some matching text in the URL bar. The default suggestions for an empty URL bar, or for a newly selected URL bar, do not respond to the press & hold in the same way (Experienced on Chrome 52.)
I tested this on Chrome for Android 51.0.2704.81 and Chrome Beta for Android 52.0.2743.49.

Ace! But this only works for me if I type in a bit of text that matches the URL that I want to remove. Normally if I select the URL bar or clear it then there are default suggestions which do not respond to the click & hold in this way. Typing some matching text brings up the URLs in a way which does work though.

Great advice but it seems very hit-and-miss whether holding the text will bring up the choice. Some links seem quite resistant to deletion.


text:
Why Does Not My File Explorer See A Mounted Folder?
Why can't i see a mounted folder into my file explorer (checked ES file explorer and RootBrowser) , but i can see it from a terminal?
I'm mounting a folder (/mnt/sdcard/Source) into other folder (/mnt/sdcard/Destination) with the next command (requieres Root permissions):
mount -o bind /mnt/sdcard/Source /mnt/sdcard/Destination

If i check with the ls command, i can see the files, but not on my explorer.
I'm testing it on a Moto G running Android 4.4.2 (Kitkat), but the same command works fine on Android 4.2.2 (Jelly Bean).

Just wondering is your file explorer kit-kat compliant - there was permission changes made to kit-kat regarding SDCard storage.

I guess they changed permissions to sdcard, about my file explorer, i'm using ES file explorer and RootBrowser, and none of them show me the files. I also tried chmod -R 777 (Read, Write, execute) in both "Source" and "Destination". But nothing happens.

I was not actually referring to permissions as in un*x permissions, rather referring to the API changes made regarding accessing SDCard storage..

I get it, and yeah, im pretty sure they made something about storage because i can use my stored files on the phone while it's connected to usb on storage mode.

Seems like here's the answer and solution: http://forum.xda-developers.com/showthread.php?t=2718760 .
Quoting biopsin.

Since Android 4.2 and the intro of multiusers there is a problem with bind folders across sdcards, making any attempt on mount bind folders as root would result in visible to root only.
  Solution is to fool Android with temporary hijack debuggerd to create the mount binds for us. Thanks Chainfire for this workaround!
  * Download both files and rename without .txt
  * edit debuggerd.mnt to suit your needs (using any other dir then /emulated/legacy/ will result in read only if browsing folders from sdcard0)
  * move debuggerd.mnt to /system/bin
  * move mount.sh to any place with execute permissions
  * execute mount.sh with any preferred method.
    cheers!

Content of "debuggerd.mnt.txt" below.
#!/system/bin/sh

# Mount sd hack
mount -o bind /storage/sdcard1/Download /storage/emulated/legacy/Download
mount -o bind /storage/sdcard1/Ebooks /storage/emulated/legacy/eBooks
mount -o bind /storage/sdcard1/Pictures /storage/emulated/legacy/DCIM
mount -o bind /storage/sdcard1/Pictures /storage/emulated/legacy/Pictures

And below content of "mount.sh.txt".
#!/system/bin/sh

# Mount hack
mount -o remount,rw /system
stop debuggerd
mv /system/bin/debuggerd /system/bin/debuggerd.bak
mv /system/bin/debuggerd.mnt /system/bin/debuggerd
start debuggerd
sleep 2
stop debuggerd
mv /system/bin/debuggerd /system/bin/debuggerd.mnt
mv /system/bin/debuggerd.bak /system/bin/debuggerd
start debuggerd
mount -o remount,ro /system
echo "Mount hack enabled"


text:
Brightness resets after reboot Lollipop 5.0.2 (happening since factory reset)
I have an LG OPTIMUS L90 running Lollipop 5.0.2 and every time I boot my brightness settings reset from 0% (how I had it before reboot) to random numbers, for example: sometimes 90%, 100%, 77% etc.
My screen timeout also resets from "Never turn off screen" to "Turn off after 2 minutes". My device isn't rooted and I just factory reset it. Solutions?

Did you install any new apps after the reset? One of them may be causing the problem. A workaround would be to use an app like Tasker or MacroDroid to set the brightness and timeout after every boot. Is that solution acceptable?

When I factory reseted it, before I downloaded any apps it had this problem.Thanks for your answer but I would like it to boot like any other phone and stay with the settings that one chooses for it

You could just try taking it to the service center and eliminate hardware issues from consideration


text:
Phone memory full and it shouldn't be
I have a weird problem with my android phone: for some reason, I'm getting a 'Low phone memory' error message, and before getting the message the phone was slow and unresponsive.
I have 2 GB internal storage; in the app manager, it says 1.2Gb used, 27Mb free. Where did the rest of the space go? I noticed this slowdown after installing an app (QR droid) from that Play Market (or whatever name it has now). When I first saw the error message, I had like 100 mb free in the app manager, and each time I reopened it the space was decreasing.
The phone is a Motorola Defy, rooted and using Miui, android version is Gingerbread.
So how can I fix this issue?

What filled my internal memory were 'tombstones', files located in /data/tombstones, and in total used about 800 MB. After some digging up, I found that these are crash dumps from applications, and are only useful for debugging, so they can be safely removed.

How did you "safely remove" these files? Can I do this using the default Android features, or do I need an App to do this?

@StefanLasiewski "Safely removed" meant that they can be removed without causing any problem. You need a file manager (for example ES File Explorer), and I think you also need root access, since you are removing files from the system partition.

Thanks for the clarification. I wasn't sure if there was a hidden button somewhere.

Simple solution. Press phone and select keypad. dial *#9900#. A new menu appears. press the second one down "Delete dumpstate/logcat" then just press home to exit.. Done, you'll have bags of extra device memory with no ill effects. Should free up to a gig of device memory, it did on mine.


text:
Pressing volume keys causes songs to skip
Device: Motorola Defy (MB525), running Android ICS (4.0.4), CyanogenMod 9-20121116-NIGHTLY-jordan
Issue: Whenever I'm listening to songs on any song app, If I press either volume up or down keys when the screen is on, it works fine. However, if the screen is turned off and I press volume keys, it either returns to the beginning of the song (on vol down) or skips to the next song (on vol up).
Apps affected: This behaviour is verified on Google Play Music, Doods Music Streamer, and pretty much any app that has support for skipping songs while the screen is locked.

Related: http://android.stackexchange.com/questions/36081/cm9-skips-to-the-next-song-even-on-short-presses

This is a feature of CyanogenMod. Pressing and briefly holding one of the volume buttons when the screen is off will cause the music player to skip forward (volume up) or backward (volume down). The intention is that this allows you to skip tracks and whatnot without having to unlock the device.
If you find it annoying then you can disable it completely in your settings: simply uncheck the option at Settings -> Sound -> Volume rocker music controls. Alternatively, try to use short presses of the volume buttons when the screen is off and it should adjust the volume rather than skipping.

Thanks for pointing my this setting. It got implemented a couple updates ago, I assumed it was a bug and never noticed this setting.

Thanks for the answer. Maybe you can help me on this related issue: http://android.stackexchange.com/questions/36081/cm9-skips-to-the-next-song-even-on-short-presses

Comment from LittleEndu: On 4.4.4 it is under Setting -> Buttons -> Playback control

On LineageOS 17 this setting is under System > Buttons > Control Playback


text:
Forgot security lock pattern on Jelly Bean device with Wifi and 3G data turned off
I forgot my security lock pattern and my Wifi and 3G connections are switched off. I can hard reset the phone (Galaxy Nexus) from recovery mode, but that would wipe all my data.
ADB is also turned off so I cannot recover my data unless there is a way to turn on ADB while the phone is locked. I understand that ClockWorkMod recovery turns ADB on automatically when it is installed.

Do I need to root the phone to install ClockWorkMod?
If yes, can I root the phone while it is locked?
Is there any other way to recover the data from the phone before I reset it?

Since the FBI cannot bypass the screen lock, i guess you will not. http://www.wired.com/threatlevel/2012/03/fbi-android-phone-lock/

@Intrepidd This is the correct answer. It's not doable. The phone must either have USB debugging on or it's bootloader should have been previously unlocked. I'll mark this as the correct answer if you post it.

@Intrepidd FBI can't but you can bypass it. :P

@Zak Just trace the smudges on the screen if you can.

@avirk Those are long gone :)

See also: Cannot unlock tablet as have no internet connection?

Since the FBI cannot bypass the screen lock, I guess you will not. Check out http://wired.com/threatlevel/2012/03/fbi-android-phone-lock

If your bootloader is not unlocked already, you will need to unlock the bootloader in order to flash the ClockWorkMod recovery.  Unlocking the bootloader wipes the device.  So as far as I know, that won't be an option for you.
Perhaps you have seen this toolkit to root the Nexus.  It looks promising, but I would bet it won't work without USB debugging / ADB enabled.  It may be worth a shot anyway.  If it doesn't work, you will still be in the same boat.
Alternatively, you could just keep trying lock screen patterns.  Hopefully muscle memory will kick in.
EDIT:
To use the toolkit, you need to know your build number.  See this thread for some info that might helph you figure out what your's is.  If you can't narrow it down enough, you might be able to use the Android *.*.* Any Build option for your carrier.  Since you mentioned Jelly Bean, we can assume the build will be 4.1.*  This doesn't give you the exact one you need, but it will help some.  Based on the FAQs for the toolkit, it looks like you should be able to use the Android *.*.* Any Build, but you must select the right version for your carrier. If you want more info on this, post your carrier and region (US, Korea, etc.) and we can probably narrow things down a little more.

I would vote you up for that excellent toolkit, but I still don't have enough reputation. This hasn't solved it for me yet, mainly because it asks for the build number when it starts up, and I can't get the number because my phone is obviously locked and I'm afraid to pick a random build number, fearing that I might brick my phone.

@Zak I updated my answer to give you a little information about the build numbers.  It might be enough to solve your issue.  If you are satisfied with my answer, you can always choose the check mark to mark it as the answer to your question.

Normally after five unsuccessful attempts you will be prompted with forget password option. Your Google email and its password will be asked and upon successful verification you will be able to unlock. This will work even without Internet connection. At least this certainly works in ginger bread loaded LG P500

This doesn't work on my Galaxy Nexus (Jelly Bean)

You can reset it very easily with just few steps. I have tested it myself.
1: Enter wrong pattern 5 times and wait for 30 seconds.

2: Select “Next” and enter your G-mail account username and password or you can answer your security question as well. Now just login in your G-mail account and when you authenticated to your G-mail account then the screen will unlock.

Make sure you use the same account that was used to activate the phone and double check the password by logging in to that Google account in a browser.

This won't work with Wifi and 3G data connection turned off.

My bad forget about your data connection. Well did you not set up any security question?


text:
Watch Coursera's videos with the video app on Jelly Bean
Coursera has a html5 based video viewer that works on the android browser on Jelly Bean, but I would like instead to use the video app, in order to have full screen and better controls.
On my Kindle Fire (first version) the Silk browser automatically opens the video with the video app and then returns to the html5 player when the video ends.
Is there a way to achieve this on Jelly Bean?
I am using a galaxy nexus S but shouldn't matter.
Thanks!

What browser are you using (Stock, Chrome, etc.)?

I am using stock

I tried now also with Chrome, and behaves exactly like Stock, it opens the html5 player which has tiny control buttons.

I would not be surprised if this was due to added HTML5 support in Android 4.0 where as the original Kindle Fire is based on Android 2.3 and was lacking in HTML5 support.

@RichardBorcsik I know I can download it, but really I would like to just stream it.

@ZnewmaN I do not think so, in the Kindle Fire I see the interface, and in fact I can also answer the questions, so the HTML5 interface is definitely working, just as soon as the video starts, it switches from the browser to the video app.

thanks @RichardBorcsik I tested Mx Video Player, both using Stock and Chrome, but it does not start when I start the video, I still see the Coursera HTML5 player.

it looks like nobody on stackexchange knows how to achieve this, so there is no answer.

Is the Coursera HTML5 player an app installed onto the device? If so, have you tried disabling it in the app settings menu?
From ICS, system apps could be disabled.

No, it is just embedded in the Coursera web page

I just download the videos upfront and watch them with MX Player.

thanks, but I do not want to download the videos upfront. And if I download them, then I can just play them with the default video app.

@AndreaZ What video app do you want it to open with then?

any app would be fine, I'd prefer the stock video app but it does not matter. the point is that I do not want to download them upfront, but to stream them.

I tried a random course on there, after I pushed play, I pushed the "full screen" button that is in the bottom right of the video and it went full screen and the buttons were a lot easier to use.

There are a number of unofficial applications in the market (Google Play, Amazon). I've also developed my own application: Coursera On The Go. A free version is here! Coursera On The Go Free


text:
Is there a PDF reader app for the Kindle Fire with Dropbox syncing?
Are there any apps for reading PDFs on the Kindle Fire that sync with Dropbox?  (Ideally I'm looking for an app comparable to the excellent GoodReader for iOS.)
Note: Dropbox does not have an app in the Amazon Appstore.

If you need just an PDF reader, and therefore not modifying the PDF, why not just install the Dropbox Android App?

There is no Dropbox app in the Amazon app store.  I'll try it, but I don't expect it to be a good reader since it's not tailored for the Fire.

You should edit your question and add that there is no Dropbox App in Amazons App Store. Dropbox does just the syncing and I believe that there a good PDF readers in Amazons App Store. Otherwise root your fire and install a vanilla Android.

If you allow non-Appstore apps to be installed in your device, you can install Dropbox from their website.
To do that,

Click the gear icon in the top-right corner of the Kindle Fire home screen to activate the Settings window
Click More
Scroll down to Device
Scroll down to ‘Allow Installation of Applications from Unknown Sources’ and move the slider from ‘Off’ to ‘On’ and confirm the selection

Then head to Dropbox's site and download the apk from their site (NB: since this is not attached to a market, you will not be notified of updates):  http://www.dropbox.com/android
Once that's installed, you should be able to use any PDF app that's installed on the Fire.
{Begin biased statement} I'm partial to my company's own qPDF Notes and we have some nifty UI enhancements coming along shortly but {end biased statement} there are a number of other apps that will read PDFs on the Fire and, assuming they've set up their Intents (that handy little window that pops up in one app when you want to Send or Open or Share something in another app) properly, you should be able to click on a PDF from within Dropbox and open in the app of your choice and click Send from the app of your choice and save it to Dropbox.


text:
Does Samsung Galaxy S Indian ROM (latest DDJP6) has Bengali support?
I've read in several forums that Indian version of Samsung Galaxy S (I9000) supports Hindi language. Some of them mentioned it should support Bengali/Bangla also.
Can anyone here confirm that-
1) The latest Froyo firmware DDJP6 for Samsung Galaxy S supports Bengali? I don't need IME/a Bengali keyboard, just ability to render Bengali websites (like, Bengali Wikipedia) properly would be great.
2) If it doesn't support Bengali out of the box, does installing a Bengali fallback font serve the purpose? Please note that merely showing Bengali characters won't help. As this is a complex language, a proper shaper must be present in firmware to render kar/matra and conjuncts correctly.

Update: I have recently bought a Samsung Galaxy series device. Yes, its Indian ROM has Bangla shaper, only replacing DroidSansFallback.ttf with a Bangla font will do.

I wonder if you could try it out using the Android Emulator within the SDK ?

Android doesn't support Bengali out of the box, but some vendor specific firmwares do (Like Sony Ericsson Xperia X10i Indian). Is it possible to setup AVD using exactly the Indian firmware of Galaxy S?

I am interested to know if it supports tamil language. Did anyone find a link which has the list of languages supported?

I have latest official firmware sgs.
I can see hindi website, but no bangla.....at all!!!
u can use the procedure to see bangla fonts by http://suhreed.wordpress.com/2011/04/27/how-to-install-bangla-font-on-samsung-galaxy-tab/
or
http://blog.mehedi.me/bangla-font-on-android/
thanking you

Here's a workaround using Opera Mini.
Download and install Opera Mini (OM). Try accessing a site like the one cited above - http://bn.wikipedia.org
If it doesn't work out of the box, do the following:
In the address bar, type opera:config
Navigate to the option Use bitmap fonts for complex scripts and set it to YES
The fonts and script lettering should now be visible, albeit as images instead of text. That'll make content visible, but unlike text non-selectable.

Oh! Thank you. I knew about this Opera Mini trick. That's actually the last place to go. You not only loose selectable text, the huge flexibility (including javascript support) of default browser is gone and transferring image instead of text increases data volume. iOS 4 supports complex scripts, it is a shame that all androids don't. (Or, do they? How?)


text:
How can I run WhatsApp so that I am always online?
How can I set WhatsApp to always run in the background? Like Skype, when I exit, it keeps me online to get calls or SMS or chat notifications.
While using WhatsApp, when I move away with the menu, it exits. How can I avoid this and tell Android that this application should always be running - so that even if it is closed it will restart the application automatically?
If anyone sends a text message, I don't want to go to all the icons and open the application several times.
Any help?

Whatsapp runs a service in the background and shows a notification if someone sends you a message. If you click on the notification Whatsapp will open itself. Is this not working on your phone?

@THelper: yes that answers it. But how can i place that notification icon always on top. Like Skype Does.

You mean, an notification icon that is always visible? You can't (at least not until the programmers at Whatsapp add such a feature).

You can't set an icon on the notification bar to "let you be online all the time", it's not user defining option. But the service is always running, like THelper said, you don't have to mind that, you'll receive the messages without the icon appearing all the time.

You can use a Modded Whatsapp such as GbWhatsapp,FMWhatsapp etc.
they have an option  to keep you always Online


text:
Auto sync only when connected to a specific wifi network
I am getting rather low battery life when using auto-sync on 3G. I have wifi in college and at home, so I'm looking for a way to enable auto sync only when connected to those 2 specific wifi networks.

See also http://android.stackexchange.com/questions/63987/how-to-block-apps-on-tablet-from-accessing-the-internet-while-on-tethering

That's easily accomplished using Tasker. If you don't know, Tasker is the most complete automation solution for Android. It doesn't come for free (5 Euro -- but you can get a free trial on their homepage), but is definitly worth the price. Just take a look at the Tasker UserGuide for a full description.
Tasker combines conditions and tasks to profiles. In your case, the Task would be something like:
Task AutoSync:

Auto-Sync: On

You will have two Conditions, one for each profile (Tasker always connects conditions by AND, so you need two different profiles:

Profile Home:

Condition: Wifi Connected (add your home network's details)
Task: AutoSync

Profile College:

Condition: Wifi Connected (add your college's network's details)
Task: AutoSync

Now, when you're not connected to any of these networks, switch off AutoSync manually once (you won't have to repeat this). Next time you connect to one of the two networks, Tasker turns AutoSync on -- and resets it to the previous state (off) as soon as you are disconnected.
If Tasker is too heavy for you, I'm pretty sure there are other automating tools which can accomplish this simple task (Llama - Location Profiles for example). But now that you've got the idea, you will find the related app fitting you.

Tasker looks like a really powerful app, but Llama looks like it'll serve my purpose (just this one) and is free. Thanks!

Exactly why I mentioned both: I use Tasker, so here I was sure about how it works -- and Llama being a free alternative which most likely can do the same for this case. Enjoy :)


text:
Vibrate function on my Samsung Galaxy S3 doesn't work though it is turned on. What is the cause?
I have had this phone for a few months and only now did I try to start using the vibrate function.  When I choose "Vibrate" from the drop-down bar it never vibrates when I receive texts though sometimes it works when I use the Facebook messenger app.  I went into settings and enabled everything that has the word "Vibrate" in it.  Also, my phone is on power-saving mode; does that have any impact?
The vibrate function is supposed to notify you of incoming notifications but by vibrate, yes?
Is it a hardware problem?
OS: 4.1.1
Model: SGH-l747M

Power saving mode (by default) turns off some vibration, but it should only turn off the "haptic feedback" vibration (vibration when you touch certain UI controls). You can change that by going to Settings, Power saving mode, and unchecking "Turn off haptic feedback". That's the mode I run my SGS3 in all the time.
To get vibration working for text messages, you also need to enable vibration in the settings of the Messaging app itself (I'm not sure which settings you were referring to when you said that you "went into settings and enabled everything that has the word "Vibrate" in it"). To do that, go to the conversation list in the Messaging app (not an individual conversation), hit the menu button, then select Settings. Look for the "Notification Settings" section and check "Vibrate".
To get vibration working for incoming calls, there is a similar setting in the Phone app. Launch the Phone app, make sure you're on the Keypad, Logs, or Favorites tab, tap the menu button, select Call settings. Then select Ringtones and keypad tones and select Incoming call vibration. The Device vibration will let you modify the vibration pattern used (so you can tell an incoming call from a text message / email).
To get to the Phone and Messaging apps: Press the "home" button at the bottom of the phone (the physical button in the middle). That brings you to your home screen. The touch the "Apps" button (it looks like 9 square white dots, and is usually on the lower right of the home screen). That will bring up a list of all applications installed on the phone. Scroll through looking for an app named Messaging (or Phone). The icon for the Messaging app looks like a white envelope with a yellow piece of paper coming out of it. The icon for the Phone app looks like a green square with a white phone receiver on it. Tap the app icon, then follow the instructions for each app above to activate vibration for text messaging and incoming calls.

My haptic mode has always been off.  I was using Facebook as an example to show that the vibrate function works sometimes but my actual concern is getting notified of incoming calls and texts when my phone is in vibrate-only mode.

I went into my phone "Settings" to make sure all options that have to do with the vibration mode was on.

It's good that you've enabled vibration in the "Settings" app. But it's not enough. You also have to enable it in both the Messaging app and the Phone app. See my answer for instructions, if you need them.

What exactly is the Messaging app?  I'm not interested in getting notifications from Facebook but the text messages I receive directly on my phone. I'm lost.

I can't find my Phone app. Where is it and what does it look like?

What about text messages?  How can I get that working?

Apologies for the delayed response. I'm at work and had to wait until lunch time to respond. I've edited my answer again with instructions on how to get to the Phone (the app that handles making and receiving calls) and Messaging (the apps that handles sending and receiving text messages) apps.

Awesome , found the text one.  Under Ringtones in the phone app vibrate is already enabled.  Let me try it out.

I was having the same problem with the vibration for my phone even when vibration was turned on for calls/texts/etc  until I realized  it was because the vibration intensity was turned all the way down.  Go  to Settings,  click on Sound,  then  click on  Vibration Intensity  and make sure it's turned up.

You can try it in other modes than power saving. To make you phone in Vibrate only mode, hit the volume keys till the volume bars come down and shows the vibrate mode.
Yes when on vibrate mode all notification via WhatsApp or FB messenger will be via vibration only.


text:
Pinch-zoom not pure zoom in Web browser on HTC Desire Z because text is auto-re-formatted: irritating / layouts break
When I (multi-touch) pinch to zoom and release my fingers from touching the screen to see the zoomed display, the Android web browser on the HTC Desire Z performs a shrink-to-fit re-format of the page (or a block of text).
This re-formatting is unsatisfactory because:

the original page layout is not retained, for example horizontal navigations get squashed e.g: from

ABOUT SHOP FORUM SUPPORT

to

ABOUTSHOPFORUMSUPPORT

or worse the text overlaps
when pinching to zoom photos on a site, the zoom occurs but on releasing the fingers to complete the pinch, the photos shift as if they are anchored to a spot.
the shifting affect of the reformat is irritating at best and confusing at worse, because the user's eyes lose track of where they were reading once they release their fingers from the screen to complete the pinch

Is there anyway to turn off the auto reformatting?
I notice that this "feature" of reformatting is not present on my iPod Touch - this device performs a "pure zoom" whereby the multi-touch pinch simply zooms in without reformatting/shrinking to fit the text block to the screen, this flows better and feels more natural. (Please note: No this is not an Apple Fan-boi rant, remember I am an owner of a HTC Desire Z Android phone as well as an ipod touch and would like to see my suggested improvedments in the Android phone).
I suspect that this occurs on other Android 2.2 phones but can't be sure.

I believe this feature is called text reflow and is not an actual a feature of Android but more of HTC. The HTC browser reflows the text as you zoom in. This can get very annoying especially because after reflowing it can move your focus area to the closesr text not what you were zooming into.
My personal pick for an alternative browser is Dolphin Browser™ Mini. It has both the functionality you're missing in the stock HTC browser but also the speed you expect when loading webpages and launching the browser.
Dolphin Browser™ Mini

It looks like you can't turn off this feature.  Just as an "other-side-of-the-coin" perspective, I find that the reformatting does what I want and expect nearly all of the time, in that when I finish zooming, the text I'm looking at fills the screen at the size I've zoomed to.
Your options seem limited, then, to:

Trying one of the other browsers available in the market, or
Lobbying HTC to fix their browser, or
Learning to love the way the HTC browser does it...

Edit: This does appear to be an HTC feature, not stock Android. Amusingly, the first site I've noticed where the feature doesn't work right is HTC.com itself, on the very page describing its benefits...

+1 For taking the time to answer and expressing your view. Another annoyance of the HTC browser's non-proportionate-retaining zoom/reflow is when filling in forms - if you've begun entering text in a textbox and then zoom (for example to be able to more accurately re-position the cursor to go back and edit something you wrote), all the characters get bigger and you can only see some of what you wrote in the text box.

@Rob - Have a look at Lie's question here: http://android.stackexchange.com/questions/5999/android-browsers-aboutdebug-what-do-those-settings-do If the same trick works for you, there should be a new "use GEP zoom" option that turns HTC's reflow feature off.

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


text:
Disabling Android Device Manager location notification on Galaxy S4
I have a Samsung Galaxy S4. When you use the Android Device Manager to locate your phone it shows a notification that it was utilized, which is stupid in my opinion as it tells the bad guys/gals what you are doing.
I went to Settings, Application Manager and All and tried to locate the "Android Device manager and Device Manager" to disable it as was indicated by another responder, however I did not see either to be listed.
I would like very much to know how to disable this notification.

The "location accessed" notification comes from Google Play Services. (You can find out what app a notification comes from by long-pressing it and then selecting "app info.")
To disable notifications from Google Play Services, open Settings > Apps > All > Google Play Services, and then untick show notifications, then accept the prompt.
Note: After disabling these notifications, you may not receive certain alerts from that app, like updating Google Play services.

According to Google's site

From your device's apps menu, open Google Settings .
Touch Security.
Under "Android Device Manager," move the switches next to "Remotely locate this device" and "Allow remote lock and factory reset" to the on or off position. Make sure you sign into your Google account on your device if you want to use Android Device Manager.

Make sure you're going to "Google Settings", not just the normal "Settings" menu.


text:
How do I go back to my original settings after installing Hola Launcher?
I just installed Hola Launcher on my HTC One m8 and it changed everything from my display to content settings. I would like to switch back to exactly how my phone settings were before installing Hola Launcher. I've been trying to find options but to no avail. I would also like to remove Hola Launcher.

I guess you installed Hola Launcher through Play Store so this is what you need to do:

Open Play Store
Go to My apps
You will see a list of recently installed/updated apps. If you don't see Hola Launcher directly, scroll down and search it in the list.
Tap on Hola Launcher to access detail information of the app
Tap on Uninstall (the left button) to uninstall Hola Launcher

After that Hola Launcher is completely uninstalled from your device and it should ask you which launcher you want to use, the next time you hit the Home button.

That will only change the default launcher. Not necessarily reset the phone to it's previous state.

@miva2 this is what I understand of the author's question. If you have a better answer then feel free to add it.

This is what happened to me. So, go to the Hola Launcher settings, then the first option will be "Set as default". Turn this option off, then your phone will be back to what it was. Then, go to Play Store, go to My apps, find Hola Launcher, then click uninstall.

None of these answers worked for my Samsung Galaxy S4.  However, I went to App manager in Settings.  Tapped on the hidden button in the lower-left corner of my screen (in the black area) and tapped on "Uninstall Multiple".  Then tapped the box next to the Hola application and was able to uninstall it.


text:
Can I forward my text messages from my Android phone to a Chromebook?
I am coming from an iPhone and a mac book, and I am used to the idea of being able to send and receive all my texts, calls, and face times from my laptop. After making this huge switch, I am confused how anyone can consider this better. Can someone tell me if this is possible? I am not against any sort of under the table methods of making this happen. I have a Galaxy S3 and a Samsung Chromebook 2, so if Google can't do it, I'm thinking Samsung should be able to.

MightyText: http://www.mightytext.net
and PushBullet: https://www.pushbullet.com/
are third-party apps that provide this functionality.


text:
Go to silent/vibration mode while listening to music
How can I listen to music and go to silent/vibration mode without having to stop the music? On older versions of Android you just pushed and held the power button and you got a range of alternatives to choose from, but now in Lollipop you only get power off restart etc. No volume options directly. Is there a fix for this?


text:
How to fix failed CM install on Moto G?
I have tried to root my Moto G, which had the bootloader unlocked, and was on 5.1 GPE to install CM 11.
I have had a lot of issues...
First I successfully installed the CWM recovery, when I went into it it was flickering for some reason. After a reboot the recovery was even gone.
Installed it again, booted into android, put the CM file into storage, went back into recovery, installed it from there. I did not do a format first because it would have deleted the cm file as well...
cm-11-20140504-SNAPSHOT-M6-falcon

So CM installed, upon boot, the cyan logo was flickering, then it was encryption unsuccessful and had to restart, after many restarts it was the same...
Now I have not access to the storage so I cannot even put on another ROM, and the installed ROMdoes not start. No idea what to do.
I tried some other recoveries (as that's all I can do at the moment) all of them flicker.

twrp-2.6.3.1-MotoG4.4.img
philz_touch_6.58.7-falcon.img
cwm-6.0.4.7-MotoG-GPE-4.4.img
clockworkmodrecovery.6051.falcon.img

Any help appreciated.

if you found a solution, please post it as an answer, so that other users will be able to find it and vote on it (the text of your original solution is available here). You can also mark the answer as "accepted" so that others will see your question has received a satisfactory answer.

As Moto g received the Lollipop update recently, other roms should adopt the changes.
If you want a working phone you can flash the stock firmware or you can sideload a custom rom but this requires a computer and fastboot files installed.
I encountered this problem and solved this as follows:
If you have installed fastboot files on computer and a custom recovery on your device(Twrp is my choice) then download any custom rom which you have tried before(just to confirm that it should work as you have already it) and place it in fastboot folder.
Reboot the device to recovery and you have a option to sideload the rom from computer click on it. Connect the device to computer and and type the command "adb sidelead yourrom.zip" it may take about 5 minutes to complete. Once rom is sideloaded it flashes fine.Do a factory reset and reboot.
Go to this link if you want info about custom roms.
Happy flashing


text:
Configuring wired network connection with WiFi still enabled
I have a Nexus tablet and a USB-OTG + USB/ethernet connected. I have proved the hardware works by disabling WIFI and ifconfig'ing up eth0 with
netcfg eth0 dhcp

ping, traceroute all work as expected.
If instead I leave WIFI enabled, but then do a simple
ifconfig eth0 172.16.100.1 netmask 255.255.0.0 dev eth0

and connect the wired ethernet to a machine configured at 172.16.100.2 I cannot ping it.
# ifconfig wlan0
wlan0: ip 10.1.10.238 mask 255.255.0.0 flags [up broadcast running multicast]
# ifconfig eth0
eth0: ip 172.16.100.1 mask 255.255.0.0 flags [up broadcast running multicast]

# netcfg
<snip>
p2p0     UP                                     0.0.0.0/0   0x00001003 da:50:e6:2d:b2:14
eth0     UP                                172.16.100.1/16  0x00001043 50:1a:c5:fd:83:dc
lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
wlan0    UP                                 10.1.10.238/16  0x00001043 d8:50:e6:2d:b2:14

# cat /proc/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT
wlan0   0000010A        00000000        0001    0       0       0       0000FFFF        0       0       0
eth0    000010AC        00000000        0001    0       0       0       0000FFFF        0       0       0

traceroute seems to show the packets are still routing through 10.1.0.1 (wlan0)
# traceroute 172.16.100.2
traceroute to 172.16.100.2 (172.16.100.2), 30 hops max, 38 byte packets
1  10.1.0.1 (10.1.0.1)  1.648 ms  1.220 ms  1.526 ms
^C

Manually replicating the -net 172.16.0.0 route makes no difference.
What have I missed to set up the routing correctly?
Is the p2p0 interface interacting in some unexpected way?

In systems with two interfaces (such as this Android device with wlan0 and eth0), routing is not automatically setup to use two gateways. This is why 'traceroute' shows that the traffic that you'd like to go out on `eth0' is actually going out on 'wlan0'.
Another way to confirm this is:
# ip route get 172.16.100.2
172.16.100.2 via 10.1.0.1 dev wlan0 <snip>

The solution is to configure multiple default routes by adding a new routing table for traffic on 'eth0' and then adding appropriate rules to the routing rule set. See this article for an example. (Even though the article describes a Linux system, the two commands you need to use, namely 'ip route' and 'ip rule', are available in Android.)


text:
Launcher3 isn't responding error on Android 4.4.2
I am constantly getting an error on my Xolo q1010i (Android 4.4.2) saying "Launcher3 isn't responding". It gives me two options: "Wait" and "Close".
It appears when I try to open an application, but not with any specific one; it happens randomly.
I have tried doing a factory reset, but in vain.
Is there any solution to this?

This might sound stupid, but have you tried using a different launcher?

That would be one way. I'd recommend something easier to start with: Go to Settings › Apps, chose the All tab, scroll to the Launcher (might be called "HomeScreen" or something similar), open its entry, tap the Clear Cache button (quite often the reason for those "ANRs" is some messed-up cache). If that doesn't help, you can also try Delete Data in the same place (but then all your Launcher/HomeScreen settings are gone).


text:
TWRP: Wiped phone, can't put any data onto it through MTP
So I wiped my phone because I was going to install Cyanogenmod 12 (Nexus 5) but now it is wiped I can't make any folders or move any ROMs onto the phone through MTP even though it shows in Windows.
How can I fix this?

I had the same issue with MTP not working from TWRP (Windows 10 x64). I used adb push as a workaround way to put update on the phone after disabling MTP from TWRP "Mount" menu:
adb.exe push update.zip /sdcard
adb push open_gapps-arm64-7.1-nano-20170625.zip /sdcard

Very good answer. Worked like a charm!

Also works for pushing to internal storage without disabling MTP. Thanks!

Switch off your device.
Take out your memory card.
Place it in some card reader.
Access it on your computer and place the ROM in it.
Now, place the memory card back to your device and go to recovery.
Flash the ROM from memory card and you are good to go... :)

I am presuming that your device doesnot support SD-card (memory-card).
You can see MTP, it means that drivers are fine.

Update your TWRP TWRP for LG Nexus 5

Update your drivers and reboot PC.

Format Data from Wipe option in TWRP.

Connect to PC, and hope you can see MTP. Copy CM12 (for your device ONLY) ROM from PC to internal storage. Don't forget Gapps and Supersu zip files too.

Flash ROM first, then gapps and finally Supersu.

Reboot phone, Done.

If above steps doesnot work, then last thing you can do, is to go to bootloader and flash ROM using sideload.

I ended up using ADB to install CM12. Thanks for the help anyway!

If any of u suffering from this problem then the best way is flash the older version of twrp....i stucked in the same situation my phone doesn't support sd card and mtp not working as well.......actually i was using stock firmware in my Gionee S5.1 i tried to reset it as usual  but my phone stucked in bootloop means my os was totally gone but luckily my twrp stills there hence i connected my phone to the pc its connected via mtp at that time, i found that there is a new version of twrp available i flashed it and mtp stops working as i was wiped out my whole internal memory data and my phone doesn't sd card so i downloaded the previous version twrp puted it in the usb and connected with otg and flashed and mtp worked again and then flashed new rom!!!!! I hope it will help


text:
How can I transfer MMS messages from an HTC One to a Galaxy S6?
I am trying to figure out how I can transfer all of my messages (SMS+MMS) from my old phone to my new phone. From what I can tell, most of the apps (SMS Restore+ and others) do not support MMS restore. I have Helium, and when I restore the "messaging storage", the MMS messages are not there. What else can I do? I really don't want to lose all of those messages!

You could try the SMS Text Messaging app to migrate the messages over. It description claims the app is capable of that. Have not tried it, though (I not even have any MMS to try it with ;)


text:
Alcatel Onetouch Pop 3 5.5 bootloop
I've recently tried to root my device with this tutorial. But now when I start my phone it restarts after 5 seconds and then it shows the teamwin logo. After that it says:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
Running Recovery Commands
Failed to mount '/data' (Invalid argument)
Formatting Cache using make_ext4fs...
Failed to mount '/data' (Invalid argument)
Done processing script file
Renamed stock recovery file in /system to prevent
the stock ROM from replacing TWRP.

Does anyone know how to resolve this? I'm at the point that I don't care about the root anymore I just want my phone to act normal again.
Just to make sure everybody understands: my phone can't load recovery nor load fastboot mode.

I've found a way to undo this.
Alcatel does offer repair tools on their site. Simply select Pop 3 (5.5) from the list on the left and download the tool. Just follow the steps exactly and your device will boot properly.
If I find a way to root this device I will post it here as well.

I'm sorry to say, you may have bricked your phone...
pardon me for any mistakes, I am only 14 years old
try reinstalling the kernel and bootloader (I suggest using clockworkmod for bootloader) through Odin - Google how to do it if you don't know
then delete cache, dalvik cache and finally factory reset your phone - all through bootloader like ClockWorkMod
Download a ROM like Cyanogenmod
Download GAPPS for the ROM
Put all of this on SD card
Flash the Rom and GAPPS through bootloader
And finally reboot your phone - If you get a message from the bootloader asking if you would like to fix root, simply select yes
You can activate root by going on to developer options on CyanogenMod

Thanks for replying! For sofar I've read my phone is not "bricked", it is stuck in bootloop. Do you have a tutorial for me how to use Odin on a phone that is stuck in bootloop? Or mabey another program or method to fix this?

Umm... Give me like 10 mins, I will find a tutorial for u...

This is a tutorial that shows how to recover from boot loop: http://xda-university.com/as-a-user/how-to-recover-from-a-bootloop

This one shows how to use Odin on Samsung... http://androidflagship.com/791-update-root-android-samsung-device-odin You can use this tutorial for your phone... Best of luck!

authors: ΓΑΛΗΝΟΣ ΑΜΠΑΤΖΟΠΟΥΛΟΣ


text:
Without telephony and GPS apps/libraries, security subsections crash?
In CyanogenMod 13, I've removed all telecom/telephony/GPS support from a ROM in an effort to reduce the device to basically be a wifi-only mini tablet. This entailed removing all relevant apps and a few libraries.
The ROM boots fine after removal, but lockscreen, security, and privacy aren't accessible in the settings; settings crashes when attempts are made to access any of them.
On previous versions of CyanogenMod on the same and another device this didn't happen, but then again I've updated the script I use to be more comprehensive as I discover new parts of the system that address telephony.
I've cross referenced the options in each settings subsection with the apps and libraries removed, and there seems to be zero crossover. Nothing in privacy, lockscreen, or security references GPS or telephony in any way.
I've done some tests to replace removed apps to try and do a process of elimination, but there are a lot of apps the script I use removes. I've only gotten through two or three of them so far, but none of them restored access. The obvious one seemed like it would be dialer.apk, but allowing that one did nothing.
Anyone know:

what telephony/GPS apps are required to run the aforementioned settings
what the reasoning is behind this counter-intuitive entanglement, and
how to maybe rebuild the ROM so that these apps and libs aren't required to access the full settings?


text:
Lollipop - multiple Google accounts, setting the default
I have two Google accounts - one personal, one for work. I added the work account last, and it seems to show up as the default for the OS and apps I install. I'd like the personal account, which I added first, to be the default Google account for he device.
Can I change this without having to remove both accounts and add them again in the opposite order?
Edit: to clarify -- while each app will ask which account I want to use, that isn't what I'm asking about. I'm asking if we can change which account the device assumes is primary, and therefor which account it displays first. One would think the first Google account added to the device would be the default, but instead it seems to use the last instead.

All applications that use Android's internal Google Account system should ask you which Google Account they should use on their first run.This includes games, but excludes websites as they do not use any Android framework.

If you have already selected a default for an app and you want to use a different one, you can try clearing the data for the app (be careful though as this will actually delete all the data for that app). If you clear the data, and then open the app, it should ask you what the default is.

When you open the play store or any google application to choose between your logged in accounts swipe from left to open options and then touch on the account name of yours. You will then see all the accounts that you are logged in with. Now choose the one you wish to use.

Correct, they do ask. However, they default first to the wrong account. I'm wondering how to change which account appears first.

I had to remove accounts until my preferred one was at the top of the list. I added a couple back and my new default wasn't disturbed.

Well your best choice is to backup the apps using a backup application and then switch account and restore the applications. The apps may ask you to choose account now, and you can choose the right one.
One more idea is to backup all apps and clean the data of the play store and Google play services and open the play store again. Now the play store will ask which account to sync with. You can choose the right account. What I don't know is how this will affect the other apps. They must get removed. So please backup first.

Each google app has a menú to choose the default google account you want to use. However since you added last tour business account, that modified your name in the contacts and therefore also on the account name in the Action Bar (TopMenu). So you might just want to modify your name in thr contacts to your name. I think this is what you are looking for.


text:
How do I invert colours inside a specific app?
The latest Android has an Invert Colours option in quick settings.
Is there any way to turn this on automatically when a specific app is opened? Is there any other way to achieve inversion of colours inside a specific app?

Are you rooted? Some apps can put a toggle in the notification shade so you could toggle it quickly, but it requires root.

@AndyYan Not rooted. Any workaround possible in that case?

None that I know of. Tasker might be able to do it somehow, but some actions of it also requires root, and I never used it so I don't know if doing it is one of the actions.

Tasker needs to run in the background and ultimately costs battery. This should be part of the OS itself. There are software vendors who try to sell dark mode for real money, it is ridiculous and needs to be fought back.

For me Tasker did the job, but you need an additional Tasker plug in for this, called AutoTools.
On my bq android device root wasn't needed to do the job.
I set up a profile to invert the screen when I open specific apps like my newspaper reader.

What did you use to invert the screen?

Since the answer is a little light on details for novice Tasker users (like me).
Here is how to do it step by step:

Download and install Tasker
Free trial version here
Import the example for Tasker from here
The example works for Gmail app and manipulates the accessibility_display_inversion_enabled property to toggle the color inversion. Making Gmail Dark but others app normal.
Enable the profile
Now, every time you click on gmail, if it doesn't work it's because it needs more permissions (check notifications)
Add the "usage access" permissions and "write settings" permissions
You also have to enable write settings perms via adb with
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
Click Gmail and color inverts
Leave Gmail and color inverts back

I use Automate, see this link. It is like Tasker and need the same permissions and preparatory actions via ADB but ligter than Tasker. And free for such small algorithms (less than 30 blocks).

You can always turn invert on while your where you want to use it, then when you're done turn it off.
Go to settings on your phone, to accessability, to Direct access, check invert.
Now go back to your home page and rapidly push the home screen button 3 times, fast. It'll come on, push it 3 times again to turn it off. There is a video online for each step of you want to Google it.

This seems like customization from the manufacturer since it might not exist on all devices. It'd be great if you could [edit] and mention the phone model and the Android version. Thanks!


text:
Sense shortcut icon reverts to standard Android icon after reboot
I have recently purchased an HTC Sensation, and I'm very happy with the device; everything runs smooth and fast as I should expect from the device itself.
When rebooting the device, I tend to lose a lot of shortcut icons on the Sense screens; they revert back to some default Android icon. This causes me to remove the icons that were "defaulted" and put them on there again to get the correct icons.
Being new to the Android community, I was wondering if anyone knows why this is happening.
The device is an HTC Sensation running Android 2.3.3 and HTC Sense 3.0.

Are the icons that get defaulted shortcuts to things on the phone's SD card?  And if you leave them alone after a reboot, do they come back after a while?  It might just be that the SD card is busy being scanned immediately following a reboot, so the OS seems to put off loading inconsequential things like icons for a few minutes.

@Matt Exactly. I have an HTC Desire and it does behave in this way, for applications that have been installed on the SD card. It usually takes 30 seconds up to a minute until the SD card is ready, and they reappear back.

as mentioned before, it happens when the app is installed/moved onto the SD Card. Even after waiting it still doesn't get the normal icon ... so I guess bug?

Quick and dirty way to reload your icons in HTC sense UI!
Change scene to anything else, then change scene back!
Temporary fix till next boot or smth but that's the only way i know how to do it right now.

Its a bug that HTC have not addressed yet, it is not the same as the 2.2 model phones, and seems to only happen on this the latest versions of gingerbread.
Its not like the old thing where the executable has been moved to the SD card, as I haven't moved anything and I still get it on some apps. It doesn't jsut go away, it is permamnet when it happens and the only atm to fix is to either reload your UI, or dump the desktop icons and replace them.
C'mon HTC!! Sort it out

I get this after reboot on CM6 for applications moved to SD card. The problem fixes itself after a little time. I'd blame a slow SD card, if you're not running Sense.


text:
Need entire Google suite on cyanogen to install play store apps?
I've installed cyanogenmod on a Moto E.
But I need to use an app that is only available from the play store.
I can successfully install open Gapps and then the play store.
But this also bundles all the Google apps (music, games, docs, desktop search etc) that I was trying to avoid by using cyanogenmod.
Is there any way of installing apps directly from the play store website or am I completely misunderstanding the point of cyanogenmod?

The OpenGapps Project might help. DO a clean install of CM, and flash the nano package.

The bare minimum required to install applications from the Play Store is the Google Package Installer and Google Play Services. Google and Android are two separate entities, and although CM is based on Android it does not tie in the Google services, but it is compatible with them. You do not need Google to use CM, and there are alternatives, but to use the Play Store you MUST install the minimal services listed previously.
OpenGapps has the smallest package available to be able to access the Play Store and it contains only the absolute minimum required to access and install apps from the Play Store called a "pico" package.
Of course, free apps could be found in a reputable APK mirror site, like APKMirror, but this is not a valid location to find paid apps. Be aware that some features of apps distributed via the Play Store require Google Play services in order to function, so in some cases without it installed some feature may not work, and it is possible that entire apps would not function, although I do not know of any examples at the moment.
Other potential sources for apps would include the Amazon App Store, GetJar, MoboGenie, SlideMe, and F-Droid, which are all safe, viable alternatives to the Google Play Store.
MakeUseOf did a respectable article earlier this year entitled "Here’s How You Can Use Android But Ditch Google", a read through this article may help your understanding of getting along without Google.

You might want to quote the microG open source variant as well.