How to prevent adb shell from exiting upon Ctrl+C

I found sort of a workaround for this (at least for a rooted phone). If a phone is rooted, busybox is most probably installed. stty is part of busybox.

  stty intr ^x

Redefines Ctrl+X to act as a break command, e.g. what was previously Ctrl+C.


How can I view/transfer non-image files from my Samsung Galaxy S4 Mini to my computer?

First, when you say unidentifiable files what are you referring to? Second, PTP is only gonna display video based files(exactly the types you listed although .ogg is usually used for ring tones and such). Keep in mind that even though Android is a GNU based operating system, it may sometimes require a few tweeks in the terminal along with ADB to get it functioning properly with your device, hence the computer folders appearing empty.


How to install vanilla Android OS on Kindle Fire?

Rooting the Kindle Fire (necessary for installing a new system, see tutorials below)

Installing CyanogenMod on the Kindle Fire (I guess it is pretty much the same with other Android systems)

Installing the Android Market on the Kindle Fire (may also be helpful)

! Warning !

The Kindle Fire is known for having hardware compatibility issues with systems other than the pre-installed one!


How to paste a password in a field of web browser?

When you are using Hacker's Keyboard you can simply press Ctrl + V to paste.

Please note if you don't have a Ctrl key, you can enable it in the keyboard's settings.


As your computer is running Windows, you need to install the appropriate device driver first. Most manufacturers offer one for download on their resp. websites, specifically tailored for the device in question; but that would also mean you'd need multiple drivers if you had multiple devices.

A good solution reported to work fine with multiple different devices, and also supporting Windows 8 fine, is Koushik Dutta's universal adb driver. This would hence free you from the hazzle of possible driver conflicts, if you one day decide to use a different/additional device.


Disable bluetooth calling on Android Wear

Usually you can specify in bluetooth settings for each audio device whether it handles Call Audio and/or Media Audio. So turn Media Audio Off for your watch and On for your headset.


Ways to see notifications besides pull down bar

If you use a third party launcher you can use gestures for certain functions.
For instance, using Nova Launcher Prime, when I swiped down anywhere on my home screen it would bring down my notifications.
So that could solve that issue for you.

There should be other free alternatives that perform the same function

To answer your last question, a screen replacement should fix the issue though.


Free up phone memory taken up by thumbnails

You can try using an app like Es File Explorer

It has a SD Card Analyze tool, which will help you analyze the total space used and give you options to clear some space by deleting unused files, temp file etc.

For the issue with thumbnails, take a backup of all your photos on Google Photos.. then delete all the thumbnails.. deleting thumbnails will not delete the images.. Even if it does delete, you will still have the backup in Google Photos.


Did the meaning of „Protection Level: signature“ change with Android 6?

No, the meaning of protection level of "signature" is not changed in Android 6.

We can 'git blame' the file PackageManagerService.java and check function grantSignaturePermission. The basic logic didn't change since Android Lollipop. The following logic was added in Android 6:

    if (!allowed && (bp.protectionLevel
            & PermissionInfo.PROTECTION_FLAG_PRE23) != 0
            && pkg.applicationInfo.targetSdkVersion < Build.VERSION_CODES.M) {
        // If this was a previously normal/dangerous permission that got moved
        // to a system permission as part of the runtime permission redesign, then
        // we still want to blindly grant it to old apps.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTALLER) != 0
            && pkg.packageName.equals(mRequiredInstallerPackage)) {
        // If this permission is to be granted to the system installer and
        // this app is an installer, then it gets the permission.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel & PermissionInfo.PROTECTION_FLAG_VERIFIER) != 0
            && pkg.packageName.equals(mRequiredVerifierPackage)) {
        // If this permission is to be granted to the system verifier and
        // this app is a verifier, then it gets the permission.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel
            & PermissionInfo.PROTECTION_FLAG_PREINSTALLED) != 0
            && isSystemApp(pkg)) {
        // Any pre-installed system app is allowed to get this permission.
        allowed = true;
    }

From the above code, we can see,

if the permission is specified with "signature|pre23" and the app target sdk version is less then 23, it will get this permission, because this permission was moved to system permission in Android 6.
if the permission is specified with "signature|preinstalled" and the app is pre-installed system app, it will get the permission
if the permission is specified with "signature|installer" or "signature|verifier" and the app is installer and verifier, it will get the permission.

Conclusion: the signature protection level didn't change its meaning in Android 6. If a permission has signature protection level with other flag, such as pre23, preinstalled, intaller or verifier, it has new meanings.

The following explains the confusion about WRITE_SETTING permission in the question:

The documentation on WRITE_SETTING is incorrect about protection level. If you look at the Android source code at  frameworks/base/core/res/AndroidManifest.xml:

 <permission android:name="android.permission.WRITE_SETTINGS"
        android:label="@string/permlab_writeSettings"
        android:description="@string/permdesc_writeSettings"
        android:protectionLevel="signature|preinstalled|appop|pre23" />

you can see the protection level is signature|preinstalled|appop|pre23.

A non-system app using a different signature can access functionality because of the protection level of appop, which means the user can choose if this permission is on or off.


What represents 'bootloader' in the possible outputs of `adb get-state`?

There are some hints in implementation details of ADB protocol and overview.

As communication starts between ADB server on host (PC) and ADB daemon (adbd) on device:

  Both sides send a CONNECT message when the connection between them is established.

Syntax of CONNECT message is:

CONNECT(version, maxdata, "system-identity-string")

  The system identity string should be "<systemtype>:<serialno>:<banner>"
  where systemtype is "bootloader", "device", or "host"

The connection state is set when the identity string is parsed. device and host are obvious i.e. if the CONNECT message is sent by device or host. We can't see host state on PC with an Android device on other side because it's set only when it's none of bootloader, device or three recovery states (recovery, sideload and rescue).

For bootloader part, it seems that ADB can have a "simplified / embedded implementation... for limited environments, like the bootloader":

  The bootloader will support two streams.  A "bootloader:debug" stream, which may be opened to get debug messages from the bootloader and a  "bootloader:control", stream which will support the set of basic bootloader commands.

Also:

  The BOOTLOADER and RECOVERY states correspond to alternate states of devices when they are in the bootloader or recovery mode.

ADB server:

  maintains a list of "connected devices" and assigns a 'state' to each one of them: OFFLINE, BOOTLOADER, RECOVERY or ONLINE
  ...
  considers that a device is ONLINE when it has successfully connected to the adbd program within it. Otherwise, the device is OFFLINE

Other connection states (available to date) include:

Connecting    Haven't received a response from the device yet.
Authorizing   Authorizing with keys from ADB_VENDOR_KEYS.
Unauthorized  ADB_VENDOR_KEYS exhausted, fell back to user prompt.
NoPerm        Insufficient permissions to communicate with the device

With the addition of authorizing and connecting states:

  Previously, devices would transition as follows:

  offline -> unauthorized -> offline -> online
  offline -> unauthorized (when actually unauthorized)

  With this patch:

  connecting -> authorizing -> online
  connecting -> authorizing -> unauthorized (when actually unauthorized)

It seems that now device offline state appears only when a wrong AUTH type is requested or responded by client or server (1).
no permissions or connecting states are set soon after device is connected.
authorizing or unauthorized are set when AUTH message is conveyed between client and server.
unauthorized is set either if host's private key(s) failed or if waiting for on-screen confirmation from user to add new public key.

If none of the above states is detected for any reason, it's returned unknown.


It seems Fire Emblem Heroes might be consuming a lot of resources (RAM, CPU) in addition I suspect it has one or a few processes running in the background.

I'd suggest you completely disable Fire Emblem Heroes from auto starting, manage ram by hibernating the app after using it. You can put the app on the exclusion list of allowed app when screen is off, if your ROM supports that.

For instance I use Start up manager to prevent a named app from automatically running during start up, and Power manager to restrict background power intensive app from running (both built-in)

If your ROM doesn't include these features you may consider installing Greenify, and clearing cached data regularly


How to fix 'Android is starting' optimization on every boot?

I just had the same exact issue on the same exact phone. After doing some digging it seems like this happens when Android has a problem optimizing one or more apps, so it stubbornly retries all of them. So I uninstalled apps one-by-one and rebooted, and the problem went away after uninstalling SuperSU.

Not wanting to leave my phone unrooted, I noticed I had installed the latest SuperSU (2.79 SR3), so I went here and downloaded the latest stable release (2.79):

https://forum.xda-developers.com/apps/supersu

After installing it I no longer had any issues.

During my troubleshooting I also cleared the cache, although I'm not sure if it helped or not:

Boot to recovery
For the Moto G 1st generation:

Power off the phone
Press and hold volume down button, press and hold power button, wait for about 4 seconds and then release both buttons
Press volume down to select Recovery and press volume up to boot to recovery

Clear the cache
For the Moto G 1st generation (stock recovery):

If you get to a screen that says "No command"

Press and hold the power button for 2-3 seconds
Without releasing power button, press volume up button and release the volume up button
Release the power button

Use the volume buttons to move down to wipe cache partition and select it with the power button
Wait for it to finish (it can take a while) then reboot


If I delete all photos on my phone, will contacts pictures also be deleted?

No. Contacts' pictures are kept separately from the original photos you added them from. They're stored with the contacts database, not with the photos on the SD card. Deleting photos from the Gallery app or wiping the SD card won't affect them.


Are multiple-users protected from each other differently than apps?

PRIVACY: ANDROID VS. *NIX:

PROTECTION:

Being protected has a very vast meaning, varying for persons and situations. Comparing Android with *NIX systems, admittedly the former offers more isolation between apps and a more fine-grained control over permissions. Quick examples:

On PC, user is trusting all the processes / apps running under same    UID (usually a human user) (1). On Android it's not the case; every app is a different user to have possibly minimum influence on other apps.
A PC user can easily get superuser / administrator rights, an Android user cannot (2).

The demand and reason are obvious:

Privacy matters more because a phone is a 24/7 inevitable assistant as well as a perfect spy equipped with all necessary hardware tools.
And the reason is that it's easy to implement a more restrictive environment on a less customizable device.

Traditional *NIX DAC dates back to the early days of personal computing, when the isolation was only focused between users (UID's/GID's), not between processes / apps. Because there were no closed-source paid apps in stores from unknown developers; not much personal data to be protected from malicious processes; no user profiling, targeted advertisement, trackers, analytics, ransomware and so on.

SECURITY MECHANISMS:

*NIX DAC was found insufficient particularly with internet revolution, hence superuser privileges were divided into capabilities and new sandboxing mechanisms were introduced at kernel level, including MAC and namespaces. Android makes use of all of them more or less, they control which resources a process can access on device. Also, cgroups control how much resources a process can use. But even then, these security mechanisms weren't enough to minutely lock-down the apps, so a number of controls are handled within Android's own framework (in userspace). Android's system_server has more services running inside it than native services. When I say "mechanisms weren't enough", concern is not only to design an ecosystem to protect user's privacy / security, but also to protect Google's business model as well as of app developers.

PC VS. ANDROID:

It should also be noted that there is no standardization in Android (rather in embedded) world unlike PC's. Android uses a modified Linux kernel, which doesn't fully handle hardware in kernel space, instead relies on a number of userspace closed source processes from SoC / OEM vendors (3), which interact with other processes and hardware drivers using Android-specific binder / HAL mechanism. So *NIX DAC, which is heavily based on everything is a file philosophy, doesn't seem to work very far. A hardware device is no more simply a file in /dev which can be accessed by adding the app process to some supplementary group, there are layers of APIs and IPCs involved (Java and native).

However Android does take advantage of Linux kernel's robust frameworks e.g. DAC. Apps' internet connectivity is controlled by adding them to a special supplementary group 3003. See: How Android's permissions mapping with UIDs/GIDs works?

WHAT SHOULD BE PROTECTED ON ANDROID:

Coming to user's granular control over security / privacy on Android device, a few things one can be concerned about are who can:

Access personal data (pictures, documents, videos, backups etc.)
Get accounts information (added by apps including Google)
Get read/write access to data from content providers like:

Contacts
Call log
Messages

Read user / device identifiers (MAC address, IMEI, Android ID etc.)
Read usage statistics
Find installed apps
Access camera, record audio/video
Make calls, send messages
Get internet connectivity
Get device location
Run in background (e.g. surveillance or tracking apps)

And so on.

APP PERMISSIONS AND SANDBOXING:

Android divides its protected APIs in different Protection Levels. Apps' access to most of the above resources is either controlled by manifest permissions or user has no control over them.

For instance you can't restrict an app's access to internet without using some third party firewall. Every app which requests for INTERNET permission is granted at installation time, you can't remove its supplementary group AID_INET (3003).
Similarly READ_CONTACTS and GET_ACCOUNTS permissions belong to same group and are controlled with same toggle switch on GUI.
And you can't deny an app running in background unless you use Android's hidden permissions manager: AppOps.
And that's not the end. If you want more fine-grained control over permissions e.g. revoking an app's ability to getInstalledApplications, you need some heavy framework modifier like Xposed and XPrivacy.

Every app is assigned a unique UID/GID at installation time and it runs inside its own stance of Virtual Machine, forked by zygote. DAC enforced to filesystems, apps are bound to access only their own directories, particularly on internal storage (/data/user/<UserId>/<pkg_name>), private/public external storage (/data/media/<UserId>) and procfs (/proc/self/ etc.).

DAC sandboxing is also supplemented by MAC, e.g. SELinux policy won't allow apps to read /proc/stat and rootfs (/) (but allow them to read other app's data directory (4) ;). On the other hand /data/misc/profiles/cur/<UserId>/<pkg_name> is allowed by DAC but restricted by SELinux.

MULTIPLE USERS ISOLATION:

An XYZ app in primary user account with UID/GID 10500 can access it's private data/settings/databases in /data/user/0/<com.xyz> but not in secondary user account because /data/user/xx/<com.xyz> has UID/GID owner xx10500 where xx is UserID. How DAC controls access to /sdcard (external storage) is explained in What is the “u#_everybody” UID?

Basic sandboxing isolation exists between apps whether those are from same or different users. But a notable additional isolation between apps of different user accounts / profiles is the separate shared storage (i.e. /sdcard), which is a benefit obviously if you don't trust the app. It's because an app has access either only to its private directories, or to whole external storage. This problem of too open public files is being controlled through Android Q's privacy change: Scoped Storage.

This isolation between apps of different user accounts / profiles also exists at Java framework level. For instance in our above example, getInstalledApplications “returns a list of all application packages that are installed for the current user” only. So an app won't be able to find out what apps you have installed on other user account / profile.

Since the installed apps' data is isolated, the stock Android's content providers (which are also system apps) are also isolated. So the contacts, call logs, calendars, messages, media (list of files on external storage) etc. aren't shared among users.

Other things which are isolated between users (not necessarily enforced by DAC/MAC):

User/app settings which are subject to FDE, FBE and password authentications (/data/user_de/<UserId>/<pkg_name>, /data/misc/keystore/user_<UserId>, /data/misc/gatekeeper/<UserId> etc.) (5, 6)
Apps' usage stats (/data/system/usagestats/<UserId>)
System-wide accounts and settings, not all (/data/system/users/<UserId>)
Custom CA certificates (/data/misc/user/<UserId>)
ART profiles data (/data/misc/profiles/cur/<UserId>)

CONCLUSION:

So in Android world unlike PC's, everything isn't governed by uid's/gid's, for a large part we are at the mercy of Android's core framework. But isolation between multiple users does exist, however it depends on what you want to protect from apps.

REFERENCE:

Multiple Users on Android
Linux vs. Android


Now, I am not 100% that this is the exact issue, as I do know that this is the case with .m3u playlists, but I have not tried using .pls files for a playlist.

The problem sounds like it is with the Media Scanner. When it scans the directory that the .pls file is in, it sees the playlist file (the .pls) but if the directory does not have any other media files in there (like .mp3 for example) then it automatically assumes that the playlist is empty so it deletes it.

You can create a file in the directory called .nomedia and the Media Scanner will not even scan the directory, leaving your .pls files alone.

To test this, you could just drop some type of media file in the directory with the .pls and see if it is still deleted (or add the .nomedia file). If it is not deleted, then it is 100% the Media Scanner causing the files to delete. If it is still deleted, then I would check if in your application you are deleting them some how.


Why do I keep texting myself voice mail transcripts?

Google Voice is responsible for these; they are sent by default. See in the settings:

You can uncheck this box and Google Voice will refrain from sending you SMS transcripts of your voicemails from then on.
Also note, unchecking the box above titled Email the message to: only prevents email transcripts, not SMS ones.


What's the reason that the alarm clock isn't working when the phone is turned off?

There is no power to the phone when it's off.  It's actually off.  Some phones have a minimalistic charging mode that just shows a battery animation, but I have yet to see an Android device that boots into a clock-only type mode.

The Android OS is designed to use minimal power when not in use.  If you have a problem with the battery dying overnight, it's probably due to a third-party app.


Can you extract files from a Google Drive Whatsapp backup?

Answering your main question - no, you can't.
As for having Whatsapp in a phone firmware, I think reseting an app through deleting its data in Android settings could do the trick, but it may also delete local backup files - so "backup the backups" first (sdcard/WhatsApp/Databases).
Sources:
https://support.google.com/drive/answer/6305834?co=GENIE.Platform%3DAndroid&hl=en
https://faq.whatsapp.com/en/android/20887921


You must have moved them to your homescreen from your app drawer.

To remove the extra ones, simply long press on one of them and drag it to the remove icon on the top of your screen. Do the same for the rest of the apps


Galaxy s2 will not boot, wrong bootloader

Go to samfirmware

Get your original firmware from there and keep the selected file in PDA option in Odin.

Do not tick any other option; just put your handset into 'Download Mode' and connect it to pc.

When Odin displays 'CONNECT', click on 'Start' and wait until it starts flashing then; you will be able to use your phone.


Visit the wiki pages of Kernel and Android for information.

In simple terms, the kernel is a key component of operating systems, which mediates between software and the hardware. When an application needs the hardware to do something (this is known as a system call), it sends a request to the kernel, which in turn interprets the command for the hardware.

Both the hardware and the software communicate both ways with the kernel.

In the context of Android, the kernel is not user-accessible without superuser permissions. Thus, many users flash a custom kernel, to tweak hardware settings such as CPU clock speed and File System Architectures.

For further reading, look here and here.


Can't pair my phone with my Windows 8 computer on a Cyanogenmod 13 install without Gapps

I assume you are sending files from your android device to your PC.

Just download the Xender app from google play store and open that app.

I will provide you 2 solutions.

Both PC and android device should be on same wifi network. In PC,
open a browser and type web.xender.com. You can pair the device.

In your android device, create a hotspot and connect the PC with it.
Just proceed with respect to the instruction given by the xender app.

I had similar problem before and I have documented the same.

https://tjosepraveenblog.wordpress.com/2016/05/14/transfer-files-from-my-phone-to-pc-without-using-a-usb-cable-and-vice-versa/


Can I repurchase apps so they can be shared with my family library?

Yes

The solution I have found is to purchase the software with another family member's account and from there set the Family Library toggle to true.

This can be done from a child account with the caveat that parental permission will be required if their account has been configured with that option.


64 digit Hex WiFi passphrase doesn't seem to get accepted

That has worked fine when I recently tested it with CyanogenMod 7 and 9 (and also stock HTC/Samsung/Motorola).

Just enter it into the usual passphrase input box but without any colons. Just type in only the 0-9,a-f letters. This should work then.

Here's a sample wpa_supplicant.conf entry with a fake key/AP:

network={
    ssid="insecureAP"
    key_mgmt=NONE
    auth_alg=OPEN SHARED
#   128 bit key:
    wep_key0=0123456789abcdef0123456789
#   64 bit key:
#   wep_key0=0123456789
    priority=90
}

Note: 64bit correspond to 10 hex digits and 128bit correspond to 26 hex digits (with WEP standard)!


AirPlayIt is one software solution that will stream video files from your computer or file server to an Android device. It simply streams things Android can play and transcodes things it can't.

Plex is another popular solution.

You might also investigate any number of UPNP media streaming solutions.


Accessing Gmail Password from Android Device Remotely

If i get a new phone and restore android, will the gmail app appear with the accounts logged on?

When you log in on your new phone using some account, only this account will be present on this device. To read mail from other accounts, you will need to sign in to those accounts as well.

  Is there a way for me to find out the password?

When you log in, your password is sent to Google servers, and they check if provided password is correct. If authentication passes, the server returns session token and no password is being stored on your phone. So no, there is no way to find out the password.


The Google Now assistant can be activated by long-pressing the button of the earphone, looks like you use the buttons to control music, but is pressing it too long.

Another thing that could be, are you using original earphones? Some earphones, because of incompatibility, keep sending commands even though you are not pressing buttons. Use another earphone for a day and see it the problem occurs, if it doesn't, the problem is in the earphone.


I'm going to say no.

From the article you linked, EGNOS is primarily designed for airborne use and has limited ground applications.
EGNOS looks to be designed more for commercial applications (e.g. embedded navigation systems in vehicles, airline, etc.), not so much consumer devices
Nexus One's GPS is provided from the QualCom QSD8250 "SnapDragon" chip (specs). The specs for that chip do not mention any WAAS capabilities. Furthermore, there aren't any Qualcom chips listed on the EGNOS registered devices list.

If I'm wrong about the chip, then it should just be a matter of software to enable it. I haven't seen anything like that in the Android source, but that doesn't mean it isn't hiding there or in some third party bolt-on.

What the Nexus DOES use to improve both response time and accurace is A-GPS (Assisted GPS). This basically just means it us using the presence of other location clues (cellular towers, wifi networks, etc) to help triangulate a better/faster position.

You can see this in action with the Google Maps application. If you have GPS enabled and WiFi disabled and open the maps application, it will prompt you to turn on WiFi, even if you're not connected to a network. It uses a location database of wifi hotspots to help get a fix on your position, similar to Skyhook


Samsung Galaxy 2 stuck at start up. Can I recovery the phone or at least the data?

I believe I have a similar problem and shall update this answer as I find more information.

What variant of Samsung Galaxy S II do you have?

These steps could help:

Fresh reboot by pulling battery, SIM card and any external SD card out for a while (some sources I have read say to wait over an hour).
Clear the cache partition (this is safe, no data loss):
Hold power, volume up and menu simultaneously to boot the phone into recovery (for Samsung).
Select wipe cache partition using the volume up and volume down keys, then press menu.
The boot-loop tag information contains further instructions.
Otherwise, this answer indicated that it should be possible to root the phone and recover data via the Android Debug Bridge (ADB): these instructions should work for the Samsung Galaxy S II GT-i9100 but I have not yet tried them.


How to give root permission for app even after unrooted?

Well,I think the answer is no. If you got your device rooted then is rooted for all apps. Well, virtually all apps. Superuser is the app that avoids that any app use superuser permissions. If you unroot then nobody can access root


What do the values in "Running Services" mean?

As far as I know, it breaks down into this:

Other: This is RAM that is unavailable right now because it's in use by services that are actually running (it might be ones that can't be killed, in fact). Using your example, there's 78 MB of RAM in use by 4 processes, hence "78 in 4".
Avail: The first number here is the amount of RAM that is completely free and not allocated to any process (the 109 MB in your example). The second number is allocated but the process is in a state where it can be deallocated. Thus, "58 MB in 8" means there are 8 processes that are currently holding 58 MB of memory, but they are paused/frozen in the background and that 58 MB can be reclaimed by the OS if an active process needs it.

Edit: As Jake pointed out in the comment below, you can find a description in this entry on the Android Developers Blog (scroll all the way to the bottom).


Factory reset not working in Samsung Tab 2

Try resetting through Recovery mode. if you have installed a custom recovery like philz or CWM try wiping dalvik cache and user data before Factory Reset.it will prepare a clean ROM for you to proceed.

hope it helps.


Why doesn't Google+ auto upload all my pictures consistently and in the right sequence?

Maybe because you choosed "Only WiFi" when the app asked you if you want to upload photos via wifi, mobile or both...
Try clearing G+'s data and restarting the settings step from zero...
I had a similar problem with a S4 and this was the problem/solution ;)


How to permanently enable ADB in Huawei devices?

I was using Huawei mate 10 lite, as I remember I had fixed this issue by selecting Allow ADB debugging in charge only mode at developer options section


Have you tested the LED through the service menu?

To enter the service menu go to the dialer and paste in the following code

*#*#7378423#*#*

Select

  Service tests

and then

  LED/Illumination

The LED should start to blink in green then blue then red. If your led is not blinking red I would suggest your LED is broken.


root will not get you banned from the updates you can update your phone normally via kies on PC or on the phone it self if the update is supported to be flashed from the phone ,however I must add that you will probably lose the root access on your phone after the update


Samsung Galaxy Tab 4 default email attachment location

Well the tab4 runs on android kitkat. Google has added restrictions to apps on editing data on sd card. Only the default file manager has permission to edit sdcard. So you cannot send attachments directly to sdcard. You have to move them using default file manager.


Google Calendar Erroneously Deleting Events

I used Spanning, which was perfect. Took care of the whole thing. Why google doesn't have this functionality is beyond me.


If you simply want to find each other, I would use Google Latitude, included in Google Maps, which allows almost live updates (about every five minutes-ish, usually), and gives all the options of Google Maps, including just a few clicks to see a map or use the built in turn by turn Navigation to find each other.

See this similar question for some other options for the latter options, but I personally use Android Lost. This is their website, and they offer a long list of options for lost devices, including, but not limited to:

Read SMS'es
Read the latest SMS'es from your phone and send them to your email.
Remote control alarm
Have you ever misplaced your phone which was put on silent mode? Now you may sound the alarm on your phone from your PC!
View on map
Find the location of your phone on a map. With AndroidLost you can find your phone with GPS precision. Even if the phone is indoor you will get a nearby location by network accuracy.
Send SMS'es from your PC
You can send SMS'es directly from your phone by typing them on AndroidLost. All replies will still go to your phone.
Lock the phone
You can lock and unlock the phone from the web. If you forget your pincode you can simply overwrite it or remove it by entering an empty pincode on the web.
Wipe the phone
Don't want your personal messages in the hands of anyone else? With AndroidLost you may wipe the entire phone so all SMS'es, contact and google setup is removed.
Pop up messages on the phone
Send a message to the friendly guy who have found your phone so you may let him know where to give it back.
Forward your calls
You can send keys to the dialer of your phone. That way you can forward your calls from your mobile to a nearby phone.
No battery use
AndroidLost will not use any battery since it does not poll any server to find out if it is lost. It uses the latest technology from google to send messages to the phone.
No pre installation required
You didn't install AndroidLost on your phone? No problem! You can push the AndroidLost app to your phone from google market and initiate the connection to googles servers by sending an SMS with the message "androidlost register" to your phone.
Read status
Detect how much battery is left, display IMEI, SIM card ID and much more.
SMS commands
You can set up a phonenumber which can control you phone, i.e. start the alarm by sending an SMS to your phone.
Erase SD card
Click a button and your SD card will be erased! Very useful if you have some naughty pictures on your sd card.
SIM card changed
When the SIM card is changed an email will be sent to the owner of the phone.
Hidden SMS
When the phone receives an SMS it plays a sound and displays an icon in the notification bar. But if it starts with androidlost it will not play any sound and not display any notification.
Call list
A list of incomming and outgoing calls will be sent to your email.
Camera
AndroidLost can take pictures with the front facing camera in case the phone is stolen. Only for android 2.3.
Tablets Honeycomb
I think I have fixed it so AndroidLost works on tablets. The call functions will obviously fail if the tablet have no phone installed.
Text to speech
You can make your phone speak out load. Suppose you have lost it on a café then you can make the phone say: 'I am lost - please pick me up!'
Multiple phones on the same account

NOTE: AndroidLost will do all of the things you ask in one application, but Latitude is simpler for your primary usage.


Is there a music player can display the song words and scrobble to Last.fm?

Just from the Market description, Astro Player looks like it might.


Nexus 5 with an English interface and a Hebrew keyboard

Yes you can do this. For this, I am assuming you are using the stock Google keyboard.

Open Settings and tap on Language & Input. Tap on the settings icon next to Google Keyboard. Tap Input Languages at the top. Deselect "Use System Language" and then select any keyboard languages you wish to use.

Now in the keyboard, the space bar will display the current selected language. To change to one of the other active languages, press and hold the space bar and select the language you wish to use.


How to (cleanly) remove Gmail app from KitKat? I have fully moved over to Inbox

Deleting the Gmail app wouldn't give you extra space, as it came pre-installed as system app. Those "system apps" live in a different partition (/system, which is why they are usually called "system apps"), which is mounted read-only – and not available to the user to be written.

However, Google Apps (including Gmail) are regularly updated via Google Play. Those updates are placed in user-space (inside /data), and thus consume space you could use otherwise. To claim back that space from system apps you don't need:

From the home screen, go to Settings › Apps
Select the "All" tab
Scroll to the app in question (here: Gmail), tap its entry
Now you see some details on that app, including some buttons you can press. Press:

Force Stop to "shut down" the app
Clear Cache to make it release its "temporary files"
Delete data to get rid of its configuration and stored user data (optional; if you think you might need this app later, skip this step)
Uninstall updates to get rid of the app-updates installed in user-space
Now that button gets renamed to Disable, hit it again (it should be renamed now a second time, and read Enable – so in case you need it at a later time, you can do so. Note it then would draw-in the latest updates again)

Now the app should no longer be visible in the app drawer, and also its shortcuts etc. on your home screen(s) should be gone. Storage claimed by the app's updates, caches, and (optionally) data is freed, and available to you to be used for other purposes.


If you are on Jelly Bean (MR2) or KitKat, you can use my app: Override DNS for KitKat.
For lower versions of Android there are tons of free apps which do the same.


Is there an app for searching installed apps? (Dumb Search alternative)

(EDIT) New solution:

You can revert to your complete old behaviour. It needs some hacking though and might be illegal (decompile&recompile Google app)

Background:
If you don't have root, you cannot install the old version over the new one.
What you could do: Install an app with the functions of the old Search app.
Idea: If the old app had a different package name you could install it next to the new app.
How? Apktool!

Solution proposal:
Use apktool to decompile and change the whole namespace from com.google.android.googlequicksearchbox to com.google.android.googlequicksearchbox2  of a working old .apk (see .zip below, mind the 2 in the end), then recompile and install the newly crafted package. Result: Old and new (broken) provider can be installed next to each other at the same time because they have a different namespace (.*searchbox2 instead of .*searchbox). Just find out which one is the old one and use that.

Benefits: No root required, permanent (cannot be taken away)
Drawbacks: You get 2x the same widget offering (1x from the old, 1x from the new), so you have to find out which works and which not

My test so far ('apktool' is an alias to 'java -jar /usr/local/bin/apktool.jar' on my machine , FYI):

apktool decompile GoogleQuickSearchBox.apk appdir
#append every occurrence of the namespace with '2'
find appdir -type f | while read a; do sed -i 's,uicksearchbox,uicksearchbox2,g' $a; done
#rename the directory to reflect that too
mv appdir/smali/com/google/android/googlequicksearchbox smali/com/google/android/googlequicksearchbox2
apktool build /tmp/bla.apk appdir
#Any sort of signing (jarsigner, signapk.jar,...):
java -jar /tmp/signapk.jar /tmp/certificate.pem /tmp/key.pk8 /tmp/bla.apk /tmp/gsearch2.apk
adb install /tmp/gsearch2.apk

(EDIT: Old solution)
What would be nice to know: Does this only affect Samsunng and Google's US customers?
According to androidcentral, Samsung now deploys this update as a stability fix globally.

It's most probably this package, that got "updated":
com.google.android.googlequicksearchbox
 (located at /system/app/GoogleQuickSearchBox.apk)

Having root is definitely required to revert the situation.

I'd however decide to get rid of Samsungs firmware altogether and install CyanogenMod for example (This might even be easier than getting root in the first place on the orginal firmware).

You might want to "reinstall" the unaffected version from the last firmware or one of a Euro firmware (if they're not stripped). For example, this archive from the popular Goo.im hosting site will most probably have a working (older) .apk that has the functionality you miss. It's a generic installation package for the popular Cyanogenmod aftermarket firmware that holds all relevant proprietary packages from Google (they had to be stripped off Cyanogenmod by Google's request some time ago). You can open it with any unzip program and extract the /system/app/GoogleQuickSearchBox.apk package.

That's how I would do it (using the adb tool from the Google SDK:

adb push GoogleQuickSearchBox.apk /sdcard/
adb shell
su
mount -o remount,rw /system
cp /sdcard/GoogleQuickSearchBox.apk /system/data/
mount -o remount,ro /system
reboot
exit

I used Application Explorer to generate this listing and see where the .apk is located:

App Name: Google-Search
Package Name: com.google.android.googlequicksearchbox

[...]

Source Directory:
/system/app/GoogleQuickSearchBox.apk

You can get the version of 'Google-Search' by going to Settings->Apps->All->Google Search, which lists the current version. Mine (the same as in the above mentioned .zip is: 1.4.1.299849)


Ran "adb reboot bootloader" now can't boot past logo (Azpen A746)

Fully draining the battery will unbrick an Azpen A746HD in this situation.

I did further testing and was able to repeat the conditions for bricking and unbricking the tablet:

Running adb reboot bootloader will render the tablet unbootable as described in the original question (hard-brick).
Fully draining the battery will clear out whatever issue was preventing boot, unbricking the tablet.


Phone forgetting networks after turning off wifi

I have had this problem for almost a year now. I have Nexus 5 and all the latest Android OSs. I had the exact problem, and it was really annoying. Whenever I turn of wifi or phone, it keeps forgetting my home wifi and all newly added...

Solution:

Settings > Wifi > Saved Networks

The list showed over 120 remembered networks....
I travel a lot, and it was mostly hotels, bars etc.
So i didn't need them and I have deleted over 100 networks.

Problem was still there. When i turn off wifi again - the same.

I repeated the step 1. There was again list of over 100 saved networks(different ones)...

Repeat step 1 over 5 times!!!
Now I have only 20 saved networks.  And when I add new network - the device remembers it!!!

I guess that the problem was - when you remember new network - it is there in your phone. When you turn off wifi and back on - it tries to overwrite it on your google backup account ...

However - I am happy again! This was really annoying.

Cheers
Marko


Cannot restore an adb backup due to a tarball with a broken header

After a whole day of various experiments with another tools like TitaniumBackup (neither worked nice, TB was only able to restore APKs, not data) I've figured out that specifying the -apk key was the problem. Simply omitting the flag during a backup operation makes it fully restorable.

So my new backup/restore plan became as follows:

device 1: backup data only
device 2: backup APK+data retaining the APK only later (requires nelenkov/android-backup-exractor by Nikolay Elenkov; can be easily built using JDK 1.8.x and Gradle 2.7 (couldn't build it using Gradle 2.7+ and Gradle 3.0+) with simple gradle command)
device 2: restore the APK using adb install
device 2: restore the data using adb restore

Here are the scripts:

backup.sh

#!/bin/bash

set -e

PACKAGE=$1

if [ -z "$PACKAGE" ]; then
    echo no package specified
    exit
fi

echo ">>> Backing up $PACKAGE data..."
adb backup -f "$PACKAGE".DATA.ab $PACKAGE

echo ">>> Backing up $PACKAGE APK..."
adb backup -apk -f "$PACKAGE".APK.ab $PACKAGE

echo ">>> Extracting APK..."
java -jar abe-all.jar unpack "$PACKAGE".APK.ab "$PACKAGE".APK.ab.tar
rm "$PACKAGE".APK.ab
APK_FILENAME=$(basename $(tar tf "$PACKAGE".APK.ab.tar | grep '^apps/'"$PACKAGE"'/a/'))
tar xvf "$PACKAGE".APK.ab.tar -C ./ "apps/$PACKAGE/a/$APK_FILENAME" --strip-components=3
mv "$APK_FILENAME" "$PACKAGE".apk
rm "$PACKAGE".APK.ab.tar

echo
echo "*************"
echo "*** Done ***"
echo "*************"

This script requires a package name as the input parameter and stores an APK and its data as foo.bar.apk and foo.bar.DATA.ab respectively. I also implemented it as a twice-backup script (a device asks for making a backup two times) because I didn't want to re-pack underlying tarballs preserving the original file order just making sure that the DATA.ab file is in its original state.

restore.sh

#!/bin/bash

set -e

PACKAGE=$1

if [ -z "$PACKAGE" ]; then
    echo no package specified
    exit
fi

echo ">>> Installing $PACKAGE APK..."
adb install -r $PACKAGE.apk

echo ">>> Restoring $PACKAGE data..."
adb restore $PACKAGE.DATA.ab

echo
echo "*************"
echo "*** Done ***"
echo "*************"

This script simply installs an APK on a target device and restores its data. The only input parameter is the application package name.

So the overall backup/restore process is:

Connect device #1
Execute backup.sh passing an application package name
Click "Backup..." on the device #1 (one will be asked two times for the data and APK+data backups respectively)
Repeat the previous two steps for other packages if necessary
Disconnect the device #1 and connect the  device #2
Execute restore.sh passing an application package name
Click "Restore..." on the device #2 once asked
Repeat the previous two steps for other packages if necessary


Nexus 4 won't charge or boot (red light)

I am having the same problem, with no red light when charging a nexus 4.
I changed the usb cable and it charged.

The problem came back however. I just noticed that if I held down the buttons while inserting the cable, the red light came back on.

After a while, it started blinking, and charged fully.

I use my nexus4 for development, so it is on for days even weeks in a row, which is not good for the battery.

Also most computer usb sockets dont provide half the current that a dedicated usb charger does, and that is what flattened the battery.

It would be nice if I could bypass the battery completely, since this one is always tethered to the workstation.


I doubt that something like an SMS/MMS Virus exists or is "in the wild".

If this MMS was really originating from your phone, than this could only be caused by an malicious App. Now, there are two ways how any App can send/receive SMS/MMS:

By having the appropriate permissions

You can easily find out which App has requested, and since you installed it, granted, which permissions that App got granted. See this question for tools.

By exploiting the Android System

If there is an root exploit within the Android System and within the Dalvik VM, any App could use it to do anything. AFAIK as of Android 2.3.5 there are no public known exploits. Not sure what's the state in case of Android 2.1

SMS history

Editing the SMS history is not necessary. The history is part of the (stock) SMS client. If an Android App uses to API to send an SMS/MMS the history is not involved.


How can I hide irrelevant contacts in Go Contacts?

Not sure if this will answer your question, but there is a Settings (button) called "Contacts Account" which lets you show or hide the following contacts:
- Phone
- Google
- SIM
- Facebook
- Twitter
- Show contacts with phone numbers only


Migrate from Sony Ericsson W810i to Galaxy

Method 1. The base way is to sync your contacts to your Gmail account from your Sony Ericsson W810i if that is possible. Then sync that account to your Galaxy and your contacts will be copied OTA easily.

Method 2. Sync all your contacts from your Sony Ericsson to Outlook. Then export those contacts from outlook to a CSV file. Once you have your contacts in CSV file you can import that CSV file to your Gmail account and then sync that Gmail account to your Galaxy S 2 and you are DONE.


How do I get an iTunes podcast into an Android phone?

Podcast Addict v2.3 supports searching and listening to iTunes podcast directly from the app.

You can subscribe to iTunes podcasts (just copy/paste or press on the URL) and you can also browse the iTunes database, so the podcast you're trying to listen will now show up.


Go to the gallery, find the picture you would like to set as Lockscreen wallpaper.
When u have the picture opened, in the menu ( 3 dots - usually) there is Set as..

Just click it and it will ask you for " Set as Homescreen wallpaper / Set as Homescreen wallpaper and lockscreen wallpaper  /  Set as lockscreen wallpaper"

Now select your option.


How to calibrate an Android device battery without root access

  The old 'fully charge and discharge' approach stands as one of the simplest ways to 'recalibrate' your Android battery. But if your phone battery is causing you real problems, it's worth taking the risk.

  Method 1

  Turn it on again and let it turn itself off.
  Plug your phone into a charger and, without turning it on, let it charge until the on-screen or LED indicator says 100 percent.
  Unplug your charger.
  Turn your phone on. It's likely that the battery indicator won't say 100 percent, so plug the charger back in (leave your phone on) and continue charging until it says 100 percent on-screen as well.
  Unplug your phone and restart it. If it doesn't say 100 percent plug the charger back in until it says 100 percent on screen.
  Repeat this cycle until it says 100 percent (or as close as you think it's going to get) when you start it up without being plugged in.
  Now, let your battery discharge all the way down to 0 percent and let your phone turn off again.
  Fully charge the battery one more time without interruption and you should have reset the Android system's battery percentage.

  Remember that it is not recommended to perform this process all the time. Even when your battery is so dead your phone won't even turn on, your battery still has enough reserve charge to avoid system damage. But you don't want to poke the tiger with a stick. Perform this process once every three months at the most. If it is required more often than that you have bigger problems at hand.

  Put plainly: fully discharging a battery is bad for it. Trying to overload a battery is also bad for it. The good news is that charging batteries automatically shut off when their safe limit is reached and there's always a little in reserve even if your phone won't start. But again: do this only when really necessary, because it does have a negative impact on battery life.

  How to calibrate Android device battery with root access

  Even though I'm not convinced that clearing the batterystats.bin file has any meaningful effect on how the Android system reports remaining battery charge, there are those who swear by this method.

  So in the interests of fairness, we've included the process for you here (it is true that different manufacturers use the batterystats.bin file for different things). It's basically the same process as above but with the added step of a root-enabled app.

  Method 2

  Discharge your phone fully until it turns itself off.
  Turn it on and let it turn off again.
  Plug your phone into a charger and, without turning it on, let it charge until the on-screen or LED indicator says 100 percent.
  Unplug your charger.
  Turn your phone on. It's likely that the battery indicator won't say 100 percent, so plug the charger back in (leave your phone on) and continue charging until it says 100 percent on the screen as well.
  Unplug your phone and restart it. If it doesn't say 100 percent, plug the charger back in until it says 100 percent on screen.
  You want to repeat this cycle until it says 100 percent (or as close as you think it's going to get) when you start it up without being plugged in.
  Now, install the Battery Calibration app and, before you launch it, make sure your battery is at 100 percent again, then restart.
  Immediately launch the app and recalibrate your battery.
  Once you've calibrated your battery, discharge it all the way down to 0 percent and let your phone turn off again.
  Fully charge the battery one more time without interruption while it's switched off, and the Android system's battery percentage will be reset.

  That's it. Have you tried any of these methods? Do you know an alternate way to fix battery problems? Let me know in the comments.

Source


How to stop Google Keep from seeing numeric data as phone numbers?

Looks to be bad recognition by Google's code. :-/ Happens on mine as well and no setting can change it.

Google is surprisingly receptive to feedback on its apps (a bug fix I reported made it into Google Music's update!), so two ways to get this fixed:

Go to Keep's page and click "Email Developer" and write this up. Or, within Keep, Menu -> Send Feedback.


How To Install/Root Vegan-Tab GingerEdition on Viewsonic gTablet

Slight disclaimer: I don't own a gTab, so I'm not particularly familiar with it. That being said, rooting devices and installing custom ROMs is at least somewhat similar across devices.

I would start by taking a look at this thread over on XDA. It has links to a bunch of other threads with instructions on how to get a custom recovery (ClockworkMod) on your device, how to flash a ROM, and a bunch of other useful things. In particular, there is a pretty good guide for installing ClockworkMod v08, which would essentially get you to a point where you could follow the Vegan-Tab installation instructions.

Be advised that doing this will wipe all of the data on your device, so make a copy of anything you don't want to lose.


My HTC sense won't turn on at all and it was fully charged.

Take the battery out, put it back again and boot in recovery mode. To do that, press the Volume Down key and Power button simultaneously until recovery boots. Then there should be an option to reboot. Select this option. Your phone should turn on. If not take it to a service center or wipe data/factory reset from the recovery menu.


Adding a new contact skips the phonebook, goes to viber

There are 2 things to keep in mind:

Is your grandma actually going into her phone's contacts to add people, or is she going into the Viber app to add people?
When creating contacts, my phone asks me WHERE to store the contacts. In my case, I have 2 options: one the SIM card, or on my Google account. She may have a 3rd option (Viber). She should select one of the other 2. (I recommend Google account).

There is also a setting on Viber to let Viber sync with your phone contacts (so tyhat Viber contacts appear in your phone, and your phone contacts appear in Viber). This should be under General


SP Flash tool mediatek - cannot add download agent

I finally discovered that the problem was in the path to download agent, where was the Chinese characters for example :

**x-302 NEW firmware \ 线 刷 工具 和 驱动 \ mt65xx preloader 驱动 **

I just retype to :

**x-302 NEW firmware\Flash\mt65xx preloader**

and then it works correctly and retrieve the download agent. In all the tutorials I could see that the used path with Chinese characteristics and it worked. However, in my case not.

Here is some helpfully link :
Tutorial flash device with mediatek chip 1

Tutorial flash device with mediatek chip 2


How to remove someone's google account off my phone when asked to verify

What you're basically trying to do is unlock the device to re-establish control and that will be done first through Google's "find  my device" and is that doesn't work just unlock the device through factory reset and use FRP bypass if you need to!


It seems that when an Android version is out of Beta, the website portal is closed. If you would like more information, you can take a look here: https://plus.google.com/+SiddhantPagariyaCS/posts/AMHdvN6hPbU

Thanks,
Sid.


Problem installing ubuntu on Galaxy S2 ICS

Try running su from the terminal first, then run ubuntu.sh again.


Once you use “Free up space” in Google Photos, how do you keep some photos for offline?

I selected the photos, and uploaded them to Google Drive.

I then made them available offline.

If you share them to Google Keep, you don't have to wait for them to be uploaded like in Google Drive.

The photos get downloaded straight from Google Photos to Google Keep.

You can use folders in Google Drive to organize the photos, and you have labels in Google Keep.

Another way to avoid uploading is to use Google Photos on desktop.

Download the photos on desktop Google Photos, then transfer them to your device through USB.


How to set google calendar widget as trasparent in kitkat?

Try it with a  other calernder client (app). For example Business Calendar (Kalender)

This has transparent widgets. You only have to connect this app with your Google account then will sync the widget it with your Google cal. app


How to get rid of performance suggestion on Samsung Devices

If you are using Android version 5.0 or above you can always block notification of a app.
Long click on the notification you want to block, you will get a icon 'i' at right corner
Click on it and then select block all and we are done.


Software update never worked in Samsung Galaxy S2

Galaxy S2 doesn't support OTA updates...so it's unlikely that you will be able to check for updates from your phone. The same "Connection Failed" error comes to me when I try that in my phone.


How would I automate repetitive tasks in Android?

A great app for that is Automate. I've used it with great success. There are a few plugins that exist; you may or may not need them

The main app is here

Based on your use case, you may want this,  this and maybe this extensions but it all depends on how you use the main app


"Open link in new tab" missing in Google Search bar

I would like to know if they do create a solution for this as this would streamline things while doing a search. I wouldn't imagine it be too hard for google to do this. Just program the app to open tabs inside chrome app. IDK maybe it is harder but what do I know I'm no programmer


First thing to do is ensure your phone ringer is not on silent or that your volume is not set too low. The next thing is to check if the file itself is corrupted. Use your File Manager to play the sound directly from storage. If it plays there but still won't work as a ringer, you should backup and format your phone. Good luck.


Why does this character ⚫ crash Whatsapp?

As others said, there are ~2000 zero-width or 'invisible' unicode characters in that message. These characters are the ones which instruct the text renderer whether to display the text left-to-right or right-to-left. When you tap on the message, the text renderer tries to work out which character you are tapping on. As there are a lot of characters with conflicting instructions, the app hangs up until it can make a decision.
There is this very elegant and informative video by Tom Scott on youtube that explains the problem better than I ever can: https://youtu.be/jC4NNUYIIdM


It is always best to install CM Roms that is suited for your device.

If you can't find one, then it's best to stick with it.  The risk will always be there, when you force something into your device that isn't compatible with it.

Hope this helps ...


No, this won't cause any issues. I am having the same case as yours (using Xperia L's USB cable with a Nexus 4) and haven't faced any issues with Nexus 4 or the Xperia.


does factory reset delete my gmail contacts, drive files, google plus photos e.t.c?

Any data that is synced to your google account is safe. Factory Reset will only wipe data that is stored locally on your phone. Resetting your password won't hurt, but it's probably not necessary, especially if you use multifactor authentication.

Update

Ars Technica is reporting on a study that shows some information on some devices may remain after a factory reset. This could potentially include login credentials. For extra protection, it is recommended that you encrypt your device with a very secure password (more than 11 characters) prior to doing a factory reset. This will make recovery of that data less likely. I would add that many services allow you to revoke access from individual devices. For instance, devices may be removed from Google by going to security.google.com/settings/security/activity, selecting your old device and clicking remove.


How to unlock Samsung Galaxy Note 4 from Verizon?

When you insert your Cricket SIM card, check whether it prompts for an unlock code or not. If it does, you can use a third party website like UnlockRadar.com. But if it doesn't, there's not much that you can do.


Examples of application, used Android Backup Services

In your Google account Dashboard view, in the Andoid device part you can see which applications stored someting in the Android backup service, for my account, beside the standard Android Wallpaper, Android System Settings and Android Market I have some "Dragon, Fly! Free" data (a game).


Restricted bluetooth functionality when device is paired

Just reading the description on the stereo page you linked to, it sounds like it has built-in software to extend the normal bt profiles to allow 2-way control of ipods and iphones. This extended functionality won't translate to your android device unless JVC comes out with a firmware update for your stereo that supports android.


Custom ringtones don't work on Cyanogenmod 9

Before you wipe your phone, consider using a free app like Ringdroid to assign contacts with specific ringtones or even to just make a custom ringtone out of an mp3 track of choice.


When you record a video at 60 fps, how can you play the video back at 24 fps?

Using VLC player:

play the video
tap the screen to bring up the controls
click the three dots button
click the"playback speed" button
adjust to 45 - 50%
done

It doesn't get you exactly the 24 fps but it's something!

I would love to have a way to export the video at 24fps. Or better video editing for built-in Android apps.


Assisted GPS is a system which can improve the startup performance of a GPS satellite-based positioning system.

Wikipedia has your best answer.


What does "mount namespace separation" in the app SuperSU do?

From the man page for mount:

  A mount namespace is the set of filesystem mounts that are visible to a process.

It makes it so that the superuser has separate mount points visible to it from the rest of the system/apps.  I believe the intention is to prevent any issues when remounting partitions, such as remounting /system as read-write.  With this option enabled it should remain read-only to unprivileged apps.

It can, however, just break things more.  It made my SD card unusable in root apps: Internal and external SD storage inaccessible as root


HTC One M8 - Locked after Android 6 update

I have recently discovered the same problem. Here are the steps which helped in my case (un-rooted phone just stopped loading after vacations):

I plugged in the cable to PC-USB. Th phone was not recognized.
I pressed on the phone something like "checksmartsd"
The phone was recognized by the PC and started as usual.

By "reboot" everything was fine. By "shut down" and "launch" the menu appeared again (phone not plugged to the pc). I chose the same "checksmartsd" and it worked.

I have no idea why it worked. I hope it helps somebody.

Best,
Eugene


Can I flash a ROM of another Android version?

Regarding your first question.
In order to flash a rom with higher Android version you need to

make sure the rom is for your device
flash new bootloader
flash new radio

Note: i recommend upgrading Android version with the OTA update from your OEM (Samsung, HTC, ... etc) because you cannot mess up. And then flashing the rom.

Then follow the usual steps for flashing any rom which are

make sure rom can be flashed on your device
wipe (optionally not including internal storage)
flash rom
flash gapps if not included in rom
reboot

And if you want Root

find a SuperSU version that your ROM supports
reboot to recovery
flash SuperSU zip
reboot

IMPORTANT : after flashing twrp may ask you to root your device Select NO

Note: you know that a rom can be flashed on your device only if your device's codename is in the name of the zip file. For example : paranoidandroid6.0.1_hammerhead.zip
 Here hammerhead is the device codename , specifically nexus 5.

Make sure to research before doing anything.


Android seems to need more space than the app requires to download and install it - as a rule of thumb on my older devices I cleared 4x what was required to get app installs to work.  However on newer devices (including my Nexus 7) most Google applications (including Play Store) won't let the device get below approx 500MB.

Things to try are

For apps which store a lot of offline content set them to use external storage (this may not always be available).  For example in Google Play Music - Hamburger > Settings > Storage Location > External
Clear the cache of an app - Go to Settings > Apps > Overflow Menu > Sort By Size and look for the largest app you're not expecting to be using much space (e.g. Facebook, Instagram, or Twitter) - try clearing the cache.
Remove some downloaded content (e.g. video, music) from the tablet (e.g. video you've downloaded from BBC iPlayer or Amazon Instant Video)

When you have sufficient space to install apps again, Disk Usage https://play.google.com/store/apps/details?id=com.google.android.diskusage is a handy app to have installed - it can identify apps which are using way more storage than you expect (e.g. offline video from an app you've long since removed).


As far as I know, they are stored under:

data/data/com.android.chrome/app_chrome/default/bookmarks


Recovery mode not working in Samsung Galaxy Fit

Don't know if I understand the question correctly, but the phone is working but you are not able to enter recovery mode, right? If the phone is working just try again installing Clockworkmod.  If the phone is not working, installing a stock rom, or any other rom, witch you can find searching here, will remove clockwork(assuming you don't chose a custom rom that comes with clockwork).

Hope i answerd your question, if not just leave a comment with what you would like to know and I will reply.


Ad blocking without rooting, OR low-risk rooting

Answering your first and main question: Ad blocking without rooting

On non-rooted devices running Android 4.1.2, 4.2.1 and higher, Adblock Plus will filter all WiFi traffic, but it needs to be configured as a proxy server manually. Detailed instructions are provided by Adblock Plus for not experienced users.

https://adblockplus.org/android-about

Avoid making multiple questions in one single post, make a single one for each single question.


Error: Secure Check Fail : aboot, when trying to update firmware on Samsung Galaxy Core Prime using Odin

This indicates that you are using the wrong file for your phone model.


Cannot see tablet screen while it ts connected to the TV

Not sure if you are using a USB cable or some sort of wireless connection, or an HDMI cable. If you're using HDMI you should still be able to see your tablets screen. Also, check the input/output settings for your TV.


some 3 years later, for anyone asking the same question, or if the OP still needs:
https://www.youtube.com/watch?v=N4jbBmZbzVU
pull out the battery and turn on again.


Identifying an icon that looks like two persons standing in a line

I figured it out but thanks everyone for there help. This icon is for meeting mode, somehow I enabled it.


Restore Android 6 on Moto G (2nd Gen) without adb?

The solution was to re-open the bootloader. It is possible to unlock it again by using the code provided by Motorola and the same command I used for unlocking the bootloader in the first place. I did not know it was possible to do that until a friendly person pointed it out to me. After that, I was able to (almost) effortlessly flash a stock ROM, and then (just for trying how it works) CyanogenMod 13.

Thanks for your assistance on this!


Separate ringtone for calls from numbers not in the contact list?

Amongst the many features it lists, WhoIsIt claims to have support for separate ringtone and vibrate pattern for Unknown Callers.

See if that helps.


At the moment the Gmail app doesn't support normal email views, only the conversation view is available.

As a workaround I believe you can open your gmail account to allow pop3 access, and then you can use the default email application, instead of the gmail application.


I have identified same problem with the stock firmware 4.4.4 even after a factory reset.  This seems to be an issue with the stock ROM.

Other info: I contacted HTC.  First I was told that my phone would be replaced, now I am told it is a known issue and they are working on it.  But I have found very few reports of this problem online.  I would think that it would be affecting a lot more people.


Replacing the system partition without touching the kernel?

It is viable, as there are custom ROMs I've seen that contains the original kernel but different system files.
There is a catch though: If for example your device ships with CyanogenMod and you want to put PA on it, you'll have to get your hands dirty with the ramdisk as each ROM needs slightly different init* files to boot.

As for installing the ROM, you'll need to put it in a ZIP file and include a META-INF folder which will contain the files responsible for the correct ROM flash, e.g. updater-script.

The full procedure is too long to mention here, so I'd say you should head over to XDA to get the info you need.


How can I install a CA cert on my Samsung Nexus?

Rename the file with an extension of .crt and place it in your SD card /download folder.

Put the SD card back into your device (or remount it, if internal) and navigate to SETTINGS > SECURITY & PRIVACY > INSTALL CERTIFICATE FROM SD CARD.

Hopefully that ought to do the trick, else try this online Certificate Installer tool - it gives you a link that you can navigate to using the Android web browser and install the certificate.


Google restore after reflash to fix bootloop ends in bootloop

No answers, so this is what I did: selectively restored parts of the google restore to identify the rogue application, then did a google restore of every but that.

The first part took about a week, the final restore took 2 1/2 days.


Unified way to manage annotations and bookmarks in Android and PC

Two options:

backup Mantano's database (or the whole mantano folder)
use Adobe Digital Editions to extract the annotations

The first option will keep you locked in Mantano. The second in ADE, which more applications use it, but it's not as pervasive as one would like. The main problem with .epub is that annotations aren't part of the standard, thus every application that supports it has to implement annotations in their own way, which usually means storing them out of the file.

For PDFs, I use Repligo, which stores the annotations inside the PDF. But many others like ezPDF accomplish this.


Where do you find the password attempts setting or option in ICS?

There is no way to change the limit on incorrectly entered screen lock codes, unless you make your own custom ROM with this ability.

It should be set at 5 incorrect entries triggers a 30 second wait period - if this isn't the case then the ROM maker has changed this.


I am using HTC Desire HD A9191. When I place or receive a call my phone speaker is automatically turning ON and navigation is popping on the screen

Have you tried any method from google for your problem ?

There is a software fix for this , try this :

Shutdown the phone, remove the battery, press the power button to discharge the phone. Install the battery again and turn the phone back on as normal.
Open the ‘All apps’ menu, open ‘Dock Mode’ press the phones menu button and select ‘Settings’. Un-tick the ‘Auto-launch’ option.
Open the phones settings menu. Open ‘Display’ and click on ‘G-Sensor calibration’. Follow the prompts to calibrate the sensor.
Open the phones settings menu.
Open ‘Sound’. Un-tick ‘Flip for speaker’.

Have you installed any new software or software updates recently? Uninstall the software and check if the issue still exists.

Clear the application cache for the car application.

Install Car Dock Settings from the android store. Using the application un-tick the ‘Enable speaker phone’ option.

Original source :  https://www.itsupportguides.com/htc-android-phones/solved-htc-phone-speakerphone-automatically-on-for-all-calls/

Hope it helps !


Default storage issue in some android phone

It depends. Some phone manufacturers adds the feature of moving apps to sd card in some of their models but most of them does not have this feature by default. Although you can change that manually by rooting your phone and using an app called 'app2sd ' on any version of Android .


Sync birthdays from Facebook to Android contacts

As far as i'm aware, you can't actually sync the birthdays to your contacts. It is however possible to sync your Facebook Events (including birthdays) to your Android calendar. All you need to do is add your Facebook Calendar to your Google Calendar. You can find out how to do this here


How to root Sony Xperia C3 Dual D2502 running Android 5.0.2?

To root you must follow this handy tips

1) Before getting started with the rooting procedure, take a complete backup of personal data in your smartphone using appropriate apps. If you don’t take backup and follow the procedure given below, then your personal data will be wiped out, and you can’t recover them at all.

2) Ensure that your device has a good battery backup or else charge it fully, before carrying out the procedure.

3) Download Sony Xperia USB drivers and install it in your computer, so that you can connect Xperia C3 with it.

4) Enable USB Debugging mode in your device by following the path: Settings -> Developer Options -> USB Debugging Mode (tick the box to enable it).

When done you can start rooting

1) To get started, you have to unlock the bootloader of your Xperia C3. To do that, visit this page and follow the instructions given there to get the Unlock CODE (which will be sent to your email address).

2) Next, download Flashtool and install in your computer. Once done, switch off your device and connect it to the computer while holding the volume down button until the phone LED turns into blue color.

3) Now, click BLU on the flash tool and follow the onscreen instructions. Once it is done, disconnect your Xperia C3 from the computer and reconnect it to the computer while holding the Volume up button until you see the Flashtool asking for the Unlock code (Step 1). Just enter it and your device bootloader will be unlocked.

4) Next, download CWM and SuperSU, extract and save them to your computer. Once done, connect your Xperia C3 to the computer while holding the Volume DOWN button until you Blue color in the LED.

5) Now, open flash tool and select Fastboot mode. Next choose “Kernel To Flash” followed by “*.img” and finally choose the boot.img that you have got after extracting the CWM recovery (Step 4). The flashing process will begin and within few seconds will get completed. Once done, disconnect your Xperia C3 from the computer.

6) Next, switch on your device, connect it to the computer using USB debugging mode and transfer the SuperSU.zip file (Step 4) to the SD card. Once done, disconnect your device again.

7) Now, switch off your smartphone again. We have to boot into the recovery mode for flashing SuperSU. To do that, switch on your device while holding the Volume UP button until you boot into the recovery mode.

8) In CWM recovery, select “Install Zip from SD card”, choose the SuperSU file that you have transferred to the SD (Step 6) and start the flashing process. Once it is done, Reboot your device normally.

You can find the contents here: http://www.androidrootguide.com/list-android-custom-roms-official-roms-root-software-download-links from CWM to the rom

That is one way the other way to root your phone is to get UnlockRootPro. You connect your device and then select it from the dropdown menu and click root. But remember to do the handy tips on the first link.


How to know which Dock Connector my Galaxy S2 has?

Not possible as for an unrooted device. I had to open the phone to identify the port.


Suddenly most of the files and folders in my sd card are now named "FSCKxxxx.REN". How to fix this without root?

Summing up from the comments:

The most likely cause is your SD card being in the process of "breaking down": When you connected it to your receiver, it detected problems and ran fsck (the File System ChecK utility) to repair it – which found issues with some files and directories, couldn't figure their names, and thus "saved" what it found using those "cryptic names" (the FSCK prefix seems to confirm this, though normally such "recovered blocks" are moved into a LOST+FOUND folder).

After having connected the card to your PC using a card reader, the PC again found the card faulty and had to repair things. Of course it couldn't restore the FSCK* files and directories to their original name, as that name was lost. As you correctly discovered, using the file command you can determine the file type, rename the files manually, and many, most or (if you're very lucky) even all or them might be intact.

So here's what you should do:

Back up the entire contents of the card
Get yourself a new card ASAP
(until you did, repeat the previous step regularly; it might very soon start losing data)
Copy the backup to the new card, and use that

And next to that, go the described way to identify the FSCK* files, which you then can rename to "useful names" and also copy back to the new card.


S3 screen broken, developer mode on, how to transfer data

You can pull the apk from the android device using adb pull.

adb shell pm list packages

This will list the package name for all the apks. See the package name of your app. The app name may vary from the package name. It will be mostly in /data/app

If not get the path using adb shell pm path com.the app you need to.transfer

2 a.adb pull /data/app/com.the app you need to.transfer.apk.
This will transfer the apk from whichever drive you executed. Eg: D:

(or)

2.b.  adb backup -apk com.the app you need to .transfer

This will create backup.ab. You can make it a tar and extract using winrar

dd if=backup.ab bs=24 skip=1 | openssl zlib -d > backup.tar

If there is no zlib support you can try

dd if=data.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf -

Note : Dont setup a password for encrypt backup


Nexus 4 does not perceive touch in a line

So I've had this same problem for the past month.

There is a 1cm or so high deadzone that spans the width of my screen just about lower than the midway point from top to bottom.

It is mostly always there, but some (seemingly) random times it goes away and all works well.

My troubleshooting led me to this:

If it's hardware, it's only because the software is telling it something it shouldn't be. I'm sure nothing is broken (i.e., from being dropped, etc.) Something is wrong, for sure, but not broken per se.

I took screen shots of temperature and voltage (using CPU-Z app) trying to figure it out. I paid attention to when it happened and when it did not. I boiled it down to two possibilities: temperature and/or voltage (I can explain how I came to this conclusion if you want... would take a bit more explanation).

I charge my phone with the charger plugged into the wall typically. I live in Asia so the voltage is a lot higher (but within the appropriate range of the phone). Yet, lately when I! go to sleep, I plug my phone into my laptop to charge, rather than the wall... when I wake up the problem isn't there. About 2 hours later or so the problem comes back.

I tried this for a week (charging my phone with my laptop) and the problem is dissipating. As quickly as it escalated (getting gradually worse) it is now getting gradually better.

Try it and see if it works for you. At night when your phone is nearly dead, charge your phone with your USB port attached to your laptop. Maybe it will help. I'm still troubleshooting specifics to see if it is definitive.

UPDATE: today, the day of writing this, I haven't had the problem at all and it's been nearly 7 hours and the 3rd consecutive night of charging with USB on my laptop.

UPDATE 2: happy new year! I've been charging my nexus 4 with my laptop's USB port since my original reply and the problem had disappeared. Let me know if this works for anyone else!

Nexus 4 - 4.4.2


Programmatically add wifi networks on Android

I've also had the same problem with losing all WiFi networks when upgrading LineageOS, so I've written a tool which will convert your old wpa_supplicant.conf to new WifiConfigStore.xml (and I'm not using Google accounts or other "upload all my stuff to some cloud" privacy nightmares)

You can find it here: https://github.com/mnalis/android-wifi-upgrade

Even with just SSID/passwords list and without original wpa_supplicant.conf file, file format for WifiConfigStore.xml is not really complex (it is just very verbose). With minimal programming you can use template in my code used for filling it to replace $SSID and other variables in order to generate it from your list).

Note that it will require root (or recovery rom with full adb or filemanager access) on your new android device in order to actually upload newly created WifiConfigStore.xml to the phone.


Samsaung S7 Edge, LCD and glass damaged, turns on but black screen. How to mirror on PC ? without installing anything on the phone

Unfortunately, it's very impossible to that..Unless..

IF YOU HAVE ALREADY TURNED ON USB DEBUGGING SKIP THESE

1.) If you have a TV, you need to buy Micro USB to HDMI Adaptor

2.) After connecting Find the HDMI Mode on your TV

3.) Then Turn On Your USB Debugging

  Go to Settings > About Phone > Scroll down And find Build Number
  > Tap it Seven times > Go back to Settings > Developer Options (A new option you will see now) > Scroll down and enable USB Debugging

Now that you have enabled USB Debugging don't forget to connect you phone to the computer

In Your Computer

1.) Download Google Chrome and the Vysor Chrome app. Since Chrome works on Windows, Mac, and Linux, this app will work on all platforms, including Chrome OS, which you should give a chance

2.) Start Vysor from the Chrome App Launcher

3.) Click Find Devices and select your phone

4.) Vysor will start up, and you will see your Android screen on your computer

Optional: You can set your phone to connect automatically every time the USB cable is plugged into it

 DONE

Glad To Help :)


how could my viber messagelog dissapear?

There is no situation in which Viber messages spontaneously delete themselves. Viber does not update without your permission - and updating does not delete messages.

If this occurred on Viber for Desktop, please ensure that the computer that you use is a private computer and no one but you can access it. Additionally, you might consider placing a screen lock on your phone so that your applications are better protected.


How to keep my old number in whatsapp old sim deactivated

If u had a deactivated SIM card in the phone my guess is that you should still be able to use ur whatsapp through wifi. But if u have taken out the sim it is not more possible as the new sim will require a sms based validation. Better to port ur  number and then u can use it on whatsapp


"Parental Control" app or setting for work

Well there is no such kind of application for parenting control for Android. There are a lot in different applications in Play Store but doesn’t seem anything akin to your requisite.

You can endeavor NORTON FAMILY PREMIER and check if that’s worth.


Android Devices: use external storage as a default storage

Download and install Java Development Kit from Oracle’s website.  I downloaded JDK 7u2 for Windows x64 (approximately 87 MB)
Download and install Android SDK from Google’s website.  I preferred the recommended Windows Installer
Run Command Prompt with Administrator Privileges on Windows 7 or Windows 8 OS.  (Start Menu → type in cmd → Right click the Command Prompt → Run as Administrator.  The UAC will prompt you with a dialog which you should click as ‘Yes’.)
If you have installed the latest version of Android SDK (SDK Manager Revision 16 or later), then type in following command on cmd:

cd C:\Program Files (x86)\Android\android-sdk\platform-tools

On your Android phone/tablet, go to Settings → Applications → Development and enable USB Debugging.  Once done, connect the phone/tablet to your laptop/desktop via USB cable.

Execute following commands in sequence

adb shell pm getInstallLocation

You would get an output as: "0[auto]". In Android, Install Location has 3 values:

0[auto] – Let the system decide the best location
1[internal] – Install the application on internal device storage.This means any internal storage provided with your device
2[external] – Install the application on external media.  This means any SD, microSD cards attached to your device or external USB Storage.
So let's change the default location to 2[external]

adb shell pm setInstallLocation 2

This will change the default installation location to SD card of all the applications that you install henceforth.  What about those that are already installed on device storage?  I am sure you were unable to move all of them to SD card earlier.  You can give it a try now!  Alternatively, you can download an application Apps2SD and manually move them to SD card.

To check if the settings changed or not, you can execute Step 6 again and check the results
Disable USB debugging on your phone/tablet. Close the Command Prompt and enjoy!

Source


Are there any solutions other than flashing Gapps, to have Google accounts on CyanogenMod?

You might wish to take a look at the NOGAPPS project at XDA. It's not yet complete, but most parts seem to be in a working order already. NOGAPPS basically is an OpenSource replacement of most Google apps (including Playstore), often mapping to free alternatives (e.g. OpenStreetMap for maps).

Side-effect: More privacy, less tracking :) But keep in mind that some components are still in Beta (Maps, Playstore) or completely missing (still under development; Login Services, Services Framework), so it's not yet a full replacement of GApps. Still it might be sufficient for many cases.


From my post to the link GAThrawn called out; Encrypt the phone's internal storage

Android 3 (Honeycomb) offers full system encryption natively. However, as it's only for tablets at this point I will post some other avenues.

There was some work done on this for the G1 using LUKS and Cryptsetup. I think I've seen this on a moto droid rom too, but you'll definitely need root. It is not trivial to do, and there isn't too much interest so popular roms like Cyanogenmod don't provide for this natively.

There are some apps in the market that support encrypted file stores (check out Lock Files. I have no idea how transparent that is on the system however.

To your italicized point on remote wipe. There are MANY solutions for this. If you're using Exchange you can push this with ActiveSync, if not apps like Lookout, and more provide remote wipe and other functions. There are even manual ways w/ dyndns and a listening SSH server.


Autostart mobile hotspot when starting smartphone

Is there some way to autostart the mobile hotspot once turning on the smartphone?

Yes, you can do this. Note that as a prerequisite your android device needs to be rooted. Head to Play Store and install Tasker (a paid app). Open Tasker, provide permanent Root privileges from your installed Root App. After that:

Cancel any help section or window for the time being and head to Profiles out of the three options :- Profiles, Tasks, Scenes.
At the bottom, touch + -> Event -> System -> Device Boot. Touch Backward key one time and it will ask to Enter task.
Create a task by choosing New task +. Enter a name for it, touch right symbol and you'll be presented with blank screen and some symbols at the bottom.
Touch + -> Net -> Wifi Tether. Below option Set choose On. Touch backward key two times to come back to main screen of app.
Touch Context Menu key one time and select Enable Tasker. If it is already enabled then you'll be having an icon(like lightning) in Android's Status Bar.
Make sure that no external app(if any installed) is inhibiting the Tasker app from starting after startup.
Reboot or Power-Off and Power-On and you'll see that hotspot gets activated automatically after every reboot.

NOTE:- Depending upon the apps in Startup your system may take some more seconds to start hotspot but eventually it will do by itself.


Opening links from app in Google Chrome Incognito or Firefox Private Browsing mode

Unfortunately I don't think there's any way for a user of an app to do that, I'm pretty sure it would require the developer to add that extra "intent" as an option to their app before it could appear in that app chooser box.

There are apps that specialize in this behaviour though, and should appear as options in the app chooser box for web links:

InBrowser is "a fully featured incognito/private browsing experience", which should appear in that list of browsers and work as an incognito browser.

Incognito Browser "automatically operates in incognito or private browsing mode"


battery drainage question on HTC Sensation

Install a wakelock detector. Wakelocks don't allow your phone to conserve battery life like it's intended to. The detector will tell you which apps to uninstall. Something is probably pegging your phone processor or wifi.


How to set restricted user as default user on reboot?

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.


How install python interpreter on an android device

Check out QPython - Python for Android. This appears to be an IDE and Python script runner for Android.


Cannot edit, delete or copy any file from /sys directory in Android?

Continuing my comment above. This is getting long so I'll just post it as an answer entry.

You will need to enable init.d if your ROM does not support it, for example with this tool: LINK: Google Play

After that, read up on Linux scripting and write the script doing what you intend to do. Put the script in /system/etc/init.d and set permission to 0755 (rwxr-xr-x) to allow execution. Reboot and see if it works.

Check this XDA thread for more info, as well as an example script which you can refer to.


I have a rooted Velocity Micro Cruz T301 (now running on Android 2.2 Froyo).
You can find instructions for any Cruz tablet on Slatedroid forums.

So far this forum is the best source of info on this tablets.


LG D850 does not show on PC using MTP - PA 4.6

I have experienced this issue myself and it was because when you plug the phone in the first time, windows automatically tries to locate drivers and by default uses the Google Nexus ADB Interface.

If you go to the LG website support section you can specifically download the LG G3 drivers and install those instead. I would recommend removing the existing entry from the device list first (phone unplugged) and then running the LG drivers and plugging your phone back in afterwards.

This fixed the issue for me and now whichever option (MTP, PTP and debug mode) all work properly.


Linux program to transfer file from/to an android device?

There's QtADB which uses adb.

You can also install an SSH or ftp server on the phone and then use Nautilus with ssh://ip-or-name-of-your-phone/ or ftp://ip-or-name-of-your-phone/ URLs (you can create bookmarks in Nautilus). The cool thing about a standard SSH or ftp server on your phone is that you don't have to install anything special on the computer.

I use QuickSSHd on the phone, but there are also other SSH servers available (search the market, please).

Ftp servers I know are SwiFTP and FTPServer. I didn't test these with Nautilus yet, but they should work.


Android unit without gravity sensor gets stuck with screen rotated

Some apps only work in portrait mode due to the fact that that is the way they are designed. Also most launchers (on a phone) are automatically in fixed portrait mode as well. If you don't have a gravity sensor then I suggest using an app like Unlimited Rotation Control which puts rotation buttons on your device. For landscape mode on my phone I installed Nova Launcher and turned the rotation option on in the settings. There are also multiple launchers out there that can work as well however.


You'll use fastboot mode to flash a ROM to your phone. A Windows computer is needed.

Important Note: Make sure that your device is fully charged or has enough power for this process. This guide will help you update your device to the latest MIUI ROM version. All user data will be purged in this process. Please back up your data and think twice before proceeding.

Download full ROM from the official site
Download MIUI ROM Flashing tool
Download drivers ans install them
Turn off the device. Press the Volume down button and the Power button at the same time to enter Fastboot mode. Then connect the device to the computer via a micro USB cable.
Unzip the ROM you previously downloaded. Open the file folder for the unzipped ROM pack, and copy its path on the computer.
Unzip the MIUI ROM flashing tool downloaded in Step 2, and double click on it to install. After installation is completed, open MiFlash.exe and paste into the address bar the ROM file folder path copied in the previous step.
Click on the first button (circled out in yellow) to Refresh, and MiFlash should automatically recognize the device. Then click the second button (circled out in red) to flash the ROM file to the device.
Wait until the progress bar inside MiFlash turns fully green, which means the ROM has been successfully installed. Then your device should automatically boot to the new version.
Done.


3 years later and Swype being unfortunately dead my solution was to switch back to Gboard.

Apparently Swiftkey doesn't give a s**t to customers needs.


Samsung Galaxy Apollo (GT-I5801) doesn't connect to WiFi connection. What should O do?

Currently my phone doesn't connect to WiFi connection, it always on and off everytime I open my WiFi connection.

Solution for the i5801:

Go to Settings → Wireless and Network → WiFi
Use the menu button to open the Advanced option
Click on Use static IP
You will see IP address, Gateway, Netmask, DNS1, DNS2. Fill all these things and to see their value:

left click on signal strength (left or right to battery or sound sign)
right click on your network to which you connected
you should see status; click on this
now a page is open (wireless network connection status); here click on details
now you should see IPv4 (IP address), IPv4 default gateway (gateway), IPv4 subnet mask (for netmask), IPv4 DNS servers (DNS1, DNS2)

Save all these setting by clicking on menu then save.

If this does not work check this also:

open 192.168.1.1
open Wireless → Security check (network authentication WPA personal auto)
after that your password
then next [WPA group rekey interval 3600 (in my case this is the problem in my modem here is 4 so i remove it and type 3600)]
after this (wpa/wapi encryption tkip+aes)
then save this setting.


Blank screen when trying to boot into recovery mode on Samsung Galaxy Tab 2 10.1

Me too. Tried flashing "Bump" TWRP 2.8.0.0 for LG D855 (G3) with Flashify and I got the same all black screen. Then after a while, it reboots normally...