How can I select which folders to sync via Exchange ActiveSync? I am using Exchange ActiveSync with Android version 4.1.2, but cannot find the option to choose which folders to sync within my mailbox.  A technote on the Samsung website (albeit the US version) says this option should be there. Does anyone have any ideas?

I found sync settings for individual folders under Settings - Data Usage - then left menu softkey, make sure "Auto Data Sync" is selected.

Also, Settings -Accounts - Email - Settings -select exchange email acct, scroll down to "Exchange Active Sync Settings" lots of options for syncing, including individual sync settings for folders.


What Happens when I change processor frequency of my android phone I have Xolo x900 phone. I have settings to set the processor frequency.

It is defaulted to 600mhz, yet my phone has a maximum of 1.6Ghz.

Can I change to 1.6 GHz? What would be the side effects of increasing the frequency?

Will it overheat, drain my battery?

Also, would like to know what would be the advantages on increased frequency.

Setting frequency to high end may cause problems like.

1.Heating up phone.
2.burn battery.
3.Even you may damage your phone completely.

Over-clocking frequency will speed up your phone's performance.


What happened to the sound profiles that were in Lollipop? I recently bought a new phone to replace my old one. The old phone is running 5.1 (Lollipop) and has "Predefined [sound and notification] profiles" (see screenshot). However, there seems to be no equivalent in 8.0.0 (Oreo), and as a result this new phone has been sitting on my desk all but unused for almost a month now.

Searching around it would seem I have to install some overly convoluted app with features I don't need (or want) to achieve the same result, but that can't be right, can it?

I don't think I need to explain what I want to accomplish, but in case I do and in case my twice-daily routine triggers someone to suggest an even better solution: I have one email account (of four set up in a third-party mail app) that I need to alert me 24/7. Nothing else needs my attention 24/7. So every time I go to bed I turn off notifications for the other three email accounts, turn off notifications for the phone, turn off notifications for text messages, turn off notifications for BBM, turn off notifications for a VoIP app and set my sound profile to "sleep". The sleep profile has all sounds and vibrations turned off so that, other than the very occasional sufficiently important incoming email, my using the phone won't disturb my wife. In the morning I reverse all of that.

I'd be happy with just having the sound profiles back -- the twice-daily routine is a bit tedious and ridiculous, it seems to me, but it's not that onerous -- so that's the main thrust of this question. Thanks.

Screenshot of "Sound & notification" profiles in Lollipop:

What happened to the sound profiles that were in Lollipop?
  Unless I am mistaken, they have been removed on Android 8.

  The sleep profile has all sounds and vibrations turned off so that, other than the very occasional sufficiently important incoming email, my using the phone won't disturb my wife. In the morning I reverse all of that.

You can a rule (actually 2) to achieve what you describe:

Goto Settings -> Sounds -> Do Not Disturb preferences.

The first rule will be a Time rule. Add a new Time rule or you can modify the existing Weeknight rule. You select the time, date when it should apply, set the preference to Total silence.
The second rule will be an Event rule. Add a new Event rule or you modify the existing Event rule (you can change its name). In "During Event for", select the email address it should apply to. In "Where reply is", select "Yes, Maybe or Not replied" date when it should apply, set the preference to Total silence.

  Searching around it would seem I have to install some overly convoluted app with features I don't need (or want) to achieve the same result, but that can't be right, can it?

It is right, to have the sound profiles or something that looks like it, you will have to install a 3rd party app. I can try Sound Profiles (+ volume scheduler). Give it the appropriate permissions and you can use it to manage sound profiles again.

Disclaimer: I am not related to the app developer(s).


using chrome to access HTML files on android I downloaded the java documentation to read on my phone but i can't use the html viewer on my phone because it cant use links.

When I tried using google chrome and going to the file location its not allowing chrome to access the location.

Does anyone know how to allow chrome to access the folder or know a folder that I could move the documents to?

The documents I have. It's the Zip file I'm using.
Before someone says I could use the epub or mobi, they are missing some of the bits i want to read.

Im using an HTC M9 and the location im trying to access is file:///download/tutorial/tutorial.

Thanks for any help:)

If you're running Android 6 Marshmallow, you may need to grant Chrome access to your user storage. Secondly, the correct URL path should be file:///sdcard/Download/tutorial/tutorial.


How to install kitkat 4.4.4 over Android 4.2.2 In my SONY Xperia Z current version of android version is 4.2.2. I want to remove this OS totally (as we remove windows OS to install newer) and install new Kitkat 4.4.4 version. I have followed this post at lifehacker, downloaded kitkat, but things are not working for me. Can anyone suggest me any solution of a brand new OS in my Android phone (my phone already rooted)?

I would give this toolkit a try it might might things a little easier for you http://forum.xda-developers.com/xperia-z/development/tool-flashtool-v0-9-10-1-windows-linux-t2229790


Is there a way to use bit.ly account when shortening links in Twitter app? I have a bit.ly account, and I want to be able to track my shortened links. However, using the Twitter, it allows me to choose what shortening I use, but I can't seem to find an option to have any shortened links linked to my bit.ly account.

I know that my twitpic account is used to upload pictures (and I've set twitpic as the default), but I want to know if there is a way to do this with bit.ly

I don't think there is a way in the Twitter app, but if you really want that functionality, Seesmic has it.


how do you turn off the vibration alert for incoming text messages on a samsung galaxy s3 mini? I've gone through the settings menu but can only find options to change the vibration pattern, not to turn it off completely. Any ideas??

On my Samsung Galaxy S3, this setting is inside the Text Messaging app, rather than as a general setting.

Open the Text Messaging app, and start the Settings menu.

About halfway down I have a block of Notification settings.
First being Notifications,
Second being Ringtone,
Third is Vibrate.
Uncheck and you're done.
Hope your Settings Menu is similar since its from the Samsung family.


Widget to toggle "OK Google" detection always on/off I am looking for a widget which toggles my Nexus 6's option for "OK Google" always listen on/off.

Usually when I am in the car, I need the phone to always listen for "OK Google" and easily turn it on before I get there. After I leave the car, I need to turn it off, because it detects random sounds as the command and never stops listening for noise sounds.

I think such widget does not exists and I do not know if Android exposes API calls for this. I am web developer and I am willing to try to code this widget myself (never tried to code for Android), but I have the will if someone points me to the right direction.

Thanks!

It's not the best method but if you happen to use Nova Launcher you can make a widget that gets to the Voice Command Preferences (which is just one click away from accessing the detection settings).

Long-press on the home screen (with Nova installed)
Click Widgets
Place an Activities shortcut somewhere on your homescreen.
Scroll down to the Google App
Choose com.google.android.voicesearch.VoiceSearchPreferences

and you'll at least have a widget that gets you right to the Voice Search Preferences where you can then click on Ok Google detection.


Bricked my TF300T: How to re-partition internal storage to get it back? I upgraded to Katkiss's Android 5.0 image. It was nice but in reading I saw I could use the F2FS file system to prevent slowdown from normal usage. So I went to format /data thinking that would give me the F2FS option (instructions were not very clear). The /data format never finished so eventually I restarted. Now it won't boot, which I expected and would just reflash my install zips, but now TWRP recovery cannot mount any directories at all.

TWRP recovery will get into a boot loop but fastboot works so I reflashed TWRP recovery and then recovery works fine. But I can't reset/wipe/mount/etc. anything from within recovery as I just get errors:

E:Unable to mount '/data'
E:Block device not present, cannot wipe Data.
E:Unable to mount '/data'
E:Unable to format to remove encryption.
E:Unable to mount '/system'
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount storage.

I tried starting ADB sideload. It says using RAM for sideload storage and that it's starting but never starts up. ADB devices list no devices.

Anyone out there have a similar issue? Is there a way to re-partition, maybe using fastboot?

If it would just mount I think I'd just need to format and install the zip files?

I thought I could use my nandroid backup to flash system.img, etc. to overwrite what's there but it's one big .win file. So I looked up the fastboot commands anyways and stumbled on an xda thread about un-bricking TF300s where they used fastboot erase on every mount point then fastboot flashed the stock firmware blob file from Asus' support website. Ran perfectly and now I have my tablet back! So all you need is fastboot to go completely back to stock.

To get to fastboot:

Shutdown the tablet completely.
Hold the Volume Down button and the Power button at the same time.
Let go when you see multiple lines of text at the top left and RCK Android Wipe as options.

You are now in fastboot.

To connect using a windows PC:

Install Minimal ADB and Fastboot: http://forum.xda-developers.com/showthread.php?p=42407269#post42407269
Install Asus Sync from Asus support website (to get the drivers).
Open the Minimal ADB and Fastboot shortcut to open the command prompt.
Connect tablet to the PC's USB.
The PC should start installing the drivers.
In the command prompt type: fastboot devices
You should see a bunch of letters and numbers then the word fastboot. You're connected to the tablet now.

In the command window the following commands will erase EVERYTHING from the tablet. I was already unable to use the tablet at this point so I had nothing to lose really.

  fastboot erase system

  fastboot erase recovery

  fastboot erase userdata

  fastboot erase boot

  fastboot erase misc

  fastboot erase cache

  fastboot -i 0x0B05 flash system c:\adb\TF300t\blob (this is my path -
  your's may vary depending where you stored your blob) ((also this was
  the first time i saw the loading bar while flashing)*

  fastboot -i 0x0B05 reboot

http://forum.xda-developers.com/showthread.php?t=2179874&page=19

At this point, for me, the tablet was now completely back to 100% stock like it was just purchased.


Touchless Control 3.15.0.1 Cannot uninstall My Motorola Ultra with Android version 4.2.2 contains 3.15.0.1 Touchless Control. I have uninstalled the software both from Google Play and App Settings. However, the device still says "Update", instead of "install".

How can I successfully uninstall the Touchless Control?

Note: The reason why I would like to uninstall it would pertain to the reason for installing the most updated version.

I have same problem unable to remove Touchless Chat. Please follow this method and you are able to remove this software from your phone.

http://www.pcadvisor.co.uk/how-to/google-android/how-remove-virus-from-android-phone-or-tablet-image-gunpoder-3605390/

After step 1, go to step 3 and in security Device administrator you will see Touchless software, uncheck it and then uninstall option give you to uninstall.


What Trusted Root CAs are included in Android by default? There doesn't seem to be a central Android resource that lists the Trusted Root CAs included in the OS or default browser (related question on SO), so how can I find out which are included on my phone by default?

With the number of root certificates that have been compromised, and the number of fraudulent SSL certs created over the last couple of years, this is an issue for anyone relying on SSL for security, as otherwise you won't know if you want to remove any trusted CAs.

(not listing my manufacturer or OS version as I'm looking for a generic resource or solution that should be applicable to any device)

On ICS or later you can check this in your settings. Go to Settings->Security->Trusted Credentials to see a list of all your trusted CAs, separated by whether they were included with the system or installed by the user.

Earlier versions of Android keep their certs under /system/etc/security in an encrypted bundle named cacerts.bks which you can extract using Bouncy Castle and the keytool program. The summary is to first pull the bundle using adb (you need a root shell) then you can use Bouncy Castle to list the contents of the bundle:

shell~$ adb pull /system/etc/security/cacerts.bks`
shell~$ keytool -keystore cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storepass changeit -v -list

There's also at least one app that you can try if you'd prefer not to use the shell: CACertMan (requires root to modify the list, but should allow you to view the list without root). I believe it came about due to the DigiNotar fiasco since there were no particularly easy ways for a user to revoke the cert at the time. Since the certs are stored differently on ICS and later this app will only work on devices running Gingerbread (or earlier), but it is obsolete on ICS/JB anyway.


Recover data on internal memory of a dead HTC One M8 I happen to drop my HTC One M8 due to which the screen got cracked and also made the phone stop working, doesn't start, doesn't charge, absolutely nothing, as good as paperweight.
I took the phone for repairing and they told me that, the phone needs following:-

Chipset rework to main board
Charging connector replacement
New LCD
Software flash - all personal data will be lost/erased

What I am more concerned about is the loss of data from the internal memory.
I would like to know if there is anyway that I can recover the data, I have some important files, text and WhatsApp messages(which were not backed-up before the drop)

One thing I came across is tools for recovering deleted files.
Is it possible that I get the phone repaired including software flash and then run one of these tools viz. H Data Recovery to recover my data?
I mean even with a software flash the data will still be in the memory and just the pointers will be removed, right? like it happens in simple disk format. I am assuming this, please correct my understanding.

If the above is possible, what should I ask the repair center to not do, so that there is still the possibility of data recovery?

Double-trouble. If the device cannot even be powered up, you can't access its internal storage to rescue your data. As soon as the software is flashed and the device reset, that data is gone – and without root powers, rescuing data from internal storage is close to impossible (so at least your WhatsApp data would be gone for good). There are very few tools which might help you on a non-rooted device (e.g. DiskDigger), but I wouldn't count on that.


Automatically enable/disable data mobile on galaxy s3 i going to turn on my data to use internet, but the Wi-Fi symbol going on then off what should i do...
please help me...
my phone: Galaxy S3

Your initial question seems a bit vague, so I'm goign to assume that you're asking why when wifi is turned on, cellular data goes off. If this is not the question you are asking, please ignore my answer.

That is how android is designed to handle data. When Wi-fi is on, Mobile Data does not get used.

If you want to keep mobile data active even while wifi is on, go to Settings > developer options > Under networking section you'll find an option  "Cellular data always active". Turn that on. This does not mean that cellular data will be used when wifi is on. It only means that automatic switiching between wifi and cellular data will happen a lot faster.


Change network time (Fake) In android you have a option to change your GPS location to a fake location.
Is it possible to "fake" the network time, so my app thinks that the actual time the fake network time is?

My phone is a Huawei G700-U10, and the Android version is 4.2.1
And I have root my device. So I can acces SuperSu.

Thanks

As you've got root on your device, that should be possible by synchronizing time via NTP. For details, see e.g. Time server for Android. Remaining question, though, is whether this would really override other time settings of the device (e.g. using your mobile network provider's time, which Android might use by default – see NITZ and Where time information is received from the network?) if they differ too much. This might be avoided by:

In Settings→Date & Time, disable automatic time adjustment
Install one of the apps mentioned in Time server for Android to take care for it
Setup your own "fake-time-server"
make that "fake-time-server" the one to be used by the app from 2.


Samsung GT-S7392 is locked because of attempting password too many times. Please help me out Samsung GT-S7392 is locked because of successive password attempts; and I could not access or log into the google account as well. The question is: Can I l get unlock through theses using my google account where I'm not the first user of the device. It also asks me for the back up pin. What actually is it and how do I solve 'unlock' this? Please help me.

On a side note: This is very suspicious.
Anyway, regarding this question:

The question is: Can I l get unlock through theses using my google account where I'm not the first user of the device.

You can only unlock the device using one of the Google accounts associated with the phone. If you don't know the password or any of the phone's account credentials, then you're out of luck.
For the next question:

It also asks me for the back up pin. What actually is it and how do I solve 'unlock' this?

There is no universal backup PIN. You can only unlock the phone with the  PIN/password that was set or the credentials of an associated Google account.
Alternatively, you wipe the /data directory on the device to perform a factory reset, which will also reset the password.
Warning: Performing a factory reset will delete all user data.


How to stop embarassing images showing on my phone's screen when I try to tweet? I have downloaded some images of an adult nature onto my phone. My problem is, they show up as preview images whenever I try to compose a new tweet in the official Twitter app. I can't find any setting to turn this behaviour off.

Your best bet is probably to use an app like Keep Safe to hide "adult" photos/files. This keeps other apps from being able to see/interact with them, so they won't show up in the preview section of any apps.


Download apps that are listed as being incompatible with my device in the Play Store After installing Cyanogenmod on my Samsung S3 mini, I have found that the Play Store does not offer any additional apps. For some of the apps, I assume the only requirement I am missing is a newer version of Android, as I have been able to use them successfully when installed from a third party source (which is potentially dangerous).

I want to get apps that I know work with my device from the Play Store. Is there a way to do this?

Market Helper works perfectly, if your device is rooted. It can spoof another device on a different carrier.


Switch "Google page" off on Android I got Huawei P30 lite with Android 9. There is a page on the main screen (if you swipe right from Home) which looks like combination of Google assistant, search, news, weather etc..

What is it called and how to remove it?

Here are the instruction from Huaweihub on how to disable Google Feed on the P30 Lite

Hold your finger on an area of blank space on the Homescreen.
Select Homescreen Settings.
Locate Google Feed, then swipe the adjacent toggle from On to Off.

Original article here: How to disable Google Feed on the Huawei P30


Is knowing the MTK processor version sufficient to get the right twrp image on Android device? If I download a twrp image depending on the MTK processor version and not the device name/ manufacturer, will I be wrong ? and will it be 100% working?

Note: the device is not rooted, I am actually trying to root it this way(No other way is working), so let's focus on the question.

It doesn't work that way.

TWRP depends heavily on the fstab of the device model in question, which describes the partition layout of the storage. This is not related to the SoC (processor), and almost never the same between different models.


How to root Samsung Galaxy Alpha SM-G850A? Seems I have searched vastly across the internet to no avail.

So far, I've tried using a CF-auto-root file with Odin 3, and vroot, neither of which worked. The only helpful thread I've found was an XDA thread from may 2015 which still did not seem to help

http://forum.xda-developers.com/galaxy-alpha/help/want-to-to-root-alpha-sm-g850a-t3107199/

The only other resource I've found were several forums and websites that link back to the same blog that claims to have rooted the phone, but the download file is labeled as malicious by chrome and there is no conformation by anyone that it actually works.

You may need to unlock the bootloader before doing this process. Here is tutorial.

As you mentioned above about odin , it means you know how to work with odin. Now just download this CWM recovery file and flash it using Odin.
Now download this flashable SuperSu zip.. Move this SuperSu zip to your sd card. Now you have to boot in recovery mode after flashing CWM recovery. In recovery mode install this zip file and reboot.

This is the best way to root any android.


Is it possible to image android phone and run on emulator? I have an LG phone with faulty screen that I am not interested in fixing, but I am interested in an installed app.
I am looking for a way to convert it to an image and run it on my PC, is that possible?
Searching online just shows me results for how to transfer images from my phone to my PC :D

Hope you're doing well.

You said you're interested in an application, well let me try and clear it up, but if you just want to use an application, you're better off with running it fresh on an emulator, and that way you will not have to worry about your broken phone, but if it is the app data you're interested in then I'd suggest you'd take a backup of your phone, that will basically be an image of your broken phone, using adb tools and then restore it onto an emulator. But you will have to look it up as to how you want to flash adb tools onto your phone without a display(assuming your display is completely dead).

Otherwise, your topic seems a little too broad


SD CARD- I just bought for my galaxy phone I just bought a SD card for my Samsung Galaxy S5 and its still showing storage space running out. The Sprint store said it takes a few days for it to go away?

This is quite normal, especially if you've recently inserted the MicroSD card into your Android device. What you can do is go into Settings >> Storage and change your default location for installed applications and files.

Did you migrate your files?

So, I'd assume that the files on your phone is what's taking up your storage. What you can do is install something like ES File Explorer. It has something like an SD Card Analyst built in and lets you copy all of the files from your phone to your SD card (or vice versa). I don't know, but I'd image since you got an SD card, you haven't yet configured all of your files on it. I'll update my answer with more advice, provided you update your question or make a comment asking for further help. Good luck!


Dialing an extension automatically How do I add a phone number extension to a contact in a way that it will dial the extension automatically a few seconds after a call is connected? I have seen 4 different ways that appear to work on different devices.  "p", "w", ";" and ",". Is there one official way that works across devices and Android versions?

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

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


Troubleshooting wifi issues Suddenly the wifi of my Xiaomi A1 stopped to connect my home's wifi :-/

There is no update, either phone or router, I'm aware off. But  at some point yesterday I realized I was not connected. So I tried to manually connect. First weird thing, Android doesn't have the password saved. I enter again the password, and I just get "failed to connect".

All the other devices (iphone, ipad, macbook, google home, chromecast, etc.) keep working as normal.

I've rebooted the router just in case, but no outcomes.

Any idea how can I troubleshoot that?

As discovered in the comments thread, my issue looks to be a hardware issue on the phone itself.


Phone automatically reboots My Lenovo A850 reboots almost every time I answer a call. Using adb I redirected the output to a file. Then I tried tracking the reason for the forced shut-down but I am not sure. The phone has a lot of Lenovo's pre-installed apks. I am posting the stack trace of what I think might be the error that causes the reboot.

Unfortunatelly I haven't found a decent site to host the stack trace so that you can see the whole thing but I'll give it a try soon.

I/AEE/AED (10955): $** *** *** *** *** *** *** *** Fatal *** *** *** *** *** *** *** **$
I/AEE/AED (10955): Build Info: 'ALPS.JB5.MP:A850_ROW_S116_130922:MT6582:S01,Lenovo/aupres_row/A850_ROW:4.2.2/JDQ39/A850_ROW_S116_130922.1379859786:user/release-keys'
I/AEE/AED (10955): Flavor Info: 'None'
I/AEE/AED (10955): Exception Log Time:[Wed Oct 29 21:22:51 EET 2014] [99110.120000]
I/AEE/AED (10955):
I/AEE/AED (10955): Java (JE)
I/AEE/AED (10955): system_server_crash
I/AEE/AED (10955): system_server
I/AEE/AED (10955): Process: system_server
I/AEE/AED (10955): Build: Lenovo/aupres_row/A850_ROW:4.2.2/JDQ39/A850_ROW_S116_130922.1379859786:user/release-keys
I/AEE/AED (10955):
I/AEE/AED (10955): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.USER_PRESENT flg=0x28000010 } in android.widget.ViewFlipper$1@42fa4908
I/AEE/AED (10955):  at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:806)
I/AEE/AED (10955):  at android.os.Handler.handleCallback(Handler.java:800)
I/AEE/AED (10955):  at android.os.Handler.dispatchMessage(Handler.java:100)
I/AEE/AED (10955):  at android.os.Looper.loop(Looper.java:194)
I/AEE/AED (10955):  at com.android.server.ServerThread.run(SystemServer.java:1352)
I/AEE/AED (10955): Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
I/AEE/AED (10955):  at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:5351)
I/AEE/AED (10955):  at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1001)
I/AEE/AED (10955):  at android.view.ViewGroup.invalidateChild(ViewGroup.java:4199)
I/AEE/AED (10955):  at android.view.View.invalidate(View.java:10529)
I/AEE/AED (10955):  at android.view.View.invalidateParentIfNeede
I/AEE/AED (10955): Backtrace of all threads:
I/AEE/AED (10955):
I/AEE/AED (10955): "NetdConnector"  prio=5 Thread id=48 RUNNABLE
I/AEE/AED (10955):  android.net.LocalSocketImpl.readba_native(Native Method)
I/AEE/AED (10955):  android.net.LocalSocketImpl.access$400(LocalSocketImpl.java:29)
I/AEE/AED (10955):  android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:92)
I/AEE/AED (10955):  com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:132)
I/AEE/AED (10955):  com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:90)
I/AEE/AED (10955):  java.lang.Thread.run(Thread.java:838)
I/AEE/AED (10955):
I/AEE/AED (10955): "Thread-71"  prio=5 Thread id=71 RUNNABLE
I/AEE/AED (10955):  android.net.LocalSocketImpl.readba_native(Native Method)
I/AEE/AED (10955):  android.net.LocalSocketImpl.access$400(LocalSocketImpl.java:29)
I/AEE/AED (10955):  android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:92)
I/AEE/AED (10955):  libcore.io.Streams.readFully(Streams.java:81)
I/AEE/AED (10955):  java.io.DataInputStream.readFully(DataInputStream.java:120)
I/AEE/AED (10955):  com.mediatek.agps.MtkAgpsManagerService$MtkAgpsIO.readInt(MtkAgpsManagerService.java:2011)
I/AEE/AED (10955):  com.mediatek.agps.MtkAgpsManagerService$MtkAgpsIO.run(MtkAgpsManagerService.java:1803)
I/AEE/AED (10955):
I/AEE/AED (10955): "AlarmManager
I/AEE/AED (10955): $** *** *** *** *** *** *** *** Fatal *** *** *** *** *** *** *** **$

If it's rebooting, you should probably try logging some kernel or other system related messages that are saved after / during a crash, that could show later log messages which probably show what crashed in the lower layers.

Include the log directly before the crash and include it here if it doesn't break formatting, or upload it on pastebin or nopaste (larger size limit) if it does.

Try to gather as much information as possible and include these in your question.
Take a quick look at this for your question to be more likely to get answers :)
Also tell us: What version of Android or what custom ROM / recovery / etc. are you running exactly?
What did you do before this happened?
What did you already tried?

Here is how you can obtain the different logs:

How can I view and examine the Android log?
Android: How to get kernel logs after kernel panic?
Shutdown Log in Android


Gallary issue in marshmallow OS I have updated Marshmallow OS from Lollipop OS in my galaxy J5 mobile. since I updated this, All folders are not seen in gallery. All images are displayed in only one folder. Also there is no option for moving images into another folder in gallery.so I wanted to know how to get back all the folders in gallery instead showing in one folder???

Download a file manager from Google play. Open app and navigate to where your photos are stored. Make new folders and move photos in to them. I wood look at this list provided by Izzy https://android.izzysoft.de/applists/category/named/file_fileman


Downloader app failing to download apps over a specific wifi hotspot (Error 495) This may look like it's beating a dead horse, but it's not.

All of my Android devices of different brands and different chipsets, from Exynos, Snapdragon 820, Snapdragon 435, with stock or custom ROMs, AOSP-based and manufacturer-based ROMs, all fail to download apps on a fully functional WiFi connection that has no problems with accessing every possible resource that I ever needed.

Updating/Downloading apps fails with Error 495. I had done everything I could to mediate this, but since this is happening on all of the devices that I tried, with more than 1 Google account, it's safe to say that it's not the device's fault.

The fault is in the Downloader app (the one that downloads the apps for Google Play), in communicating with my Asus RT-AC66U router with Asuswrt-Merlin on it. Everything else works fine, including when I connect to another WiFi hotspot on the exact same internet connection. But it also doesn't work if I connect to a WiFi repeater that's hooked up to the same problematic WiFi hotspot on the Asus router. (Both the 2.4 and 5GHz hotspots fail)

Rebooting both routers, and making them go a power-off/on cycle, had no effect. Unhooking the repeater off didn't help either. As I've said, everything works fine. Other WiFi devices on the same hotspot have access to HTTP, HTTPS, with no reported broken keys that would suggest a security risk or anything. I didn't change any settings, and updates used to work just 4 days ago.

So the question is: What is so special about the Downloader app, or about Play store, that makes it the only thing that's failing?

Or how can I diagnose this? Maybe an easy to use packet sniffer that's able to show the failing request and allow me to reproduce it outside of my phone, and figure out what exactly about my router's settings it doesn't like. I promise to share my findings, and will describe in detail every step that I took, if it helps me fix this issue. Because right now I don't even know where to start looking.

Lucky for me, my router has a connection log, that I could look through.
From my phone that was trying to download an app, there were many connections, but these brought up my interest:

tcp   192.168.1.174:51959                      52.15.96.207:443                         SYN_SENT
tcp   192.168.1.174:51974                      52.15.96.207:443                         SYN_SENT

Indeed, the remote IP did not respond. But the feature worked on other access points. I decided to change the DNS settings in the DHCP server, from the ones provided by the ISP, to OpenDNS.

https://en.wikipedia.org/wiki/OpenDNS

This can also be done from the phone, from the advanced WiFi connection settings, when you choose something other than DHCP.

That did the trick.

As mentioned by What is error code 495 on Google Play and the YouTube app? too. Please, if this solves your problem, go upvote, so that it doesn't sit on the bottom of the answer list.


WiFi disconnects in doze mode Nexus 5x and Pixel with project fi. No antivirus installed.
OS 8.1.0

Regularly puts me on LTE connection both at home and in the office.

How do I force WiFi to always connect to known networks rather than surprising me every time that I just watched a video and used tons of data?

Is this related to the removal of Wi-Fi sleep options? And what "Sleep options are not relevant any more." means that the relevant commit message (via reddit) says?

Customer service explained me that my Project Fi SIM card is expected to kick me off from free Wi-Fi whenever it decides that the LTE connection is stronger. He said the customer should every single time manually put himself to airplane mode as a remedy. Complete bullshit esp. given that fact that it loses Wi-Fi in sleep even if data is off so waking the phone would not give me any connection, until I would force a reconnect by opening settings.

Finally, a device update from March 5 fixed it, so now my Wi-Fi stays on.


Does TWRP make backup of recovery partition when backing up ROM? I'm planning to install CyanogenMod in a Motorola device. I've already booted into TWRP without flashing recovery partition and did a backup which has system, data and boot.

I will keep this backup, so if something goes wrong with CyanogenMod I can always return to stock ROM.

Here are my queries:

Is this backup enough? Would it be having the original recovery so that I can restore it, if required?
Since I booted into TWRP without flashing recovery partition, did it magically backup the TWRP itself instead of stock recovery?
How can I backup stock recovery if it is not already backed up yet?

For a full backup, you'll typically want to backup everything except cache.  and-sec and data are optional as well if all you care about is a working ROM.  So if you checked off all the partitions TWRP listed, you should be good.  It doesn't check EFS by default so if you have a partition like that, you might want to include it.

You can also verify the backup.  On your SD card (or the location you chose for backup) there will be a TWRP folder that contains BACKUPS → <device ID> → <name of backup with date> → backup files.

The .ext4.win files (you should have boot, system, and data which might be broken into smaller pieces) are actually tar archives, which you can open to view the files.  boot.emmc.win will be a binary file, but you could do a hash check against your existing boot image or something if you wanted.

Given that you would have to restore this backup with TWRP, backing up recovery isn't really necessary or relevant!  However, if you are worried you could back it up manually from a privileged shell/terminal:

$ su
# cd /dev
# find . -name recovery
./block/platform/msm_sdcc.1/by-name/recovery
# readlink ./block/platform/msm_sdcc.1/by-name/recovery
/dev/block/mmcblk0p18
# dd if=/dev/block/mmcblk0p18 of=/sdcard/recovery.img

Just make sure that if=<path> matches the location of your recovery partition, which is probably different from mine.  If your device doesn't have a by-name listing then you will probably have to look up online to find which partition is recovery.  If you don't have readlink, try ls -l instead.


Nexus S: how can I control sites shown underneath stock browser search box? The built-in web browser of my Nexus S has a cool feature: when I press the Search button, in addition to a text box where I can type a URL or search terms, there are 4 sites shown above the on-screen keyboard.

How I can control what sites are listed?  I'd like to be able to populate that list with favorites so I can get one-click access to my top favorite sites without having to go through the "favorites" menu.

It loads your most frequently visited websites. When you keep visiting a particular site lots of time (say like 3-4 times on the same day), then the site will get displayed in the list.


How do I set the correct time zone on my Nexus 4? I just purchased a Nexus 4.

I'm perplexed, however, in that it thinks that I am in the Central timezone when I'm actually in the Eastern timezone.

The Clock application that came with the phone has a "Home Timezone" option. This only puts a secondary clock on the clock app when I'm outside of my Home Timezone, which is always the case, because the phone thinks I'm on the Central timezone.

How do I set my phone to the correct timezone?

It should be under your system settings (the Settings "app"), in the "Date & Time" subsection (which is near the bottom). Uncheck the "Automatic time zone" option and then select the correct one manually:


Forgot Oneplus One pin. How to enable usb debugging? I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account.

I was thinking if it would be possible for me to enable usb debugging and use adb to unlock my oneplus one

I was trying to do what the third answer in this thread suggests How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

but am unable to follow, specifically, i don't know what to do when it says to mount "Data".

thanks in advance.

You can boot into recovery, then adb should be enabled by default. But I don't know what you want to do to reset your code. If you would have rooted the phone, then you may be able to do that but I think you can't reset the code from adb. The only thing you may do is, first make an adb backup, then do a factory reset and get the data back from your backup.


Only some apps on my moto g5 have internet access I have had a Motorola Moto G5 for around a month now and today, suddenly it seems that apps like Instagram are unable to connect to the internet.
I have restarted the phone, restarted the modem, reset the internet settings, forgot the wifi network, reconnected but nothing seems to work. When I turn on my 4G everything works fine. When I open chrome, I can access Google.
My Version of Android is 7.0 and it has the July 2018 Security patch level that was recently installed, could this be the problem?

Ah Ha! I may know the issue. My ISP, Talk Talk, has randomly enabled Kid Safe and is blocking some websites including the servers of the apps with no internet. When I use a VPN, everything starts working again due to KidSafe being bypassed. After disabling, it all starts working again without the VPN!


Razr Maxx HD, How to wipe data with broken screen My screen is totally destroyed, it's black and unresponsive. The phone turns on just fine, though. I just got my new phone and I have to send this one back now.

I want to wipe the phone before I send it back, but I'm not sure how. I don't care too much about sending back a rooted phone, it seems Asurion doesn't really care about that from what I've read, but I don't want my personal data on the phone when I send it in.

What are my options to wipe the phone without a screen? I've already read a lot of threads on other forums and here on the subject, but everyone seems to say to wipe through ADB shell. Well, I can see the phone in ADB, but I am unable to enter SU through ADB shell. I assume it's because the screen is locked, and I have no way to unlock it. Others have also said to wipe through fastboot in ADB, but I am seeing conflicting recommendations and I'm not sure how to proceed. I'm not that proficient with ABD, so I want to make sure I don't mess this up.  Any advice would be greatly appreciated.

You can obtain the adb and fastboot utilities as part of the Android Software Development Kit (or separately from third parties, but watch out for Trojan binaries). If you install the SDK, you will need to install the Platform Tools and (if using Windows) the USB Driver for Windows.

Once you have them, from whatever source, this is what you will do:

Reboot the phone to the bootloader (fastboot):

adb reboot bootloader

adb may not work if the phone hasn't previously been placed in USB Debugging mode. In this case, boot the phone to fastboot mode by first powering it off, then powering it on by holding all three of the Power, Volume Up and Volume Down keys at the same time for two seconds, then releasing all three keys, then touching Volume Down twice, then Volume Up once.
Check to see if the phone is in fastboot mode. If it doesn't show anything, wait a few seconds and try again:

fastboot devices

Wipe the user data/cache:

fastboot -w


Not able to access internal memory after setting SD as default My phone is Huawei Mate 8 (NXT-L29), latest version of Android Marshmallow and Emotion UI, not rooted, bootloader locked.
Today I plugged in a Samsung 128GB level 10 microSD card I got from Amazon. Everything works, speed is good and I loaded some movies on it with my PC. I then switched default storage from Internal Memory to Samsung SD Card in the phone settings. I managed to move my photos and music to the SD Card using Huawei File Manager. Now, every third party app I try (including PPSSPP,  ES File Manager Pro, EMUI Theme Editor, Debian noroot for Android and more) only detect the SD card as media (even if the most apps themselves actually are in the Internal Storage along with their data). With ES File Manager Pro,  going in either /storage or /storage/emulated I only find the respectively the SD Card as a folder and nothing in emulated. Why is this happening? I still have some files (including Minecraft PE saves) that I'd like to open (not copy) directly from Internal Memory. The only app seeing my Phone Internal Storage is the Huawei pre-installed File Manager. How do I mount/access Phone Internal Memory without rooting?

I am answering to my own question.
First of all,  on Huawei, SD Card support is very limited. You can barely use an SD to store files,  to save camera pictures, to store some app data in limited circumstances. Setting default media as SD Card does do not much of a change either. Since Huawei is not very open, they don't want you to mess with your phone's data, so if there is a memory card for data storage as an alternative, it prefers dedicating internal memory (the data.img file in the System Flash) to app data, which shall not be accessible by other apps, only by the app that is using the data. I think this is what Huawei would like as ideal configuration, but since not always you can use an SD Card, you also have the "all-accessible" mode.

Moral:
If you want to use an SD card with Huawei (for recording video, storing a great deal of music, having movies) NEVER tinker with default storage.
After setting default storage back to "Internal", ES and other apps are displaying Internal Memory as "0" and SD Card as "E43A-A70F".
If device is rooted, you can create the needed symlinks and not even touch Storage settings.


How do apps/games become featured in the Android Market? How do apps/games become featured in the Android Market?

As far as I know, they're simply picked by Google's staff. I'd assume they look for the general indicators of a quality app (good ratings, lots of active installs, etc) but popular or otherwise well-known developers probably have a leg up regardless. Google has never really come out and said "follow these guidelines", possibly to reduce people trying to game the system, similar to how they don't release their full page rank algorithm.
However, I can definitely say that it is not possible to purchase your way into the featured list. Google's Android Market developer help page notes specifically:

Featured and Editor's Choice apps are chosen by the Android Market
editorial team. There is no paid promotional spots or advertisements
on Android Market.

Technically speaking, the only restriction I've seen is that your app must have a properly sized "featured" image to be used on the "Featured Apps" area. Aside from that, Google has been very mum about the process.


Open Google Maps to location with NFC tag I have an NFC tag containing only one record, in the format of geo: [latitude],[longitude], and when I tap it to my phone the 2 options are the Waze app and Google Maps. Waze opens up to those coordinates just fine, even preparing a route for me instantly, but Google maps just opens like normal, like I just tapped its icon on the launcher and there were never any coordinates.

Am I doing something wrong, or does Google Maps not support that functionality? I've heard of others mentioning this feature but I can't find anyone actually saying whether Google maps is supposed to be able to do this.

Google Maps won't show a pin at the location unless you tell it to:

geo:0,0?q=34.99,-106.61(Treasure)

Read more in the common Android intents documentation:
https://developer.android.com/guide/components/intents-common.html#Maps


When typing, automatically replace specific characters with others (ie accented uppercase Greek vowels) I'm looking for an app or other way to automatically replace specific characters with others, from a list of my definition. This should be done in every possible text edit field, inline.

Ideally I would type up some text and, if the keyboard I'm using is configured to do so, it would replace as I type or after a word is autocompleted. Unfortunately I haven't found any keyboard app that allows for this.

A second way to do this would be to complete typing in any text field, select all typed text, share or copy paste to another app that will do the replacement, then paste the replaced text back into the text field. This seems like the most realistic solution to be looking for, and one that I could consider writing myself. I figured I'd check for a more elegant or existing solution before considering that.

The main purpose of this is to accomodate whoever types in Greek and wants to use a keyboard's autocomplete functionality, in particular to send SMS in GSM-ASCII encoding and thus be able to use 160 characters per single SMS.

All keyboards that I've tried (Go Keyboard, Swype, Swiftkey, stock ICS, Samsung), exhibit the same issue, namely the capitalized versions of the words in their Greek dictionaries incorrectly include accents on the vowels. This probably happens because the dictionaries include only the lowercase versions of the words, while automatically uppercasing them on demand to save store space or to avoid what they perceive as duplication.

Unfortunately, although lowercase greek vowels may carry an accent, uppercase ones must not do so. More importantly, the 7-bit GSM-ASCII encoding for SMS transmission that allows for 160 characters per SMS only includes uppercase Greek characters without accents (it does not include lowercase ones). As soon as a single lowercase or accented uppercase character is typed, the SMS must be sent using UCS-2 encoding which is 16-bit and limits us to 70 characters per SMS.

The list of characters and their replacements is this:

Ά => Α
Έ => Ε
Ή => Η
Ί => Ι
Ό => Ο
Ύ => Υ
Ώ => Ω

Would anyone have any idea how to go about doing this, in an existing app or some sort of macro with string replacement functionality?

Apologies for the long question, if you reached this far. I thought it was important to state the background that lead to this limitation. Thanks in advance.

Shortly after asking the question, I went about exploring the 2nd option I had thought of, namely using an intermediate 3rd party app to copy typed text to, replace accents, copy it again, and paste it back into the text field of the initial app.

I looked into Tasker and after a couple of hours managed to get a crude but effective solution using its quick dialog creator (Scenes) with an input field and a single button. I paste the accented text into the input field, click the button, and it removes all accents, copies to clipboard, and destroys the scene. For ease of use I am launching that one from a Task Cut shortcut that can be added to any home screen or even better, from a Swipepad portal.

Thus the crude and intermediate solution is the following:

type autocompleted capitalized greek words in SMS or other app, select all, copy
without switching apps, swipe to the Task Cut shortcut that opens the created Scene
paste into the text field and click on the button, which removes accents from uppercase vowels, copies back into clipboard, and destroys the scene
back in the initial app, select all, paste overwriting with the unaccented text

It is unfortunately not free as it requires the paid app Tasker. Hopefully the keyboard or atleast SMS apps will allow for this functionality, or even better someone will write the equivalent in a native android app.

I am including below the Tasker XML that you can use to import this into Tasker, should you find it useful. Below it I'm including another version that, on button click, fetches from clipboard without needing the user to paste the text. That one, however, requires root.

<TaskerData sr="" dvi="1" tv="1.3.1m">
<Scene sr="sceneRemove Accents From Greek Uppercase Vowels">
<cdate>1350679378737</cdate>
<edate>1350725381426</edate>
<gridSize>18</gridSize>
<heightLand>-1</heightLand>
<heightPort>362</heightPort>
<nme>Remove Accents From Greek Uppercase Vowels</nme>
<widthLand>-1</widthLand>
<widthPort>384</widthPort>
<EditTextElement sr="elements0">
<flags>4</flags>
<geom>20,20,343,214,-1,-1,-1,-1</geom>
<valueselectedTask>45</valueselectedTask>
<Str sr="arg0" ve="3">TxtUserInput</Str>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF000000</Str>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#77333333</Str>
<Str sr="arg3" ve="3">#77333333</Str>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
</EditTextElement>
<ButtonElement sr="elements1">
<clickTask>44</clickTask>
<flags>4</flags>
<geom>50,243,288,105,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3">BtnSubmittedText</Str>
<Str sr="arg1" ve="3">Remove accents and copy to clipboard</Str>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF000000</Str>
<Int sr="arg5" val="0"/>

</ButtonElement>
</Scene>
<Task sr="task44">
<cdate>1350679493963</cdate>
<edate>1350679493963</edate>
<id>44</id>
<Action sr="act0" ve="3">
547
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">%TxtUserInput</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ά</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Α</Str>
</Action>
<Action sr="act10" ve="3">
547
<Str sr="arg0" ve="3">%TxtResult</Str>
<Str sr="arg1" ve="3">%TempUserInput</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act11" ve="3">
105
Copied to clipboard
<Str sr="arg0" ve="3">%TxtResult</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act12" ve="3">
49
<Str sr="arg0" ve="3">Remove Accents From Greek Uppercase Vowels</Str>
</Action>
<Action sr="act2" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Έ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ε</Str>
</Action>
<Action sr="act3" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ή</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Η</Str>
</Action>
<Action sr="act4" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ί</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ι</Str>
</Action>
<Action sr="act5" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ϊ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ι</Str>
</Action>
<Action sr="act6" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ό</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ο</Str>
</Action>
<Action sr="act7" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ύ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Υ</Str>
</Action>
<Action sr="act8" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ϋ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Υ</Str>
</Action>
<Action sr="act9" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ώ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ω</Str>
</Action>
</Task>
<Task sr="task45">
<cdate>1350723583443</cdate>
<edate>1350723583443</edate>
<id>45</id>
<Action sr="act0" ve="3">
547
<Str sr="arg0" ve="3">%TxtUserInput</Str>
<Str sr="arg1" ve="3">%new_val</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
</TaskerData>

The below saves 1 step (pasting into the scene) but requires root:

<TaskerData sr="" dvi="1" tv="1.3.1m">
<Scene sr="sceneRemove (ROOT) Accents From Greek Uppercase Vowels">
<cdate>1350679378737</cdate>
<edate>1350727181786</edate>
<gridSize>18</gridSize>
<heightLand>-1</heightLand>
<heightPort>362</heightPort>
<nme>Remove (ROOT) Accents From Greek Uppercase Vowels</nme>
<widthLand>-1</widthLand>
<widthPort>384</widthPort>
<EditTextElement sr="elements0">
<flags>4</flags>
<geom>20,20,343,214,-1,-1,-1,-1</geom>
<valueselectedTask>46</valueselectedTask>
<Str sr="arg0" ve="3">TxtUserInput</Str>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF000000</Str>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#77333333</Str>
<Str sr="arg3" ve="3">#77333333</Str>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
</EditTextElement>
<ButtonElement sr="elements1">
<clickTask>47</clickTask>
<flags>4</flags>
<geom>50,243,288,105,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3">BtnSubmittedText</Str>
<Str sr="arg1" ve="3">Remove accents and copy to clipboard</Str>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF000000</Str>
<Int sr="arg5" val="0"/>

</ButtonElement>
</Scene>
<Task sr="task46">
<cdate>1350723583443</cdate>
<edate>1350723583443</edate>
<id>46</id>
<Action sr="act0" ve="3">
547
<Str sr="arg0" ve="3">%TxtUserInput</Str>
<Str sr="arg1" ve="3">%new_val</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task47">
<cdate>1350679493963</cdate>
<edate>1350679493963</edate>
<id>47</id>
<Action sr="act0" ve="3">
51
<Str sr="arg0" ve="3">Remove (ROOT) Accents From Greek Uppercase Vowels</Str>
<Str sr="arg1" ve="3">TxtUserInput</Str>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3">%CLIP</Str>
</Action>
<Action sr="act1" ve="3">
547
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">%TxtUserInput</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act10" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ώ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ω</Str>
</Action>
<Action sr="act11" ve="3">
547
<Str sr="arg0" ve="3">%TxtResult</Str>
<Str sr="arg1" ve="3">%TempUserInput</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act12" ve="3">
105
Copied to clipboard
<Str sr="arg0" ve="3">%TxtResult</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act13" ve="3">
49
<Str sr="arg0" ve="3">Remove (ROOT) Accents From Greek Uppercase Vowels</Str>
</Action>
<Action sr="act2" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ά</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Α</Str>
</Action>
<Action sr="act3" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Έ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ε</Str>
</Action>
<Action sr="act4" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ί</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ι</Str>
</Action>
<Action sr="act5" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ϊ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ι</Str>
</Action>
<Action sr="act6" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ή</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Η</Str>
</Action>
<Action sr="act7" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ό</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Ο</Str>
</Action>
<Action sr="act8" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ύ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Υ</Str>
</Action>
<Action sr="act9" ve="3">
598
<Str sr="arg0" ve="3">%TempUserInput</Str>
<Str sr="arg1" ve="3">Ϋ</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">Υ</Str>
</Action>
</Task>
</TaskerData>


How can I verify the authenticity of an APK file I downloaded? The latest update of Google Maps is unavailable in my country, so I downloaded a version by googling for "Google Maps 5.4.0 apk".  I did in fact find it, but now I wonder how I can tell if this is in fact the same version as in the market.

How can I be sure that it hasn't been tampered with? Are apps signed in any way? Is there any way of checking the signatures?

Sidestepping the debate over the legitimacy of installing that app on your phone, the question of verification is one that I've been meaning to understand for a while, and you've prompted me to try to figure out a possible way of verifying who signed an apk.

Android apps are signed in the normal manner of .jar files (.apk is really just a special .jar which is just a special .zip) however it may not be trivial to trace the authenticity of the certificates unless you have something known good to compare to.  That's basically what the phone itself does - verifies that something that claims to be from the same party as something already on the phone actually is - the phone doesn't refuse to install things with unknown signers, it can only (object to/clear application data of) apparent forgeries when something new doesn't match something old that it claims to.

You will need to have jarsigner and keytool. I believe these come from the JDK which is a prerequisite to the android SDK rather than the SDK itself.

First you want try to verify the public key contained within the .apk.  Usually this is in META-INF/CERTS.RSA but it can be in another file - unzip -l will tell you.  You want to see what you can find out about it:

unzip -p suspect.apk META-INF/CERT.RSA | keytool -printcert

That's going to dump out a lot of information about who the signer claims to be.  Some certificates are apparently themselves signed by known parties, but without figuring out how to trace that, I suspect you could do something like this:

unzip -p suspect.apk META-INF/CERT.RSA | keytool -printcert | grep MD5
unzip -p knowngood.apk META-INF/CERT.RSA | keytool -printcert | grep MD5

If you have a known trusted apk from the same author who used the same certificate.  I'm assuming that the certificates having the same MD5 sum is enough.

Assuming you've decided to trust the certificate, then you can see if it has been used to sign each of the files within the .apk

jarsigner -verbose -verify suspect.apk

(If there's more than one .RSA file in the archive, you should add the -certs flag to tell you which certificate(s) have been used to sign each file, so you can be sure its the certificate you verified)


What are the Wi-Fi disconnect reasons on adb dumpsys wifi? adb dumpsys wifi gives me, among many others, lines like this:

Event [IFNAME=wlan0 CTRL-EVENT-DISCONNECTED bssid=X reason=7]

What does reason=7 mean? What other reasons are there?

If this applies to Android aswell (I guess so since Android does use wpa_supplicant), reason 7 would translate to "Class 3 frame received from nonassociated STA" - Now what does that mean?

(I'm trying to debug WiFi disconnects that shouldn't happen.)

Most likely your problems are caused by one or more attackers performing the Wifi deauthentication attack. Due to a weakness in the Wifi WPA2 protocol it allows to deauthenticate any client ("kick" it out of the Wifi it is connected to).

There are even tiny portable deauther devices  which can deauthenticate any client in Wifi range. It does not matter if the Wifi is open or protected by a passphrase. Even if the Wifi is visible or hidden (hidden BSSID) is irrelevant for this attack.

May be some attacker using a deauther is driving by (car, bus, ...) and every time your device gets disconnected.

The only counter measure to prevent such attacks is the new WPA3 protocol which is supported since Android 10. To use it support for WPA3 has to be present in the Wifi AP and the Android device.


what is irq/464-14c2000 android What's this process doing in android?

irq/464-14c2000

I see it often - when cpu usage is turned on in developer options of my android device.

Is it some kind of interrupt service routine?

it has a PPID of 2

The only place I've seen mentions of something like this: XDA-Developers

From the names of other items, it looks like it's indeed the interrupt request (IRQ) from various hardware (you can see flip cover, sensor, NFC, power management IC (pmic), etc.), but there are ones with similar cryptic numbers whose purpose is unknown to me.

My advice? Just ignore it.


Installing incompatible ROMS I was wondering if you are able to install ROMS, for example, the Ubuntu Touch OS for the GS2 i9100 onto the GS2 SPH-D710. Will it brick my phone?

In general, no, it is not possible to flash ROMs made for a different model.

Specific to your device, no.  Flashing ROMs for the I9100, I9105, I9100G, I777, and T989 on you device will result in you having a phone-shaped paperweight.

You can find appropriate ROMs for your device here, among other places.


Mobile data on but not working I have a Galaxy SIII (Android 4.3) phone on the Vodafone network (UK). I was using WiFi when available and mobile data occasionally. It all worked fine. When on mobile data, I would see an icon on the top bar showing a little letter H with two arrows underneath.

But now the mobile data has sort-of stopped working. I say sort of because it appears that I can still turn mobile data on, and I still get the little H with two arrows, but none of my apps that use data appear to actually be able to communicate with the internet. I don't actually get any "no connection" messages, instead, I just get rotating wheels and other indicators that they're trying to get something that's not arriving.

If I switch back to wifi then everything starts working again.

Any ideas?

EDIT: I have not installed any custom ROM. The phone is not rooted.

EDIT: I just called vodafone, who suggested a variety of things that made no difference. Now they've said it may be a fault in my SIM card and are sending me a new one.

EDIT: New sim card arrived. No difference. More calls to vodafone, multiple suggestions... nothing has worked.

EDIT: Tried sim in Galaxy SII... all symptoms identical. Saw little H icon (sometimes flipping to "H+" or "3G"), but no mobile data getting through.

SOLVED! it suddenly started working again. I suspect it was a fault at vodafone's end and my last call to tech support induced someone there to correct the fault.

TLDR: use a SIM with a different number (no matter if Vodafone or a different service).

We see a symptom (no net), but we have to find out the cause first, to solve the problem. So let's think step by step, what the problem could be.

Faulty phone?
No, your other phone (the SII) doesn't work either (using the same SIM).*
Faulty SIM?
No, you have already tried a new SIM.
Faulty cellular tower?
No, you have already tried an other tower (by changing location).
Faulty Vodafone?
Likely, because I'm sure they have net, and you're sure that they have to give you net (data limit hadn't been reached), plus we've found out in the previous questions that it isn't about the net is stuck between you and them. The only problem here is that you have already asked them, so they should have investigated the issue. But I'm sure they will take a next - more in-depth - look, since all the other possibilites are crossed out now.

I advise you to call Vodafone again, tell them that your phone is ok, your SIM is ok, the local tower is ok, your data subscription is ok, and then there is nothing left to do: they have to accept the fact that there is something wrong with their service. Until that, use a SIM with a different number, I'm sure it'll work in your current phone.

* To be 100% that your phone is ok, try a different SIM with a different number. I think the new number can still be Vodafone, because only your current account is affected (your current number), not the whole infrastructure. However, if you don't want to experiment (and your phone is unlocked), you can immediately get a SIM from an other company, as Firelord suggested in a comment below. (So that you are safe, even if the whole Vodafone system is damaged.)


How can I update a system application without re-installing the OS? I have create an application and installed it to a device in the Android system image.

Now I have added some new features to my app and I want to update my current install app with that new feature.

One way I could do this is by re-installing the android OS with the new version of the app.

Is there another way that I can do this so that I can update the app without having to update my whole Android operating system?

As long as you have the release key (or whatever key you use) used sign the app in the /system you could just quickly side-load your application:

adb install -r bin/my-signed-app.apk

Note the '-r' option.

This will update the application, but not remove/update the apk file in /system or clear the user's data.

You might have to clear the data first due to database schema changes:

adb shell pm clear my.app.package

You could then go and manually remove this 'update' via the app settings Activity.


Corrupted files on internal storage (now readonly), how to repair internal storage? I have an GT-I9100 with Chameleon.3.0.4 ROM (and ROOT).
Android-Version is: 4.1.2

Since few month, my internal SD-Card (internal storage, not external SD) became readonly.
I cannot add/edit/delete any files on it anymore.

I noticed corrupted files in /storage/sdcard0/Android/data/com.google.android.youtube/
(wrong filesizes (each > 3GB) and wrong/unreadable filenames),
which I am unable to delete or fix.

So, I tried to execute fsck_msdos -y /dev/block/vold/259:3 (as root) via ADB-Shell, which shows me:

** /dev/block/vold/259:3

Boot sector contents:

sectors per cluster:..........64
number of reserved sectors:...2236
number of FATs:...............2
number of sectors are in FAT:.2946 (1473 KB)
cluster mask (bit):...........32

first cluster offset..........8000
cluster size(bytes):..........32768

hidden sectors:...............0
number of clusters:...........376963

volume serial number:.........407a-07d3
volume label:.................NO NAME    { 0x4f 0x20 0x4e 0x41 0x4d 0x45 0x20 0x20 0x20 0x20 0x46}

** Phase 1 - Read and Compare FATs
Attempting to allocate 1473 KB for FAT

Attempting to allocate 1473 KB for FAT

** Phase 2 - Check Cluster Chains

** Phase 3 - Checking Directories

Invalid long filename entry for /Android/data/com.google.android.youtube/�ILES

Remove? yes
check_dot_dot: '.' absent for /Android/data/com.google.android.youtube/�ILES.
check_dot_dot: '..' absent for /Android/data/com.google.android.youtube/�ILES.
Remove? yes

FSNext block (322159) is correct, NumClusters (376963)

12387 files, 646240 free (20195 clusters)

***** FILE SYSTEM WAS MODIFIED *****

Which looks good.
But when I re-run this command, I always get the same result.
Which shows me, the file system was not modified, cause it's readonly.

So, I tried to re-mount the storage in RW-Mode.
Fixing the file system, did not work for me. (fsck_msdos couldn't repair the fs)

Question:
How to repair the internal storage?

This is an answer to my own question:

I managed to fix this problem (until now), by doing following:

(NOTE: Do this at your own risk!)

01.  boot into Android and enable USB-Debugging
 02.  backup data from SD
 03.  update busybox via PlayStore
 04.  reboot into recovery mode
 05.  mount system partition (via recovery tools like CWM)
 06.  connect to device via USB + ADB(-Shell)
 07.  get internal SD device name (via mount which is for me/dev/block/mmcblk0p11)
 08.  format internal SD (via mkfs.vfat -F 32 /dev/block/mmcblk0p11)
 09. check new formatted partition (via fsck_msdos -y /dev/block/mmcblk0p11)
 10. reboot into Android and check if internal SD is writable again

Until now, my internal SD became writable again!
Of course, all data is gone.

Cheers!


I can't take screenshots on Galaxy S3 mini I've had the Galaxy S3 Mini for about two weeks and I can't take screenshots anymore. I hold down the home and power button but it just takes me to the task manager window. I also can't seem to be able to turn off or reset my phone.

I would recommend trying the other way to make a screenshot on the SGS3. Simply swipe with your palm from left to right over the screen. If that does not work, ensure that the gesture is enabled in your device's settings menu.


Upgrade a partially Downgraded Moto G4 Plus (XT1644) with unlocked bootloader to Nougat tl;dr: had a problem rooting on Android N, flashed stock M image. Now running unrooted M, but attempts to OTA upgrade to N fail. I'm unable to relock bootloader by reflashing stock. I think this is because Motorola doesn't want users to downgrade. How can I get back up to N?

For the past year I've been using Android 6.0.1 rooted on my Moto G4 Plus (XT1644), the US retail model. This weekend I wanted to upgrade to Android 7.0 and install the security patches.

I made backups of my phone using FlashFire (standard and fastboot), then followed this guide to return my phone to stock and relock the bootloader. It worked, and I was able to OTA update to Android N and install the latest security updates.

I still wanted root, so I unlocked the bootloader again, booted into TWRP, and flashed the Magisk zip. After doing this, the phone would not boot except to recovery.

Here's where I screwed up. I figured I could just start again, and tried to flash the same 6.0.1 stock image. It worked, and the phone is now running 6.0.1, but is unable to install OTA updates. Further, when I try to flash stock and relock the bootloader, fastboot warns me
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
for most steps, and (bootloader) Still require signed boot.img when I attempt to fastboot oem lock. The same happens when I try to restore my FlashFire backup. I believe this is functionality to prevent users from downgrading, although I was able to revert to 6.0.1.

I can't find a stock Android N rom for XT1644, just an OTA udpate I'm unable to install. What steps can I take to get back to Android N, or to completely revert my phone to stock so I can upgrade again.

You can update to Nougat by downloading stock firmware and flashing it via fastboot. For full guide go to this xda thread.
Method and files will work for XT1640/XT1641/XT1642/XT1643/XT1644.

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize (optional: will erase any customizations if ordered through motomaker)
fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
fastboot oem lock
fastboot reboot

As you stated in the question that you are unable to run fastboot oem lock begin so skip this command and you will update to android N with an unlocked bootloader.


Is there any way to recover a camera view (photo) that I didn't take? So it happened that I asked a person to take a picture of me with Huawei P9 Lite smartphone. She said she took it but it happens she didn't because she didn't even press the button. I know this sounds crazy but is there any way to see that photo she had to take? I mean the camera was turned to me and the camera app was opened.

If the picture was not actually taken, you cannot recover it. Your phone doesn't record what's done on the camera screen, unless you actually record a video or take a picture.

If it would be recording the whole time, that would take all your phone's memory and it would probably be against some privacy laws.

The above is assuming that you didn't download a special camera app that has this function.


Package error "package file was not signed correctly"  when updating Google+ Possible Duplicate:
  Updating GPlus Signature Error

In trying to update Google+ I receive: "package file was not signed correctly uninstall the previous copy of the app and try again".

The problem is I can't find Google+ app in the app manager.

What can I do to solve this problem?

Galaxy SII I9100
Android 4.04
Rom: Resurrection Remix 2.0

You can try deleting the app folder entirely in a file browser of your choice. You should be able to find a folder called:

/Apps/Google+

If you remove this folder completely, there should be no confusion as to whether the app is installed on your phone or not. From this forum thread I would also like to point out that it might be an issue with Titanium Backup if you use that. Try removing any backed up versions of the app in that app as well for good measure.


Remote path to Angry Birds Space savegames I'm following this answer on how to backup Angry Birds settings and hi-scores using Android Debugging Bridge. The command:

adb pull /data/data/com.rovio.angrybirds/files/highscores.lua C:\ab_highscores.lua

works perfectly for Angry Birds original, Rio and Seasons. The paths I need to change are:

angrybirds for original Angry Birds
angrybirdsrio for Angry Birds Rio
angrybirdsseasons for Angry Birds Seasons

Now, what is the path for Space? The most obvious one, angrybirdsspace is giving me error "Remote object not found".
Alternatively, how can I list content of /data/data folder? I think it's not possible with ADB.

adb shell ls -l /data/data command will get you the file and directory listing you are looking for.

Specifically for Angry Birds Space, try adb pull com.rovio.angrybirdsspace.ads/files/highscores.lua C:\abs_highscores.lua


Disable service permanently I would like to disable some services/apps on the Android. Some run that I do not want to.  I do not want to have to stop the service every time I turn off the phone for obvious reasons.

As I've read in different places: Freezing apps does not necessarily mean their services won't be running anymore. It seems even frozen apps are able to react on broadcasts, so freezing alone won't solve the issue. Reference:

If the app you freeze is sending the intent, then no the intent will no longer happen. But if the app is receiving intents, then yes it should still receive them. (ASE)

The solution would be to use an app like e.g. Autorun Manager PRO (yes, the pro -- the free version is limited here) to disable separate listeners, so the corresponding services will no longer be started. A free alternative might be AutoStart Manager which I have not tested myself:

AutoRun Manager / AutoStart Manager (click image to enlarge)

Having disabled the corresponding listener, the app (frozen or not) should no longer receive the broadcast for the event it usually reacts on, so it will no longer start on that event, and thus no longer be running -- unless started manually.


Where does Lollipop stores notification log? Android 4.3 and above allows access to a list of historical notifications using the Settings widget. The scope of "historical" is limited to current session of Android and the list is populated with new entries once the system is rebooted.

(Click image to enlarge)

So, where does this notification log is stored in Android?

I had no luck finding anything good named "notification". I already did a system-wide search with nothing positive to report here.

find / -iname "*notification*"

I watched the real-time output of adb logcat -v long (tried with explicit root access as well) but there was no common event  when a notification popped up in notification drawer. I was monitoring the ping request (shows up as a notification) to KDE Connect sent from my Slackware Linux, for the test case.
The entries that are visible in Notification drawer can be traced back to the output of notification service,

adb shell dumpsys notification

As said, you get the current ones but not the historical ones.
The real name or codename (I suppose) of notification service is android.app.INotificationManager.   I attempted to dive into its  source
code and there is nothing positive to report. It is very likely that being not a programmer, I might have missed a thing or two of importance.
I, while being reluctant for being illogical, did peek into the data directory of Settings (com.android.settings) and Settings Storage (com.android.providers.settings) apps. Nothing interesting there.

I presume that either the log is managed in the memory by a program or at some location in storage where the logs are frequently flushed after current Android session ends. I've no idea what I'm talking here.

Edit:

I've the Notification access to Tasker under Settings → Notification manager already enabled. So that's definitely not the roadblock here.

(Asked by Lucky) The intent associated with that Notification log window accessible through Settings widget has the following things:

Action: android.intent.action.MAIN
Category: com.android.settings.SHORTCUT
Flag: 0x10200000
Component: com.android.settings/.Settings$NotificationStationActivity

Note

I've a rooted OnePlus One running COS12 (Xposed Framework installed) and many Android 5.1 ROMs.
I'm absolutely aware about many apps which can record notifications and lets you see them. But as you would've guessed by now, I'm not interested in futuristic past but the past related to present moment. In short, I want access to native raw files or logs to see both the historical and current notifications without depending on third-party apps.

My goal

When a secondary user is in focus, Tasker (running under Primary user) misses any profile which depends upon an incoming notification. Google has noted the fact here:

  Notifications for other users do not appear until they are active.

But you can still see those new notifications in the output of adb shell dumpsys notification. So I want to access the logs directly to make my task(s) work, thereby removing the dependence on notifications showing up in Notification drawer.

The historical record is stored in memory, and is not directly available in the service API (as far as I'm aware). The Settings activity accesses it through the NotificationService.getHistoricalNotifications() method, but this method is not exposed in the NotificationManager API (only getActiveNotifications() is). You might be able to do it through reflection (not tested) but you definitely will not be able to find a file with this information. My understanding of most apps that display these records is that they actually keep their own list somewhere, and add new items as they are posted. Hence, they would not be able to access your historical record from before the time of installation.

All of the logic for managing the queue is in the NotificationManagerService$Archive inner class. The gist of it is that when a new notification comes in, the system sends it to the the service which then calls Archive.record(notification). By default, AOSP has the configuration set so that the Archive will hold a maximum of 100 records, then it will start popping the front item from the queue each time a new one is added.

Your only real option here is likely going to be polling the output of either adb dumpsys or the NotificationManager.


is it possible to mask esn of a smartphone? On a computer, it's possible to trick a server that you are using a different computer by masking MAC address.

Is there something like that for android?
Rooted phones have full access. So I'd think it should be possible.
I don't mean wi-fi mac address, I mean 4g/3g alternative to mac, I assume it's ESN.

If that is possible, than there is a security problem. Someone can pretend that they are using your phone. Of course, there is still Google account password but still, is this possible?

Since the nature of your question is simply "is this possible", the answer is yes, there are ways to spoof your ESN. Often this is a form of phone cloning, which is also simply referred to as ESN cloning. The concept is that you take one phone and then configure it to broadcast using the ESN of a different phone, effectively "cloning" the second as far as the network is concerned.

However, it's important to note that in most Western countries (and possibly elsewhere) doing this is illegal. In the US it is considered "cell phone fraud" or "subscriber fraud" and is covered on the FCC's website in some detail. I believe it's similar across much of Europe.


Titanium freezers (hangs) on app restore When I restore my apps with Titanium, it gets stuck on certain apps and just sits there and does nothing. The only thing I can do is go to Titanium's app info and force close it.
I have tried changing the options in preference for app processing, but this didn't help. The option for indirect install has exactly the same problem. The interactive option helps that it doesn't freeze but it still doesn't install the app. I don't want to use the interactive mode since then I will need to interact for each install.
Does someone know how to fix this? Or at least a way to make that if it can't install an app it should skip it.
Here is a list of some of the apps that Titanium freezes on.
(these are the package names)

all.in.one.calculator
cn.wps.moffice_eng
com.adobe.reader
com.awiserk.kundalias.rootboot
com.discoverfinancial.mobile
com.kts.draw
com.microblink.photomath
com.music.star.startag
org.connectbot
org.geometerplus.zlibrary.ui.android
oyw.tnc

You should update to the latest version of Titanium Backup. I had the same problem but haven't had this since I updated to the latest version.
I'm on version 8.4.0.2


Yureka fastboot not detected in LINUX, but adb detects device fastboot detects Redmi 2, but not Yureka.

I am trying to install Cyanogenmod in Yu Yureka. When I tried installing the CM zip with default recovery, it failed stating "Signature Verification Failed".

So I tried to install the TWRP recovery using fastboot. I did the following:

root@konoha:~# adb devices
List of devices attached
2a25599 device

root@konoha:~# lsusb
Bus 003 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 046d:c534 Logitech, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 05c6:9039 Qualcomm, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 0bc2:5071 Seagate RSS LLC
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@konoha:~# adb reboot bootloader

root@konoha:~# fastboot devices

root@konoha:~# grep 05c6 /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
#SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"

root@konoha:~# cat /etc/group | grep plugdev
plugdev:x:46:itachi
root@konoha:~#

I get the fastboot screen on Yureka device, but no luck with fastboot devices.

(Click image to enlarge)

Some suggested that running fastboot as root user solved this. But that too didn't work for me. But for Redmi 2, I was successfully able to install TWRP recovery using fastboot, so that makes fastboot works, but not for Yureka.

I am using Ubuntu 14.04.

Yureka requires the vendor id as a parameter for fastboot.
try the following (tested on yureka plus)

  % lsusb

  Bus 003 Device 003: ID 1ebf:7001

  % fastboot -i 0x1ebf devices


Lying about api version I have this banking app that launches normally but then displays a message saying my android version is not supported. So I think there is just some simple if checking my android version. I'm using l preview.

Is there a way to lie about api version only for this app as it seems to launch otherwise ok.

I looked for 2 hours. I didn't find any Xposed modules, nor any apps that will do this on per-app basis. But you can change the response for your Android version. This is accomplished by changing the version in your build.prop file. This will be a PIA. It also involves some type of risk, so this will be on you if anything goes wrong. Read the last part of my answer more than once.

This involves root, build.prop file, backup build.prop, modified build.prop. Switching files around with a file browser. Rebooting. Using your app. Switching files around. Rebooting.

OR

Download one of the many build.prop editors available on the Play Store. Find an open source one. You can edit the version inside the editor app. It will have options for backup of build.prop file as well. Rebooting still required.

ALWAYS MAKE A BACKUP/NANDROID WHEN MAKING CHANGES TO THE SYSTEM


unlocking problem in hcl me v1 I installed Google play in my HCL ME V1 tablet. It was working fine, when i restarted the tablet, my pattern unlock type changes to swipe screen unlock, and when I swipe it to unlock the screen the lock fades away and does not unlock.

What can I do to solve this issue?

The only known solution is to hard reset....

Start the tab with Volume Up button Home button pressed...
Select "Hard format" from the menu (Be careful while doing this)

(Note:It will delete all apps,contacts &restore it to initial stage)


How to set Home country for Google Now? I'm living in UK and all my apps understand it. All except Google Now. It keeps showing me cards about the rate between $ and £ or time in US (supposed to be time at home).

I checked all my settings and UK is set every where even for my Google account. I've got a Nexus S running Jelly Bean that I bought in UK.

How to make Google now understand that I live in UK? Am I missing something?

Google Now by default will think that you're in the USA.
The app pulls your home address from Google Latitude. This is also how it knows when you're home and it is the basics for traffic info.

To change this go into:

Maps ->  Location History (tab)

Here you can set both your home and work address.


How to Uninstall the lollipop app Could you please tell me how to go back to my old android? I have a Samsung S5 and I tried the factory reset and that did not work. I hate this new android version

Download previous firmware.
Try samfirmware.com
Use odin to flash it.
And you will be back to stock and dont forget to back up your data


Removing a contact from "Direct Share" panel I just migrated to Android 6.0 and the 'Share to' panel has a new grey area on top of the various apps in which it puts contacts that, I assume, you pin there. This would be a good feature, except a contact ended up there and I can find no way to remove it. Is there one?

Specifically, the contact seems to have been put there by the Messenger app but there is no way to alter its pinning from the app, either.

It turns out that - for rooted people - there is a way to completely turn off Direct Share!

For the short version skip to the bottom of this answer.

In my search for a way to stop this stupid feature from bugging me I had a look at how the feature is actually implemented in apps by developers. It turns out that they register a service with an intent receiver (read: event listener) and when I realized that, I started looking for a way to block certain intents from broadcasting through the system. Well, Android actually has that built in. It's called the Intent Firewall. I quickly figured out how to create a rule for it to block apps from receiving the "Hey are there any apps that want to bug the user by putting a couple of Direct Share buttons under their thumb as they're about to tap something?"-event.

You just create a simple xml file like and drop this into it:

<rules>
  <service block="true" log="true">
    <intent-filter>
      <action name="android.service.chooser.ChooserTargetService" />
    </intent-filter>
  </service>
</rules>

Now you have to put it on the phone and copy it into the Intent Firewall directory. On most devices that would be

/data/system/ifw/

I simply used Root Explorer to copy the file there (no chmod required), tried to share something that caused Direct Share targets to pop up and BOOM! Nothing!

I recommend to do some background reading (see links above), especially about how the Intent Firewall works and how you can find the folder.

Happy not-sharing!


GNex factory reset apparently doesn't write anything and I'm not able to update my gnex (maguro) started rebooting frequently (like every 30 seconds). I hope is not an hardware fault and now I'm trying to restore a factory image so I can rule out any custom rom-derived problems.

I'm trying to flash yakju-jwr66y the problem is when I flash the bootloader and radio everyithing is ok but when it reboots to install the rest of the system the bootloader and radio are still not updated!

If I try to update manually the bootloader this is what I get:

Code:

wax@pasifae:~/Scaricati/yakju-jwr66y (2)$ fastboot flash bootloader bootloader-maguro-primemd04.img
sending 'bootloader' (2308 KB)...
OKAY [  0.308s]
writing 'bootloader'...
OKAY [  7.971s]
finished. total time: 8.279s
wax@pasifae:~/Scaricati/yakju-jwr66y (2)$ fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.006s]
finished. total time: 0.006s

But the bootloader version is still the primemd03! The same goes with the radio.
What is going on?

The problem was the EMMMC is fried. The only solution is RMA


Play Store downloads failing for subset of apps I have an issue where Google Play Store will not download updates for a specific subset of my installed apps. I'm using a Sony Xperia Z5 with Android 7.1.1.

When the problem apps attempt to update in the play store the download percentage goes past 100% for a bit at which point it resets to zero and starts downloading again. It tries to download each app three times and gives up. This suggests to me some dodgy cached data somewhere? It also appears like my phone may be having issues downloading the "google play security information update" (although I'm not certain of this) as I will often see a notification that this file is being downloaded, pop up, appear to complete, and go away, and then straight away pop up and download again. This suggests to me that it is doing the same thing as the apps in play store?

I have tried nearly all the recommended actions for fixing play store issues. I have cleared cache and data, and forced stop on Google Play Store, Google Play services and Download Manager and then restarted my phone to no avail.

I haven't removed and re-added my google account (which is another recommendation for play issues) as I'm not sure how much of a pain that will be to re-add?
I tried updating to the latest beta version of the play store but that didn't fix the issue and it has been happening for around two months now.

The one thing that has managed to work, temporarily, is to uninstall updates on google play store. This takes me back to a very old version of play store but all downloads then work correctly. The problem I then have is play store insists on periodically automatically updating itself at which point all the same apps stop downloading again! I'm not sure what triggers play store to update itself or how to stop it. Sometimes it happens quite quickly after rolling back sometimes it takes a couple of days.

My only "solution" at this point is to uninstall updates on play store each time it re-updates itself. If I happen to miss that this has happened my phone will sit there happily trying to download the same app updates over and over using tens of gigs of data over a day or two (lucky only on wifi). Each time play store reinstalls itself it also automatically turns "auto update" (which I have disabled) back on!

The fact that it is the same subset of apps that fail each time is weird too. They are a diverse range of apps, some games, some utilities, some educational so this suggests that it's not the apps themselves that is the problem but some kind of corrupted data/cache issue? Some files that play store or the download manager uses that aren't removed when you clear the cache or uninstall play store? I feel like if I could just check a log file somewhere as the play store fails on a download I should be able to work out what is going on but I have I non-rooted phone so I think my diagnostic options are limited?

I have found a partial answer to this issue. It appears to be related to a google play error reported as error 963 elsewhere online. I'm not sure how you get the associated error number as I get no message or sign that anything is wrong other than the download being attempted three times and stopping on the third try?

After looking through endless sites suggesting the same old solution of clearing cache and data and uninstalling updates I came across a site that mentions the issue is related to the app being stored on the SD card.

https://www.technipages.com/google-play-error-963

Following these instructions worked for me. Basically, all the apps that were not updating were stored on my SD card. After moving them all back to internal storage I could once again successfully update them.

The only remaining issue I have is if I try and move them back to the SD card (either via the app storage preference or via the auto "you're running out of internal storage move apps to SD card" thing that pops up from time to time) then the next time the app gets an update it fails to complete again and I have to move it back to internal storage to get it to update.

I can only surmise that for some reason when the app is on the SD card google play doesn't have the required permissions to update the data. Having said that it is strange that uninstalling updates on google play also fixes the issue as that suggests that the factory version has the required permissions and this bug has been introduced at a later date.