text:
Root Android virtual device with Android 7.1.1
I'm using the official Android SDK with the Android Emulator to create a virtual Android 7.1.1 (x86). I need to test a number of things, amongst others, some applications require root access to the device.
Now I know that I can adb root and I have a root shell, but that doesn't allow the apps I install to have root access.
I've researched this topic now for a while and have seen various approaches. Most answer haven been posted rather long ago.
I think it's quite odd that there's no option to toggle root - this is after all an SDK.
How do I root an Android virtual device, running Android 7.1.1, effectively allowing installed apps root access?
edit: I'd rather not resort to paid emulators like Genymotion if possible.
edit2: This is solely for personal use.
edit3: Genymotion appears to be a viable solution, as an alternative emulator. How come Android SDK/Emulator does not offers such a feature?
edit4: The answer by xavier_fakerat seems to work perfectly fine, however since Android Studio version 3.1 this doesn't seem to be a permanent rooting. Once the AVD is rebooted, root access is gone.

How to root android emulator (Android 7.1.1/ Nougat)
I’m pleased to inform the community of  an easier way to root android emulator (run from standalone Android SDK)
Requirements:

SuperSU app (chainfire) latest version 2.82

Recovery flashable.zip (contains su binary)  (Here is alternative mirror link for flashable zip if the main link is not working : Flashable zip super su 2.82 for all roms)

Note: SuperSU is now deprecated, but this method still works to root the emulator, and more updates will be given for newer rooting methods.
Instructions

Install the SuperSu.apk

Install the SuperSu app firstly, just do drag and drop (if running latest emulator version or sideload through adb i.e adb -e install supersu.apk)

After installing it, when you run it shows a screen as shown below indicating “There is no SU binary installed..”. This error just confirms the device is not yet rooted.

Make emulator’ system partition writable

As it suggests, we need to give the emulator permission to write system files.

Type the following code to accomplish this: emulator.exe -avd {emulator_name} -writable-system

Note: Navigate to the tools folder where Android SDK is installed and open command prompt there by pressing shift and right clicking.

Pushing su binary in system directory

Extract the Recovery flashable.zip (containing the su binaries of different architectures)

Important! Only use the su binary that matches your avd architecture e.g x86, arm etc.., and note the path where you extracted these binaries.

Make sure you are running adb as root and also you need to remount.
Just enter these codes

adb root
adb remount
Now its time to push the su binary:
This is the code I successfully used:  adb -e push C:\%USERPROFILE%\Desktop\rootemu\x86\su.pie /system/bin/su
(nevermind about my specific location of su binary, any location is okay as long there is no white space)
If this fails try this pushing to this directory instead /system/xbin/su. Also for emulators running android 5.1 and below use the su and not su.pie

Change permissions of the su binary

Next let’s do a bit of modification of the permissions of su binary. We have to do this in emulator device through adb:
adb -e shell
su root
cd /system/bin
chmod 06755 su

Important!! Take note of su binary path (mine is /system/bin)

Setting the install directive on su binary and set a daemon

Type the codes:
su --install
and for setting up daemon:
su --daemon&
Important!! Take note of spacing

Setting SELinux to Permissive(i.e turning off SE Linux)

Finally turn off selinux through this code:

setenforce 0
That’s pretty much it!! Open SuperSU app and it may ask to update binaries, you can use Normal method.
Open any app requiring SU permissions just to double check and indeed SuperSU ask if you wish to grant it su permissions.

Remarks
Most content in reference was for older android versions and hence the reason for different commands and paths which I modified.
Special acknowledgements;
Special gratitude to Irvin H, whose tutorial inspired me to create this guide after myself having failed countless times, and also after seeing the need for many users to root their emulators too. I hope this will also benefit a lot
Irvin H: Rooting the android emulator –on Android Studio 2.3((Android 4.4)
#Update
As commented by SaAtomic,

This approach is still viable with Android Studio 3.0.1

After upgrading to emulator version 27.2.9 and above it now makes preserving root much easier through snapshot feature (if copying the system.img method isn't working):
Ideally it is more like hibernating the virtual device with config intact, hence everything is preserved.

Snapshots
You can now save multiple AVD snapshots for a given device
configuration and choose which of the saved snapshots to load when you
start the emulator. Starting a virtual device by loading a snapshot is
much like waking a physical from a sleep state, as opposed to booting
it from a powered-off state.

This implies the only requirement to start the emulator is adding the -writable-system parameter to the normal emulator -avd [avdname] command to start the emulator. (Running the emulator just with emulator -avd [avdname] doesn't launch the rooted version/copy or may lead to some error)
Tested on API level 22

Thank you for the detailed answer. I didn't try it yet, but this seems to be a viable solution!

@SaAtomic, your steps are very useful,
More ever, One can also flash Supersu 2.82/Magisk using a custom recovery, e.g- TWRP , and can easily obtain root....
These works well on any 7.1.1 or 7.1.2 running devices....
Thank You..

I've just tested this with Android SDK 2.3.3 (AVD Manager) and virtual Pixel using Android 7.1.1. Works just as described right away. Thank you!

Update: This approach is still viable with Android Studio 3.0.1

I tried your approach, but get error in the 3rd step.
I used: Android Studio 3.0.1 on Mac, Nexus 5X with Android 7.1, so the emulator name will be Nexus_5X_API_25 for your reference. On executing adb root as stated in 3rd step, I get the below error:
$adb root
adbd cannot run as root in production builds Kindly let me know, if your approach still works at this moment. Thanks.

It is most likely that you're using a wrong emulator image you need to  use the Google APIs Intel x86 Atom System Image rather than Google Play Intel x86 Atom System Image

Update: After the latest update of Android Studio to 3.1 the su binary is in /system/xbin/su for a Pixel AVD with Android 7.1.1 (API 25) and no matter what I try, the rooting is not persistent. After reboots the AVD is not rooted anymore.

$ adb remount                                                                                1
Not running as root. Try "adb root" first.

@SaAtomicyou need to update emulator and use snaptop to boot

First link is dead


text:
How to reactivate Google Assistant after deactivating by changing Language?
I had got Google Assistant for my Android device. However, I prefered Now On Tap for few features like the ones mentioned here and deactivated Assistant by changing the language settings as mentioned here.
But I was wondering how do I reactivate the Google Assitant, I tried changing back the language to English(US) in Settings -> Google-> Search -> Search Language but to no avail.
How do I get back the assistant if I ever plan on using it?

Try clearing the cache for both Google app and Google play services in settings / applications. Also clear all your recent apps after doing so.

source: Stack Exchange

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

sort: votes


text:
How do I stop Android from auto-enabling "allow unknown sources"?
Every time I restart my Xolo Era 4g, Android 5 Lollipop phone, it auto enables "allow installation of apps from unknown sources" option. I switch it off manually, then in a few seconds, a pop-up for an unknown app to install shows, and on the background, the "unknown sources" button automatically toggles. This keeps on going forever. I haven't rooted my phone and have factory reset it many times.
I first installed an antimalware app, and when I run it, it found around 16 malware, of which I deleted 14 but there was no option to delete the last two. Then I installed the notification app. I restarted my phone. After that, the internet automatically started. I immediately switched it off. Then I went to settings and switched off to allow unknown apps installation.
Then I opened the menu and slide it a few times and the malware attacked again. Opening the settings disclosed that an unknown app installation is switched on. Many apps are promoted for installation. After pressing cancel around 50 times, I went to the menu again and many new apps were installed. I have repeated this scenario two times once I switched the internet on. But with the internet off, I saw an app installation prompt too. I don't remember with the internet off whether the apps got actually installed or not.
Now I opened the notification app and it showed one process having some text similar to Andriod UI lolipop 5.0, it had a lollipop icon to its left. On clicking on that, it further showed one process. The process was related to the notification app itself and had text "toaster" or maybe "toasted". Now I have factory reset my phone again and have uninstalled all default apps like Flipkart, Snapdeal, Paytm, UC browser, etc. Now if I'll again restart my phone, the virus will start again.
Please tell a method to not allow any app to toggle the "unknown sources" options on without rooting the phone.

Install notification history or Toaster to track down the culprit app that is triggering this - if it is due to an app. Other possibility is that device is already infected with malware and this is triggering it.  Run Malwarebytes to check that and update your question with findings

In response to your comment "I think the virus didnt show off after I upgraded to Android 6, or may be the virus couldn't turn on the unknown sources option thereafter", I am glad that your problem is resolved and would suggest you to post and accept that answer since that may help others. I am deleting my answer, in favour of a working solution

This also happened to my phone. Even after several flashes, the torrent of annoying self-install apps keeps happening. Malwarebytes I used can't touch the last infected file; the system settings itself. Even right after flashing the third time, apparently the settings app which is the backbone of everything has been compromised from the get go.
My findings suggest that this was a known vulnerability issues and Google acknowledge it. Alas, there are still no solution nor updates to rectify it other than suggest user to stop using the phones that use 5.1 altogether. FML.
So, out of rage, I took drastic measure. I delete the settings app with the help of Root Explorer. Of course, I've made certain preps before I did, since I'm fully aware the consequence once I did.
Now, I can't even connect my phone to my PC via USB, nor I am able to log in a new Wi-Fi spot. A price I pay just to save my data cap from being drained by involuntary app download.

That's not helpful to the OP, who is looking for a solution "without rooting the phone".

Go to setting / security / Turn off unknown source. Allow installation of app from unknow source.
Turn on App permission. Go to setting / security / Turn on app permission.
check which app using more battery. Remove unwanted apps.
Also turn off developer option.
As your mobile is infected. You can use nortran, panda or Avast antivirus. You can connect mobile to computer and scan it. Take back up of mobile and restore it.

Factory reset your phone.
That will remove the malware.

Switch off make passwords visible button as well as unknown sources. This stops unknown sources opening by itself.

This post does not contain enough information to be considered an answer. How did it solve the issue? Where to find it? What are the steps to perform?

This is not making sense. Why would "make password visible" have anything to do with "unknown sources"? Consider explaining that.

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


text:
I am not getting any notification ringtone when my whatsapp is open and I am chatting to a different person. So I am not getting the ringtone
I am not getting the Notification ringtone when my Whatsapp chat box is open. While I am chatting with one friend, if the other friend message me, I am not getting ring voice.

Open Whatsapp > Settings > Notification > Check whether Conversation tones is checked (allowed)

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


text:
Did kingoroot install bloatware on my phone? Or is this a legitimate android locksreen?
Long story short, I have rooted my phone in order to resolve 'low on internal storage' issues (turned out the cache folder grew to almost 2GB). I have used kingoroot as suggested in this answer and it worked nicely.
However, shortly after the rooting, I noticed I had a new lockscreen I've never seen before:

Before the rooting I had what I believe is the official Android lockscreen, where you slide your finger from the center of the screen to a lock icon, camera, or unread messages if you have any.
I certainly don't remember installing a lockscreen app, but after rooting and cleaning the internal storage I finally was able to install updates in Google Play, and there were quite a few of these.
How can I find out where did this lockscreen came from? Is this how Android lockscreen looks now on Android 4.4.2? If not, is it expected to get unwanted software when I root my phone? And finally, how do I uninstall it?
Edit: the method for replacing KingoRoot with SuperSU didn't work. I've got error messages about non-existing files, and SuperSU started but couldn't update the binary.

This is certainly bloatware - some possible culprits here

also see this answer http://android.stackexchange.com/a/145358/131553 and this comment

@beeshyams Thanks, this case certainly looks similar to mine. The problem is, I don't see a "DU quick charge" (actually, anything suspicious at all) in my apps list.

Run the apps mentioned in the linked comment  above ( Toaster and Notification history apps) and see if you can track the app

I was able to do a simple uninstall of kingoroot Superuser using the Apps tool, and then install Super SU using the play store.  Root was preserved.


text:
Galaxy S4 Not booting up
My phone (Galaxy S4 GT 19505) suddenly shut off a few days ago without me noticing it.
I tried to turn it on but it wouldn't respond to the power button. However inserting the battery in would trigger boot, but it would shut down immediately after the Samsung Galaxy screen. (I tried recovery mode too, it would shut down after on the Galaxy screen, there was a blue line on the top left indicating that it was going to recovery mode, but it shut down a second after the Galaxy screen displayed)
I found out later that it might be the cause of the power button being stuck.
However before this, I put the phone on charging despite it being off. When I took it off later and tried to reinsert the battery,it wouldn't respond at all. Now it doesn't display anything at all.
I'd like to know if something else might be the matter other than the power button, whether charging might've damaged something. Or if this is just the battery dying, I don't have a spare battery.
Thank You.

Most probably the issue is with the battery. The battery can't provide stable power output and that's why the phone can't continue after the samsung logo.
You should try a new battery. If still the issue persist, let me know.


text:
Accidentally sent offline email
So on my HTC device whilst offline I jokingly typed an email which if sent will screw me up and then I sent it after by accident. Since then I haven't connected my device to any internet at all as I am to scared to. I sent it using the gmail app on my phone so has the email already been sent or perhaps is it only on my phone(I have unlinked the account from my phone to be safe). If the email ha sent been sent could anyone be kind enough to tell me how to delete the e,ail before it is sent or is it already too late

I am afraid damage is done. Next time use inbox trick

Has the email already been sent or will it send as soon as I connect to internet on my phone even though I unlinked the gmail account

I sent it after by accident- were you connected to Internet? If not, it if note sent but would be sent when you connect. My earlier comment was assuming that you were connected. That's my understanding. Others can share their experiences

I was still not connected and have unlinked my account from my phone so is it ok for me to actually turn on Internet on my phone and if yes should I be fine as long as I don't log unto gmail account on my phone but should be ok if I log on with a different device

Since this is a serious issue for you, I suggest you wait for others to answer with practical experience but logically , to me, it should be fine to be connected as long as account is not linked

Check sent items from any other device and UNINSTALL GMAIL ASAP. This may help.
If it is in the sent items then, I'm sorry, it must have arrived.
Also if you removed Google account from settings, then you should have signed it of Gmail instead.
Uninstalling may help.


text:
How to play audio during games
When I switch from audio playback to a game the audio playback stops and the game audio starts.
How to prevent that? How to keep the audio playback and mute the game?
In partcular while using a Bluetooth audio connection.

Simple, just turn on the audio from your music player,  and in the app, mute the sounds in it. Although you may keep the in-app sounds if you wish, they may interfere with your audio


text:
Updating Android without Manufacturer support (Not with a custom ROM but with a different approach)
Summary for the inpatient: I want to run a new version of Android on an old smarphone (s3mini).
(Sorry for bad English, I'm German. Feel free to correct my grammar in the comments)
Hello Programmers and Android fans,
as you might know, most Android smartphones only receive updates for a short amount of time until the hardware manufacturer stops supporting that smartphone. For example my smartphone (s3mini GT-I8200N) still has Android 4.2.2, which is obviously not ideal.
Please correct me if I understand something wrong here, but AFAIK all data on the phone, including the drivers get deleted if I flash a custom ROM (eg. Stock Android 7.0 or LineageOS). Because the manufacturer (in this case Samsung) does not publish their drivers, the community has to write their own drivers for every smartphone (which are obviously not as good as drivers written by the manufacturer because they know the hardware better).
It is possible to get a root shell on the smartphone / run my own program as root on the smartphone. Because a root process can read/write every file on the device except the kernel, and Android 7.0/LineageOS is publicly available  it should be possible to write a program that updates every single android system file. Updating the kernel with root privileges shouldn't be a problem either since the linux kernel is signed. So that's the plan:
Step 1: Download and compile Android 7.0/LineageOS
Step 2: Copy CompiledAndroid7.0.tar and the program on the smartphone
Step 3: Start the program with root rights
Step 4: The program terminates every other process
Step 5: The program deletes every file on the smartphone except drivers, the kernel, kernel modules, bootloader related files, the Program itself and CompiledAndroid7.0.tar
Step 6: The program unpacks CompiledAndroid7.0.tar in the root dir (/) (The program has to be able to unpack a .tar file without any other software except the kernel. But this shouldn't be hard to do, just Copy+Paste from open source unpackaging software).
Step 7: Install the new signed kernel (via syscall) and reboot.
Now you have an old smartphone with Stock Android 7.0/LineageOS and the original drivers!
Could this work in principle or did I understood something wrong about the way Android Smartphones work?
One comment said that Step 4 could crash my phone. A nice work-around would be that the program replace init with a copy of itself and then runs "sudo reboot"
Do old kernel modules/drivers work with new Linux versions? If not, why?
UPDATE
I want to thank all of you for your help. The idea from above won't work, so I have to get mad at google for not having good android update servers and not making sure old kernel modules work and get mad at Samsung because they do not publish driver source or updated drivers. If I find the time to do so, I will check if LineageOS supports my device and if not, write drivers.

Any ROM that's not from the manufacturer is a custom ROM. Manufacturer's ROM are stock.

I know that any ROM that is not from the manufacturer is a custom ROM.

Do old kernel modules/drivers work with new Linux versions? If not, why?

No, not always. There are two interfaces in kernel modules: the interface from the module to the kernel, and the interface from the whole kernel-side driver to the user-space driver. The latter changes more frequently, but the former does too sometimes. On the whole you'll find that some drivers are fine, but others can't work with a different version.

Could this work in principle or did I understood something wrong about the way Android Smartphones work?

New Android versions often introduce new features which the drivers need to be updated to support. So you might be able to use the same kernel module in a new Android version, but you would (for example) need to write a new user-space driver to support all the features needed for the new Android version.
Overall, it's as Matthew said. Custom ROMs already have to reuse some binary parts of official drivers, and integrating those is a big source of pain. The "deleting the drivers" you've asked about isn't the reason why it's painful. With binary parts of drivers, often there's nothing you can do to make them work with a newer Android version.
If you're serious about getting your old phone supported, see Why isn't there a Cyanogenmod stable ROM for my device? to learn what you can do to help.

Thank you for your help.
Do I understand this correctly? The community takes the original, binary drivers, or reverse enginieer them to write new drivers that work with newer versions of Android?
Sorry if this is a stupid question, but if the driver interface changes with new versions of Linux then why desktop Linux distros (e.g. ubuntu) (nearly) always work on old hardware?  I never had a Linux Laptop/Desktop that was not updatable.

It's different for different devices. Typically GPU drivers have a binary part and a part for which source is available. Sometimes it's possible for third-parties to update the source part and keep using the unmodified binary part.

As for the difference with desktops, there are two things going on. First, the distro takes care of making sure all the drivers in the distro are updated if they want to move to a new kernel version. Second, new Ubuntu versions don't introduce new hardware requirements (such as "must support Vulkan"), while new Android versions often do.

Thank you. Is it possible to run a new version of Android with an old version of the Linux kernel? This way, the old drivers should work.

Not if the new Android version needs features that aren't in the old kernel version. Usually each Android version has a range of kernel versions that it can support.

Hot flashing is certainly possible, though harder than it's worth.

AFAIK all data on the phone, including the drivers get deleted if I flash a custom ROM (eg. Stock Android 7.0 or LineageOS)

That's not correct.  Data only gets wiped if the flashing script does so or if the device is encrypted.  Likewise, firmware only gets overrwritten/wiped if the flashing script does so.
If you're not flashing a stock ROM from the manufacturer (or vanilla Android on a Nexus/Pixel phone), then you're flashing a custom ROM.  This approach is not going to gain you anything really, except on a device with a very very tightly locked bootloader.

Thanks for correcting me. Is it possible to copy the original drivers from the smartphone onto my PC?
" This approach is not going to gain you anything really"
With this approach, you have the original drivers, written by Samsung, If you flash your custom ROM you have the community written drivers that may or may not work very well

@Kryptomatrix Most custom ROMs that I've seen re-use the binary bits from OEM ROMs, they do not write their own. Here's a repository with blobs for your device, for example. They are included in the packaged ROM by the build system.

@eldarerathis Thx. I didn't know that. Some guy told me that it's not pssible to get the original drivers from the smartphone and that this is the reason why Custom ROMs are sometimes unstable or cannot use a specific part of the hardware

@Kryptomatrix I think the bigger stumbling block is typically getting the drivers to work with updates to the Android framework. If the OEM doesn't update the drivers then they effectively become obsolete and won't integrate properly into the system at large. I've never really tried to get Android working on a device after it had lost "official" support, though. so I could be mistaken on that.


text:
Android storage and detection trouble on PC
I have an Android 6.0 phone. Up until recently, I would plug in my phone to my laptop via USB cable and when drag photos/sync music to the micro SD card in the phone with no issues. The USB connection setting on the phone was set to MTP. Now, when I plug in the device, it will charge but nothing will show up. I can access internal storage by changing USB connection settings to PTP and access the microSD in a slower, more of a hassle kind of way by changing the setting to USB storage which has to be turned on/off and the phone has to read every file on the card again each time. I don't know why this happens now. Any help with accessing the SD card the way it used to be, while it's in the phone?

Try clearing cache and data for "media storage" and "external storage" from app manager, than reboot and wait up to 10 minutes after boot and connect to PC and see if it's allright now.

Try installing snapPea on your laptop.
snapPea lets you manage your android device from your system. Hope that solves your problem.

authors: Једноруки Крстивоје


text:
Start application from ADB
I have an Android device which I don't have physical access to. But I can access it through ADB commands. I have Teamviewer host installed on it. But unfortunately it's not running. How can I start it using ADB commands? Below is the Teamviwer app that I am using.
https://play.google.com/store/apps/details?id=com.teamviewer.host.samsung&hl=en

https://stackoverflow.com/questions/4567904/how-to-start-an-application-using-android-adb-tools

You can launch apps with the am start command. Or if you don't know its launcher activity, use the monkey command.
Try
adb shell

monkey -p your.package.name -v 500

where package name is the name of the app package – making the command, in your case:
monkey -p com.teamviewer.host.samsung -v 500

am start -n com.teamviewer.host.samsung/.MainActivity works fine in most times.

Yeah if the launcher activity is .MainActivity. Otherwise you need monkey

@iBug +1, A great tip for that /.MainActivity. Otherwise it was showing some Error type 3  when I was running using adb command

Setting number of events to one... monkey -p your.package.name -v 1 ...is also likely to save some unwanted outcomes!

A very simple solution to access a device could be SCRCPY
https://github.com/Genymobile/scrcpy
It runs over ADB and mirrors your device on your PC. You can click on all the elements on the devices screen and also type with your PC keyboard.

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


text:
Where do I find ALL the running processes (apps, background, etc)?
My phone gets pretty slow as I install new apps and when I try to see what is running in order to kill those processes, I kill everything anoying but the phone keeps slow.
Is there an app or screen on Android which tells me EVERYTHING that is running on the phone?

Are you rooted?  Running ps aux as root is one way.

No. I'm not. Actually I need a user-like solution. No rooting or other "pyrotechnics".


text:
HTC showing a weird screen?
Recently my HTC showed a weird screen. I wasn't on my phone at the time, but when I went to look at it, the screen was out of wack. I've never seen this in my life. I don't know if my phone is hacked or what. I wasn't able to get an actual photo of the screen, but it looked something like this: http://prnt.sc/emdogr . The screen was also animated. After this happened my phone sometimes turns on by itself. I'm hoping that it's something normal?? Is anyone else dealing with this or am I being hacked?

What you saw is likely the HTC Dot View. It's an interface that works with certain protection sleeves, that shows time, notification and other info through a stylish, easy-to-read "dotted matrix".

However, if your phone isn't wearing such a sleeve when it happens, it's advised that you check for magnetic sources around it, which could trick the phone into thinking it's paired with such a sleeve. You said "After this happened my phone sometimes turns on by itself" - further reinforced my speculation that it's some (unstable) interference from a random magnetic source around.


text:
Is it possible to root a Verizon LG G4?
Is it possible to root a Verizon LG G4?
I've done quite a bit of research, and have found that it is definitely possible to root a non-Verizon LG G4, but I have not found any way to root the Verizon model.
Prefer solutions not using KingRoot.

Sympathy to users of Verizon devices.

@AndyYan Are Verizon devices known to be more difficult to root?

Certainly, along with AT&T. Locked down bootloaders and stuff.

@AndyYan Thanks.  If you find (or anyone else finds) a solution, please do post.


text:
Reverse Tethering via Bluetooth
Doing some googling I have found the possibility to create a PAN network with a Windows Machine to give network access to an Android Bluetooth device. At robotics where I am at we are NOT ALLOWED TO CREATE OUR OWN WIRELESS CONNECTIONS [WiFi]! (So no APs, AdHoc, Hidden SSID, NFC, etc.!)
With that said I would not like to step into haveing to deal with P2P considering we need live updates and Internet Access to communicate with an API.
Question: How can I setup the reverse Tether in windows? I have followed some tutorials and other How-to guides and other posts for other issues but so far none have worked.
Any Ideas will be helpful to further develop the ideas.

So, you want to share your PC's connection via bluetooth? Or you want to connect to PC and force grab connection?

Share the PC's Network connection via Bluetooth. I have tried just connection it but the PAN options are not available. Thanks for your reply.

authors: Једноруки Крстивоје


text:
Sync to Desktop then automatically delete local/original files
I'm looking for something to transfer files and then automatically delete the original files. The situation that I'm planning is to take pictures in my phone, then when I'm in my house or in a local wifi, sync them to my notebook/desktop, delete the original in the phone and then from the copy from my notebook/desktop, upload it to Google Drive, I'm aware that there are other tools that can achieve this manually but what I haven't been able to find is something that can make this process automatically/seamlessly. Thank you for your help.

@beeshyams Great, I'd be using both Windows and Linux so that fits perfectly, would you link me to a good implementation of rsync in Android? most stuff in the Playstore seems very old. Thanks in advance!

See this question but it requires root to run rsync on Android. See also the link in answer which links to rsync for both platforms ( I don't think that requires root). There is a nifty utility called Grsync for Linux which i use to manually backup my external SD card. Don't know enough Linux to automate it

@beeshyams No, I don't think so, and even if then, I have root permissions in my devices, thank you so much for your comments, this was exactly what I was looking for!

@beeshyams Yes, I'm going to write an answer when I set it up completely so others can benefit from this, since I couldn't find anything from just googling.

Google Photos is a free app that periodically offers to "free up space" on your device by uploading your photos to photos.google.com (at the quality you choose) and then deleting them from your device.
Items uploaded via Google Photos don't use your Google Drive's limited storage if they're stored in "High quality" but they do if they're stored in "Original quality" (higher quality than high quality).
In order to sync to your PC:
In Google Photos, enable the "Google Drive" setting.
In Google Drive, check the "Automatically put your Google Photos into a folder in My Drive" setting. (You should see a Google Photos folder in Drive then.)
Then, sync it to your PC with the Google Drive sync desktop program. (There's a link to download it at the bottom left of the Google Drive website. Sign in and select the folder/s to sync.)
Photos added to Google Photos will show up in that folder and sync to your PC, and any photos you add to this folder on your PC will sync to the website.

@beeshyams OP's question just talks about "taking pictures and sync them, then delete them from device, and have them sync'd with GDrive". So what's wrong with the result here? They get sync'd to GDrive (or what does Photos use as backend?) and deleted from the device, and OP can then sync them to the PC. Same result.

@beeshyams subtleties :) As you confirm, I countered your down-vote with an upvote :) Ping me for comment cleanup once you're clear with Melissa (who might need the context). // Melissa: could you please include the second part of the requirement, i.e. how to get those photos to the desktop machine then? And does Google Photos use Google Drive, as OP demanded?

@beeshyams Sorry for the delay, thanks for the vigilance and the suggestion!

No problem. There you go with an upvote from me


text:
Do you know, or is there a way to find out which apps can be disabled or uninstalled without compromising the rest of my Android 5.1.1?
First of all, I thank you for the info from my earlier question. I'm not really having problems, just trying to learn. I have trouble finding answers to specific questions on the web. Now I am having some problems with not having enough room and the general behavior of this Android. There are so many apps that I have absolutely no idea what they are or how they got there. (Also, is there someway to find out what they are without having to go to multiple sites?) By the way, I'm not sure what tags do either, so I just picked one from the list.

If you have a fast and surefire way to recover (e.g. custom recovery that can back up the whole OS), just trial and error. However, I believe the majority of apps you don't know what to do with are system apps, which you shouldn't touch and won't save you space anyway.

@AndyYan if we are keeping within Google's oh-so-free-why-do-you-ask(sarcasm) limits, I doubt much damage can be done. Worst case scenario is a factory reset via recovery. Even then, I don't think you can disable system-critixal things like the UI. You can force stop them, but they start right back up.


text:
GMail "couldn't sync", though I can watch long videos in YouTube
I have run out of space in my smartphone (got the message Storage space running out: Some system functions may not work). I know this is defined as a threshold of 10% of internal disk space (8 GB). So, I have ~ 800 MB of free space. I can watch YouTube videos in YouTube app (I'm watching Persepolis right now, which has more than one and a half hour). But GMail says it just "Couldn't sync", so I cannot see nor send any new emails.
If there's an emergency and I need to communicate by email, I just cannot, because Google has no option besides "sync" the GMail app. It could obviously show new emails as plain text, without saving anything to disk.
Is there any reasoning behind this absurd (emails are much smaller than a 1:35h video), or is it just another planned obsolescence behavior?

I think it's planned. Sync kills itself off at low storage to stop a system halt from lack of memory (needs space, man) while YouTube caches, wipes the cache for each video, and also only stores one or two minutes to rewind to save space.

Why not empty the cache for emails? I'm only interested in the last emails I received. If I wanna dig further, I can search just like I do with videos on YouTube, or I can just browse the list, as with any YouTube list.

You could clear cache fully and try that?

@DanBrown At Gmail General settings I've found "Clear search history" and "Clear picture approvals". In Data usage, I've found "Sync Gmail", which I disabled (hoping it was "the cure"). Even after disabling it, closing all apps and opening it again, turning the phone off and on, I still got the message "Couldn't sync" when trying to update the inbox. How do I "clear cache fully", as you say? Do you mean Gmail cache? Or Android's?

Android's. It might also be worth clearing gmails app data too.


text:
Hello everyone I want to unroot my phone I has buy this phone YU YU phoria 5010A and I got it rooted can anyone help
My phone is rooted by apps called super Su plz help me my play store didn't open

Open SuperSU > Settings > Cleanup > Full unroot.
Reboot your device once done.


text:
Force RTL layout not working

Even though I checked the box of Force RTL layout it seems it don't work properly and due to this many other problems are occurring in my HTC Desire 826 dual SIM, like , my screen is 1080 but YouTube is not showing option for 1080p quality

These are some screenshots of Instagram and my bank's app.

The "force RTL" setting in the developer options only makes the locale a right-to-left locale if it wasn't already. That is, if your native language isn't right-to-left, this option makes it draw right-to-left anyway. It allows developers who can't read any right-to-left languages to test that their apps work in a right-to-left language.
The option can't make apps that don't support RTL support it. The app author needs to update their app to support RTL, and obviously they're only going to do this if they're going to offer translations to RTL languages. An app that only supports English probably won't be written to support RTL.
As a rule, it's a bad idea to start changing developer settings without understanding what they do. They're hidden behind this screen precisely because they can cause unexpected or undesirable behaviour.

I m worry about that my app support RTL or not , my phone's text , option drop down menus , app logos , etc get abnormally bigger and they are not going back to their normal size even though i turn off developer option

That's not what you asked about. Maybe you need to edit your question and describe what the actual problem is.

"The option can't make apps that don't support RTL support it." for reference, individual apps can even disable RtL layout.

Your screen is RTL enabled. The settings app is still LTR but check the status bar and the navigation bar it is RTL and that shouldn't affect the video quality please check any other videos in YouTube.

Yes i checked all videos, even those videos which i saw in 1080p are showing only 720p as highest quality option. I dont know but many apps' text and logo become so huge that they are going outside of screen.

Please check anyother developer settings like display size. Can you provide some screenshots about apps which has huge text and logo .

I posted 2 screenshot below as an answer , u can see... As u can see the 3 dots of top right corner if i touch them the drop down which opens is out of screen and i m unable to select any option from there

Please edit the question and add it. You shouldn't post it in answer. The phone has been reverted to LTR again.  Check whether have you increased the font size or dispaly size. Because it is LTR and the RTL setting shouldn't affect this.

I chcked it i havent increase the font size

My possible solutions will be restart the phone, check for changing dpi settings, restart system UI by force stopping it. Toggle again between LTR and RTL to check whether it restore back to current size. Otherwise take a backup and do a factory reset(If nothing happens). I am sure RTL doesn't have any link to it.

Thanks a lot for your assist and time but i tried all methods you had suggested


text:
Can an Oppo R9s be rooted?
I don't like the stock phone and messaging app of Oppo R9s (CPH 1607). Even when I install 3rd-party apps, the phone defaults to stock every time a call or message comes through. I am desperate to root it.
How can this be done?

They found a way that works on here:
https://forum.xda-developers.com/android/general/root-oppo-r9s-auto-root-tool-t3547546

You can root your OPPO R9S using

iRoot

Farmaroot

KingoRoot

Check out this blog for details. Hope this helps.

Thank you for your help but none of these work.  i have tried them all.  root failed everytime.  even if the phone is not rootable, is there a way to stop the phone resetting to default applications?


text:
Android Messages can't send images
I am using "Android Messages" (until recently called "Google Messenger") for SMS on my Moto G (3rd generation).
Works fine, except for sending images. It tries (Sending...) for a few minutes, and eventually tells me that it was not able to send.
I cannot discover where to get support for this app. I had used Textra in the past, and never had trouble sending images.
I would appreciate help, even if the only help is letting me know how to file a bug report.

You might be having a number of APNs pre-loaded on your handset. Just keep the right APN and delete the extras. Keeping only the right APN will force the messenger to use that particular APN.
Follow this path for deleting APN.
Settings → Wireless and Network  → More   → Mobile Network → Access point names.
To find out which APN to keep refer this documentation.
PS. After deleting APN, if you face network issues, you can simply reset it to default by  Settings → Wireless and Network → More → Mobile Network → Access point names → menu → Reset to default.
Hope this helps.

This seems a little crazy. Why should I need to change APNs when MMS worked fine for a different texting app? This seems like the sort of problem that would have prevented any texting app from sending images.

Sometimes, google messenger couldn't decide which APN to use, when there are more than 1 APNs  available for sending MMS

OK, this was the opposite of helpful. I deleted an APN. Didn't help. So I reset to default. Now I can't send any text messages. I don't even know who to contact to determine the correct ADN settings.

Update -- can now send text messages again, would reverse downvote, but locked in.

Glad to know it worked.

No, it didn't work, I still can't send images. But I can send SMS again so I'm at least no worse off.

Did you try deleting the unnecessary APNs and keeping the Right one? I have already mentioned the link for the documentation that might help you in deciding which APN to keep:)

I tried to understand the documentation. Decided that this is absurd. Why should I need to understand APNs to use the official Google SMS app? Returned to Textra, because it just works.


text:
Lost Android phone , Google is Forcing to Change Password but how to remote wipe it
I lost my phone today and I tried to do the remote wipe several times because phone was off and I was impatient.
Now google says there was suspicious activity with my account and I must my password. This is the dilemma for me now.
If I change the password, I may not be able to get the remote wipe but there were 6 notification emails in my mailbox confirm remote wipe has been requested and then google locked me out.
Please help.
Thanks.

Your phone should be wiped when powered on and connected to Internet. So the command will be executed only if somebody try to use it.

Well, if the thief connected to the internet, it would surely work.

You'll need google account which have registered in your lost phone. Search android device manager and follow the instructions.

Until your phone(lost one) is not connected with internet data willn't wipe or factory reset , if anyone found that and used internet on it then its data will certainly  wiped out.


text:
Is there any way to update
I have bought Solid Explorer from the playstore. I've recently bought a LYF Flame 6, which doesn't support Google Play Services, but has playstore and works just as it is supposed to. But, still I if I download Solid Explorer, it shows that only the trial version is supported. I tried manually installing a pro apk, which doesn't give updates directly from the play store. I can't download the apk each and every time a new update is released. The app doesn't show in the list of "My apps". Is there anyway to force Playstore to show Solid Explorer in the list of my apps?

An app downloaded outside of the Play Store can't   be updated using Google Play update mechanism, it  won't appear in the downloaded list as well simply because not  your Google account that downloaded it.
An app downloaded from Google Play may not modify, replace or update its own APK binary code using any method other than Google Play's update mechanism.
The paid version isn't showing up may be because the developer has put restrictions regarding your country or your Android version, etc.
Update:
Try downloading your apps from a third party market such as Monogenie or Aptoide, you'll be notified whenever an update is available.

Well, I know those apps. But as an android dev, Playstore feels better for me, in terms of both UI and features. I had asked if there was any way to make playstore to give updates for apps which I've sideloaded with the apk.

There are also other 3rd party applications which have the ability to update installed applications, regardless from source. For instance I use an official HiApp to get updates for installed applications (even though I initially got them from Google play store).
XDA developers also made an APK updater which gets updates for installed applications. You may want to take a look here: apk updater. However I haven't checked if they do license verification or app purchases. If your goal is to get regular updates for your applications then it's worth a try.
Update sources:
At the moment three sources are supported:

APKMirror
APKPure
Google Play (Download from Evozi)

Ok, does it support updating paid apps? How many hours do those sources take to upload the new apk from the developer? I've got this error on "Google Play (Evozi). Please review the error from this screenshot: link

@sharath3589, thanks for the update, this site uses a secure https connections and other protocols (http) are not supported. Have you tried updating within the app?

I haven't downloaded the app yet. I was trying to visit the website as I'm not on my android though. I've seen that error for many sites in my chrome, how could I fix that?

@sharath3589, aww if you having this problem on most sites, its because they can longer accept unsecure connections (http), you can try to update your chrome browser or other alteratives which don't explicitly shw this error even if the website uses http protocol


text:
prestigion tablet : lost my pattern and google account and dont have recovery menu
i lost my android pattern and my google account password.
my tablet dont have any recovery menu and download mode ...
i hold down Vol Up + Power OR Vol Down + Power OR Home + power and ...
no resone to go in recovery menu ...
no fastboot and no adb is active ...
how i factory reset my table without adb,recovery Mode and fastboot ?
is any way to auto update from update.zip from sd card in boot time like some HTC phone ?
tablet model : Prestigio PMP5197D Ultra
help me

You can flash your tablet to be able to use it again.
Head on this site to learn how to: flash it

thanks but all flash file and method need to go setting in android and recovery menu ...
i dont have recovery...
i need method like flashtool for Xperia device ...

Did you try the instructions from here: http://www.hardreset.info/devices/prestigio/prestigio-multipad-70-ultra/

Yes But No recovery apeare ... :(


text:
Should I and how can I avoid update pulled by Google
I have Nexus 6 and there was a news that google pulled March 2017 update. I have notification pending saying update is downloaded, click to restart and install. I dont get, how can I avoid this update altogether. Do I have to install this one and get the next update hoping it will fix all things? I am afraid accidentally restarting my phone (due to say low battery) will result installing this update.

tl:dr
OP's device is on  7.0,  whereas this update is for 7.1.1 as explained here
Hence, OP needn't be concerned about it and apply pending OTA updates

For those on 7.1.1
According to Google is Rolling Back Nexus 6 Devices to Android 7.0 Nougat, ( also mentions the problems you linked to ),this update is to roll back To 7.0 ,  thus, enabling future OTA updates. It quotes Google manager in a reddit

There was a recent OTA update for Android 7.0 that is causing confusion for some Nexus 6 users. For those of you that want to guarantee future OTA updates, you will need to get back on the 7.0 supported track. If you are experiencing issues after accepting the 7.0 update, please factory reset your device to help resolve any problems.
For any Nexus 6 users that want to continue flashing/sideloading future builds, you can stay on 7.1.1 and continue to do so.

So, if you are willing to downgrade and get OTA updates in future, You should apply this update or flash manually updates if you want to continue on 7.1.1
As you can see on reddit, this appears to be a first, where an update actually downgrades your version !

A stupid question: What is meant by Google "pulled update"? Is it like that update will be uninstalled by next update? So I have to install this one and subsequent one too?

According to the link you provided The update has been removed, and going by the reddit, You have an update that takes you to 7.0 and thereafter keep getting OTAs

To clarify further, it means that the update which created a problem had been removed by Google, so there is no question of it being available. What you have now is a different update which will roll your device back to 7.0, . Thereafter, you will continue to get OTA as released but if you don't accept the update and are on 7.0.1, you will have to manually flash updates- no more OTA

In settings, it says I am having Android version "7.0". It also states "February 5, 2017" as "Android security patch level". The update window says "This software update will improve the security of your Nexus 6 with the 2017-03 patches." And this update notification is there in my notification tray for 2-3 weeks as I didnt let it continue to install. Observing all this, it feels that this is the update which is pulled by google afterwards. Are you sure when you said "is a different update which will roll your device back to 7.0"?

Yes. I am sure. Updates don't get applied just because it is downloaded on your device. There is a verification process that happens between the device and OEM server on the status of device Android only then update happens . For example, if you modify your system then update fails because it does not get approved by server. This is a system followed since Lollipop. So when Google pulled out the OTA, it will not approve installation on your device. You can be sure of that

I don't have device but I am sure of what I said

Further, see this - the pulled update was for 7.1 and you are on 7.0, so it can't affect you in any case http://www.droid-life.com/2017/03/10/nexus-6s-android-7-1-1-march-patch-back-brief-pull/


text:
Cannot find device to restore google data and settings
I am trying to restore my google account on a new device but it cannot find any of my previous devices under
"Restore your apps and data from one of these devices"
I verified that my old devices have been backing up to google. Not sure how to get them to appear.


text:
Reading an ICS Calendar file in Android 7
When I book a travel, the company sends me a reminder with one or more ics files that work fine with Microsoft Outlook.
I buy almost only from computer, because official Android app does not offer the same discounts: I mean, this specific rail company almost sells regular-price tickets via app, but if you browse their website from desktop computer you may be able to find discounted prices for the very same journey. Plus, there is no ticket synchronization with this specific vendor even if I use the same account on the website and application.
I can't use anymore Local Sync for Android (R.I.P.), so I end up with a reminder email message into my Outlook/Gmail app with those ics files attached.
When I open the ics file with Android Calendar it won't import it. Also worth to note I don't use Gmail address. The Gmail app is configured with my IMAP mailbox to get the rail tickets.
Question: with vanilla Android 7, is there a trick to import an ics calendar file into Android Calendar? Didn't Google add support for standard ics files into their app? Is it possible not to install yet another app?

why don't you try Blue Mail app.

Thanks for pointing the app. In order to follow StackExchange rules, you must disclose your affiliation with the program if you are the author or work for them. Recommending an app can (and should be) posted as an answer with some indications/explanations of what the app does and how to fix the OP problem with the app, always by disclosing own affiliation


text:
How to deinstall Talking Book
I cannot find the app in the list of apps. And it starts randomly. I want to get rid of it. How?

Of course, that worked. Thanks. I an used to holding the app icon and drag it to uninstall. I did not think of this obvious option.

What the heck is that thing, anyway? The Play Store description looks like it was generated with a Markov chain. o_O

It is supposed to read DAISY books. Basically audio files but you are supposed to be able to easily navigate through chapters. I ended up using Dolphin EasyReader on my computer to have the one DAISY book read I wanted to have read. If there is a working (!) Android app for this I would like to know it. I know this list but I do not want to test all of them by myself. Experience wanted.

Go to play store, locate the app there and choose to uninstall !


text:
How to stop the speaker totally
I know this sounds weird, but for work reason we want to ban speakers on rooted tablets (Android 5.0), I searched for the APIs & system files, but couldn't stop it.
Any solution?

What about setting the device to Silent?

I dont want the user - in our company - to be able to open it, if he put the volume up no more silence.

TL;DR Set device to silent. Tape it over.
If you're able to open the case, you can easily find the speaker attached to the back (or somewhere near the bottom) where gold contact pins are visible. Tape over the pins and the speaker will stop working totally without getting damaged.
If it's not possible for you to open the case, then set your device to silent mode is your primary option. Taping over the speaker hole helps this to some extent, but not as effective as turning off sound. Because sound is a kind of mechanic vibration, it propagates via (almost) all kinds of media, including solid, liquid and gas (air) so you can't simply block it.

what do you mean by tap over the speaker?

@JinaneK I did not say 'tap over' but 'tape over' instead. Tape something over means stick a piece of tape on it to cover it from emitting light or generating sound.

Oh I see!!..  No I can't do this. thank you @IBug.


text:
Switch over from systemless root to system (traditional) root
Internet search reveals a couple of ways of doing this:

This reddit post suggests a couple of methods, which are simple
In contrast, this XDA mentions that even flashing boot.img is not enough and you need to clean flash system as well - in other words complete ROM

Do I run a risk if I choose the first method and flash the last version of traditional root?
Anything else I need to bear in mind ?
Edit: Any other method ?

Rather than answering to your question's body, I answered to the title. Do make me know if it solves your issue.

@DeathMaskSalesman: That's fine - that's the crux. Will revert if there is a problem ( some xposed issues I am attributing to systemless root, as a guess - if they are resolved  otherwise, needn't revert)

I had this very issue some time ago. In my case, this Reddit post helped.
Basically, to migrate to the traditional system root, you need to have the TWRP recovery installed, the latest SuperSU flashable ZIP, your phone to be already systemlessly rooted and SuperSU by Chainfire to be your root manager app.
Next, boot to Android, open SuperSU and navigate to the Settings tab. Find the Full Unroot button and tap it. When SuperSU asks if you're sure to unroot, accept. When it asks whether to restore the old boot.img, deny.
When the phone reboots, input the appropriate keys and boot into TWRP. Once there, make sure that the /data partition be mounted. Then, under the Advanced menu, start TWRP's Terminal and issue the following commands:
cd /data
echo SYSTEMLESS=false > .supersu

. Alternatively, you can use
echo SYSTEMLESS=false > /data/.supersu

to achieve the same result. This creates the file .supersu inside /data.
Finally, flash the SuperSU ZIP to force SuperSU to use the standard, old root procedure.

The .supersu file
This file is checked (e.g. sourced) by the SuperSU ZIP. If it finds the entry SYSTEMLESS and it has value false, the installer will perform a system install. If the value is true, the installation will be systemless.

Thanks .  Was xposed unaffected? Just for curiosity what does the command exactly do ? Asking since for my device ( Moto X Play ) I had to echo "SYSTEMLESS=true" >> /data/.supersu to make it work ( IDK of that makes a difference to your solution) +1

Also, can I flash the last version of system root or any version as good?

@beeshyams I cannot say if Xposed will work fine - I was on Android 7 when applying this solution, so no Xposed - but if the issue was that Xposed couldn't find su, then yes, it'll work again. My two commands and yours do the same thing: they create the file .supersu inside /data, and write the string SYSTEMLESS=false inside it. This file is checked by SuperSU's ZIP, and if that string is set to false, then the rooting method will be the traditional one. Lastly, my test was performed with the SuperSU ZIP v2.79-201612051815, so I cannot really say it'll work for an older ZIP.

I am on 2.79 version , so it should be fine

It's interesting that you advise not to restore boot image when doing full unroot. I tried your method and because I did not restore it I never got root when installing in system mode not system-less. That's probably also the reason @beeshyams had problems. Also he did put SYSTEMLESS=true (not false) so it seems he was moving from system mode to systemless which is the exact contrary of what this article is about.

Good day. You're right in saying that beeshyams put SYSTEMLESS=true, whilst I was babbling about SYSTEMLESS=false. That way, he got himself a systemless root instead of a traditional one. Why he says that it worked, I don't know. About the boot image restoration and a good part of the solution, I merely reported what I found on the link you can see in my answer, as such method worked for me at the time. I'm afraid I can no longer do any troubleshooting about SuperSU, since I'm currently using LineageOS' own root solution.

@MarcElser and Salesman- deep apologies for my first comment that caused this confusion. To set the record straight 1. In the first comment , I was referring to what I needed to while rooting the phone in system less mode for the first time , as I read up on XDA (your thread?) and was trying to understand to how it works 2. Your solution worked fine for me and I am in traditional root now//

Couple of other things that may come in handy to other visitors 1. If root is sticky and doesn't vanish , this helps, as it did for me. 2. If you simply switch to system root and restore /data (which was in system less mode earlier), you are back to systemless mode again ! Ti Bu is the only way out


text:
Android 6.0 x86_64 bit boot stuck at root@x86_64:/ on Windows Hyper-V
I have been trying to start up and Android x86 (64-bit) on Hyper-V using the latest edition available from http://www.android-x86.org/releases/releasenote-6-0-r2http
I have installed it with GRUB and created a bootable Partition during installation. Format drive to ext4.
Every time I try to run the VM I am presented with the following image

and it doesn't proceed to boot to the android screen. Anyone have an idea how to fix? I would greatly appreciate it.

What RAM size have you selected?

The default screen resolution /color depth is not work. Need to be changed. A guide could be find here:
How to Install Android x86 4.4 R2 on Hyper-V – Part 2: Configuration, Screen resolution and Network (Jan 2015)

The screen resolution seemed to fix it, but now when I get to the initial page for setting up Android, when I click the arrow to proceed with setup, the VM then bootloops back to the android loading screen. Any ideas?

I have extracted the guide below from the article which made reference
  to remixos on hyper-v, however the procedure is the same for any
  android x86 installation:

Install Android x86 on Hyper-V virtual machine
Installation to Hyper-V virtual machine is a bit tricky, but achievable.

First of all, create Generation 1 VM with at least 6 Gb HDD.
After creation of VM do not power on it.
Connect created VHD disk to any windows machine (Disk Management -> Right Click -> Attach VHD)
Initialize it as MBR disk.
Format it in FAT32 file system.
Detach VHD.
Boot VM with Legacy ISO. Do not choose Resident or Guest mode

During boot up;

Press TAB button. Edit your boot string to:

/kernel initrd=initrd.img root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive quiet INSTALL=1 nomodeset vga=785

You can replace 785 with any 16bit (or 24bit) color depth code. More codes can be found at http://pierre.baudu.in/other/grub.vga.modes.html
Chose sda1 partition (vfat system)
Do not format it.
Chose yes for GRUB installation.
Skip EFI GRUB2 installation.
Choose yes for making system directory read-write.
Choose yes for creating user data image.
Enter size of data.img. Maximum is 2047 because we formatted our dist to FAT32 file system.
You can run you Android-x86. It’ll take a while, do not panic.
Configure it as you wish.

After completion;

The last thing you need to do is eject ISO from VM and edit created GRUB entries.

Shutdown your VM and eject ISO.
Once again attach VHD to Windows machine.
Edit \grub\menu.lst

You need to delete extra digits after kernel path, for example if you used vga=785 previously you need to replace kernel785 with kernel . Also you need to add desired vga mode again. So your menu.lst should look like:
default=0
timeout=6
splashimage=/grub/android-x86.xpm.gz
root (hd0,0)
title Android-x86
kernel /android-2016-01-14/kernel vga=785 quiet root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset SRC=/android-2016-01-14
initrd /android-2016-01-14/initrd.img
title Android-x86 (Debug mode)
kernel /android-2016-01-14/kernelvga=785 root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14
initrd /android-2016-01-14/initrd.img
title Android-x86 (Debug nomodeset)
kernel /android-2016-01-14/kernel vga=785 nomodeset root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14
initrd /android-2016-01-14/initrd.img
title Android-x86 (Debug video=LVDS-1:d)
kernel /android-2016-01-14/kernel vga=785 video=LVDS-1:d root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14
initrd /android-2016-01-14/initrd.img

Detach VHD and boot your VM.

You should now get past the screen android x86
(Unfortunately couldn't upload images since I used RemixOS instead of androidx86)
Sincerest acknowledgements go to:
Install RemixOS on Hyper-V virtual machine


text:
Make Galaxy S7/Android install drivers for MTP (Nougat, Win 7)
Is there a way to make Android/a Galaxy S7 prompt Win 7 to install the drivers for MTP?
I own two S7 I use for work, one I've had for a while and used it to develop Android apps, the second I got a week ago and set it up today. Both I updated to Nougat 7.0 today (they were both on 6.0 with different Builds) and my old one instantly made Windows install the drivers for MTP and PTP but the new one only did it for PTP. I can still access everything on it with MTP but Eclipse/Android Studio/adb devices don't see it with that.
I tried killing the adb server, unplugging, restarting, changing the setting to PTP and back,... but nothing has worked so far.
The devloper mode and USB debugging are enabled on both S7s and I also updated the Google USB driver and installed the Android 7.0 SDK Platform through the Android SDK Manager today. The latest version of Kies is installed too but it also can't see the new S7 in MTP mode (to be honest, didn't test with PTP mode).
So, is there a way to kind of reset the whole MTP deal on the new S7 (preferebly without resetting the phone), so it makes Win 7 look for drivers again?
Bonus question: Can I make Nougat's developer settings' USB debugging default to PTP? Every time I unplug the phone, Android sets it back to MTP.

Try this:

Open the dialer
Type *#0808#, should open the USBSettings menu.
On the window that comes up, on USB, tick AP. On USB Settings tick MTP + ADB
Reboot the phone. Windows should now install drivers and the phone should be detected in debugging mode.

Can I make Nougat's developer settings' USB debugging default to PTP? Every time I unplug the phone, Android sets it back to MTP.

Try:

Pull down the notification panel
Then touch the USB sticky notification
Select Tranferring media file (= MTP)

Your phone should remember this setting and never forget again :D

UPDATE:
Try *#9090# and select DM/DUN over HSIC
Also try revoking the USB debugging authorizations in the Developer options. Works fine in most time.

Unfortunately neither worked. Ad 1. It was already set to AP/MTP + ADB and "MTP" (without "ADB"), "PTP" and "PTP+ADB" aren't even in the list like on your screenshot. I changed it to something else, changed it back, saved, the did it again and chose "reboot" this time (all while it was connected to my PC) but it didn't install any drivers and Eclipse,... still don't find the phone. Ad 2. I did that but as soon as I unplug the S7 or restart it, it's back on MTP.

Ad1. So there should be something wrong with this device. Bad USB connector may be. Try cleaning it and try again. Ad. 2 "... back to MTP." or PTP?

Just saw your update: "DM/DUN over HSIC"? There's "DM TRACE ITEM SEL" but nothing else that's similar. I already tried disabling the developer options and usb debugging with a restart afterwards but no change. Like I said, PTP works fine, so I think/hope it's not the connector. What do you mean by "try cleaning it"? Reset the phone? Ad 2. I set it to "Midi" and it actually installed a new driver through Windows Update, so even that works. It's possible that it tried to install it for MTP too in the beginning but wasn't successful - no idea how to make it search again.

I mean cleaning the USB connector. Sorry bad English


text:
Limiting only certain apps to use mobile data
Is there any way so that I can limit only one or two apps to use my mobile data in Android 4.4.2?
PS: I know about blocking background data, but I am curious about any other way.

Possible duplicate of Allow only specific apps to use cell data, only when on 3G

If you want to turn off cell data on specific apps, just uncheck the box that corresponds to connectivity and you are all set. Otherwise, install firewall apps from Play Store.


text:
How to operate Android from PC
Is there any way to completely use my android phone from my PC ? I got a damaged display and touch will not work for some parts of my phone. the phone is Sony Xperia J. My phone currently have a default lock screen (sliding from left to right) as that part of touch is not working, I cannot access my phone. Please help. Android Version is 4.2.

You might wish to check our broken-screen tag-wiki, which has quite a few useful hints for that situation. A detail needed in this context: Is USB debugging enabled on the device?

The following reply needs USB Debugging option to be activated on the target device.
You can easily operate your device with Vysor, it's an Extension for Goolge Chrome.

Refer to the link below for further details : How to fully control your android device from any computer

actually, I can't unlock my phone...

without device permission u can't operate any application in android.i think you can change your  display first that in under 1k that is better way for this problem .. other wise try some flashing method that is not sure for your device

You can install snapPEA on your PC, and also make sure USB Device drivers are working fine.
Using snapPea you can manage the apps, music, photos, and SMS messages on your Android phone from your PC. Its free for windows.


text:
Broken LCD without any visible damage - is that possible?
I have sent a Samsung Galaxy S6 to a warranty repair - the screen remained black but the phone made sounds. The user of the phone did not report any physical damage to it, the display went blank at once according to himself. The phone had no signs of physical damage on the screen.
The service returned the phone with a statement that the LCD screen has been broken by physical stress and the warranty is thus invalid.
Is that possible? I mean I am not the user of the phone and do not know what exactly happened to the phone before it stopped working but some damage should have been visible on the screen, shouldn't it?

Do remember than the flex cable connecting the screen to the motherboard is a part of the screen assembly, and is fragile too.

@AndyYan Perhaps, but the report said: "LCD screen was broken and has to be replaced."

Concerning AMOLEDs, there is a common symptom where a circular area of the screen first go bad (black), due to factors like external shock, then the circle gradually expands to the extent the screen is unusable. I never saw it extending across the whole screen myself, but some pretty large ones are possible.

The digitiser could have gone bad without cracks on the screen and the service center would like to make more money by replacing both so easiest is to report damaged screen

@beeshyams But if the digitizer had gone bad without a damage to LCD, something would be visible on the screen after restart or touching buttons?

Possibly not seen since screen went blank- not sure though

Unfortunately, if you have your old screen you can inspect it visually and you can see that it's damaged, this usually happens to fragile phones.


text:
SIM card, saving space, contacts
Does it take up less space to save contacts to my SIM card or device? My phone only has 8MB and I wanna do whatever saves more space.

Unless you have several hundred or thousands of contacts, their space usage is minimal. I have about 300 contacts and it takes up 40KB of space. Besides, on the SIM you can only store name and number, no additional information, and most newer SIMs allow for 250-500 contacts.

In addition to that, you must have a typo in your question: I never heard of an Android device with just 8 MB of storage. You probably mean GB, do you? And do you know how much space a SIM card has? Depending on its type, between 8 kB and 256 kB. Now compare how much you can save by moving things there :)

The best practice is to store important contacts to SIM card so that even if you change phones for some reason the contacts remain with you.
Doing this you can distribute the amount of memory, taken up by contacts, between SIM and phone memory.

Does it take up less space to save contacts to my SIM card or device?

The difference will not be remarkable (few Kilos) when you have no contact pictures.
Try to sync your contacts to to your Google Contacts.

My phone only has 8MB and I wanna do whatever saves more space.

Your phone has 4GB ROM, you have to move your unnecessary files to MicroSD Card(s) to gain more space and optimize your phone performance.
There are many applications used to clean junk files from your device, like CleanMaster


text:
Wifi drop warning
I live in a house where the router seems to just turn off every now and then. It's not really a problem as long as I'm aware when my phone switches to data, but sometimes I'll have watched multiple videos before I notice the lack of a wifi symbol. This is definitely a problem because I have a limited data plan.
I have a Galaxy Note 5. Does anyone know of a simple way for the phone to warn me when I drop off wifi?

Honestly I'd just keep data off unless I need to use it, that way you surely get notified (no internet access at all) when WiFi somehow drops.

Just keep the data off, and your phone will warn you when it happen:)

Good idea, but for personal reasons I need the data on whenever I don't have wifi, especially when I'm out of the house. I'm just looking for something more convienient

The problem is that the functionality to locate the phone if it gets lost relies on an internet connection.  But it's high time Google implemented using mobile data only for this when it is otherwise switched off.

I don't think Android devices have a built-in alert or notification to cater for this
You can achieve this by automation. I prefer MacroDroid being easy to learn and free ( upto 5 macros )
Trigger: WiFi state change → Disconnect from network → choose network or any
Actions:

Play sound → Choose a sound from drop down list.
Popup message → Type whatever you want to be displayed when Wi-Fi is disconnected.

This will give you an audio alert + a pop-up message on your screen.

This app is fantastic, and exactly what I was looking for. Thanks!

Thanks. Sure it is a great app and I often suggest that. See some solutions  offered - it is a very versatile app . Happy automation :)

Does "disconnect from network" trigger regardless of whether the loss of connection has happened at the router end or the phone end?  My phone every now and again mysteriously loses sight of my home wifi connection although the router is still alive and connected.  I would like to be warned when this happens.

@Stewart yes, it does-what matters is that connection is lost, not why//I don't have this macro running but you can test it out

A few other options that would be most useful for the purpose: (a) being able to override silent/do not disturb status (b) triggering only when I'm actually at home, as determined by GPS.  I don't suppose MacroDroid provides these?

Yes to both... That's the fun of automation. You can try out the actions mentioned. The app has templates uploaded by users that would help you


text:
Android tablet where WhatsApp?
My iPad has 4G but you cannot call with it so you cannot keep WhatsApp there. I am thinknig to if there is any Android tablet where you can keep WhatsApp.

My Samsung Note 10.1 (GT-N8000) has WhatsApp

WhatsApp is not compatible with tablets on Android. You could try using https://web.whatsapp.com/ through the web browser on an android tablet.

The latter does not work if you do not keep smartphone active.

It works  on my tablet(Samsung GT-N8000)


text:
Andoid App install workaround, country device not valid
I have a Galaxy Note Pro 12.2 (P905 with Sim) and the device itself is great, but I do regularly encounter "This app is incompatible with your device." and "This item cannot be installed in your device's country".
I've played around, rooted, revised and corrupted build.prop, reinstalled (cost be £40) all in an attempt to workaround, all to no avail thus far.
Further research has also indicated the issue could be to do with Sim, Camera and other "add-ons" which could give rise to the above restrictions re installation.
My latest endeavour gives rise to this question.
Are these contraints purely related to Google Play Store?
If this is the case, could I not obtain, via download the APK file (my test is for Churchill Solitaire), and install direct without going via Play Store.  Would this circumvent the above issues?
I guess the only real test is to try but before I did I thought I'd ask.
Cheers
PG

Just sideload the APKs, under most circumstances the restrictions are just forced on you. Whether the app works nicely on the tablet itself is another question (esp. stretching caused by screen).

Developers may restrict their apps to work only on certain devices, countries, and some versions of Android. But, you can bypass theoe restrictions to install apps that are “not compatible with your device.”
P.S: You should have ROOT access to fool Play Store, but didn't guarantee if the apks will work correctly on your device.
I won't tell you why some apps are not compatible with your device? and on your Android device, Those won’t appear in Play Store search results. You are seeing those incompatible apps on the Google Play website only.
How to bypass device restrictions ?
On your system partition there is a build.prop file storing the device,  brand and manufacturer.
if you have ROOT access device, you can edit the build.prop manually and change your device model and brand entirely. This will allow you to install apps that are marked as compatible with your new spoofed device., the values to be modified are:
ro.product.model
ro.product.brand
ro.product.name
ro.product.device
ro.product.manufacturer
ro.build.fingerprint

Be careful, when dealing with ro.build.Fingerprint
You can simply download Device Spoofer apk from Play Store on your device. Once it’s installed, don't forget ROOT is required; launch the apk and spoof your device to any model available on the list. after rebooting your device, You can then install apps compatible with that new device.
Tricks for Installing Country-Restricted Apps
Some apps are only available in certain countries. If you have forgotten to install your bank’s app before travelling or you want to install a video or music-playing app that’s not available in your country, you may be able to fool Google into thinking your device is actually in another country.
We have used these tricks in the past to install US-only apps from outside the US. However, none of these tricks worked for us when we tried them while composing the article. It’s possible that Google is sure our account is outside the US because we have paid with a non-US payment method on Google Play. However, we have included these tips in the hopes that they may still work for some of you.
How to install country restricted apk?
Just use any VPN apk from Play Store to Install country restricted apks. Use Wi-Fi only when using Play Store, and disable cellular connection with AirPlane Mode.
VPN applications don’t need ROOT access. just restart your device, connect to another country's VPN, and then open the Google Play app. Your device should be located in another country. maybe you need to clear Google Play Store data & cache to detect device’s new country.
Install the App’s APK File
If an app is marked as incompatible because you’re in the wrong country, you may be able to locate the app’s .APK file and sideload it onto your device.
Install apk from unknown sources

On your device, downlaod the APK file you want from sources other than Play Store.
Launch any File Explorer apk and navigate to your downloaded apk (Tick the option "Install from Unknown Sources" on your device Settings)

P.S: Downloading and installing apks from web include many security risks. You shouldn’t download APKs from untrusted sources.


text:
Root Android tablet with adequate SuperUser app
I'm an Android developer doing a project which requires rooting the device and doing some su task to fulfill the needs. The problem is that all the rooting software solutions that worked for me (iRoot, Kingoroot, Kingroot) have inadequate SuperUser app that brought TONS of additional malware stuff such as unintended lock screens, ads etc. Also, when my app does some su command the SuperUser app won't let it do it unless user accepts root permission in the dialog. I can't accept that - the app is running in kiosk mode on devices located in stores. I think there are two ways:

Please provide some rooting programm which has normal SuperUser app that won't do shady stuff and ask for root permission all the time (at first launch it would be ok, or set in the settings).
Or the rooting solution which won't install its own SuperUser app. I assume there are some decent SuperUser apps on the market that will allow my app do well.

The target devices run Android 4.4.2 version. Thanks in advance.

Let me ask this: you want your app to be able to call su and obtain root permissions without needing an user to act. Correct?

@DeathMaskSalesman yes

Are you able to flash a custom recovery on those devices?

@DeathMaskSalesman yes, initially the one who will be installing the device will flash it, install pure system image and root the device

Well, if you can flash TWRP, then you might create your own flashable ZIP based on this one made by ClockWorkMod, and flash it. In order to grant root permissions automatically (bad for security), you just need to place the su file inside /system/xbin, chown 0.2000 and chmod 755. Then, create a symlink to that file inside /system/bin, call it su and chown 0.2000, chmod 755.

@DeathMaskSalesman Thanks for your advice. That's a pity, but I don't think the guy who will be installing the device is a specialist in such thing. He won't handle what you propose.

I see. Well, you might try to flash the same ZIP I provided above (which also installs the root manager SuperUser). After you've confirmed that root is working, just uninstall the abovementioned root manager manually. You'll retain the su binary and have unlimited access to it, plus this method would be easier for your collaborator to perform.

The easiest way to do so is to Root your device with kingroot, then replace it with SuperSU.
Here is a detailed guide provided by MrW0lf : How to Remove/Replace Kingroot/KingUser with SuperSU


text:
Samsung s5 mini - delock cable mouse / keyboard not working
I am using a simple delock cable which I ordered on amazon:
Delock Kabel Micro USB Typ-B Stecker gewinkelt > USB 2.0-A Buchse OTG 11 cm
Question: When connecting Mouse/Keyboard through the cable to my Galaxy S5 Mini, it does not work. Am I missing something? or the cable is not working?
P.S: Every video on the web shows that you simply connect it via the cable and thats it.

OTG needs to be supported at the kernel level and you device does not appear to have that with stock kernel as you can see from cursory Google search.
Samsung S5 mini supports Gamepad through OTG? offers a way of flashing a custom kernel to override this limitation pointing to a XDA thread. You would need root to attempt this
Perhaps some videos which claim OTG support have this kernel flashed or custom ROM enabling this.


text:
I can't run my app in Redmi Note3 from Android Studio 2.3
The device is detecting well, and also enabled permission to install from other sources in device settings, But after gradle build done at the installation time I am getting below error only in Redmi Note 3:
Installation failed with message Failed to establish

Refer to Image below
 session
MI Version : MIUI 8.1.1.0, In previous version is working fine I using same device to run the apps from Android Studio. After updating to Versions 8.1.1.0 only this issue occurs

Can you share your AndroidManifest.xml file

Hi, on http://android.stackexchange.com please, don't ask about Android development, publishing, or marketing questions. Maybe http://stackoverflow.com is a good place for your question. Then your question should be migrated or deleted.

Please follow these steps:

Go to Build > Clean Project
File > Invalidate caches/Restart > Invalidate and Restart

This should work.
P.S. Also CLEAR CACHE and CLEAR DATA of the app if its already installed on your android device.


text:
Cellular Network Setting Won't allow to select preferred network type to LTE
Android is not letting me select preferred network type to LTE for my 4G SIM, because I have selected the other SIM for data. The thing is, it only lets you select LTE as preferred network for a SIM which is selected as your DATA SIM.
The problem is the 4G SIM that I have, doesn't work on any network other than LTE. So if I am using data from my other SIM (3G), the network for my 4G SIM is gone.
Is there a way around it?

normally in dual sim devices even if it is LTE capable only 1 SIM card can access LTE the other 3G, I'm suspecting since you chose a second card for DATA then the other which is LTE only can't work - must be a carrier/android restriction there

@xavier_fakerat Yes, only one SIM card can access LTE, but it doesn't depend on the slot it is in. The data SIM is only allowed for LTE. Now, I am using data on 3G SIM, and I have changed it's preferred network type from LTE (recommended) to 3G, it should in theory then let me select LTE for the other SIM, because I have told it to not use LTE for my 3G SIM.

@xavier_fakerat : This is the correct answer, make it a valid answer.

@ Abdelhafid Madoui , Ok just edited and put it in answers section

@xavier_fakerat : I agree there is a restriction. But it's only software that's restricting it, not hardware. So manually choosing 3G for my data SIM should let me have LTE for my 4G SIM in theory.

@Shanks that's what I suggested earlier in the comments section but you added another confusing statement, so I modified my answer and now you are saying a different thing again. Seems you know the answer to your question already so I deleted my post.

@xavier_fakerat: I don't know how to work around it. What different thing you are referring. What different thing? I am only asking the work around for this restriction, "Android lets you select LTE as preferred network for a SIM which is selected as your DATA SIM." That's all. Changing slots doesn't matter.

In any 4G enabled dual SIM handset, only one slot is meant to support LTE, that is SLOT 1.
Insert your 4G SIM in SLOT 1 and 3G SIM in SLOT 2.

No, it doesn't work that way. It doesn't depend on the slot. It depends on what sim you have selected as your data sim. I am able to get LTE network for my 4G SIM irrespective of the slot it is in, provided it is selected as the data SIM.

This is wrong, Dual SIM phones are able to switch between SIM cards, if your data connection is used by the second card it will get the support for 2G, 3G and LTE and vice versa.

In dual SIM handsets, you can use only one SIM as 4G at a time. So it is preferred to insert your 4G SIM in SLOT1, and 3G/2G in SLOT2

Dual SIM phones are able to switch between SIM cards LTE support, if your data connection is used by "SIM 2" it will ba able to operate on 2G, 3G and LTE, while "SIM 1"  will operate only in 2G and vice versa.
TLDR, SIM used for data connection will operate on 2G,3G and LTE the other SIM card will operate ONLY on 2G.
If your SIM is working on LTE Only mae sure it's the SIM used for data connection otherwise, you will not get network signal on it while your 3G sim card is used for data connection.

SOLVED!!!
In my galaxy a7 (2016) running lineage os 17.1
Android 10 ROM
Suddenly one day my data switched from LTE to E
And stayed that way for hours
So I tried fixing it throw (phone information) (##4363##)
But it DID NOT WORK.
After a long search online for solutions I came across
One that says MANUALLY switching your other Sim that you don't use for internet to 2G then ALSO MANUALLY switching your internet Sim to LTE WILL SOLVE THE ISSUE
AND IT DID.
Without having to restart the phone, just do it and wait for a couple of minutes and it will flip to LTE
However this should happen automatically, but it might be a bug in the firmware/android
If it does not work then may be I'm tripping and my carier fixed it without telling me
Bear in mind that in my area there are probably tower maintainance going on or so I've heard so I might also be wrong
But definitely try it and if it works don't forget to write back
Thanx :D


text:
Google play store: set language to the local language
I am in Germany, I want to set up Play Store to display and search/install apps in German language.
My phone's default language is French. I do not want another language.
I did set up my Google account language to German as the main and only language
Still Play store will display all in French. I cannot find how to switch languages.
What to do to get it into German?

You have to set your System display language to German, not your Google account language to German:

Paramètres -> Paramètres Avancés -> Langues & Saisie -> Langue -> Allemand (Deutsch)
Einstellungen -> Erweiterte Einstellungen -> Sparche & Eingabe -> Sparche -> Deutsch

Thank you for the answer, but is it possible to switch the language without changing phone main language?


text:
Rampant Google Play Services and Location problems since Nougat 7.0 Update on LG Stylo 2
I have an LG Stylo 2 running android on Virgin Mobile.
Since the Nougat OTA has been rolled out a week or two ago, I have had numerous and far-reaching problems with the device, and troubleshooting each of these problems individually has been unsuccessful.
The worst/most annoying are:

Constant "google play services has stopped" or even "google play services keeps stopping" messages.
Frequent messages "authentication is required" messages in the play store asking me to log into my google account, though I am logged in (this also happens in other apps, and it won't take me to a login screen)
Huge issues with location and GPS. Location is on, and when I try to toggle the mode to "high accuracy", it automatically toggles back to "GPS only".
Same with the Qualcomme IZat performance improvement service:

When I turn it on, it just turns back off. GPS occasionally works with google maps if I boot up the GPS status app, but will not work at all with location-based apps like "Pokemon Go".

I am also unable to use the LG backup service.

Things I have tried:

Rebooting phone/taking out the battery multiple times (this actually makes the "google play has stopped" messages more frequent after reboot for a while).
Clearing data and cache for google play services and google play store, as well as all cache on the phone, multiple times.
Uninstalling and reinstalling all of the apps with issues, including google play services and google play store.
Disconnecting and reconnecting my google account (this gave me numerous errors trying to reconnect the account

It took me many tries. and I was worried I would never be able to reconnect the account initially.

"Force Stop" Google Play Services and Google Play Store
Toggling Airplane mode and location on and off.
Checking for updates to Firmware/Phone etc. Daily!

Any help would be greatly appreciated.


text:
Android unable to connect to WLAN with SSID NULL
I was messing with my WLAN and tried setting the SSID to NULL. For some reason my Android Phone is unable to connect (my Laptop on the other side is able to). I know it isn't a string termination thing, as NULL followed by any readable character works.
Is there a reason for this or is this a bug?


text:
Please Help! Can I still access my files?
**Hi guys!
I have made a serious mistake, and I feel so stupid! I was wondering if any you awesome people at AE would be able to save me.
I have an LG G2 vs980 Lollipop 5.0.2
So, all I wanted to do was change my startup screen to get rid of that boring LG logo and replace it with something neater. I went over to Google and found a guide on how to do this, and followed the steps 1 by 1. Everything actually worked out perfectly, but it wasn't until after I was locked out of my phone that I realized that I had used a startup image that was not compatible with my LG G2! (Total face palm!). Now, whenever I power my phone, it flashes that "neat" image that I replaced the stock one with - before the screen goes completely blank. Not good at all.
So my question is this - Is there a way I can acess my system folder without having access to my phone? I know EXACTLY what file I need to remove/edit to solve this problem! In fact, that is what is frusturating me the most. It's not some random error message out of the blue that I know nothing about. I know exactly what the problem is, I just don't know if I have access to the solution. I just really hope I don't have to wipe everything back to stock all because of a lousy startup image.
If anybody can help me access my system folder so I can switch out the bad file for the default one, and get access to my phone again - I would be so forever grateful! Thank you in advance to anybody that can save me!
Much appreciative,
Terri (Psyintz)**

So your screen is blank all the time or just during startup?

After flashing my startup image, it goes blank permanently. I can no longer do anything.

You could use a recovery like TWRP (if available for your device) to delete the file. In TWRP, you can find the file manager under the 'advanced' category.

How would I go about installing TWRP without accessing the phone? All of the installation guides I have found talk about "enabling USB debugging" which requires the phone to work. However, I do already it enabled. I'm just not sure how I can install it without having access to my phone.

That's is the problem. In order to use ADB you should have USB-debugging enabled, which can be done only in menu, AFAIK. Maybe, more proficient experts know other way, but I don't.

You should have been enable USB-debugging before any experiments :)


text:
Convert installed app to system app
I am on Samsung Galaxy J2, rooted with TWRP flashing. I want to convert a GPS Spoofer to a system app.
I tried Link2SD and Titanium Backup, but both of them failed. I tried to move it manually, but in all 3 cases, the app is completely removed from the drawer.
Is there any method?

Let us continue this discussion in chat.

SuperSU version v2.73 installed by you is systemless as confirmed by you using methods mentioned here How to find that I am rooted with Systemless
Systemless root does not permit changes to be made by you to /system  by default. See Systemless Root for details. This is most likely the reason that you are unable to convert installed apps to system apps
To enable this, you have two options:

Follow instructions here  Enable /system write in TWRP - Systemless root to make /system writable and then try to install. This should solve the problem (I am also on systemless root but made it writable following this). If this doesn't work,  next option  below
Revert to traditional root - see
Switch over from systemless root to system (traditional) root

Let us continue this discussion in chat.

Although OP seems to have SuperSU installed, I am writing this answer for the users of Magisk so as to prevent near duplicate questions from spawning.
Magisk module App Systemizer can make any third-party app a system app systemlessly i.e. without making changes into system partition. Download it from Magisk Manager or via the link and flash it through Magisk or your custom recovery. Reboot and launch a shell using a terminal app, such as Terminal Emulator. Follow these commands:

su
systemize       # loads the tool
1               # this would list all the third-party apps that can be systemized
ENTER_DIGIT     # enter the digit corresponding to the app you want systemized
CHOOSE_LOCATION # choose the digit corresponding to /system/app or /system/priv-app
TYPE y OR n     # y to reboot immediately and n to reboot later

After reboot your app would show up as a system app. When you get comfortable with this tool you can direct everything through a single command. Follow the module's link for usage instructions.

Magisk Manager can install this module itself

Assuming you have ROOT access, your apk file is present on Windows desktop and you are on Lollipop or lower then,

Install adbd Insecure by ChainFire, launch it and tick the first case.

Why should you install adbd Insecure? -> to be able to  adb remount on production builds.
Then from CMD Shell type:
adb remount
adb push c:\users\username\desktop\yourapk.apk /system/app/
adb shell
chmod 644 /system/app/yourapk.apk
adb reboot

You can use Lucky Patcher to convert apps to system apps.

Open Lucky Patcher.
Select the app you want to move, then click Tools (if there is a dialog box that appears with a warning message, click Yes).
Click "Move to /system/app" (or "Move to /system/priv-app").

Another app that is also able to convert user apps to system apps is System app remover.
Note: Beware that Google Play Protect will warn about Lucky Patcher being harmful and will prevent you from installing it.

I had a similar problem with a few other apps. It's most likely not a problem with the root. I have Marshmallow 6.0.1. I used Link2SD.
Solution: after converting to a system app, you need to restart the phone, wait for a few minutes, and restart again. Do this 2-3 times then the app will appear.


text:
How can I flash gapps onto an unbranded, custom storage disk?
I want to flash the gapps package onto a custom storage disk. It is unbranded. It has Android 5.1 arm but no google apps (no google play, google play services, etc). I don't wish to root my phone. I have the gapps package (.zip file) for Android 5.1 arm installed.
I have looked into Heimdall (I have a mac and linux devices) but they both look like they are for Samsung devices, or maybe even Nexus ones. I've not found a single reliable tool that can flash the package on an unbranded storage disk. I would also like to know how I can get TWRP or CWM on this storage disk.
If I could get a whole step-by-step process of what to do, I will be extremely grateful.
tl;dr- I would like to know a step-by-step process of how to flash gapps onto a custom, unbranded storage disk. Please include details about which flashing software to use and how to get TWRP or CWM on this disk.
IMPORTANT: Please take into consideration that only mac and linux devices are accessible to me.
Thanks