how do I setup notification rules for email in my exchange inbox? At my company, I get WAY too much email to endure notification on ALL items. But maybe Boss and team emails are worth getting interupted for. (then again maybe not!)
I don't see a way to do this yet.

I'm on 2.2 with an HTC Evo (powered by the speedy Qualcomm Snapdragon!)

BG: I've been a stack overflow fan for years (and don't like PhBB that much), and Just got my android Phone.
I'd like to help this site get better.

Try these apps:

Mail Alert by DroidDevWork (on AppBrain)
MailDroid by Flipdog (on AppBrain)

Disclaimer: I have never used any of them.


How to sync Google+ Instant Upload with Google Drive? I'm using Google+ Instant Upload to automatically sync all of the photos I take on my phone over a Wi-Fi connection. I also use Google Drive to backup my documents, music, pictures and videos folders.
Is there a way to sync Google+ Instant Upload with Google Drive?
Ideally the way it would work is I would take photos with my phone, they would sync to my Google Drive "pictures" folder and then Google Drive on my pc would sync them into my photos library. Is this possible? Will it be added in the future?

There is a thread on Google Groups that covers this issue. By the answer provided by AnaLikesLattes, this is being considered and possible prepared by Google Staff since 5/1/12:

Android Instant Upload to Drive

  Hi all,

  Thanks for your input. We've heard many requests along these lines, and are definitely looking into potential solutions on our end.

  I will do my best to keep this forum updated once relevant features start to become available. In the meantime, please keep posting your requests about the Drive Android app! We're always excited to hear from our users.

  Cheers,
  Ana

As far as I can tell, this is not yet implemented and a year has passed.

Since both applications are from Google and they alone can take the necessary steps to have this feature implemented properly, I would suggest to you and any interested person to visit the thread and leave the "feature-wish" there.

App Suggestion

While it would be great to have a native solution for this problem, Oliver Salzburg commented on my post at Google+ about this issue refering the app suggested bellow, that I've just now tested and is working beautifully sending all of my files to my desired destination on the Google Drive.

FolderSync Lite

  FolderSync is a application that enables simple sync to cloud based storage to and from local folders on the device memory card. It currently support multiple SkyDrive, Dropbox, SugarSync, Ubuntu One, Box.net, LiveDrive, HiDrive, Google Docs, NetDocuments, Amazon S3, FTP, FTPS, SFTP, WebDAV or windows share (Samba/CIFS) accounts, and support for more platforms are planned.

You don't need more than 5 minutes to complete the 3 basic steps:

Add your Google Drive account
Add a folderpair
Start the sync process


Verify that an APK has been built from given source code For the same app, I have:

an APK from an app store,
what is claimed to be the source code for the same version. With a pretty usual Gradle build script and structure.

I want to check whether the APK was really built from that source code or not.
How to check that?

Notes:

The APK is not obfuscated.
I have no reason to trust anyone's signature. I only trust the source code.
I already built the app for myself, but now I want to know whether the APK was OK or not.
Preferably with Linux command-line tools, but any tool is OK.

You can only do this with
reproducible builds:

  "A build is reproducible if given the same source code, build environment and build instructions, any party can recreate bit-by-bit identical copies of all specified artifacts."

So the app developer or the app store needs to be on board in order for it to work.
Otherwise your only option is to build it yourself.

One example of a developer who currently does this is Open Whisper Systems:
https://github.com/WhisperSystems/Signal-Android/wiki/Reproducible-Builds


Can my Andoid access an external SD card connected by USB C? I am speaking about an external SD card, attached by USB C cable; not any internal SD card.

I realize that access speed would not be great, but I am just looking for a cheap way to carry around 256gB or so in my pocket, for quite infrequent access to large files.

Can my Android 7 device recognize that external storage, either alone, or with help of an app?

[Update] The device is a ULEfone Armor 2. I would want to use a USB C cable to connect to an external SD card reader (unless anyone knows of a cheaper way to connect lots of external storage (physically, not requiring network access))

I tried this on a Pixel 3 with a VAVA Usb C hub and it did not work for me, even though other USB devices were recognized correctly through the hub.


Though auto sync is turned off, Andorid 4.1.2 still auto syncs photos in Gallery WIFI is turned off on my mobile.

A. I had turned off auto sync feature as follows:

Apps > Settings > Accounts & sync > Google > Auto sync is turned off for my email
Apps > Settings > Accounts & sync > E-mail > Auto sync is turned off for my email

B. In Gallery, I had turned off auto sync as follows:

Gallery > Settings > unchecked option for 'Sync on Wi-Fi only'

C. Deleted auto-synced photos in Gallery as follows:

Apps > Setttings > Apps > ALL > Gallery > Clear data and Clear cache

Now, when I visit Gallery I do not see photos auto-synced, but once I turn on WIFI and visit Gallery, it again syncs photos from 'somewhere'. And, shockingly, option as specified in B.1(listed above) is auto checked. The photos which I see are the ones which I had uploaded to my Google+ a/c. Why I say 'somewhere' because, I had deleted all photos and posts which contain photos from my Google+ account. Still, I can see photos appearing when WIFI is turned on.

Please help:

From where does Android sync photos?
Get rid of photos to be auto synced when WIFI is turned on.

Thanks much!

PHONE: LG Optimus L7 II Dual and OS: Android v 4.1.2

Open the  Gooogle+ Photos app > touch the   menu icon/button  > Settings > Auto Backup > Toggle On or Off

To Remove Google+ photos from your gallery

Head to your phone’s settings, and scroll down and tap “Google” under the Accounts subheader.
In here, uncheck “Sync Google Photos” as well as “Sync Picasa Web Albums.”

Once that’s done, you need to clear the application data for your Gallery to reset your albums list.

Head to the application manager in your settings. It could show up as either “Manage apps,” “Application Manager” or “Application Settings.”

Scroll down and tap “Gallery.”
Tap “clear data.”

Once you’ve completed these steps, you’re good to go. Your Gallery will only show the albums that are only on your phone. Much neater. Remember though, if you have Google+ Auto Backup set up for your photos, your backed up photos won’t show up in your gallery anymore, but you can still access them through your Google+ account.

Hope this works if not then please comment!!
Thank You.


Barcode scanner and touch keyboard in Android If I connect the barcode scanner via blue-tooth with my Android tablet, the soft keyboard will be switched off and I can not visible the keyboard any longer. I have to disconnect the barcode reader first. Is there a way to use both (barcode scanner and touch keyboard)in the same time?

Your bar code is being recognized as Physical Keyboard. Hence the soft virtual keyboard on your android is been disabled..

Option 1: Try manually checking the keyboard setting after you connect the bar code reader.
Go to Settings -> Language & Input -> and check if the keyboard options are disabled and if so, try enabling them.

Option 2: Go to Settings -> Language & Input -> Keyboard ( & input methods) -> and check for "USE PHYSICAL KEYBOARD" and put it to "off".

If the above doesn't work, can you send the Phone model and Bar Code Model.


How can I listen to free online music while performing other tasks on my device? I have Android 2.2 on my phone and I want an app that lets me listen to free music online in the background while I browse through other apps or do something else on my phone.
The YouTube app closes once I minimize it, so I have to keep it open to listen to music.
I have tried apps like Shazam and Soundhound but they don't offer free music. Can anyone recommend a good app?

I heart Radio and TuneIn Radio are apps that let you stream FM radio stations.  You select the sort of station you like and listen to the music they play.

I personally use them for listening to talk radio, but same difference.


Phone is not booting I recently bought a new Moto G4 Plus. I tried to root it.

When I installed the .zip file it finished successully. I rebooted the phone but it did not boot.

So I went into recovery mode and installed CyanogenMod 13. After that, I tried to reinstall the original (XT1463) firmware. It also finished successfully.

I rebooted the phone and now it is totally dead. What do I do?

You should be wiping the data before rooting it. It might be bricked or if you try opening the recovery mode wipe and clear every data on the device then reboot. Wait for it to boot.

Sometimes it works with this method but you should search the internet for millions of methods for millions of android device models out there.

Sorry if your device is bricked that's a bad feeling.


How to migrate 4.1 primary user's app data to new 4.2 secondary user? My wife has been playing games (Angry Birds Star Wars if that makes a difference) on my Nexus 7 which I have just updated from 4.1 to 4.2. Android 4.2 lets you have multiple users on a single device, so I would like to create a new user account on this device which has all of her game saves.

Without root, is it possible to migrate specific applications data to a new user account on the same device?

This post on Android Police basically says they will be offering accounts soon to the Star Wars game to backup data.


Huawei P8 with or without dual sim? I found out that Huawei P8 (not lite, not plus) supports dual sim, when I can insert only 1 sim and 1 sd, without possibility to swich sd for second sim. I tried micro and nano sim and none fits to sd slot.
Are there two versions of Huawei P8? Is it possible to check whether my phone supports dual sim?

Huawei P8 has dual SIM support. You should put the 2nd nano SIM "vertically" so that it fits into the slot.


Why did my tablet just suddenly stop wanting to charge? I have a Samsung Galaxy Tab Lte and when I plug it in with its original samsung wall charger that charges any other samsung device I have, It's not charging or showing the charging icon. This just happened suddenly and have never had a problem. It doesn't matter if my tablet is on or off and I have cleared all of my apps. Earlier I left it off and on the charger for two hours and it's charging levels rose two percent. What can I do ????

Sometime the charging part jack in which you enter the chager in tab was damaged or become useless because some shocks or may be broken down so when you push the charger pin inside the tab and push it downward then it start charging this pushing work is of jack but if your jack is useless then you have to slightly push down the charger pin when inside tab. The jack is damaged or not you may know from an expert or from repair shop. But try pushing down slightly the pin near tab wheb it is inserted.


Is it possible to install regional font on unrooted Moto G? I would like to install Indian regional fonts on my Moto G. I have tried this method but it requires the device to be rooted, which mine is not.

Is there any way to install regional fonts without rooting the device?

Without root you can not change fonts on Android phone. But if you want to view webpages with Gujarati, Punjabi, Sinhala, etc., fonts download Firefox for Android and then get the Gujarati fonts addon (or gurmukhi-fonts-package or sinhala-fonts-package). Now you can view all webpages in respected fonts without any complex procedure or root. To write in Gujarati or Devnagari you can visit http:/healthy100.in/3lipi.html or install http:/healthy100.in/3lipi.apk where you can type phonetically in Gujarati, Devanagari and English simultaneously.


How do i open a text file from a terminal window from within the android gui I'm trying to open a text file from within a terminal window emulator -- but not so it opens in the actual terminal but more like I've just clicked on it.

So my question is: What command can I use to open /mnt/sdcard/textfile.txt from a terminal window emulator from ROM Toolbox Lite within the Android GUI so that it will open with any one of my text editing applications? Will I need to run su before I can run what ever command? I'd prefer not to, but the device is rooted so I can run su.

Im using Android version 4.0.4

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

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

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

Instructions

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

adb shell
su
dumpsys activity | grep mFocusedActivity

The output may look like:

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

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

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

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

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

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

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

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

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

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

Have fun!


Disable cookies for specific sites in Firefox Firefox on my PC allows me top disable cookies for specific sites by clicking on the website's icon. When cookies are disabled generally, I can enable them the same way in the menu behind the icon. Firefox on Android doesn't show this menu when I click on the icon. How can I disable/enable cookies for a specific site on Firefox for Android?

With Firefox 57 support for extensions not using the WebExtensions API was dropped. Before that, you could whitelist specific sites using the Cookie Whitelist for Fennec addon. The WebExtension API currently doesn’t offer a way for an extension to modify cookie permissions. Adding an API for that is discussed in Mozilla bug 1291841.

This leaves you with the following options:

Try to find an older version of Firefox for Android and use the old addon (not recommended due to missing security updates and because you could find an APK containing malware)
Wait for the API to be added
Try to modify permissions.sqlite manually as suggested by Firelord in the comments
Use another browser for sites needing cookies. I use Firefox Focus when I encounter a site needing session cookies. For sites needing permanent cookies to stay logged in you would need another browser.


Go back to Stock Kernel I upgraded to faux kernel not a long time ago and I am having a lot of issues with it. I want to go back to the original kernel. I even tried restoring to factory defaults but it didn't restore the kernel. I don't have a backup of the old kernel. I am running 4.4 on a nexus 4

Here is a list with stock kernels for nexus 4. As said before, simply download it and flash it like any other kernel.

http://forum.xda-developers.com/nexus-4/development/kernel-stock-flashable-kernels-t2381128


How to move /data from internal storage to external SD card? Apologies if this question was already asked.

Is it possible to move the /data directory to the external SD card?

I want all apps, app data, downloads and files to be automatically saved to the external SD card, instead of to the internal storage.

Information:

The internal storage is 178 MB, where 157 MB is used by apps. There's no internal SD card and my external SD card has 32 GB.

/sdcard is a symbolic link to /storage/sdcard0 which is the 32 GB external SD card.

The device is rooted and uses CM11/4.4.2.

Tried:

Used Link2SD but could only move the APKs and dalvik. The app data and system apps couldn't be moved. Unfortunately I can't buy the new Link2SD.
Tried FolderMount but it doesn't allow access to /. It only allows access to the SD card.
Couldn't find fstab in /etc or /system/etc
Tried Root External 2 Internal SD but there's no internal SD card, just "internal storage" (shows 178 MB) and "SD card" (shows the 14 GB FAT32 partition on the external 32 GB SD card).

Considered:

su -
cp -r(p?) /data /storage/sdcard0/data
rm -r /data
ls -s /data /storage/sdcard0/data

However, I'm new to modifying Android and don't want to accidentally brick my device. When I tried to copy the data directory as root, it said that some files/directories did not exist.

Does anyone have suggestions?

Thank you for reading.

Edit: @programming Thanks for your help. I can't find the option on the storage page.

The storage page looks like:

Storage (clicking on `:` gives the option "USB computer connection")
Internal storage:
Total space ...
SD card:
Total space: ...
Erase SD card

There are no additonal options, as in: http://teckfront.com/use-external-sd-card-primary-storage-android-4-4-3-phone/

It's a Samsung smartphone with Android 4.4.2 and CM11 rom.

If you want to set your SD card as the default storage device, go to settings > storage, then select default writing disk to SD card. This will make your phone store everything to the SD card by default if possible. Hope it helps!


APK signature verified but warns file "not protected by signature"? I'm using apksigner to verify the authenticity of a Google Podcast apk that I downloaded from an apk mirror. This apk (and older versions) verifies successfully (v1/v2/v3) and returns exit code 0 but in the output I see this warning:
WARNING: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
I do not understand what the impact of that is. If the APK is signed, and verified, why do I see this warning? Does it mean the APK could be trojaned or modified? How could an attacker exploit that?
I am downloading some older versions of some Google apps and I want to be sure they aren't trojaned, which is why I'm trying to verify the authenticity before I install them on my phone.

Summary
The warning you have encountered only applies to the APK signature v1, but as the APK file is signed with additional signatures of the newer signature schemes you can safely ignore this message as every modification on the APK file can be detected by the newer signature schemes.
However even if the signature can be verified it does not mean that the APK file is genuine. It still could be resigned after modification, therefore you should carefully compare the certificate digests (shown when verifying it using apksigner verify --verbose --print-certs) of the APK to be verified and compare it to other APK files of the same app developer. See this answer of How can I verify the authenticity of an APK file I downloaded? for details how to compare the certificate digest of an APK.
Detailed explanation
First of all as you can see what you get is a WARNING not an ERROR. If relevant file(s) of the APK file would have been modified the verification will fail and you would get an ERROR message.
To understand the warning message you need a little understanding of Java and how Java signatures (APK signature v1) work. This old signature is stored inside the JAR in two files: META-INF/CERT.SF and META-INF/CERT.RSA. Of course a signature can not sign the files it is written into , hence those files are excluded by the signature.
Additionally the META-INF directory is location of the MANIFEST.MF - a file that is only relevant for Java on Desktop but not used by Android at all.
There can be additional files in the META-INF directory, considering the standard Java directory layout no code should be stored inside files within the META-INF directory.
Because of all this Sun as the original inventor of Java decided to exclude the META-INF directory from the Java code signature at all. Several years later Google just used the Java signature for APK files which is now known as APK signature v1.
Therefore for the APK signature v1 the files inside the META-INF directory are not covered by the signature and hence can be modified without being recognized if you only verify
Because of several attacks on the APK signature itself (such as including the same file multiple times with different content in the APK Google decided to develop a completely new APK signature that does not apply on the APK content but on the overall APK file itself. This was the beginning of APK signature v2 and it's successors.
These new APK signature schemes do sign the complete APK content at once, not excluding a single file that is stored inside the APK file.
Back to the Google Podcast APK, verifying it using apksigner outputs the following:
java -jar apksigner.jar verify --verbose "Google Podcasts Discover free trending podcasts_v1.0.0.301897054_apkpure.com.apk"
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1
WARNING: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.

As you can see the APK file is signed not only by an v1 signature but also a v2, v3 and v4 signature. This means that the WARNING only applies to the signature created by the v1 scheme. You can easily verify that by modifying a single character inside the file META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader as it is stored uncompressed within the APK file. You can simple open the APK file in an hex editor, modify a character in the section that belongs to that file (it is the first ZIP entry within the APK) and then again verify the APK:
java -jar apksigner.jar verify --verbose "Google Podcasts Discover free trending podcasts_v1.0.0.301897054_apkpure.com - modified.apk"
DOES NOT VERIFY
ERROR: APK Signature Scheme v3 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: <ac8a15569352655a22f13d3c565c2c0e5c62dc70c8f6f8c10f6fbfa63decb19b>, actual: <aa5622cd904500c38424562ef4b5be9e5716d10a85985a41f35e4ed834cee8fe>
ERROR: APK Signature Scheme v3 signer #1: APK integrity check failed. VERITY_CHUNKED_SHA256 digest mismatch. Expected: <56eeebd545733fd6408cd6a30b8bcf98a557076167902b6d9502b5aca86b78e89b42220000000000>, actual: <c37e1e1436cfd62f89592c48211ffb6ad2f1dff0f69d2203072f1e6c3872a5919b42220000000000>

As you can see now the APK signature is considered invalid. I don't know why the v3 signature fails first, may be the signatures are not verified in order v1, v2, v3...
From my understanding all signatures except v1 should fail on the modified APK file.


Unable to Setup Google Account on Android 2.3 After Factory Reset, In order to use Play store and Gmail I want to setup Google account on Samsung GT-S6802. When I tries to setup Google Account, In-spite of right user-name and password, following window appearers:

When I open gmail form browser, I've mail from google subject:Sign-in attempt prevented and says:

  Someone just tried to sign in to your Google Account hidden@gmail.com from an app that doesn't meet modern security standards.

When I review, it shows unknown device but on browser it detects my device.

So, How do I face this issue and setup google account?

I had the same problem and I solved it this way:

Log in here using a web browser .
On Login and Security, at the bottom of the page there's an option "Allow less safe apps" which would be set as disabled. Set it to enable and now you can log-in using your device.

  Allow less secure apps: ON

  Some non-Google apps and devices use less secure sign-in technology, which could leave your account vulnerable. You can turn off access for these apps (which we recommend) or choose to use them despite the risks.

Note: The words might be a little different as I saw that Google page in Portuguese, but the option should relatively be at the same position on the page.


Can I attach a USB mic to any Android phone? Can I attach a USB mic to any Android phone?  Which one?

I am asking since I need to be able to shoot video with sound clear of noise.

Hence, I need the phone to shoot good video quality as well(full HD at least).

Yes, Android supports standard USB audio class devices:

  Android 5.0 (API level 21) and above supports a subset of USB audio
  class 1 (UAC1) features:

  The Android device must act as host
  The audio format must be PCM (interface type I)
  The bit depth must be 16-bits, 24-bits, or 32-bits where 24 bits of useful audio data are left-justified within the most significant
  bits of the 32-bit word
  The sample rate must be either 48, 44.1, 32, 24, 22.05, 16, 12, 11.025, or 8 kHz
  The channel count must be 1 (mono) or 2 (stereo)

Also, Android 3.1 or higher can support USB audio if you buy an app from eXtream Software, which bundles its own drivers.

Also, your hardware has to support USB Host mode (USB On-The-Go).  There are apps to test whether it does:

How can I determine if my device has USB Host Mode (OTG) support?


Android Samsung SM-G530BT - Black screen after root I've rooted my Samsung SM-G530BT running Odin3 v3.09. Everything went fine, I've checked and it was rooted as expected. But then I reboot my phone and know it loads the phone model logo but then it shows only a black screen. I've tried all methods to enter Recovery mode and nothing works. What do I have to do in order to restore my device? Is there any software that I can use in my PC to recover? Or even restore the intial settings? Thanks everyone

You can recover your device by flashing stock firmware.

First download stock firmware for your device from sammobile.com(or any other site) and then flash it using Odin the same way you flashed TWRP or whatever to obtain root.


Google apps not working on mobile data, although non-Google apps are working I have a strange problem on my Samsung J2 Android phone. Although apps like WhatsApp and some games which require Internet work, none of the Google Apps like Google, Chrome, YouTube and Play Store are working. Whenever I open the Google apps, it shows "Check your internet connection"  although my mobile data is on. But, on connecting my phone to a Wi-Fi network, these apps work. How can I fix this?
P.S. One more important thing: When I open Chrome, I get a message saying ERR_PROXY_CONNECTION_FAILED.

Check if google domain is not blocked by the network you are using , also try resting network settings , and try to delete the configuration settings that has been provided by your service provider automatically and call the help line ask them to resend you the internet settings.


Android SDK: Using the emulator to browse local websites I'd love to be able to develop mobile websites on my windows 7 pc be able to see them instantly in mobile chrome/opera inside the android emulator.

I own an android phone, but uploading to my site and then browsing to it on my phone is just way too cumbersome.

I've downloaded the android sdk, but I have no idea how to start the emulator. I know nothing about java or android, and I can't make head nor tail of anything. Inside:

  adt-bundle-windows-x86_64-20130729/sdk/tools/

there are a bunch of executables that seem to suggest they launch the emulator, but they just launch the command line and nothing happens.

All I want to do is have a little graphic of an android phone floating on my screen, and be able to browse to my local websites inside its browser.

Is this possible?

From inside the emulator, you can access the localhost of the host machine by using the IP address 10.0.2.2 (source).

For further info about creating an AVD and using the emulator, check out the documentation.


Huawei P8 Lite 2015 soft-bricked and won't turn on or charge I got a Huawei P8 Lite (ALE-L21) model that I received from someone. The issue was that it kept booting into this recovery mode phase that kept asking to flash software update again showing two errors.

At first, the phone would charge perfectly, and as soon as it could power on, it quickly jumped to the recovery mode. After a few days later, I decided to come back to the phone but unfortunately, it wasn't powering on. Every time I put it on the charger, it just shows red blinking light once, then nothing happens. Sometimes it would blink red and green on the LED light, but still nothing happened.

I have the full stock ROM of the phone on a memory card (SanDisk class 10) and it's been on the phone for some time but still no luck. I tried leaving the phone on PC all night but I didn't respond.

Can anyone tell me what I need to do to get this phone powered up?

Easiest answer

https://huaweiflash.com/how-to-flash-huawei-stock-firmware-all-methods/

Basically = press the right buttons to get into bootloader or flash mode.

HiSuite = easiest.

SDCARD FILE MODE = meh...

SP Flash Tool
is the most difficult - But you essentially leave everything as it is, but select the "scatter file"

That file is in the correct firmware for your phone.


Firefox Quantum for Android - backup profile without root? On Firefox Quantum for Android (on a non-rooted phone), how do I back up my profile to another place? This would be easy if my phone was rooted (just go access the folder directly and copy it elsewhere), but it isn't rooted.

I've tried numerous different things, some of which have gotten very frustratingly close, but nothing has worked:

Using an app like Helium Backup that uses adb to backup app data. This works for some apps, but for Firefox it gives me a "Backup Disallowed" dialog box with the message "Firefox has disallowed backup of application data. Please leave a comment with the developer of Firefox and ask them to allow application data backup."
Using the browser to navigate to the profile directory and attempt to download items from there. I can clearly see my profile by going to file:///data/data/org.mozilla.firefox/files/mozilla/r3dact3d.default/, and theoretically individual files could be downloaded over enough time. But attempting to open anything just navigates to it. This 'works' for text files like .ini since I can manually copy+paste out the contents, but not for binary files (like the all-important browser.db) which always open a blank page.
Doing the above, but using USB debugging and opening up WebIDE on my laptop's Firefox to poke around. I can run arbitrary Javascript on the page that shows me my profile directory, but nothing here lets me download the files it's showing me. The closest I can get is if I modify the anchor tags to add a download attribute (so they'll download instead of navigating), but then all the links pop up an "Unable to download file" error message in the footer (versus "Download started..." which I would expect). I have no clue what this particular error message means, and Googling doesn't help.
Doing the above, but holding down on each link and choosing Open With an App (vs. Open Link in New Tab, etc.). If I can get a file explorer app to come up, it always gives me a similar error message "This item cannot be saved."
Attempting to tell Firefox (through about:config, perhaps) to save or move my profile to a different place that wouldn't require root to access. Apparently Firefox does not allow such a thing.
Trying to find some feature of Firefox Sync that backs up a profile on mobile. This feature doesn't seem to exist.
Finding an add-on that will copy the profile to another place. Before Firefox Quantum, there was an add-on named Copy Profile that did this exact thing. The add-on isn't compatible with Firefox Quantum anymore and I can't find any replacements.
Using adb to manually downgrade Firefox so Copy Profile will work again. At least one user has tried something similar already, and the result is that the app data between Firefox Quantum and Firefox non-Quantum is set up differently enough that the newly downgraded app immediately crashes on open.

I find it hard to believe that a task as important and straightforward as backing up my Firefox profile is impossible on unrooted Android. Has anyone else run into this problem or a similar one? Any solutions or suggestions?

Thanks!

I had the same problem and got inspired by your idea to use WebIDE. It turns out it is possible to access the profile files throughout JavaScript at least in my Firefox for Android version 59.0.2, but this only helps partially to back up all profile data.

Principle

The file contents can be accessed using Ajax (see here), also if they are binary (reference). It however seems like you can only access files that are in your current directory or that are in a subdirectory.

For example, the contents of browser.db can be accessed by navigating to file:///data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default/ and then executing in the console via WebIDE:

var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "browser.db");
xmlhttp.responseType = "arraybuffer";
xmlhttp.send();

The result will then be stored in xmlhttp.response as an arraybuffer. If the data is non-binary, "text" can be used instead of "arraybuffer".

For small, non-binary files it can by sufficient to copy them to the clipboard with copy(xmlhttp.responseText), but for larger files this can throw an out of memory error.

The same technique can be used to get a listing of files and directories. The problem is that this (for me at least) worked only for the directory the browser was navigated to, but not for subdirectories. The returned data is a list of files as plain text:

300: file:///data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default/
200: filename content-length last-modified file-type
201: AlternateServices.txt 0 Thu,%2010%20May%202018%2015:33:20%20GMT FILE
201: OfflineCache 0 Thu,%2009%20Nov%202017%2018:28:54%20GMT DIRECTORY
...

Backing up

For completeness, here are two scripts I used to backup the files. Both are only quick&dirty and minimal scripts. The data is transferred to a Python server running on the computer, which then stores them.

Important: They only backup the files in the current directory, but not the directories (See the limitation above). However since most of the profile is in the root directory this might be sufficient. If you want to store the files in the subdirectories as well you need to paste and run the JavaScript again for each directory. The neccessary directories will be created by the server.

Python server (save this as server.py and then run e.g. with python3 server.py 2222 depending on the port you want to use)

import os
from http.server import BaseHTTPRequestHandler, HTTPServer

class FileReceiveHandler(BaseHTTPRequestHandler):
    def _set_headers(self):
        self.send_response(200)
        self.send_header('Content-Type', 'text/plain')
        self.end_headers()

    def do_POST(self):
        content_length = int(self.headers['Content-Length']) # <--- Gets the size of data
        post_data = self.rfile.read(content_length) # <--- Gets the data itself
        print(self.path)

        # Store file
        relative_file_path = os.path.join('received_files', self.path.lstrip('/'))
        directories = os.path.dirname(relative_file_path)
        os.makedirs(directories, exist_ok=True)
        with open(relative_file_path, 'wb') as f:
            f.write(post_data)

        self._set_headers()
        self.wfile.write(b'received')

if __name__ == '__main__':
    from sys import argv
    port = int(argv[1]) if len(argv) == 2 else 80
    server_address = ('', port)
    httpd = HTTPServer(server_address, FileReceiveHandler)
    print('Starting server')
    httpd.serve_forever()

This is the source I used as a reference for the server.

JavaScript source for the browser

Adapt the first two lines to your own profile path and local IP address and port. Then paste this script directly in the console of WebIDE with the browser navigated to the profile directory.

var profile_basepath = "file:///data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default";
var server = "http://<your_local_ip>:2222";

function send() {
    var list_xmlhttp = new XMLHttpRequest();

    // Get files
    list_xmlhttp.onreadystatechange = function() {
        if(list_xmlhttp.status == 200 && list_xmlhttp.readyState == 4){
            itemslist = list_xmlhttp.response.split('\n');

            for (var i = 0; i < itemslist.length; i++) {
                if (itemslist[i].startsWith('201:')) {
                    parts = itemslist[i].split(' ');
                    if (parts[4] == 'FILE') {
                        handleFile(parts);
                    }
                }
            }
            console.log(itemslist);
        }
    };
    list_xmlhttp.open("GET", window.location.href, true);
    list_xmlhttp.responseType = "text";
    list_xmlhttp.send();
}

function handleFile(parts) {
    var filename = JSON.parse(JSON.stringify(parts[1]));

    // Get file content
    var file_xmlhttp = new XMLHttpRequest();
    file_xmlhttp.onreadystatechange = function() {
        if(file_xmlhttp.status == 200 && file_xmlhttp.readyState == 4){
            // Send file
            var filepath = window.location.href.substring(profile_basepath.length) + filename;
            var send_xmlhttp = new XMLHttpRequest();
            send_xmlhttp.open("POST", server + filepath, true);
            send_xmlhttp.send(file_xmlhttp.response);

            console.log(filepath + " sent");
        }
    }
    file_xmlhttp.open("GET", window.location.href + parts[1], true);
    file_xmlhttp.responseType = "arraybuffer";
    file_xmlhttp.send();
}

send();

It might take some time until the script has finished.


Viber does not detect my contact list on BlueStacks I use BlueStacks.

I installed Viber before importing contact list to BlueStacks. After importing contact list to BlueStacks list, Viber does not sync the contacts.

After importing, I installed Whatsapp. Whatsapp detected the contact list, and showed the list in Whatsapp's friend lists. I installed Line, and it detected the contacts list too.

I re-installed Viber, but it did not the solve problem. The contacts still do not show in Viber.

When I invite a friend to Viber, my contact list not show any number.

What can i do?

Viber has not been tested on Bluestacks, as it is not a platform that supports Viber on its  own.

However, in order to have a contact list, Viber syncs to the device on which it is installed. You can try deleting Viber and re-installing to see if it syncs with your contacts. Other than that, there is not much that we can assist with.


Turn off the voice notification for emails on GALAXY S4? So I tried to figure this issue out for my boss and ended up stumped, decided to call Verizon for some assistance however, due to lack of "official literature" (?) the tech was unable to assist me in solving the problem. Turns out if I go into the settings for the actual email account that my boss has connected to his phone and shut off the notifications completely that eliminates the voice from say... "You have one new email... You have five new email... You have eleven new email" but.... if we do that he can't receive any notifications at all. No beep, no vibrate, no standard email dings... there has got to be a way. Someone please help, the voice is driving everyone in the office crazy.

If this is happening to you, you might be in Driving Mode.  You might have not actually switched to Driving Mode physically, but if you've paired (Bluetooth) with you're vehicle, it may automatically switch to Driving mode when you enter the car.

Pull down the notification bar from the top of the screen. If Driving Mode isn't one of the five icons at the top of the screen hit the icon that looks like three little boxes and one set of arrows.

That should open a big list of toggle switches. Look for driving mode and see if it is turned on/lit up. If it is turn it off and the voice notifications should stop.


How can I can open local files in the default Android browser? I want to open local files that are on my sdcard in the Android browser. How can I accomplish this?

In order to view local files on the sdcard with the default Android browser just enter file://sdcard/ and then the path to the file you want to view.  For example if you have an xml file named "person" in a folder named "xmlfiles" it would look like file://sdcard/xmlfiles/person.xml in your address bar.  You can create bookmarks for the file you are viewing but if you try to make a shortcut to that bookmark or use a bookmark widget (at least the HTC one) these will not work and may give an error "The linked program is no longer installed on your phone".  The bookmarks will work if opened from within the browser.

So far I have verified that the browswer can open/render these files: xml, html files(htm), and image files

It cannot open pdfs.

According to this comment it works for Android 2.1 and above


adding MRLs to a playlist VLC I am having trouble making a playlist for MRL networks streams. Each time I open a new network stream it creates a new playlist and the previous stream is no where to be found (the history is overwritten with the most recently opened stream as well)
What steps do I have to take to create a MRL playlist? Do I need to store the playlist in a file somehow? I have been playing with the app for days and I cant find the answer here (https://wiki.videolan.org/Documentation:Android/)  either

I was struggling too to get a working playlist with VideoLAN on Android. Apparently the app didn't (and probably still does not) provide a way to have a playlist which doesn't vanish after shutting down the app I came up with a crude solution to create a file with a pls extension on the Android devide and have VLC load it. Still I had to do this on every launch of the application, but it worked. I describe details at http://vlc-playlist-android.blogspot.com/ and hope other could benefit from it. If VLC itself now provides a working playlist, please let me know in the comments there, or here.


Changing the writing direction in browser apps (firefox, uc browser) I write in Arabic most of the time, which unlike English you start writing from the right. Now in browsers writing in Arabic in text boxes starts from the left and the text crawls from left to write which is really annoying especially when editing what I wrote. Is there any way to inverse the direction when writing in Arabic?

Basically its due to language you have chosen and the predication search as you type.  You need to off the predication search from the uc browser setting after that you can write from right to left you can check update from ucmini.co.in for more information about language and setting option.


How can I schedule a Nandroid backup? Is it possible to schedule a Nandroid backup for a particular time on a rooted Samsung Galaxy S2 running CM9 and the Siyah Kernel? How would one accomplish this?

You can make an automatic nandroid backup using ROM Manager (free / paid).

open the app - go to settings and select Automatic Backup.  You can select the time and frequency of the backups in the following screens.


Can I use CWM recovery made for KitKat in Lollipop? I was already using CWM on kitkat until I officially updated my Micronax Unite 2 A106 (MT6582) to lollipop. But when I tried to use the same recovery made for kitkat in lollipop, it did not work. Why does that happen? Does that mean I can't use recovery made for kitkat in lollipop?
According to xda wiki "The recovery is completely independent of the Android system". Does it mean that, No matter which version of Android I have, the recovery of any version should work. If recovery is independent of android then why does that recovery not working. I am confused.

I had a similar issue in the past, it could be that Lollipop is preventing the recovery from root access, it is disabled by default.

Go to settings -> developer options -> root access. Enable the option for apps & adb.

If you can't see the developer options go to settings -> about phone. Then tap on the build number section 10 times (it works as a hidden button)


Silencing notification of scheduled quiet mode (LG G2) I have quiet mode scheduled and it works exactly as I want. The problem is there is a notification every morning that my scheduled quiet mode occurred. I'm starting to hate seeing this notification and I don't need to see it.

What application do you use to enable quiet mode? Is it standalone application or a system app?

If it's a standalone application then you could try turning off notifications for that app however note that this will disable all notifications coming from the app, not just the silent one.


Force to use 3G and WiFi is on? Can I force android through settings to use 3G for all downloads when both WiFi and 3G are on?

The main reason why I am trying to achieve this is that I want to use WiFi only as a mean to connect to ADB (without use of USB).

I have Nexus 4 phone which runs Cyanogenmod 10.

The Short Answer

Nope, not possible, or at least compicated & tedious, because Android defaults to WiFi since it's generally faster, more reliable and has no data cap

However

You may want to look into this app. While it requeires a rooted device, it allows you to leverage on both your WiFi & 3G to download at the same time.

The Long Answer

As t0mm13b has suggested (and I eagerly defer to him), if you're really serious about this and have the necessary expertise, you can

  modify the source code to remove the mutually exclusive flip/flop and also at the RIL layer

Unfortunately, I'm not qualified enough to do more than point you in the direction of the Android Developer Page if you decide to go down this route.


Manually instaling apk Long story short: I don't have google services, and I accidentally deleted the backup. I can't install any apk no more via package installer. When I click "install" it just says "Application not installed." I tried everything in my settings.

Is there any way to install apk without package installer? Maybe manually extracting apk file and copying it to some folder somewhere and then making shortcut in launcher?

I have android 4.4.

Are you rooted? If you have root, you can use a ROOT browser and put the google services app manually in the /system/app folder then reboot. It SHOULD work.

And when you say google services, do you mean "Google Play Services"?


Can I configure voice dialer to be usable in hands-free mode? I use Cyanogenmod 11. It comes with an app called Voice Dialer.

The only problem with it is that you have to click on it to use it, kind of defeating the whole point of it.

Is there a way to have it start when I press the "control" (I don't know how to call that button, it's used to pause music or hang up a call) on my earpiece?

Yeah bro there is an app on Google Play Store that can control your headset button actions, The app will help you customize the options when a button is pressed on your device, so with that app you can go to "all apps" and select the name of the voice dialer program, so next time you click on the heaset button, the mobile does work for u

link for app
https://play.google.com/store/apps/details?id=tvk.headvol

if u find it helpful u can accept my answer


Are there region specific hardware differences to GT-N8000? Are there region specific hardware differences to the GT-N8000, or is a GT-N8000 the same device no matter where you live?

I thought Samsung's model names (GT-I9300, SM-G900F, GT-N8000) were a safe way to identify the hardware inside. Are devices with the same model name, the same in all aspects except the region-specific/cell-provider-specific firmware?

Yes, there are differences.
In India it has only A-gps


“agrep” for Android Terminal? How can I do this (agrep) in the Android Terminal?

This program allows elastic text searching, which means that searchqwery would match searchquery, and searching Android would also match Anfroid or Androis.

How can I install it so that it can be run from the Android Terminal?

As commented by @Izzy, Termux has a wide repository of Linux packages, but agrep isn't among them so far. So you have to go for compiling the binary from source, or you may give this one a try. It's a static binary for aarch64 architecture.


Blocking notification based on content or sticky-ness I have a messaging app (TextNow) that sometimes likes to put a sticky notification up (to notify me that I have used up my data and am being throttled), which I do not want and cannot be disabled in the apps settings.

Normally when an app abuses notifications like this I simply disable notifications for that app. However, in this case I would miss text messages if I did that. Therefor I was hoping for some way to either:

Block notifications based on their content.
For this specific app, only allow dismissable notifications.

I do have a rooted phone.

Example of the notification:

Note: I have posted an answer to this question, but I am still looking for better options.

automation is  preferred option, since OP is looking for context based actions . Many apps are available. I prefer using MacroDroid,  since it is free (upto 5 macros) and easy to learn (app guides you through the settings - make sure from the app settings you activate ignore battery optimisations if using Marshmallow)
OP has confirmed in his answer that Macrodroid approach as suggested by me in comments worked and his answer covers another automation app as well
You would need two macros for this to start with ( needs root)
First macro would look like this (Triggers / Actions / Constraints are added by +)
Macro 1 :  Remove notification (name of macro )
Trigger : Notification → Notification Received → Select Application → Choose App → Text Content → Contains (Notification Text which you wish to disable)
Actions:
Configure App Notifications → Choose App →Disable
Constraints:  No Constraints
Logic: We need to identify  the content of notification  to disable this notification from appearing. Not specifying any Constraints means we want the macro to always run
In the next macro, we make sure that if the content of notification is anything else, that notification is shown
Macro 2 :  Enable notification (name of macro )
Trigger : Notification → Notification Received → Select Application → Choose App → Text Content → Excludes (Notification Text which was disabled in earlier macro)
Actions:
Configure App Notifications → Choose App →Enable
Note:

Tested and working on Moto X Play, Android 6.0.1, with a different app, since app in OP doesn't work in country

In my experience, heavily modded OS's  like Samsung, Huawei, MIUI at times produce unexpected results, so it is better to have two separate macros - easier to troubleshoot from the app logs.

Optimal approach
Once you have them working satisfactorily, you can elegantly combine above macros to have a single macro (not tested by me since I don't have any apps that produce multiple sticky notifications but should work). This is a better approach, since notifications aren't lost as pointed out by OP in his solution

This will dismiss any other notifications that also happen to open from the same app at the same time.

Macro  : Enable / Disable notification selectively
Trigger : Notification → Notification Received → Select Application → Choose App → Text Content → Any
Actions:
If Clause → Add Condition →Notification Present → Select Application* → Choose App → Text Content → Matches ( Notification Text for which you wish to disable )

Add Child action ( by long press of above action) of first Macro

Add else clause ( long press if) and add action of second Macro


How to run two Messenger applications logged into different accounts? I have done a bit of research, and that, coupled with some programming knowledge, leads me to believe that it should be perfectly possible to run two separate applications of Facebook Messenger.

Is it as simple as changing the manifest file name? Or is there more to it? How do I run two separate Messengers?

Yes, at the very least that will have to be done. You may also have to re-sign the apk, and also change any absolute references to the Application context inside the java code and/or machine code. This will require lots of effort, you might as well build your own Messenger interface via Facebook's API. Facebook does have a developer API for this kind of stuff, you may want to look into that.

Facebook Developer SDK

I would try renaming the package first, without even decompiling anything, if it crashes due to internal package pointers, I would probably try to build a plug-in.

Hope that helps,


Can I drive a USB webcam with my android touchpad? I have I have an Android touchpad and a usb webcam... Can I use the pad to control the webcam?

I don't think directly. There are, however, several apps in the market that seem to let you view a webcam connected elsewhere by URL or IP.


how to transfer contacts from a micro sim to a mini sim if the screen is broken and not getting comands? how to transfer my contacts from a micro sim to a mini sim if my phone screen is broken and is not getting my commands neither? from a galaxy s 2 to a nexus

First, be sure that the contacts from your old phone were actually stored on your SIM card. That's not the default for most Android phones, which store contacts in the device storage, or online in your Google account.

Get a SIM card adapter.
Take the card out of your old phone.
Put the card in the adapter.
Put the card+adapter into your new phone.
Transfer the contacts from the card onto the phone's memory. You can do this by editing the contacts one by one in the Contacts app, or you can find an app to import contacts from the SIM card in one operation.

Now the contacts are on your new phone, and you can replace the usual SIM card in that phone. If your new phone is SIM-locked to a different carrier, you can ask a friend and borrow their phone.

Alternativaly, you can buy a USB SIM card reader. That way, when you have the SIM card in the adapter, you can plug that into your PC and use the software that comes with the reader to save the contacts onto your PC. You can then import them into your new phone, or into your Google account.


Can I use a larger battery in my Galaxy S? I have standard 1500mah battery in my Samsung Galaxy S phone and it lasts around 24 hours. Can I use a larger (say 1650mAh) battery so I can get a bit more battery life?

A battery such as this extended battery from Mugen Power can be used on the Galaxy S without adding thickness and will usually give you around 30% better battery life. Always be careful when using non-OEM batteries in your phone, there are a lot of cheap ones out there, but a no-name brand battery might leak or short out. Read the reviews and remember, you get what you pay for.


How do I clear the settings of a built in app in Cyanogenmod 9 (ICS)? I just updated my phone (Galaxy S2) to the latest stable version of Cyanogen, and I can't set any alarms in the default clock app.  When I try to go to the screen to set the alarms, the app just crashes.  Past experience tells me the solution is the clear the app data/cache, but the problem is that the app doesn't show up in the apps list in the settings.

How am I supposed to clear these settings?

The UI is a little different than before, and instead of the tabs all fitting on the screen, you have to scroll to the left or right to see some of them instead.  The "All" tab in the apps menu is off to the right of the screen.  Simply pull the tabs left, and the "All" tab will be shown.  From there, it's the same as always for clearing app data.


Configure power control in notification pane I just bought an Alcatel One Touch 995 with Gingerbread 2.3, when I display the notification the notification pane I have some icons I can click to activate GPS, wifi, bluetooth, rotation...
I know there are some power control tools but I'd like to know if there is a way to cutomize the icons already displayed in my notification pane?

Not by default. Certain ROMs like CyanogenMod do allow you to customise the toggles and the order in which they're displayed.

A possible workaround could be this app - Notification Toggle


ROM Toolbox claims backups are blocked; how can I work around this? I was looking for a way to backup my phone's ROM (Samsung Exhibit II SGH T679 (android 2.3.5)); android market had ROM Manager; reviews were great, my phone was listed as compartible, everything looked perfect

While trying to actually backup ROM, ROM Manager needed to have ClockworkMod Recovery installed first; my phone was not on the list of supported devices and I had to cancel ClockworkMod Recovery installation

Ok, no sweat, I'll try something else - so I uninstalled ROM Manager and installed another app (ROM Toolbox)

And here came the big surprise!

With ROM Toolbox, when trying to backup ROM I get the message:

ROM Manager blocked other apps from creating backups in recovery unless ROM Manager Premium is installed. Once you install ROM Manager Premium you can use ROM Toolbox to backup your ROM.

(mind you, ROM Manager was uninstalled by that time)

I would have no problem spending a few bucks and getting ROM Manager Premium, but the problem is even worse: someone did try this already and it did not help (ROM Manager Premium still doesn't support the device -> we are back to square 1)

Here is the question:
would it be possible to remove the lock placed by ROM Manager? If not, are there any other ways to backup the ROM?

Update: According to Koush, "other applications are not "blocked" from creating backups. They are just being lazy, and not actually building/flashing their own recovery image. "

I got this response from Koush, the developer of ROM Manager:

  ClockworkMod recovery is open source. However, the hooks that ROM Manager uses to automate backups by hooking into ClockworkMod Recovery are proprietary.

  I have told other developers, if they wish to use the ClockworkMod Recovery hooks, they can do it in the following ways:

  1) Build, distribute, and support their own version of ClockworkMod Recovery, so that I am not responsible for the maintenance of it.

  2) Use the ROM Manager API, which requires a ROM Manager Premium License.

  The user can ALWAYS make backups manually in recovery, without a Premium license.

  Basically, the issue here is that developers are relying on me and my open source work, which I maintain, to build a competing product to my paid applications. Essentially undercutting me by relying on me developing 90% of the product for them.
  It seems pretty silly for me to continue maintaining and distributing something that directly competes with my income, so I put a stop to it.
  If they want to build a competing product, they will have to go through all the hassles involved with building, distributing, and supporting recovery images.

  So, no, those other applications are not "blocked" from creating backups. They are just being lazy, and not actually building/flashing their own recovery image. Nothing is preventing them from building a ROM Manager clone, if they really wanted to. They are just avoiding doing the hard part.

So for now, I think you're best off finding out if rzrecovery supports your device variant, and if so, using it until there is a version of ClockworkMod for it.  I own ROM Manager Premium and have no complaints, and I really respect Koush for the work he does.


Update from app store stuck on "downloading.." There are three apps that needs an update on my device, I've got an always-on 3G connection and it's working (I can use whatever app I need), but when trying to download the update from the app store the progress bar reach the end (100% downloaded, should have saved it entirely) but it won't install the new update and the page on the store keeps telling "Downloading..".

I tried clearing the store cache/data several times but didn't work, I tried clearing the app's cache too (the one that needs to be updated) but it wasn't useful.

How can I solve? I didn't do anything to my un-rooted semi-new phone (Galaxy S plus with gingerbread)

I solved this by reinstalling the store update (i.e. switching it back to the basic market app and let it update again)


Where is the internal memory for Samsung Galaxy S2 and how do I remove it? I've removed the motherboard like this: http://gyazo.com/9995b3ba45b8053c2732eee6f62f90da

I no longer care about the phone itself. The only thing I particularly care about now is getting into the internal memory since it has alot of sentimental files that really can't be replaced. A picture pointing out the things i need to take out would be nice as well as some additional info

Thanks!

The internal memory isn't removable - it's soldered onto the phone's motherboard. The only way to get data from it is via USB.


How does the android graphics stack work? I know that Android is based on Linux. On a desktop machine, you have an X server which coordinates all the screen activity. Some Linux distributions are working on switching to something other than X (Wayland, or Mir.)

Android doesn't appear to be using X. What does it use instead, and how can I find out more about it?

Android doesn't use X,
although there is a Java implimentation of X made for Android android-xserver.
Instead of X, Android relies on the SurfaceFlinger and HWC(Hardware Composer),
working with the BufferQueue.


Merging a Crypt7 and a Crypt8 whatsapp backup I have been searching a lot in the past couple of weeks on how to merge two whatsapp backup. Last month I got a new phone, installed whatsapp along with my old backup. During installation, whatsapp said, "backup found" and an option to restore. I clicked on it, it was processing for a very long time and then said backup cannot be restored :(

I started using whatsapp on this new phone and observed that the present database type is Crypt8 and my old database was of Crypt7 type (may be that it why the messages were not restored). I have still kept my old backup. Can anyone please tell me how can I merge these two databases (old Crypt7 and new Crypt8) or is there any other file that I need to consider?

I also rooted my phone to get access to com.whatsapp folder. Found it in the root @ data/data/com.whatsapp

File structure on the root

+ com.whatsapp
  + cache
  + databases
    - axolotl.db
    - axolotl.db-shm
    - axolotl.db-wal
    - msgstore.db
    - msgstore.db-journal
    - wa.db
    - wa.db-shm
    - wa.db-wal
  + files
  + lib
  + shared_pref

File structure on SDCard (old backup )

+ WhatsApp
  + Databases
    - msgstore.db.crypt7
    - msgstore-2014-11-17.1.db.crypt7
    - msgstore-2014-11-18.1.db.crypt7
    - msgstore-2014-11-19.1.db.crypt7
    - msgstore-2014-11-20.1.db.crypt7
    - msgstore-2014-11-21.1.db.crypt7
    - msgstore-2014-11-22.1.db.crypt7
    - msgstore-2014-11-23.1.db.crypt7
    - msgstore-2014-11-24.1.db.crypt7
  + Media
  + Profile Pictures

File structure on SDCard (present backup )

+ WhatsApp
  + .Shared
  + .trash
  + Databases
    - msgstore.db.crypt8
    - msgstore-2014-12-9.1.db.crypt8
    - msgstore-2014-12-10.1.db.crypt8
    - msgstore-2014-12-11.1.db.crypt8
    - msgstore-2014-12-12.1.db.crypt8
    - msgstore-2014-12-13.1.db.crypt8
    - msgstore-2014-12-14.1.db.crypt8
    - msgstore-2014-12-15.1.db.crypt8
    - msgstore-2014-12-16.1.db.crypt8
  + Media
  + Profile Pictures

EDIT: Is it possible to uninstall whatsapp, reinstall and recover old backup (crypt7) first and when everything is working, import latest backup (crypt 8)? No replies so far - Is this even possible ?? Eagerly awaiting a response.

This is how I solved the issue.

backup your existing whatsapp installation

 adb backup -f whatsapp-new.ab -noapk com.whatsapp

clear whatsapp data by going to settings>apps
upload your old database to /sdcard/WhatsApp/Databases and delete other files in this directory
run whatsapp, restore messages and initialise app (you will have to reenter your phone number; if this doesn't work try installing older version of whatsapp - 2.11.432 worked fine for me)
backup installation with old messages

 adb backup -f whatsapp-old.ab -noapk com.whatsapp

download android backup extractor (https://github.com/nelenkov/android-backup-extractor), and its dependencies (bcprov-jdk15on-151.jar) and compile it (use Eclipse if you are not familiar with this)
extract files from backups

java -cp path-to-libs/bcprov-jdk15on-151.jar:path-to-comiled-abe/bin/ org.nick.abe.Main unpack whatsapp-new.ab wa-new.tar

java -cp path-to-libs/bcprov-jdk15on-151.jar:path-to-comiled-abe/bin/ org.nick.abe.Main unpack whatsapp-old.ab wa-old.tar

tar xvf wa-new.tar
mv apps apps-new
tar xvf wa-old.tar
mv apps apps-old

copy unencrypted databases to a new directory

mkdir plain
mv apps-old/com.whatsapp/db/msgstore.db plain/msgstore-old.db
mv apps-new/com.whatsapp/db/msgstore.db plain/msgstore-new.db

download sch3m4's wforensic from Github, install it and  follow this https://github.com/sch3m4/wforensic#merging-all-msgstore-files-into-a-single-one (alternatively you could just merge both .db files - they are plain sql3 archives)
clear whatsapp data on phone again; upload the merged database to sdcard/WhatsApp/Databases and name it msgstore.db and delte other database files
repeat step 4

Now you should be able to see all conversations (hint scroll down to see all conversations - they are not sorted chronologically - but that sorts out with time).


How to list apps, which have a permission to access the camera? I am experiencing the problem with the mm-qcamera-daemon on a Nexus 5 with 4.4.4, as described in this question. I would like to know if there is a way to see which apps have a permission to access the camera, so I can decide which app is causing the problem.

There are several apps in the Play Store that can list which applications use specific permissions.  One that I use is Permission Friendly Apps by androidsoft.org

https://play.google.com/store/apps/details?id=org.androidsoft.app.permission

It requires no permissions itself so it's safe to use.  Once you install it, you can look through the built in views or filter down to a specific permission.  The one you  want to start with for this issue is "Take Pictures and Videos".  This will narrow down the list of installed apps to just those that can access your camera.


Can't connect to WiFi using Nougat I updated to Nougat on my Nexus 5X. Can't seem to connect to some WiFi networks, as the connect button stays greyed out after entering credentials. What could be wrong?

It turns out that you should select at least one option in the "CA Certificate" field. I was able to save the setting after I set it to "Don't validate".


Can I install additional language support (Russian) on HTC Desire HD without rooting? I bought HTC Desire HD and I want to change UI language to Russian. The issue is that I see in settings only English, German, Italian and French.

Is it possible to add other language without rooting phone?

You can use the same app that I found for my problem to fix yours:

Custom Locale

Just install it and then select Russian as your predefined language and you're good to go mate.


Notification settings reset after reboot I just bought a new smartphone and the new Android (6.0.1) has this peeking thing that really annoys me. I wanted to disable it, for example for WhatsApp, so I went to

Settings -> Sound & notification -> App notifications -> Whatsapp -> Allow peeking (off)

This solves the issue. The problem is that when I turn the device off and then turn it on again, these settings go back to default and the peeking is re-enabled without my doing anything.

Is there a way to permanently disable peeking?

EDIT:

I've found this link and option 1 seemed very promising. However, I did that and it didn't work either. Still looking for the solution, though.

Well, I finally got it to work. I'm going to post the solution just in case someone is having the same problem. I did exactly as it is stated here: just toggling another one of the other two options in the notification settings did the magic.


Is it okay to delete CWM backups after copying them to my pc? Recently, I installed CWM (Rom Manager) and a custom recovery in my Xperia SP. Then I went to Rom Manager and pressed 'Backup Current ROM' which took me to a screen that backed up everything. Then I used adb pull /mnt/shell/emulated/clockworkmod/backup to copy that backup into my PC. Now, the copied files in my PC are:

Now,

First thing, from what you see, can you tell me if the backup is complete (it is about 2 GB)? Well, this is the content of the recovery.log file.
Can I delete the backup present in my phone(because it is occupying a
large amount of space ~2 GB)? Or should I keep it there. I have
heard of mysterious evil things like bricking, bootloops etc.
(which I am REALLY scared of). And in many places I've found that
the best way to recover from those scary things is to use the backup
of the ROM. Now, please tell me that if such a disaster happens to
my phone, can I transfer the files from my PC to the phone or do
they need to be in the phone for me to be able to recover from the
disaster?

You can theoretically delete them without hesitation after moving, but do keep in mind that CWM depends on file integrity checks like MD5 to see if your images have not been modified since the day you took a Nandroid backup. There are some cases when phone-to-PC transfers  ruin the MD5 signature1 and therefore prevent CWM from restoring the Nandroid backup in the future.

If you do every step in ROM installation exactly as said in the instructions listed on your ROM webpage and you're not going to do anything daring after successful installation, chances are you're not going to need that Nandroid backup anyway. But it's always better to be safe.

1 speaking from experience


Unable to Use Google Play or Log Into Google On My Note 2. I installed the CyanogenMod 13 Marshmallow for my Note 2. I haven't been able to log into Google Play. I can log into my GMail but everything else doesn't work. I also keep getting "Unfortunately google play services has stopped".

I changed the host file but is there a new IP i need to change to or?

What I did that really solved it for me was:

I first of all used twrp. Before hand I was using clockworkmod which wasn't working too well. (IDK why).

I have a Galaxy Note 2 and installed the CWM 13 Marshmallow ROM and installed the BANKS Open GAPPS along with it.

I could not log into Google. The Gmail would work but I couldn't log into anything Google especially Google Play. I download and uninstalled google play services like a thousand times.

TO FINALLY SOLVE MY ISSUE, I rooted my device (if it isn't already, you need to root) also everytime you do a factory reset you need to re-root.

I went into RECOVERY MODE on TWRP and went to INSTALL. I chose the CM13 ROM & the BANKS OPEN GAPPS that I had already on the device. I basically reinstalled it. You want to "SWIPE TO FLASH BOTH". Wipe you DALVIK/DATA. IMPORTANT: Do not boot between flashing the ROM and flashing GApps!

Your device should be rebooted after this. It should be working after this without you having to installed Services or anything.


How are good, fair, poor and bad defined for signal strength? How are good, fair, poor and bad defined for signal strength in terms of dBm, in most Android phones or telecommunication community?

Are they defined the same for mobile network and for WiFi network?

Thanks.

I can answer this for WiFi:  received signal strength indicator (RSSI) in the 802.11 standard is only required to be orderable. This means for a single device you can tell when its reported value x is greater than its reported value y, but not by how much because there may be no real scale. Every device can report different values for the same real signal power, and the values across devices are not directly comparable because they can each use different values and they may have no scales. A device is only required to be able to tell a signal is stronger or weaker than another signal.

For reference, see
https://en.wikipedia.org/wiki/Received_signal_strength_indication


How do I export several days or events on my calendar as text? Using the calendar app, Google calendar or any other calendar app, I can share any one event as text. Is it possible to share/export several events at once? A whole day? Some days? The entire calendar?

Not sure if this matters but I'm using S6 Edge+

It seems like by using Google Calendar app, an edit can happen on specific event and multiple event editing is not supported.

Below are the steps mentioned in official page of Android cal. app

Open the Google Calendar app Google Calendar.
Open the event you want to add people to.
Tap Edit Edit.
Tap Invite people.
Type the name or email address of the person you want to invite.
Tap Save.

Of course you can invite multiple guests/people to a specific event, but editing multiple event (to share it) does not seems possible at this time via Google Calendar app.

But if you are using Google calendar on Computer, it seems it is possible to share the whole calendar. You can read the instructions for this on the official page, but below are the basic steps.

Open Google Calendar on a computer.
On the left, find Drop-down menu My Calendars. You may need to click to expand it.
Find the calendar you want to share and click the arrow next to it.
Menu on hover over calendar name
Select Share this Calendar.
Under Share with specific people, add the email address of the person you want to share with.
For Permission Settings, choose an option in the drop-down menu. Learn more about these options below.
Click Add person, if they aren't already added.
Click Save.

If you shared your calendar with an individual email address, they'll see your calendar in their "Other calendars" list. If you shared your calendar with an email group , they'll see the calendar in their "Other calendars" list once they click on the link in the email invitation from Google Calendar.


Free Alternatives to "Titanium Backup Pro" I have recently rooted my Samsung Galaxy Y phone and installed the Titanium Backup (free version). Anyhow, I am not satisfied with it as many of the features are unavailable and I am asked to get the paid version.

My Question is: Are there any free alternatives to the services offered in Titanium Backup Pro?

I am in particular looking for the "Convert to user app" and "Enable 'multiple profiles' for this app" features.

I'm not aware of a full-blown replacement for Titanium Backup, but there are solutions for the specific functions you're after:

Recent versions of Link2SD can convert user apps to system apps and vice versa (available on Google Play).

SwitchMe offers a solution for switching among multiple user profiles (available on Google Play). The free version is limited to two profiles and "no security features".


fastboot flash = FAILED (remote: invalid bootloader image) After breaking CyanogenMod on my Nexus 5 I want to flash it with a factory image but all I get is:

fastboot flash bootloader bootloader-flounder-3.43.0.0114.img
sending 'bootloader' (2970 KB)...
OKAY [  0.270s]
writing 'bootloader'...
FAILED (remote: invalid bootloader image
)
finished. total time: 0.450s

The same happens when I do fastboot flash boot boot.img with FAILED (remote: image is not a boot image) etc.

What could be the problem?

It looks like you've got the wrong factory image. You're trying to flash the bootloader for flounder (which I believe is for the Nexus 9). You need to download a Nexus 5 factory image which should contain a bootloader called bootloader-hammerhead-hhz12d.img (or similar)


Transfer files via USB from PC Windows will recognize my Sony tablet, but the external SD card does not show, only the internal memory, I have the settings in the MPT mode. But can only see internal memory.

I have three suggestions:

If it is a MicroSD card, you could plug it into an external reader.
Try ADB (Advanced). If it shows up using the devices command, try pushing and pulling on the SD card.
Install file expert. When the app loads, the third tab has "Share my files" (Or something like that) Try these options via Bluetooth or WiFi. File Expert also has a seperate app, Web PC Suite, which can do the job you want.


Will trying to flash an unofficial update with stock recovery harm my device? I have an Android tablet, the DigiLand DL718M, with a stock recovery that can do slightly more than expected. It isn't much, but I have high hopes that it will support flashing SuperSu using the recovery. My question is, if I try to flash it to test it out and it turns out that my stock recovery cannot install custom updates, will it damage my firmware or something like that, or just pop up an error message telling me I'm an idiot?

PS: I'm explicitly asking about the stock recovery for a good reason: This device's bootloader is not unlockable, so I cannot install a custom recovery.

Stock recovery should just fail, it will look for a digitally signed package from the manufacturer, not find it, and error out without making changes. If the developer who made the package specifically made it to work for that device and spoofed the signature somehow, it could do anything from work perfectly to perma-brick the device, hard to say.


How do you answer a call with a physical keyboard? My Nexus 5 (Android 4.4.4) touchscreen has stopped working, and the warranty replacement is still a few days away.  Since I don't have any other phone to put my SIM in, I still have to use this phone even though the touchscreen doesn't work.

I discovered I can plug in a physical USB keyboard with an OTG adapter, and this suffices to navigate around the phone for the most part.  However I can't work out how to answer an incoming call using the keyboard!

Does anyone know what, if any, key combination you can press on an external (USB/Bluetooth) keyboard that will answer an incoming call?

(I worked out that Ctrl+Esc closes the lockscreen if there is no PIN set, but this does nothing when an incoming call is waiting to be answered.)

I don't know about keyboard shortcuts for answering a call on Android.

What you can do is to connect a USB mouse and use mouse gestures that replicate touch input, it is cumbersome but it should work. I've been doing that on a tablet with a similar problem.


Enabling mobile hotspots through restricted accounts (6.0.1) Device: Samsung Galaxy Tab E
OS: Android 6.0.1

Question: How can I allow a restricted account I've created on my tablet to turn the mobile hotspot on and off? Is this only accessible via admin?

Thanks

The hotspot can programmatically be turned off through apps. For example, an app called CamScanner takes camera photos of receipts or invoices and can email them as PDFs or image files. If there is no 4G signal available, it will enable WiFi, which disables hotspots by default. This will effectively disable the hotspot despite not being on an admin account.


How do I unlock the screen when forgotten password? I have a Samsung Galaxy Tab 2. My daughter put a screen lock on and doesn't remember the code. How do I unlock it?

If you log on to android device manager, you can send a lock request, allowing you to change the password. Just be sure to change it after!

As a alternative, keep getting it wrong until "forgot password?" and login in via google. It will then let you reset the password


Successfully activated USB host mode using terminal emulator; now mass storage won't work I have a Huawei u8160 running Cyanogenmod 7.2 .

I've recently been digging into USB host mode and I finally activated it. However when I connect my phone to the PC it doesn't give me a notification about "USB connected". It only charges the phone (that means it's connected).

How I activate USB host mode :

su
insmod /system/lib/modules/ehci-hcd.ko

or by using Module Loader App.

How I tried to deactivate USB host mode (which failed):

su
rmmod ehci_hcd

and when I list the mods using lsmod it returns that ehci_hcd mod isn't there

My question here is how can I deactivate the mode in a way that USB Mass Storage would work?

NOTE: I saw USB Mass Storage Not Working question and it doesn't work.

Instead of ehci_hcd, use ehci-hcd instead:
su
rmmod ehci-hcd


How can I enable USB Debugging on an LG G2 (vs980) with a broken screen? I have an LG G2 (vs980 - Verizon). The digitizer and screen is broken - I can view it, but not submit input.

The device has fastboot and TWRP capabilities, and I can get to ADB from TWRP.

The device previously had USB debugging enabled and was associated with my PC's public key.

It seems the only thing preventing me from accessing the device via ADB while booted normally is LG's 'USB connection type' setting, which defaults to 'as a media device' or 'as an installer'. This phone requires me to choose 'as an internet connection' / 'ethernet' once I hook up the USB cable from the notification panel for ADB debugging to work. As the screen is broken, I cannot do this.

How to I write this setting to the system from recovery mode? Perhaps a build.prop tweak or a sqlite3 edit? (I have sqlite3 on the device; I just enabled my wifi with it).

$ adb shell getprop | grep persist.sys.usb.config
[persist.sys.usb.config]: [mtp,adb]

Since I can access ADB from recovery and my rom has a /system/etc/init.d, i can run commands after the system boots from here.

My current plan is to switch ADB to connect over wifi and proceed from there.

In this situation, since you have rooted your phone and can access the device via recovery adb, create a startup init.d script to set adb to wifi listening and then connect via wifi.

/system/etc/init.d/97adb

#!/system/bin/sh

if [ -e /sdcard/adb_wifi ]; then
    /system/bin/adb_to_tcp &
fi;

/system/bin/adb_to_tcp

#!/system/bin/sh

# Close STDOUT file descriptor
exec 1<&-
# Close STDERR FD
exec 2<&-

# Open STDOUT as $LOG_FILE file for read and write.
exec 1<>/sdcard/did_adb_tcp

# Redirect STDERR to STDOUT
exec 2>&1

while :
do

/system/bin/iptables -F
/system/bin/iptables -P INPUT ACCEPT
/system/bin/iptables -P OUTPUT ACCEPT
/system/bin/iptables -P FORWARD ACCEPT

setprop service.adb.tcp.port 5555
stop adbd
start adbd

/system/bin/sleep 120

done

/sdcard/adb_wifi

Ensure the former two files are +x and that the final file exists. Reboot. Wait. You now have 120 second intervals to:

adb connect [yourip]:5555
adb shell ps | grep sh
adb shell
> su
> kill -9 $PID_OF_SH


No SIM card detected after installing new ROM I probably did some mistake which I don't know how to solve. After I installed a new ROM I get message:

  Slot 1: No SIM card detected

  Slot 2: No SIM card detected

„SIM management“ is inoperable, „Sim Toolkit“ can't launch because it cann't detect SIM card.
Calling emergency number gets „Out of service area“.
Everything else works just fine (including WiFi) except I can't get SIM card to work and get signal.

Information about the phone:
FEITENG GT H9500
Android version 4.2.1
Baseband version MOLY.WR8.W1248.MD.WG.MP.V6.P4
Kernel version 3.4.5 root@android #1
Build number drx_0.1
I have both IMEIs and IMEI VS visible
CWM v6.0.2.8

What I did prior to loss of SIM card functionality:
-   Made backup of „user data“, cca. 350MB
-   Rooted the phone using instructions as follows:
1.Download usb driver ----> mirrorcreator.com/files/RJDKYXRH/ and open Driver_Auto_Installer_v1.1236.00.rar and run install.bat it install driver automatically
2. Plug your phone to pc
3.Download this file ----> www.mirrorcreator.com/files/09XPAELB open Motochopper_Auto_Root.rar and run run.bat your phone has root

Downloaded ROM update FEITENG H9500 - Update - 06/01/2013 and Recovery from:
www.needrom.com/mobile/feiteng-h9500-3/
Followed instructions:
Unpack FlashTools, and Click on Flash_tool.exe
Select a the MT6589_Android_scatter_emmc.txt in Recovery
Turn off your phone, remove the battery.
Press F9 (or hit Download button) and connect your phone into the computer via USB data cable.
The process will start and a red progress bar will appear after color purple, yellow.
And green circles display
Installed ROM from SD card ( in CWM)
NOTE: I downloaded only update file H9500_DRX_03, and in „Flashtool“ only „Recovery" option was checked. I don't remember was the SIM card inside during installation of the ROM (probably wasn't).
FlashTool V3.1252.1.sn104
I installed that ROM with most of its options and wiped data and cache before installation.
ROM got installed and after restart I lost SIM card visibility.
No external damage was done to SIM slot.

What I tried to fix it:
-       Both SIM slots are not damaged, this happened just after reboot
-   Tried different SIM cards from anothers phones
-   Tried my SIM card on other phones to make sure that it works
-   Format eMMC
-   At „factory mode“ Detect SIM test failed
-   Did wipe data/cache several times before and during attempts to install different roms
-   Tried installing another ROMs (with SIM card in and without), all with „clean install“.
-   During installation (download and upgrade) of ROMs from FlashTool selected all options (preloader,mbr,ebr1,uboot etc.)
-   Tried installing „original“ ROM from: needrom.com/mobile/feiteng-h9500
However it said „Installation aborted“ but I see the ROM was installed.

What I did wrong from what I know:
- I didn't backed up old ROM that I got with my phone
- I did „Download“ with update ROM v3 and not the initial version
- I didn't do „download“ the first version and then „Upgrade“ the rest of upgrades (I don't know is that relevant)
- I did not selected all options (preloader,mbr,ebr1,uboot etc.) in Flashtool except for „recovery“ when I first installed the ROM if that is relevant

So, I don't konw is there any relevant information I can provide since I honestly don't know what can be relevant and what not.
Is there something that can help with this?
Thank You for Your time.

SOLVED: http://www.movilesdualsim.com/threads/rom-drx-v0-4-jb-4-2-1-feiteng-h9500-star-n9500.32072/ That is Spanish page, I don't know Spanish, I never translated it completely. There is one line where it points out that there are some problems with loader and recovery so they made modification. I Applyed modification "Actualización rom base" ... uploaded DRX4 and it worked like charm. Thank You for your time.


Wipe data on wrong password inputs I've found several obsolete answers, but this question about situation nowadays:

What's the most robust solution to have the device (Android 4.2-based) protected?

Turn on device encryption (there is only built-in storage, no SD-cards)
Set up password

But it's all makes not much sense without wiping the data after 10 (or so) wrong password inputs (like iOS does).

So any solutions to wipe after brute-force attempts nowadays?

UPD:

I've found there is a method in the API setMaximumFailedPasswordsForWipe() but is there a User Interface that calls that method?

UPD 2:

Hm, I'm surprised that people don't care of security much, hmmm. That's curious

You might want to take a look at Autowipe for that:

Use Autowipe to automatically and PERMANENTLY WIPE your internal and external data by doing a factory reset. Enterprise and business users should find this useful! This is meant to be used in case your device gets stolen, misplaced, or lost.
Automatically wipes for: failed passwords to unlock screen, SMS password received, subscriber ID changed (SIM card). Use the new integrated test mode to test all these cases. Locks the screen while wiping.

The app does not require root, according to its Playstore description.

(click to enlarge)


How can I use my LG K8 as a monitor for my raspberry pi? I would like to use my raspberry pi outside, which is only currently possible with the official touch screen. This is inadequate as the screen is a large unit and thus it is not portable enough. I would prefer it if the solution was wired.

Mobile screen has not any video input port which can be accessed easily so you can not use smartphone screen as the monitor.

You will require HDMI to screen ribbon cable converter which is neither standard nor available.

Edit:  You can start a vnc server on Raspberry Pi and connect both on same network. VNC viewer app

Or Use mobile to ssh into odroid and for X server forwarding use X Server XSDL app


How to make a full backup and restore (including ROM) using Windows PC via USB? This should be simple, but apparently, it is not.

I want to make a full backup of my Xiaomi MI A2 (ROM, App, Data, All) to my Windows PC via USB.

If there is a problem (boot loop, crash, anything), I want to restore the entire backup to it so that it stays EXACTLY the same as before the backup (same ROM, same apps, same data, anyway, all the same), like a time machine.

How to do this?

Flash (or temporarily boot) a custom recovery like TWRP, and you'll be able to make a Nandroid backup. It typically includes the boot image, the system image and your internal data (excluding Pictures, Musics, Downloads etc.).

When you restore a Nandroid backup, everything goes back to the exact state before the backup.

You won't be able to back up the boot image and the system image easily otherwise.

You can read more at the tag wiki of our nandroid tag.

Note: Even booting temporarily into TWRP requires an unlocked bootloader (if it's previously locked). If you haven't previously unlocked it, be aware that doing so wipes out all data on your phone, including your internal storage where your pictures, musics and downloads reside.


Nexus 5X vibrates despite disabling in app settings My phone vibrates on all notifications despite turning off vibrate in the settings of each individual app that has the option. How can I block vibrating notifications for specific apps?

According to the Google support page and forums there is no way to disable vibrate globally without entering do-not-disturb mode, but it should work on an app by app basis. Turning it off within an app changes the vibration and they now all act the same. So it seems like the option is disabling the vibration that comes from the app but there is some system wide notification that always happens.

The phone is a new Nexus 5X that I just received after signing up with Project Fi. The phone vibrations are extremely grating and can't be changed or lowered. Not being able to limit them without putting the phone in DND mode is driving me nuts. Any help is much appreciated.

Your problem is similar to the question here Decrease default vibration length on notification?

Tweak that solution with following changes

Trigger - Notification received from all apps
Action-Volume change> system sounds slider value to zero


Disable autocorrect from specific application I'm using my device to do code with Jside and I absolutely need to disable autocorrection. Is there a way to specify application that shall not use autocorrection ?

(Since I'm using swiftkey a lot I need it for texting etc..)

There is no built-in way to do this, but you could probably do it with Tasker and root.  You can create a trigger on application foreground/background to turn auto-correct on or off depending on which app it was.  I am not sure of the specifics since I haven't used Tasker but hopefully you can figure it out.  This Reddit comment is for a similar task (switching keyboards) and might be a good place to start.

AutomateIt might be able to do this as well.


Get notes created using "Notes" default app and export them to PC I'm searching a way for get all my notes1 created in my Samsung Galaxy Ace II2 and export them to PC "in separately or unified text file (.txt)".

After hours of searching, I found this question; however, I can't follow the provided steps and the final target is quite different from the linked question.

As an alternative, I found a software called Remo Recover for Android but this app looks like it cannot access the saved notes.

In another search, this answer suggests:

Select memo/note.
Select "Share" or "Send" selected note.

The problem with this solution is that I have more than 100 notes and some of them has 1500 characters, and making this manually takes much time.

I'm looking for a solution4 that download/export the saved notes from my smartphone and save them in my PC; those notes should2 be stored as .txt files (separately, or in a unified .txt file).

1 The app used for taking notes/memos is the default one integrated in the smartphone.

Here's a image sample; I didn't find the name or another useful information about the default note/memo app.

2 My smartphone has not been rooted or modified; no additional notes app is in the smartphone.

3 Other acceptable file extensions could be XSL or DOCX.

4 I'm not sure if this question should be created on Software Recommendations too, because the possible solution could be a free or commercial app / software.

Edit: Package name of Notes app: com.sec.android.app.memo. Source

Screenshot:

Click image to enlarge

Firstly, this is difficult, if not impossible, without ADB or root. However, I will try to make the adb part simple for you, so you can follow the rest of the answer.

Get this package: Minimal ADB and fastboot, and install it on your computer.
On your phone, go to Settings → Developer Options (On Android 4.2 and above, this option is normally hidden. Go to Settings → About Device, and tap on the build number entry 7 times. This will enable the Developer Settings option).
Under Developer options, select "Allow USB Debugging".
Connect your phone to the computer where you had installed ADB. If Windows starts installing drivers, let it finish.
Go to the ADB install folder, and Do a Shift+Right Click on the adb installation folder, select "Open command window here", and type adb devices in the command prompt that opens.
Your phone might pop up a request for authorization with an RSA Key, accept it.
If the prompt shows something like:

Connected devices:

123456789ABCDEF device

or variants thereof, you are good to follow the steps mentioned below:

The steps are taken from @Firelord 's answer here, almost verbatim. All credits to @Firelord

Take backup of your "Notes" app by issuing the following ADB command:

adb backup <PACKAGE>

where <PACKAGE> is the package name of the app whose backup you want to take. The file will be saved as backup.ab in the directory from where ADB is executed.

In your case, you should end up with the backup file backup.ab (~1.7KiB) in your Home directory of GNU/Linux using the command:

adb backup com.sec.android.app.memo

This step is needed because I'm unaware (as a non-root user) of any other way to get your hands on an app's internal files residing in /data.
The .ab file may not be able to be opened on your PC so use Android Backup Extractor (see usage in its README.txt) to convert into .tar archive which then can be opened by any archive viewer (like Ark, WinRAR, and so on).

Some other methods to unpack the .ab file are mentioned here.
Open the converted file (.tar in case you used Android Backup Extractor) and locate .db file under apps→<PACKAGE>→db→<.db>.
Open that .db in an SQL viewer like DB Browser for SQLite. You can then export the file into .csv using File → Export → Table(s) as CSV file.
The resulting .csv can be viewed formatted in any spreadsheet software like MS Excel or even Google Sheets.


LG G2 screen isn't working in partial areas So the other day I dropped my LG G2 from about 5 feet high and it smacked the ground. The screen was not damaged and everything looked fine with the phone, but when I started using it that wasn't the case. About 75% of my screen works when I touch it but a certain section of it does not. It isn't cracked or anything and you can see everything on screen, only the touch screen will not work in a certain section on my phone. Please help!

The (very small) cable that runs from the digitizer (the thing that reads your touches) to the motherboard (the part that does the thinking) was probably either damaged or knocked loose.

ifixit.com has a section on do-it-yourself hardware repairs or, it's time to find a repair depot.


How to show the battery percentage remaining in numbers? At the moment Android 2.2 has a pretty incomprehensible icon of a battery that shows remaining strength.

Is there a way to switch that to a numeric display (like is available on the iPhone)?

if you use cyanogenmod, there's an option to show numeric battery percentage, and numeric signal strength in dbm on the status bar