I haven't used it but I used kingroot to root my tablet some 3 months earlier after which I removed it because I thought it would be dangerous. But It rooted...
So You Answer Should Be:-
I don't know but KingRoot roots easily and on mobile or tablet without pc


How do i open a text file from a terminal window from within the android gui

Launching apps in Android isn't straightforward. You'll have to use am start combined with certain <PARAMS> to launch the app or a particular section of it.

From the comments, it seems that you may want to launch the text file using ES Note Editor. In that case, first identify the activity responsible for the edit window you see when the file is opened in the editor using GUI.

Note: Tested the solution on Android 4.2, 4.4 and 5.0.

Instructions

Open the file manually in the editor using GUI, and make sure that it stays active on the screen.
Connect your phone into PC in debugging mode, setup ADB on PC, and enter into PC's terminal/cmd the commands:

adb shell
su
dumpsys activity | grep mFocusedActivity

The output may look like:

mFocusedActivity: ActivityRecord{42839028 u0 com.estrongs.android.pop/.app.editor.PopNoteEditor}

The relevant info (activity) is .app.editor.PopNoteEditor and package name is com.estrongs.android.pop. You may use the command dumpsys activity to see some more useful stuff.

That's just for brief understanding. Keep the whole string (com.estrongs.android.pop/.app.editor.PopNoteEditor) ready to be used.
You may close the editor on Android. Open your favorite terminal app in Android and enter:

su
am start -n <PACKAGE_NAME/ACTIVITY> -d <FILEPATH> --activity-clear-task

-n will allow to launch the app's mentioned component.
<PACKAGE_NAME/ACTIVITY> is the string we noted in step 2. For ES Note Editor it would be com.estrongs.android.pop/.app.editor.PopNoteEditor.
-d is to allow data to be passed to the app's activity.
<FILEPATH> is the location of the text file you want to open.
--activity-clear-task will make sure that the activity is not launched from "Recents" but from scratch.

(Enter am start to dive deeper into interesting stuff.)

In my case, the final query for file aero.txt under /sdcard/airdroid/ looked like:

am start -n com.estrongs.android.pop/.app.editor.PopNoteEditor -d file:///sdcard/airdroid/aero.txt --activity-clear-task

The file opened successfully.
I use QuickEdit Text Editor as  default text editor and the relevant query looked like:

am start -n com.rhmsoft.edit/.activity.MainActivity -d file:///sdcard/airdroid/nmon.txt --activity-clear-task

Have fun!


I think its possible, but you'll need to read the datasheets and the pinouts for the ribbon cable and the VGA that is if you want to make it yourself.. Otherwise, I think you can purchase a ready made one from the shops e.g. eBay.

Here are a couple of links that might help:
http://forums.bit-tech.net/showthread.php?p=1888439

http://www.ebay.co.uk/sch/i.html?_kw=vga+ribbon+cable

Then you can purchase a VGA to HDMI convertor cable.


How do I change the naming scheme of Silent Camera to human readable form?

This solution is independent of any Camera app, and is tested on CM12 (Lollipop 5.0.2) and should work on other Lollipop ROMs as well.

While it seems that the question is about changing the naming scheme of Silent Camera app, the actual goal is to use an app that is free from shutter sounds. OP seems to have found an another app (see this answer) to suit the needs. But I would like to give a solution which would enable you to use any choice of Camera app(s), irrespective of whether it silences shutter sound!

Needed: A rooted device, and Tasker. Scroll to bottom for non-rooted devices.

All I'm going to do is activate Zen mode aka Do not Disturb mode which would kill  Notification volume, and Ring volume. Don't worry! This mode would automatically switch to user defined sound settings as soon as you switch from Camera app to any other app (including your Launcher app).

Instructions

Create a task in Tasker named Camera.
Create an action in it as Code → Run Shell, and fill these details:

Command: settings get global zen_mode
Check Use Root
Store Output In: %Zen_mode

We're storing the current value of Zen Mode (be it None or Priority or All) in a variable named  %Zen_mode so that we can recall our sound settings when we close the Camera app.
Create an another action in it as Code → Run Shell, and fill these details:

Command: settings put global zen_mode 2
Check Use Root

This would change Zen Mode from the current setting to  None i.e. no Ring or Notification sound, or vibration would disturb.
Create an another task named No_Camera.
Create an action in it as Code → Run Shell, and fill these details:

Command: settings put global zen_mode $(echo "%Zen_mode")
Check Use Root

This would enable the sound settings you had before launching the Camera app.
Create a profile with Application context, and choose your Camera app.
Select the task Camera in it.
Create an another profile with Application context,  choose the Camera app you chose in step 6, and tap Invert at the bottom.
Select the task No_Camera in it.
Enable Tasker if disabled.

Now, launch your Camera app that you chose in the aforesaid step 6, and you would find that it is not making shutter sounds at all. Close the app, and you would  see that your sound settings returned back immediately.

I've successfully tested this solution on default Camera app, Google Camera, and Camera FV-5. All tested individually as well as in group.

For Non-rooted devices

You can bypass the need of root permissions (if you barely reboot your device) by running loop-back adb  in wireless mode. See step 2 in Instructions here to understand the loop-back ADB usage, and then use it with the aforementioned steps.


Can Android devices connect to both WiFi and mobile data networks at the same time?

Multipath TCP is a relatively new technology that allows a device to use multiple network connections for the same logical TCP connection. This is used for mobile phones to use WiFi and mobile data connections at the same time to reduce the time for retrieving data.

I'm not sure which Android phones currently support multipath TCP.

Without multipath TCP, a TCP connection must be either on WiFi or on the mobile data connection, but not both. It is up to the OS to decide how allocate these connections. I think the standard Android decision is to use WiFi if available (and perhaps with sufficient signal strength) to minimize cost under metered data plans.


Samsung S7 hacked and running some FTP server?

(Note: at the time this answer was written, only the first screenshot was present in the question post.)

Your screenshot shows details of some app you've selected. More specifically: it shows the permissions that app requested, as seen in the background. Obviously you've tapped one permission, so an explanation for that permission is shown. That permission is DUMP.

This permission is normally used during development, to retrieve detailed debugging information to narrow down errors – which is why it has the protection level "development" assigned. For such a permission to become effective, the ROM must be signed with a development key – a case a normal user with a "normal device" shouldn't encounter.

To answer your direct question: No, this is not a sign of being "hacked". Just a sign a (careless) developer forgot to clean up :)


How to load kernel module with Magisk root but without custom kernel?

I know that to be able to install a driver into the kernel, that means a custom kernel and then you would not be able to have OTA updates which defeats the above purpose.

You can't have OTA updates with Magisk installed because flashing Magisk modifies boot partition in which kernel binary lives. Before OTA update, you will have to uninstall Magisk which will restore original boot.img, backed up in /data. So at the moment you can do whatever you want with kernel. That will be reversed with Magisk uninstall.

  is there a way to load a driver, even if it is temporary like loading a kernel module on Linux?

Yes you can load kernel modules just as you do on Linux. But for that you have to rebuild kernel with the required module, or it should be compatible with installed kernel if built separately.

The installed kernel should be built with CONFIG_MODULES=y in order to load modules. Make sure the version of kernel source code tree or that of header files match with installed kernel version. Otherwise dependencies may break resulting in Unknown symbol in module type of errors. Also, if kernel is signed (CONFIG_MODULE_SIG_FORCE), modules must be signed with the same key to avoid required keys not available error.


If I remember well:

In the language and input settings click the settings icon next Google Keyboard.

You can then change the input languages settings and select multiple languages.

Finally go the advanced settings there should be a way to enable a key that allows you to easily switch your input method when typing (from memory it was by holding the space bar)

Bon courage!


Is the Encryption Key for Adoptable SD card included in manual backup done over MTP?

Unfortunately, what you have so far considered as the complete copy of Internal Storage is not true. You only copied (I suppose using MTP - "transfer files" option) your files which you had created or downloaded in that storage since last factory reset. The app and system specific private files are never copied in this fashion. /data/misc/vold cannot be copied directly using MTP. A user needs root access to access that file (includes copying it).

In conclusion, you have hit a dead end on this part.


It's hardware issue. You can try different cables or chargers, or contact manufacturer if your phone have warranty. Sure you always can turn off screen when charging ant don't use phone until it charges, but it's uncomfortable.


This answer from StackOverflow (How to change font size by adb command) provides a solution. The command used to set the font size is:

adb shell settings put system font_scale {float_representing_the_scale}

or if you are using a terminal emulator in Android

settings put system font_scale {float_representing_the_scale}

Examples:

settings put system font_scale 0.5f
settings put system font_scale 1.2f

I tested it using Android 6.0 with root access (I was getting an error when using the command without root). I had to restart the phone for the setting to take effect.


Dual Sim: Surfing while receiving an incoming call

Using a dual sim smartphone is the same as a normal one except for:

-You can't use a sim while the other one is calling (it goes to airplane mode)

-You can use one mobile data sim at time, but they'll both receive incoming calls

So if I understood correctly your question, yes, you can


Eclipse is not able to detect smartphone

I found!
I followed the article Configuring ADB for Nexus 4 on Ubuntu 11.10 adding a find and a row for my smartphone, inserting its VID e PID. Then I restarted the adb.
Now the smartphone is visible to Eclipse!

Next I'll try with the tablet inserting its VID and PID ..


Bricked LG Optimus P999 using ROM Manager

Ok, I managed to fix my phone.

The first thing that differed about my phone from the video tutorials I watched was that when you are preparing to flash the phone, you're supposed to hold Vol+ and Vol- then connect the USB cable. In the video tutorials the LG logo came on at that point, but on mine it did not. I figured out that if I plugged in the cable first, then held Vol+ and Vol- the LG logo would come on. This was wrong. The P999 does not display the LG logo when ready to flash. Hold Vol+ and Vol- and then connect the USB cable, wait a few seconds and then let go. Your phone should be ready to flash now. If it's not, try again.

Secondly, this is the software you want to use to flash if you've bricked it: T-Mobile G2X One-Click Recovery Flasher. The version I found on some other websites was outdated and wouldn't fix the problem I had mounting the SD Card (which is actually internal memory on the G2X). With this version I was able to boot into Recovery mode, mount the SD Card manually, and then flash the ROM. I was able able to properly enable USB Mass Storage from recovery mode, which would allow you to copy a new ROM to the SD Card if you've somehow lost your data.

The final issue I ran into was no Google Apps, and no ability to sync my phone to Google. You can grab the Google apps and Flash them through Recovery mode here.


I've had the same issue and am happy that I'm not the only one.

Under Settings > Google > Account Services > Contacts sync you will find two Options - Automatically sync Google contacts and Back up & sync device contacts - to disable. I will test this the next few days and report back if it didn't do the trick.
I guess they have moved this option and replaced it with a wired design.


Installing GApps on an old bargain tablet (Impression i10a)

I've done this on a cheap tablet before, really all there is to it, is to get clockworkmod installed on the device, then flash cyanogenmod's gapps onto it.....unfortunately I did a little bit of digging, and wasn't able to come up with much as far as getting clockworkmod installed onto that particular device....there was one point in time where you could just flash the market/play store apk directly onto the device, however these days it requires the full blown framework to run correctly, so you can't just flash the apk separate, but rather you need to flash the whole zip file in recovery.


How to take screenshots without using buttons?

Another way to take screenshot without hardware inputs (physical buttons) would be to do so with software inputs (on-screen buttons).  I remember using a software to capture images and videos of my phone a few years ago.

Samsung Galaxy comes with gesture software that is embedded to the OS that a user can slide edge of one's hand across the screen to take screenshots; but I am not sure if it is available to Motorola phones as it seemed like an extention that Samsung added to the Android.

You should be able to find a number of screen capture applications if you search for "screen capture" in Play Store.  They usually display a floating icon or a notification bar icon that you can touch to capture screenshots.


How to report a contact as spam in Whatsapp?

Try this:

Don't save the contact and delete the conversation. If the contact messages you again, the option to report as spam and block should technically show up again.


I finally figured out the root problem...

I have Mobiwol NoRoot Firewall installed and it seems to misbehave in Android N. Some apps get blocked unexpectedly so large uploads cannot complete. Disabling it allowed by backups to resume and complete as expected.


Is there a maximum number of files per directory or maximum directory size?

This, really, isn't an android question, it relates more to file systems.

The limitation is set by the file system. FAT32 can have 65,536 entries. Each file and
subdirectory takes from two to thirteen entries, depending on the
length of its name.

There is one entry that hold the Short (8.3) name of the file name. If the actual name doesn't fit that entry, then there will be one to twelve more entries, each of which holds 13 bytes of the full name.

The size of the file itself, doesn't have make a difference, unless the file is larger the 4GB, which is the maximum file size for a single file in FAT32.

You can read more on the FAT32 Spec if you wish here.


Don't use the phone/dialer app to edit contacts: use the main People app (it's called Contacts on some non-Nexus phones). From that app, when you click the contact you want, it displays that contact, and you can click the pencil icon on the action bar (at the top) to edit the contact. (The icon might look different on your phone, because most manufacturers replace the People app with their own variant.)


AndrOpen Office opens SD documents in read-only on Lenovo A7600-F

Go to 'Other cloud storage' and your external sd card will be listed there, somewhere on the bottom left. Navigate to the document and you will be able to open ït in read/write mode.


XPeria L stuck in bootloop after flashing Ressurrection Remix ROM

I found out a way to do it. As pointed in the comments, I had to flash a new boot image, because for some reason on sony devices (not sure if on all of them) you can't flash a new recovery through fastboot.

So what I did was search for a new XPeria L boot image with twrp, which I found here:

http://forum.xda-developers.com/xperia-l/development/twrp-twrp-xperia-l-t2667370

I flashed it through fastboot and booted back to recovery, and then proceeded to restore the backup I made before trying to flash a custom rom. From there I flashed a new rom and now everything is working fine.


Data usage slider missing in Android Lollipop

Samsung probably removed this ability in their recent update, as LG handsets are also missing this feature from previous Android versions.  The best course of action to monitor your data usage in detail is to run a search on the Play Store for data monitoring apps.  A quick search I ran returns a plethora of results.


Cannot use keyboard in Google Chrome app

This may have something to do with using and uninstalling a third party keyboard. Installing Google Keyboard seems to fix it.


Finding and removing Android adware that opens Chrome tabs when unlocking the lockscreen

Using my Google Activity History, i spotted a few activity entries of my Barcode Scanner app which didn't belong there as I didn't use the app at the time.
Uninstalling the app resolved the problem. In my case, the com.qrcodescanner.barcodescanner] was the culprit.
Edit: The app has been pulled from the store since.
The most recent 1-star reviews confirm that the apps is an adware since the last update.
For completeness' sake, this might not be the dev's fault since the app Andrew pointed out (com.google.zxing.client.android (Play store)) suffers from the very same condition it seems, the reviews now all say it delivers ads.
Edit: Apparently this is a false positive, as it unfortunately had an identical app name and got hit with negative reviews for no reason
Edit: Maybe some barcode library further upstream got compromised?
In any case, caution on using either of the apps is advised.
Use zxing's Barcode Scanner for a better alternative
Credit to @andrewT. for pointing me to the solution
Update, 08. Feb 2021: There is now a writeup of the story at Malwarebytes Blog


Which component controls the "universal" app background

This is actually a system theme. Any app that is written to run under the theme of the device (unless you're root your devices theme is not changeable) will grab backgrounds, etc from that theme. It is like how most apps on the Nexus devices run with the Holo theme.

Edit: Just to clarify I am saying this is not an app, it is just a theme.


How can I access the browser console on Opera Mobile on Android?

You can try this app that I developed it may help you,
F12 | Browser Console for Mobile Devices
But if you are developing something and want to access Console for it, then following the steps in following link will be a better option
https://developers.google.com/web/tools/chrome-devtools/remote-debugging


Can I use my android phone to enable my computer to access bluetooth devices?

So, actually making your phone into a bluetooth dongle is a lil' bit nasty due to permission issues. BUT, there is another way. As you are willing to use this "measure" to stream your PC's audio to your bluetooth headset, you can download an audio streaming app from the appstore (such as SoundWire for Android), set up the connection between your PC and your smartphone, and THEN you share your phone's media through the phone's bluetooth service to the headset. Maybe there can be a loss of syncronization for games and videos, but music will be just fine! Hope it helps


I had to download Samsung's USB drivers for this device from their support page.

After you have the driver installed, when you plug in the device, Windows search windows.com for updates and finds:

Samsung mobile usb composite device
Samsung-sgh-i317
Samsung mobile usb modem
Samsung Android ADB Interface

Now, the interface still shows the "Connected as a media device" message, but adb devices list can see it.


It might take a minute or five, but certainly not an hour. But I know what happened to you as it happened to me too when I flashed my first rom.

Keeping it short: the ever-looping boot animation you're seeing is silently saying that you forgot to clean the caches after you've flashed your CyanogenMod rom.

To fix that, do:

Reboot into ClockworkMod.
Whipe the "Dalvik cache".
Optionally, while the "Cache".
Reboot into Cyanogenmod.

Most of the time, it's simple an unwhiped "Dalvik cache" messing things up. Yet, in the unlikely case that shouldn't fix it (for example - when you weren't running a previous CyanogenMod rom before you flashed your current one), you'll have to do a "Factory Reset" too. But 1-4 should get you going, so I would not factory-reset it on the first attempt. ;)


Bluetooth Watch that can control the music playback of an android device?

I'm pretty sure that all Android Wear watches can control a music player. I own a Moto 360, and whenever i launch GPM to play some music, a card appears on my watch to control it. This should be the case with any music player available on Android.


Galaxy S4 and Motorola CS3070, got paired but NOT connected

According to the GS4's specifications, it supports the following Bluetooth profiles only:

PBAP - Phone Book Access Profile
A2DP - Advanced Audio Distribution Profile
AVRCP - Audio/Video Remote Control Profile
HFP - Hands-Free Profile
HSP - Headset Profile
OPP - Object Push Profile
SAP - SIM Access Profile
HID - Human Interface Device Profile
PAN - Personal Area Networking Profile
MAP - Message Access Profile

Your Motorola CS3070 scanner supports the following BT profiles:

HID - keyboard wedge
SPP - Serial Port Profile

I believe the absence of SPP profile support on GS4 could be the reason you cannot properly connect the two devices without additional software.

According to this video, software called "BluePiano" can be used with this scanner model.  In the comments they specifically mention the SPP profile, and that there should be instructions in the scanner's manual on getting it to work with some handsets.


How can I execute a script on the SD card and be able to pass arguments to it?

You will probably be unable to directly execute scripts from your sdcard. At least without root. Reason is, with most ROMs sdcards are mounted using the noexec flag -- which means, as the term suggests: "no exec from here". Of course, having root you could simply remount the sdcard while removing this option.

Why might this option be forced? I'd say for security reasons. While on internal storage, apps are quite limited regarding where they might write to, on sdcards they can write everywhere. So this could be used by some "evil guys/girls" to place their malware scripts -- but that's just a guess.


How can I charge an ASUS Transformer while connected to USB?

The Asus Eee Pad Transformer uses a USB 3.0 cable. I've seen noises elsewhere on the 'net that it will only charge on a USB 3.0 socket. This is likely associated with the extra power only available on USB 3.0.


Network Issue after flashing Cosmic ROM at Galaxy S Duos

Did you have the required baseband and did you use CWM recovery to install the zip file?
If yes, flash the Stock ROM again and root the phone, intall CWM and install v2 zip file first and then v2.5.
I have been using Cosmic ROM v2.5 from the past one month and don't have any issues.
You seem to be having issues only because of some goof up during installation.
http://forum.xda-developers.com/showthread.php?t=2503230
He has given the .bin file for the supported baseband. Flash it via odin.


adb sometimes won't connect untill after a lot of tries, and sometimes never

I would write this as a comment but I can't. It may be because of the cable. I had this problem with an old cable that kept disconnecting my phone. Even cables that look fine may do this. The problem went away after I bought a new cable.


Android OS on VirtualBox very slow mouse

I have the same issue from Android x86 6 upper version in VBox. It runs in a MacBook Pro Late 2013 with 16GB RAM. I tried to set different size of CPU/RAM/VideoRAM but no help.

When I installed it in VMWare, there is no such issue. So it looks related to VBox.


Looking for a consistent answer about battery calibration

There are slightly different opinions around on this topic. To fully understand the issue, one needs to first understand how LiIo batteries work (which goes a little too far for our site, so please read details on Wikipedia).

Lie Ryan is absolutely right: LiIo batteries don't take it well to be fully discharged.
It shouldn't be done too often. I'm not sure what a double-take should improve here.
Usually there's no need to do that "explicitly". If you think of how often you end up with an empty batterie (as it doesn't last long enough), calibration is already done as a side-effect (if you then fully charge). It's widely agreed that it should not be done more often than once in 60..90 days, so Logas might have mistaken the term.
See previous point :) I never saw reason to calibrate any of my devices' battery, though.
It certainly cannot hurt to do it with the device turned off, as then it's not being charged and discharged at the same time. I doubt it's really necessary, but it does no harm :)


How do you sort your chats by contact name in WhatsApp?

There doesn't seem to be any way to sort them alphabetically in the chat list. Currently the Whatsapp chat list is by chat date, meaning the most recent ones will come up.
If you click on the bottom right green button you can access the contacts list, and those contacts are sorted alphabetically.


Unlocking Droid XT912 with a Fully Broken Screen/Digitizer

In case any one had similar problem and unable to use the mouse, I saw an article while working to find a solution for my colleague's same type of phone. It indicated that the xt912 won't provide power to the mouse so you need to connect the mouse through a powered USB hub.  You can find it on Amazon easily but make sure it is powered with a power supply. Good Luck!


How to prevent brightness when battery reaches high?

You may come close but cannot prevent that behavior unless there is a setting unbeknownst to you or the device is rooted. No matter what automation app you use, the brightness would be set to maximum whenever the battery level reaches 100% and in a matter of few milliseconds, it would revert to whatsoever you want it to be. My solution takes care of that problem. Originally posted here.

The file named max_brightness, a file under /sys, hence a part of Linux kernel and directly managed by it, appears to be the key to the solution. I found that setting the brightness limit in that file is one of the best ways to tackle the issue.

I noticed that once your custom maximum brightness is set, neither Android nor an app was able to set brightness beyond that custom level unless they changed the content of that file, which often an app has no reason to and none of them changed either. Besides, the file is owned by root and is part of group root, so any app or even system_server would require root privilege to make changes into that file.

Finding that file is bit tricky. In my MTK device with Android 4.2, that file appears to be under /sys/devices/platform/leds-mt65xx/leds/lcd-backlight/.

In my Qualcomm device with Android 5.0.2 and above, the file appeared to be in /sys/devices/mdp.0/qcom,mdss_fb_primary.168/leds/lcd-backlight/.

I assume that the best way to find that file is to run a search query (setup adb for that), such as:

(Requires busybox)

adb shell su -c 'find /sys/ -type f -iname "max_brightness"'

In my Qualcomm device, the output it gives is:

/sys/devices/f9924000.i2c/i2c-2/2-0068/leds/red/max_brightness
/sys/devices/f9924000.i2c/i2c-2/2-0068/leds/blue/max_brightness
/sys/devices/f9924000.i2c/i2c-2/2-0068/leds/green/max_brightness
/sys/devices/mdp.0/qcom,mdss_fb_primary.168/leds/lcd-backlight/max_brightness
/sys/devices/qcom,camera-led-flash.81/leds/torch-light/max_brightness
/sys/devices/msm_sdcc.1/leds/mmc0::/max_brightness
/sys/devices/msm_sdcc.2/leds/mmc1::/max_brightness
/sys/devices/01-qcom,leds-d300/leds/led:flash_torch/max_brightness
/sys/devices/01-qcom,leds-d300/leds/led:flash_0/max_brightness
/sys/devices/01-qcom,leds-d300/leds/led:flash_1/max_brightness
/sys/devices/01-qcom,leds-e200/leds/kpdbl-lut-2/max_brightness
/sys/devices/01-qcom,leds-e200/leds/kpdbl-pwm-3/max_brightness
/sys/devices/01-qcom,leds-e200/leds/kpdbl-pwm-4/max_brightness
/sys/devices/01-qcom,leds-e200/leds/button-backlight/max_brightness

The location where lcd-backlight is mentioned was the only one that made sense to me and this is how I found the file in my device. Don't you worry asking about others. I attempted changing the brightness of the screen and looked for the changes in the file named brightness (also located under those said locations). None of them reflected the correct output other than the one at /sys/devices/mdp.0/qcom,mdss_fb_primary.168/leds/lcd-backlight.

Only for demonstration, try setting a limit in max_brightness

adb shell su -c 'echo LIMIT > PATH_TO_MAX_BRIGHTNESS'   # in my case PATH_TO_MAX_BRIGHTNESS is /sys/devices/mdp.0/qcom,mdss_fb_primary.168/leds/lcd-backlight/ and set LIMIT to a value less than 30 (not limited to).

Now try maxing the brightness by using brightness slider or a third party app and you would notice that the brightness of your screen doesn't exceed beyond a certain point even when slider or the app's configuration appears to be at maximum. The brightness for that "certain point" would certainly be less than the default one you are used to.

Note that the maximum value in max_brightness is often found to be 255 and the brightness ranges from 0-255. Often, not always true, that is. And fear not from setting the limit to 0. It would cause the screen not to lit until you revert the changes or restart the device.

Find a limit which would not disturb you in your sleep.

Automation

For automation, use any automation app that can run a command with root privilege and when the context of your preferred trigger is met. I recommend a time based trigger.

Some working examples:

In Tasker, setup a profile with your preferred context, create a task and use the action: Code → Run Shell:

Command: echo LIMIT > PATH_TO_MAX_BRIGHTNESS
check Use Root

In MacroDroid, setup your preferred trigger and for action install Secure Settings, choose it → Actions → Run Command:

Command: echo LIMIT > PATH_TO_MAX_BRIGHTNESS
check Use Root

In Automate, as part of your flow, when setting up an action for your trigger, select Shell command superuser under Apps and do:

Command Line: echo LIMIT > PATH_TO_MAX_BRIGHTNESS

Make sure to install all the permissions the flow require.
In DroidAutomation, setup your trigger and under task, select Root → Execute a command line and type: echo LIMIT > PATH_TO_MAX_BRIGHTNESS

As you would've guessed, you would have to setup two profiles for every app. One to setup a limit and the other to set the maximum brightness to the default you're used to.

I would like you to keep this under consideration (even though you got a hint at the beginning) that using a 100% battery trigger would defeat the purpose of this answer, which is to override the changes Android want to make. As an example, if you setup LIMIT to 0 whenever the battery reaches 100%, what would happen is your Android would lit the screen to maximum as usual and in few milliseconds (you read correctly) your automation app would run and set the limit. Your sleep may get interrupted in those milliseconds.

The workaround is to set up the battery level to 99 or less for full battery charge.

That said, I wouldn't be surprised if you avoid rooting considering that that the biggest compromise you would be making in using an answer with non-root approach is of not accounting those pesky but only milliseconds.


How to use existing Whatsapp account on new mobile with new SIM?

You cannot use your old Whatsapp account with new sim when you don't have access to your old number.

All you can do is to contact your network provider and explain the situation, submit documents and request a new sim with the old number. Once you get your old number back, you can either choose to use whatsapp account with it or shift the account to new number.

Shifting Whatsapp account to new number maintains the old account's whatsapp groups, account info, settings. You still have to share your new number with your contacts so they know its you and update their address list.

To shift the WhatsApp account from old number to new number, login whatsapp with old number and open Settings >> Account >> Change number .


Can OTG HUB charge with connected charger more than 0.5A?

The multifunctional USB OTG Host Hub Adapter Cable is compatible with all tablets and cellphones with OTG function. While it is promoted to OTG mode and charging mode can work simultaneously, in fact this is not possible (except for some listed devices)


If you control the network, you can use Shark for Root to check whether the apps open port 80 (default port for HTTP) or port 443 (default port for HTTPS). IIRC, WireShark can also read HTTP headers.

If you don't want to root your phone, and you're on a Wifi network that you owned; you can use Wireshark/Firesheep to snoop on the traffic of the Android device from your laptop.


Samsung Galaxy S5 deletes email from server

The most probable answer is that you have your tablet configured to use POP3 for email instead of using IMAP.  You can check this in the account section of your email app.

Using POP3 to retrieve your emails deletes them from the server whenever they are downloaded to your tablet.  Using IMAP synchronizes your email app with the server, so that the emails are in both places.

If this is correct, the simplest solution is to delete your your email account from the app and then set it up again correctly, using IMAP instead of POP3.  Your email app may be able to simply edit the settings of the account to use IMAP instead: however, depending on what app you are using, this may be the equivalent of deleting an account and adding a different one, I.E., you might still lose your already-downloaded emails.

Please note that you should back up all your emails on the tablet first, as this solution may delete them from the tablet.  (And, since you are apparently using POP3, they will already be missing from the server.)


Android phone has SMS messages not sorted chronologically by date

Finally, after long research, I found a solution for my issue: I haven't payed attention to one detail of the messages that were out of order, all these messages have a blue mark at the top right corner in shape of a blue triangle, this mean that the messages were PINNED to the top list of SMS messages. The solution is to select these messages then select option to UNPIN them ! Now every thing is in order no need to download any (spyware) app in play store !


Make the phone always-listening to "OK Google" with fingerprint sensor on Nexus 5X

Under Security and under Smart Lock, go to Trusted voice and check the option that says Always on. That's how I got "OK Google" to work when my phone is locked. I use the fingerprint lock as well.


How to remotely log out all web-based Gmail sessions from my Android phone

I have found two ways to access the “Activity on this Account” feature from the builtin Android 4.0 web browser:

Select the “Request desktop site” option in the browser menu, then open https://mail.google.com — this way it will not redirect to the mobile site. Then use the “Details” link at the bottom of the page, as you would do from a computer.
Open the mobile version of Gmail, select the “menu button” at the top line (with three vertical lines) — it will open the list of your tags. At the bottom of this list you will see a line with “Gmail version: Mobile | Mobile (old) | Full”; select the ”Full” link to switch to the full Gmail version (it looks slightly different than what you get with the first way). Again, you should see the “Details” link at the bottom of the page, which leads to the “Activity on this Account” page.


What determines the order of my contacts on the frequent contact toolbar?

I think from reading the source code here and this line and also from reading the code in the Contacts application that the "Frequently Contacted" list in the Contacts application orders the contacts by the number of times that you've called them. That's the DataUsageStatColumns.USAGE_TYPE_INT_CALL bit. This is also assuming you're using the default Contacts application but since you didn't specify I assumed you were.

So it must be that you've called this particular friend more than any others. To test this try and make a large number of calls to the next person in the list and see if it overtakes the top person.

It could also be the case that you've 'starred' him. If you go on his contact profile at the top there's a star. If this is white then it means that you've favourited him which means he will always appear at the top of the "Frequently Contacted" screen. Just uncheck the star and he'll go away.

There is also the option to clear the list if you like, just click on the Action Menu or your menu button and select "Clear frequents".


How to show only gmail's contacts in the Contacts app?

Go to Contacts > [Sitting Button] > More > Accounts.

Be sure the following are checked:

Background data.
Auto-sync.


How to prevent two-factor code being exposed on lock screen in messages notification?

I would say the first notification in first image would serve as a good replacement for the first notification in second image.

(Click an image to enlarge it)

Given that an SMS usually contains information considered private in nature, I would suggest you setup an automation task which would remove the notification created by your default messaging app but instead place a new notification with sender's address only. Opening that new notification would open the default messaging app and if needed, perhaps the particular thread as well.

Following is a successful demonstration performed using MacroDroid:

MacroDroid defines a set of trigger(s), action(s) and constraint(s) as a macro. You would be needing two macros here.

Macro 1:

Trigger: Empty Trigger
Action: Launch Application → select your messaging app
Constraint: ignore
Name: Launch messaging app

Macro 2:

Trigger:  Notification → Notification Received:

From: choose your default/preferred messaging app
Text Content: you can play with this but I suggest you begin with blacklisting any notification from messaging app. For that, select Any to trigger for any notification.

Action:

Clear Notifications → Select Application(s) → select your messaging app
Display Notification:

Icon: change as appropriate
In the first text field write: [not_title]

[not_title] corresponds to Notification Title (the title of the notification which acted as the trigger).

You may be interested in dealing with further information from the notification. For that, tap the button next to the text field and see the information for yourself.
In the second text field write anything that you need. As an example, you can write: Double tap to open the message
Tick Invoke macro when pressed and select your first macro i.e. Launch messaging app

Constraint: Device Locked/Unlocked → Locked
Name: as appropriate to you

This is how the said macros works: whenever any notification from your selected messaging app would show up when the device is locked, the notification would be immediately removed and a new notification from MacroDroid would be generated with the same title and your custom text. If you single/double tap the notification your selected messaging app would be launched.

(Click an image to enlarge it; the two macros I created)

It is possible to easily make a similar automation task using Automate app.


Disable email sync outside working hours

FairEmail is a popular open source Email client (crossed 100,000 downloads) which can do this for all accounts (global) but not per account. This is because of maintenance and support of app plus battery consumption.

However, you can still use automation for custom polling to achieve individual account sync (this is a pro feature)

You can set the day /hour wise schedule

Developer is very active and responsive as you can see from the XDA thread, which is the right place to get your questions answered.

I am an extremely satisfied user of FairEmail and not affiliated anyway with it.


Try clearing the data and cache for the app (Settings -> Applications -> Manage apllications) and then syncing. Hopefully it will work after that.


Where is the / or /sbin file system or directory mounted from on Android?

The rootfs is setup by kernel and init,  /sbin is part of initrd.img aka ramdisk.
Initrd.img is part of boot partition, and needs to be unpacked to be edited.

Here is some good info on boot process and editing  boot partition http://www.slideshare.net/chrissimmonds/android-bootslides20
XDA forum HOWTO: Unpack, Edit, and Repack Boot Images

Also, newer devices are requiring boot partition to be signed, and unless bootloader is unlocked, any editing will cause device not to boot.


Upgrading hboot fails: signature verify fail

The hboot flash region is protected from accidental/unwanted/etc writes.

You need an exploit most probably.

I found this thread: http://forum.xda-developers.com/showthread.php?t=1486201


Transfer SMS messages from Android to new Android phone

SMS Backup & Restore (free and highly rated) in Market seems like a good fit for the task.  Backs up SMS to gmail (threaded), supports restore to SMS (hence the name).


Why isn't the touchscreen pressure reading being put into use by Android?

Don't run to conclusions early - some Huawei/Meizu/ZTE flagships has it, sometimes referred to as "3D Press" or other names.

Ultimately the feature is worthless - it requires 3rd-party apps to integrate well, but since Android doesn't have a native implementation of it (yet), there's no way apps could adapt to all the proprietary standards raised by different manufacturers. The app support situation and the sales of the above phones proves the point.

This situation is quite similar to what fingerprint scanners have experienced on Android before Marshmallow, except that it's of even fewer actual use than it.


Go to your wifi settings disable scanning always available then turn off and turn on the wifi


Does "adb backup" also backup /data/misc/vold - the Encryption Key for Adoptable SD card?

My solution to Matifow problem was ...

I cannot extract the token because my device was not rooted.

I bought a new microSD and clone in it the microSD from my device.

https://askubuntu.com/questions/227924/sd-card-cloning-using-the-dd-command

When i put this new card the phone recognize as the old one.

I recover photos, media from whatsapp, apps installed ...

I lost some files ( the corrupted I assume) but can recover the most.


i am locked out of my android after forgetting the pattern

Yes, at the bottom it should say "unlock by email" and type in your gmail account that you set your phone up to and voila it should be unlocked. And then change your password in the settings


Make call remotely from one phone through bluetooth using other phone?

I'm also trying to achieve a similar task with two handsets.
I use unlimited data as my primary home internet. (trying to save money going without broadband) but to do this I have to USB tether my phone (Pixel 3) to my home network.

I want to instead use my old Android handset (Galaxy s3 mini) USB tethered to my home network and bluetooth remote SIM access from my Pixel 3 to act as a virtual 3G modem.

Currently I have to either swap out the SIM card or just leave my Pixel plugged in by a window with good signal.


Normally, the MediaScanner should pick them up from any place, add them to the library, and your player should find them. That works smoothly and immediately if you use the means the designers had in mind (connect your device via MTP, transfer the files, disconnect – the MediaScanner will start immediately).

But as you use a different way (we are bad doing so – I'm doing it as well ;), MediaScanner is not triggered immediately. So you either have to wait until it decides to run – or trigger it manually:

it runs on every device boot, so a reboot triggers it
it runs whenever the SDCard is mounted. So if your device has an external SDCard, going to Settings → Storage, and un-mounting plus re-mounting the card will trigger it
as both above solutions are not really satisfying: there are several apps on Play which let you trigger it manually, by just tapping their shortcut. One candidate still working with Kitkat is SD Scanner.

See also my answers here and here.

Alternatively, you could try a music player that doesn't rely on the MediaScanner. One example for those would be the GoneMad Music Player: Here you can define yourself which directories you want scanned, and can trigger a scan yourself from inside the app whenever needed. Those rescans are blazingly fast, as they only scan directories you've defined – instead of checking everywhere on the device.


How to add root permission to some app by myself?

No. You should request the app developer to do so.

On UNIX like systems, permissions are managed with something called UIDs.

Every process has one and it dictates what they can access. Moreover, there are also groups that have permission that their members can use. When an app has permissions like Write to SD card they're put into a group that has this permission.

The root permissions are an exception since they are not declared in the app's manifest, but rather in its code. Root is also not a group but a separate UID (as it is a separate user) so it's not that easy for an app to use it.
Apps that have root rights need to be explicitly written to do so.

The way this works is every time an app wants to do something as root, it has to request the su binary to do it instead. su will then ask the app that manages these permissions (e.g., SuperSU) whether the app is allowed to gain root access. If it isn't, it'll prompt you to allow or deny it. Then the action is carried out as root, not as the app user. These actions are not an integral part of the app but rather an external executable.

While theoretically it is possible to add this to an app, this would be a non-trivial process requiring knowledge of writing smali code, which is the internal format of the Dalvik virtual machine (the part of the system that runs the apk file) called smali. And even then, there'd be a huge security risk if the app allows other apps to access it: it wouldn't know how to keep the privileged root access separate from its normal access. So in reality this isn't really feasible.


Can I select which email address I use to respond in Lollipop?

Not a Lollipop specific solution, more in general- works in other versions.

First you need to access your GMail account through your desktop browser.
Click the Settings cog in the upper right and choose "Settings".
CLick on the "Accounts and Import" tab/section.
Find the option labelled "Send mail as: (Use Gmail to send from your other email addresses)". Should be the third one down. Click "Add another address you own".
Follow the prompts in the popup to add your other email account (address, username, password, server, etc.).
Once finished, GMail will send a verification email to the account you're trying to add. Open up that secondary email account, open the verification email and either click the URL to verify or enter the verification code.

Now open up your GMail app on your phone (may need to reload it first). Try to reply to a message. If  you look at the "From:" line, there should now be a dropdown arrow at the right. Tap on it (or the email address) and there's be a dropdown where you can choose your newly added account.


I found the answer: pinch zoom!

Using the two finger gesture in the messaging app changes the font size on:

texts
smileys
the "Enter message" field, default text as well as input text.

But not

messages timestamp
bubbles widths
the menu
the send button
the paper clip icon

If I then close the app, using either triangle or circle, the setting will persist.


How do I change the Wi-Fi hotspot channel?

If you're referring to the one built into Froyo (and I assume Gingerbread), when you're creating your hostspot hit the Menu button and you'll see Advanced options. In there you can select the channel.


The clue lies with the comment above But I just tried 'adb reboot bootloader', and it worked. which shows that adb is indeed recognizing the USB connection, but not in fast-boot mode which is where this answer comes in...

Sounds like the udev rule for the fast-boot is absent!

Do this: lsusb with the cable plugged in while the handset is in fast-boot mode.

Typical output should be one similar to this:

  Bus 001 Device 012: ID 18d1:d00d Google Inc.

                     ^^^^ ^^^^

The numbers identifier 18d1:d00d corresponds to idVendor : idProduct respectively.

Make note of it, and check your udev rules found in /etc/udev/rules.d/51-android-rules. (Mileage will vary slightly with differing Linux distributions!)

If you do not have this file, then its recommended to create one using root, there may be a few rules that need to be added depending on the mode of the handset, i.e. normal, recovery and boot-loader modes.

Here's an example of mine, that has differing values respectively when handset is in one of these modes. Take this as a template and change the numbers as shown that matches up with idVendor and idProduct respectively to suit your make/model of handset.

SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1354", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1350", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1351", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="d00d", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"

The user id is added to the androiddev group, which was created on previous occasion, in that way I do not have to sudo at all!

To create a group, using root

groupadd androiddev, this creates a group, then to add your
linux's user id to that group...
usermod -a -G androiddev your_user_id; replace your_user_id with your own user id used for logging in).

Then when in fast-boot mode, the fastboot binary should work (bonus! without the necessitating for sudo either!)


If you have not already solved it, try to erase the partions first using "fastboot erase recovery" "fastboot erase boot" and boot into twrp again using fastboot boot twrp afterwards, then using an otg and usb or somehow accessing the internal storage flash over the rom.


Accessibility options - "Home answers calls"

Only Samsung offers that feature like home button answers the call. For other phone their might be an option like this, but not necessary to have.


You cannot

See the accepted answer by elderathis for a good explanation of what optimising apps does What kind of app optimizations do newer Android versions do at the first reboot? - re-creates Dalvik / ART (lollipop upwards) cache for each app. This is done with each OTA
It's only when the OTA is completed, the device looks for availability of fresh updates and proceeds to download and update next OTA. This is because the version on the device is checked for integrity and that it's not tampered with (as in the case of rooted devices or modifications to  /system partition ) to be start the OTA process.

Your case of updating multiple OTAs in one shot I suppose is not the usual use -case so it does ìt incrementally instead of applying all updates and then optimising, though in theory it could work that way

Edit: Some of these updates could be incremental updates, which demand the previous build

  Distribute an incremental package only to devices running exactly the same previous build used as the incremental package's starting point.


Used (probably) inappropriate charger, touchscreen went crazy, permanent damage?

You can be 99.9% sure the touchscreen is fine. Battery wasn't damaged too. If the touchscreen still behaves erroneously after unplugging, then rubbing it with a soft cloth should help.

This is a common issue with cheap chargers. It indicates that charger may not be safe to use with any device - it may catch fire or explode. Prolonged use of such chargers can degrade battery performance faster than charging with a high-quality charger.

It wasn't a voltage problem - all USB chargers have the same voltage and you can use any charger with a plug that fits. Charging speed may differ, though - high-end smartphone and tablet chargers are faster than regular mobile phone ones.


/storage/emulated/0/Download is the actual path to the files.

/sdcard/Download is a symlink to the actual path of /storage/emulated/0/Download

However, the actual files are located in the filesystem in /data/media, which is then mounted to /storage/emulated/0 (and often other mountpoints as well)

A Symlink In computing, a symbolic link is a term for any file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. Symbolic links were already present by 1978 in minicomputer operating systems from DEC and Data General's RDOS.


Settings app: 'Unfortunately, Settings has stopped.'

I had the same problem where settings would keep on crashing. I just got the snapshot today and it did the same thing. After experimenting I fixed it by going in the app drawer and holding on setting, opening its app info, and clearing data. It now opens and works well. I hope this helps.


Can Android Chrome be linked to an account other than your main Android account?

Launch Chrome

In the overflow menu, choose Settings
Under basics, tap the entry for your account
Disconnect the account; you'll be warned that the data will remain but you'll lose your synchronization
Tap Sign in to Chrome at the bottom of the screen
Choose the account you want to use for synchronizing

Obviously for this to work you will need to have already added the account to your phone.


I think that I may have been a victim of a malicious mms

I had the same issue with somebody on my contact list sending me an MMS that ended up auto-extracting spyware on my phone. Long story short he was able to hear all of my calls, see all of my texts, basically was able to remotely control my phone. I would suggest a factory reset of your phone and turning your MMS auto-retrieval options to off (as it is on by default). Then change all of your passwords to your accounts that you've been using on your phone. It's a hassle but when this happened to me, I got a new phone and somehow the same symptoms carried over until I changed all of my passwords. Even now I still feel that my new phone is compromised as sometimes it will get hot for no reason or drain a lot of battery for no reason. However, it's much better than before where I would notice videos and pictures being taken remotely and once I was trying to take a selfie with a friend and my phone literally turned off by itself without a warning. I've added AV software but that didn't seem to help much. At this point use your common sense, and don't install anything from a shady third-party source. Hope this helps.


This should work pretty fine: lsusb (Windows)

and

lsusb -v (Linux)


How long does it take for a new version of an app to reach users?

I guess it depends on how the developer targets the audience .  If the developer chooses to do a staged rollout

  You can release an app update to production using a staged rollout. With a staged rollout, your update reaches only a percentage of your users, which you can increase over time.

(Emphasis Supplied)

For more details see the link

It's best to contact the developer and check


Huawei G300 not fast enough for Google Racer

Running a game smoothly does depend on RAM as well as the capability of your processor and more significantly the graphics chipset employed on your device. Compare all three of these factors and you'll understand hopefully why your Huawei G300 doesn't run the game of your choice as well as your Nexus 7.


Samsung Galaxy S3 unable to power on after shutting off randomly

It seems that your phone have hardware problem . It loose the contact of power supply internally. May be there was damage in power IC.

If your phone is in warranty period give it to Samsung care otherwise take a help of local phone repairing center for cheap solution.


Factory reset on mako with broken digitizer and TWRP installed

Managed to solve it with the help of a friend, this package ( http://forum.xda-developers.com/showthread.php?t=2564453 ) and couple of ADB sideload commands and flashed the stock rom from here:
https://dl.google.com/dl/android/aosp/occam-lmy48t-factory-416938f1.tgz


One of my Whatsapp voice notes saved is not starting with PTT; what does it mean

It's more likely that voice note wasn't created as as  push to talk (PTT) message via WhatsApp in which case it normally starts with PTTxxxxx, rather this voice note was created with a device recorder hence starts with alphanumeric number.

I noticed my voice recorder names all recorded audios with in a number format to confirm this. Hence its still recognised snd plays well on your device. Perhaps they sent you an audio created by a native voice recorder not via WhatsApp.


Hardware ID missing on Galaxy S3 after Windows update

Make sure your device is connected. Open Device Manager. In USB Devices, find a SAMSUNG composite device (can't capture a screenshot because it goes away).

Right click, choose Uninstall and make sure to check "get rid of that sheet of driver software"... Well... I mean "delete driver software too".

Disconnect and reconnect USB, or clik Detect Devices button

Windows detects the phone and installs the plain old MTP driver.

Optional step: report to Samsung

Optional step 2: upvote :)


Nexus 7 2013 WiFi (flo) freezes and/or bootloops when booting TWRP

I want to preface this by saying that the following is what worked for me. I can't guarantee it will work for you, but I wanted to document it here for the future in case I need it again or someone else finds it useful. I take no responsibility the possibility of this messing up your device even worse or not doing anything at all. I don't really understand why this worked for me.

First of all, reboot the device so that you're freshly in the TWRP recovery when you start executing the commands. The device seems to randomly reboot when in this state and it wouldn't be nice if that happened while re-creating the partition, so give yourself as much time as possible.
You will need adb on your PC to follow these steps. Explaining how to acquire it is out of scope for this guide, but I'm sure you can find instructions for your operating system online.
Note that you should not include the $ and # when running the commands!
Once TWRP's splash screen appears on the device, quickly run this command on your PC:
$ adb shell

Make sure you start the adb server with the right permissions before you try this as starting it up takes some time.
Following that, run this (in the adb shell):
# mke2fs /dev/block/mmcblk0p30

This formats the userdata partition. Let this finish. For me, the device rebooted right after, but you may need to do it manually.
After the reboot, you should be booting back into Android assuming you have a working Android ROM on the device. If it seems to be stuck, wait a few minutes. If it still seems to be stuck, try giving the power button a short press. This worked for me for some reason. After this, set up the device, go into settings, enable USB debugging, and run this on your PC:
$ adb reboot bootloader

After this, flash TWRP 2.8.1.0 (Not sure whether this is necessary):
$ sudo fastboot flash recovery twrp-2.8.1.0-flo.img

Boot into it and observe it boot Android instead for some reason.
$ sudo fastboot reboot recovery

Reboot back into the "bootloader" (fastboot):
$ adb reboot bootloader

Now flash the latest TWRP again.
$ sudo fastboot flash recovery twrp-3.5.2_9-0-flo.img

And it should work. However, in my case, I have to re-flash TWRP after every boot of Android.
I'm not sure whether it is necessary to flash the older TWRP version for this to work, but I thought I'd include it just in case.

Credit goes to this forum post for giving me a vague outline on what to do: https://forum.xda-developers.com/t/q-flashed-twrp-and-now-cant-find-ext4-filesystem.3096502/ (archived version: https://web.archive.org/web/20210503093052/https://forum.xda-developers.com/t/q-flashed-twrp-and-now-cant-find-ext4-filesystem.3096502/)


Just to answer this question in case future users have it.

I believe in HTC Sense when a call comes in and the screen lock is there it should say slide up to reject the call and down to answer.


A computer's usb port does not supply enough current to charge your tablet. The tablet takes roughly 1A or 1,000mA to charge, a desktop's usb port only puts out about 500mA. Some laptops just can't provide the specified 500mA and will not charge it at all. YMMV

You can charge it though, only very slowly, AND the tablet has to be completely turned off.


Well, your device is bundled with Japanese language support. I think this was started with 2.1 release. If you are using an older version of android (like 2.1 or so), you might want to check this thread on XDA.

If you have a later version of android, simply go to your language settings and select Japanese as @ce4 suggested

There is no need to install Japanese language in your device.


You should try another aux cable, it's possible that the TRRS layout doesn't match the phone's jack layout.


Mark as unread button in email application?

This probably depends on the device, as devices with custom UIs (TouchWiz, Sense, Motoblur) will have different email applications. On CyanogenMod (and I believe vanilla Android) you simply tick the checkmark next to the message or messages you want and the button slides in from the bottom.


Change existing contacts from 'phone' to 'gmail'

You need to export your phone contacts in to vcf format and then again import it into Google contacts.

Steps in Android 4.2:

contacts -> settings > Import/Export -> Export to storage.
contacts -> settings > Import/Export -> Import from storage. - This will ask you to select your Google account to save.

Edit/Delete or remove duplicates in http://contacts.google.com. Thats easy.


The only app I know that streams the entire audio output of your phone is AirAudio. It is capable of streaming to UPnP/DLNA speakers but does also support AirPlay.

It does require root privileges, though.


Some times happen that phones with short memory not permit to install many apps, in this case your phone has only 1 gb of RAM, but like 500 mb of this is occupied by the apps already present in the phone. To work good the phone need like 200 mb always available and for this motivation you can't install other apps despite you have 300mb of space. I got the same problem with my last phone, and apps like facebook occupied all the memory. It is only a problem of memory, but to be sure try to clear cache and data of Google Play following these steps:

1.Go to [Settings > Applications > Manage applications > Google app store]

2.Click [clear cache] and [clear data].

3.Open Google Play store and try to install the app again.

I hope I helped you, good luck!


Is there anything similar to APNS on Android?

Historically, in order to promote battery life, Apple did not let the apps run in the background (until iOS 4.0 release in June 2010), but did provide this APNS (Apple Push Notification Service), which would let the app developers implement certain client functionality on their own third-party servers, which would then push the notification messages to Apple's central notification system (available since iOS 3.0 release in June 2009).

As such, anyone who would have wanted to write an app with any kind of background notifications at all during the whole iOS 3 availability window, would have had to have APNS support implemented, else, their app would have had no multitasking at all.

It would appear that this has never been the case in the Android land.  Per my understanding, Google's take on APNS — GCM — Google Cloud Messaging — hasn't really taken off yet, probably because running out of battery in one day is not as evident as not having the background-notifications functionality at all, and the APNS/GCM architectures require the app developers to themselves run the extra servers on their own side, which is obviously not free, either, and would certainly require extra engineering and complexity, for achieving something that's not entirely obvious to the naked eye.

Additionally, according to a question on StackExchange, GCM is a second incarnation of Google's take on APNS, where the first one, now discontinued, was called C2DM (Cloud to Device Messaging Framework).  It would appear that C2DM had quotas, which were then abolished with subsequent GCM.  The exact dates on the introduction of GCM and C2DM are not clear, however, their device-side parts would appear to be backwards compatible, since they both claim to support Android 2.2 and above.  Android 2.2 "Froyo" was first made available May 2010.


Samsung Galaxy Tab S 8.4 (SM-T700) support for OTG (On-The-Go)

Finally found a USB OTG cable at Best Buy.  Samsung branded as a "Host" cable but nobody knew how it works (or even they had it - 'OTG' that is).  Tried to convince me I need to swap SD cards to transfer pictures from camera to tablet.

Not buying this, I bought the Samsung "Host" adapter cable on the assurance I could return it if it didn't work.  It did.  Worked great.  Just plug in the cable to both the camera and tablet and power up the camera.  And there is, identified as usb a.  Was able to view and transfer (copy) pictures and videos from the camera to the tablet.  No separate file manager app needed either.


Why does android ignore my etc/hosts change in the browser?

This sounds exactly like this, down to ping working but not the browser. His eventual solution is quoted below:

  Stupid question, but are you editing the file on the handset or just pushing the file that
  you posted here?  The one you posted is in dos format, so it has extra linefeed characters
  at the end of the line that could confuse a linux system.

I don't know what you used to modify it, but you might want to check what kind of linefeed/newline characters it's using.


Is possible install Eclipse IDE in Honeycomb?

No.

As you might know, Eclipse has various problems running in different flavors of Linux (which is why Ubuntu has an official repository version of it, and all that).  Android is even worse -- while based on Linux, it's a completely different operating system.  A similar question would be, "Is is possible to install a *nix version of Eclipse in Mac OS?"


How can I force-link a Google contact with a Facebook profile?

First, in the Facebook app, under its Settings, enable synchronization for all contacts.

Open up your contact list and select the Google contact you would like to merge. Then push the menu button and select "Edit Contact". Then hit the menu button one more time and select "Join".

Choose which contact you would like to merge it with and you should be good to go.


How do I get the real file path of an image?

The second one is the technically correct path. The first one, /phone/..., is just the Gallery app simplifying the display and telling you that the folder is in phone storage (instead of external storage).

When connected to the PC using MTP, the root folder is /storage/emulated/0/ (you only see the contents under it), so you should be looking for the part of the path after it, which is Pictures/Messages/imagename.jpg.


Multiple problems with HTC M8S after rom upgrade

Try the ROMs here from XDA Forums, as they can help you to fix your problem.
 You can also try a higher version of TWRP, such as v3.2.1.


Online Nandroid Backup and later restore of an encrypted Android L 5.1 device

I looked at the onandroid script and it seems that it does a block-level copy of the data with dd only for partitions that are not mounted during the normal system operation (such as recovery partition) and copies the files on the filesystem level from the mounted ones - meaning it copies the decrypted content of the data partition and others and creates a backup images out of it. Further testing would be needed to determine what happens after a recovery is made from a system image (expecting encrypted data) and non-encrypted data image.

It seems that onandroid is "best effort" software (I didn't see any mount -o remount,ro / before copying the contents of the partition - it would probably also affect the running system possibly crashing it) and is therefore best not to use it with encrypted devices. The proper way to handle them still remains encryption-supporting recovery such as TWRP (or dumping the partitions via adb pull while in ADB-supporting recovery). I would be happy to be proven wrong by someone who knows the onandroid script in greater depth.


LG Optimus P690 - how to launch silently

Lars Aronsson over at Androinica seems to think you can using an app called Silent Boot (though others disagree). Also suggested is Android Assistant which is supposed to automatically turning down the system volume before the phone power cycles. I haven't tried any of them personally - give 'em a try, YMMV.


How to watch lectures in Adobe Connect app when I can't find Flash 11.2 for Samsung Galaxy S4 running Android 5.0.1?

Puffin Browser. I'm able to watch the Adobe connect lectures for school (as mentioned in the post). Puffin seems pretty fast and impressive with flash.


You can't :o(

You can install another home screen app from the market if you don't want to use the Sense home screen.

If you want to avoid Sense altogether, you will need to root your phone and flash a non-Sense ROM.


WhatsApp video doesn't play and has a warning icon (Video format h264 not supported)

Assuming that the person that sent you the video has a Gmail account, ask to upload the video to Google Photos and send the link, that way you'll be able to see the video.


How to install Vim text editor in Android?

DroidVim is a Vim clone text editor ported for Android. Vim 8 (huge version, multi language), grep, diff and ctags are ready to use.


How can I unroot OG Droid Gingerbread to latest stock firmware

I was going to post a complete answer, but this XDA thread has everything I was going to say and it would take me too long to reproduce it :P.  This post is basically a shortened version of the other, if you prefer that, but it seems you'd prefer more detail.


Can Tasker/Locale tell me what BT device is connected?

Yes. Tasker will do this. When you're setting up the state, choose "bluetooth connected", then click the magnifying glass next to the "name" field. It will search for paired bluetooth devices. Choose the one you want and configure states/actions. Then do it again for the other BT device.


Unable to see all folders on Moto G using FTP

I faced the same problem, but I launched filezilla from Terminal using sudo:

sudo filezilla

It works fine.


Is there any application that can Pause and Record the video?

This seems to be a limitation of either the Xperia mini Pro Camera software or the hardware itself. The camera that came with the Stock Samsung Galaxy S Vibrant (SGH-T959) I could pause and resume recording of video. I am now running CyanogenMOD on the device, and I can also pause and resume recording.

So either the developers did not want to include that functionality in the camera software, or the hardware has something that prevents them from allowing it.


Beaglebone Black doesn't obtain 169.254.xxx.xxx IP

I found the solution. I can give a static IP to my Beaglebone via shell scripts (or adb):

ifconfig eth0 up 169.254.13.13


From what I've seen this is not generally very easy to do. I know that replacing the icons and such requires modifying the underlying framework-res.apk file, and I've never really seen anything that modifies the functionality of the bar itself (aside from custom ROMs with custom frameworks and the like). I'm not completely positive on this, however.

If you just want to get the toggles, though, you could try an app like Notification Toggle. It says that it's a little bit hit-or-miss depending on the device, but I'd imagine that the Nexus S would be on the better end of the scale.


How can I root my Samsung Galaxy S3? Should I defer the system update?

Update: Verizon's Galaxy S3 is locked and cannot as of now be rooted or updated to a custom firmware. See this XDA thread.

As far as I know there are no current pending security holes that can be exploited by circulating rooting apps at the moment.

Samsung does however not lock its phones if you buy them directly from them, i.e. you are free to install aftermarket firmware or modify the existing firmware via Odin quite easily (without having to hack/exploit/etc. anything). Some carriers, including Verizon however do indeed lock it.

If you have an unlocked S3 or as soon there's an exploit for the locked booloader:
CF-Root by Chainfire supports rooting stock firmwares of the S3 models GT-I9300 and GT-I9300T so far in a very easy way. It does not depend on an root exploit but rather modifies the system partition in another way that cannot be closed by a firmware OTA update. Just see the above referred blog post and the linked XDA forum thread  in there for more info.


How can I replace my Nexus 5's broken screen?

First, try to contact Google and/or LG.  If they determine that warranty doesn't cover this, their own repair service might not be as expensive, compared to buying the parts and swapping the screen on your own.

If you are not comfortable with taking apart and putting back together small electronics, I would advise against doing it yourself, as you may end up accidentally damaging the replacement parts, thus wasting your money. See if there are any local electronics repair shops that can do it for you instead. They may cost slightly more, but at least they will have more experience with phones.

If you do decide to go the Do-It-Yourself route, there are many guides and walk-through videos available with a simple Google search.  The parts themselves are also easily found using Google.  Keep in mind that depending on the damage, you may need to buy the LCD with digitizer combination, as opposed to only the glass panel.


Is it possible to run Android on a Raspberry Pi?

Yeah ofc..
Check this out... Google Android on your Raspberry Pi with emteria OS


How to block all apps notification except sms and calls?

It is possible with  Macrodroid automation app (free upto 5 macros) and real easy to learn

Trigger: Notification → Notification Received  → Select app  → Text content  → Any  → ok

Action: Clear Notifications  → choose apps from drop down (don't use clear all, since it has phone and SMS )→ ok Text content  → Any  → ok

Constraints: Leave blank

Name the macro , save and you are safe from machine gun fire :)


I was surprised there was no official Google app. I am using Cloud Print on my Galaxy S3.


No.  Odin the stock ROM to get everything back to normal (you may need to use the appropriate PIT file to repartition), and then afterward you can flash a custom ROM as you would normally.


Why sometimes does my lower menu (ADWLauncher - Dockbar) disappears?

I had same problem before.
user:eldarerathis was correct. It is swipe gesture that suppose to hide menu when you don't need it, but AFAIK, there's no way to turn it off.
So, to get it back you should do gesture starting roughly a bit above Browser icon and swipe down(or up).

I've fixed that another way - simply installed different launcher. Problem didn't appear


com.htc.bg 'process stopped unexpectedly' on HTC Desire when Facebook sync active

I've had a similar problem with the contacts sync for an Exchange account.  I found that deleting the account on my Desire and re-adding it made the errors go away.  Give it a try.


Why can't person on other side hear music playing in my phone during a call?

I think your are misinterpreting ambient sound

You are in a crowded , noisy place and are talking to someone on phone. They can't hear you clearly because of the ambient noise around you. Why? Because the phone mic captures your voice and noise around you

In this case what you hear is what the other party hears = Ambient noise + your voice

In the case of music playing on your phone (media player running) and you talking at the same time, it is not ambient . Phone mic picks up only your voice (while what you are hearing is both streams media and your own voice) because voice is prioritised cutting out media. Once you establish a voice call

  From this point on the telephony service has the highest priority and won't let any other audio play in parallel.

In this case what you hear (media + voice) is not what the other party hears. He hears only your voice. Think of it as you can hear two channels or streams whereas other party can only hear one stream of your voice

Now, if you were to play the same media from your laptop speakers while you are talking that's the first case of Ambient noise

Related Direct Music Player audio to Caller


How to transfer files over WiFi without a hotspot?

Connect your computer with virtual hotspot created by Android device.
Install any FTP Server app on Android device. It'll NOT give you IP of device for sure. :)
In your computer, find IP of Default Gateway of Wi-Fi network of Step 1 (In Windows, you can use ipconfig cmd command). Its the IP of your device.
Use any FTP Client software on computer. Use ftp://IP:Port (Port is generally configurable in FTP server app). Enter username & password configured in FTP Server app. Done!


Whats the best way to uninstall an app on 7.0 Nought?

AFAIK, using "drag to uninstall" and uninstalling from app manager area is one and the same thing - only the the former is a shortcut to the latter.

Here is why:

Consider an application dragged to be uninstalled:

It still accesses the built in uninstaller from App manager

When directly using the application manager to unistall:

The difference, is when you "drag to remove" or when using a completely different uninstaller from third-party developers.

Hope this helps


Connecting a Nexus 7 (2013) to a VGA projector

If you have a laptop with USB ports that can also connect to the VGA projector, then you can use Droid@Screen (http://droid-at-screen.ribomation.com) to show the Nexus' display on the laptop and in turn, on the projector.

Depending on what you are doing, this might work while you figure out a more robust solution. I say this because the main downside is lag, so it's not a good solution if you are trying to project video or show off a new buttery interface.


I ran into the same problem. It turns out that the watch has to be connected to an Android phone running the Android Wear app; then the "authorize" dialog will appear on the Android phone. After you authorize you can unpair the phone.


Can I configure Google Play to see App Reviews in several languages?

If You browse Play store via a web browser, then you can add &hl=en at the end of the URL and it may show English comments.


Does a nandroid backup contain the hboot?

Generally speaking, no, ClockworkMod (and other custom recoveries) do not backup your bootloader. You can physically look at your backup directory to verify this, but I have never seen a custom recovery that included a bootloader in the backups. What you typically get is:

Boot partition
System partition
Data partition (also /sdcard/.android_secure depending on the recovery/version)
sdext (if you have it)
WiMAX partition (if you have it)

The general rule is to make sure you have the correct HBOOT version before you restore a nandroid backup, and you'd have to flash it separately.


Very simple use the file manager and browse to sdcard/Android/data all the apps are there. Using solid explorer I can even see the app icons. (Not guaranteed, can show apps that don't store data on the SD card)

Alternatively you can just view the storage settings, click the sdcard f2fs and then apps and they are all listed there.


Why am I getting Google Drive notifications about strangers' documents?

This has happened to me more then once and always on a chromebook. (I don't own one anymore) Anyway I just wanted to say something because it was malware in my case.


Drive sends an almost-daily "1 file is now available offline" notification

I had the same problem and I think unchecking the "make recent files available offline" setting in the Google Drive app did the trick.
I'm using Google Drive v2.20.261.01.40 on a Google Pixel 3a with Android 10 (build QQ3A.200605.002).


Copy the number by editing that contact.
Now create a new contact and choose your existing Google account or Samsung account (if you have a Samsung account logged in, it can be found under drop down menu as pointed in the picture below). Now, as you can see there is Add picture option in the picture below, so, add image. :)

Note: SIM card doesn't support any additional options.


Add Smart Lock screen security options to Amazon Fire HD 8?

Only a few devices support Smart Lock(mainly Motorola and Samsung)

If you are having trouble finding Smart Lock, try

Go to Settings > Security > Screen lock > Set the Pin Lock
After setting the Pin Lock go back to the Security Menu, at the Bottom of
security menu you will find Trust Agent
Go to Settings > Security > Trust Agent
Enable Smart lock ( Google )
Select Smart Lock


None, or choppy, 3G/LTE data transfer with T-Mobile US on international HTC One M8

For anyone experiencing this, it's very likely that your phone is intended for a different geographical region.
I will provide an answer for my own device, however the rationale and the process should hold true for other cases of this sort.

Mine was an Asian version that supports, at most, LTE bands 1, 3, 7, 8, and 20.
LTE in North America uses bands 2, 4, and 12.

A potential solution to get full LTE speeds is to flash custom radio firmware (at your own risk). I couldn't find a zip for T-Mobile, but the word is out that GPE radio firmware is the same.

A solution that gives you 3G (in my case) and doesn't involve flashing: go into *#*#4636#*#* and pressing the menu button in the top right. It opens a very old-school dropdown, and you can't really see which option is selected. Chances are, yours is in "Auto" mode. Try switching to particular bands instead. In my case, there was just one band in common between GSM 3G implementations for Asia and the US: PCS 1900 MHz.

Additionally, you may want to switch to "GSM auto," and in "Settings -> Mobile networks" to choose 3G as preferred rather than LTE. However, I haven't tested whether it makes any difference.

Most of the credit goes to the posters in this reddit thread.


How to automatically connect to a wiFi network and turn off 4g LTE

Usually, mobile data should be turned off automatically by the system when WiFi is connected. If you're sure it's mobile data which is on, you could try some automation tools to handle this, e.g. Tasker (Condition: WiFi connected, Task: mobile data off), or Llama - Location Profiles (here I don't know the steps, but it can do that as well).


Enable/Disable application-specific settings (updates, upload) for a specific WiFi

Tasker can indeed do what you are looking for!
Using the Wifi-Connected State profile inverted (profile on when not connected) you can trigger a task that does the following:

1) Disable Google Play updates via Synker

    In newly created task Add an Action ('+' at bottom, center of screen),  select 'Plugin' category, select Synker, select 'Autosync Settings', select Configuration, uncheck the Google /account name/ App Data)
    Source: Is there an App Update Scheduler app? Reply #6

2) Stop auto-upload of photos using Dropsync (replaces Dropbox built-in tool)

3) Use Secure Settings to connect to stored VPN (requires root)

    In newly created task Add an Action (new Action> Plugins> Secure Settings> Root Actions> VPN)
    Source: VPN Verbindung (keine Zusatzapp) per Tasker starten?


How to get Google Photos to recognize External SD drive

Sorry, you can't do it the way you intend to.

Google photos can back up to Ext.SD, only if the card is treated as internal storage. In your case the SD card is not treated as a part of device memory (portable) .
Adoptable-storage is applicable only if the card is actually mounted on the device and not when connected via USB connector.

See adoptable-storage wiki
for more details.
See Google help which explains how the adaptable storage can be used for this purpose (read also the linked blog of Android pit)

What you can do, is to use apps like Folder Sync or  Auto Sync for Google drive and set up sync to your Ext.SD in a manner that the selected contents of your Drive are backed up on your SD and deleted from GDrive. This can be set up on schedule or on demand


Why is SMS to contact group not using contact's default number? Sends to wrong number

The reason is that the existing conversation thread for contact group ABC has hard-coded knowledge of the phone numbers used, rather than a reference to the contacts. Therefore after setting a new default number for contact A, texting group ABC using the existing conversation thread will send to A's old number. However, texting group ABC by creating a new message and selecting the group from contacts will send to A's new number as expected.


How can I prevent apps from running in the background?

tl;dr
It's ok if the app in background is just an activity. Activities just consume some memory are usually  not able to run computations in the background. Therefore no CPU or battery is used for them. But if the app in background is running a service:
Ping the developer
Ping the developer! One of the greatest daemons that come with Android are Services that run in background for no reason or when a simply interval check with Android's AlarmManager would be sufficient. We need to kill them all with fire and not by ignoring them. Everything that does not involve a fix by the developer is just a dirty hack that by experience will result in other negative side-effects.
Activities that run in Background
Pure Android apps and their activities usually stay around in memory for a while after they were put out of view. But at some point they may get deleted by Android's ActivityManager if there is an ongoing memory pressure. This is intended behavior, we (the users) want it that way and it works good in recent Android versions. Therefore there is nothing wrong if you see your file manager hanging around in memory.
Services that run in background
But, if it's a service that you see running forever without apparent reason (and without the possibility to disable the service somewhere in the Apps settings), you should contact the developer. In 99% of all cases, there is no reason to waste your precious memory by doing so. Android provides with intents and the already mentioned AlarmManager enough facilities to avoid long running services. Sometimes developers will response with "but Google Maps does that too". I argue that this is never an excuse to point at others, plus it doesn't provide a valid reason to run a background service.


What is this "in app browser" called and how do I disable it

It was webview. I used http://www.whatsmybrowser.org/ to check.

Even though webview showed as disabled.

I factory reset a second time and it stopped using that browser

  ¯_(ツ)_/¯


Some of the Applications are getting downloaded more than once from Android Market

I myself got to know why its happening.
First I selected any application from the Android Market and say Install and then Ok. Its going to start Downloading.

I observed this in two scenarios. Both of the cases are pretty much same.

Case I.
If I Minimize/Kill the Android Market application while Downloading using the Back Button then it completes the Download and Starts the new Download again.

Case II.
I Minimize/Kill the Android application while Downloading using the Back Button and again open the Android Market application, then we can see the same application is getting Downloaded twice from the Market. If we do the same thing again then we can see the application is getting download more than thrice.

The solution is Simple. If any application is getting downloading from the Android Market just press the Home key to minimize the Android Market.


WhatsApp won't install via playstore or as an APK... [insufficient space]

Installed a 32GB microsd card into the phone and set it as the default install location for apps.  All programs updated and downloaded successfully.


How to upgrade Android on Nesus 6 after it`s downgrade

The best way would be to manually flash the Google factory images to get to Android 6.0.1, then all the monthly security updates will come via OTA, and when 7.0 comes out, eventually the phone would get that as well.

Google Nexus Factory Images


As noted in the thread [How to] Helium Backup by Bassick, one should use the Helium Chrome app to activate Helium. Then it will works just fine.


I don't see how the duration of the charge would relate to whether or not it's harmful to the smartphone.  I have never seen any documentation that keeping a phone plugged in perpetually (whether plugged into USB, AC or DC) would cause any harm to the phone itself.  An argument could be made that it's harmful to the battery.

Constant charging is not generally a problem for Lithium Ion Polymer batteries (which most new cell phone batteries are).  It is in fact better to frequently charge them, and not let them fully discharge.

One factor that does degrade the battery life of all Lithium Ion batteries is heat.  The more heat it's exposed to the faster it will lose capacity, so I can see how keeping it plugged in may keep it warmer longer and theoretically degrade the battery life.

Here are a couple good resources discussing battery life:

http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.droidforums.net/forum/tech-issues-bug-reports-suggestions/1974-understanding-battery-life.html


BT connectivity(connection / unpair) is not working properly

This is the problem in the bluetooth stack side. I identified and resolved this problem. The solutions of this problem is needs to disconnect after unpair the headset.


How can I turn my android phone into a remote control (mouse/keyboard) through bluetooth for ubuntu/linux

Update: Check UnifiedRemote -- site reference.
Requires Windows and .NET Framework 4.

Older reference,
Have you tried URemoteDesktop?

  Designed to remote control any Ubuntu
  desktop PC. (also can be used on
  windows, but was designed for Ubuntu).
  Change music (Previous, Next,
  Play/Pause, Mute)
  On Ubuntu any player
  on system. (Totem, SongBird <<< no
  need on focus the app).
  On Windows
  (Windows Media Player Presenter
  functions (Next, previous) Compatible
  with Power Point and OpenOffice.

  Screen Control / Desktop Control

  Remote WIFI Keyboard


Most likely your phone is a bit aggressive about killing the background tasks. So, WhatsApp is unable to wake up the phone at its usual 1-2AM slot to perform a backup. A lot of phones are doing this to ensure a better battery backup and standby.

Do note that notifications may still flow even when WhatsApp is not allowed to do tasks related to backup in the background. But most of the times, they are either delayed or only show up when you first turn on the phone display in the morning.


HTC One S won't boot after battery fully drained

Too bad Android SE is not as active as other SE sites, just did a nandroid restore from when I just installed the ROM and so far I haven't set up titanium backup. Well that'll teach me... At least it boots again.


Try this from the CM forums:

If you use ADW or LauncherPro and if after using any memory intensive application you hed back to your Homescreen... you know the drill.....lag, lag, redraw, redraw, then finally you are able to function again.

MAKE A NANDROID BACKUP
In your terminal application on your phone (if you have to ask what this is, Google it, download it from the market) enter...

su (enter)
echo ro.HOME_APP_ADJ=1 >> /data/local.prop (enter)
reboot (enter)

If you want to undo what this command does, simply remove that toggle from: /data/local.prop, or if you did not have this file (like I did not) prior to the mod...remove it entirely

This is also from Bryan Denny's Answer to this question.

You'll probably still have a problem with foreground apps closing when you keep your launcher in memory but I think that's just an issue with trying to use too many memory intensive apps with a phone with 256 MB of RAM.

You can also try to take the memory priority management into your own hands with AutoKiller Memory Optimizer.  It allows you to set your own custom minfree priorities for Android to follow.


Xposed Framework removed after manual CM update?

Ok so this isn't a bug but in the updater script of the xposed framework, a function called install_overwrite is called upon several occasion and, hence the name overwrite, will replace pre-existing file in the /system folder. So in order to install the xposed framework, it's necessary to reinstall it with each update.


open-gpstracker: Export all tracks or access the SQLite database

Each app on Android stores its data on internal storage by default, below the /data/data/<package_name> directory. Due to the sandbox princip, except the app itself and root nobody has access to that if not explicitly defined otherwise by the developer (e.g. Skype currently has a serious security flaw giving everybody read/write access to all its data, including plain-text passwords). So no, you won't be able to get access to the database, which most likely is located in the /data/data/nl.sogeti.android.gpstracker/databases/ directory without having root access to your device.

As for your second question: You are assuming correctly. As you don't have access to the developers certificate (for good reasons), you cannot "update" the original app with your modified version. You would have to uninstall and then re-install -- or giving your modified version a different package name. In both cases, you won't have access to the original apps data.


If your SIM card is PIN locked, the network unlock code is useless. The network unlock code allows a phone that is restricted to a single carrier to be unlocked for use in other carrier's networks.

The SIM PIN is a personal identification number that is used to unlock the SIM card in order to register it to the network. This means that the phone will not connect to the network before a SIM is unlocked. Usually (at least around here) a new SIM has a simple PIN, like 0000 or 1234, and the user can change this. However, the carrier doesn't know your PIN, so if you forget it it can't be reset from the carrier directly.

If you happen to forget your PIN, the only way to unlock the SIM is to enter a wrong PIN enough many times (3 or 5 usually), and after this the SIM asks for the PUK (Personal Unlock Key) code, which is sometimes referred to as PUK1.

The PUK code can be obtained from the carrier, after they verify you are the rightful owner of the SIM and contract. If the SIM is a prepaid, the PUK code is sometimes printed in the card holder. After you get the PUK, enter it into your phone and enter a new PIN. After this, you can unlock the SIM with the new PIN you specified.

Note: DO NOT try to guess the PUK code yourself, if you enter it wrong three times, the SIM will be permanently locked and you'll have to get a new SIM from your carrier.


What podcast apps include variable speed playback?

If you'll pardon the "non-answer"...
I wrote Taffy to act as a proxy between your Android device and the podcast provider.  It speeds up the podcast before your podcatcher downloads it.  There are several undesirable aspects to this approach (hosting not the least among them, nor inability to change playback speed during playback), but I use it every day to listen to several podcasts on my Droid at faster speeds.
Here's to it becoming obselete soon.
My Droid uses BeyondPod, pointed to Taffy podcast feeds, to automatically download all of my podcasts straight to my handset during pre-dawn hours.  I wake every morning (and have for months -- Taffy's a pain to setup, but it's pretty smooth sailing from there) to no-hassle, "sped-up" podcasts ready for my commute.


Yea there is one miracle app which should be already installed in your device. Android Device Manager is built into all Android phones and allows you to do almost anything you want and you can operate it with your google account that you used on your mobile but it only works when GPS is activated.


It sure is possible if the app you want to send through the tunnel allows you to specify the host and port to connect to.

e.g. if you use a remote desktop client you could use connectbot to ssh into your home server, set up a tunnel on the appropriate port, and then use the rdp client to connect to localhost in order to use that tunnel.

Cyanogenmod does have a proxy setting available under Settings > Wireless & Network > Proxy Settings. So if you were to run a proxy server on your target computer, you could indeed set it up to proxy through the tunnel.

So let's say I've got an ssh server at example.com. Internally I installed Squidcache (a proxy server) on 192.168.0.101.

In connectbot I'd set up a tunnel like this:

Nickname: HTTP Proxy
Type: Local
Source Port: 3128
Destination: 192.168.0.101:3128

Then in cyanogenmod's proxy settings I'd set it up like this:

Hostname: localhost
Port: 3128
Enable Proxy on wifi: Yes (Or no, whatever you prefer)


How to use OTG Data Cable with a Nexus S to access?

I also have a Nexus S device (running CyanogenMod 11, Android 4.4.4 KitKat), and it seems Nexus S does not support USB OTG. I tried connecting an external USB keyboard and also a USB mouse, and it did not work. The mouse LED for the optical sensor did not even light up.

So, I believe that either the hardware does not have support for USB OTG, or you might need a custom firmware with a custom kernel to make it work (I believe this is unlikely).


Play Store suggests having 500mb of free space for your phone to work properly. So when have low on storage you can't install large apps even through apks.