text:
root integrity check: System check FAIL!
In my attempts to troubleshoot a Notifications volume turning itself down problem on my HTC Desire 728, I selected in "system recovery" menu the option of root integrity check.
It ran quickly, displaying the following:

Now check begins, please wait.....
load source zip file fail
System check FAIL!!

In the context of HTC, what does "root integrity check" actually means? Is it just an fsck? If so why does it need to "load source zip file"? What does this FAIL!! mean?

Wouldn't it be better to describe the "mysterious problem" to us, instead of following a possibly unrelated path?

@DeathMaskSalesman You're right. See edit in the OP.

Root integrity check fail means some person have modified apk or file on your android it means they could also spy on you because every apk have java permissions that you might not know off unless u check on computer with adb commands and remove the modified apk and files manually


text:
How to backup and restore APN setting via ADB?
How to backup and restore APN setting via ADB?
I'm on Android 6.0 without root.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Change adb permissions to rw?
I have LineageOS on my phone. I'm looking to edit some files in /system.
I'm using root permission for adb devices from Developers Options. When I request to move file into /system, I get the message no permissions.
I tried to change permission with chmod but its not working. Since I don't have root permission for apps I can't change it from file manager either.

This was discussed thousands of times

adb root then adb remount should be sufficient. However, you can also get addonsu for LineageOS of your version and device architecture, which enables root permissions for apps in Developer Options.
I understand some users might explicitly avoid opening up root for apps, so pick between the two according to your needs.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Virus alert in my android phone
A message that my phone is infected by virus is displayed and a button appears to deactivate it now.Its not my antivirus anyway. Sometimes a countdown also begins. what is all this? is it really a virus?

Do not click the button, close the webpage instead.
Only your antivirus will alert you of viruses, this is obviously a scam to get you to click that button.
When you visit a website, your phone sends some information like which webbrowser it is using and the device model to the webserver, it is common that people abuse that by making a "personalized" message about virusses that is meant to trick you into going to a website of theirs or installing a malicious app.
They display the device model to make it look more real and to unknowing users this makes the people who made the message look trustworthy and allknowing, and the countdown is to put you under pressure.
I cannot tell you what happens when you do click the link because i never did that, but i can tell you that it is far more likely to install virusses than remove them.

When you see countdowns and generally psychological pressure is applied in order to click a button, the best thing you can do is NOT click it because something is not right there. Go to another (trustworthy) webpage and you will be fine. Just don't click the button.


text:
Xiaomi Mi A1 System Update installation problem
I wanna update my mi A1 phone through System update. It download the file but I get "Installation Problem" Error.
Is there any way to solve the problem? Or any way to download the file and install it manually? I downloaded it 3 times and every time got the same error.

Screenshots (click to enlarge)

Same problem here =( Did u install Gcam?

No I didn't.
This this is what i did and now I can't turn the phone on :,(


text:
Xiaomi Mi A1 phone won't turn on
I tried to install android 8.1 on my Mi A1 phone by following instructions from this site. After finishing the installation when I tried to reboot the phone, The phone turned off and I cant turn it on again.
When I hold the power button or when I connect the phone to PC, the LED start blinking with a vibration.
Please help... I bought the phone recently and I think I destroyed it in less than a weak :'‑(

Have you rooted your device? May be a solution can be found from here : https://forum.xda-developers.com/mi-a1

@RahulGopi no it is not rooted.


text:
How to stop apps from self installing
I have a problem for quite some time now. An app called xeroxservice which does not have any icon except that of apps like Google framework etc keeps downloading and installing itself without permission and notification. I can locate the apk in download folder. If I Uninstall it, it downloads another apk and install itself. It is surprising that  unknown source is unchecked and play store automatic update turned off. Virus scan doesn't detect anything and my device is not rooted. I Uninstalled all bloatwares and even stock browser with adb. Is there a way I can handle this it without factory reset? Thanks friends

Do you have a Xerox smartphone?

It would help if you could [edit] your question and include what device you're using and what Android version it is running. Apart from that, have you seen the questions linked in the "related" section of this page? Examples of related questions with answers: Unwanted apps auto installing without me doing anything. How to stop them? // Apps trying to install in background // Unwanted android apps keep reinstalling

Thanks so much. I went through related questions but thought my question is different because 1) installation from unknown source is unchecked 2) automatic update turned off 3) device not rooted 4) all manufacturer apps that are bloatware to me have been completely Uninstalled for the current user with adb. But this app the apk somehow is always being downloaded and silently installed. My device is an MTN L860 running stock 6.0


text:
Bad root on Galaxy S7 needs unrooting
So I'm not sure exactly what happened, but Dr. Fone by Wondershare seems to have messed up my root.
I'm on a Galaxy S7, Android 7.0 with Nougat.
My phone is acting like it's rooted (VoLTE icon and "hurricane" symbol in the notifications bar, "unauthorized actions" notification appearing) and when I plug it back in to Dr. Fone, it tells me it's rooted and gives me no option to unroot.
But when I open any root checkers or unroot apps on the phone, it says it's not rooted so I can't undo it.
Any advice?

I had a similar problem and was able to un-root (and later re-root successfully) using the Kingo Android Root (PC Version) which runs in Windows and roots/unroots via a USB cable to the phone with a different process than the on-phone apps.
I hope you were aware before you started that there's always a chance that root will "break" your phone, rendering it useless from then on.  (Hopefully this isn't the case for you.) There are also a lot of downsides to rooting; certain apps and features that become unusable (not the "free for all" I was originally lead to believe.)


text:
How can I schedule timer to power on and off device?
Is there any way to schedule timer to power on and off device?
Example daily power on at 8am and power off at 10pm.

Depending on the device that you are using, this setting can easily be configured, in fact it comes natively on some devices like Xiaomi (MIUI), LG, Oneplus or Lenovo.
For example on my device running MIUI 9, I can easily configure the timer like so:
Open the Security App → Battery → Settings (Gear icon on top right corner) → Schedule power on or off:

Enter time setting and tap OK, you're all set!.
Alternatively this feature can also be configured on some android ROMs:

Settings → Advanced → Scheduled Power On / Off.
Configure as needed.

Another workaround:

If neither of these options is available, then you could simply take
  the advantage that your android device can be woken up by an alarm
  even if its in the off state:

This workaround simply requires any android app capable of turning off the device at scheduled time e.g Tasker, Automate, Macrodroid etc
Then set an ideally silent alarm (e.g stock CM11S alarm (with a silent alarm) to power on the device.

Credits Oneplus forum: Schedule power on and off

A perfect and simple checklist. Thanks! After going through each option I've discovered that the scheduled power on is not available on Nokia C01 Plus. I've checked all these possibilities, and it's simply not there in any form. I mention this as a known "for instance", as there are probably many others. It would interesting to know whether the feature is mostly there, or mostly not there.


text:
AppMgrIII doesn't uninstall android bloatware - only disable
I have an old LGLS660 with 4 MB internal memory making install of new apps almost impossible - added MicroSD card to expand by 16 GB - rooted successfully with kingoroot.
So I d/l this app I was able to move some apps but not uninstall the android ones I don't use which was the entire point of all this fiddling.
How should I get rid of the unwanted apps?

after looking at KINGOROOT more carefully I realized it has built in tools to remove the android apps. So I uninstalled this program b/c it was not necessary.


text:
Is Google Photos synchronisation secure on public wifi
Can someone (owner of public nw or intruder) perform man in the middle attack and steal the photos while they are getting synced over public wifi?
Assuming they don't have any control on my cell phone, just by sniffing the packers, can someone steal the photos?

All services at google are using secure transport layer (TLS).
That means all the data you send or receive from google's services are encrypted with strong cypher suites.
If some one capture your data, he will not be able to decrypt it.
Please see google documentation here:  Google Infrastructure Security Design Overview


text:
Changing App Installer to Flashable Installer?
Hello There Everyone!,
To clarify the title...
Is there a way to change, modify, convert, etc... an App Installer (.apk) to a Flashable Installer (.zip).
I'm not referring to just creating a zip to simply copy the apk file to its desired directory but, to either install the app as a new app and/or upgrade an existing one in the same/similar fashion as would an apk itself would be installed.
I tried to search around and the results aren't specific to what I'm asking and reflects the copying of the apk file rather than the installing of it.
I hope that I had explained this okay via text... :-)
Thank you very much for your time and understanding with this question!
~Ibuprophen

Copying it to the appropriate directory in /data/app does install it on next boot. Unfortunately "appropriate directory" isn't always easy to figure out.

Installing APK Files just copies them to data and sets up the working directory for it in data/data ... It would be exactly the same as making a zip that copies the apk to desired location, except you'd need to create the folders under data/data in the flashable zip.. mkdir /data/data/com.example.app

Tested and confirmed working on LOS 14.1: installing e.g. OctoDroid is simply a matter of creating the com.gh4a-1 directory (name comes from the app's package name plus the -1 suffix) under /data/app, uid/gid == 1000, mode == 755. Then, drop the app's APK inside that directory, rename it to base.apk, set uid/gid to 1000 and mode to 644. Finally, reboot and Android will handle lib extraction, app uid/gid creation and so on. If it works for you, I'll make it an answer.

The above would only work for <= Android 7.1. Android 8+ hashed the folder names.

@AndyYan Could you make an example?

@DeathMaskSalesman Like this. I honestly don't get why they decided to change this, killed my flashable zip as well.

@AndyYan An unprivileged user with a terminal emulator could extract the .apk file pertaining to a certain app, if they knew the app's package name, but they couldn't list the contents of /data/app. Making .apk extractions harder is what comes to mind.

@DeathMaskSalesman They wouldn't be able to pull anything off /data without su privilege in the first place; with su they'd be able to do whatever they want, and the random folder name is just a nuisance. // Also, I don't have a device that's not running LineageOS, but considering how LOS always complied well with Google standards, I'm assuming that this behavior should be universal. I can't find reliable documentation on this however, all I have are my own experience and one or two forum posts claiming the same.

@AndyYan As I said before, the permissions of a base.apk file are 644, effectively making it extractable by anyone. Still, the lack of docs is somewhat worrying.

Thank you all for your input but, I know about moving (or creating such) the app to the system directory and even creating a flashable zip to do this but, that wasn't a actual question itself. I have a personal apk file I had created and it does install fine within the user apps just by selecting and installing using the Android Package Installer. I was wondering how/where I can have an individual (with Root of course) the ability to install the app using the same Android Package Installer method and it installing as a system app instead of a user app.


text:
Can application be installed on an Android phone without confirmation, just by visiting or clicking links on page?
I went on putlocker and then got some popup saying something about system error and then another one like this:

At that moment I turned off my phone. But before I got to the screen above, I think I clicked something like "find more details" on the scam page. I was googling a bit and of course I found this is a scam, tricking me into installing malware. The question now is, is it OK, or has anything been installed on my phone? I read this page, and they write:

The virus infection pop up is a fake and touching it will redirect you
  to another page that may automatically download an APK file that would
  automatically install an app that contains the virus on your phone
  ...  As I told earlier, apps containing malware can be automatically
  installed on your phone and in this case, you need to uninstall it
  immediately before it can create more issues.

Hmmm, this is strange - is it actually possible for a webpage to install something on your phone without confirmation? I think I clicked something in the scam page, but I am SURE I didn't confirm any installation.

The app can be automatically downloaded, however Chrome does warn you before downloading an APK file. So, that's check one.
Next, any app package (apk) which you try to install outside of Play Store requires your consent before the installation is started.
And you also need to enable "Unknown Sources" before such an app can even start the installation.
So, going by these checks, yes the file can automatically download on your phone. But I'm not buying that it will install automatically as well. Your phone should be clean right now if you haven't installed the app.
Just check your downloads and remove any unknown APK package that you see. Thereafter, start using your phone normally without worrying.

thank you! 1) What do you mean by checking downloads? Just in Chrome or somewhere else? 2) I have installed App detective to be able to see list apps by time of installation (so that I don't have to go through the  full list). Is that approach safe or are the apps able to fake the installation date?

Just the downloads folders I mean. I'd ideally use a file manager and browse the downloads folder while sorting the files as "Last Modified". That should provide me with the latest files added to my phone's downloads folder. App detective should be able to figure out the date of installation. That said, I still won't agree to the point that "App gets installed automatically."


text:
Thousands of NlpWakeLock entries eating through my battery when on WiFi, but Location Services are off
I get several thousand entries a day of the NlpWakeLock under Google Play Services (I'm using Wakelock Detector Free). It's draining my battery significantly. I have found it occurs when I'm connected to WiFi (I'm certain about my home WiFi, will check with the university WiFi) and not when connected through mobile data or not connected to the internet at all. I have also ticked off all options in the Location Services sections in Settings. What do you think is going on?
Please, also note that I'm aware of solutions according to which you reduce or completely stop the wakelock. However, before doing that, I would rather try to figure out what's going on. Thank you.
UPDATE: I'm on Android Jellybean.
UPDATE #2: It seems like my download speeds on my phone are very low compared to other times. Just in case, I downloaded an antivirus to do a virus scan. It didn't find anything.
UPDATE #3: I tried disabling find my device, as well as re-adding my Google account and removing two other email accounts. The problem was not solved.
UPDATE #4: I tried the University WiFi, the problem remained.
EDIT: Added the wakelock doesn't appear when offline.
UPDATE #5: I tested it on a third WiFi network, the problem remained.

Well, I tried enabling some of the Location options in Location services, the "Google's location service" and the "Location and Google Search" option, to see if that would fix the issue. I enabled them and the wakelock issue disappeared. I disabled "Location and Google Search" at first and then "Google's location service" and the issue was still gone. All Location Services are now off and the nlpwakelock appears at logical rates. My download speeds are higher as well.


text:
Why am I getting shopping trolley notifications about local store savings?
I am getting "Shopping Trolley" notifications appearing regularly.
The notification looks like this:

The notification is about "Store savings" at a local supermarket and that is it!

Is this notification from Google Maps or another application like Google Assistant? I'm struggling to find the specific setting to disable the notification.
I am also interested to know if this notification could in any way be targeted advertising generated by the store. My marketing preferences with the store are opt-out and this strikes me as very dumb advertising. Surely Google isn't doing this? Is there a means that a store can generate notifications like this? Could it be targeted if they have my email address?
These are pain and I want to understand why they are spamming me and disable them without disabling everything else.
I can see various options under Google Maps, settings, notifications. Which setting would apply? Could it be "New on maps, Get occasional updates about new features in your area"? I can't see what setting to suppress!
Thanks for all help.

This notification isn't from Google Maps at all, but from Google Assistant a.k.a. Google Now. All the notifications with the G icon are from that app. It's not controlled by the store or targeted to you: it's just about the place that Google thinks you're at. The location update rate isn't very fast (to save energy use), so sometimes you only see the notification after you've already left, or just if you go past the place.
To control it, start the Google app or swipe your homescreen left to open the Google Now page. Then press the "hamburger" icon (looks like ≡) to open the navigation drawer, and choose Settings. From there, scroll down to Your feed and click that. On the next page, scroll down past Get notified about to see a list of all the types of Google Now card you can get notified about. Places is the one about nearby places. You can also turn off all the notifications at once on this page.
Note that turning off the Places option will also hide the similar notifications about restaurant and bar reviews, timetables when you're in a bus or train station.


text:
Samsung .cloudagent/cache
Can the Samsung .cloudagent/cache be cleared without repercussions? It is taking up the storage space along with the thumbnails files doubling the amount.


text:
Mobile hotspot was working with wifi-on; now it doesn't
Was sending internet service to my tablet through a newer Moto phone that was able to get internet from a Optimum hotspot. The tablet was unable to receive the signal.
Was using it this way for a few hours just before and it was working fine. Now when I turn on the mobile hotspot on the Moto the Wi-Fi automatically turns off. What gives??

Very few Android devices (with 2 sets of WiFi hardware) are capable of WiFi relay - you might have unknowingly left data on in the first case.

@AndyYan you might be right


text:
ADB shell change camera mode
I am playing around with the ADB shell to control a Samsung Galaxy S9 remotely.
I can do most of the things I wanted to but I struggle finding a way to switch / toggle the camera modes.
I searched everywhere and found very little information about this. I only found how to switch between front or back facing camera but I want to be able to select my slow motion mode.
Maybe I am not looking at the right place...
Does anyone have an idea how could I do this?
Any help is very much appreciated
thank you

Try using input to simulate taps on the screen.

The only relevant input is to swipe to change mode but even swiping for some reasons in the camera app doesn't work. But swiping works on the home screen ><


text:
Gmail Contact Remove From other Mobile
I once had to log in my Google account on my friend's phone and I  delete my account on his phone. Is there any way for me to remotely delete my Contacts on my friend's devices?

You can log in to Google and navigate to https://myaccount.google.com/security#activity and remove that device.


text:
How do I tell if my Samsung Galaxy uses XEU or BTU etc...?
i'm wondering how to tell the difference between a Samsung Galaxy A5 2017 flashed with something like XEU or one with BTU. That is if it's already installed and if I don't know what type it is.
Any answers are appreciated. Thanks.

XEU or BTU (...) are Samsung CSC codes. CSC stands for Country Specific Code. It is unique for each country or region or network carrier. This website lists them all.
So to check which CSF file your Samsung device has, try the following:

Dial *#1234#
Go to Settings > About phone > Software information then you should see something like Service provider SW version, see screenshot below: Here AIO is the CSC.

Download Phone Info app from Google Play Store

XEU and BTU are both UK types. XEU European Union


text:
Phone won't boot/start after successful flashing through QFIL
My phone was bricked, so I decided to flash my phone LYF f1s with the stock ROM through QFIL, but after after successful flashing it won't start !! Nothing happens, no matter which combination of volume and power buttons I press, only the charging light blinks or keep flashing when I connect it to my charger or laptop. Please help !!

Does it still detected as hs-usb qdloader 9008  in the Device Manager ? (Windows)

Looks like some of the images are incorrect for your phone?
or maybe you can try to remove the battery, then put it back and try again.

You can take the battery out, plug in the charger, ad see if the phone can at least give an unable to charge error.

Just unplug your battery and wait for 5 to 10 min until phone get back to its normal temperature. Then plug the battery as it was earlier and start your phone.


text:
Every Google app stopped working and I cannot act on this
Yesterday morning suddenly all my google apps (except partially Chrome) stopped working at the same time and I don't understand why, and surprisingly enough I cannot even act on this via the usual Google settings.
More precisely, this is a list of the issues:

Whatever thing I try to search in Google Search, YouTube, Google Maps and Google Play, they get stuck and let me wait forever without showing any result, and I have to terminate them.
Nothing happens if I uninstall the updates for these apps, leaving the preinstalled versions.
If I click on "Manage space" when selecting "Google Play Services", the corresponding window appears but disappears immediately after less than one second, thus preventing me from clearing data (for example).
If I select my Google account in "Accounts" and I click on "delete account" the account is never deleted and stays there, without generating any error message.
All the apps relying on Google services (like the apps which use Google Maps) are not working properly, some of them get even closed suddenly without generating any error message (perhaps because they get unexpected behaviour from the Google services.

So my two questions are:

Why is this happening? Do you have any clue?
How can I make my Google apps and services work again? I have the suspect there is no way to do this by just using the phone, perhaps I will need to connect it to a PC and do something via adb ?

My phone data:
Model: Huawei ALE-21 (P8 lite)
Android version: 5.0.1

Have you tried turning it off and back on?  Its the obvious question, I know, but solves a lot problems.

Thank you @SiXandSeven8ths , unfortunately I tried several times with no success.

I do not know how much control you have over your device, but I may have a few ideas.
1 requires root and the ability to flash zip files.
Deleting the google apps using an app (this does require root) and then flashing the correct gapps package from www.opengapps.org should reinstall all Google apps, thus remove the data stored in the apps.
2 does not require root and should work on a stock device
I believe Huawei phones have the ability to run in safe mode, and not start any apps in the process. This way you should be able to wipe the apps.
Enabling safe mode:
Off.
Press and hold to On.
When "Huawei "logo is displayed, release the key On.
Immediately after releasing the Power key, hold the key Volume down .
Keep holding down the Volume Down key until the phone finishes rebooting.
Release the key Volume down when you see Safe Mode appear in the lower left corner of the screen.
- source: www.howtosafemode.com
Disabling safe mode:
Simply restart :)
I'm currently on my phone so I'm sorry for the bad formatting.
Ideas?
Probably something went wrong with Google Play Services. Just reverting it to stock should fix it.

Could you explain in more details how to do the two approaches above? I am particularly interested in the second. Also, do you know any approach based on ADB? and what about just clearing the Google Play Services data (still via ADB for example)? You think it would not work?

It should be possible using adb, however I am not that familiar with adb. I will now add more information on the second method.


text:
1,5gb of data in internal (system data) - how can I delete?
it seems that I've got 1,5gb of data in internal (system data) - how can I delete?

According to the AOSP sources of the disk usage settings app the category System is Everything else that hasn't already been attributed.
In concrete the value is calculated based on the "Others" value minus the data occupied by apps that belong to the the other displayed categories.
This makes it very difficult to say what data is included in this category.
Anyway 1.5GB of system data is typical value for an Android phone. It is not necessary to take any actions.

The internal-storage partition is formatted when you execute a factory reset.

actually "system data" is in diskusage app

To what partition does it refer?

/system is never wiped - as it is read-only there is no need to wipe it.

it's in internal

Then a factory reset should delete the files. Or you can locate them and delete them manually. If you are referring to the 'internal storage' of your phone (simply everything), this contains the system as well. But you shouldn't delete the system for obvious reasons.

that's not actual system, but categorized in settings as "other data"

it should be some apk files left behind, even though I unistalled these apps (miui ones or office etc.)


text:
Android 7.0 drops wifi connection to router without internet connection
I use a TP-Link TL-WR702N mini router to provide a wireless connection to my Nikon D4 DSLR to operate the camera remotely via my phone or tablet. The camera acts as a server when doing so.
This worked for: Archos Titanium running Android 4.3; Asus Zenpad running Android 5.0; Samsung Galaxy S3 running Android 4.3
It does not work for: Samsung Galaxy S3 running Android 7.0; Motorola Moto E running Android 6.0; Huawei P8 Lite 2017 running Android 7.0
So I believe this is an Android problem, rather than a problem with the router or device model.
What happens is that I can connect to the router, but the connection drops out after a few seconds, then searches for an IP address and reconnects, and so on. Where a dialogue pops-up asking to keep the connection alive even though there is no internet, I have clicked 'yes' only for the problem to persist. I have also enabled the wifi connection to stay on when the device goes to sleep.
The devices have no problem staying connected to our home router.
Does anyone know a solution?

I've tried using a fixed channel and a couple of 'wifi keeper' apps, but they haven't solved the problem.


text:
Phone as a GPS tracker
I'd like to use an old small Android device as a GPS tracker to be installed on my bike.
My first though was simply to use Google location services.  I sign in with a Google account, and then I share location through Google Maps.  It turns out to be very battery friendly, as the location is not updated too frequently, and most of the times the phone is quite accurately located without the use of GPS.  But there's a drawback in this approach, because I need to install a SIM card with internet access, so I would have to pay my ISP.
So I thought of inserting a SIM who can only send/receive SMS (and calls), that would be costless unless when actually used (or anyway would be much more cheap).  Doing this I cannot use any of the Google services obviously.  My intention is to use it this way:  when I need to know where my bike is, I simply send an SMS to this device, and the device should reply with its location.  So, when it receives the message, it should turn on GPS, attempt to find the location, and send back the answer.  But what if the GPS signal is low?  It could locate itself using the network (WiFi, Bluetooth, cells).  But it can't determine by itself where the networks it sees are located, so it should send the raw network data, that can then be used to locate it on the receiver phone (e.g. through the Mozilla location services).  Is there a simple way to do this?
Summing it up.
The locator device installed on the bike has no internet access but can send and receive SMS messages. The device should be always in sleeping state except when it receives an SMS instruction from my phone.  When it receives it, it tries to locate itself and replies with the GPS location (if found) or with the raw network data it sees.

Check your carrier. Some provide special IOT data plans which are very cheap but only allow a few MB per month.

Have you tried Tasker? I actually have a task set up exactly for this in case I lose/forget my phone, where if I send an specific message (so that I don't do it by accident), the app automatically gets my location and sends the co-ordinates to the sender of the message.
You said you also want it to automatically turn on GPS, so you might need to root your phone to do that depending on how old your phone is because after Android 2.3 apps can't change GPS without root.


text:
Google Maps with Offline Maps sometimes gets stuck on "Finding best route"
Google Maps with Offline Maps sometimes gets stuck on "Finding best route"
I don't think it's a GPS issue 'cos my phone's GPS is normally fine and also, as soon as I connect to WiFi it gets past the "finding best route" screen.   Also I guess if it can't find a good GPS fix then I doubt it'd say "finding best route".  My experience with google maps has been that if it can't get a good fix it still gets to the navigation screen.
And it's definitely not an offline map issue.  I have quite a big offline map, not yet expired, and like 600MB covering an area that includes all of london and quite far behond, so (while my sense of direction isn't great), I don't think map coverage is the issue here.  Also if I choose a postcode that is definitely outside my offline map, like somewhere in Glasgow, then I get a different message "no results found in your offline areas".  The postcode is well within my offline map, and if it wasn't, that wouldn't cause the "finding best route"(and not moving beyond that message), error.

It looks like they can't calculate route offline.  'here we go' which is meant to be offline, has the issue too.  I wonder if there is an app with offline maps that also calculates the route offline.

TomTom App would probably do it offline, otherwise a tomtom hardware device would be required.  (One person suggested maybe it works sometimes.  if it works sometimes then maybe it might have cached some calculations)


text:
Moto g4 plus can't be unlocked
When I go to unlock my moto g4 plus, I get a message that my computer cannot be unlocked. This is the getvar all result
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8952-B1.07
(bootloader) product: athene_16mp
(bootloader) board: athene_16mp
(bootloader) secure: yes
(bootloader) hwrev: P2A
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SAMSUNG RC14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8952
(bootloader) serialno: ZY223D4PT9
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: (ommited)
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: (ommited)
(bootloader) meid:
(bootloader) date: 09-11-2016
(bootloader) sku: XT1644
(bootloader) battid: SNN5970A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Dec 26 17: 6:59 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/athene_f/athene_f:7.0/NPJ
(bootloader) ro.build.fingerprint[1]: S25.93-14.7-5/6:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.25.251.6.athene.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.BR.1.3.6-01710-8976.0
(bootloader) version-baseband[0]: M8952_70030.25.03.64.01R ATHENE_RETUSA
(bootloader) version-baseband[1]: _CUST
(bootloader) kernel.version[0]: Linux version 3.10.84-g2ccb7a8 (hudsoncm
(bootloader) kernel.version[1]: @ilclbld86) (gcc version 4.8 (GCC) ) #1
(bootloader) kernel.version[2]: SMP PREEMPT Sat Feb 3 22:42:15 CST 2018
(bootloader) sbl1.git: git=MBM-NG-VB1.07-0-g57d1343
(bootloader) rpm.git: git=a970ead
(bootloader) tz.git: git=69dd24b-dirty
(bootloader) hyp.git: git=69dd24b-dirty
(bootloader) keymaster.git: git=69dd24b-dirty
(bootloader) cmnlib.git: git=69dd24b-dirty
(bootloader) aboot.git: git=MBM-NG-VB1.07-0-gf9b89ba
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (144)
(bootloader) ro.carrier: retus
all: listed above
finished. total time: 0.076s

The cid is listed as valid on their post, and others can unlock their moto g4 pluses

Have you enabled your bootloader to be unlocked from the developer menu in settings?

@Sonickyle27 yes i have and also enabled usb debugging

So what else have you done? Obtained the unlock code at Moto's site? Tried to unlock with that code, and it failed? What command did you issue, and what error (exactly) was shown?

I tried to get the unlock code, but it told me that it didn't qualify for it


text:
Why SIM Toolkit icon is duplicated (now tripled) in launcher?
UPDATE: It stopped happening after the latest OS (and launcher) update - to Android 8

Why does my SIM Toolkit icon is duplicated tripled?
The second one appeared not so long ago, and it never happened before (I have the phone for more than a year and a half).
There wasn't an OS update when it happened, or something I can think might affect, and there's only place for one SIM in that device.
Note:

It happens only in that launcher.
Reboot or re-inserting the SIM does not change it.
Clearing launcher app cache doesn't help.
I don't want to clear the app data, because I'll probably lose the organization of the apps.
It appears only once in the app list in the settings.

Device details: LG G5, Android 7.0, stock ROM, no root
Launcher: Home & app drawer (By LG)

Possibly your carrier installed a newer version of toolkit with updated settings. Check the app details for both

@beeshyams There's only one app - but it's shown twice in the launcher, so it's probably a launcher problem. The install date of the app as seen in App Detective is somewhere around 2008-2009, the same as other Android system apps. How can I tell if it was updated without me knowing about it?

See if this app see package installer or other questions on this site to detect when the app was updated. Not sure how to go about

Did you find the solution bro? @arieljannai

@Noorul nope, it was gone after the latest os update


text:
I am unable to run Google assistant on my phone
I am a citizen of India and want to run Google assistant on my phone. My phone is LS 4505 and Android marshmallow. Google app version is 8.0. And screen resolution 720p and 312 MB free space. So can I run Google assistant on my phone. And are there any other apps like this which I can run?

According to DeviceSpecifications.com, your Lyf Flame 8 (LS-4505) device has only 1GB of RAM and a 480p (480x854) display. It shipped with Lollipop, but further research indicates it was upgraded to Marshmallow.
According to 9to5Google, Google Assistant requires the device have Marshmallow or newer Android, 1.5GB of RAM, and a 720p display. Your device does not meet the minimum requirements to use this feature.
As far as alternatives, a simple Google search will yield a variety of options, I did not investigate them to see if your device meets the requirement for any one specifically (this is not the Software Recommendations site), but you can start here doing your own research.


text:
Keep Localhost Server app in background until I turn it off
I'm using a Localhost server Android App. Which I use to develop WordPress and writing articles.
But, the problem is it destroys after some times. Because, I've keep this app on background.
When I develop another websites it stays for maximum 5/6m but only best 20s for WordPress.
I'm using Low Ram Config but it isn't working for me.
You see the screenshot here
Device Log

Symphony Marshmallow 6.0
No Root ( Unable to root)

Have you excluded it from being Dozed (Android 6's battery saving)?

@Izzy I notice it works fine while it's on Battery Saving. Because, Saving stops background data and other services and keep the ram free. But, I've tested excluding battery saver. Doesn't work.


text:
Andoird P - How to join mp4 files splitted by the camera
I've done multiples videos larger than 4GB with my Pixel 2XL installed with Android P. The camera as splitted my video in 2 files from continuous shooting. In all cases, the first file is readable but, for the second, I can only see the lenght of the video:

Is there a way or a tool to join these files or to repair the second one ?
I've already try a binary copy with "copy \b" and "cat", a join with ffmpeg -f concat and an append with avidemux without success.

Have you tried this : https://forum.xda-developers.com/showthread.php?t=2402650

It doesn't work because the file system used by android don't support files larger than 4GB

Finally I was able to recover my video using "recover_mp4". I lost a bit sound quality, but at least my video is readable.
Morevoer, I've opened a bug report and this trouble should be fixed for the next release. (https://issuetracker.google.com/issues/80199853)


text:
Are pictures lost forever if using TWRP to wipe data?
I have the following problem: I accidentally deleted an important picture and tried to recover it;
Using DiskDigger (without root) I only find the low quality version of the picture - I read that I need to have root access to search for all pictures which I did not have - hence since I am using Android Oreo on my S8+ the only possibility I saw to root it was with TWRP and SuperSu using the way which is described here:
https://www.androidexplained.com/galaxy-s8-root-supersu/
Basically I did the following: OEM Unlock, then using the Downloadmode and Odin to put the TWRP tar file on it, then in TWRP I wiped out data, installed the no-verity.zip file and then installed the supersu.zip file and my root was successful;
Now I actually thought that when I use disk digger again, that all my pictures now can be restored (since the 'wiping' took like 10s it is impossible that all the storage got really overwritten)
Unfortunately, when running now the programme with root access I can't find any pictures I had before the 'wiping' - is that normal? Is there any way to recover it? Or did I screw it up?
One thing maybe worth mentioning is that the supersu failed to install in the first place and I played with the data format - precisely I changed the /data directory from EXT4 to exFAT and back because I thought maybe this would solve the issue;
I would be extemely thankful about any kind of comment about it - thank you so much

Normally the pictures are saved on the internal storage e.g. /sdcard0/DCIM/Camera and this partition is normally not deleted when you flash TWRP. If you changed the file system for /data all data are lost on this partition (/data)  what means that all your user apps should have gone! If your picture was indeed on the internal storage and you didnt format that, the chances are given that you can recover it by using adb and some data recovery tool (undelete program).

Well I changed the format for /data where the picture were saved.... So they are gone? I mean changing the format took 3s - is it really possible that within those 3s everything got destroyed?

Yes, maybe with a tool like TestDisk you could restore such things, but not sure how to use that tool on internal storage of Android

To change the format, you have to format the partition, that deletes all content. Normally you get a warning before doing so.

There is no way to recover files from factory reset. The userdata partition is encrypted and the encryption key is wiped. also new key is generated, makes it nearly impossible to recover the old key
Do not unlock bootloader it will perform factory reset. look for exploit root method on locked bootloader (android < 6.0 only)


text:
Google Play Services required permissions
Why does Google Play Services require so many permissions.  Access to my phone, contacts, text messages, camera, microphone,  and even body sensors cannot be turned off without constant push notices saying they must be turned on for it to work properly. I didn't know my phone had "body sensors". It is the only app in my phone with such a request. I find all these demands for access to every  aspect of my phone way too invasive into my personal information. No possible permission is excluded. Do I have to keep this app running or can I disable it?

For example: My new phone won't sync my contacts until Play Services has access to my camera and body sensors. I'd pretty much forgotten about phone rooting until I saw this app. Considering a google-free rootkit now, on principle.

Google Play Services is kind of a "service provider" for other apps on your device. A look into our google-play-services tag-wiki will give you some details and explain some of the permissions this app requires. For example it requires access to your location as it offers location services to other apps.
If you'd disable this, several of your apps will probably no longer function the way they did before. Some apps won't care. But especially other Google Apps will complain (Gmail and Google Maps definitely will). As the Settings app is not affected, you can try that out (if the effect is too strong, you can always revert your change).
On the other had, you could also try revoking some permissions from the Google Play Services app, if your Android lets you (it's a system app, so depending on your device and Android version you might not be able to do that).

Doesn't this defeat the purpose of having app permissions? If I don't want an app to know my location, I can disable the app location permissions, but then it can use Play Services to get the info anyway. Am I misunderstanding something?

@Coo I'd hope it gives the location only to apps which have the permission. But I can't tell. Play services also includes AdMob & Co.

I've revoked the location access from Google Play Services app, but granted it to Google Map. Google Map works just fine even after that. So this doesn't match your answer. May be there is something else here we are missing.

@Fayaz it might work while on GPS. But network location? Apart from that, I wouldn't trust the permission staying removed. Deep as it is ingrained in the system, it might simply grant it back to itself. As Playstore simply gets reenabled (and updated) if you disable it (I've experienced that multiple times, back when I still had GApps on a device – luckily I no longer have).

@Fayaz Play Services is an API that apps can use, but apps don't have to use it, they can access the services of Android also in other ways. Perhaps that is what Google Map is doing. The main reason Play Services exists is that  it is an app which can be updated without having to update the whole OS which is not possible on some older devices. For an app that does use Play Services I THINK (and hope) that you need to give permissions to both Play Services and the app. I wish Google would clarify this question by giving a simple answer themselves.

It is because new android >6.0 ask for permissions on any app ,even on system apps. Don't be scared. Allow them, because it is services for all google apps. Without that youtube ,gmail, chrome won't work. It's neccesary. And because it is neccesary it request a lot. Google wants from you to doenload all their apps to use.
And it request contacts and dialing  because he want to backup your contact to google servers in case of losing data.

What has needing so many permissions to do with Android 6's runtime permissions? And why would that be necessary? Why is the "dialing" permission required to backup contacts? Sorry for being direct, but that's pure nonsense. the only thing I can agree to here is that Play Services offers its functionality to a lot of apps.


text:
What can I do with lost.dir files
Is it safe to delete lost.dir files to save space in an android cellular phone, or is it better to move it to the sd card?

This question helps explain what it is.
In short, it is similar to the Recycle Bin in Windows. The system sends files that were recovered in during boot to it. When you put an SD card in, the "Preparing SD card" notification is shown when it is checking the LOST.DIR folder.
This folder is safe to delete, just as much as emptying the Recycle Bin on Windows is. But you will see the folder reappear next time you restart your device.


text:
Why flashing a ROM causes the IMEI to go 'generic' -sometimes (even if it's a stock ROM)?
the story I'll tell you will help you with the answer.
One year ago, my dad's phone (Galaxy Note 3) had many issues (because the phone was rooted and something messed up the system files). I've tried to flash a stock ROM using Odin (I was sure that the downloaded ROM matched the model and the PDA/AP). After flashing the ROM, everything was working fine except the mobile-related functions. The IMEI has been changed to a generic one (it started with 0049*********) and so the phone wasn't able to connect to the mobile network (no calls, no sms, no mobile internet).
That was even weirdier, because the first time I flashed that phone (to downgrade to Android KitKat), the IMEI remained untouched, but the last time the IMEI was altered.
So, why does flashing a ROM sometimes reset the IMEI?

This happens when you flash a file from a different region that the device was made for.

So, if the ROM matches the exact region, does IMEI remain untouched?

Assuming there is no hardware failure, yes. Flashing correct firmware would restore your original IMEI. Otherwise you'll need to "repair" manually

Flashing correct firmware didn't work, I had to go to a repair service. The next time how can I ensure the firmware is correct?

You need to know the correct region then download the firmware accordingly. The thing is you need the same radio


text:
How determine if Java object is null or not in Tasker?
I want a Tasker task that reads SMS from a particular person and extracts some information out of the latest message.
For example, I get a lot of messages from my bank due to the transactions I make. At the touch of a task, I want to know my latest bank balance. Normally, I would get the latest SMS from my bank and find out the balance from it. I want Tasker to do this.
I am aware that Tasker can read messages when they arrive. But we have to make a profile that does it. This is not my use-case. It's more on-demand.
Here is the task I tried to create to that effect:
Flash Roam (10)
    A1: Java Function [ Return:cr Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
    A2: If [ cr !Set ]
    A3: Flash [ Text:Ok Long:Off ]
    A4: End If

I am unable to ascertain if cr is null or not.
What is the correct way to check it? Or is this even possible in Tasker?

There are two ways you can do null checking of Java objects.

The first way, direct from the userguide, is checking of the object Equals null:

If
A Java object can be directly referenced in a condition. Null-value objects are replaced with text representation null.
Examples:
If, arr[0][0] eq 45
If, arr[0].length > 3
If, lightlevel Equals null

The problem with this is that the string "null" will also match the condition. In your case, that's not a concern, but my second method provides a way that can distinguish between the two for other cases.

The second way takes advantage of Tasker's built-in error checking. If you have an object and need to check whether or not it's null:

Use a Java Function action. For "Object or Class", use the object in question, then for "Function" select "toString {String} ()"*. Lastly, make sure "Continue Task After Error" is checked. You don't need a return value here.
Follow the Function with an If action, which tests if the variable %err is set (or isn't set).
If %err is set, the object is null. Otherwise, it's not null.

%err will not be set if the object is the string "null", because "null".toString() is perfectly valid code.
* If your only option in the Function list is "assign {...} ()", then you're working with a primitive type - a number, boolean, or character. Those can't be null, so checking is unnecessary.


text:
Recover internal data from a working phone but with broken screen, no developer mode and locked
I don't know if this is the right SO community to ask this.
I have a Samsung Galaxy with the screen BROKEN, but just the screen, not the mobile.
I'd like just to EXTRACT all data from internal memory.
We have tried a lot of softwares and solutions from Internet forums, but all of them requires DEVELOPER MODE or the device UNLOCKED.
I don't have DEVELOPER MODE on, and I can't unlock because I see nothing in the screen. Even we tried to plug an external mouse and try to click (blindly) in the numbers to pass the PIN screen. (The mobile works, because it vibrates after power on.)
Is the any solution to recover internal data?
It does not matter if I need to OPEN the phone, I will trash it after recovering, I don't need it to be operative again, I just need the internal data.

I've voted to migrate this to android, where it would be a better fit, but basically, the entire point of having an encrypted hardware device is so you can't force your way in ...

Which model is your device? You can flash modified boot image which has ADB enabled

samsung j510 ... how can I do that esQmo_ ?  remember screen is completely broken :-P

You need ADB for such situations. Did you enabled USB Debugging?

As I described, developer mode is not enabled in the phone. The device is LOCKED (when it starts, so I can not put the PIN code, therefore I can not transfer files) and DEVELOPER MODE is off (therefore I can't use any of the popular methods to recover things)


text:
Carbon ROM update fails: Failed to setup flash. Clean /cache and retry
I try to update to the latest Carbon ROM. The check is successful, but the flash fails with "Failed to setup flash. Clean /cache and retry."

I already went to Settings > System > System Updates > Settings (right-top corner) > Clean update files [Delete existing update files to force downloading full update]
and tried the update again without success. Happens the first time for me, last update was just recently on 8. May without problems.
I also just tried going in Recovery Mode > Team Win Recovery Project > Wipe > Advanced Wipe > select Cache > Wipe. But the problem still remains after the reboot.

Did you try cleaning cache from the recovery?

I just tried it. Went in Recovery  Mode > Team Win Recovery Project > Wipe > Advanced Wipe > select Cache > Wipe. But the problem remains after the reboot.


text:
What is this triangle system notification icon on Samsung Galaxy S9+?
What is this triangle system notification icon on Samsung Galaxy S9+? It appeared recently. And I can't even imagine what is it.

Screenshot (click image for larger variant)

That's a Data saver icon.

The icon is different from the data saver icon in stock Android.
  Samsung started to use this data saver icon in Android Oreo update as
  explained in this guide

This Galaxy S9 status icon appears  if you enable data saver in Settings → Connections → Data usage →  Data saver.

Data Saver status icon in Android Oreo update for Samsung


text:
Is my Android device booting into a "stealth" partition?
OK, this is a weird problem I’m encountering with an Android system I’ve been using without problems for several years now… and I’m practically out of ideas on how to potentially fix it.
Let’s start at the beginning to describe the problem and what I’ve been trying for the past 12 hours.
I woke up to my device this morning seeing that a recently installed app (via Google Play store) had crashed, and obviously a truckload of other apps and services also showed a hickup too.

I decided to simply uninstall it and reboot my phone (clearing the Dalvik cache while I was at it to avoid any hickups). The system booted as usual, but I noticed the app I just uninstalled is still there. Tried again, same result.
Knowing I have a 5-day old TWRP backup, I decided to restore that to get back to my old system state. Done, wiped Dalvik cache and rebooted. No success, the old system (with the app that shouldn’t be there) boots up. So, that TWRP backup wasn’t a solution.
Crying a silent tear, I decided to whipe all partitions via TWRP and simply reflash the ROM from scratch. Rebooted… and to my surprise the old system showed up (incl. wallpaper, settings, and that one weird app et al.)
Not wanting to give up, I even tried to install another ROM. TWRP confirms this succeeds. But rebooting again ignores every system change and boots that darn old OS (incl. settings and apps – which shouldn’t exist due to a factory reset.)
Getting a bit upset by all this I said to myself – OK, I’ll wipe all partitions and reboot. Having no OS the device should not boot at all, confirming I got rid of whatever messed up my device. Booted into TWRP, whiped ALL partitions listed (including the external SD). I confirmed this worked by using the TWRP file manager to check on the contents of every partition available. They are all empty. I was convinced this was going to work and my device would hickup due to a missing OS. So, I rebooted… and whoops, the device again boots into the system (with that app, the old wallpaper, etc.) Logic says this can’t be – since all partitions are empty.

Long story short: I meanwhile tried about every trick in my bag to get rid of the old OS, but no matter what I do – I can’t. Whiping, flashing, etc. doesn’t seem to change the fact the phone happily boots into an OS that – according to the TWRP file manager – doesn’t exist.
Now, I’m out of ideas on how to fix it. It’s almost as if I’m fighting some "hidden/stealth" partition which gets booted into. As said: this even happens when I whipe all partitions (System + Cache + Data + Internal Storage + Micro SD card) followed by a Format Data) and then reboot.
Meanwhile, I’m starting to suspect the last app I installed via the Google Play store might have been malware. But that shouldn’t result in a bootable OS after a complete device whipe.

Can it nevertheless be that my Android device boots into a "stealth" partition? If, how can I get rid of it when I can’t see it via TWRP?
Is there any way to hard-format and repartition the internal SDs and recreate the partitions besides TWRP’s functionality? (In case there’s some problem with one of the partitions, which TWRP doesn’t actually whipe.)
Or (which would really make my day) has anyone ever experienced something alike and has a solution which might help me fix this by getting rid of the old OS which the device seems to detect who-knows-where and happily boots up?

EDIT
Since a comment asked for some version details et al:

Device is a Samsung GT-P3100, aka espresso3g
TWRP 3.2.1-0
Rom that is (let’s just call it) “non-killable” is SlimKat. To be more specific
Slim-4.4.4.build.9.0-OFFICIAL-8293

Looking at things again and again it seems TWRP fails to correctly whipe one or more partitions (System, Data), even though there is not a single error message or warning when doing so.
I also tried erasing all partitions as well as the internal storage and flash lineage-13.0-20180211-nightly-espresso3g-signed, which results in an error 7 (rebooting the same darn “non-killable” SlimKat).
Same goes for trying to erase all partitions as well as the internal storage and flash Slim_espresso3g-6.0.1-20180414-1959,  which results in an error 7 (rebooting the same darn “non-killable” SlimKat).
Also, it might be helpful to know I have another espresso3g device available, which doesn’t show any similar problems. On that other device, I can flash, whipe, backup, recover, and consequently successfully boot into the related ROM as expected.
Therefore, I’m suspecting there’s something wrong with one or more partitions, which also prevents TWRP from correctly formatting in contrast to its claims. Even using the TWRP terminal and being crazy enough to try rm  -rf /data/* and rm  -rf /system/* seemed to work at first glimpse. Yet, the partition contents simply shows up on reboot as if nothing happened. Another indicator it might be some partition hickup is that – any change to any setting or even starting any app in the booting “non-killable” SlimKat results in the whole OS collapsing piece by piece until the device reboots into recovery.

Seems I’ve found the answer at https://andi34.github.io/faq.html
Quote:

I can't change my rom, wipe / format doesn't work. Nothing changed after flashing with Odin.
  16 GB Tab 2 have a known faulty EMMC (MAG2GA). It can happen, that your EMMC get “read only”, so you can’t perform any write actions (also you can’t format) anymore.
From the EMMC data sheet:

5.1.7 End of Life Management:
The end of device life time is defined when there is no more available reserved block for bad block management in the device. When the device reaches to end of its life time, device shall change its state to permanent write protection state. In this case, write operation is not allowed any more but read operation are still allowed.

But, reliability of the operation can not be guaranteed after end of life.
On a faulty EMMC firmware it happens a lot faster.
What are the symptoms?

Uninstalled apps and deleted files are back after a reboot
Formating the storage doesn’t work (after reboot the old rom and apps are back)
You can flash whatever you like via Odin
it showes “passed” but after reboot nothing changed (e.g. still no StockRom or still the old Recovery you had previously installed)

… there might be some more, but only to mention some …
In most cases, the issue can be fixed by a EMMC firmware update, but you need someone who’s able to do it (possible via ISP, nothing you can do esylie at home yourself). In some bad cases you need to find someone who can replace your EMMC.

Well, that’s that then. Obviously I will have to buy myself a new device first thing in the morning, after crying a river all the way to the bank while blaming Samsung for its End of Life Management.

Yikes. If it makes you feel better, I lost my old espresso to nuclear war, also known as it hit the floor in the middle of falling off the cable mid flash to marshmallow

@DanBrown I look at it this way: I lost a “phablet”, but I gained a hell of a technologically advanced frisbee. ;)

I know that feeling :D


text:
Detecting incoming/outgoing whatsapp messages
I just want to know if there is a way i can check for send and received whatsapp message on android, i tried to get the notifications but when the user is in whatsapp, there is no notification shown, also you can't get the sent whatsapp messages this way, is there a way that i can do it without reading its db, and if i was going to read its fb how could i accomplish it? It is encrypted like I know and the encryption between each user differs right ?


text:
Alert only on Text Message
I use a Motorola G5 Plus with Android 7.0 on it.
I'm on-call sometimes on nights and I want to be alerted in case there's a problem. I've forwarded important alerts to SMS text. I do NOT want to be alerted for everything that goes on on my phone but I do want to be alerted in case a text message comes in.
I've tried using Automate and Tasker but neither one is triggering on the text. Is there a better/easier way to ONLY be alerted when a text message comes in to an Android phone?


text:
SM-P600, lte, wifi, or 3g?
I'm having a problem where every time I boot a rom on an SM-P600, I get a boot halt. I would like to know how to verify which version I have. LineageOS has a build for,

n1awifi
lt03lte

SM-P600 is the WiFi variant. From the device codenames you can easily see that n1awifi is for the WiFi variant (SM-P600) and lt03lte is for the LTE variant (SM-P605, SM-P607T).

The numbers should be correct, per @Andy Yan's answer, but you can validate that that by checking /proc/cpuinfo via adb shell,
From TWRP, I can cat /proc/cpuinfo and I get
Processor   : ARMv7 Processor rev 3 (v7l)
processor   : 0
BogoMIPS    : 1590.88

Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xc07
CPU revision    : 3

Hardware    : UNIVERSAL5420
Revision    : 0005
Serial      : b8c9c00b4300448b

UNIVERSAL5420 is the hardware name for the Exynos 5420 which is in the SM-P600 model, but that doesn't matter anyway so long as the architecture hardware is the same.

Additionally, the 3G variant (SM-P601) also has a E5420, though you know that could be easily told apart by a presence of a SIM slot. The LTE variants have SD800.


text:
Is the lt03wifiue build the same as n1awifi?
I have an SM-P600, when I download TWRP it shows lt03wifiue for the build name. When I download LineageOS it shows n1awifi for the build name. Are these two the same builds?

n2awifi is the TabPRO 10.1. You might be referring to n1awifi (which you correctly mentioned in your other question).
Sometime during development, some Samsung devices were reassigned codenames, and lt03wifi was renamed to n1awifi (see commit here and developer note here).
No need to worry as these are still the same device, and the ROM itself has provision for the name change (it checks match for either codenames when installing).

Yes, that was supposed to be n1awifi


text:
Extract app name from app-store:// and intent:// links
From time to time i encounter in links such as:

android-app://com.sudaytoz.kakao.wbb/stzkakaowbb/sundaytoz

and i want to understand what is their play.google name
the previous example answer is:

https://play.google.com/store/apps/details?id=com.sundaytoz.kakao.wbb

is it always like this? I guess i don't really get the "android-app://" prefix.
Same goes for links like:

intent://adjust_reftag=c7L1pVanNIjjt#Intent;scheme=yandextaxi;package=ru.yandex.taxi;end

The application ID is essentially a regular Java package name that follows these 3 rules:
1.It must have at least two segments (one or more dots).
2.Each segment must start with a letter.
3.All characters must be alphanumeric or an underscore [a-zA-Z0-9_].

As you can see in your links, the URL on Google Play contains the application ID.
https://developer.android.com/studio/build/application-id


text:
Pushing to TWRP, adb shows "adb: error: connect failed: no devices/emulators found"
When I try to push my rom to /sdcard/ with TWRP, I get
adb push myRom.zip /sdcard/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adb: error: connect failed: no devices/emulators found

How do I resolve this error. Things seem to work with  adb sideload but the rom doesn't boot. The LineageOS install instructions say specifically to use with adb push.

It means your phone and pc cannot communicate. Do you have debugging on in your developer options? Adb and fastboot drivers on your pc? Phone specific drivers depending on make and model.

If adb sideload doesn't work then high probability adb push won't either, it's a similar process. Figure out why it wouldn't boot first?

Try killing the process and then retrying:
adb kill-server
adb push myRom.zip /sdcard/


text:
What does Odin's T-Flash option do?
When I go to flash with Odin, I see an option for "T Flash". What does it do?
Other options include,

Auto Reboot
Re-Partition
F. Reset Time
Device Info
Nand Erase All
Flash Lock
T Flash (this option)
Phone EFS Clear
Phone Bootloader Update

According to this guide it writes the bootloader of a working device onto the SD card. This guide is a bit more detailed and describes it as follows:

T Flash option in odin is for Samsung boot recovery via sd card. This option is checked when we are going to make Samsung boot able sd card to fix or unbrick Samsung dead boot devices. In this case we must have Samsung original boot recovery.tar file for the exact model witch we are going to unbrick. We must have same and full working phone in hands. This option is used in new Samsung Qualcomm based models that allow boot from external memories. I will explain how to recover Samsung dead boot phones with sd card but in other post i will try to leave a link in this post. So T Flash option is to make a boot able sd card from full working phone to unbrick other Samsung phone.

How that's useful is described in a short guide here (in German). In short: Say you have a device where the bootloader is broken. But you have another device – exact the same model – with the bootloader intact. So you:

put an SD card into the intact device and use Odin's T-Flash option to write (copy) the bootloader to the SD card
put the very same SD card into the broken device, which now can boot from the card

(booting from the card must be supported and sometimes requires specific additional hardware, a so-called USB-JIG-plug).


text:
What is a "PIT file"?
Both Heimdall and Odin have options for a PIT file. From Heimdall's option you can find,

Action: print-pit
  Arguments: [--file <filename>] [--verbose] [--no-reboot] [--stdout-errors] [--usb-log-level <none/error/warning/debug>]
Description: Prints the contents of a PIT file in a human readable format. If a filename is not provided then Heimdall retrieves the PIT file from the connected device.

And, from Odin there is a specific tab for it, when you click on the tab it says,

Do not use this tab. This tab is for engineers. You device will be changed with the pit in the CSC file.

So what is a PIT file, and where is it documented anywhere? Can I generate one automatically?

PIT stands for Partition Information Table. A PIT file is basically a set of instructions defining the phone partition layout. You should use a it if you want to re-partition the phone with Odin.
You only need this file when repartitioning the device and you don't need to repartition it unless you mess up the partition table to begin with, or when downgrading/upgrading.
There are tools (commercial) that can genarate PIT files using ADB commands.


text:
Is it possible to install a ROM from TWRP ADB shell?
Let's say I place a rom in /sdcard/. Can I install in the ADB shell through TWRP. For instance, if I

Start up in recovery of TWRP
Type in on the host adb shell

Is there anyway to install /sdcard/rom.zip

What's the deal? Is TWRP unusable normally from touchscreen?

No, I can use it. I just want a log and I want to see what's running that process so I can potentially get a log. TWRP doesn't tell me much and it's apparently not working. (or the roms just don't boot at all)

I don't think that'd give you details - look into recovery.log and probably dmesg. Also, just a hunch, but you might want to try an older version of TWRP, e.g. 3.0.2. I just remembered that I had problems in the past on another Samsung tablet with the latest available there.

The TWRP provides a command line utility called twrp and the official site has a guide to twrp's subcommands of which the command needed is simply install

install FILENAME :

    install FILENAME zip file.

Usage: under adb shell environment, run
twrp install /path/to/rom.zip

Doesn't work for me, complains about Zip signature verification failed! any idea?

@JPT Irrelevant - check the zip itself.

twrp command is not exists for me.


text:
TWRP: Failed to mount '/preload' (Invalid argument)
With TWRP, on almost every operation I get

Failed to mount '/preload' (Invalid argument)

My device currently can not boot, and this may have something to do with it, /preload is currently in /etc/fstab, I can see the entry here with
/dev/block/mmcblk0p16 /preload ext4 rw 0 0

When I try to mount it, I get
mount preload/
mount: mounting /dev/block/mmcblk0p16 on /preload failed: Invalid argument

Is there anyway to fix this problem?
From my recovery.log, I have
/preload | /dev/block/mmcblk0p16 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
   Flags: Can_Be_Mounted Can_Be_Wiped IsPresent
   Primary_Block_Device: /dev/block/mmcblk0p16
   Display_Name: preload
   Storage_Name: preload
   Backup_Path: /preload
   Backup_Name: preload
   Backup_Display_Name: preload
   Storage_Path: /preload
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

I'm trying to flash LineageOS, but I'm really just curious about resolving this error message.

What about flashing full firmware with Odin ?

Then I would need a stock rom (I don't).. and I'm not sure how that ties into /preload being broken.

/preload stands for partition if I'm not wrong. You should fix it by flashing stock ROM with repartion option being ticked

Know where I can find stock rom?

almost anywhere on the Internet. Which model number is your device?

https://www.sammobile.com/firmwares/galaxy-note-101/SM-P600/

@Andy Yan, OP needs full firmware files which contain a script that wipes everything on the device.

@esQmo_ Then where do you find one of these? Even as a seasoned flashaholic I have no idea such a thing exists. // IIRC, all-in-one tar packages contain PIT files in them and would be suitable for repartitioning; standalone BL/AP/CP/CSC packages would just need a separate PIT file if he were to repartition.

@Andy Yan By full firmware files I mean 4 files firmware called "repair firmware" a few websites such as http://firmware.gem-flash.com,... Not all in one package contains a PIT file and you don't really need a PIT file if there is no reason to partitioning. https://firmware.gem-flash.com/index.php?a=browse&b=category&id=8970

related: https://android.stackexchange.com/questions/218564/install-pit-file-on-samsung-s8-sm-g950f maybe you can help?

try the same for /preload
https://forum.xda-developers.com/android/general/how-to-fix-unable-to-mount-data-t3830897 it worked for me

I have this problem too, but I can install treble roms, I installed Lineage 17.1 without problems but sometimes I see the message / preload invalid argument, size of partition 0, I am looking for a solution but this error does not disturb my device at all
in xda i encontered this =>
All you need to do is go to official download page, download your official latest rom and flash
Download the most recent firmware and flash in Odin. (There is instructions on how to download the correct firmware in the post)


text:
After HR I get this error: com.google.process.gapps was interrupted
Lately I have had some problems with my Asus Zenpad 7, a strange message:

"Unfortunatly com.google.process.gapps was interrupted"

which doesn't stop appearing, my use of the tablet is now limited to what I can do in the miliseconds I have between messages.
I tried many things such as reinstalling Play Store and Google Services, cleaning cache and reactivating the download manager but nothing worked.
Therefore I decided to hard reset, in fact I clicked two options on the Restore Mode of Zenpad 7: Wipe Cache and Wipe Data/Factory Reset, but the messages keep appearing.
I have the tablet rooted using KingRoot, and it may be something I have done while playing with Play Store patches (don't know what, I was just seeing what Lucky Patcher had).
Any suggestions?

Tried flashing the firmware? I think something got corrupted flashing should solve this

You are welcom. :)

Well, sorry to the moderators if they have to do something but as I don't know how to finish this things when the answer is in the comments just to say I did like @esQmo_ said and flashed the firmware from asus page and everything ok.


text:
Grant access to ADB on broken screen
My phone screen is completely broken and good thing is that its debugging mode is on and I can access my phone screen using Vysor on a PC. But I have another PC, and when I try to access my phone with that system, I have to grant access with the OK button, but I can't do that.
How can I access my phone screen on a different PC or grant debugging?

Possible duplicate of Is it possible to enable usb debug without touch screen?

I don't think this is quite a duplicate, because that question is about turning on debugging in the first place, while this question is about allowing access from a new PC.

This guide assumes that USB debugging was enabled on your device before you broke it. You can enable USB debugging via a custom recovery, such as twrp, using:
adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot

This method was used to bypass the secure USB prompt on a Galaxy SII with a shattered screen. I think it may work on another device too...
For this to work, you need another device running Android 4.4.2 or above with USB debugging enabled and the same computer authorised from that device. i.e. connect that device to your computer and press "OK" on the authorisation prompt that appears on screen for secure USB debugging. Let us call this device the authorised device.
adb_keys is the file we need from the authorised device which is located in /data/misc/adb/
Normally you must be rooted to take the adb_keys file from the device using Root explorer or ES File Explorer,  but let's assume that the authorised device is unrooted. You don't need to root it. However, if your authorised device is rooted then simply copy the adb_keys file on your computer and jump directly to Step 3.
Steps:

Connect the authorised device to your computer using USB (debugging enabled) and open a command prompt with administrator privileges (Minimal ADB & Fastboot is perfect here).
To get the adb_keys file, use this command:
adb pull /data/misc/adb/adb_keys /adb_keys

For example:
adb pull /data/misc/adb/adb_keys c:/adb_keys

The above command will save the adb_keys file to the root of your C: drive. You can change the destination folder to your liking.
Now the job of the authorised device is done. You can disconnect it and disable USB debugging.

Once you get a copy of adb_keys, reboot the phone with the broken screen into recovery.
Now connect the broken phone to the computer using USB.
We need to copy the adb_keys file to the broken device. Use the command below:
adb push  /data/misc/adb

For example:
adb push c:/adb_keys /data/misc/adb

After the file is copied, reboot your device using adb reboot et voila! You can now use adb shell on that computer.

Furthermore, if you want to have full control over your device even with a broken screen, the tool from this thread lets you use your device through your Windows PC even if your touchscreen doesn't work or you can't see anything. (It requires Java Runtime Environment and Visual C++ redistributable). Or keep using Vysor.
Disclaimer:
The above guide was not made by me and I did not test it myself, I just made minor changes. Just try it and let us know. Good luck.
Original source : XDA Developers


text:
TWRP, Updater processes ended with ERROR: 7
Whenever I try to flash Lineage OS with TWRP v 3.2.1-0, I'm getting
Updater processes ended with ERROR: 7
Error installing zip file '/sdcard/...n1awifi-signed.zip

When I check my recovery.log
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:has_legacy_properties: Found legacy property match!
I:Legacy property environment initialized.
Target: samsung/lt03wifiue/lt03wifiue:5.1.1/LMY47X/P600UEUDOK1:user/release-keys
Target: samsung/lt03wifiue/lt03wifiue:5.1.1/LMY47X/P600UEUDOK1:user/release-keys
detected filesystem ext4 for /dev/block/platform/dw_mmc.0/by-name/SYSTEM
detected filesystem ext4 for /dev/block/platform/dw_mmc.0/by-name/SYSTEM
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
Not backing up files from incompatible version: 14.1
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
You have an installed system that isn't signed with this build's key, aborting...
run_program: child exited with status 124
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset
Can't install this package on top of incompatible data. Please try another package or run a factory reset
Updater process ended with ERROR: 7

How do I resolve this error I have validated that my TWRP and my rom (that I'm trying to flash) matches my architecture (per model number and the result of /proc/cpuinfo)

What is your TWRP version? I've heard that error 7 is mostly due to TWRP being out of date. Try updating it from https://twrp.me/

@SSS I'm on version 3.2.1-0 (latest version)

What's the full error? If I'm not mistaken there should be something more than just "Error 7".

According to this post on XDA

The reason is clear: You haven't done a factory reset. If you're coming from another rom, you can make a Titanium Backup of your apps and restore it after installing cm11. [...] Either way, you need to do a factory reset/full wipe. You will lose your apps, data, pretty much everything. Make a backup first, do the wipe, then it will install.

If the solution has fixed your problem you can mark it as solved.

@SSS I always do, unfortunately this absurd network requires I wait 2 days. I think upvotes remove that timer though =)

Oh okay, never done it myself so I wouldn't know.

@EvanCarroll I guess the "absurdity" is to make sure one doesn't start answering and accepting their own answers just to rack reputation.

@DeathMaskSalesman you don't get reputation from accepting your own answers. It's apparently to give a fair chance for others to answer the question (read here). Still a dumb thing though if you've fixed your own problem.

@EvanCarroll why not :P   I'll upvote because I've never seen this answer to the problem, I just assumed everyone did their resets properly

@SSS It makes sense, actually, as some answers might just be expressed in a better form, or lack info.

@SSS I just went back to factory because my partition table got borked. =(

Instead of "Error 7" why didn't they just say "format your phone first".  Those kind of people were responsible for y2k lol


text:
Uninstall TWRP application without PlayStore?
I accidentally agreed to the annoying TWRP application (me.twrp.twrpapp: the android application that keeps TWRP Recovery up to date.). Is it possible to remove this application from the install? Is there an uninstaller? The "App Info" screen only gives me the option to Disable and Force Stop.
When I try to remove it with pm uninstall, I get an error,
$ pm uninstall me.twrp.twrpapp
Failure [DELETE_FAILED_INTERNAL_ERROR]

The device is rooted, and uninstalling as root didn't seem to help
$ adb root
restarting adbd as root
$ adb shell
n1awifi:/ # pm uninstall me.twrp.twrpapp
Failure [DELETE_FAILED_INTERNAL_ERROR]

Just remove the apk wherever it is located under /system/ and /data/. Restart and the app would be gone.

As you cannot uninstall it from the GUI, the APK most likely resides in /system/priv-app and its data is in /data/data/me.twrp.twrpapp. Though it's pretty drastic installing something as system app without a proper warning. What if you wanted things done "system-less" to keep the chance for OTAs? Bummer.

Uninstalling TWRP is very easy if you are on the latest version of TWRP Recovery,
Go to TWRP Recovery via Reboot,
Mount System and other partitions
Now go to Advanced -> Uninstall TWRP APP (Checkbox)
and SWIPE to uninstall

First you have to connect to your device as root. When you do this you should see the # prompt,
adb kill-shell
adb root
adb shell

Now you need to remount /system as rw and then you can remove all copies of twrpapp
mount -o remount,rw /system
find / -name '*twrpapp*' -print -exec rm {} \; 2>/dev/null


text:
Which version of VLC is right for an Exynos tablet?
VLC has two versions listed for ARM,

Android (ARMv7-A)
Android (ARMv8-A)

I'd rather not install with the PlayStore. Both of these versions when downloaded say "Can't open file" when I click then in the File Manager.
For comparison, I also download F-Droid clicking it open up a prompt for me to install with the option INSTALL and CANCEL. I am using a Samsung SM-P600 UD.

-ARMv7.apk
The version needed with -ARMv7.apk. After downloading that, you have to install it. This may be more difficult than need be because VLC currently has the content-type on the response set wrong, you can read more about that here:

Can not install apks from File Manager or browser?

You may  open the file downloaded from the Download Manager nor through the browser -- see the link above


text:
YouTube update enforcement bypass? +Reasons why the old YouTube app is superior
The time bomb of YouTube's legacy versions has exploded:The “later” button to postpone the update has disappeared. YouTube is copying WhatsApp's update mesh.
I really wish to keep using a legacy version of YouTube's Android application, but now, YouTube has pulled the plugs by hiding the “update later” button.
Why have they disabled it in first place?
The application would probably still work technically.
Advantages of YouTube's legacy versions:

Unlimited search history.
Exiting search does not require to reload the results of the previous search or viewed channel/playlist/feed/etc., which saves time and occasionally mobile data.
I still had search terms from 2015 because I never updated. Search history with capitalization saved.
Profile pictures with the shape of a square. Superior field of view.
Less minimalism, more border lines. (I personally dislike
minimalism.)

Free from material design. (I do not hate material design,
but the rounded corners look loose. Windows 10's flat design is OK
becaubecause it looks still very angular. Although, I like the ripple
animation of mterial design.).

Full numbers instead of rounded numbers (YouTube calls them “abbreviated numbers”. Toxic minimalism) for ratings, view counts and suscriber counts. Rounded numbers are too shallow. (“2M” looks shallow, while e.g. the number “2.021.435” looks vibrant and ultimately sexier than a digit with one letter behind it. Additionally, “2B” can be confused with 28 on the first sight, while a a long number such as 2.039.721.486 looks truly unmistakenably immersive.).
Ability to pre-open videos from loaded search results before Internet connection has been established, so that I do not need to open it when the connection has established.
Ability to pre-open search pages too. Pre-opening searches saves the search query into the search history, so that I do not forget searching it the next time I open YouTube's app. Like a tiny sticky note.

How do I keep using the legacy versions of YouTube?
I know MixerBox, but MixerBox has no search history and multi/pop-up window support.

Google services framework does this. if you disable it, you get YouTube back, but google play can't load.


text:
Asus max 5.5 adb won't recognize device after unlock bootloader
Hey guys so I have encountered this problem multiple times. Followed this thread for unlocking bootloader and initiating root: http://www.symbianize.com/showthread.php?t=1411778
so far I went up to unlocking bootloader successfully without any hindrances but to my dismay after unlocking bootloader, adb won't recognize my device and can't proceed to flash TWRP. Tried rebooting to fastboot and typing in cmd adb reboot bootloader but did not proceed because as I said the device isn't recognized. Using windows 8 64-bit. Device is Asus zenfone 3 max variant 5.5 (zc553kl) updated to latest firmware nougat 7.1.1
I have usb and adb drivers installed, but the device doesn't even show up in the device manager, so adb reboot bootloader didn't find anything to reboot.
Any advice would be helpful. Thank you!

Furthermore ADB is not used in flashing images (i.e. a custom recovery), you use fastboot instead: fastboot flash recovery twrp-xxx.img for example. Perhaps you are confusing commands?

Weird either USB debugging isn't turned on or your USB cable may be defective or drivers aren't installed correctly. ADB was recognizing your device BEFORE the bootloader unlock?

Could you if possible make some screenshots of commands line window and your device manager? I see you don't have enough reputation to add images, pleqse use an online host

Will do update you later on if I have the time. Thanks for the help!

Yes device was detected before bootloader unlock. But after unlocking device wasn't recognized anymore

Bypass what? All you need is to enable USB Debugging in the developpers options again; Simply like that.

well just an update. Did unlocking again and restarted after fastboot but oddly enough my phone didn't go back to factory settings. I did unlock bootloader for about 2 times but the same thing happens. Dunno what the problem is now

Do you even understand things I'm telling you to do? I said now thr bootloader is unlocked,, go to settings > about device > type 7 times on Build number> go back to settings, now you should see Developer options > enable USB debugging

Besides, what is the commands you are using to unlock the bootloader

Well it seems you're the one who doesn't understand. Let me say it again. The instruction as to unlock bootloader I already provided the link in the main post, I assume you didn't even take a look at it to even see it is legitimate. BEFORE unlocking bootloader I ALREADY ENABLED usb debugging. Now, AFTER unlocking bootloader I restarted the device. After restarting the device turned on and the data wasn't erased. Pin code, finger print, apps and games all retained. I would probably assume the unlocking process was somewhat wrong or incomplete.

You never answered my question as to know if the USB debugging option is enabled. No I didn't bother checking the instructions you provided since I assume you knew what you were doing. If no data was deleted, I presume the bootloader is still locked. You can check that with Fastboot fastboot get status

besides, this thread is not in English.


text:
Import more than 25000 numbers (more than the limit of Google Contacts) in Android
I have generated a list of about 300000 numbers with regex to a text file. I know all of them are valid (pattern I mean) and most of them (like 80%) are real numbers (from somebody). Now I want to import them to phone contact in NOX (the Android emulator), but the problem is if I use Google Contacts, it has a limit of 25000 numbers.
If anyone has an idea, it would be great.

I think I solved it myself:

I used MS Excel to change the format from TXT to CSV

And then I used Contacts from Windows to import the CSV
and then exported them to a folder that contains 300000 contacts of VCARD or VCF files. You can find it on C:\Users\USERNAME\Contacts

And using CMD to export them all to ONE VCF
copy *.vcf combined.vcf

And then used ADB to connect to NOX
$ adb connect 127.0.0.1:62001
connected to 127.0.0.1:62001

$ adb devices
List of devices attached
127.0.0.1:62001 device

Copying the combined file into NOX SD card
$ adb push contacts.vcf /sdcard/contacts.vcf
$ adb sync

And then using the Contacts app from NOX to import the file from SD card.


text:
How to reinstall stock firmware on Galaxy S4 SCH-I545
I rooted my phone to get rid of bloatware and free up internal storage.  It worked but then I uninstalled the root app and my phone was having issues.
I did a factory restore and now when moving through the setup wizard it throws an error  "unfortunately, setup wizard has stopped" and starts back at beginning of setup wizard.
Any idea how to reinstall the stock firmware to get my phone going again?
Edit:
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin engine v(ID:3.1203)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> aboot.mbn
<ID:0/004> FAIL! (Auth)
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

Did you try flashing with Odin programming tool?

I tried to use Odin but it failed.

Is it possible to show us what errors you get? Should help understand what is going on

ID:0/004 Added!!
 Enter CS for MD5..
 Check MD5.. Do not unplug the cable..
 Please wait..
 Checking MD5 finished Sucessfully..
 Leave CS..
ID:0/004 Odin engine v(ID:3.1203)..
ID:0/004 File analysis..
ID:0/004 SetupConnection..
ID:0/004 Initialzation..
ID:0/004 Get PIT for mapping..
ID:0/004 Firmware update start..
ID:0/004 SingleDownload.
ID:0/004 aboot.mbn
ID:0/004 FAIL! (Auth)
ID:0/004
ID:0/004 Complete(Write) operation failed.
 All threads completed. (succeed 0 / failed 1)

From the log, I can tell you are trying to flash a wrong firmware file intended for another variant. This model has 2 variants IIRC.

Thanks...I'm trying to find the correct variant now.  The model number inside the batter case is listed as SCH-i545 UD but I'm not finding much under that search.

Try booting to Download mode (Volume down + Home + power button) The model should be there.

Let us continue this discussion in chat.


text:
Understanding partition size on /proc/partitions
I am trying to build a LineageOS ROM for an unsupported device. I need to get the partition size of the device. I have a rooted device and then went to /proc/partitions via root explorer, and I have like:
major minor    #blocks name

    7     0      65536 loop0
    7     1      98304 loop1
  179     0  122138624 mmcblk0
  179     1      16384 mmcblk0p1
  179     2      16384 mmcblk0p2
  179     3      16384 mmcblk0p3
  179     4       4096 mmcblk0p4
  179     5      16384 mmcblk0p5
  179     6      16384 mmcblk0p6
  179     7       2048 mmcblk0p7
  179     8       1024 mmcblk0p8
  179     9       1024 mmcblk0p9
  179    10      40960 mmcblk0p10
  179    11       8192 mmcblk0p11
  179    12      32768 mmcblk0p12
  179    13       8192 mmcblk0p13
  179    14      65536 mmcblk0p14
  179    15     262144 mmcblk0p15
  259     0     307200 mmcblk0p16
  259     1      32768 mmcblk0p17
  259     2    2359296 mmcblk0p18
  259     3  118931419 mmcblk0p19
  179    48       4096 mmcblk0rpmb
  179    32       4096 mmcblk0boot1
  179    16       4096 mmcblk0boot0
  179    64    7761920 mmcblk1li
  179    65    7757824 mmcblk1p1

I want to know under which format these block sizes are. Whether they are in bytes, Kb or Mb?
As I know, mmcblk0p1 is the boot partition and its block size is 16384, so what it will be in bytes?

Yeah the sizes are in bytes

@esQmo_ Do proper math? 16384B is just 16KB. // To OP: from my (admittedly shallow) Linux knowledge, reported block size is always 512 bytes. That gives 8MB for mmcblk0p1, and ~58GB for mmcblk0 (the entire eMMC). Is your device 64GB? If yes this would be the reasonable amount.

I have doubt as 1 MB is almost equals to 1048576, then it means here boot partition is of 0.016384 MB

@AndyYan i have an 128gb device

@Andy Yan The size is indeed 16 mb as 16384kb. Should've I just said approximately 17mb :p

@Rahul Sharma what device is it?

Besides, this looks like a MMC partition layout as they are read from /proc/partitions; eMMC's are read from /proc/emmc (I may be wrong thought)

@esQmo_ i have Asus Zenfone Zoom

As your device is rooted, you can install parted utility with ADB shell which will give you the sizes in MB instead

Comments have been moved to chat; please do not continue the discussion here. Before posting a comment below this one, please review the purposes of comments. Comments that do not request clarification or suggest improvements usually belong as an answer, on [meta], or in [chat]. Comments continuing discussion may be removed.


text:
What percentage of Android devices have BLE support?
Just asking for a bit of data, as I couldn't find it anywhere. Useful to know whether to develop for BLE or Bluetooth. How about percentage over time as well?

Android has started supporting BLE from version 4.3 onwards. I guess all the android phones that now comes with Android 4.3 or above out of the box will be having BLE support in both hardware and software. Decide on which technology to use based on your application! If its some control application, and you don't have any end user who is still on devices that has stopped android updates beyond 4.0, go for BLE else BT classic will be your best bet.

Thanks for your answer. It's my suspicion that the software is implemented to allow manufacturers to ship BLE hardware, but that most devices don't actually have the BLE hardware. That's what I was trying to discover with this question.


text:
How to disable "Alarms only" mode that activates during each call?
On my Moto E4 / Android 7.1.1 the "Alarms Only" mode auto-activates itself during each call.

It happens during every call, no matter, if this is placed or received call.
As you can see on following images, all my "Do Not Disturb" settings are purely default and all my automatic rules are set to "Off". Thus I have no idea what can be causing such behavior.
Things that I tried so far:

I have two other Motos (G4 and E3). I have checked them. Turned out that all three has exactly the same configuration and only E4 works this way.
I have deleted all automatic rules (thinking that maybe "Off" is not enough, since this is Google), but that brought no help.

How can I disable this feature or change my phone's behavior?

It's stock android behaviour, it is supposed to be because if you get notifications while on a call your phone should not vibrate in your ear. I do not think it is possible to turn it off. Maybe you can try an alternate dialer.

See https://www.xda-developers.com/how-to-automatically-disable-do-not-disturb-mode-during-phone-calls/ @SSS is right. This is intentional behavior and is limited to stock dialer app. Changing the dialer app or use an automation app to toggle DND should work.

Funny (surprising) thing that this stock behavior can be observed only in E4 and is not existing in G4 and E3 (and also wasn't in G5 that I have for some time). Shouldn't all Moto-like phones be as "pure" and as close to stock as possible? Anyway, your comments are full-featured answer to me, so why don't you write it, so we can get you some rep.?


text:
How can Android run a disabled application?
I have just run into a situation described in this blog:

Can any one explain this to me? How can Android run a disabled application? What good do we have from marking applications as disabled, if system is ignoring that?
How can I force Android to respect my will and to never execute a disabled app?

Related but no satisfactory answer: https://android.stackexchange.com/q/129427/96277


text:
Fixing "Unfortunately, DMG has stopped working" on Lenovo tablets
My Lenovo IdeaTab S6000H tablet running on Android 4.2.2 Jelly Bean had worked fine before yesterday when suddenly it turned off, and after a restart, it has shown this message periodically:

Unfortunately, DMG has stopped working

I also did a factory reset, but after turning it on, the same error message has been showing again.
How to fix this error?

I think some data got corrupted, I'd suggest that you flash a stock firmware. Should fix it

If you mean factory reset, I already have done it, but the message appears again

No, I don't mean factory reset. Flashing a device is programming it meaning reinstalling all the system stuff like installing Windows on a computer for example. So as one of your device components doesn't work properly, you neer to reinstall it hence flashing.

OK, I am going to try it.
But how do I flash it?

You need flash files and a flasher. Which model is your Lenovo Tablet?

the problem has been about the broken charge socket.

You should check the mounting state of sdcard, maybe it’s broken. Suggest to call the customer service phone for examining further.

it don't has any external sdcard

Its an malware app. Go to settings >apps>all apps>DMG>force stop>disable or uninstall

Any backing for that this is a malware app?

there s no uninstall option, but the disable , and force stop options,  haven't solved the problem