text:
Samsung devices: dual networking
I have the following setup: a Wi-Fi device which is NOT connected to the internet, like a drone or IoT device. The data of the device shall be uploaded to the internet.
While it is possible to connect to both networks within an app using the ConnectivityManager, it is not possible to use the mobile internet outside of the app. The devices have Android 6.0 or higher, so it should be actually supported by the Android system. But it seems to me, that Samsung did not implemented that support.
How do I use the mobile internet for instance to receive mails or push notifications while I am connected to a Wi-Fi which has no internet itself.
Thanks.

Similar questions have been asked here:

Can an android phone connect to both Wi-Fi and mobile data network at the same time?
How to enable dual networking in Android shell?
and
How do I connect to a wifi ap and 3g network simultaneously?

However due to the bounty description I will try to aggregate these facts and expand a bit since the answers were not marked as accepted.
Short answer it is possible to have dual networking but workarounds differ slightly.

From this source : Switch seamlessly between WiFi and Cellular with Multipath-TCP You can make use of Multi-TCP.

Multipath TCP (MPTCP) is Multipath-TCP is an extension to TCP that allows the parallel usage of multiple Internet connections.
Multipath-TCP is already implemented for the Linux Kernel, but not yet integrated into the official upstream kernel.
The source code (and some precompiled kernels, including Android builds) can be found here: http://multipath-tcp.org
Extra source with reference to Samsung device: MPTCP on Android Devices , and MultiPath TCP - Linux Kernel implementation.

In another source,  enable wireless and 4g at the same time  Users claim they were able to enable dual networking with the following workaround (quoted):

Turn off wifi in the normal way (from the phone's user interface) if it's not already off.

All the following steps done in a root shell:

load the drivers
busybox insmod /system/lib/modules/cfg80211.ko
busybox insmod /system/lib/modules/wlan.ko
start wpa_supplicant to connect to the first available wireless network. The wpa_supplicant.conf file I list below is the one maintained automatically by the phone as you join new networks. If you want more control (e.g. connect to only a specific network), copy the wpa_supplicant.conf file somewhere, modify it as needed, and specify it on the command line.

wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf

dhcpcd

busybox pkill dhcpcd
 rm /data/misc/dhcp/*
 dhcpcd wlan0

verify route

busybox route
For me this is showing the original default first on the list (goes through rmnet_usb0) followed by the new one configured for the wireless lan wlan0. Traceroute shows the traffic going out the first one.
Now, at this point if you try to enable wifi normally from the phone it will not work. To make it work:
ifconfig wlan0 down
 ifconfig wlan0 unplumb
 rmmod wlan
 rmmod cfg80211
And you can turn on wireless again

Alternatively with script:
# enable dual-networking:
pkill dhcpcd
svc wifi disable
svc data enable
netcfg wlan0 up
cd /data/misc/wifi/.
wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
dhcpcd wlan0
ip route add x.x.x.x via x.x.x.y # add any desired local route

# disable dual-networking:
ip route del x.x.x.x/x via x.x.x.y
pkill dhcpcd
pkill wpa_supplicant
rm -rf /data/misc/wifi/wlan0
netcfg wlan0 down
svc wifi disable
svc data disable

(A script runner is needed to run these scripts and root; you can get one here: SH Script Runner
And they noted:
It works perfectly but note that you don't actually see the wifi icon turning on, but if you run netcfg | grep UP you will see that the wlan0 interface is up and running (as well as the rmnet_usb0 mobile data interface, both of them will be up and will have the expected IP addresses) and you can access your local LAN while your mobile data 3g/4g whatever provides your default route to the outside world.

Other workarounds:

Using Super Download Lite
The developers of the app claim that it has the ability to perfom dual networking on android devices by combing 3G/4G and Wi-Fi networks.

Modifying the routing table

Another source: http://ironings4.rssing.com/chan-3701516/all_p2.html.
Provided details on creating a bash script in order to modify roting table to allow both 3G/4G work with Wi-Fi. Here is the script:
pkill com.android.phone sleep 30 route add -net 10.0.0.0 netmask 255.0.0.0 dev ppp0 route add -net 15.0.0.0 netmask 255.0.0.0 dev ppp0

The above is an example for a couple of address ranges to redirect to 3G connection  to the routing table via linux shell for using INTRANET via ppp0 for a few address ranges, while all the other destination addresses normally go via Wi-Fi.
The trick here is to force an application on the phone (or maybe it is a service, called com.android.phone) probably related to 3G radio interface to crash while you are connected to wifi, the 3G signal indicator will go down for a few seconds and soon after it will return to normal but this time with both H(SDPA) and Wifi icons showing on the notification area on the upper right of the screen.

In another article: Let WiFi and 3G connection work together by hacking ConnectivityService.java   (migrated to XDA forums)
The offered how to accomplish the task by hacking connectivity service:

Fully quoted:
“The goal of COIN project is to use WiFi and 3G connections simultaneously. So it conflicts with the policy of Connectivity Service, but there is no configuration to edit the policy, and it is hard coded. You can find the clue in ConnectivityService.java:handleConnect function.
Our current solution is quite brutal, which is to mask the eyes of Connectivity Service by modifying its message handler entry like the following:
// must be stateless – things change under us.
 private class MyHandler extends Handler {
 @Override
 public void handleMessage(Message msg) {
 NetworkInfo info;
 //added by COIN to disable Connectivity Service
 int networkState = 8; //not any following state
 /*use static google dns server for wifi and 3g*/
 if (msg.what == NetworkStateTracker.EVENT_STATE_CHANGED) {
 SystemProperties.set(“net.dns1″, “8.8.8.8″);
 SystemProperties.set(“net.dns2″, “8.8.4.4″);
 bumpDns();
 }
 //////////////////////////////////////////////
 //switch (msg.what) {
 switch (networkState) {
 case NetworkStateTracker.EVENT_STATE_CHANGED:
 info = (NetworkInfo) msg.obj;
 int type = info.getType();

…..

And then compile the modified ConnectivityService.java in the android source code tree, you can get an new services.jar file in framework directory. Replace the existing services.jar on the cell phone with the following adb commands, then reboot the phone

 adb shell “mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system”
adb shell “chmod 0777 /system/framework”
adb push services.jar /system/framework
 adb shell “chmod 0644 /system/framework/services.jar”
adb shell “chmod 0755 /system/framework”
.”

Conclusion
While I couldn’t test some of the workarounds myself, I have learnt most of these might have worked in earlier android builds (based on the evidence) so I am not   sure if the same is applicable in android 6. This feature seems likely to be implemented with emerging technologies evidenced by Multipath TCP technology described. For all the workarounds require root.
Hope this brings some light.
References
(Included in body text)

It is 2017 now.
Long before mobile devices, people were writing desktop applications connecting to several network interfaces simultaneously. It was necessary to handle that on the application, not system, level.
iOS supports that perfectly, as long as Linux, Windows, OS X.
The developers in Android team broke Linux they used to build Android and introduced a flip-flop switch in the Kernel to switch between Wi-Fi and 3G. Very sad.
Some developers were trying to remove that for several years, but it was so strongly hardwired in the Kernel, that they gave up.


text:
Samsung Galaxy S2 randomly launches applications after factory reset
I am not sure if this is the correct place for this post. If not kindly refer me.
A Samsung galaxy S2 device randomly launches apps (any kind). these apps immediately relaunch after forcing stop. when media player launches repeatedly the battery drains very fast and the cellular is practically unusable.
Is it possibly a touch screen issue?
I have searched online and found no similar problem.
I have tried factory reset to no avail.
This problem just started with no special update, root or installation as a cause.
Android version 4.1.2
ROM version 3.0.31-816988

what can be the cause?
What other steps can I take?

please mention about android version, ROM, cause of app force close(Eg: after ota update, installing custom ROM etc)

I am not sure what do you mean by cause of app close? I have manually forced all apps to close. I have added ROM and android version information.

I mean that if you have tried to install an update OR tried to root, or install custom ROM's like lineage, cyanogen, resurrection etc.

I did  not. I can think of no change in installation causing this problem.

source: Stack Exchange

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

sort: votes


text:
"Last seen" on WhatsApp for same contacts on different phones is not shown
I have 2 phones with 2 different WhatsApp accounts, not linked to each other at all.
Let's say I've got 3 contacts, contact X, contact Y, and contact Z on my WhatsApp profile "A" on phone "A", and the same 3 contacts on my WhatsApp profile "B" on phone "B".

I can see contact X "last seen" time and date on the WhatsApp profile "A" on phone "A", but at the same time not see contact X "last seen" time and date on the WhatsApp profile "B" on phone "B" of mine.
I can however see on WhatsApp profile "A" & "B" when contact X is online as both WhatsApp profiles "A" & "B" simultaneously indicate "online" when contact X is online.
For contacts Y & Z, I can see the "last seen" time and date as well as "online" simultaneously on WhatsApp profile "A" & "B" on phones "A" & "B".

Why would it be that I can see contact X's "last seen" time and date on WhatsApp profile "A" but not on WhatsApp profile "B" while I can see the "last seen" time and date of contacts Y & Z on both "A" & "B" WhatsApp profiles?
Other contacts which are also on both WhatsApp profiles of mine, I can see the "last seen" time and date on both WhatsApp profiles.

There is a setting, which allows you to control who can see your "read receipt" or your "last seen" (or a few other settings).
You find this settings under:
WhatsApp > Menu Button > Settings > Account > Privacy.
Following settings are possible: Everyone, My Contacts, Private.
To summarize your described behavior: Your observed person must have one of your numbers in his contact list, and has selected "My Contacts" for this settings (regarding "last seen"). So you are able to see the "last seen" from the number, they have in his contact list. But not from your additional number
For additional information you can visit https://www.whatsapp.com/faq/en/android/23225461

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

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


text:
System Set Permissions Accidentally, and is Corrupt
My phone's system folder at /system was corrupt.  I accidentally set its permissions to rw-r--r--.  Then, I reboot my phone, and nothing is working.
Here's what I mean:

1st reboot: power off;
2nd automatic reboot: automatically went to Recovery Mode;

When I reboot, it doesn't go to the Operating System.  It just sends me to Recovery Mode.
Offline Charging is (I think) also not available.  It powers on the device, but it doesn't play the Boot Animation (because the System Folder is corrupt), so it just send me to Recovery Mode.
What should I do?  How could I set the permissions of the system folder back to its default state rwxr-xr-x?
I had think of 3 possible ways:

chmod the system folder using TWRP Recovery's Built - in chmod.

I need to find the "Octal Code" of the permission rwxr-xr-x.

Install the stock ROM (in this case, CM 12.1) through recovery.

I don't know if this one will work.

Wipe the System Partition, and install the ROM.

I have no idea if this will work, or not.

The problem is solved quickly after digging on TWRP, and found out that there is a restore option.
Luckily, I have a backup of the System Partition.
The ROM installed on my device was CM 12.1, which is running Android 5.1 Lollipop.
The backup system (pre - installed ROM) was the stock ROM, which is running Android 4.4 Kitkat.
Guess I should just install that CM ROM.
By the way, I could get into the Operating System now, but I have another problem, which I will post in an another question.

Just in case you don't have a backup, the octal for rwxr-xr-x is 755.

Yes!  That's the Octal Code for rwxr-xr-x, and it's already built-in on TWRP chmod 755, but nothing happened to me.  I already tried that, but the problem is still not solved.  Luckily, I have a backup of the System partition, so do a Nandroid backup first, especially the System partition, to make sure nothing's lost, and you can restore it easily when problems occur.

That I do know, and it's always a precious suggestion.


text:
Storage location of "adb_keys"
I have a Galaxy s3 (I9300) that has a broken touch screen (display is fine). I therefore can not click the authorization dialog that pops up when I try to access the device via adb on any ROMs above Android 4.2 as they require authorization to access the device via adb.
On 4.2 and 4.3 of the stock ROMs, I am able to copy my ~/.android/adbkey.pub  file from my machine to /data/misc/adb/adb_keys on the device via CWM recovery and gain access. I have tried this with LineageOS 14 which is on Android 7.1.1 and I still don't get access. I am wondering where the adb_keys file is located on android 7.1.1 so I can do the same.

Since Android 4.2 when public key authentication was added to ADB, up to latest release 10, there are only two possible locations for adb_keys on stock Android:

On the device, vendors public keys are installed at build time in /adb_keys. User-installed keys are stored in /data/misc/adb/adb_keys.

So is the case with Android 7.1.1:
static const char *key_paths[] = {
    "/adb_keys",
    "/data/misc/adb/adb_keys",
    NULL
};

First one is only found on userdebug/eng ROMs. Also on debuggable builds, you can set ro.adb.secure to 0 to "allow adbd to connect without authentication". However "user builds filter out PRODUCT_ADB_KEYS, so no /adb_keys will be included". (Source)
So the RSA public keys added to /data/misc/adb/adb_keys should work. Make sure proper ownership (system:shell), mode (0640) and SELinux label (u:object_r:adb_keys_file:s0) are set on the file and restart adbd after adding key(s). Also check correct line endings (use dos2unix) after adding key(s) and make sure the right private key pair is available to adb server on PC. Path is ~/.android/ on Linux and %userprofile%\.android\ on Windows, or add the key filename/directory to ADB_VENDOR_KEYS environment variable.

RELATED:

Why “adb root” does nothing?

How do I apply a SELinux label to a file? semanage doesn't exist on Android, or at least my OnePlus 6.

@Nowaker use chcon. SELinux policy is not configurable on Android devices, unlike PCs. So there's no semanage.

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


text:
How can I run a consistency check on my removable MicroSD card?
I own an Android device with a removable MicroSD card. The card uses either FAT32 or ExFAT technology. These are "non-journaling filesystem" technologies, so the data on the cards can become corrupted in certain cases.
Perhaps I should run a consistency check (e.g. fsck / Chkdsk / ScanDisk) every so often.
How can I run a consistency check on my MicroSD card, without having to plug the card into a PC?

This question is about how. If you also wonder about when, please see: "When should I run a consistency check on my removable MicroSD card?"


text:
When should I run a consistency check on my removable MicroSD card?
I own an Android device with a removable MicroSD card. The card uses either FAT32 or ExFAT technology. These are "non-journaling filesystem" technologies, so the data on the cards can become corrupted in certain cases.
Perhaps I should run a consistency check (e.g. fsck / Chkdsk / ScanDisk) every so often.
A) How often should I run a consistency check on my MicroSD card?
B) Also, if my device sometimes freezes and I must power it off using the power button, must I run a consistency check every time?

This question is about when. If you also wonder about how, please see: "How can I run a consistency check on my removable MicroSD card?"

Usually you don't need to run consistency checks on filesystems manually. vold runs filesystem check (fsck.exfat or fsck_msdos) everytime before mounting a supported filesystem (including exFAT and FAT[N]) on secondary external storage.


text:
i want to know what app an icon belongs too... how can I find out
I would like to know how I find what app an icon relates to on top left of android phone please. Thanks :)

Looking for the second icon

Would you mind posting a screenshot, to clarify the exact icon you are reffering to. It may be some kind of notification, but we can't be sure if no there is no screenshot

Usually on most devices, long-pressing the notification might tell the underlying app.

Tap and hold on the icon, it become draggable.
In the top(or bottom) you will see 2 options remove if it is on home screen or uninstall if it from the menu and app info. Drop the icon on app info and it will bring you the corresponding page in settings.


text:
Bootloop after System Restore
My device just got into bootloop after restoring a backup of the system partition.
This bootloop is just a soft bootloop.  I mean, I could get into the Operating System, but it keeps playing the Boot Animation.

This is due to different android versions conflict. If you have restored without wiping previous ROM(5.1), it will ends in bootloop. Wiping 5.1 clears all data.

I just solved the problem by installing a ROM (in this case, CM13), and the problem is gone.
I still need to wipe and do a Factory Reset, because it came from another ROM.
After wiping, the ROM should install, and you could now get to the Operating System.


text:
What is this "Vo LTE" notification bar icon?
This icon  started showing up in my Android notification bar last week. I think it was after I used the Google Drive app for the first time (I had never opened this app before and was just curious).
Now the icon is there all the time, occupying valuable notification bar real estate – and not providing any useful information in return, as far as I can tell.
What is this icon? What is it supposed to be telling me?
Can I make it go away? If so, is there a reason not to?

I think you have activated VoLTE service for that SIM, you can set in phone Settings.

It means Voice over LTE network. It is good to leave it like that because you get better voice quality during calls.

Maybe it gives you the ability to use the phone and the data at the same time

VoLTE means Voice over LTE. The icon notifies you that you are now able to phone over LTE. This means, it's not necessary in order to make a phone call to switch back to 3G (You cannot phone over normal LTE).
In short it's new and better. As far as I can tell you could disable VoLTE altogether, but I recommend you to simply live with it.

On some devices it shows up as HD

VoLTE stands for voice over LTE. It means you can make HD voice/video calls over your LTE network.

HD voice video calls JIO effect. Right??

Yeah correct @sagar :)

VO-LTE is the next generation of VOIP.
It indicates that VOLTE is enabled in your device and you will be able to call via LTE.
It stands for Voice Over Long Term Evolution.
It is a technology works with 4G/LTE.
The VOLTE calls are highly secured and thus can't be taped

I also started seeing this icon very recently on my Samsung phone. You can switch it off by following the path on your Samsung Android phone: Settings > Connections > Mobile Networks > VoLTE calls (off or on)

Following your steps does not only switch off the icon, it also switches off the underlying feature.

it's describe your phone supported 4g Volte. and You can call without any third party app. EX jio4g voice.


text:
Volume up key to answer call
I'm running Android device on version 5.1 and my device doesn't have any buttons except power and volume.
I want my volume up key to answer incoming calls. Is there any exposed or any other method to help facilitate the ask?

Alternatively with Tasker;
Now for the Task:
Task 1 Answering the call
Create a named task :
Action: Phone >> Take Call

(click images for larger variants)
Exit out of the task.
Task 2
Ending the phone call
Create another named task:
Acion: Action: Phone >> End Call

Create a new Profile
State >> Hardware >> Button [Next] (which is similar to volume up) Check Stop Event.

For the second profile the proccedure is the same but this time a media button used is "previous" instead of "next".

Activate all profiles
Thats all.

automation is one option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.

Using Power key- you can set how many times you want to toggle to answer, here it is 3 times

Using Vol

You can use either methods that suit you


text:
Unlock Moto E OEM Bootloader without the Passcode from Motorola
I need to unlock my Moto E phone(2nd Gen). To do this, I want to unlock the bootloader first. I got the 'get_unlock_data' and sent it to Motorola, But I did not get the passcode from them :(
Could someone tell me how to unlock the bootloader without the passcode?
Thank You
(I'm ready to take the risks - could be blown away!)

You can't unlock without Moto giving you the code. Request again using a different browser,  sometimes this happens due to the browser

I've tried chrome and firefox. You're asking me to open IE.... : ( .. aaaaaarrrrggghh.... I'll do it if I must..

For me, it was a browser problem- don't recall which but I didn't try IE :)... Who knows that may work ? It out could be a matter of their server not responding or down

No luck :( I'll wait for another day for them to respond - do you know why it cannot be unlocked - I could do such thinks on a PC - for instance F8 into the setup and do stuff. These are computer systems - why can't I just force it or something..

I can't answer with authority but that's how it is designed - remember that Moto needs to keep track of who had unlocked (warranty ) so they would make it pretty much fool proof to ensure that they are involved in it

I really don't have much to add to this, but the most common causes of being unable to obtain an unlock code are either the device is carrier branded or otherwise subsidized version (Amazon ad supported comes to mind), these devices are not eligible for unlocking... Or the token is being pasted incorrectly. I have literally unlocked dozens of Moto devices, all using Chrome.

I finally received the code yesterday from Motorola . 10 emails with the same code :). Well- the answer to my question must be Patience!!  Now going to root my Moto E


text:
Can a micro-SD card contain some encrypted and some unencrypted files?
I recently upgraded from Samsung GS5 to GS7 edge.  I was encrypting the SD card in the old phone.  I believe that it was decrpyted when I removed it, because it was on and running, and I unmounted it from the settings menu.
However, several times I have restarted the GS7, entered my decryption pin, and then gotten a message that it cannot decrypt the storage because it was encrypted on another device.  Strange, but then I have been able to open folders and files (photos) stored on the card, right away, and without taking any further action or seeing any further message about decryption.
Is it possible that there could be a partitioned space on the SD card that is still encrypted, hiding files from me?  Or is this just a weird bug?  I would like to know before I return or sell the old phone, in case I still need to do anything with it.

Your question is out of scope here at Superuser

Please read the tags before posting your question.


text:
How can I migrate my Palm OS memos over to Simplenote?
There's an old PDA/smartphone operating system named "Palm OS". It's included with PalmPilot, Palm, Visor, Tungsten, Zire, Treo, and Centro devices.
One of the apps which comes with a Palm OS device is called "Memo Pad" or "Memos". It synchronizes with desktop PIM software such as Palm Desktop or J-Pilot.
On my Palm Treo, in my Memos app, there are about 2200 memos. They're all plain text. Some of the memos hold dozens of kilobytes of text. In total, my MemosDB-PMem file is 6.5 megabytes. I still use the Memos app regularly.
I think I'd eventually like to migrate all memos over to Android.
Evernote is nice, but as Wikipedia writes: "The service has experienced several cases of losing customer data."
Also, the free version of Evernote for Android doesn't work so well during times when you're offline. It works better if you pay for a monthly Evernote Plus subscription.
Finally, I know that Evernote supports file attachments, voice memos, photos, and other bells and whistles. But I don't need these features.
I think I'd rather use Simplenote, which I hear works well for plain-text memos.
How can I migrate my Palm OS memos over to Simplenote?
[Edit: To learn about one possible solution, see my comment below.]

I theorize that you could use the Palm Desktop memo importer for Evernote and then use other software to move the data to Simplenote. I haven't tried this yet. I wonder how well such a two-step process actually works.

Quick Google-Fu, so not an answer: Migrating Palm OS Memos to Android. A quite simplistic approach is also available: Migrating Palm application data to Android; though that goes via the (free with donation, and not cloud-based) Note Everything app, it might work for others as well.

@Izzy: Neither of your links will give me cloud-based memos. :) But you're right, they might help others.

Not only that. Once you got them into a usable format, just feed them to the cloud if that's where you want to have them (I personally don't want some cloud having my data, but prefer to keep control myself; funny to find that second link right now, as Note Everything was the very first Android app I spent money on ;) So if you use that approach to generate "plain text memos", why not feeding those to Simplenote then as you wrote it supports plain-text memos? That script in the 2nd link can certainly be adapted to store each note into a separate file, if needed.

@Izzy: Your method might work; but so might the method I mentioned in my first comment, above.

Be careful moving notes/memos to Note everything, it will make difficult to move your data in the future because it has not good export functions. In this page you can find sql for sqlite to move to other apps. https://dapgo.github.io/PIM_Data_Interoperability/


text:
How to block websites on Android (for free) without root?
I want to block websites on my HTC phone.
It seems as though ES File Explorer needs the phone to be rooted to use this method, which I don't want to do. (I don't have any folders when I click through 'Local'-'Device' at all, which is where you're supposed to find 'etc' so I can't go any further anyway)
Trend Mirco is far too expensive for the premium version which lets you block any site name (given I'm trying to block sites where I can spend money!)
Firefox Add Ons don't seem to work on the mobile version, they will download, but I have no way of opening them.
Apps all seem to be about blocking adult content on kid's phones, which isn't the issue here.
On the desktop computer I've used Leechblock for Firefox, and BlockSite for Chrome.
Any other ideas that don't cost anything or require a rooted device?

I'm not sure if anything here would help you: https://android.stackexchange.com/q/53833/1465


text:
Apps not being pushed to new device
Just got a new device, the Pixel. Had Samsung Galaxy before with a bunch of apps. That, in turn, was an upgrade from HTC. When I got it, all the previously installed apps were pushed to the Galaxy. I was expecting the same to happen with the Pixel, but nothing was pushed to it. The device is logged into the correct account and shows up as a registered device in the Play Store on the web. I can manually push apps to it and they install. But I have hundreds of them and was expecting them to install automatically. Why did they not? Is there a way to force it?

Did you have your Samsung set to backup to your Google account?

You can see what apps are backed up at https://myaccount.google.com/dashboard and open Android section

All apps got installed during the "restore" in the initial setup. However, most data for those apps did not. I was thinking this might be a feature of the apps that they don't backup their databases to the server. But looking at the dashboard you pointed out, I see the old phone has a whole lot more apps backed up than the new one. Am I possibly missing something?

Actually, only some apps are compatible with the Google App data backup system... I find more that are not than ones that are. You can see which ones have app data (typically only the app settings, not the actual data) backed up by going to link I posted previously.

Depending on when you purchased your previous devices, you restored the devices during the initial setup window.
When booting up an Android device after a factory reset, you're greeted with the Setup app.
During this process, you add your Google account. In most cases, there is a link to restore your device, which will install apps associated with the google account to your device.
If you have yet to apply large amounts of data to the device, factory reset it so you go through the initial setup again, and look for a restore option.
If this doesn't show, no previous installations can be found, and you'll have to install apps manually.

This worked. I must have not selected "restore" during the initial setup, so I wiped to factory and made sure to select it this time. All apps got pushed.


text:
Is there a way to run an application in the background without it ever being closed
I have a moto g4 play and theres a feature that makes the ringtones/notifications ascend, which sometimes makes it so I can't even tell the sounds are going off. There's a weird workaround that if I use this application that I downloaded from the play store, it blocks the ascending sound. the thing is, the app keeps closing every so often. Is there a way to permanently keep it going in the background without it ever closing?

"I use this application that I downloaded from the play store" -> what app? You didn't include a link.

Also, instead of dealing with this secondary problem, I think it's best you dig into settings and turn off "increasing ring volume" or a similar option to tackle the primary one.


text:
Micromax E483 calls are not establishing until mobile is restarted
Recently I bought Micromax E483, it was working very nice but recently i am unable to make any call. Even after rebooting the mobile, calls are going only once or twice.

Which Service Provider are you using?

Check your Access Points settings for that service provider, Or any activation process/ recharge. Also, check your network coverage.


text:
How to figure out which APP downloaded a file OR requested a download?
I found that a file (which was an apk for a new App) was downloaded several times without asking for a permission. My phone is Samsung Galaxy 7 with Android V 7.0. How can I find which App did the download?

probably malwares

Yeah I guess so! but I want to figure which App contains malware.

Hard to tell. Try browsing the app list may be you'll notice apps with weird names

As it seems nobody wants to answer this, a possible but cumbersome approach: Assuming that download would be repeated, and further assuming you know how fast that will happen (and the interval isn't too big), you could install a Firewall app (yes, there are some working even without root) and block as many apps as you dare. If the interval passes w/o the download, set one app free, then another – until the download happens again. The last app set free then is the most likely candidate.

If that's acceptable as answer for you, just let me know and I'll "convert" it. But you might wish to try it first. One thing I'm not sure of: what if an app orders the download manager to deal with that? If you restrict that app, would the download still happen? Or should you try a Permission Checker first to check apps for ACCESS_DOWNLOAD_MANAGER/ACCESS_DOWNLOAD_MANAGER_ADVANCED/DOWNLOAD_WITHOUT_NOTIFICATION?

Honestly, I deleted some suspicious apps one day after I asked this question and the download stopped. I couldn't afford more downloads!! But I was curious to know if I could track the downloader app. Anyway your solution seems reasonable. just post it!

you have the size and you have the last modified date of the downloaded file. and the name. you probably should create a Receiver and in that check for those items. and alert yourself if any of those things are suspicious .


text:
Is USB debugging needed when flashing stuff?
I mostly worked on Samsung phones, but I also had a shot on some cheap MTK phones.
Over the course of rooting/flashing roms/flashing kernels I built myself/using Odin (Samsung)/etc. on a lot of phones, not once did I need to change any USB debugging option, except on my first try when I was still new to Android.
But, once I began learning how Android works (and becoming an Android dev in the process), turning on USB debugging didn't make sense when interacting with the phone outside of Android, because as far as I know, USB debugging is only soft. That is, the phone hardware didn't care, but the OS requires it for debugging purposes (ADB access).
So, basically, when you need to flash something in recovery mode OR via a tool (e.g. Odin, Heimdall), you don't need USB debugging. But, when you are talking to the OS (logcat, etc.), USB debugging makes sense.
So, why do almost all of the online tutorials that I revisited require turning on USB debugging even though you're outside of Android? Is there something I don't know that needs it? Or are they naive and simply followed the leader (copy-pasted another tutorial into their own blogs)?

Interesting, I'm thinking it's just copy-paste, but I can't be sure about that, because I reboot to bootloader/recovery with ADB and therefore always enable USB debugging regardless of whether a guide tells me to do so. Then again, the majority of devices I tinker with don't need a guide at all (fastboot, TWRP, profit) XD

USB debugging is required when interacting with the running OS and apps within.
Outside, such as during flashing, one is not interacting with the OS, therefore it has no role.
As others have mentioned, enabling USB debugging for modifying the hardware (such as during flashing) may be a misconception and/or a result of copy-paste content creation.

It is never really required for anything related to flashing kernels and Roms. However, you can do other things with adb that are more related to modifying the existing system. However in the case of most tutorials, I think its what Andy Yan said, it's just for copy paste


text:
What's the logical name for Android's native GPS interface?
I'm trying to identify and locate the /dev/ pseudo-file that corresponds to the onboard, hardware GPS devices; installed in most modern Android smartphones, and tablets. I know that it probably varies sometimes, but the vast majority more than likely use a standard, logical name.
If you have no idea what I'm talking about; some examples of common, logical names for other kinds of hardware that you might recognize, are:
tty0, mouse0, event0, eth0, wlan0, sr0, video0, media0, bus0, usb0 gps0, disk0, sda1, sdb2, sdc3, and so on.
Most of these live inside /dev/, and it's subdirectories; such as /dev/input/.


text:
OnePlus One bootloop, not related to flashing
My phone entered bootloop during charging, restarting doesn't solve the issue and I can't boot to bootloader, only "fastboot mode" text is stuck on screen. TWRP recovery can be accessed and I've tried clearing cache & Dalvik cache. I haven't flashed nor installed anything in months (CyanogenMod 14 installed), the phone has only been used for calling and messaging since late 2016. I've also had a similar issue before, happened during charging as well.
I found a potential fix by Ricardo Cerqueira of Cyanogen Inc., shared by Android Police:

While your phone is booted to TWRP, run these commands on your
  computer:
adb shell
make_ext4fs /dev/block/mmcblk0p15

Here's the output of the command:
make_ext4fs /dev/block/mmcblk0p15
Creating filesystem with parameters:
    Size: 33554432
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 2048
    Inode size: 256
    Journal blocks: 1024
    Label:
    Blocks: 8192
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/2048 inodes and 1166/8192 blocks

Once everything is over, the OnePlus One should be restored without
  any data loss.

I get identical output when running the commands, but the phone is still persistently in bootloop.
When reflashing my ROM the installation fails. The installation processes finishes far faster than normally (around 10 seconds) and this error is displayed twice in TWRP log (in red):
E:unknown command [log]
E:unknown command [log]

What should I try and is the cause of this issue now known?

complete Windows PowerShell output, commands in bold:
PS C:\WINDOWS\system32> adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

~ # make_ext4fs /dev/block/mmcblk0p15
Creating filesystem with parameters:
    Size: 33554432
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 2048
    Inode size: 256
    Journal blocks: 1024
    Label:
    Blocks: 8192
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/2048 inodes and 1166/8192 blocks


text:
Android Wear system updates origin
Are the system updates for Android Wear coming from Google or from the watches vendor?
I've tried to Google this information, but I found nothing on this topic.

The updates for Android Wear OS are released by Google.
As depicted in the image below. Find the source of image here

Hope this satisfies your query.

Maybe the vendor decides how it'll be. I just found this article about Nixon releasing AW2 to their watches :/ https://www.androidheadlines.com/2017/03/nixon-says-android-wear-2-0-will-hit-mission-march.html . OMG this is all so confusing


text:
Enable OEM unlocking and unlock bootloader on an HTC device
Recently I bought HTC Desire 530 phone from the Facebook Marketplace and have been tricked with a demo phone. It's a new phone, not even a scratch, but i demo keeps popping up every 30 seconds. I want to root it and install a fresh stock ROM but can't unlock the bootloader.

Click images for larger variants
I followed several tutorials on YouTube and XDA but couldn't get it working.
How to OEM unlock and unlock the bootloader for this device?

You need to sign up as a developer to unlock an HTC bootloader.
There's a full set of instructions on XDA

1) Visit htcdev.com and unlock your bootloader
  -sign up as a dev, activate your email, and follow the steps
2) Download twrp from the app store. You won’t be able to run it yet but
  you still need it
3) Put the supersu zip file from your computer into
  your download folder of your phone
4) Get fastboot & adb running on
  your computer.

open cmd prompt
navigate to the fastboot/adb folder in your cmd prompt
with your phone plugged into your computer type “adb devices”
if it returns your device good
now in cmd type “adb reboot downloader” (you can also do this by powering off your phone then turning your phone on by holding the down
  volume button and the power button at the same time.
once you are in the downloader type “fastboot devices” in cmd
if this returns your device good
DO NOT GO ANY FURTHER TILL THIS IS WORKING!!! 4)Once your phone is in the rebooted downloader screen type “fastboot flash recovery
  ”
make sure you are on the downloader page and not the bootloader page
this should end in .img
this is a second boot screen for your phone. The first time I did this recovery wasn’t working because I was trying to fastboot on the
  bootloader page.

5) Now boot into recovery mode by navigating to it on
  your phone or using the cmd “adb reboot recovery”
  - Once you are here you will see the twrp screen
6a) The way I did it is going into the twrp recovery boot and going to install and choosing
  the supersu.zip file I moved to my phone in step 3. After it is done
  reboot your phone and now you are rooted.
6b) The other way is to go
  to advanced in twrp and enable sideload
  - now in cmd type “adb sideload ”
7) If you need to turn S-OFF install sunshine on your phone and it will do it.
  - You need to have your phone rooted first to turn your S-OFF with sunshine

I can't unlock the bootloader because OEM isn't unlocked.

That's why you go sign up at htcdev.com as a developer. They'll give you the code to OEM unlock so you can unlock the bootloader.


text:
WhatsApp delayed notifications - Force application to run with foreground priority
Is it possible to force an application (e.g. WhatsApp) to run with foreground priority so Android shows notifications (e.g. new messages) of that app as fast as possible?
There are apps that use a persistent notifications to achieve this goal. Is there any way to do the same with apps of your choosing? Maybe through Tasker?
CM13 - GApps (pico) - Xposed - Root

There are some workarounds to use. Is your device tooted by the way?

I had to delete the solution probably its not working as hoped, but I am pretty sure it does on my device, maybe something going on on your device. Goodluck!


text:
phone plugged to computer, ring in computer sound system
I usually keep my phone plugged by usb to my computer.
But when someone call me, I'd like to have the ringtone going to the computer, and then to the computer sound system (like, the wireless headphone I'm wearing all day long).
I'm looking for a Windows or Linux solution


text:
Why does my nexus 6p goes black after call is answered
when I make or recieve a call as soon as I click the call or answer button the screen goes black. And I can't hear anything thru the ear speaker. However, when I put it on speaker it stays normal. What can cause this issue?
Thank you for your help guys

Do ear speakers usually work on that device at all? Maybe it is a hardware issue, and they are simply broken.

Your phone has an hardware issue. The proximity sensor is broken or is covered.
But before, did you put a screen protector, such as tempered glass, may it doesn't have  proper cutouts.
As a workaround, I'd suggest you set up the power button to end calls (Settings -> Accessibility -> Power button ends call).
You should consider taking the phone to a repair center if the above don't work.


text:
Help with gmail?
I know I'm going to sound very silly because I'm not very good at all this. I only became a teenager last week... Anyway, a couple of weeks ago, my mom got a new phone. She said I could have her old phone because I wanted to get a game that wasn't available to download on my iPad. But today, I wanted to change the gmail on the phone and change it to mine, so I set a new one up like 30 minutes ago. I went into settings and I signed out her Gmail from the old phone ( her gmail wasn't synced and I don't know what that means haha because I'm a silly person ) I went into Gmail app and I noticed that ALL OF HER EMAILS WERE ON MY NEW EMAIL :( Did I delete her account and change it to mine? I don't know what to do. I don't understand. This is probably stupid to you guys but I'm afraid I did something bad. Please help me. I'm actually scared I did something wrong to it. Please reply in a easy way how to fix it because I'm not good at all this stuff. Thank you :)

Just clear the data and cache for the gmail app at Settings > Apps

First, you are not stupid at all, the fact that you don't understand something is not a reason for stupidity, is just you don't have knowledge about it.
And there is no problem with the Gmail account, the mails you are seeing are stored in your phone, accounts are never lost since they are in Google server.

For single quote marks, use ', not `.

The best bet here would be to delete the Google account from the phone, and perform a factory reset... otherwise there will always be "remnants" of your mothers data on the device. Then set it up as a new device. This would be the cleanest method.

Oh thank you :) So all of my moms emails were just stored on my phone and she still has them on her new one and on the laptop?

Yes, all mail is in the google account, just sign in.


text:
4.4.2 android usb internet failure error 1061
i am using my phone's usb internet option but this error shows up.please help


text:
Android Several Hotspots Connection
It is possible to connect to several Android HotSpots at the same time ?

Might wanna edit out the 2nd part of the question, as dev stuff is off-topic here. The question itself sounds alright to me.

You cannot connect your android to two wireless connection at a time, as of now. You can do so in your PC or Mac using USB WiFi Adapter.
But if you have mobile internet and a WiFi connection, you can combine both using an app called VideoBee. But as the name suggests, this app is only meant for streaming videos. Learn more about VideoBee here
Hope this helps.


text:
How can I prevent long hold backspace from deleting everything?
If I am holding down backspace to delete several words, if I hold it down for more than about a second, it will delete everything until the beginning of the line. I would rather it just keep deleting words at a constant pace. I feel like I am working around this "feature" more often than I am using it, ie, I want to delete everything except the first word on a line, and I end up holding backspace for just under a second, waiting, holding it again, waiting, holding again, etc.
The most common occurance is when I want to delete everything after a slash in a web address.

I'm now using a oneplus 9. tbh I still like the galaxy better overall, but I do appreciate that oneplus' OS does not include the long hold backspace "feature"

This is not possible without using a 3rd party keyboard, specifically SwiftKey

.. If you continue to hold the backspace key it will speed up.When Gestures are enabled:As well as the same functionality as above, you can additionally delete the last word you type by sliding your finger across the keys from right to left.

Source - SwiftKey support


text:
are there more special characters on my phone keypad such as "#"?
I get frustrated with Android because I can't find all the special characters on it for passwords etc that I have on my windows 10 computer.  Is there a trick to finding more special characters?

That very much depends on the keyboard app you are using. Some (like Hackers Keyboard) offer more "special characters" than others.

Yes there are. For example try holding letter F it will show $ € £ ¥ ¢ . Try other letters as well.

All of the special characters are there in the default Google keyboard, but you may need to go two screens into the symbols in order to see them.
You probably already know that you can get to the first symbol screen with the numbers by pressing the ?123 button.
Once you are on that screen, you can get to the second one by pressing the key that used to be the Shift key, which now says =\<.


text:
Where are UID for each application stored?
When installing an application, Android gives it an unique UID, which file(s) is used to keep track of used UIDs and to whom they belong? I want to forcibly change application UID to ensure they are the same on different device.
I've already checked with /data/system/packages.xml. But while that contains application permissions by package name, didn't see any UID there.
If it depends on Android version, for each versions superior or equal to 4.4.4 and source to documentation to figure it out myself for future versions.

You have already missed the correct answer.
The UIDs are stored right in /data/system/packages.xml, although an easier-to-interpret version with less information is available at packages.list.
Here's an example line of what's inside (scroll to the right)
<package name="jackpal.androidterm" codePath="/data/app/jackpal.androidterm-1" nativeLibraryPath="/data/app/jackpal.androidterm-1/lib" primaryCpuAbi="armeabi" flags="572996" ft="1592b6fa088" it="153d4948841" ut="158ed133c1f" version="71" userId="10001">
You see, there's a userId XML Attribute. This is exactly the UID you are asking for.
Furthermore, userId may be replaced by sharedUserId if an app shares its UID with another. Like (also scroll to right)
<package name="com.android.providers.telephony" codePath="/system/app/TelephonyProvider" nativeLibraryPath="/system/app/TelephonyProvider/lib" primaryCpuAbi="arm64-v8a" flags="540165" ft="159d34468e8" it="4ba52c60" ut="159d34468e8" version="1" sharedUserId="1001">
Of course you don't want to go through that terribly long packages.xml, so you might want to take a look at packages.list, like
jackpal.androidterm 10001 0 /data/data/jackpal.androidterm default 3003,1028,1015
Very straight, isn't it? The 2nd field delimited with space is exactly the UID and it's the same as the one in packages.xml.
Do not modify packages.list. All unmatching records in packages.list will be corrected from packages.xml.
Also, it's possible to change UID of an installed app if it does not have a shared UID. Simply edit packages.xml and reboot, then the new UID will have effect immediately. Old data will be erased for the changed app. If you want to keep data, apply chown recursively on the app's data directory in /data/data. If an app's old data gets erased by mismatching UID, related information will show up at /data/system/uiderrors.txt. Like this:
1970/01/01 00:00: Package jackpal.androidterm uid has changed from 0 to 10001, old data erased.
Tested on Android from 4 through 5. I guess this is applicable from Gingerbread to Nougat.

thanks i had not scanned through all data, surely the first part is permissions then UIDs.

Does this still work on Android 10? Can you pleas explain more how to avoid lossing the data? Thank You.

@Sruly 'chown -Rhv 10001.10001 /data/user*/0/jackpal.androidterm'

@alecxs It doesn't seem to change the apps UID it only changes the files owner and group. I'm looking for a way to change the apps UID to make it the same as the UID for this app on a different device.

@Sruly chown recursively is "how to avoid losing the data" (after editing packages.xml from this answer)


text:
How to root Xperia Z Ultra safely?
I want to root my Xperia Z ultra . but not finding any safe method for it. I have heard of kingroot . is that safe ? please help me to find other safe ways to root my device.

According to XDA, you can root the Xperia Z Ultra by using V root

1) Enable USB debugging [/Settings/Developer options]
  - To enable Developer options you need to go on /Settings/About phone/ and tap your 'Build number' 8 times...
2) Download your device drivers, then install them.... and then
3) Download VRoot (http://www.mgyun.com/vroot)
4) Install VRoot
5) Your phone needs to be turned on and your lock screen unlocked...
6) Click the green button on the far right of the vRoot application.
7) Now, your phone will restart by itself. (repeat the steps again if this does not work)
8) Unplug your phone from the USB, and check to see if the chinese version of superSU is installed. (it will look like a blue shield)
9) Then go to the playstore, and download superSU/ superuser. Open superSU/ superuser.
10) Allow binary update, and then plug your device back into your laptop, and open vRoot.
11) Click the white button (unroot) and wait for your device to reboot
12) Click on superSU/ superuser (which ever you downloaded) and allow binary update (again!), then go into the superSU/ superuser settings > and select 'install to system'
13) restart your device.... done!

can you please suggest any other method which does not use software installment other than Super su?

I would also add that kingroot does not meet the "safely" requirement.

FYI, the link for "V root" is dead.

You have to download KingRoot for your device and it is safe I'm using it from last 4 years
Download from
https://kingroot.net/
It have following features

Root Defence-consist of url as well as device security
Game Booster
Purify-Auto clean phone cache to save power
Uninstaller tool
Accelerate Charging

NOTE : You have to connect your phone with internet(It need approx 2MB)
Installing Process
Open KingRoot
it will check whether phone is  rooted or not.
then click try root button to start rooting
Now wait for the 100% process ,after this your phone is rooted
Hope it will solve your problem...

Kingroot doesn't works on all mobile phones.

FYI, the link for "KingRoot" is dead.


text:
Verizon Email Sign-In Failed
This error message is for a Verizon email account on a Samsung Galaxy S5 phone. This afternoon it started saying the password changed and wanted me to put the new password in, but I did NOT change my password. So I have no clue. This isn't the first time this has happened. I don't remember what fixed it the other times.
Is it a Verizon issue or my account or my phone? So frustrating to keep hearing the notification over and over.

Have you tried to call Verizon? If not, it might help. Also, try clicking forgot password.


text:
If i root my htc 0pcv1 will anything erase? Also how do i safely root my andriod?
This is exactly what my device look like. I am rooting my device because I only have 4gb and I dont have space for apps and games I want.

Rooting your Android does not erase data but it is recommended that you should take backup prior root, just in case you do not root properly which might lead to locking your motherboard.
Please note that
1) Rooting might void your phone's warranty.
2) You won't receive OS update through OTA.
3) If rooting is not done properly, your device becomes bricked.
Rooting has n number of advantages too, but please research thoroughly before doing it. This article might help you. Good luck :)

Ok wait... I'm 14 and I don't know how to root. I don't want to make a mistake.... I'm nervous. Is there a app that is free or a site that is 100% safe that will root. And will everything be normal? I dont access to things that are not made for me to have. All I want is more space. Google play services take up to much space.Thanks

There is no need to be nervous or anything, just research well before you root and you will be good.


text:
Blackview recovery mode
I have a Blackview A8 that is stuck at upgrading.
After the optimizing step (40 of 40) if just hangs and it stays like that until the battery runs out
Can anyone help me out?
I would like to go in recovery mode or to reset the phone.

First you have to reboot and press and hold Volume Up + Power key for about 5 seconds. When you see the Blackview logo press Power key and a menu will follow, there select recovery mode...
PS: I had to try a few times before I manage to enter the menu


text:
Very low battery-life in specific WiFi
Hello fellow Android Enthusiasts.
I have a problem that has been bugging me for a very long time:
Whenever I leave devices at my workplace overnight, the battery is completely drained the next day.
This occurs on any Android device and any of those devices' batteries last completely normal in any other location. This is exceptionally strange with tablets which batteries last for weeks in standby mode.
The devices are not connected to anything over night via cables.
The only thing I can think of that is different between work and anywhere else is the WiFi.
Those are my devices that I could observe the behavior on:

Sony Xperia Compact Z5
Samsung Galaxy Tab S2
Google Pixel C
LGE Nexus 4
Google Nexus

The range of Android Versions goes from 5.1 to 7.1.1.
Can such a behavior be caused by the WiFi? I was thinking of connection loss and reconnection iterations. But I think I would have noticed such problems while being at work. Any other ideas out here?

While WiFi is turned on and no connection is available then the phone keeps on searching for a wireless connection. This certainly leads to draining of battery.

The WiFi at the workplace is up 24/7. Also I never switch WiFi off on my phone when walking around outside and it never drains the battery as extreme as it does it at work.

Is there a single WiFi connection available at your workplace or multiple?

There are plenty of WiFi. But there are also plenty of WiFi at home where the battery-life is normal.

Device connects automatically to the WiFi with better signal strength. At you work place the signal strength of WiFis might vary, resulting into change of connections leading to battery drain, which might not be the case at your home.

Firstly, we are assuming it is Wi-Fi related ( though I can't think of anything else)- turning off the WiFi to see battery drop would confirm 2. Install this app to see the time graph of WiFi strength at night- of it is very weak, that could be causing the problem 3. Have you scheduled backups like Google, Dropbox, whatsup etc to the cloud at each early hours / night time ? This could be causing significant drain 4. Check if you have scheduled anything else to run at night

I will experiment with the suggestions of 1 and 2. I don't think that synchronization is the key here since it does this at home, as well.
I will reply once I've testet it, which may take at least a day.

Please tag @ me, else I may miss seeing your response


text:
Can't enable System UI Tuner
I am running Lineage OS (14.1-20170324) on my Asus Zenfone 2 (Z00A). I know that System UI Tuner can be enabled by holding up settings cog for about 10 seconds. But it is not enabling on my device.
System animations are enabled but the cog is not spinning.

Root is enabled on my device.

See if you can locate shortcut to system UI using QuickShortcutMaker- wondering if the activity is working fine but is not responding to touch due to a ROM bug

It seems that the System Tuner UI was removed starting with LineageOS 14.1, see this reddit post. The settings which were to be found there are claimed to be integrated with the standard settings – and from the screenshot of the UI Tuner I've seen, this indeed seems to be the case (My BQ is also running LOS 14.1, and I can't enable the UI Tuner either).


text:
How to stop the person using my stole phone what app?
Since my phone been stolen..I already blocked my phone..so the new SIM card resend back..when I install at new phone.i find out my what app still been use...so what should I do now?

Sign in with your number in another phone then the other person won't use your account anymore. WhatsApp can only be used in one phone at a time


text:
php with mysql support from the command line on Android
Is there a terminal emulator for Android which allows to use vi and php with mysql support?
PS. Termux unfortunately doesn’t allow to connect php to the mysql.

Late to the party, however, if I install the php package:
pkg install php

then navigate to my directory containing my php files,
cd storage/<php directory>/

I can then prefix commands with ‘php’. So, to run a file in my php directory:
php -f php_file.php

There is more information in the ‘man’ doc - “man php”.
I use DroidEdit, which works well; I have not tried using vim, but I see no reason why it would not work, so long as your current directory is the one containing the php files.
As to whether you can configure the application to use Lavarel, I’m sorry, but I do not know.

what terminal emulator are you talking about? If termux, then there was no mysql support for php supplied by termux.

I am using Termux; I am also using Mariadb and php, both from the Termux pkg mngr. I also installed Adminer (from its site), which gives a GUI for the database. All wotk, but currently, my Adminer installation has a problem, so I have no connection to the localhost.

When I was tried php on termux, there was no compiled mysql library for php.

The closest I’ve got to MySQL is MariaDB, which you can install from Termux. In conjunction with Adminer https://www.adminer.org/ you will have a working database. There are instructions available for set up of both utilities; I used this: https://youtu.be/AYLy2kWGN_I; set the subtitles to your language. The follow-on video deals with Adminer.

What you want is more than a terminal emulator. The way PHP scripts connect to a database server is entirely outside the control of the terminal. There are a couple of "server pack" apps in the Play Store that include services like MySQL and SSH. I can't recommend a particular one, but if you search for MySQL on Play Store you'll get a lot of results.

I have such packs. There is no problem in running php server or mysql on android. I want to use Laravel php framework. To use it I need php in command line.

In order to do this you will need to have su or root on your phone,
Because in the Android OS each app runs under its own user, (not to mention selinux) which is why you need root to change a apps data manually (commonly known as "cracking" or "hacking").
You can easily find php/mysql binaries to install after you get root.
Which should be moved under /system/bin

I don't want to root my phablet. I'm looking for alternatives such as termux. It has a bunch of packages such as php and sqlite. But I need mysql...


text:
How to wipe OS partition in TWRP?
Operating system partition can be wiped in order to reinstall a broken ROM installation for example, personal files will be left intact. What is the correct partition to wipe?
Partitions for OnePlus One in TWRP (excluding cache and USB OTG):

system
data
internal storage

Let’s start with a list of standard internal memory partitions on
  Android phones and tablets. These are:
/boot
/system
/recovery
/data
/cache
/misc

In addition, there are the SD card partitions.
/sdcard
/sd-ext

Note that only /sdcard is found in all Android devices and the rest
  are present only in selected devices.
Let’s now take a look at the purpose and contents of each of these
  partitions.
/boot
This is the partition that enables the phone to boot, as the name
  suggests. It includes the kernel and the ramdisk. Without this
  partition, the device will simply not be able to boot. Wiping this
  partition from recovery should only be done if absolutely required and
  once done, the device must NOT be rebooted before installing a new
  one, which can be done by installing a ROM that includes a /boot
  partition.
/system
This partition basically contains the entire operating system, other
  than the kernel and the ramdisk. This includes the Android user
  interface as well as all the system applications that come
  pre-installed on the device. Wiping this partition will remove Android
  from the device without rendering it unbootable, and you will still be
  able to put the phone into recovery or bootloader mode to install a
  new ROM.
/recovery
The recovery partition can be considered as an alternative boot
  partition that lets you boot the device into a recovery console for
  performing advanced recovery and maintenance operations on it.
  Example:Clockwork Mod, TWRP etc.
/data
Also called user data, the data partition contains the user’s data –
  this is where your contacts, messages, settings and apps that you have
  installed go. Wiping this partition essentially performs a factory
  reset on your device, restoring it to the way it was when you first
  booted it, or the way it was after the last official or custom ROM
  installation. When you perform a wipe data/factory reset from
  recovery, it is this partition that you are wiping.
/cache
This is the partition where Android stores frequently accessed data
  and app components. Wiping the cache doesn’t effect your personal data
  but simply gets rid of the existing data there, which gets
  automatically rebuilt as you continue using the device.
/misc
This partition contains miscellaneous system settings in form of
  on/off switches. These settings may include CID (Carrier or Region
  ID), USB configuration and certain hardware settings etc. This is an
  important partition and if it is corrupt or missing, several of the
  device’s features will not function normally.
/sdcard
This is not a partition on the internal memory of the device but
  rather the SD card. In terms of usage, this is your storage space to
  use as you see fit, to store your media, documents, ROMs etc. on it.
  Wiping it is perfectly safe as long as you backup all the data you
  require from it, to your computer first. Though several user-installed
  apps save their data and settings on the SD card and wiping this
  partition will make you lose all that data.
On devices with both an internal and an external SD card – devices
  like the Samsung Galaxy S and several tablets – the /sdcard partition
  is always used to refer to the internal SD card. For the external SD
  card – if present – an alternative partition is used, which differs
  from device to device. In case of Samsung Galaxy S series devices, it
  is /sdcard/sd while in many other devices, it is /sdcard2. Unlike
  /sdcard, no system or app data whatsoever is stored automatically on
  this external SD card and everything present on it has been added
  there by the user. You can safely wipe it after backing up any data
  from it that you need to save.
/sd-ext
This is not a standard Android partition, but has become popular in
  the custom ROM scene. It is basically an additional partition on your
  SD card that acts as the /data partition when used with certain ROMs
  that have special features called APP2SD+ or data2ext enabled. It is
  especially useful on devices with little internal memory allotted to
  the /data partition. Thus, users who want to install more programs
  than the internal memory allows can make this partition and use it
  with a custom ROM that supports this feature, to get additional
  storage for installing their apps. Wiping this partition is
  essentially the same as wiping the /data partition – you lose your
  contacts, SMS, market apps and settings.

Source
Note: Wiping /system means removing the android installation(ROM), and /data removes all apps (app+data), wiping internal storage means deletes every thing. If you want to install ROM only by wiping /system, then, the new ROM should be with same android version as that of old. Otherwise, it will crash.

I'm confused by the boot partition. Are you saying that wiping boot will brick the device? Does TWRP even allow wiping the partition?

TWRP allows wiping cache, Dalvik cache, System, Data and Internal Storage. If you backup using TWRP, it will stores /boot, /system, /data (you can see their file sizes, while checking checkboxes). This helps you to return to current ROM, if anything happens in between. I recommend a backup before any operations.

You should go for advanced wipe and choose:
-DalviK/ART Cache
-System
-Data
-Cache
And don`t format:
-Internal Memory
-Sdcard


text:
Help Please! Lost my Samsung Galaxy S7 edge!
I lost my Samsung Galaxy S7 edge in OLA Auto on March 23rd 2017 chennai (Driver detail is known and already inquired. He is pointing out the passengers who boarded next saying he is not aware of my mobile). I just put my mobile in power save mode by switching off mobile data and GPRS before getting down from auto. I was in the assumption that I placed the mobile in the bag while I had slipped it down in the auto seat.
Since there is no internet connection, I am unable to track my mobile using findphone or ADM.
The IMEI numbers are known. But helpless knowing how to track and get my treasure back. Please help.
One person attended my mobile saying that he is the customer who boarded the auto and when I asked for his mobile number and address to come to his home and collect and mobile, he cut the call. since then, i kept calling my number, he dint pick up and cutting the call randomly. by 10 pm night, the mobile got swtiched off and it is saying switched off till now. Please help. Thanks much.

Call the police (you should have done that when the person had picked up your call, as the phone was on and the number could have been tracked).
Do you have Android Device Manager on phone? Then you can lock your phone from net, it'll be locked as soon as it goes online with any sim card, and you'll be able to see the location.

Thanks Basu. Sorry for the delayed response. Happy to share that I have got my mobile back. The OLA auto driver was the culprit. After a week, he has switched on my mobile and untried to unlock it in midnight by pressing random buttons and also has pressed the power button rapidly which has triggerd SOS message to the emergency contact number that I have set up. with that tracked the location, got to know that it is the driver location and with the help of police was able to get my mobile.

Long journey to get mobile back!! Take care from next time :-)


text:
Nexus 6P (7.1.2) thinks car line-in is headset
My Nexus 6P thinks my car line-in is a headset. It shows some notification about using a headset when I plug it in. The standard double ended 3.5mm jack cable doesn't have a microphone ring so I'm not sure what's causing this behaviour. The car also doesn't support using a mic over this connection.
This behaviour stops the microphone on the phone being used because it is expecting the mic on the non-existent headset to be used. Wifi and Bluetooth turned off and not connected to USB. It doesn't do this with any other 3.5mm connection, such as to normal headphones or into a stereo.
Is there a way around this? What is causing this?


text:
WhatsApp storage problem
My problem is that the WhatsApp stores all the data in the phone memory, which is almost used up.
If I move the WhatsApp folder to sd card, then I'll not be able to access anything from the app.
Is there any way in which I can move the files to sd card but still keep it linked with the app?

Is your phone rooted? Do you have Xposed?

@Death Mask Salesman    Phone is not rooted. What is Xposed?


text:
FRP Huawei P9 Lite with Voice keyboard only
I have recently just installed the Huawei P9 Lite Nougat beta update (EMUI 5 Update) and, when I wanted to setup the phone, I needed to do the FRP Verification (Which I can't because I have the voice keyboard only)
Does anyone know the bypass for this or maybe a solution? Thank you!
P.S. It is the test keys version.

The ROM doesn't have a keyboard??

This seems to work FRP Huawei P9 Bypass with select text method and Google Assist.

I just used this keyboard, dictating my data by letters, then i opened the Google play and downloaded a normal gboard. That wass really hard, but i did it.

This may be an answer. I think Pon meant that they used Voice Assist to do the FRP verification by sending instructions letter by letter and once past that, they used Play Store to install normal keyboard app to replace Voice assist.


text:
How to migrate all your contacts between two providers on android?
Suppose I'm using an android phone running stock Android 6.0. Suppose further there are about 100 contacts and about 50 of them are with provider P and the rest is with provider G (as displayed by the default Google-Contacts app).
Now what I want to do is to move all the remaining 50 contacts which are still with G to P so I have every contact once and stored and synced with provider P.
How can I do this, preferably using only my phone?
Now I'd do this manually using the Contacts-App but it won't allow me change the storage provider for an established contact.
For clarification: the phone in question is a Nexus 5, provider G is obviously google using the device-default google account and provider P is posteo which is registered to Android as a "calendar service provider" via DAVDroid.

A similar question, where I answer without third-party app: https://stackoverflow.com/a/64419730/2657549

To do that natively only using your phone, you'd need to either manually enter all those 50 contacts to the new provider, then drop the old entries.
You might also be able to export all your contacts to SD card (using the contacts/people app: Menu › Export/Import › Export to SDCard), edit the resulting file, and import it back again – but that might be error prone.
An easier approach would be using a third party solution, like Simpler Contacts Backup – which directly lets you move contacts between accounts, according to the app's description.

What still works with the Android 11 Contacts app is the following:

go to Settings -> Export ... - just select the G contacts provider for export - take note of the filename - say - contacts.vcf
go to Settings -> Import ... - select P contacts provider as import destination and select the previously exported file contacts.vcf
in the main view, select just the G provider via the menu in the top right corner
Select all via the ⋮ (vertical elipsis) top right menu
Delete all via tapping the trash can symbol

End result: all remaining G contacts are moved to the P contacts provider
There is no need to edit the exported .vcf file, since you want to move all remaining G contacts.

Editing would only be necessary if you want to split/filter/edit the exported contacts into multiple files before importing (only a subset of) them again. This isn't a big deal if you have a real text editor, since the format is relatively straight forward, as long as you just (re-)move complete BEGIN:VCARD/END:VCARD  blocks, edit plainly encoded field values or completely remove fields.

Note that it's advised to re-import the contacts via the same app that you've used to export them since many VCF implementations are known to have compatibility issues with each other.
See also for example:

Do not use the .vcf files exported by Android's Contacts app for any other
purpose than importing again to the same Android Contacts app! Those .vcf
files are using an ancient vCard format (vCard 2.1) and contain syntax
errors. There are good chances that contacts will be corrupt when you try to
import these .vcf files anywhere else.

DAVx5 DAVcal/DAVcard Android provider app FAQ

Another good app for older android versions is MCBackup - My Contacts Backup.  You can use this in conjunction with a file manager like Total Commander - file manager.  This will allow you to save the contacts as .vcf on the local file system.  From there you can transfer it by SDcard or adb pull/push.
You can also text, bluetooth transfer, and Email the contacts to yourself.
The backup directory is:
/data/user/0/com.globile.mycontactbackup/files/backups

A solution that works with Android 10 is Super Backup & Restore.  Simply install the app on the backup phone, make a backup.  Install the app on the new phone, and restore using the .vcf.


text:
Restore data to android
I Backed up my data on Google, as instructed by a Samsung representative, then reset my, as instructed by same. He never told me how to recover the data. After being disconnected, during reset, he never got back in contact with me. I did all the recaver methods that are listed here. I also contacted Google, a week ago, no reply

Thing with the Google Backup is: The backup always works – which cannot be said about the restore. The latter sometimes works, sometimes is incomplete, and other times fails completely. The user has not much control; restore should kick in when you setup your Google account and check the box to (backup and) restore your data. If it does not then, it neither won't later.

Usually with the backup it will save things like your contacts, messages, photos remotely. It can save apps data also like settings and files but not all apps utilise this and you could potentially be left not backup up.
These are usually synced from the settings / accounts / google and each one can be toggled.

What data exactly was it that you got instructed to backup ?


text:
Pandora app fails to open after being used
New phone, LG V20 from T-mobile. Android Nougat (7.0 right now). Latest Pandora app.
The problem first manifested when I expected Pandora to wake me the next morning. It didn't. Checking my phone the Snooze/Stop circle buttons were there on the lock screen as if Pandora was running, but there was no music or even the tone Pandora plays when it can't access Internet.
Later, using Pandora during the day I found that if I'd used Pandora closed it (either by pressing the X in the notification or just by leaving it alone and paused long enough the OS closed it) and then opened it several hours later or the next day, the app would begin loading but would not progress beyond the splash screen.
I have removed the app and reinstalled. I have cleared cache/data.
I have not reset the phone.
Silent hours are set up but not for alarms and they stop before the alarm goes off.
Update 1
I set the phone Clock app alarm for the same time as the Pandora alarm. The phone alarm will go off briefly, then Pandora will start playing music, then once the first song is done on Pandora the phone's alarm cuts over Pandora and starts sounding again.
Odd.
I also changed Quiet Hours so they end 5 minutes before the alarm goes off (Alarms are allowed to sound through Quiet Hours already).
Yesterday I completed a full remove/reinstall of Pandora but forgot to re-enable the Pandora alarm. I'll do more testing today.
Future steps involve a full wipe/reset of the phone (don't really want to do this for another month though, after I've got the full unlock from TMobile completed).
Update 2
I contacted Pandora support. The steps they took me through were:

Update Pandora App to latest version.
Disable any battery saver or task manager. Android Nougat has a built-in Battery Optimzations function, and the ability to allow specific apps to ignore the optimizations. I enabled ignoring optimizations for the Pandora App.
Clear data.
Verify app is installed in local memory (not external/storage card).
Switch between normal and HQ audio (this is a data network-specific setting, and I'm using home wireless, but still switched it).
Uninstall and reinstall.

After completing all these without improvement or resolution, Pandora support asked for details of my phone and software and forwarded this to the engineering team.
Two days later (Monday this week) the Pandora alarm worked perfectly, and again Tuesday. The phone had been running for perhaps 5-7 days this point without a restart.
Wednesday morning the issues reoccurred. The Alarm interface loaded on the lock screen but no sounds playing. Thursday was the same, and battery usage was very high that morning with Android Operating System using the lion's share. I restarted the phone Thursday, and this morning there was also no alarm.
I would advise you to report your own issues to Pandora support so they'll be more aware of the breadth of the issue.

Any update on this? I haven't been able to use the Pandora alarm since upgrading, and now on the S8, it still doesn't work

Just added Update 2 above. If you haven't already, contact Pandora support. If they can fix it for you, great. If not, they'll have more information to forward to their devs.

I tried using Sound Profiler to start Pandora for me, but it didn't work. Then the other day, I got an update from T-Mobile, and it started working again. Not sure if Pandora is starting itself with the alarm, or if it's Sound Profiler. I disabled Sound Profiler, so I'll see if the alarm works tomorrow.


text:
Nougat - Disable settings on lock screen
I currently have my phone set up to automatically unlock when it's connected to my car's Bluetooth, which is super convenient. However, my car's Bluetooth stays active while my car is off, and my phone is capable of connecting to it from almost anywhere in my office building.
So, when I leave my car, I turn off Bluetooth on my phone since I want my phone to lock. But right now, anyone can pick up my phone, enable Bluetooth from the lock screen, and it's instantly unlocked.
Is there any way to select which connectivity options can be changed while the phone is locked, or disable these options altogether?
Alternatively, is there a way to tell Smart Lock to not automatically unlock when connected to the Bluetooth device, but remain unlocked once I've unlocked the phone myself?

This will disable Bluetooth, though the setting may show on lock screen and can be tested IF you connect to office Wi-Fi from your device. Macrodroid automation app, set up a macro - Trigger: WiFi state change> connected to network (office) ; Action: Disable Wi-Fi; constraints -  blank. It will of course require you to manually disable office Wi-Fi when you leave office ( assuming WiFi spills over to car parking, of it doesn't, they're is no need for manual action)


text:
forbid ADB install apk through a password
pls is there a way to forbid the adb install to install apk into tablets unless there's a password?
Android 5.0 - rooted devices?
thank you

Do you mean using the command line with adb or through the Play Store / APK Files on device ?

I want users not to be able to apply "adb install" command from pc unless there s a password or something. I've removed the play store,& put the applications needed & removed the settings too before unroot.

The simplest solution is to turn off USB debugging.
If you want to disable adb install from computer while enabling USB debugging, you can try XInstaller (Requires Xposed Framework). In its settings you can disable "Auto Install" to prevent ALL kinds of silent installation.

well simply,
activate the developper options & then disable usb debugging then decativate the developper otions & delete the settings!
Hope this will help others.


text:
Galaxy s5 stuck in reboot loop after root
Today I tried to root my galaxy s5 with Kingo Root for android. My phone restarted during the rooting process, but it keeps looping over and over. I have tried resetting the cache and even factory resetting it (by booting it up in recovery mode), but after the reset the same reboot logo appears. Any help at this point would be great.

Your device is bricked, this means that unless you have a custom recovery installed then you cannot access your device. If your phone is still under warranty, then you may be able to get it fixed for a low cost, as this is a quick fix with the right equipment.
If you want to attempt the fix yourself, here are some articles:
MakeUseOf
XDA


text:
App update/install claim insufficient storage with 3GB free on SD

As you can see, the default write disk is set to the SD card with more than 3GB free, but it still complains of insufficient storage even for apps that do not exceed 100MB total size (I did not check the minimum size to trigger it, however).
What can I do to get around it?

Have you already checked with our insufficient-memory tag-wiki? If so, you had learned that the error has nothing to do at all with your SD card, and could even happen with 1TB free there. Regardless of the install location, the app first will be downloaded to a temporary place on your internal storage – which is where the space is obviously lacking. Hints for what to do can be found in the mentioned tag-wiki as well.

Whenever you try to update and app, it first gets moved automatically to phone memory, even if the preferred install location is set to sd card.
Now, it is quite possible  (like in my case), the phone memory does not have sufficient storage for the app, or to hold the update along with the previous version. In that case, the apps will not get updated.
Whenever any app that was on the sd card is updated, you must again manually transfer it back to external storage, or it'll remain in phone memory


text:
Galaxy s3 stuck in reboot loop after root
Today I attempted to root my galaxy s3 with iRoot for android. My phone restarted during the rooting process, but now it keeps looping over and over. I have tried resetting the cache and even factory resetting it (by booting it up in recovery mode), but after the reset the same reboot logo appears. Any help at this point would be great.

if you don't install custom recovery Use Odin Flash Tool for custom recovery and you need Stock Rom or custom rom from any website

Did you install a custom recovery? If not, please install something like TWRP or CWM. For Samsung phones, you can use the ODIN tool. You will also need a custom or stock rom that you will be flashing. A high level guideline would be:

Using ODIN, install custom recovery.
Flash your ROM (factory or custom). XDA Forum is a good resource.

Some enlightment would be how installing a custom recovery solves the issue of the device being stuck in a boot loop. There's no indication OP has this issue while booting into recovery mode – and a broken recovery should have no effect on booting into "normal mode". OK, you continue with flashing a ROM – but why should so drastic steps be necessary? Wouldn't e.g. a factory-reset suffice? What should be fixed by flashing a ROM (without wipe), as that would only overwrite what's read-only anyway?


text:
Where can i find my Model numbers
Just wondering how do I find which model number my galaxy s4 is? I see people writing Gt- numbers.  I can't find anything like that. Any help would be greatly appreciated Thanks

Note that not all S4 models start with "GT" - see a not-so-complete list of variants here.
You could either see it under Settings - About phone - Model number (in this example, SCH-I545):

Or on the sticker underneath the battery (in this example, GT-i9505G):


text:
How can I delete data from phones that won't start up?
I have 2 broken Android phones that won't power up. An LG G4 (bootloop issue, but bought used, so no warranty), and a Moto G3 that fell in a puddle. Neither will power up, so I can't remove my personal data from them. Is there any way to delete my data on these before recycling/selling for parts/donating? I don't know what to do with them. I don't want to risk my personal data being recovered.

Physically breaking them is the only way to be relatively certain the data isn't compromised by someone else somehow.


text:
Android x86 on VirtualBox - Apps cannot access internet
I recently installed Android x86 through VirtualBox onto my PC. It runs mostly fine (except for some weirdness with the mouse, which isn't really an issue) but for the fact that apps cannot detect the internet connection. I can access the internet through the included browser just fine, so I know that the connection is actually getting to the VM, but apps cannot access it.
From Android on Virtualbox - Internet connection isn't available to all apps, I read that it's because I am using NAT or virtual ethernet that some apps detect that there is no WiFi or cellular and refuse to work. Is there a way to fix and/or get around this?
If it helps, my host OS is Windows 10 Educational and I will do my best to provide hardware specs if that would help solve the issue.

The solution is to change network adapter settings (VirtualBox or VMware) from NAT type to Bridge type, that's it.
If you don't want to change the network type, there is another solution if your Android VM is rooted. I guess you can install the Xposed framework and install the Fake Wifi Connection module that works on Android 4.4 up to 5.1. If you have another version such as Marshmallow (6.0+), then you need to install an APK from here: https://www.mediafire.com/download/cbsu84p9496n70o. After installing it, you will be advised to install the hack module from Xposed so that it can make the APK work well.

For the mouse issue, you need to disable Mouse integration.

It's great that you're sharing your solution, but people don't want to download and install APKs from random places like Mediafire. That's a great way to end up with malware! Do you have an official, trustworthy source, or even a description of the APK so people can find it themselves?

What worked for me was selecting in Settings -> Network -> Attached To: NAT -> Advanced -> Network Type: Paravirtualized
I could connect to internet, I even did log in in my Google Account in the Virtual Machine.


text:
Google Now "Shazam this song" not working
I'm trying to use this feature
https://support.shazam.com/hc/en-us/articles/205024298--Ok-Google-Shazam-this-song-
But when I try it just google searches "Shazam this song" like any other unrecognized phrase. I also tried "What's this song" and it said "Action not supported in your country"
I'm in Canada and have a Samsung Galaxy S5 with Android 6.0.1. I have Shazam installed, and reinstalling it didn't fix it.
https://play.google.com/store/apps/details?id=com.shazam.android&hl=en

Try holding your home button down for 3 seconds. When Google Assistant appears, ask your question. Same thing happened to me with sluggish responses from google now requests after the  6.0.1 update rolled out. Google Assistant taking over for Google Now going forward.


text:
How are "ShareIt","Xender" etc able to install APK without requiring "unknown source" permission?
Normally, if I have to install an apk(say from SD card), I need to enable “Unknown Sources” in my phone's settings. But when I transfer and install any APK from another phone using "ShareIt", no such permission is required by my phone.
How is ShareIt able to bypass this permission?

Did ShareIt come pre-installed on your device, or did you install it yourself?

I did a bit of digging and it is possible without System permissions from API 21 onwards https://developer.android.com/reference/android/content/pm/PackageInstaller.html.
In fact, there is a code sample by Google which shows how to do it. https://github.com/googlesamples/android-testdpc/blob/master/app/src/main/java/com/afwsamples/testdpc/cosu/CosuUtils.java

Kudos for digging this up, now to find whether the app actually used this...

@beeshyams - Not really. The app cannot do a "silent" install. Through the pending intent, the user's explicit "click" is required at the time of installation.

@Neo Damn, so I just assumed a silent install when I wrote my answer... My bad.

In other news, the package of ShareIt seems to be somehow obfuscated, so even though my tools succeeded in the Java code generation, nothing significant can be seen from the stubs.

Wait - I used another tool, and I think I might've got it. I'll have it edited into your answer after verification.

Scratch that, there are references to PackageInstaller and its sessions, but nothing directly related to installing. Still a dead end. Sorry for false hopes and disturbing you with notifications.

If the apps are installed silently (i.e.without the usual installation dialog), presumably these apps directly call pm, i.e. PackageManager, which as a system app bears the permission android.permission.INSTALL_PACKAGES.
The phone has to be rooted so the app could call pm in a root context, else you will be greeted with the message "Neither user xxxx nor current process has android.permission.INSTALL_PACKAGES".
EDIT: As @Izzy pointed out in the comment, android.permission.INSTALL_PACKAGES is also granted to apps installed to /system. See below comment and this SO question for more insight.

Note that I didn't actually try ShareIt and analyse what it really does, just putting forward the most likely theory. If you are not rooted and it still worked, then we might have a much more interesting problem to look into.

wondering, even if the phone is rooted, can the app grab SU permission at install time? That would be scary and goes against what little I know of SU stuff

I used SHAREit once, in desperation to transfer some files to iOS and promptly uninstalled it. It didn't ask for root permissions. This was a couple of months ago and OP could be talking of a letter app version

@beeshyams In China here, a lot of 3rd party app markets would do silent or automated install. The 1st way is as described here, and they will ask for root permission on first install; the 2nd is to ask you to turn on an accessibility service, then automate the clicks on the "install" buttons.

My phone is not rooted. And it did not ask for root permissions either. But in India, ShareIt is a very popular method of installing apps through peer-to-peer.

That's new to me. Please edit your question to include this detail, so that others could take it into consideration later when they come up with a better answer. I might have to try that app myself and grab a log when it's running to see what fuss it hides behind.

@beeshyams Avoid that app and its horrendous mole of required permissions. Consider using the open source Share via HTTP (available on F-Droid), instead. I'm in no way affiliated with the app.

@beeshyams It works with any device connected to the same network. As far as I can tell, the host must be Android, but any device can then connect to the same network and visit the HTTP address shown in the app to download the file(s).

Note that if an app comes pre-installed (i.e. it is a system app), it can do silent installs – as INSTALL_PACKAGES is defined with protectionLevel "SystemOrSignature". So if ShareIt came pre-installed on the device (which it sometimes is), this is a very likely scenario. No root needed for that then. (Andy: You might wish to include this fact with your answer, as only few will read up to this comment ;)


text:
Export/import gboard data
I want to find way how one may export and import data from gboard app.
I want to make backup of my data and in future have an ability to move my words to a new phone
Also, I need an way to mass-add done words and remove some of my misspellings that gboard keeps recommending after I used them.
In case that it is relevant - I am using a Xiaomi Redmi 4 phone, without root access.

To delete currently presented suggestion one may long-press the word in top row and move it to a bin that will appear.


text:
Why does my samsung galaxy s4 say 'Charging Paused,Battery Temp too High'?
Ok so i have already brought a new battery and done a factory reset and tried different chargers and still says it is over heating . Please anyone got any ideas or solutions?

Does the warning come up on normal (not fast) charging? You can check by charging with earlier (non fast) chargers 2. Replace the battery ( old Battery ) and check on normal charge

There might be a fault with the battery temperature sensor, due to which it detects high temperature every time the battery temp rises a bit over the normal  (which is common when you use the phone too much or you're charging it).
Does the phone feel very hot when this is shown?  If not, then the sensor has to be replaced,  and take your phone to an authorized service centre.


text:
Lost pin, no Google account, can I factory reset?
My friend's daughter can't remember her screen lock PIN.
I googled and found found how to get to the factory reset menu.
BUT, it also says that after factory reset, the phone will ask for a Google account, and she does not have one
Is there any way to totally factory reset without a Google account?

Related, for others with this problem, see this question. Personally, I am am afraid to try it, and it is not a Samsung device anyway, but that might help someone.

I think you misunderstand what it is saying here... It is referring to FRP (Factory Reset Protection) which is a method of protecting the phone from unauthorized access by third parties when it is factory reset by requiring you to log in to the Google account that was setup on the device prior to the factory reset.
Three outcomes are possible here...

There was no Google account setup on the device, a factory reset will clear all data and the phone will startup to the Setup Wizard like normal. FRP will not be a part of this situation. If there was no Google account on the device then you would not have been able to access the Play Store either, if your friend's daughter was able to access the Play Store then she had a Google account on the device.
There was a Google account setup on the device that is not known now and there is no way to recover it. If you factory reset at this time, the FRP will kick in on the first boot as part of the Setup Wizard and you will be required to enter the email address and password of the Google account that is not know. FRP will prevent any access to the device. In 99% of cases there is no way around this situation and the device will be permanently unusable.
There is a Google account setup on the device that is known. If you factory reset at this time, the FRP will kick in on first boot and you will enter the Google email address and password and FRP will be completed and turned off. The Setup Wizard will complete normally.

Unfortunately, we see more and more of #2 recently, and the device is basically a brick after a factory reset. A few specific models have a bypass for FRP, but those a few and far between and often require ADB and/or fastboot access to the device.
If this is an older device, prior to Lollipop (meaning Android 4.4 or older), then FRP is not an issue anyway since it is not incorporated into ROMs that old. Lollipop or higher is required for Google FRP.
Also, this is nothing new, in fact Google has been a bit behind in this are for a while... Apple's iOS and Microsoft's Windows Mobile operating systems have been doing this for some time now.

Thanks for clarifying.  That was good, clear, explanation. #2 is what I fear, although it is quite difficult asking a ten year old, as she will say black one minute and white the next - with no malice intended. I don't want to be responsible if the device is bricked, but will explain all of this to her mother. I have not yet asked in she accessed the Play Store - which is an excellent point.  I can't imagine a child not having loaded some games.  Of course, the problem then is getting her to remember the Google account.  I will ask today & get back to you. Thanks again (+1)