How can I disable the Wi-Fi connection of my Android phone from my laptop?

The following is non-root method:

Create a dummy app in Android Studio. [Credit]

MainActivity.java, put right after setContentView(R.layout.activity_main):

WifiManager wfm = (WifiManager) getSystemService(Context.WIFI_SERVICE);
try {
    wfm.setWifiEnabled(Boolean.parseBoolean(getIntent().getStringExtra("wifi")));
} catch (Exception e) {
}
System.exit(0);

AndroidManifest.xml, put before <application:

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

Enabled USB debugging settings, plug USB cable to your phone,  press Shift+F10 to run the app which will also install the app.
In your phone, navigate to Advanced Wi-Fi and get the IPv4 address.
While USB cable still plugged, issue adb shell command,
Issue pm list packages command to find out the package name if not sure. For example package:com.blogspot.diannaoxiaobai.dummyonly, remove the prefix package: is your package name. Or you can simply get the package name in AndroidManifest.xml, e.g. package="com.blogspot.diannaoxiaobai.dummyonly".
Issue setprop persist.adb.tcp.port 5555 (credit) command.
Ctrl+D to quit adb session.
Unplug your cable. Reboot your phone now.
Assume your phone automatically connected to wifi on reboot, and your laptop connected to the same wifi network. No need any USB cable now.
Issue adb connect 192.168.11.5, in which this ip get from step #2 above.
Issue adb shell am start -n com.blogspot.diannaoxiaobai.dummyonly/.MainActivity -e wifi false to disable wifi. com.blogspot.diannaoxiaobai.dummyonly is the package name get from step #4 above.
You can remove the port 5555 set from step #5 above with adb shell setprop persist.adb.tcp.port "" command. (Credit)


How to protect data after unlocking bootloader?

I find an app named BootUnlocker which allow rooted device have bootloader locked/unlocked without swiping data.


What is in "Other" when looking at Storage

It just simply means that the memory i.e 2.89GB is available over your external storage, and yes the reason why your device is showing you that you have no space available because its looking at the device internal storage. I would say to fix this error try moving all the music, videos, apps(if its available for you) to the SD card this error will fix up.


Is it possible to flash a custom ROM without a custom recovery image

Yes it is possible to flash images via Fastboot ?

With an unlocked bootloader you should be able to flash some partitions without overwriting the stock recovery, however each system usually requires a unique recovery to handle factory resets etc..

I have had issue's in the past with Maximum flash size, it wouldn't let me use Fastboot because my system.IMG file was too large to send via Fastboot.. That then required splitting the image into smaller files and flashing the smaller files.

You don't specifically need a custom recovery, however it makes everything a lot easier... For example, most custom firmware requires you to do a full backup of your device prior to installing, you need a custom recovery or rooted device to be able to make a full backup...

Why do they say " Use a custom recovery " ... Well this is probably determined by the firmware creator, they've most likely built everything into a single Flashable Zip file, using Fastboot won't work because the zip file contains more than just .IMG files, usually a ZIP firmware will have a folder called system, the system folder is copied to your device by the recovery, not flashed  .. each firmware usually contains 3 parts ( boot.IMG, System folder, additional files)... However some firmware's contain a complete system.IMG file instead of a folder.. These files can be pulled from the firmware and flashed via Fastboot, however Fastboot can not flash folders ( only a custom recovery can do that )

... I'm starting to get lost here...


I am unable to write files to my OTG usb storage

On lollipop, the 3rd party apps need to support the Storage Access Framework to write to external sdcards or OTG drives.

The apps need to be updated to support Storage Access Framework, the app developers need to be informed.

And considering the question old, many apps should have got updated by now. And the screenshot posted by you explains that the file manager is com.rhmsoft.fm which I'm sure is updated to support this feature as of now.

And through modifying the platform.xml, used to work in kitkat, but is not guarenteed on lollipop. There are reports that it doesn't work on lollipop.


Is Android Pie vulnerable to ADB server attack?

The attack is unrelated to a specific Android version (including Pie, Q, and beyond), but to all devices with ADB over network enabled.

[...] it is also possible to use ADB wirelessly by enabling a daemon server at TCP port 5555 on the device.
If left enabled, unauthorized remote attackers can scan the Internet to find a list of insecure Android devices running ADB debug interface over port 5555, remotely access them with highest "root" privileges, and then silently install malware without any authentication.

This is made worse when some manufacturers/vendors ship the device with the setting enabled.

Despite warnings about the threat of leaving insecure remote services enabled on Android devices, manufacturers continue to ship devices with open ADB debug port setups that leave Android-based devices exposed to hackers.
[...]
Therefore, vendors are recommended to make sure that the ADB interface for their Android devices is disabled before shipping. However, many vendors are failing to do so.

For more information: Malware installed with remote debugging

To secure the device, check whether the ADB over network is disabled or not. This setting is available under Developer options, which normally also needs to be enabled first (usually by tapping "Build number" on the Settings 7 times)
To enable Developer options (in general):

Go to Settings - About phone
Tap "Build number" 7 times (or until any notification about developer option already enabled appears)
(If this step doesn't work, check with your device manual or other resources to enable Developer options)

To disable ADB over network:

Go to Settings - Developer options
Check whether the "Developer options" is enabled or not by toggling the switch on the top. If you don't need any features from this setting, disabling it is recommended. However, if you need some features from it but still need to secure the device...
Scroll until the Debugging section, and check whether "Android debugging" and "ADB over network" are enabled or not. Either disable both if you don't need to debug any apps, or just disable "ADB over network" to prevent this attack.
(Otherwise, if you need to use ADB over network, just don't forget to disable it when you end the debugging season)


Can I force clients of my phone's Wi-Fi hotspot to use my DNS?

No you can't. Each connecting client identifies using its own IP address BEFORE being granted internet access, This means that it does not need to clone address or servers after connection, it can continue sending and receiving packets along its establish (independent) route, identifying as it's own device.


How can I extract NON-HLOS.bin from my Motorola Moto G xt1032?

From a root shell/terminal:

dd if=/dev/block/platform/*/by-name/modem of=/sdcard/NON-HLOS.bin

On some devices it might be radio instead of modem and you can, of course, place it somewhere other than /sdcard.

Note also that it will typically be padded with zeroes on the end — for example, the NON-HLOS.bin I flashed was 57.1 MB but when I retrieve it with the above method the resulting file is 64 MB (with it being identical apart from the padding).


Remove search bar from home screen in Android 9 ("Pie")

The best thing i was able to do was to

Sign in to the google app
go to settings
customize widgets.
Use the colour and opacity options to fit it into your background.

(my wallpaper is a Earth thing so I was able to blend the search bar in)


The problem is not with VLC. Your links are not working. That's the reason why VLC is unable to play them. I tried this list from IPTV - Collection of resources dedicated to IPTV, it was playing fine with VLC. Check/change your links for VLC to play them.


Most likely the culprit is an app. Try safe mode. Press the Power button and when the menu pops up tap and hold on the Power off option and then tap OK. If you don’t experience any random reboots in safe mode then we can assume that one of the apps you’ve installed is responsible for the reboots.

Read more: 10 tricky Moto E problems and how to fix them | Digital Trends


This Google Voice Search pop up appears to be a bug in the Huawei Ascend Y300 model. From  This thread on Android Forums that you are not alone with the issue but there is no resolution in the thread.

Further reading in This modaco thread that it might be related to the headphones causing something in the device to trigger Voice Search rather than the intended result e.g. skipping song, changing volume etc.

One user (referring to the headphones) states:

  "I get this all the damn time on my Y300. In my case it's Voice Search that opens (I'm on CM11) and I tried renaming the VoiceSearch.apk in /system/app/ (IIRC) but still it comes up.

  It's probably getting the contacts confused and triggering that third button on some headsets, but it's bloody annoying."

The fact he is using CyanogenMod and not the stock ROM suggests a Hardware issue rather than a software one.

You could attempt to disable Google Voice search while listening to music as a workaround, althought it is part of Search itself and this may be inconvenient on a day to day basis.


Which photos get automatically backed up to G+

From what I have read, the only photos that are backed up are those in the folder named "DCIM/Camera", which should include photos from your camera. If you move other photos there (e.g. downloaded, etc.), they should be backed up.


Android lock screen password not being recognized

Yes, you can delete the PIN data from the settings database. In the below instructions, anything that follows a # or sqlite> is a command you should enter (from an adb shell):

# cd /data/data/com.android.providers.settings/databases
# sqlite3 settings.db
sqlite> delete from secure where name='lockscreen.password_type';
sqlite> delete from secure where name='lockscreen.password_salt';
sqlite> .exit
# reboot

When the phone reboots the PIN lock should be disabled. If this doesn't work then try executing the following from within sqlite (second might not be needed):

sqlite> select * from secure;
sqlite> select * from system;

These two commands will simply list all entries in the secure and system tables, respectively. That will help you find the proper rows that need to be deleted in the case that they are named differently (though I don't think they will be as I just tested this on my own CyanogenMod 7 install).


Android 9 - What is the "Browser App" setting in the App Info page of web browsers?

A lot of apps on Android show "web content" (e.g. HTML web pages include din the app or loaded from the Internet).
As this is very common Google decided that the apps can use a so called WebView for displaying such content so that not each app developer has to include an library for HTML parsing and rendering.
On the other hand we know that web browsers get frequent updates because of security vulnerabilities and new features. Also there is not "the one web browser".
Therefore since about Android 4.x (nur sure which exact version) the WebView is not a part of the Android system anymore. Instead it is provided by a web browser app installed on your system. If you have multiple web browser apps installed you as the user can choose which one to use in other apps as web rendering engine. The setting you have highlighted is exactly the point where you as the user can specify which web browser should be used by all apps that want to display web content.
Typically on Android there are two variants you can choose from:

Google Chrome
Google WebView component (effectively a Chrome but without app icon an UI to the user. this app is only usable by other apps).

On Samsung devices additionally Samsung Internet is available.
No data sharing
One important fact should be mentioned: If an app uses e.g. "Samsung Internet" via WebView this "web browser" starts over fresh and saves all data in the app-private directory of the app it is running in.
Therefore no app or a WebView that is running as part of an app can access your saved user data in your main web browsers (like saved from data, passwords, browser history, cookies, ...). Effectively each app has it's "own web browser instance".


How to root a Lenovo Tab M8 FHD (TB_8705F)

Here is a solution that I found after a lot of research and trial and error.
Disclaimer I don't take any responsibility for your device follow this at your own risk!

Warning This step will factory reset device (delete all your data) Unlock your bootloader.

Turn on OEM unlocking and USB Debugging in developer settings.
On Pc do fastboot flashing unlock. For more info on unlocking please see here.

Get the firmware for your device using "Rescue and Smart Assistant"
form Lenovo's website. You will need to log in with your Lenovo ID
to be able to
Install Magisk Manager on your device.
Get the boot.img from the firmware and copy it onto your device.
In Magisk Manager click on Install and select Select and Patch File then select the boot.img you copied.
Copy the patched image back to the PC.
Flash the patched image to the boot partition with fastboot.

All Done!


How can I make the Firefox menu bar dark?

The bar you are targeting for dark mode can be changed via a theme. Head over to Addon store for Firefox, pick a theme of your liking and install/enable it. Do note that many themes listed there won't work on Firefox for Android even though they would install just fine.

But even after this, the menu bar or whatsoever that is called when you press the three-dots line is still gonna remained unaffected.


"Insufficient storage" when trying to install new app

In short: 25 MB free internal storage is minimum requirement (source: TechniPages, AndroidCentral). If free space falls below that, the "insufficient storage" error is triggered.

For details, see:

Why does my phone keep telling me it has low storage?
Not enough storage on android device
Android “Internal Storage” used but not reported
I keep getting storage errors but I have plenty of free space, what is safe to remove from internal storage?
HTC Desire low on internal storage, I'm clueless — Any help?
Message Memory Full, Incoming message rejected

And many more -- this is a quite "frequent question". For more results, simply follow the internal-storage tag.


There is a global Auto Update option in Android 7.0 (possibly previous versions but I can't check now) which automatically updates all apps.

There is also a per-application setting. In case you have the global option off, then you can have that one enabled and it will still auto update. So be sure that both are off if you want the app not to auto-update.

By default, I believe the global option is on but that might depend on the phone.

For clarity, when an app is updated, we call that an update, when its data is updated, we call that a sync, such as downloading new emails as they arrive.

Stock apps are part of the system, so they will update when you accept a system update.


How to find UID of an app installed on Android and use it as a shell user?

Android inherits from Linux the concept of shell, which is the core component of Linux login process. But there is no concept of Linux console login on Android (1) because it boots directly to GUI. However it makes use of Discretionary Access Control (DAC) of Linux kernel which is based on UIDs / GIDs and permission mode. Every installed app is considers as a *NIX user and is assigned a unique UID at install time. See this answer for more details on this.
You can get UID of Automate app from file /data/system/packages.list or by executing id -u from within app:

~# awk '/^com.llamalab.automate/ {print $2}' /data/system/packages.list
10106

Since you want a remote login from local machine using a ssh binary (built from standard Linux source) which is to be executed by Automate app i.e. with UID 10106, the key file must also be owned by UID 10106. The only place on device which is owned by UID 10106 is the directory /data/data/com.llamalab.automate, so this should be set as $HOME for ssh and where the key should be placed under directory .ssh owned by UID/GID 10106:

~# mkdir /data/data/com.llamalab.automate/.ssh
~# ssh-keygen -f /data/data/com.llamalab.automate/.ssh/id_rsa
~# chmod 0700 /data/data/com.llamalab.automate/.ssh
~# chown -R 10106.10106 /data/data/com.llamalab.automate/.ssh

Create file /etc/passwd with a single line: user:x:10106:10106::/data/data/com.llamalab.automate:/system/bin/sh where user is any username of your choice. You can also use adduser:

~# touch /etc/passwd
~# busybox adduser -D -H -h /data/data/com.llamalab.automate -s /system/bin/sh -u 10106 user

Also add -o StrictHostKeyChecking=no to ssh command so that new server is added to known_hosts without user interaction.

However if the ssh binary is built specifically for Android to be used with an app, it must have its $HOME already hard-coded which can't be changed using /etc/passwd. In this case you can try something like ssh -i <path/to/key> -o UserKnownHostsFile=<path/to/known_hosts> <user>@<IP>. Permissions must be set and both paths must be accessible by executing app.

PS:

Please note that UID 10106 must be member of group aid_inet (GID 3003) for ssh to be able to make connections. All apps with android.permission.INTERNET are member of this group. Or you can add a line to /etc/group: internet:x:3003:user. Or using addgroup:

~# touch /etc/group
~# busybox addgroup -g 3003 internet
~# busybox addgroup user internet

However this is useful only for programs which perform login (setgroups()) like su, sshd etc.

For more details on how Android lacks Linux's login mechanism, see this answer.


After rebooting phone, app shortcuts from sd go missing

So I have found a great solution. Using a micro SD-Card with 2 partitions. One normal fat32 and second ext2 so the app link2sd can use it as a fake mobile memory on the second ext2 partition. Now all the Jelly Bean internal apps run on the mobile itself and all the other apps I have installed on the second sd-card partition. Have more apps than ever and still over 150mb left on the mobile. GREAT. And the great side effect is, that all the shortcuts and widgets of other apps now work perfectly and dont disappear after reboot. YES!


How to set static IP on command line or adb shell?

You can try using ip command.

How it compares to ifconfig

Edit:
To set up an IP address you can use:

  ip address add 192.168.0.77 dev eth0

or the long form

  ip addr add 192.168.0.77/24 broadcast 192.168.0.255 dev eth0

look up current config using

  ip addr show


You can unlock phones a few ways: 1) buy an unlocked phone 2) unlock via 3rd party software that will more than likely result in a voided warranty 3) wait for carrier commitment to be up and then ask them to unlock.  The thing with trying to unlock phones from different carriers though, is that Verizon is CDMA and ATT is GSM.  So with that, you can unlock the phone yes, but whether it will work on ATT (be it at all or how well) is up to you. My guess is that voice/text will work fine, but you will not get any data until you edit the APN and then it's up in the air.


What is the worst case scenario if you flash a wrong custom recovery?

Had this problem so many times. So from the personal experience the worst case scenario is that you might soft brick your phone and would have to go stock, flashing the official firmware for your phone (and root it again).


Usual (FAT32) SD Cards do not support permissions, they allow everything because they are only mass storage and were never designed for such advanced things.
You can of course format your SD Card with a compatible file system (ext4 for instance) that supports permissions.
FUSE does not support file permissions because it just wraps around an incompatible file system. Changes are unsuccessful because there is nothing where you could save those permissions.

Apps on SD card are also not on your external SD Card (FAT32) bit on yourinternal one (ext*) which has support for permissions.


Click on "Add torrent URL" and type the .torrent path like "file:///sdcard/Download/mytorrent.torrent"


Can someone please tell me what the icon on the left means

It's the new data saving icon in Android 8 Oreo on Samsung devices.

Try turning off "Data Saving" and it'll disappear.

Source: XDA Developers


When using "voice typing", how can I capitalize a proper noun?

Picked up from this Ruben Roy answer in a more recent question:

You can use this comments to start and stop typing with capitals with the Google voice typing Android keyboard.

"Caps <word>"                           Type with an initial capital
"All Caps <word>"                       Type in all uppercase
"Caps On"                               Start typing words with initial capitals
"Caps Off"                              Stop typing words with initial capitals


You can change bootanimation by going in root/system/media.
there you will find bootanimation.zip. open it and you will see set of images included. you can use custom images of same size and format.

it may not be accurate answer for what you asking. just some relevance.


https://www.whatsapp.com/faq/en/android/20887921
   `Your phone will store up to the last 7 days worth of local backup files (Google Drive will only have the most recent). If you wish to restore a local backup which is not the most recent, you will need to do the following:

Download a file manager. Here are some choices: File Managers and Explorers.
In the File Manager, navigate to sdcard/WhatsApp/Databases. If your data is not stored on the SD card, you may see internal storage or main storage instead of sdcard.
Rename the backup file you wish to restore from msgstore-YYYY-MM-DD.1.db.crypt12 to msgstore.db.crypt12. It is possible that your earlier backup may have been on an earlier protocol, such as crypt9 or crypt10. Do not change the number of the crypt extension.
Uninstall WhatsApp.
Install WhatsApp.
Tap Restore when asked.    `

As far as I understand if you manually backup to google drive you will have everything but with auto backup only last 7 days.


Grant an app write access to external storage that does not request it?

You could manually add the related permission to write on external storage to AndroidManifest.xml but it won't work.

I found myself in a situation similar to yours, and I also tried to decompile the app, add the WRITE_EXTERNAL_STORAGE permission request to the AndroidManifest.xml and recompile the package, but it didn't work.

Since Lollipop, Android's new policy concerning the external SD requires any app which needs access to the above-mentioned to use the DocumentProvider interface. Unless you prefer to work in Smali, there's no way to implement it without the Java source code. Just editing the Manifest is not enough.

So, no. There's no way to manually add a working WRITE_EXTERNAL_STORAGE permission, neither in Lollipop or in Marshmallow. Your only choice is to ask the dev to implement it.


Samsung Galaxy Note 4 is stuck in a boot loop

I know this is already 5 months old, but for future reference

1. It sounds like you already have ODIN so I won't bother linking that, but just double check you have the latest version here

2. You will need your stock firmware so you can find that here. Just make sure you download the proper firmware for your region.

If you get one file, it will have everything inside it: AP + CP + CSC.
If you get multiple files, there will be separate files for AP, CP & CSC.

3.  Once you have both of those downloaded onto your computer, boot your device in download mode. Most of the time you can do this by holding the volume down button on startup and then pressing the volume up button to enter download mode.

4. Open Odin on your computer and load the firmware you downloaded into the AP slot

5. Connect your phone while it in download mode and wait for it to show up in ODIN

6. Press the start button and wait for it to say PASS.

7. Reboot and wait, this first boot will take some time.

You can also check out this tutorial with pictures here


How do I know if a replacement screen is dead on arrival?

I tested the screen by plugging it in after disassembling my one plus one but not using any of the adhesives yet.


What are "T Google Enrolment" and "X Google Enrolment"

To disable it:

Open Settings
Search for "OK Google"
Choose "OK Google Enrolment"
Select info
Push the "Force stop" button
Push the "Disable" button


My Android phone is completely reset, whats the best way to recover the deleted data?

There isn't an easy way, but still, it might be possible. The keyword to it is File carving (find some more links on this topic in our data-recovery tag-wiki).

Make sure to not have any modifications/changes going on on your device, or at least as few as possible! Each change (written file etc.) lowers your chances of a successful recovery.

A crucial pre-condition to this is either a rooted device, or a custom recovery.

With a custom recovery: Take a nandroid backup
With a rooted device: create images from your storage

For manual image creation, you'd first need to figure where the partitions are that you need. Your data is usually stored in two places: the /data partition, and your SD card(s). Let's find where they are:

connect to your device via adb (follow up to the adb tag-wiki for details if you're not familiar with this) using adb shell
execute the mount command
in the output, look for the corresponding entries to /data and your SD cards
take a note of the corresponding device entries (usually starting with /dev/)

At this point it would be helpful to have an empty external SD card:

still connected via adb shell, get root access by executing su
run dd if=<data-dev> of=/sdcard/data.img (replacing <data-dev> with the device of your /data partition), repeat similarly for your internal SD card
exit adb shell (simply type exit and hit the return key)
pull the files to your computer using adb pull /sdcard/data.img data.img, or connect the card using a card-reader to access them directly from your computer

If you don't have an external SD card, but have a Linux computer available (I cannot say whether it works on Windows as well, but it should at least on a Mac), you can instead try the following:

adb shell "stty raw; cat <data-dev>" > data.img

This would create the image files directly on your computer.

Now, once you've got the image files on your computer, you can examine their contents using some forensics software. TestDisk would be a suitable tool, and is available for free, plus runs on most major systems. For details on this, you might wish to check One Way to Use a Linux Computer to Recover Files from an Android Device. The TestDisk Wiki (see previous link) also includes several articles on how to recover deleted files.


Chrome Tab Grid Layout can no longer be disabled via chrome://flags, is there another way?

Doing some more research, I find that this is no longer enough
Update: That used to be it, but with the most recent update Google broke this fix, but never fear there is a temporary solution to make it work again.

Type chrome://flags/#temporary-unexpire-flags-m88 into the address bar
Tap on the drop-down menu in the Tab Grid Layout entry
Select "Enabled"
Tap the Relaunch button at the bottom of the screen

I suspect that will only be a temporary solution though.


press and hold home button to see all running apps in teamviewer quick support

Alternatively you can install an app that emulate it. For example application home button . After installation long press to show the recent apps. Application *floating toucher * has an option named recent app


Download and open Xplore File Manager. (This can be done with any file manager, but Xplore is easy to use.)
Navigate to the folder to which you want to move the pictures.
Swipe left, and you will see a list of folders on your right. Select the images you want to move by tapping the ticks on their sides.
Long-press on one of the files, and select Move from the menu that pops up. Then press okay.


Why does Google Search suddenly need a lot more permissions?

Most of these permissions are used by Google Now and the new features they will be bringing out after Google I/O and the upcoming Android L Release.

I'm not sure about why they need a lot of these permissions, but I will explain the ones that I know about. Feel free to edit the answer to improve it. I have listed all the sub permissions as listed in the play store.

Device & app history

Retrieve running apps

This is for an upcoming feature where google search results will point/link directly to apps installed on your phone.
Read your Web bookmarks and history

This is for making Google Now suggestions based on your web habits. For example, I get updates about Fifa World Cup scores because I have searched for them on my phone before.

Identity

Find accounts on the device

Should be related to the feature mentioned in "Retrieve running apps"

It is also needed to log in with your Google account for the "commute sharing" feature, to access your web search history, and for app search, if you have any of these features turned on
Add or remove accounts
Read your own contact card

Contacts/Calendar

Read your contacts

Mainly for Google voice commands, such as calling a contact or sending them a message.
Modify your contacts
Read calendar events plus confidential information

For reminding you about upcoming events.
Add or modify calendar events and send email to guests without owners' knowledge

Location

Precise location (GPS and network-based)
Approximate location (network-based)

To provide location based suggestions, I get Google Now cards with places to eat nearby, weather reports, Photo spots nearby, etc

SMS

Receive text messages (SMS)
Send SMS messages

To send messages via voice commands
Edit your text messages (SMS or MMS)
Read your text messages (SMS or MMS)

Phone

Directly call phone numbers

Make calls via voice commands
Read call log

Photos/Media/Files

Test access to protected storage
Modify or delete the contents of your USB storage

Camera/Microphone

Take pictures and videos
Record audio

Wi-Fi connection information

View Wi-Fi connections

Might be used for guessing when you're at home/work or maybe related to this

Device ID & call information

Read phone status and identity

Other

Send Gmail
Permission to write Sound Search matches
Preload results
modify secure system settings
receive data from Internet
choose widgets
download files without notification
Read Google settings
disable or modify status bar
contacts data in Google accounts
view configured accounts
adjust your wallpaper size
prevent app switches
Modify Google settings
set an alarm
run at startup
control flashlight
view network connections
prevent device from sleeping
install shortcuts
use accounts on the device
change your audio settings
read Google service configuration
modify system settings
full network access
pair with Bluetooth devices
access Bluetooth settings
set wallpaper
send sticky broadcast
connect and disconnect from Wi-Fi
read sync settings
control vibration


Whatsapp Problem - How to Restore my Phone number after changing to a new one on whatsapp

This happend because of the database stored in your phones storage. Two accounts cant be merged in one. You have been seeing the chats of your son. Just delete the database from the storage and then reinstall Whatsapp with your number.


while setting Google + account ... getting error: "couldn't find the server"

You can try a hard reset on your mobile by removing the SDcard and SIM card  but make sure you are  taking a backup of the data that you have on the mobile . You can even try a factory reset option under settings . After doing this try to create an account .


Difference between Linux containers and Dalvik VM in Android

No, they're different types of virtualization.

The Dalvik VM works like an interpreter or just-in-time compiler: installed apps consist of Dalvik bytecode, but the CPU only knows how to run ARM or x86 machine code, so the DVM reads the Dalvik bytecode instructions and translates them into equivalent ARM or x86 instructions to make the app run.  It's similar to an emulator, except that term is usually only applied to instruction sets that have been implemented natively in hardware.  (There are no CPUs that directly understand Dalvik bytecode.)  The Java VM and .NET CLR work similarly, and this explanation applies to those as well.
Linux container systems, like Docker and LXC, aren't involved at all in the actual running of programs; they just set up boundaries to isolate programs from each other and control how they can interact.  The programs you run in a container are normal Linux programs that could also run on a normal Linux system without containers.

In short, containers virtualize the software environment surrounding a program, while a VM like Dalvik virtualizes the computer itself.


Where are custom kernels being flashed to in internal memory?

The kernel is part of the "boot image", which is stored in a separate partition in the flash memory, not in a normal file. See http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images


Not able to tick items in SP Flash Tool after selecting scatter .txt file.How to check Boxes?

You need to select a file to write each partition you want to select. Double click on the location column for the partition you want to write to and select an img file, e.g. twrp.


Show volume indicator on notification bar (just like WiFi/battery)

By default the answer is a no.

Since changing the color of notification bar means modifying the system it can't be done by a normal application. Best you can do is an icon that can be added to the notification bar.

But there is a way if you are rooted.
Xposed Framework  is a great app that lets users modify every single action executed at system level. You can use Status Bar Volume for what you want to have.

Thanks to Izzy for finding and sharing the name and link of the module and letting me using it in my answer


Buying new battery worked, N5 batterys can get "Mushy" or "Swollen" so replacement is key.

Buying new batteries is easy off of amazon and theres a billion youtube tutorials.


Enable "Install via USB" without creating MI Account

What I didn't want was to continue having an MI account connected to my device. So I just created a temporary account, enabled the "Install via USB" option and then logged out from the MI account. So, now I hope the option stays enabled :)


Portable storage: do I have to re-grant app permissions when switching microSD cards?

The permissions should cover any SD card.

But your phone's max SD size is 256 GB, see http://www.gsmarena.com/motorola_moto_z2_force-8693.php


Is it possible to play music from an Android device to Airplay speakers?

Bubble UPnP works great, although I don't find the interface all that easy to use


first of all not jailbroken the word is used for Apple. for android, we use Root

The device is rooted I think. Otherwise, the system app cannot be deleted.

This google search will give you a lot of result. Download and install a playstore from it.

google play store apk download


Nexus 7 tablet (original model) stuck in Safe mode; no way out?

I had the same problem. Spent a night to fix it. First i thought it to be a software issue.. browsed and tried infinite fixes. I tried re seating flex cable that connects the volume buttons and the motherboard.I tries to factory reset through boot loader. Thought of flashing a different ROM. Dint work out for me.

Here is what worked for me.

Open the back panel of the tablet.
https://www.ifixit.com/Guide/Nexus+7+Power+%26+Volume+Button+Cable+Replacement/9926
Flip up the retaining flap on the 'power and volume button ribbon cable' connecting to the mother board. DO NOT PULL OUT THE CABLE NOW.   Be ready to pull out the cable.

3.Press the power button to switch on your tablet.

4.The moment you see Google logo, pull out 'power and volume button ribbon cable'. This will disconnect volume down key, which forces the tablet into bootloader.

5.Now the tablet is ON in normal mode.

6.Plug the 'power and volume button ribbon cable' into its mother board socket.

7.Close the panel and enjoy using your tablet.

Be very careful with 'power and volume button ribbon cable'. A slight twist or bend will short the connections inside the cable.

P.S : After powering on, Try not to switch off the tablet. The volume down key might malfunction again and your tablet might go back to boot loader. Charge it before the battery dies out. In worst case, you'll have to repeat the above steps again. Messing with the power keys cable is not always a good idea :D

The volume down key and power key combination lets you to go into boot loader. So when volume down key is malfunctioning, your tablet might go for a toss. This could be for various reasons ,

a.Volume key is abused
b. volume key cable is damaged
c. Mother board is unable to supply enough power to volume keys.
d. volume keys socket in the mother board is damaged.


As @Cyborgz said, you have to first root the system. Take a look at this question to see your device is listed. Even if not, probably your device's closest like HTC Hero for more information.

Once rooted you have to partition your SD card to create a SD-Ext partition. See the question "SD card partitioning? Why? How?" to know how.

Then you can use apps like Link2SD to move few user applications to SD card and create link of few user applications to the sd-ext partition. By this way you would have created loads of free memory in your device. If you still want to get more like moving YouTube, GMail and Maps, you can use Link2SD to first convert them to user app (from system app) and move or link them (most likely moving will not be permitted).


Can the new Galaxy Note 10.1 make and receive phone calls?

No. Only skype or other voip options. It does not have a GSM module on it, it just has a small chip for data transfers.


Go to your contacts app and from the overflow or 3 buttons menu on to right

Settings → display options → all (in OP's case it was set to Gmail which is not used by them )

Or the options could be , as on my device

Contacts to display → select all


Mysterious "Installation Failed" and reboots

Sorry for the irrelevant answer to the OP's question but felt a need to point out about aLogCat.

aLogcat seems broken at the moment under JellyBean (due to an additional introduction of permission READ_LOGS required for reading logs).

Just keep an eye out for the update soon (or flag the developer by starring the issue here).

If you fancy the alternative, try this version called CatLog found here on github, this has the permission in place to do so.

As for Droidwall, forget about that version - its old and obsoleted in favour of the more updated version AFWall+, the linky to the play store version is contained on the github page, alternative linky to F-Droid Repository here.


Where is GMail app on Galaxy Note 3 app list

It's in the app folder 'Google'. Shame on you Samsung for not making the difference between folders and apps obvious. Well the folders look like this:

Click image for larger version


USB Camera for Google Duo in Philips Android TV

Looking at the Philips 49pus7503 manual online I don't see any mention of supporting a USB webcam.
And sadly, the Android Compatibility Definition Document gives device manufacturers the option of not supporting:

7.5.3. External Camera
MAY include support for an external camera that is not necessarily always connected.


Configure screen on/off: charging/time of day

You can do it easily enough with Tasker. You can create a task that:

checks if the device is on charge (to do it you can either use the extended variable %myPOWER provided here or create your own global variable)
checks for the time of the day
sets the screen timeout to 'never'

Create a task with two actions.
The first one:

Choose Display ->  Display timeout
Set all sliders to the maximum, it means never power off the screen
Add this 'if' condition (tap the plus sign at the bottom of the page): %myPOWER = ac (use 'Math: Equals' to set the field in the middle)

For the second task, set minutes to your normal timeout time and add the condition: %myPOWER = none.

Now create a profile:

Choose 'Time' as the context for the profile
Set from 7:00 to 22:00
Enter the name of the task you created


How to record clash of clans so that my voice is loud but the sound for the game is low?

Lowering the sound volume in android does not lower the sound of my voice.

So it works.

I seem to be using this except that I am using the paid version (only $1)

https://play.google.com/store/apps/details?id=uk.org.invisibility.recordablefree&hl=en

However, it works for other things too.


How to pull boot.img and recovery.img from Sony Xperia E4 Dual?

Use this tool to pull from a PC
MTK Droid Tools Latest.zip

And for Android.. Use a backup tool like Flashify on PlayStore

Flashify PlayStore Link

and go to backups, Backup Kernel And Recovery..
Then navigate to internal storage > android > com.cgollner.flashify > files > backups And copy the files...

These files may be called boot.emmc.win and recovery.emmc.win,
 These files need to be renamed to .img and they flash.. On my mtk this works...


Just go to settings in your phone and change the font style.
It will change the font style in whatsapp but not the message font. You can also try installing other keyboards from Google play store with different font styles, emoticon and other languages.


Configure audible alarm in cyanogenmod's silent mode

Since lollipop 5.0 and above, these modes are changed and are accessible via Settings > Sounds > Interruptions.

All Interruptions:
It is equal to general mode. You get ringtone and notification sounds. And you can set volume for them. When you decrease the volume to minimum, it becomes vibrate only mode. Alarms, all calls and notifications work sound when volume is set, and vibrate (not all) when volume is minimum.
Priority Interruptions
You get priority notifications. Alarms are always priority interruptions. You can actually tweak this in Settings > Sounds > Interruptions and choose if you want to be interrupted by calls or messages or events and reminders with fine grained tuning to from anyone / contacts list only / starred contact list only. When volume is set to minimum, goes to vibrate only mode as above.
No Interruptions:
Basically no interruptions. Equal to complete silent mode. You wont get any sound/vibrate for calls or messages or alarms or any other notifications.

So, if you want alarms in silent mode, you may choose Priority Interruptions and tweak it with/without calls/messages/events as per your needs.


All you have to do is HARD RESET Your Device.

Before it,try wrong  pattern continuously for 10-15 times .It will show some option where u can unlock your screen with your Google play account.

If it doesn't work try hard reset.

For hard reset

Switch off your phone.
press power button+volume up/down(try both separately) for 10-12 seconds.
It will show several option .
choose the appropriate one (don't choose options which you don't understand)

for selecting the menu press 'menu' button or try some other buttons if it doesn't work.
the menu choice depends on the different versions of Android phone.


My solution for SO uses an undocumented feature (an easy trick when there's no documentation whatsoever): longtouch the search bar, add it as a search engine, and then use Opera's own search bar for such sites.  A trick you may like with SO is to do this multiple times, then manage search engines, click on one of the SO 'engines', and modify it so that you can readily add e.g. [android] to your searches.  It may feel like a workaround, but the result is more comfortable than what I was used to on desktop systems.


Wipe before upgrading from stock nexus to CM?

What you are describing is what's known as a "dirty flash" which is a no-no! Especially from AOSP to CM and vice-versa, could lead all sorts of force closes etc. Likewise, [a particular custom ROM (insert of your choice)] to another but different [custom ROM (insert of your choice)] and vice-versa.

The only time a dirty flash can be performed if going from CM nightly to the latest nightly, or [custom ROM] to a more recent version of same [custom ROM], theoretically, although no guarantees that everything will work "proper". Occasionally force-closes will be exhibited or some "weirdness" will manifest, hence no guarantees.

Really, if going from one ROM to another - best to wipe cache/data completely provided a backup has been done in the first place :)

Why not use a backup tool such as Titanium Backup or the basic backup tools found on the Play store in the event you are not rooted? :)


Graph of Android API distribution over time?

Here is a site that automatically updates to the latest data from the android.com Dashboard, and which has three graphs showing different aspects of it.


Can't enable notifications for SMS messages with MIUI 12

I had the same issue. What worked for me was clearing the data of the messages app and initializing it all over again.


Enable gesture (swipe) input (on Fairphone 2) without Google Keyboard

The problem

The default AOSP keyboard does not ship with swipe. It will not appear in the settings.
The easy (but awkward) reason is that Google considered this feature to be too "secret" or so to release it in the open source code and thus they ship it in a proprietary library.

The solution

If you want, you can push that library to your device after the ROM installation (and each update!). It is named libjni_latinimegoogle.so and needs to be put in /system/lib.

For me (Android 7.1, ARM) this lib was a really small (944 kB) and oldish (updated 2008) thing. (sha256sum: 442a2a8bfcb25489564bc9433a916fa4dc0dba9000fe6f6f03f5939b985091e6)

Detailed guide

Download the correct Google Apps from http://opengapps.org/. (although I guess the lib may be the same for some versions, but well… just download the correct one)
Now get into the ZIP, respectively extract it. In the Optional dir you'll find another archive swypelibs-lib-arm.tar.lz. Extract that and you'll get the libjni_latinimegoogle.so file.
Now have your phone/device ready in recovery mode. Make sure to mount the /system partition in a writable way. In TWRP you have to go to "Mount" -> (if needed, uncheck) "mount /system in read-only" and then mount it by checking the box for "/system".
Now just push to file to your phone (adb push /path/to/libjni_latinimegoogle.so /system/lib) and restart.

It should work!

OTA survival

I said you need to do this for each update. You can, however, also create a small OTA survival script, which backs up the file when the system is updated.

Here is my (currently, experimental) proposal:

#!/sbin/sh
#
# /system/addon.d/95-latinimegoogle.sh
# During an OS upgrade, this script backs up /system/lib/libjni_latinimegoogle.so,
# /system is formatted and reinstalled, then the file is restored.
#

. /tmp/backuptool.functions

list_files() {
cat <<EOF
lib/libjni_latinimegoogle.so
EOF
}

case "$1" in
  backup)
    list_files | while read FILE DUMMY; do
      backup_file $S/"$FILE"
    done
  ;;
  restore)
    list_files | while read FILE REPLACEMENT; do
      R=""
      [ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
      [ -f "$C/$S/$FILE" ] && restore_file $S/"$FILE" "$R"
    done
  ;;
  pre-backup)
    # Stub
  ;;
  post-backup)
    # Stub
  ;;
  pre-restore)
    # Stub
  ;;
  post-restore)
    # Stub
  ;;
esac

Also available on GitHub: https://gist.github.com/rugk/a4c9fa11c5c031faf45602d6bf922a1c

Just save that file, push it your device into the /system/addon.d dir (adb push 95-latinimegoogle.sh /system/addon.d). (Yet again, you have to make sure /system is mounted.)
And make it executable: adb shell into your device, go to the dir via cd /system/addon.d and: chmod +x 95-latinimegoogle.sh.


Tablet won't connect to any WiFi network anymore, always shows "saved"

Have the "Saved Problem" on a cheap tablet that came with 4.1.1.

Tried 3 different WiFi networks without success: ZyXel P2601HN, Tomato and DD-WRT.

I was about to return the tablet but, as a last resort tried connecting it to an Android phone in tethering mode. That worked - so the WiFi in the tablet was working?

Then I tried a fourth Tomato WiFi router using 802.1b mode - also successful.

It seems this version is picky about the WiFi routers? Could it be the channel assignments - maybe some banned channels due to legislation?


z3c 5803 Lollipop 5.1.1 rooted -> TWRP Factor Reset -> Now Philz Touch 6 instead of TWRP

After the comment above I see on XDA that your device has custom recoveries that can host both TWRP and Phil's I searched my windows PC for the installation file that I flashed to install TWRP. The filename is XZDualRecovery

Google then gave me this link having the manual

This means I have both PhilZ Touch AND TWRP installed.

I solved my problem by the correct key combination during startup:

press VOL-UP for PhilZ Touch;
press VOL-DOWN for TWRP.


I just put a 256gb micro sd in mine today, it works so far. But it has to be a micro sd not the one you have a link to. I've been trying to look up what the galaxy 4 can support, to see if I'll have problems as I fill it up. Haven't found anything yet.


In the dialer in Stock ICS and jellyBean it only uses the following:

Pause: ',' - pauses then sends the remaining digits
Wait:  ';' - waits for you to confirm sending of the remaining digits.


What's the difference between the various lost phone apps?

I suggest LookOut.  I use it and it's quite good.  It also has the virus scanner and backup of data.


Is there a way to create virtual memory?

Yes.  You can partition your SD card and add a swap space to it; I have this on my G1.  However, it's fairly complicated voodoo. (link is for G2, but instructions should be good for most phones; however, you should probably search XDA for whatever your phone is to be sure)

Swapper 2 from the market will do this for you, apparently.  I haven't tried it myself, I use a custom ROM that has it built in.


You can try SMS Backup & Restore. Install it on both phones. Backup the messages from the old phone (preferably in xml format). Transfer the file on the new phone, then use the app to restore the messages.

You can also try the method described in this answer.

Disclaimer: I am not related to the app's developer(s), just used it a few times.

Note: I am not sure if it still supports Android 2.1 or not.


HTC People Widget - Improve Touch Accuracy?

You could try Call Confirm, which gives a popup to confirm if you want to call said person.

I haven't tried it myself, but I've heard it is recommended for accidental touch screen issues.

QR Code for Call Confirm:


updater-script for flashing raw partition image

Seems like write_raw_image works only from filesystem and does what dd does.
Proper way would be to just extract the images

package_extract_file("aboot.img", "/dev/block/mmcblk0p5");
package_extract_file("modem.img", "/dev/block/mmcblk0p1");


Do custom ROMs like CyanogenMod modify your bootloader?

CyanogenMod - in a vanilla or official build - will not typically contain a bootloader. On many devices there is really no good way to even overwrite the bootloader because it is on protected memory (the bootloader is "locked") and cannot be overwritten. It installs a boot image and a system image (i.e. writes to the /boot and /system partitions). I've heard that some builds will also come with a recovery image, but I have never seen one that did this.

Unlocking your SIM is unrelated to your firmware, and CM will not perform a SIM unlock for you. CyanogenMod's wiki itself states:

  CyanogenMod, however, does not "unlock" the device. Most carriers
  "lock" their handsets to prevent customers from buying a handset and
  moving to a different carrier. Carriers depend on these "exclusivity"
  agreements to bolster revenue. For example: if you buy an iPhone in
  the US, you are stuck with AT&T or Verizon, whichever you bought from.
  To use the handset on another carrier's network it would be necessary
  to "unlock" the handset. This is done with a code based on the IMEI of
  the handset that can be provided by your carrier or firms on the
  internet that are slightly more reliable than a Nigerian Prince.

  Unlocking cannot be done by installing CyanogenMod, or any other
  firmware for that matter.

I would further assume that the bootloader on your device does not have any kind of bearing on the SIM lock. HTC allows bootloaders to be unlocked on certain devices, and their website specifically states:

  Please note that unlocking your bootloader does not mean that you will
  be able to unlock the SIM lock. Unlocking your SIM lock is at the
  discretion of your operator/carrier and is not part of the bootloader
  unlocking scope.

I would guess this is likely similar on other devices, though I'm not specifically familiar with Huawei's hardware or software.


"Signature Verification Failed" when flashing stock ROM

I have found sammobile.com a very useful site for finding firmware for samsung devices. I don't think there is an official download site.
Here is the firmware for SGH-M919

I have had the same issue before. Just trying the same process again fixed it for me.
You can try wiping your cache and dalvik cache but I am not sure if that will make a difference. Then retry flashing the ROM.
Also make sure you have downloaded the file correctly. Trying to Install a partially downloaded file will give you a lot of headaches!


Are there situations that a crashed Android app's task will remain running in the background?

If the app crashes the app will restart most probably by default and continue in background.
You cannot run multiple instances of the same app in android.
The clear memory button is used to free the memory occupied by all open apps and the apps will restart.
Don't do it frequently because the apps will occupy the space again and it will take more power and processing power to free the memory and reload the apps.
You don't need to be concerned with resource usage, android os is smart enough. Just make sure you don't keep unnecessary apps on your phone and huge media files that are not required.


LineageOS - is it possible to install and run apps without using Gapps or MicroG?

Many people are going Google-free and gapps-free now.
Do it like this:
Install F-Droid store, then install Aurora store from F-Droid.
Aurora store is to install apps from Google Play store.
Most Play store apps will run fine...  some won't.  For those, look for alternatives.


How to copy the System folder in stock ROM?

Try any recovery FileManager like this one Aroma File Manager and make sure you give appropriate file permissions for the system folder..!


How to "mount --bind" directories in Android 4.4?

Unfortunately, since Android 4.2 it is no longer possible on most device to mount a folder and make it available to other apps as well.
The details on how this works and why this was changed can be found here: Fix for empty app-mounted directories (CifsManager, etc.) in Android 4.2.
The page mentioned above says this:

Originally Posted by Zygote patch commit message
Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes
Android 4.2 implements multi-user storage using per-process mount namespaces. Originally, everything under "/" (the entire filesystem hierarchy) is marked as a recursive-slave mountspace for all zygote instances. This is done so that user-storage sandbox mounts under /storage/emulated are hidden from other apps and users.
Unfortunately this means that any Dalvik app (actually, any program whose clone/fork ancestry includes a Dalvik zygote, which is everything except services spawned directly from init) cannot mount system-wide volumes. Thus, apps like CifsManager are effectively broken in Android 4.2, since its cifs mounts are only visible to the CifsManager app itself. All other apps see empty mountpoints instead of the mounted volume. Furthermore, Linux provides no provision for a process to "escape" a recursive-slave mountspace in versions prior to Linux 3.8 (setns syscall).
Here, we restrict the slave mountspace to /storage (and, due to a possible kernel bug, /mnt/shell/emulated) so that Dalvik apps can mount system-wide volumes elsewhere (with appropriate permission, as in earlier versions of Android), while retaining full multi-user storage compatibility.
This change requires that a tmpfs volume is mounted as /storage in init.rc. If this volume is unavailable, then Zygote falls back to the previous behavior of marking the entire filesystem hierarchy as slave. It also implicitly requires that EMULATED_STORAGE_TARGET is path-prefixed by (part of the subhierarchy of) ANDROID_STORAGE, which is the typical case.

What it comes down to is that if apps mount a directory or block device, the mounted directory should only be visible for the apps that did the mount unless the app has special permissions, which are not generally available to non-system apps. And even if you manage to mount the directory globally, the Linux permissions will still get in your way.
Therefore, mounting is probably not the easiest solution to your problem, but if you really want to use mounts you should be able to add the commands to /system/bin/debuggerd and then (as root) enter start debuggerd to execute your own script with system privileges.
There is an easier way to work around the read only problems though, either by installing this app or by manually adding the media_rw group to the WRITE_EXTERNAL_STORAGE in the permissions file. This allow apps that have permission to write to the emulated SD card to also write to the 'external' SD card.
After making your external storage writeable, you should be able to use symlinks (ln -s /sdcard/MyPics /sdcard/DCIM/Camera) to allow quick access to these directories.


Transfer App data from rooted to unrooted new phone

Utilize the backup and restore features of adb for this, as they are available on rooted and not-rooted devices alike – provided they run Android 4+. On the old device: adb backup -f <appname>.ab -apk <app_package_name> – on the new device: adb restore <appname.ab>. Either do that for each app separately (recommended, as you can "skip some to be dealt with later") – or create a "bundle" by repeating the <app_package_name> part in the backup for each app. Package names you can find out via their Playstore URL (id=<package_name>).

Some additional details can be found in our adb tag-wiki and backup tag-wiki.


How to keep the screen from going blank or locking for particular application

It's odd that it happens. My last few devices always stayed on while Navigating, when Navigation was a stand alone app and now that it is part of Google Maps. You could go to Settings > Display and turn the screen timout off. Double check the settings in Navigation.

Alternatively  Screen timout toggle  is an application on the Play Store that seems to be what you are looking for.


How can I automatically clear my browsing data when I exit Chrome?

I would use firefox. It has an option to clear on exit. You do have to go to the menu (which you can access by tapping the menu icon) and hit quit every time, but seeming as there is no way I know of in chrome, It's better than nothing. Firefox does take some getting used to though, so switch with caution.


How can I get the Windows 7 USB driver working for my Android Tablet?

Install the avd & sdk manager - I'm assuming you use c:\Android_SDK
Edit c:\Android_SDK\usb_driver\android_winusb.inf
Find the section [Google.NTx86] and add the following:

;Techpad
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0002
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0002&MI_01

Find the section [Google.NTamd64] and add the following:

;Techpad
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0002
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0002&MI_01

Edit .android\adb_usb.ini and add the following:

0x18D1

Note:  This corresponds to the device id up top

Plug device in - you should have an unknown device in the device manager.
Update the driver on it and manual select the location of c:\Android_SDK\usb_driver.
It should install the driver and show up as an ADB Device.
Run adb kill-server then adb devices

Remember to turn on USB debugging from the application settings as well


According to OneClickRoot, their tool is supposed to work for the LG Motion 4G. You can download the tool from their site, and they even offer a "remote rooting service". In addition to that tool, you will need the appropriate drivers for your device, which you can e.g. find here. Having that installed, it should be as easy as: Start the tool, connect your device, click to root.

Another rooting guide is offered by AndroidForums (the article links all software needed, including the drivers), which uses the O4X tool from the XDA developers (I used this succesfully on my O4X -- seems like it also works on your Motion 4G). Steps included are also pretty easy: Having installed the drivers, unpacked O4X, and the additional *IS11LG_SystemBackupTest.signed.apk* from the XDA post, you go to Settings→Security on your Motion, and tick unknown-sources. In Settings→Developer Options you enable usb-debugging. Then you install and open IS11LG_SystemBackupTest.signed.apk, and finally restart your device. Once phone turns back on (should be running slow) connect your phone to your computer through USB (charging only). Open the command prompt and enter cd C:\o4xr, then type root. Next wait for the script to run and your phone will reboot; when that happens uninstall the SystemBackupTest app. DO NOT OPEN IT, or you will have to repeat the entire procedure :)


This may depend on the keyboard used (Android vs Google). I have fixed this by selecting Gboard and adding there the languages I need.


Call forwarding is a telephony or carrier function. It works amongst voice networks or some VOIP sites. For it to work with messenger apps:

They should mutually allow it, which is unlikely given the revenue models of voice calling (at times call forwarding is a paid service even for voice networks) .
Security concerns - for example, if the calling number cannot be identified across messaging apps, it would not be permitted. There could be more such scenarios.
Encryption. Voice calls of WhatsApp are encrypted. Same is the case with
Telegram.
They would not like to expose or let others use their proprietary encryption.

There may be more reasons too. Only after it is legally and financially viable a messaging app will expose an API that can be used for this. Till such time this is possible, automation is ruled out irrespective of the app


Is ART on Lollipop the same as on KitKat?

No. ART on KitKat is not ready for production use, and shouldn't be enabled unless you want to test apps you're developing (and even then, you probably only need it to test native code). ART on Lollipop is the finished, production version.


Why my LG G4 cannot boot or use TWRP custom recovery but cyanogenrecovery without problems?

Finally I got TWRP on my LG G4 h815. The problem was that I had to use the TWRP version of the LG h811 instead of h815. The developers of TWRP put recoveries for the h815 under h811 downloads and recoveries for h811 under downloads for h815.


Have you tried rooting your G1 and putting something like Cyanogenmod on your phone?  CM6 is currently in Release Candidate status and supports 2.2.  However, you won't get all the features of 2.1+ because the G1 simply cannot do some of them (i.e. LiveWallpapers).


go to settings << storage << choose option at upper right corner << USB computer connection << enable Media Device option .


Where can I find stock or custom ROMs for my Android device?

Manufacturer Websites
While they don't usually host ROMs directly(exceptions include Samsung), you may find that they have software useful for upgrading stock ROMs, such as Samsung's tool Kies.  If you want to upgrade and stay stock then you should try official methods first.
Google Flagship Updates
Google hosts update packages for the flagship Nexus and Pixel devices at
https://android.clients.google.com/packages

You can't browse that link directly, but web search is your friend here.  Search for that link plus the code name of the device and the version you want; for example, searching android.clients.google.com/packages crespo ics results in a lot of pages with [this link][n1] -- the OTA Ice Cream Sandwich update for the T-Mobile Nexus S. Links for various "factory images" for Nexus devices can be found here.
XDA Forums
Probably the first place you should look after trying the official route is the XDA Developers' forums.  Stock ROMs are usually posted in the General sub-forum for your device, and custom ROMs in the Android Development sub-forum for your device.  No guarantees.
They don't have dedicated subforums for all devices, so if you have a less-popular device you should use the site search instead of the subforum search.
RootzWiki Forums
You may or may not want to check RootzWiki before XDA Forums above. Developers tend to move from forum to forum and RootzWiki provides devices for the best developers so a lot have jumped on board.
They have sections for many devices and for those that don't there is a General section. The forums tend to be divided into 3 sections per device (not always): General, Development (ROMS and such) and Themes.
ROM Manager
Many developers publish their custom ROMs in ROM Manager and even provide OTA-style updates through it.  Naturally, these ROMs can be easily flashed through ROM Manager / ClockWorkMod Recovery as well.
Android Forums
This site often has ROMs for more obscure devices, as well as the popular ones.
PDADB
This site provides a long list (about 800 pages) for all kind of devices, including Android, Blackberry, Symbian, and more. It misses a filtering mechanism, unfortunately...
TheUnlockr
Grouped by vendor, then device. Seems to be quite up-to-date and quite complete -- for sure one of the best resources.
Android @ MoDaCo
Similar to Android Forums.
SamMobile
This site posts stock Samsung ROMs from all over.  It does require you to sign up.
Note: you may need to register an account before downloading. If not, then the "Download" button is just point to the register page, and no actual file is downloaded.
Google
When in doubt, do a web search.  Make use of quotes (e.g., "vibrant" "stock 2.2.1") in order to narrow the results and find what you need.
Shipped Roms
A collection of shipped ROMs. Contains ROMs for 40-odd devices.
MIUI
Translated from a popular Chinese ROM, MIUI is a highly customized version of Android with a large base of customization and theme options and a strong iOS aesthetic. Available for many devices and in Froyo (2.2), Gingerbread (2.3), Ice Cream Sandwich (4.0), Jelly Bean (4.3) options.
AOKP
Android Open Kang Project (AOKP) is just like Cyanogen Mod (CM) a Android Open Source Project (AOSP) based ROM. AOKP focuses on providing extensible settings with the disadvantage that less devices are supported in comparison with CM.
Samdroid Board
If you have a Samsung device and you want to unleash the potential of your device then this is the place to go for information, tutorials, files, firmware and many surprises!  Many top devs in the industry and talented people frequent and maintain many useful threads on this forum based site.
Android Central
Another popular Android forum, similar to XDA and RootzWiki.
OmniROM
Similar to CyanogenMod, OmniROM is a committed open-source project that provides ROMs for a variety of devices.
Replicant
Similar to OmniROM, Replicant is a committed open-source project that provides ROMs for several devices (mostly Samsung). It is a fully free Android distribution (with a marked aversion to binary blobs), putting the emphasis on freedom and privacy/security.
Lineage OS
Lineage OS is the successor to CyanogenMod(in the sense that the numbering scheme matches only).  It allows for customization of the buttons at the bottom of the screen and for root access.
Flashtool for Sony Xperia
Flashtool provides inbuilt tool - "XperiaFirm" that lets you download the stock firmware for Xperia devices. Using flashtool you can even install the downloaded firmware onto your Xperia device.


Lost 2 GB of internal storage after unsuccessful try to swap

Try to change partition size using GParted

Using adb you can dump whole internal storage to your PC
this will work only on linux but since you will have to use gparted it shouldn't be a problem
connect phone to the PC and type in the terminal

adb shell
su
cat /dev/block/mmcblk0 | busybox nc -l 6666

aasuming that your pc and phone are in the same network and phone's IP address is 192.168.0.101
in another terminal type:

nc 192.168.0.101 6666 > dump.img

after few minutes transfer should end and then you can edit dump.img using gparted:

gparted dump.img

after editing partition layout dump it back to your phone
(you may need to remount all partitions read-only before it)

adb shell
su
busybox nc -l 6666 > /dev/block/mmcblk0

and in another terminal

cat dump.img | nc 192.168.0.101 6666


Stock Nexus 5 stuck on Google word on boot

Sounds like a hardware problem. Google will support the device even if it was not purchased directly from them, since it's still under warranty. Try contacting them through the options at the upper left of their support page- support.google.com/nexus


Enable USB Debugging with broken touch screen and no physical buttons

Actually, we can Enable USB Debugging on Android with Broken Screen by OTG Adapter and USB Mouse or by Using ADB Commands and Fastboot.


Buy a Samsung S3 - it alarm app has a built in widget function that allows you to set a widget, and then assign the alarm you want to it. Its a 2 block widget and you can toggle it on and off, plus it provides details about the alarm.

Perhaps you could see on XDA if someone could pull the app for you and then you could try running it on ICS.

I am surprised there isn't another app out there that is similar.


My Galaxy Nexus can't connect to unsecured web using wi-fi at home

Your issue ain't related with Browser APP, it's a Network configuration regarding the proxy settings.

As you can read from your phone's user manual on page 63:

  Proxy settings are used by Browser but may not be used by other apps.

Since you've mentioned that only "Browser" gets affected, and that all of them work fine under 3G, this leaves us with an WiFi settings issue:

Touch the "Settings" icon;
Touch "Wireless & networks" > "Wi-Fi";
Touch & hold your network in the list of Wi-Fi networks;
Touch "Modify network" in the dialog that opens;
Select "Show advanced option";
touch "None" under Proxy Settings, then touch "Manual" in the
menu that opens.
Clear the proxy box, make sure nothing stays there.
Touch Save.

Open the browser and give it a try. You should now be able to navigate without problems either with http and https.


Is there any way to reduce minimum brightness without root?

Impossible.

I used to have your idea and I gave it a try, but to no avail. I rooted my phone and did the following

echo 1 > brightness

... but it seems to be identical to its lowest value, which is in my case, 20.

The mininum brightness is something in the screen's firmware, which is even beyond the Linux kernel. You can't change it unless you flash a custom firmware to your screen, and it will almost surely destroy it, so don't attempt to do so.


Enable standby mode when the phone case lid is closed

Nexus 5X does have a Hall sensor responsible for magnetic "smart covers" to work. Either your cover itself doesn't contain such a magnet piece (downcost), or CM for your device hasn't included support for it.

Remember that although CM seems to be the same on every devices, they depend on vastly different, device-specific underlying codes, and are maintained by independent people, so it's very possible for one hardware feature to be present in a device but not in another. For example, my own Note 10.1 2014 (SM-P607T), although already in the queue of official CM13 nightlies, actually has borked Hall sensor support too.


Searching for an app to Send & Recieve recording audio in emergency situtations

I tried many many things.

In the end... I success using sending simple MMS message.

Then I create a task, that on receive MMS, it will emulate touch events, for play the file (I run the messageing app, and click on the last message to play it)

http://www.pocketables.com/2013/07/how-to-emulate-touch-input-using-tasker-and-root.html


Can I update my android system although the USB port is broken?

You have lots of options. The easiest would be just to turn on your wifi and download the latest carrier-supplied update to your SD Card and update your phone that way (assuming that for some reason the OTA update isn't working).


Battery level indicators: Do they consume more battery?

Yes, of course they consume battery. You can go and check in Settings >> Battery how much is the app actually consuming. (It should appear something like shown the following screenshot) I think it might not consume a significant amount like other apps, but just check it and see if you are okay with the amount of battery it is consuming.

Also, if all you want is remaining battery percentage, I would recommend installing a custom ROM like CyanogenMod that shows the percentage on the status bar itself. (See the status bar in the screenshot below)


Sense shortcut icon reverts to standard Android icon after reboot

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


Access files or ADB on locked Galaxy S7 with broken screen

This is a tough one, and I cannot comment on your question as such since I do not have enough reputation for that, but here's a couple of suggestions that may help you; (Desperate measures call for desperate means.. These are 'longshots' but may be some of few possibilities?)
This is assuming that you do not want to just physically repair the device.

I'm only throwing this out here because I do not anticipate a simple, quick or easy solution/answer.

Borrow or get access to a similar device. Start from boot on both, run in parallel and try to get to USB Debugging or other 'endpoints'. For instance the PIN parts will be difficult. I'm assuming both that you know the PIN as well as the touch input for the screen works here.
You MAY be able to access the device with cable from PC without using ADB. You could try a terminal emulator like RealTerm to access the device as a virtual COM port and possibly use either the AT (ATtention) command set or other means to access the device, assuming you get a response on this level.
This would require a lot of facts digging if at all possible.
(Especially with this one I'd go for the repair option before spending all the time needed here which will probably end up with a fail.)


Screen won't rotate in any apps on my Nexus 6

Just download accelerometer monitor app from Google play, and literally slap the back of the phone kinda hard. It has fixed many others! Source : reddit


The bootloader is most likely still locked, detects a recovery tamper then reflashes the stock recovery.
Try flashing CF-Auto-Root for your device and then flash TWRP and boot into it right as the device is rebooting after Odin's flash. Flash whatever ROM you're looking to install while you're in recovery and it should keep the recovery you have just flashed.


Is there a way to get my Android report to my cell phone company that it's not a smart phone?

As far as I know, phones don't report to the carrier if they are smartphones or not. They only report their unique IMEI number, from which they can't tell the type of your phone. (Unless they ask the manufacturer.) Also it is illegal to change. The carrier forcing you to pay for a data plan simply because you have a smartphone would be weird and highly unacceptable.

What I think is happening here is that your carrier has a "default data plan" with no subscription fee and a high rate, which is available to all customers by default. Your old "dumbphone" didn't use it, so you didn't get billed for it. Your new smartphone, however, uses it by default when it isn't connected to WiFi, so you get billed for it. (My old carrier did this with the price of $0.05 per 10kB, restarted at every connection to the mobile data. So every time I turned on my phone or moved out and back into coverage I got billed. I didn't even have a smartphone, just a semi-dumb one which could visit simple web pages. I was pissed when I found out.) The solution could be

Disabling mobile data in the settings
Asking your carrier to disable this default data plan
Setting wrong APN names so that your phone isn't able to connect to the mobile data


How can I tell what is really draining my battery?

Try out an app called Watchdog.

It monitors your apps and alerts you to anything that is using your cpu excessively. It might help unless it something that's draining consistently at a low level.

I'd have to agree that it doesn't sound like you have a problem. Battery life seems good.

Juice Plotter is another battery monitor that you might be interested in and its companion app Juice defender might help squeeze extra life out of your phone as it can switch off your 3G off unless needed.


How can I make files available to a restricted profile?

Put them on the SD card. App data on the internal storage is completely segregated between users (regardless of whether they're full or restricted users), but there's only one SD card for all users. You can add a fake SD card to an emulator: it's another file on the host system, like the fake internal storage.


I solved a similar problem.
insufficient space while updating WhatsApp on CyanogenMod
If nothing helps, you should show us a log from DDMS.


Yes, there are a couple of options for this, including:

SSHDroid (does not require rooted phone)
QuickSSHD (see this Google thread for some discussion)
Dropbear (requires rooted phone, see this Droidforums thread for some discussion)
SSHelper (does not require rooting; free software -- under GPL; it incorporates also code from other projects; might eventually appear in the F-Droid repository)
some other free (= libre) software projects of an ssh server have been mentioned in the discussion of their potential inclusion into F-Droid

Some of these apps will require you to root your device. SSHDroid, QuickSSHD and SSHelper, at least, do not (there may be others as well). There are certainly multiple choices for you to investigate depending on your requirements/desired features/etc.


Does Samsung galaxy 7 turn itself on once dies and plugged up to chrger?

I couldn't find anything in the user guide one way or another but I have a Galaxy S7 myself and I tested this several times.  I found that you do have to turn the phone on once it has started charging.  It will not turn itself on.


Nexus 9 stuck in endless reboot loop after trying to root it

Using Firelords' suggestion I was able to unbrick my device and get it working again.

Downloaded the Lollipop 5.1.1 image for Nexus 9 on this site: https://developers.google.com/android/nexus/images
Unpacked all the files into the folder where I had fastboot.exe.
Started my tablet by holding down the power button and the volue up botton to get into some kind of recovery mode.
fastboot-all.bat did not work for me, so ran the following commands instead:

fastboot.exe flash bootloader bootloader-flounder-3.44.1.0123.img
fastboot.exe flash system system.img
fastboot.exe flash recovery recovery.img
fastboot.exe flash boot boot.img
fastboot.exe flash cache cache.img
fastboot.exe flash vendor vendor.img

Reboot the device using the little menu on the screen. It was now able to start up, and I could recover from my latest backup.


How can I determine what is a normal USB transfer speed for my Android phone?

There's no such thing as normal USB transfer speed. It depends on several factors including but not limited to:

Class of the sdcard
USB speed (1.1 vs 2.0)
Performance and load of the the computer

Out of these three the one with the most influence is the class of the sdcard. The class describes the minimum write speed of the card in MB/s. For example a Class 10 card has a minimum writing speed of 10MB/s.
Based on this your sdcard is most likely a Class 2.

If you can't locate your sdcard Class, there's a free tool (only for windows users) that gives you the transfer rate of your sdcard:

H2testw 1.4

  After you've finished verifying your unit you will be able to see the exact time it took for the operation to complete, the number of megabytes tested, and, of course, the writing / reading speed.

As a side note: The cache that Abdul mentions has nothing to do with this. That's for reading and only applies if the card is mounted in the phone.


Stop sideway movement of menu revealed from top

I believe you are talking about the notification drawer, and the top row of icons that toggle functionality like wifi, GPS etc.

There appears to be no way to customize what appears in the top row when you are on Samsung's stock software/ROM. You'll have to switch to a ROM like CM9 for that.


What is the podcast/music syncing experience on android like for OS/X users?

For things like Podcasts, the experience should be far more slick than the clunky Apple need to plug into a PC and use iTunes. Most services on Android are about the device itself doing all of the syncing directly with the internet, not needing to have a PC in the middle that you have to plug into to get updates.

For Podcasts, you can use something like Google Listen, this keeps the list of your Podcast subscriptions in Google Reader, and syncs and downloads new episodes wirelessly throughout the day (though if you're concerned about data usage you can configure it to only download when you're on a wifi network). I haven't personally used it, but other apps like DoggCatcher keep your subscriptions on the device and wirelessly sync throughout the day in similar ways.

For music syncing, there's nothing built-in, but apps like WinAmp allow you to do a wireless music sync with a PC running WinAmp, again other apps also allow that, but I haven't used them.


How can I remotely send commands to Tasker or other automation?

The best app I've found to send a remote command from one android device to another is going to be AutoRemote, a tasker plug in, but this assumes you android tv devices has access to the play store. This app should also work well for you if you have tasker because you can directly integrate it into IFTTT. By integrating directly with IFTTT it removes the issues you'll likely have trying to use an http get request.


how to check if i have successfully disabled dm-verity?

All that dm-verity usually mean is that you have write access to the /system partition. So trying to write to (or place) any file in there should be enough.

Be careful though, modifying /system is always risky.


What are the files in the phoneypot directory?

I had an app called Haven installed on my system, and it turns out that phoneypot directory is created and used by this app. Thanks to @beeshyams for the answer to my query.


This method worked for me, I just setup android as proxy server and need enable forwarding

Use ROOT explorer and EDIT this file: /proc/sys/net/ipv4/ip_forward

add this syntax:

iptables -F -t filter

iptables -P FORWARD ACCEPT

if that file not found, try install busybox first.. but I guess that file by default is available on android system.


"Searching for GPS" in Google Maps after update

You can try the following troubleshooting steps to resolve the GPS issue:

Setting location to high accuracy

On your phone or tablet, open the Settings app Settings .

Tap Location.
At the top, switch location on.
Tap Mode and then High accuracy.

Get a GPS lock and alternative NTP server

try getting a tool e.g TopNTP 1.1 which is highly recommended d to quickly lock the GPS position or even try calibrating using different  GPS configuration profiles and choose the best one.

Using an alternative location provider

You can make use of other alternative location providers e.g Unified NLP that uses alternative location backends such as GSM location backend or Wifi location service

Credits

https://forum.xda-developers.com/showthread.php?t=2198319


hangouts - How to see the properties of my partner to a discusson?

To get your interlocutor mail adress in Hangouts, go in the conversation, then click on the 3 dots (top right corner), then Partcipants and Options (not sure about the translation) now click on the green circle at the bottom of your screen and your contact's mail adress chouls appears.

]


Use Applications on post-boot mounted SD card?

From this XDA discussion:

  Create a script in /etc/init.d to do it. You'll need to remount / to
  read+write first though.

And solution:

  Thanks for your help! I'm quite firm in shell-operations, I just
  didn't think I could just put a script to /etc/init.d! :)

  I'v created a shell-script named 07sdcard and with the content: Code:

  #!/system/bin/sh rootrw ln -s /mnt/external1 /sdcard-ext rootro

  Works geat! :)


Reverted Lollipop back to Kitkat - now I can't access the external SDCard

The permissions structures are dramatically different between Jelly Bean and KitKat, and KitKat and Lollipop. Upgrading allows it to recognize the older structure and alter it appropriately for the new needs. Going backwards affords no such ability, as the older version knows nothing of the newer one. Your best bet's likely going to be to copy all the data off of that card, format it in the phone, and then copy it back.


My phone keeps slowing down and burning battery. How can I debug performance and cpu consumption? (DHD 2.2)

The adb likely won't be of much help.  The apps need to have debugging enabled to be able to see their thread and relative performance I believe.

I assume you've looked at the battery usage menu in your phone.  What is it telling you?

You could the hidden debug menu in your HD.  It may provide more info.  Open your phone dialer and dial *#*#4636#*#*.  Give that a try.


How to boot from download mode into recovery mode

If you have a device with an unlocked bootloader you can boot a recovery image without actually flashing it by running fastboot boot <recovery.img>, this won't persist across a reboot, AFAIK there's no fastboot pull or the like so you can't just backup via fastboot just like you would with adb, I've seen some phones even respond to adb reboot recovery and reboot itself to recovery but those are all stock android phones.


Everything you need to know about rooting and installing custom ROM on your phone.

a. Rooting for 2.2.1:

Turn on your phone
Enable Debugging at Apliccations>Programming
Connect your phone into PC via cable
Launch Super One Click 2.3.3
Click "Root"
Wait until the program will root your phone
When the process is complete turn off SOC and unplug your phone
Reboot
Now you have root!

Db. Rooting for 2.3.x (NEW METHOD!):

Download file called universal_gb_root_v25.zip and copy it to your sdcard
Turn off your phone
Press POWER+HOME BUTTON
Select update from sdcard, select the file universal_gb_root_v25.zip
After the update completed - reboot
Now you have rooted S5830

OPTIONAL Unrooting for 2.3.x:

Download file called universal_gb_unroot_v9.zip and copy it to your sdcard
Turn off your phone
Press POWER+HOME BUTTON
Select update from sdcard, select the file universal_gb_unroot_v9.zip
After the update completed - reboot
Now you have unrooted S5830[/QUOTE]

ps: its best you read the first link.


How to save YouTube downloaded videos to external SD card?

(This could be an off-topic answer. I'll delete it if you're not satisfied)
I would suggest you to use New-Pipe app. It has a ton of additional features than youtube like download mp4, pop-up, video in background, and above all NO ADS. Give it a try.. You'll love it


All the 'msgstore' in the database of Whatsapp are not being restored

I had a problem almost similar to yours.Whatsapp can only read "msgstore.db.crypt8" OR "msgstore.db.crypt7".

The other databases dates should be formatted to "msgstore-YYYY-MM-DD.crypt8".These databases with dates are databases which is for backup (Every 4am).They backup only for 7 days.Do not worry,they contain the same file.It is just incase your current msgstore.db.crypt8 is corrupted,you can change the other 7 from "msgstore-YYYY-MM-DD.crypt8" to "msgstore.db.crypt8".

Read more on Whatsapp FAQ https://www.whatsapp.com/faq/?forum=android&entry=20887921&l=fi. (Source)

Or if you want to read directly from here

Summary

WhatsApp automatically backs up your chats every night.
You can initiate a restoration by simply uninstalling and reinstalling WhatsApp.
Click Restore when prompted to restore your message history.
Your missing chats should appear in WhatsApp!

Details

WhatsApp automatically makes backups every day at 4 AM and stores them in the WhatsApp folder of your Android phone. This folder is either located in your device's internal memory or external microSD card. To restore the most recent backup, you will need to uninstall and reinstall WhatsApp.

If you need to restore older messages, check out "Restoring older (less recent) backups".

During the installation process, you will be prompted to restore your message history. Choose Restore to restore your missing chats.

If you are not prompted to restore your messages, it could be that:

Your SD card and/or chat history is corrupted.
Your backup is too old. WhatsApp cannot restore backups that are too old.
You have a different phone number than when you backed up your chats.

In any of these cases, there is no way for us to restore the messages for you.

Restoring older (less recent) backups

Before attempting to restore messages, please note:

Current chat history will be lost upon restoration.
There are only up to 7 days worth of backup files.
Any new messages sent/received after a backup, and deleted before the next backup, cannot be restored.
If you run a manual backup, it will overwrite the most recent automatic backup file.
On newer devices, your WhatsApp/Databases folder is most likely located in your device's internal memory.
You must have the same phone number in WhatsApp that you had when you backed up your chats.

We also recommend:

Make sure you have a file manager. This will be useful for renaming the backup files.
Here are some choices: File Managers and Explorers.
If you do not want to lose your current history (newest messages), create a manual backup by going to:
WhatsApp > Menu Button > Settings > Chat Settings > Back up chats.
This manual backup file will be saved as "msgstore.db.crypt7" or "msgstore.db.crypt8" in your /sdcard/WhatsApp/Databases folder. Save this file as "msgstore.db.crypt7.current" or "msgstore.db.crypt8.current" (depending on the original file extension) so you do not get it confused with other backup files during the restoration process.

Please note: your backup files are saved in the /sdcard/WhatsApp/Databases folder. This folder may be located in either your device's internal memory or external memory.

To restore from a backup, follow these steps:

1.Uninstall WhatsApp.

2.Decide which backup file you want to restore.

3.Rename that file from "msgstore-YYYY-MM-DD.1.db.crypt7" to "msgstore.db.crypt7" or from "msgstore-YYYY-MM-DD.1.db.crypt8" to "msgstore.db.crypt8".

4.Install WhatsApp.

5.When asked to restore, tap Restore.

You will now be able to see your restored messages. If you want to revert the restoration, simply change the backup filename back to what it was, rename "msgstore.db.crypt7.current" to "msgstore.db.crypt7" or "msgstore.db.crypt8.current" to "msgstore.db.crypt8", and follow these steps again.

Cheers,
WhatsApp Support Team


How can I configure BlueStacks to have Android use dark mode?

The simple answer is you can't.
BlueStacks 4.2 bases on Android Nougat - also known as Android 7.x and therefore there is no Dark Mode.


"Show notifications" is greyed out for some apps. What's causing it and how do I change it?

With root access, there are some apps such as 3c Toolbox that allow you to change the notification settings for any app. App Ops is another one that gives you control over all apps' general permissions.

You can actually manage all app permissions from the command line with root access. In Android 5.x, appops was added. It gives control over general app permissions.

Find your app's package name by looking through the list generated by:

# pm list packages | sed 's/^package://'

Get a list of permissions and their mode (allow/ignore/deny/default) for a particular app:

(Note that get parameter is not available in 5.0.2 or earlier Lollipop releases, but was introduced in  Android 5.1.0)

# appops get <package_name>

Set a particular app's permission:

# appops set <package_name> <permission> <mode>

To accomplish the same thing as unticking the "show notifications" box in the application manager:

# appops set <package_name> POST_NOTIFICATION ignore

From my experience, using deny as a mode can break appops so that permissions can't be accessed or changed from an app, so I recommend using ignore, which is what the system uses.

If in some case, you end up breaking access to app ops through something like the application manager, you can reset the permissions for an app:

appops reset <package_name>

For more control over detailed permissions, you can use pm in the terminal. This works with older Android versions.

Find your app's package name by looking through the list generated by:

# pm list packages | sed 's/^package://'

Then list the permissions for a particular package:

# pm list permissions <package_name>

Find the notifcation permissions:

# pm list permissions <package_name> | grep NOTIF

Grant or revoke a particular permission:

# pm grant <package_name> <permission>
# pm revoke <package_name> <permission>

The permissions listed with package manager are very detailed. Using a capable app to manage them may be a more practical route.


Chinese phones auto start app (notifications)

Chinese phone manufacturer tend to place very strict restriction on app autostart due to the lack of google in China causing all sort of apps to start by themselves and no universal push notification channel also mean they have to use other service within apps themselves or other apps which would be detrimental to user experience and thus they all opt to limit them.

Perhaps manufacturer whitelisted some specific famous apps?


/cache partition is mostly for saving the downloads from Google Play Store, found in /cache/downloads. It also can hold the recovery log found in /cache/recovery called last_log as well (this holds any errors and/or diagnostics from the recovery binary a lá CWM or stock, which will get logged in the file to aid debugging and development of the recovery binary).

There is also another directory in there called lost+found which holds any recovered files (if any) as a result of file-system corruption, such as incorrectly removing the SDcard without un-mounting it.

So really, there is no loss of data from clearing it.

In fact, upon Android boot-up, the script will clear out the /cache/downloads to make way for any new downloads/updates from Google Play Store.


Add myself back in a chat group in Telegram

He can add himself only if he leaves and is not kicked out. If he gets kicked out, he won't be able to add himself back.

You will have to use the web version of telegram to exploit it.
After logging in to the web.telegram.org website, select the group that you left from the left (direction) pane.

Now click on the group name from the top bar. In the dialog box that open, click 'Return to Group'!
Hope the telegram developers market it as a feature for adding yourself back and accessing archives of groups that you used to be a part of.


Where can I find my device product ID using ADB shell commands?

I found this link after hours of searching and trying to unbrick my phone. Just type here https://imei24.com/ your IMEI number and it will show you all the info, hope it helps :)
BR!


Is there any android epub reader supporting epub3 with audio/video/javascript?

Take a look at Infinity Reader. It supports audio, video and all ePub3 features. The reader comes with a free book, which contains youtube video. Moreover, you can download a lot of free books.


HDMI connected on Google Nextbook 8 when no HDMI connected

I actually had this very same issue.

I contacted Nextbook and it was very hard to get in touch with them by phone or email. Finally I got an email back with some ideas, including doing a reset for the whole tablet.

However, I believe what actually fixed it is that I bought a cheap HDMI to mini-HDMI cable on Amazon to plug into my TV (which works quite nicely) and once I plugged it in and out, that seemed to fix the problem of sound not working/screen rotating. I haven't seen the problem happen again, so I think there was just some slight connection problem that is now okay. I hope it works for you.


I was having that problem, and the solution that helped me was to charge up the battery completely, then use the recovery boot menu to wipe battery stats. Then, I used the phone until the battery died and the phone shut itself off. During that time, it is important to not plug in your phone to USB or charger, it has to drain continuously. Then you can charge it back up again and use it as normal. It should help to make the battery percentage more accurate, and to drop in a more stable way.


Where can I find a comparsion of non-offical cooked rom/firmware of Galaxy S i9000?

CyanogenMod is a famous community-build Android ROM for multiple Android devices. Give you a very different user experience.

  CyanogenMod is a free, community built
  distribution of Android 2.2 which
  greatly extends the capabilities of
  your phone.

Require flash : Yes
Custom ROM: Yes (that's mean no Samsung stuffs, changed app launcher, etc)
Custom Kernel: Yes
Lagfix: hot development
Latest development: Work in progress


As the link you provided mentions, "Printer manufacturers can use new APIs to develop their own print services — pluggable components that add vendor-specific logic and services for communicating with specific types of printers."

This means that the printer manufacturer has to supply an app to enable direct printing over WiFi. Without this, cloud-based services like Google Cloud Print are you only options.