ad hoc network in android I have Android 4.2.2, Nexus 4 and I would like to setup an adhoc network. Firstly I rooted the device, secondly I tried to create an adhoc network in Android phone: I create an adhoc network in an Android smartphone like below:

shell@android:/ # ip link set dev wlan0 down
shell@android:/ # iwconfig wlan0 mode ad-hoc
shell@android:/ # iwconfig wlan0 channel 6
shell@android:/ # iwconfig wlan0 essid 'Test1'
shell@android:/ # ip link set dev wlan0 up
shell@android:/ # ifconfig wlan0 192.168.65.129

when I typed iwconfig wlan0: the result is:

Qcom:802.11n ESSID:"Test1"
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 02:82:5F:C1:4B:C1
Bit Rate=0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off

Secondly, in my laptop, I could see "Test1", so I connected to "Test1" and I configured a static ip address 192.168.65.128. In this case, the smartphone created the ad hoc network and my laptop joined it, then I can ping from my laptop to mobile and vice-versa.

However,in other case when my laptop creates the ad hoc network and later in an Android mobile, I tried to join it :

shell@android:/ # iwconfig wlan0 mode ad-hoc
shell@android:/ # iwconfig wlan0 channel 6
shell@android:/ # iwconfig wlan0 essid 'Test1'

But, when I type iwconfig wlan0, ESSID is still off/any.

Qcom:802.11n ESSID:off/any
Mode:Ad-Hoc Frequency:2.437 GHz Cell: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off

It seems that an Android mobile can create an adhoc network but can not join an existing one. I found the same result when I tried to setup adhoc network between two Android mobiles. Can anybody tell me what is wrong here, and if there is any possible solution, I tried many methods to setup an adhoc network in Android, and only this method seems to work, but there's still something wrong that prevents an Android phone from joining an existing adhoc network.

As far as I understand your question, you have successfully created an adhoc network on your Nexus and your laptop is able to connect.
Now you want to create an adhoc network on your laptop and you want to connect your Nexus to it.
After doing some research, I've found out that Android does not work (well) with adhoc networks.
There are some custom ROMs which have enabled the Ad Hoc function.From what I've been reading, mako bb-8 and AOKP will be able to do Ad Hocs.I think CyanogenMod has also a modified wpa_supplicant to support Ad Hoc networks.
If you don't want to flash a custom ROM, you could try to rip the wpa_supplicant (from the same Android version you are using) from one of the custom ROMs mentioned before. You could also try to install WiFi Ad Hoc enabler for Android, which might work for you.If that doesn't work, you could try another method, which is harder. Check it out here.

I also found this, I don't think it'll work, but worth mentioning:
http://forum.xda-developers.com/showthread.php?t=1591207


Is it possible to read SMS with broken touch and disabled usb debug? I've just broken my touch screen, but there is an extremely important text message in my device. USB debug is disabled, and I can't enable it because touch is broken. :\
Is it possible to reach that SMS somehow? Could it be reachable via Google services somehow? The device is functional and is connected to internet.

If your device has a USB OTG port (My Xperia Z1 Compact and Nexus 7 do, and I believe most recent devices do) you may be in luck - get a USB OTG adapter (mine was from a pound shop - if your in the uk try Poundland) and a USB mouse - plug them in to your phone and you can then control it.

Its a bit of a faff at first but better than nothing.


What is 0x10DB21 error code in Kingoroot? I'm currently using android 6.0
And i wanted to root it
I downloaded kingoroot apk
I installed it clicked one click root and it stopped at 90% and then said failed to root error
0x10db21 what do i do?

The answer is simple:

Kingoroot does not work for Android 6

The vulnerability it uses for gaining root as been fixed in Android 6 and newer. Hence rooting will not work on those devices!

Cite from the site root-apk.kingoapp.com

  It perfectly covers Android 1.5 to 5.0 mainstream models from different manufacturers including Samsung, Google, HTC, Sony and else.

Hence before installing any third party app you should read the documentation before installing and running it.


Google search not working properly - logcat included Nexus 6 Android 7.1

I've been having an issue where I will hold the home button down to pull up search, tap on the search bar to bring up the keyboard, and within a few seconds the search bar clears itself and closes the keyboard.

I made a screen recording to show you the issue in action. The first instance I don't type anything, just wait, and it closes itself. The second time I starting typing and it happens again. So basically every time I open search I have to tap the search bar, wait for the keyboard to close, then tap the search bar again, then it works... until i need to search something else.

Here is the screen recording.

And here is a logcat of the crash.

12-03 10:01:36.449   824  1796 seems to be what it spits out when the keyboard actually closes.

Thanks in advance, this is driving me nuts.

It turns out that Nova Launcher is the culprit. Using another launcher fixed the issue for me.


Mark all messages as read in Gmail Using Gmail version 86.0.04240.198 on my Samsung Galaxy A30s with Android 10.
From the documentation we can read

You can't mark all messages as read from the Gmail app.

I know this is a task that can be done in a computer but that's not an option for me ATM.
I tried going to gmail.com and from there activate "Desktop mode" but I was getting a responsive view with less functionality.

The way I've solve it was to

Open Google Chrome.
Activate Desktop mode.
Navigate to Google.com.
Search for Gmail.

Click in the Gmail. In my case was the first item in the result list.
Once in Gmail, click in the select all button which then opens up a message saying to select all (note that the image from this step was taken after the one in step 7, that's why you don't see a number of unread messages in the Inbox which shows up slightly in red)

Click in that message to select all, then go to the three dots and "Mark as read". Once it's done, you'll get a snack bar in the bottom right informing it's finished.

Now there's no unread messages

Note: in my case then going to the Gmail app I could see that the emails were all marked as read even though the browser wasn't showing right away.


Screen Orientation not working automatically My Motorola Moto X screen orientation is not working automatically when I turn my phones in a different direction

Did You turn on Screen Rotation? Swipe from the top and press the top button. Click the Auto Rotation Option to Turn it on.


How do you disable "add icon to home screen" on Android Oreo? On Android Oreo, the option for "add icon to home screen" is no longer in the Play Store settings. How do you disable the option?

I've been looking all over the internet for an answer to this for a while. In hopes of alleviating other people's headache's, here's how to enable/disable automatically adding home screen icons of newly downloaded apps in the newly released Android Oreo.

You won't find the setting in the Play Store anymore, nor is it in the Google app settings, or the device Settings. Instead:

Hold on the home screen
Tap Settings
Toggle "Add icon to Home screen"
Rejoice in knowing you didn't search for this for over an hour

Note that this fix is confirmed for the default Android Oreo launcher, tested on the Pixel. Other launchers and devices may differ.

Credit goes to Reece Gale for posting his answer on Google+.


How do I prevent GPS location being enabled automatically on Android 8.0.0 The GPS is sporadically enabled on my phone without my consent or even a notification. I have to keep an eye on it and turn it off when I notice it's on. Is there a "global" setting I can use to prevent this or at least ensure I get a notification when it's about to be enabled?

automation as suggested in comment  seems to come close to what OP wants.

Many automation apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn. To understand how MacroDroid works and required settings,  my answer here

Your macro would look like this

Macro : GPS on Alert (name of macro )

Trigger: GPS enabled/disabled →*GPS enabled *

Actions:

Display Notification → Enter the desired text. I suggest you choose hour, minute and second to pinpoint the exact time
Speak text - enter the desired text

Constraints: None ( Macro runs always )

This will not tell you when it is about to be enabled but tells you after it is enabled.

Once you have the time stamp, use an app or other methods suggested in logging & logcat to try and pinpoint the app causing it (read their tag wiki's by clicking on learn more). Disable or uninstall such app(s)


What are the implications of doing fastboot erase modemst1? I installed a Cyanogenmod 12.1 snapshot on my Moto G 2014 when I got it, it previously has only had the stock ROM installed, no other custom ROMs. I soon discovered that the GPS wasn't working on Cyanogenmod, some searching quickly revealed that this is a known problem. Because I don't use GPS very often and because I haven't really needed it yet, it didn't really bother me too much and I was hoping it would get fixed in a future update. Today I discovered that there apparently is a fix for this issue, namely executing:

fastboot erase modemst1
fastboot erase modemst2

in bootloader mode. (Known issues with CM for the Moto G 2014) Apparently this erases 2 partitions, my question is, doesn't erasing these partitions have any implications? Wouldn't I remove the firmware of the modem? Don't I have to replace the contents of these partitions with some other image? The instructions in the XDA thread that the CM wiki page links to don't mention anything about the above. I am a bit reluctant to run these commands as my G 2014 has been working perfectly for months now and I've got everything set up, I'm not interested reflashing currently. I have already searched the web about this but I didn't find much, except for some guy with an Xiaomi device who did the same thing resulting in the phone saying the IMEI number was unknown.

I ended up taking the risk after all other "fix GPS" methods failed and I can report that it was successful and to my knowledge had no side effects, like the ones reported with other devices.


Birthdays and wedding anniversary dates I would like to know how to insert birthdays and wedding anniversary dates into contacts in my Android phone book.

Contrary to what another answer implies, you can't add any field you want when you tap the Add another field button in the stock contact editor. You can only add from a pre-defined list of fields. Unfortunately, the stock contact viewer and editor don't support custom fields.

The good news is that you can add birthdays and anniversaries, though it's not immediately obvious how, because they're not independent fields, they're categories of the Events field.

In the Add another field box, check Events and tap OK. You'll then have an Events field that works much like the Phone, Email, and Address fields: you can add multiple entries (by tapping the green plus sign), and for each one you can select the category from the adjacent drop-down list.

More good news is that you can add custom categories for events, just as you can for addresses and phone numbers: select Custom from the drop-down list, and enter your custom category. In this case you won't need to do that, though, because Birthday and Anniversary happen to be the two pre-defined event categories.


Can't adopt micro-sd card on Moto Z2 Force I have a new Moto Z2 Force, bought for the Qualcom Snapdragon 835 and the 6GB RAM, running Nougat 7.1.1. I also have a new Samsung 224GB U3 micro-SD card for it. That operates nicely as an exchangeable card.
I can't find a way to format the card as internal storage, or otherwise adopt it into the device's own storage. Searching for information about this, I'm finding a lot of postings on various forums that advise against adopting a card, because it often gives trouble.
Is adopting a large card as internal storage considered bad practice nowadays?

Moto removed the adoptable storage feature from their devices. It's not bad practice; I definitely like it. As for bad practice, I think it's a good thing, but it definitely requires more mindful usage of your device, which a lot of folks aren't used to.


Unable to control Nexus 5X with TeamViewer Quick Support/Host I would like to control my phone via PC. I tried TW Quick Support and Host, but I was only able to point (with blue pointer) not click and trigger an action.

I have a TW account that I used in Host application.

Does the device need to be rooted?

I have found a app called Vysor that has done the job.


Root Nook Color without removing Nook OS I have a Nook Color 1.3.0 and a Mac OS X computer. I have a microSD card with ClockworkMod and such for installing the Android OS, but I would like a solution that would allow me to root so that I don't need Honeycomb or ClockworkMod to install and run things from the Market. At the very least a terminal emulator would do. Can anybody help me out?

Have you considered running Android directly from the SD card? It runs great (just don't go cheap on the SD card), is surprisingly easy to set up (the hardest part for me was being patient for the Nook to finish its initial charging), and if you have any problems or change your mind, you just pop out the card and it's a bog-standard Nook again.


How can I connect to an android device using its hostname instead of its IP? I have 4.2 version.
I developed application which implements a webserver on the device. so If I want to connect to the device all I need to do is address its ip: http://192.168.10.x:8080.
I want to replace the IP with a predefined host name, just like 'computer name' in windows: http://android_device:8080.

I found that I need to use Netbios, but I dont know how to activate a service like that.

Is it possible? I dont mind rooting the device.

thanks!
Asaf

That's not an Android specific question, but rather general networking stuff. You need something to resolve the name. As the IP you've named points to a "local network", and if you want to connect from a single computer only, the easiest way to achieve this is making use of the Hosts file of your computer's OS. On Linux this is /etc/hosts, where you can simply add a line like this:

192.168.10.15 android_device

That's it. Syntax is the same on other OS's, just the location of the file might differ: see this section of the linked Wikipedia page for details.


How to re-enable apps using ADB? I got a samsung galaxy folder 2: https://www.samsung.com/hk_en/smartphones/galaxy-folder2-g165/
It runs Android 6.0.1
Anyways I am not new to ABD and have used it to uninstall system apps on my other phone (Samsung S10) with no problems. So when I got the folder 2 and started removing system apps using pm unistall -k --user 0 as I did with my other phone. Then I decided to remove the contacts app (com.android.contacts) because I installed google contacts.
Well apparently, in doing so that contacts app actually housed the phone app as well. So now I have no phone app on my phone. That's kind of a big deal.
How do I re enable the contacts app using ADB?
My device is not rooted and I don't want to root it. Also I know factory resetting should fix this, but I'd prefer not to do that either. Thanks.

Unfortunately there is no way on Android 6 (and even 7) to reinstall a system app uninstalled with adb shell pm uninstall PACKAGE.
The command adb shell cmd package install-existing PACKAGE can restore the uninstalled package but it has only been introduced with Android 8.0.
On these older android versions, it is safer to use :
adb shell am force-stop PACKAGE && pm disable-user PACKAGE && pm clear PACKAGE

so you can revert it if necessary :
adb shell pm enable PACKAGE

Note: PACKAGE everywhere above means package name of the app.


Could someone have installed a ROM virus on my Xperia XA? I posted this question over at XDA forum but I hope someone here may be able to help.

I recently went on vacation and left my Xperia XA F3111 at home. Someone had access to it for over 2 weeks and installed some spyware on it.

When I found out I factory reset the phone but I am worried he may have flashed the phone with a malware-infested ROM which will survive a reset. He had access to the phone for a long time and I am sure he knows someone who knows how to hack phones.

My phone settings say "Bootloader unlock allowed = No" which I believe (rightly or wrongly) means he could not root the phone or install a custom ROM?

Anyway, I am hoping someone can tell me if there was any way he could have bypassed this setting, unlocked the bootloader, flashed an infested ROM and re-locked the bootloader?

If this is possible, is there a guide that would help me do the same thing and re-flash the phone with a clean stock Sony ROM?

It's a nice phone, but at the moment I can't take the risk that it has been poisoned so it may well be heading for the recycle bin.

If the settings say that bootloader unlocking is not allowed, it is impossible to unlock the bootloader, even if you wanted to. If you want to make extra sure your device is not compromised, dial *#*#7378423#*#*, go 'Service Test', 'Security' and check if all lines say [Key Ok].


Google Calendar notification are silent The notification show up on time but since yesterday the phone remains silent. Before there was a little sound with the notifcation.

I have checked the volume of the phone, the blocking mode is off, the notifcation sound in settings/sound and the settings in Google Calendar.
There are all set corrctly but still my notification are silent.

Notifications from other apps still make the sound Calenda should do.

Any idea how to solve this?

phone: samsung S3, KitKat, rooted

The only way I found was to uninstall Google Calendar and to reinstall it.
Be sure that your event are sync with Google so that you don't loose any data.


How is it that I don't need to enter my password to decrypt my phone? I understand that my Android phone is encrypted, however I never input any password to decrypt the phone. If the key is stored in some hardware component but is automatically retrieved every time my phone boots, how is it secured?

Edit: I do have to unlock my phone, but that's after it's booted. Doesn't seem logical.

My phone clearly states its encrypted:

The data is encrypted by default, but if you don't have a pin, or code to unlock your phone, then it's obviously not secure at all.

If you set a pin, password, or pattern lock etc. then you will need to provide this when the phone boots, to decrypt the drive.


how to see the hidden files of vault application in memory card I had stored my photos in the previous version of vault and those photos were in the memory card. The phone is not booting now and had to be replaced. In the new phone when i installed Vault its a new version and i see only coupld of videos and none of the photos are visible. how to retract those photos?

You can reinstall the app, but make sure you use the same password you used for the previous installation. This will automatically show you your files. If you reinstall the app and use a different password, you will only have access to newly hidden files rather than those and the old hidden files.


App force opens Play Store when I try to open Chrome I downloaded and installed GO Launcher and there was an icon preinstalled with it. I clicked on it once accidentally, and it opened in the Play Store. Now when I try to use Chrome anytime, it force opens the Play Store right away to Spartan Wars. I can't use Chrome at all now and this is driving me nuts.

I'd like to fix this issue without having to uninstall GO Launcher, since I just it set up. In the meantime, I downloaded Firefox so I can ask this question.

I also installed the game then uninstalled it to no avail. Could someone explain why and how to prevent it?

From OP themself:

I got it fixed although I'm not sure which one of these things did the trick.

I went into the Application Manager and scrolled across to "All"

I then scrolled down Google Play Store and cleared the data.

Next I scrolled down to Chrome, I force stopped it, cleared the data, then turned it off and then back on.

Doing that seemed to do the trick, although I'm not sure which one of those steps was the right one.


Cannot install or update apps on LG G2x My signficant other and I each have a T-Mobile-branded LG G2X P999.  An over-the-air update was recently released that upgrades the OS from 2.3.3 to 2.3.4.  She got the OTA update; I have not received it yet (and, given this problem, will refuse it until a solution is found).  Since the update, she can no longer install or update apps.  She gets the error (when updating Google Maps, for instance):

  Error downloading "Maps".  There is insufficient space on the device.

This is happening even after uninstalling some apps (which can no longer be reinstalled due to the error.)  Internal storage has 248 MB used and 1.2 GB free.  The SD card has 603 MB used and 4.6 GB free.

Some people on the T-Mobile support discussion board discuss a hard reset being a solution for this issue.  I would prefer to avoid that solution if possible, simply because it is a hassle and because we do not know what data she might end up losing.

How can she fix this issue?  Is there a way to fix it besides a hard reset?

I had the same problem with my wife's phone (LG G2x P999). Unfortunately you're going to have to master reset....

If it doesn't work from the settings, then reset manually (hold power button and volume down till you see the Android guy then let go) after that your phone will be reset and the downloading issue will stop. Read through these steps prior to resetting to ensure you don't lose anything you don't wanna....hope this helped you

http://support.t-mobile.com/docs/DOC-2521
should be the 5th link down where it says preparing for master reset


Why does bad Busybox installation in /system/xbin/ cause problems? I've got familiar with Android not long ago. Having almost no experience, I carelessly installed Busybox, and after that the system started resetting itself after each power-off. It also didn't allow to install software from internal storage anymore saying that there was no space.

Luckily, this question helped me out. Quite sceptical at first, I installed a file manager from external USB and moved busybox from /system/xbin/ to /system/bin/, and surprisingly, the problem was gone.

But could anyone tell why busybox executable placed in xbin was causing these problems?

Well, don´t know a thing about android, but I have read about other people with that problem installing Busybox.
One of them said that some components of Busybox were already installed in his /system/xbin, so probably some phones comes with files in that path that Busybox overwrites, making the phone unstable or bricked.

You should search info about installing busybox in your device before installing it.


Install Ginger Yoshi 1.4 on HTC Magic 32a, which radio do I need? My HTC Magic 32a is actually running CyanogenMod 6.1 and I'd like to switch to latest GingerYoshi 1.4 with GingerBread.

I have SPL 1.33.2010
radio 3.22.20.17

The reason I want to change is because with my sim card, cmmod seems to have problems while everything was fine when I was running Original 1.5+Sense (with radio 6.35).

Now the question, in this xda thread about installing GingerYoshi 1.4, they say:

  if you are on 32a new radio then download the ginger yoshi 32a new radio just flash 32a new radio

What do they mean by "new radio", can I just flash back to 1.5+Sense+6.35 with RUU and then directly flash GingerYoshi over new 6.35 radio (I believe the phone would work somewhat better with a newer radio, specially regarding problems with my sim)?

Thanks

I now have GingerYoshi 1.5 running on my HTC Magic 32a, so I'll answer my own question and explain how it went.

As for the radio 6.35, answer is YES, you can use it with the GingerYoshi for 32a new radio.

Here is how I swithed from 2.2.1 CM6.1 radio 3.22 to 2.3.5 GingerYoshi 1.5 radio 6.35

1) I reverted my HTC magic back to the stock rom 1.5 + sense, this to simply revert to the new 6.35 radio.
I did the update by connecting the phone to usb and running the RUU
RUU_Sapphire_HTC_Europe_3.05.401.1_test_signed_NoDriver.exe

2) Then I had to reinstall a recovery, as we have radio 6.35 we need a Hero recovery, that is amonRa 1.6.2 for hero (the 1.7.0 wont work with magic)

3) I flashed 1.76.2007 SPL

At this point only thing left is to flash GingerYoshi.
From recovery, do a full wipe.
(I didn't care about having an ext partition, so I left my sdcard untouched)

4) Flashing "ginger yoshi 1.5 new radio 32a.zip" from recovery

following install procedure, answering the questions in order:
- no ext
- zeam launcher
- no swap on ext
- big density

REBOOT:
new HTC logo with hiding bugdroid

Enjoy GingerYoshi 1.5 and Android 2.3.5, so far everything seems to be working fine, and no more troubles with my simcard. Quadrant now gives 387 instead of 299 with CM6.1 :-)


Launcher stops working when scrolling through widgets I'm using Android 4.4.2 on a 2013 Moto X. Every time I scroll through my apps and then to my widgets, the launcher stops and gives me the message:

  Unfortunately launcher has stopped

I tried restarting the phone but that didn't work.

I'm pretty sure it is a launcher problem, therefore I recommend you download a different launcher. I love Nova launcher but you can download others per your preference, for example themer, Next launcher, Google now launcher, etc...


Received messages are not showing names of contacts on HTC Desire S I just bought a new HTC Desire S (so no custom ROM has been installed or rooting done). Everything else seems to be working fine, except in messages the names of at least one contact are not displayed. This number happens to be in my contact list with the proper details and linked with a facebook contact. Even after copy-pasting the number from the received message onto the contact (which has only one number btw), the messages app refuses to show the name. What should I do?

http://forums.androidcentral.com/t-inspire-4g/110483-phone-number-instead-contact-name.html

HTC is aware of the issue but there is no true fix for it yet. Anything in that link is temporary, but it's insightful. HTC should be working on a fix.


Install Stock Rom on dead screen phone I am using Iball Andi 4.5 K6 (Android 4.4). Well my phone doesn't have OTG support but has root access. While deleting some bloatware apps I deleted some apps which has made the screen disabled(touch is not working). Hence I decided to flash the ROM. I was able to open the recovery but the screen was not working so I was not able to flash the ROM.But then I left the phone for about an year.
Now I am not able to go to the recovery since my volume buttons seems to be not working. Hence I tried connecting my phone to laptop and tried to go to recovery or fastboot using adb commands but it didn't worked as my USB Debuging options is turned OFF. Hence,

I cannot go to recovery / fastboot manually.
I cannot make adb commands work until my USB Debugging is turned ON, and my phone doesn't support OTG so that's not an option.
My screen is disabled. Only power on button is working

So is there any way thorugh which I can completely format whole phone and install the Recovery and ROM without using screen.

Spflash tool is supported for your device. Thus you won't need to turn on your phone. You'll first have to install the drivers for your device on PC. Then download the stock ROM for your device. Then remove the battery and flash via spflash tool.

This might help you: http://www.gogorapid.com/flash-stock-rom-iball-andi-4-5-k6/


Google Play Music Icon Is Incorrect I was adding songs into my Google Play Music on my Nexus 5X and noticed something: The song icon is incorrect. Look at the following picture:

As you can see, I imported the song "Faded", but the icon is the cover of another song#, which is incorrect.

# The icon is correct on my Win7

Note: Here's what I've done so far

Rebooted my Nexus 5X
Re-downloaded the music for serval times
Cleared the Google Play Music cache
Cleared the Google Play Music data

Please help me fix this issue, any help will be appreciated.

A simple, although superficial, solution would be to manually change the cover cover image (download it using a web browser and set it as the album cover). The following link has instructions on how to edit metadata and album art.
https://support.google.com/googleplay/answer/1100174?hl=en

If the problem persists with other songs in the future, you could try using a file managing app to solve the issue by searching for and deleting the image you are seeing (might be a leftover thumbnail somewhere or in the Google Play Music folder).


how to make calls from my cell number, while using my laptop as the "headset"? I want to be able to dial out from my laptop (a macbook pro), using my laptop headset to communicate and my laptop to initiate the call, however I want the number to be the same as my  cell phone's (Galaxy S4). I can get almost exactly what I want from Gmail / Hangouts, however the call does not show up as my cellphone (a number friends and family recognize) but instead as a number they do not recognize.

Is there any way to do this?

VoiceMac makes calls and SMSes via Google Voice. You can choose one of a GV number - which you keep, so your friends & family can recognize it - or you can port your existing phone number into GV. The incoming caller ID will show your GV number (but no name).

Another option is to use Skype and validate your cell# as your Skype caller ID.


Micromax A88 screen flashes white after booting in recovery mode I tried rooting my Android phone (Micromax A88) using Kingo Root for Windows. After rooting, I got root permissions, but recovery mode got corrupted.

After booting in recovery, screen just flashes white and device turns off. I have tried ROM manager and also Mobileuncle MTK Tools using Recovery Image but no luck.

How should I fix this issue?

Flash the Stock ROM using SP Flash Tool. If you go to Service Center, they'll charge unnecessary !

You need to download SP Flash Tool, Drivers for MMX A88 and the Stock ROM of the same.

Install Drivers in your PC and extract the Stock ROM, which will be incompressed file format.

Follow the detailed procedure here


Removing or bypassing FRP (Factory Reset Protection) on Marshmallow (6.0) I own an Alcatel VDF 300 which was factory reset but after reboot, the phone stuck at the setup screen, can't pass the Wi-Fi selection step, where it searches acount informations on the server. It sticks there even after hours of searching...

I searched in the Internet and found solutions for bypassing the FRP but none worked.
- The one using an OTG USB drive didn't work because it seems like it is disabled
- The one bringing the browser to connect to a site and install the Dev Settings so that I can reset the phone from the Settings (works on Samsung though) by exploiting the keyboard didn't worked neither simply because there is no way to do so.

So I'm here asking if is there a way to bypass FRP on Marshmallow,. does flashing a new rom removes the FRP?

PS: The phone is an MTK (MT6585 - I guess) and runs Android Marshmallow (6.0). I've consulted How to bypass “Verify your account” (Factory Reset Protection) already, but none of those methods work.

SOLVED!

I don't know if this solution will work on a different phone model, but let me explain what I did:
First I tried to get the phone being detected by the computer, so I downloaded the MTK drivers (preloader VCOM drivers) and plugged the phone in META mode with MAUI META (a tool that connects mtk to META mode and do many other interesting stuffs, repairing IMEI for example). Then downloaded ADB (the best I found is "Minimal ADB and Fastboot")
With that i could connect to the phone and hidden the setup wizar. this post on reddit helped me with the commands.
From the command line:

adb shell
 cd /system/priv-app/

ls (to list all installed applications)
then:

pm hide <package name>

You would list all the packages with pm list packages first if you don't know the package name .

An alternative way is to use a software called Debloater


How to know the MAC and IP of my device? The screen shot of my device looks like this:

Screenshot (click image to enlarge)

Could anyone help me to know the MAC and IP Addresses please? My device runs Android ICS.

You can get the MAC address from Settings > About > Hardware Information.
IP address will only appear on the page shown on your screenshot once you have connected to the wifi dhcp server.
Another way to find out IP is to use the browser and go to the website www.whatsmyip.org/ - this will tell you the address your router is on however, and not your local (wifi) network IP.


Are Exchange server policies permanent? My company support Android on their Exchange server, but they have policies (lockout, and password policies) that get applied to my phone. Are these permanent, or can they be removed later if I stop using the service?

No, they are not. For as long as you have the account registered in your email app, the policies are applied, however, if you remove the email account then the policies will no-longer be enforced.

The app is given a "device administrator" status (you can see any apps which have this in "Security" in your settings), and you can revoke that at any time. Revoking it, will of course, cause your email to stop working.


Samsung Galaxy Ace GT-S5830 neither goes into Download Mode nor RAM Dump Mode My Samsung Galaxy Ace GT-S5830 has just “hung” during the start-up screen with the white text “Samsung www.samsung.com" on a black background.

I have tried to restart it and to take the battery out / put it in again but the result is the same. It neither goes into Download Mode (vol down+menu+power button) nor RAM Dump Mode (vol up+power button).

Does anyone have any suggestions or advice on how to fix this?

Plug it into your computer and see if by some offshoot chance you have adb available.  If so, run a adb -d reboot-bootloader to reboot into download mode.

If that's unavailable, you are SOL and will have to have Samsung repair it.  Honestly, if it's hard bricked, you're better off buying a new phone...


Does the Asus Transformer Prime GPS extension kit have a USB pass thru to charge the tablet As noted Asus is offering a GPS Extension Kit for the Asus Tranformer Prime TF201.  Does the module has a pass thru USB multipin connector to allow charging from the USB cable or does one have to remove the module to charge the tablet?

No, it does not have any kind of pass through. You cannot charge or dock the Prime when the GPS dongle is plugged in.

Here's a YouTube unboxing that provides a good overview of its physical design.


How to convert .img to .tar to flash using Samsung odin tool? I have downloaded touch recovery from clockworkmod website. How do I flash downloaded .img file using Odin / Mobile Odin tool?

Quoting the answer from XDA Forum.

In linux or windows with cygwin.

$ tar -H ustar -c recovery.img > recovery.tar
$ md5sum -t recovery.tar >> recovery.tar
$ mv recovery.tar recovery.tar.md5


Nexus 5 front camera not working Yesterday my front camera on Nexus 5 stopped working. It doesn't show up in any app (& there's a bug in the new Google camera app - I can switch camera only if the HDR+ is on, but then it's stuck on "Can't connect to camera'). I'm out of options, I already tried: deleting cash, reinstalling camera, safe mode, factory reset... - nothing worked. Anybody got another idea how to get it working? Thanks in advance

Threads I found:
https://productforums.google.com/forum/#!topic/nexus/6RVMvPaF80s
https://productforums.google.com/forum/#!topic/nexus/MATebxlFYyA

I found a solution:
If you don't have a RMA option like me, it's possible it can be fixed with just disconnecting and reconnecting the front facing camera.

Try deleting cash, reinstalling camera, safe mode, factory reset, etc. before doing this.
Proceed at your own risk!

As shown in this video: https://www.youtube.com/watch?v=OPuCmfhzgbg)

Remove the back of the phone (beginning of the video).
Unscrew the top plastic plate (7:15 - 8:10).
Disconnect and reconnect front-facing camera flex cable (13:43 - 13:57).
Put everything back together and you're done.

Viola!
I hope it helps someone.

UPDATE: It stopped working again and this didn't help anymore. I had to buy a spare part and according to the video above replace it. The repair was succesful though.


The long SMS is converted to MMS and shows sending. How do I make sure it is sent? I typed a long message and it was converted to a multimedia message. When I press the send button it shows "sending" but never shows "sent". How do I know it has been sent or not?

It hasn't. The status would change if the message went through. Now you'll have to check you MMS settings from Messaging ->menu-> Settings -> Multimedia message settings and your MMS APN from Settings -> Wireless -> Mobile networks -> Access point names (or Settings -> More.. -> Mobile networks -> Access point names in newer versions).

After you have corrected these and verified that your carrier/operator has enabled MMS on your account, the message should be sent. Or you have to long-press it and select Retry.


Change file (pictures, videos) timestamp from filename When moving files around tru different dirs and across PC / smartphone, timestamp for last modified date usually get reset to the very datetime of move / copy operation. This lead to files being non-chronologically sorted in some apps (Gallery), quite annoying especially for Images and Videos.

Usually these kind of files follows the naming convention of IMG_YYYYMMDD_HHMMSS.jpg for Images and VID_YYYYMMDD_HHMMSS.mp4 for Videos.
So I thought about combining touch and extracting character from filenames, the timestamp being in effect part of the filename itself.

I found this script at Ephestione's HQ
for i in IMG*.jpg; do busybox touch -t ${i:4:8}${i:13:4}.${i:17:2} $i; done
but works in terminal only. I tried to make a script out of it but it doesn't work (see below)

#!/system/bin/sh
#change timestamp for images filename IMG_YYYYMMDD_HHMMSS.jpg
for i in IMG_*.jpg
do
    touch -t ${i:4:8}${i:13:4}.${i:17:2} $i
done

#change timestamp for whatsapp images IMG-YYYYMMDD-WAnnnn.jpg
for i in IMG-*WA*.jpg
do
    touch -t ${i:4:8}1234 $i
done

#change timestamp for videos filename VID_YYYYMMDD_HHMMSS.mp4
for i in VID_*.jpg
do
    touch -t ${i:4:8}${i:13:4}.${i:17:2} $i
done

#change timestamp for whatsapp videos IMG-YYYYMMDD-WAnnnn.mp4
for i in VID-*WA*.mp4
do
    touch -t ${i:4:8}1234 $i
done

Ideally I'd like to put a script like this in the top level DCIM or Pictures directory and have it process all the Images and Videos in the subdirs. Of course I'm rooted.

Remove from the script the .${i:17:2} in for loop.

It should be:

#!/system/bin/sh
#change timestamp for images filename IMG_YYYYMMDD_HHMMSS.jpg
for i in IMG_*.jpg
do
    touch -t ${i:4:8}${i:13:4} $i
done

#change timestamp for whatsapp images IMG-YYYYMMDD-WAnnnn.jpg
for i in IMG-*WA*.jpg
do
    touch -t ${i:4:8}1234 $i
done

#change timestamp for videos filename VID_YYYYMMDD_HHMMSS.mp4
for i in VID_*.jpg
do
    touch -t ${i:4:8}${i:13:4} $i
done

#change timestamp for whatsapp videos IMG-YYYYMMDD-WAnnnn.mp4
for i in VID-*WA*.mp4
do
    touch -t ${i:4:8}1234 $i
done

Note that the images and videos from WhatsApp according to your script have the same time 12:34.

Edit: To also go through subdirectories, change the for loops as followed:

for i in `find . -type f -name "IMG_*..jpg"`
do

j=`basename $i`

echo $j

touch -t ${j:4:8}${j:13:4} $i

done

Explanation:

find . -type f -name ".mp5"`: find files ( -type t) whose names contains " IMG_.jpg" ( -name "IMG_*.jpg") in the current directory ( . ) and subdirectories.

j= basename $i : Get the filename (not the entire path), and assign it to j.

touch -t ${j:4:8}${j:13:4} $i : Change  the file's modification time based on the date and time retrieved from ${j:4:8}${j:13:4} .


Moto G2 is not starting I have MOTO g2. Yesterday night, I was uninstalling some apps to free up the memory and by mistake I disabled few google apps and force stopped google play. Then, the menu was not started and hence I switched off mobile.

After switching on, my mobile was displaying optimizing app x of x and after all apps were optimized, it again restarted and again this optimizing app came up. This is like a loop. I can't make it stop. I went into recovery mode and cleared cache, but it didn't work.

Any suggestions?

Is your phone rooted / bootloader unlocked? If it is, then you can do an adb pull of your entire internal storage so that you may still be able to retrieve all your data intact.

A sure shot way of fixing this would be to factory reset your phone via the stock recovery, but at the moment, that might be a rather extreme step.

The steps have been listed in moto's official help page

External Reset (Lollipop)

1. With the phone powered off, press and hold the Volume Down button and the Power button at the same time until the device turns on. You will see the word "Start" with an arrow around it.

2. Press the Volume Down button twice to highlight "Recovery mode"

3. Press the Volume Up button to restart into Recovery mode. You'll see an image of an Android robot with a red exclamation mark and the words "No command."

4. While holding down the Power button, press the Volume Up button.

5. Use the volume buttons to scroll to "wipe data/factory reset" and press the Power button to select it.

6. Scroll down to "Yes - erase all user data" and press the Power button to select it.


How can I collect repeated contact entries under one call log entry? I'm running Cyanogen 5.0.8 and previously had stock 1.2 before this. On both releases I'd like is to be able to able to collect repeated call log entries in only one single entry reflecting last activity, whether it is "received", "missed", or "dialed". When the entry is to be tapped all activities related to the contact would be shown.

Is any one familiar with such feature and how can I achieve it on my phone?

CyanogenMod 6 does this feature because it is native to Android 2.2.  See this CyanogenMod issue report for more details.


Bind action to hardware key combination I know that long-pressing power + volume down hardware buttons for a second or so on any screen takes a screenshot - I was hoping to bind an action to the power + volume up combination (specifically I was hoping to make it take a photo without having to open the camera app).

I've looked at a few apps that I thought might do it but they all seem to only allow for remapping of individual hardware buttons/long-presses of individual buttons, not assigning an action to a hardware key combination like this.

I'm currently using cyanogenmod 11 with xposed installed, so an answer requiring either or both would work (although I didn't see any options in cyanogen or modules in xposed that would do this).

I've come close but I still can't launch an action at the same time when two keys are pressed in combination like the way we do for taking a screenshot. Anyhow, you would need:

AutoInput (for Android 4.3 and above) with Tasker, both are/have paid/7-day full trial, or
Xposed Additions (needs root access) with Tasker  to make key combination(s).

The inconvenience in this solution is that unlike pressing both keys at the same time you would have to do it in sequence. That is, press/hold Vol Up followed by Power button. The timing between these key-presses is flexible.

Single key-press

Use AutoInput with Tasker if you want to launch your action with single  key presses combination i.e. only press a key one time but don't want to long-press the keys.

In Tasker create an Event based profile from Plugin →  AutoInput →  Key → Configuration:

Keys: Volume Up
Key Action: Key Down

Create a task in it named "AutoInput Volume Up" and create following actions in it:

Variable → Variable Set:

Name: %Kset
To: 1

Task → Wait → Seconds: 1
Variable → Variable Set:

Name: %Kset
To: 0

Explanation: When the single Vol Up press is detected the custom variable %Kset would be initialized to a custom value 1 and then we would wait for one second (under this one second you would've to press the Power key). We're then initializing the variable to 0 because our solution demands it, otherwise, our main task of capturing a photo would be executed just by  a single press of Power key.
Repeat step 1 but select Power key instead of Volume Up key.
Create a task in it named "AutoInput Power" and create following actions in it:

Task → If → Condition: %Kset eq 1
Plugin → AutoInput  → Modes:

Configuration:

Key Suppress: Enable
Keys: Power

Timeout: None

Optional action -- Alert → Flash → Text: Commencing launch
Media → Take Photo → customize it as per your needs.
Repeat sub-step 2 of step 4 but do Key Suppress: Disable.
Optional action -- Task → Else.
Optional action -- Alert → Flash → Text: Psst: You're too late Jim!

Explanation:

In our first action we are checking whether the variable %Kset is set to 1 and if yes then the second action would block Power button press from getting passed to system since normally Power key-press would put the device to sleep and lock the screen.
Optionally flash a custom toast signalling that combination was successful.
Let the Tasker capture the image using the settings provided in that action.
Disable Power key suppress since otherwise, you would never be able to use that button normally, as long as key suppress is not explicitly disabled  or AutoInput's accessibility is running.
Else statement is optional but could come handy since in the beginning your consecutive key-presses may not be in coordination so the custom toast in next action would hint you that the combination wasn't successful.

That's it. Go to Home screen or to any non-Tasker app, press the Vol Up key and then the Power key under a time period of one second (don't worry, you would get a hang of it, or else, change the wait period) and you would see Tasker opening its custom interface, a picture would be captured automatically and you would be taken back to what you're originally doing.

Hurray!

Long key-press

Some people may not like single pressing both the keys since they are not habitual or may feel odd to use them in that coordination. In that case, provided that you've root access and Xposed Framework installed, you can use Xposed Additions to set long key-press actions for your keys.

For custom action to be set to those keys we would need Tasker. Create the two tasks named "AutoInput Volume Up" and "AutoInput Power" explicitly in Tasker, only if you didn't follow Single key-press section.

In that app go to Button → set Long press delay time → Add new key → tap Vol Up key → select the new key entry.
Tap Add new Condition  → Screen On → → select the new entry → check Long Press and tap on that entry  → scroll down to Shortcut → Task Shortcut → AutoInput Volume Up.
Repeat step 1 but do it for Power key.
Repeat step 2 but select AutoInput Power under Task Shortcut.

Whenever Xposed Additions is enabled and activated in Xposed Framework, on any long-press of a button/key set under that app, you would feel a slight vibration. That vibration would help immensely to know when to release the first key and long-press the other key.

Try it because it's fun.


How to disable pin/pattern lock in android device I am not sure this is the right place to ask this question.? I have enabled pattern lock in my android device. Just for curiosity I am trying to disable and keep only swipe to unlock option but I can't do that. Is there a way I can disable these patter/pin lock in device?

Thanks

This is the right place, but it seams easier for people to help if they know your device as pretty much every settings screen is different for every device manufacturer.

For instance in my G4 I can:

Go to Settings
Go to Display
Go to Lock screen
Select from (None, Swipe, Pattern, Pin, Password)

As it seams None is disabled for you, I'm guessing you had an app installed that required an Administrative rights.
Go to settings -> General -> Security -> Phone administrators -> Remove the app that made you set the screen lock from the administrators list
(Or if it was a certificate from an app, go to Certificate Management and clear credentials)


HTC One recommended Cyanogenmod ROM? I have HTC One (model PN07100 - 801n) which I've unlocked and rooted. However I'm having an issue with booting Cyanogenmod, and the boot screen seems to loop endlessly.  At my last attempt I left for half an hour. I'm using TWRP to install the ROMs, and doing a cache/dalvik cache clean before attempting a reboot.

The Cyanogenmod website lists many roms (not sure which ones apply to my model) and I've tried two;

m7tmo & m7ul.

cm-10.1.3-RC2-m7tmo
cm-10.1.3-RC2-m7ul

NB: I'm on T-mobile but T-mobile in the UK.

Go here and follow the steps: Official CyanogenMod thread for HTC One

Download latest version from here: Official CyanogenMod downloads for HTC One

Regarding your problem, getting stuck in a bootloop may mean that you forgot to flash the kernel(boot.img) or didn't flash it properly. Do that again.


Is there a way to pass keyboard or joystick input to a phone through a computer? I use my phone to emulate old games, but using the touch screen for input hurts my fingers and gives me cramps.

Is there a way for me to connect my phone to a computer then pass input from a keyboard or a joystick attached to the computer as if I had connected them directly to the phone?

Yes.

This app is open source (but old and limited in features), provides a web interface to use in your computer browser over the same (W)LAN: https://play.google.com/store/apps/details?id=com.marcosdiez.keyboard.latin

There's other apps to remote control your phone that are more capable (but not all are open source);

https://play.google.com/store/apps/details?id=com.sand.airdroid


How to send few specific contacts to my old basic phone? I am having a Moto G and Nexus 7 (2012, WiFi only) devices which have my contacts synced with my Google account.

My Moto G suffered a hardware issue because of which I am using a very basic phone for my calling needs. I have given the Moto G for service and it would take a week for them to fix.

My basic replacement phone (Nokia 1800) does not have Bluetooth, no WiFi, No packet data support. Since my SIM and the new phones are devoid of any contacts,I could not see who is calling me and to make calls, I resorted to pen and paper method.

I am just wondering whether there could be any means of sending few of my contacts from my Google account to the SIM via SMS.

Another way I could try is to use someone else Android phone to access my google account and copy selected to my SIM. But I see that's too much of trouble to others as they might not be willing to lend.

Here is a relatively simple description of the desired process:

Download your contacts from Google by following the simple instructions here
Open your e-mail program and start a new e-mail message.
Enter the cell phone number in the To: box using the format number@teleflip.com, where "number" is the phone number of the cell phone to which you're sending the message. For example, to send a text message to cell phone 123-456-7890, enter 1234567890@teleflip.com.(in this case you want to enter your own cell number) Please see source for more information
Type a message of up to 160 characters in the message box and then click Send (in this case, attempt to attach the contacts file that you exported from your Google account instead of a message!) .
Congratulations! Your message will shortly appear on the cell phone.
Hope this helps! Good luck


No app icons on home screen for newly installed apps in Galaxy Tab S 10.5 My Samsung Galaxy Tab S 10.5 running Android 4.4.2 is not creating app icons for newly installed apps, I have checked the settings in Play Store, and they are correct.  What's wrong, and how do I correct it?

Have you checked to see if your tablet started a new homepage?  I have a SGT-S 8.6" Wi-fi (T-700). When I started using mine I noticed that it will put new icons on a new page even when there is room on the first page.

On your homepage; bottom center, above the app tray symbol (circled dots), there are dots in a row indicating which home page you are currently using and how many pages there are.  If you are using the Google Now launcher it's page will also have it's own dot to the left off the one you are on.  If there is another dot just swipe left to go to the next page.  Now you can drag your new icon to your homepage and drop it where you want.  You might want to check into grouping your icons into folders.
Here it's a link to the manuel:
http://www.samsung.com/us/business/support/mobile
hope this helps!


How do I control my second Android tablet mouse? I have two Android tablet devices, and I want to use the first device to control the second device. The first device should act just like a keyboard and mouse. But I can't find the solution to do this. I am using Android 2.2, and the Android OS have the mouse cursor.

Install DroidMote Server on the one you want to be controlled and DroidMote Client on the one with which you want to do the controlling.


Is there an Android app that scans a device for vulnerability issues? Is there an application that scan the phone or the phone image searching for vulnerability issues?
In the internet there are several tools that make Network scanning, but I found nothing specific for Android.
Any ideas please comment, I'll be very grateful.

Aside from open ports that a network scanner would find, you may also be vulnerable to certain local exploits. The somewhat recently released X-Ray app is designed to check for a number of known vulnerabilities (though it is not capable of fixing them - you'd need an updated version of Android for that).


Can I use an Android One device without a Google account? I wish to buy an Android One device and install only apps from F-Droid. I don't own a Google account and don't wish to register. I don't wish to install LineageOS or other alternative firmware.
Is it possible to use Android One device without a Google account?
What are the restrictions (without Google account) except that i can't use Google cloud services and Play Store? For both there are alternatives.

You need to register with Google

I had bought two Android MiA1 one phones , one for me and one for my son, a couple of years ago. I registered with Google account on my phone and got security updates and Android version update. On my son's phone , there were no updates of any kind till he came a few days later and activated Google sign in. It was connected to data (his spare SIM)
Android One wiki says the device needs to have Google Services intact. It doesn't mention Play Store explicitly but logically if the core service is missing, it will not work.
Robert, in comments pointed out another important point- of security updates being pushed through Play Store, and likely these won't be available without registering.
USP of Android one is low cost devices with timely updates, If you can't get updates and you don't want to install a custom ROM, your plan isn't going to help


Is possible to open and display both front and back cameras simultaneously? Does anyone know if it is possible to open and display both front and back cameras simultaneously?
Any suggestions or references will be appreciated

Please refer to these two answers https://stackoverflow.com/questions/30377081/access-both-back-and-front-cameras-simultaneously and https://stackoverflow.com/questions/51227768/how-to-save-front-and-back-camera-footage-in-the-same-file-after-being-recorded

According to the first answer, most often the android phone do not have enough hardware resources to have both camera working at the same time.

However, this is quite old answer and these days phones come with much better hardware support. You can try opening front camera while the rear camera is in action.

Hope this helps.


Is there a way use an RDP to configure a continuous offset from GPS calculations? Is there any way to configure a location offset in such a way that my phone's GPS data would still be used to set a location, but an adjustment value would be applied to the base value? (e.g. all values adjusted 6.5m SW). Two cases where this would be useful are when using programs that have base maps with bogus offset data, but you want your phone to think it's in the right place on top of the bogus data. Also, sometimes the coordinates calculated from the GPS system on a given day are just simply wrong, and usually on a given day they are wrong by a fairly fixed amount. Rather that spending the entire day with my phone marking me 30m north of where I actually am, I'd like to correct the values automatically based on a known RDP location.

Ideally I would like a way to 'zero' my GPS by calculating an offset based on my current location being a set of known coordinates, then allow the GPS to adjust my location based on that. I would enter "I am currently at X", at which point it would figure out that number is 4 meters off of the GPS readout, and thereafter sets my location to be always 4m offset.

I realize there are lots of programs to set a mock location of my choice and even ones to follow recorded routes. These sort of things that entirely replace the output of the GPS with fixed or otherwise pre-programmed output are not what I'm looking for here. If it matters, my devices are all rooted and running CyanogenMod 11 M2 so root only solutions are acceptable, although if there is a non root way to do this that would be good to note.

Those offsets are normally used in differential gps. A fix point (station) knows it exact location (from manual measurments), calculates from the gps data the requred offset for correction and send this (quasi constant) offset (ex. 2.5m SW) to you.
The  assumption is that if you are close to this station the atomospheric error (=offset) is valid also for your position in some distance.

Im not too familiar with android, but you could send manipulated D-GPS data maybe?

For radio those are send with RTCM (Radio Technical Commission for Maritime Services), (you can get down to 2cm accuracy) - for mobile phones you need to stitch to Ntrip (Networked Transport of RTCM via Internet Protocol): http://www.rtcm-ntrip.org/home most of them are non free/paid, so you need to look around (if you really want there a ways to make your own low cost server (raspberry pi..))

would you still need offset if the accuracy is already very good? Boosting accuracy seems easier!

Have a look at https://play.google.com/store/apps/details?id=com.lefebure.ntripclient
==> ACCESS_MOCK_LOCATION - Used for routing external position data to other applications. but this solution has also it downsides :-(


HTC rhyme shows LOCKED when I turn it on When I turn my HTC Rhyme phone, it just shows A page that's written ***LOCKED***  at the top and has three android icons at the bottom and have some menu items as below:

Bootloader
Reboot
Reboot Bootloader
Power Down

I've tried all of the menu items, but gained no success. Is there anything I could do to recover my phone.

all that the locked status indicates is that the bootloader itself is actually locked...it sounds like your partitions may have gotten botched up.  Was the phone acting up prior to this, or were you attempting to root/install a custom rom?


Fail when pull system files in twrp recovery My phone is Xiaomi redmi note 5, already unlock bootloader, haven't ROOT.

I boot to TWRP with command:

fastboot boot twrp-3.2.3-0-whyred.img.

Then

.\adb remount
.\adb pull /system/fonts

but it said adb: error: failed to stat remote object '/system/fonts': No such file or directory

I also can't list system folder in adb shell

.\adb shell
ls /system

TWRP automatically does not mount system partition. It has to be mounted manually via its UI (under Mount option) or via command line. The fact that ls /system showed you nothing gives us the evidence that the partition indeed is not mounted. It can further be confirmed using mount command.

If you must insist on mounting system partition using command line, you must get the block device ID for that partition first. There are myriad ways to do that and some are listed here by Izzy. I think the easiest may be the command blkid as mentioned here by Ryan. In my device it outputs:

~ # blkid
/dev/block/mmcblk0p42: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p41: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
/dev/block/mmcblk0p38: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p26: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p21: LABEL="FSG" UUID="e4a4f807-109f-5459-8138-e744bc88c397" TYPE="ext4"
/dev/block/mmcblk0p1: LABEL="NONHLOS" UUID="75d3199b-b965-b45f-9298-59c724d8a58d" TYPE="ext4"

Once you have the block device ID and the filesystem type (ext4 default) you issue the command:

mount -t ext4 BLOCK_DEV_ID MOUNT_POINT
mount -t ext4 /dev/block/mmcblkop41 /system   # this is as an example only

You can now pull the files.


How can I root my Prestigio MultiPad (PMP3670B)? I want to install ArchiLinux on my multipad. I have tried to root my Prestigio MultiPad (model: PMP3670B) using some rooting apps I had found on the Internet, but all of them have requested an adb driver, which I have problems installing on my XP because it won't autodetect the device. As mentioned in all the instructions I had set my device to USB Debugging Mode and to MTP Mode.

I downloaded SDK and, using a couple of instructions, including some on modifying android_winusb.inf and adb_usb.inf, several times tried to install it manually. The Device Manager displayed MultiPad as two devices (MTP and Android), that had an icon with a yellow question mark. The best I could achieve was making the Add Hardware Wizard detect the MTP (it still wont detect the Android).

Using The command prompt I opened platform tools folder and executed adb kill-server, adb start-server and adb device commands, but the "List of devices attached" was empty.

Also when I tried unchecking the USB Debugging Mode on the Multipad and my XP started displaying it as a Portable Media Player.

This is my first tabled, so I'm really inexperienced. I guess I'm making a mistake somewhere, but I can't figure out where.

Maybe someone has rooted this or similar Prestigio MultiPad on XP and could help me?

Here's how to do root Prestigio MultiPad PMP3670B:
-download application "Motochopper"
, after extracted, just run the file "run.bat"
-I think you know the rest: to have installed the USB drivers to have enable "usb debugging" etc..
:)) I searched for two weeks, every day, after I found a forum Rusia.Daca.


How to resize Prestigio PAP4044Duo's partitions? I have a Prestigio PAP4044Duo with 4.1.1 Android on it. It has a Internal Memory of 786MB + Internal Memory Card of 1.77 GB. Since all the applications are stored in the Internal Memory I'm running fast out of space on it. I have read through forums and most topics are referring to SD cards, and all the applications I've found to moving Apps from the Internal Memory are also referring to SD cards.

So, is it possible to repartition the size of the internal memory and the internal memory card to get the following size:

Internal Memory - 1.7GB
Internal Memory Card - 700MB

If it is possible, where should I start, and are there any step by step tutorials that someone with not much experience could follow?

Is it possible to resize partitions?

Yes, it is theoretically possible, but it may not work on your device. If you're ready to take a risk with your device (if something goes wrong, it may be bricked until you find what's wrong with it), go ahead. Also, this modification isn't recommended for beginners. Also notice that by this you will factory reset your device (all app data will be gone). You'll need:

A rooted device with custom recovery
Basic knowledge of how ADB works
Basic knowledge of how partitions and partiton tables work
Patience and time since this could (and will) probably have some obstacles since you're a beginner and these tutorials aren't made for your specific device.

I successfully resized my partition using this tutorial on XDA, however, I skipped some steps in the way, since they were directed at different devices (Xperia phones), therefore, not all steps are compatible.

This tutorial may not support your device, so proceed with caution

I will try to briefly summarize what is going on that tutorial.
What will we do:

We will back up all the files present on the internal SD card (this is optional)
We will delete /sdcardpartition (that's internal, emulated "SD card"), and we will delete /datapartition (that's where your phone data, including apps, is stored)
We will then create new /sdcard and /datapartitions, but this time, they will be resized so that you'd have more space for apps.
If we backed up SD card earlier, we will now restore the original content of the internal SD

I assume you have worked with ADB and that you have a custom recovery present on your device (if you don't fulfil these requirements, get familiar with those before proceeding)

Okay, before we start, you'll need to download fs-utils.zip from this XDA page. These are file system utilities which we'll use later. Unzip this file and place it a folder, somewhere on the external SD card (e.g. /sdcard/fs-utils)
Also, enable "USB debugging" on your phone, located in "Developer Options" on more recent devices, or "Applications" on older devices.

Backing up files from Internal SD card (optional)

Okay, this one's pretty simple, you copy the files from internal memory to anywhere you want (i.e. PC, external SD card).

Editing the partition table

This is where it becomes tricky, so be sure that everything is working before starting this, and make sure that your phone has enough battery (just in case).

Enter the recovery on your phone.
Connect to ADB
Execute following commands

umount /storage
parted /dev/block/mmcblk0
print

This should print out the partition table, like:

Number  Start   End     Size    File system  Name        Flags
1      131kB   2228kB  2097kB               TA
2      2228kB  3801kB  1573kB               Boot
3      3801kB  5374kB  1573kB               Boot2
4      6291kB  27.3MB  21.0MB               Kernel
5      27.3MB  28.3MB  1049kB               TZ
6      29.4MB  32.5MB  3146kB               modemst1
7      33.6MB  36.7MB  3146kB               modemst2
8      37.7MB  40.9MB  3146kB               fsg
9      40.9MB  46.1MB  5243kB               ramdump
10      46.1MB  54.5MB  8389kB  ext4         apps_log
11      54.5MB  71.3MB  16.8MB               FOTAKernel
12      71.3MB  2120MB  2049MB  ext4         System
13      2120MB  2620MB  500MB   ext4         Cache
14      2620MB  5692MB  3072MB  ext4         Userdata
15      5692MB  15.6GB  9942MB  ext4         SDCard

In this example, Userdata partition is on the 14th place, and SDCard is in the 15th. Notice how the Userdata starts at 2620MB, and ends at 5692MB, and SDCard begins where Userdata ends, and finishes at 15.6GB. Mark these numbers, as we'll use them when we create the new partitions.

Following this example, we will remove these partitions:

rm 14
rm 15

Now, we calculate new sizes of the new partitions. Notice: You need to have emulated SD Card on your system, don't completely remove it, it is hardcoded into the system, and removing could break the functionality of the device.

For example, if we want to increase the size of the Userdata to 6000MB, we simply add 6000MB to 2620MB (where the partition starts), to get the position where the partition ends. In that case, it would end at 8620MB. SDCard follows after the Userdata, so it begins at 8620MB and ends at 15.6GB.

So, after calculating the sizes, we enter:

mkpartfs logical ext2 2620 8620 (change the numbers for your device)
name 14 Userdata
mkpartfs logical ext2 8620 15.6GB (again, change the numbers)
name 15 SDCard
quit

Now, the space is allocated for these new partitions, but they aren't correctly formatted yet. So, in your recovery, format your internal SD card (sdcard0 or whatever it's called).

Now, in ADB, navigate to the folder on the external SD card, where the fs-utils are located:

cd /sdcard/fs-utils (change as appropriate)

After that, enter these commands, one by one:

tune2fs -j /dev/block/mmcblk0p14
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p14
e2fsck -fpDC0 /dev/block/mmcblk0p14

Now, the partitions are formatted.

You can reboot the phone now.

Try to write something to the SDCard, just to check do you have write permissions on it, and if you don't, enter (via ADB):

su
chown -R 2800:2800 /mnt/media_rw/sdcard0

That should fix the problem.

After this, you can restore the backed up files to your SDCard.

Since this is my first community post, I encourage users to edit and expand this post as needed.


Is it possible to transfer an apk from my mac to my android phone via Bluetooth? I only want to transfer from mac to android, not reverse and also achieve this via Bluetooth. Open to install any app on android

Thanks

Yes, you can send files over Bluetooth. By default, android doesn't allow to receive every file type (many phones don't have this issue) so just rename the apk and add another acceptable extension like .jpg or .mp3 in the end. The Android phone should be able to receive the apk just fine. Now open the bluetooth folder and delete the added extension and you have your apk ready to install.


Project my screen of my Nexus One I have a Nexus One, I would like to know if there is any way for me to project my screen content to my large screen TV?

Nexus One does not come with a hdmi port.

Thank you.

By "project", do you mean "play video"? Because that might be a bit of a challenge, depending on your network and (phone) CPU.

To just get screens/presentations, you could connect a laptop to your TV and a VNC server on your phone.

If you do want to play media files, and you have a DLNA client (Xbox 360, PS3, one of the million media boxes like Roku) connected, you can install a DLNA server on your Android (search Market - there are plenty) and stream media.

Plenty of the latest TVs even have a DLNA client built in.


Twitter app: Is it possible to switch accounts while viewing a tweet? I have the Twitter app for Android, and I use 2 accounts. Both are configured in the app.

How can I switch accounts while viewing a single tweet (if, for instance, I'm viewing a tweet in account A but want to retweet it from account B).

I used to be able to do it, but they seem to have removed it a few updates ago.

As of current version (Version 8.25.1-release.0 on Dec 20, 2019), it is not possible to switch accounts while viewing a tweet on the official Twitter app.

The only way to switch account is from the sidebar, and it is currently only accessible from the main screen.

Instead, to "retweet from another account", the native workaround is by sending a direct message to that account:

From a specific tweet, tap the "Share Tweet"
Choose "Send via Direct Message" and choose the target account
Go back to the main screen, then switch to another account
Navigate to "Messages" (mail icon on the bottom navigation bar), then open the conversation with another account
Open the tweet, then retweet.

(Note: to reduce the switching, it is recommended to bulk send the tweets first before switching)


Android continues rebooting and 'optimizing' My S5 was running Fusion ROM 5.0.   I downloaded 5.1 and installed using ROM manager.  After the installation, Android continues rebooting and saying "Optimizing app 1 of 8.   Facebook...", then reboots a few seconds later into the same process.

What do I do to break this cycle and get my phone back?

It may be problem by the rom

clear the data
clear dalvik  cache
reinstall ROM

This may help cause you may have directly the ROM without clearing data

Footnote: Though in Android 5, Dalvik was replaced by ART, parts of the Dalvik stuff are still used (/data/dalvik-cache/arm/*; also see e.g. Should Dalvik Cache be wiped in ART). While in the end, apps will run from native Elf binaries, ART creates those via .oat files. Details can be found e.g. in this Wikipedia article. So don't be confused about "clearing Dalvik cache" here. You could still make sure to remove ART cache by running rm -rf /data/dalvik-cache/arm/* as root via e.g. adb shell when in recovery.


Why doesn't Skype on HTC Wildfire function properly? I've tried downloading Skype on my HTC Wildfire, but the calls don't work. Every time I try to call the sound stutters and doesn't come out fluent.

I've tried it on 2 different Wildfires and got the same result on both. I have another VoIP application and it sounds fine.

Where can I find a Skype version that will work with the HTC Wildfire?

I'm afraid that if the official Skype app does not work then you are probably out of luck. Skype do not let third party applications use their service, so you are unlikely to find anything that works.

I suspect the issue is down to the CPU speed of the HTC Wildfire, which is only 528mhz. It's likely that the processor simply can't keep up with the demands of the application, which is why you get the stuttering, and why performance is the same on other Wildfire's.

Unfortunately you may have to stick with your other VOIP application.

Edit: There are a lot of posts on the Skype support forum where people are complaining of poor performance on the HTC wildfire. The Skype rep does say they are aware of it and trying to improve performance, so you may just have to wait for an update to the application sometime in the future.


Apps to lock screen asks for password after locking I have a Moto G4 Plus, with fingerprint scanner fingerprint reader that is able to unlock(physical button) the phone by just giving the fingerprint, no password is required.
I'm trying to implement a "double tap homescreen" on my phone, so I used Nova Launcher to enable that feature.
It locks the screen, but the problem is that when I try to unlock the phone using fingerprint after locking by this way, it asks for my numerical password, instead of just unlocking directly.
I tried other apps to lock the phone with double tap, but it does the same thing.
How to lock screen with these app and no being asked for a password after that.

This is a thing to do with the Secure/Smart Lock setup.  When using third party apps the system will default to the "primary" method (whatever you set as backup to finger print whether it is PIN, Password, or the draw on the screen gesture lock).  The only way I have seen to get around this is to grant root access to your Home Launcher (Nova does allow this in advanced settings), but it is not a guarantee with every device.  Here is what I found doing a quick Google search per your question:
http://feedback.novalauncher.com/forums/145180-nova-feature-requests/suggestions/12241728-allow-lock-screen-function-to-be-unlocked-by-finge

Which does seem to indicate it is definitely more of an issue in Marshmallow (and probably future releases).  Hopefully enabling root MAY get you around this problem.


Make "tap to add priority senders" disappear I have recently updated the OS of my phone, and since then I have the following "Tap to add priority senders." on my SMS app which I don't like, it just uses screen space.

How can I remove it?

Android version: 4.4.2
Galaxy S5

Example Screenshot (click for larger variant)

To remove it, click on the three vertical dots on the top-right of your screen.

Then, go to Settings.

Scroll down to "Priority senders" and unmark the tick box.

Hope it helps.


ADB claims that app is not installed when uninstalling and that it is installed when installing Gboard kept crashing when trying to open the settings, so I wanted to uninstall and reinstall it. Google Play Store kept giving me the error code 910, the advice for that was installing it with ADB.

The command

adb install -r /home/fabian/Downloads/com.google.android.inputmethod.latin_7.9.7.230658658-release-armeabi-v7a-26790713_minAPI21\(armeabi-v7a\)\(nodpi\)_apkmirror.com.apk

gives me the output

Failed to install /home/fabian/Downloads/com.google.android.inputmethod.latin_7.9.7.230658658-release-armeabi-v7a-26790713_minAPI21(armeabi-v7a)(nodpi)_apkmirror.com.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.google.android.inputmethod.latin without first uninstalling package running as com.android.inputmethod.latin]

This is weird, since with the -r flag it should have no problem with an app that is already installed. Apart from that, it is not installed, I checked the app list, the /system/app directory, as well as /data/data. And when I run

adb uninstall com.google.android.inputmethod.latin

, the output is:

Exception occurred while dumping:
java.lang.IllegalArgumentException: Unknown package: com.google.android.inputmethod.latin
    at com.android.server.pm.Settings.isOrphaned(Settings.java:4134)
    at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:18419)
    at com.android.server.pm.PackageManagerService.deletePackage(PackageManagerService.java:15836)
    at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:888)
    at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:792)
    at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:118)
    at android.os.ShellCommand.exec(ShellCommand.java:94)
    at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18682)
    at android.os.Binder.shellCommand(Binder.java:468)
    at android.os.Binder.onTransact(Binder.java:367)
    at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)
    at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3150)
    at android.os.Binder.execTransact(Binder.java:565)

So what can I do to install GBoard again?

Fairphone 2, Android 7.1.2, "Fairphone Open", root enabled

It seems like the package wasn't properly uninstalled : This happens usually if you delete the APK from /data/app or /system/app or /system/priv-app instead of uninstalling the app. That is why probably the adb uninstall command isn't working.

Maybe you can try reinstalling the app again after rebooting your phone?Tip: If this is the only keyboard app on your phone, it would be better if you install another keyboard app just as a backup before rebooting (especially if you have a text lock screen password).

If it still doesn't work after rebooting, try uninstalling the app only for the current user and then reinstall it from the play store.

adb shell pm uninstall --user 0 com.google.android.inputmethod.latin

Also, if possible, please also share the output of this command

adb shell dumpsys package com.google.android.inputmethod.latin

(Sorry, I am a new member and do not have commenting permissions yet; that is why I have to mention it here.)


What determines the graphics of a device? I do play a lot of games and most games settings have options to either set your graphics to low, average or high. So I'm really curious to find out what exactly determines the graphics of a phone so that I can set my game graphics according to what will work perfect.

The major hardware elements that determine what graphics quality you can choose are:

Graphics chip built into your main CPU. The faster it is and the more parallel computation cores it has the more calculations per second can be done
The maximum RAM of your device
The display resolution. The higher the resolution the more pixel have to be calculated -> the longer the calculation of each display frame takes -> the less frames per second can be displayed


New TF300 is not showing anything on the screen I purchased an ASUS TF300 from Amazon and it arrived today. The manual says to charge it for 8 hours for optimal battery life, so I plugged it in and let it charge for a bit. The power button is now displaying a green light after about two hours of charging (it's still plugged in), and when I press the button the tablet's backlight comes on. However, the screen is blank - nothing is being displayed.

I've tried forcing a reboot (holding the power button down for 8 seconds). The tablet makes a chiming noise and appears to reboot - based on the backlight turning off and then back on - but there is still nothing displayed on the screen.

Any suggestions? Is it possible it's DOA?

I was unable to resolve the issue through all types of hard/cold resets/reboots (PWR+VOL, PWR for 30 seconds, hard reset pin, etc), so I returned to Amazon and received a working tablet today. It appears that mine was just DOA.


Why is Android refusing to resolve DNS records pointing to internal IP addresses? I have a very strange behavior on an Android device (Nexus 7) when trying to access local network applications. Instead of getting the actual IP of the machine on LAN, the Android device gets the public IP, which means that Chrome, Firefox or any other browser simply shows the web page of the router.

I have an internal DNS server which handles the local networks. Doing ping from a PC works correctly:

$ ping s.pelicandd.com

PING pelicandd.com (192.168.1.15) 56(84) bytes of data.
64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=0.524 ms
64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=0.578 ms
^C

On an HTC One device (accessed with adb shell), it works well too:

shell@m7:/ $ ping s.pelicandd.com

PING pelicandd.com (192.168.1.15) 56(84) bytes of data.
64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=2.56 ms
64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=27.8 ms
^C

However, this is what I get when doing the same ping from Nexus 7:

shell@flo:/ $ ping s.pelicandd.com

PING pelicandd.com (90.78.26.42) 56(84) bytes of data.
64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=1 ttl=64 time=2.56 ms
64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=2 ttl=64 time=8.63 ms
^C

Instead of resolving to the internal IP, it resolves to the public one.

The network configuration is—except the IP address of the device—exactly the same on both devices: IP settings are set to Static, and DNS servers are the internal ones. Both Android devices are connected through Wi-Fi (unlike the PC). A major difference, however, is that Nexus 7 is using Android 6.0.1, while HTC One uses Android 5.0.2.

There is no nm-tool, dig or nslookup on Nexus 7. The device is not rooted.

The problem existed since I bought the device a few weeks ago, so it could hardly be the issue with DNS cache.

What can I do to further inspect this issue?

We recently encountered this issue, and we narrowed it to occurring ONLY on devices running Android v5 and newer.  Android v4 and all other OS's have no issue.

With that tidbit, we determined that Android v5 and newer insists on using IPv6 for DNS name resolution.  (Since we've completely disabled IPv6 on our network, this jibes with the issue.)  If Android v5(+) can't get an IPv6 response from local DNS, then it reaches out to Google's public name host (8.8.8.8).  Hence, no internal DNS, just external.

We worked around the issue by creating DNS records on our public-facing DNS servers for select internal names and IPs.  With that done, Google's public DNS could resolve these internal names with internal IPs, and the devices could then reach our internal hosts.

We're proceeding with fully enabling IPv6 on our internal DNS servers (domain controllers) as a permanent fix.

=========================================

UPDATE--
Well, it turns out this may be a total red herring...or not.  My home network is Win2008R2, single-domain with DHCP and DNS and no IPv6 binding.  Tested an Android v5 device from there and had NO ISSUE.  Office network with issue is Win2012 (non-R2), single-domain.

Bypassed current office WAPs with stand-alone Linksys WAP and separate SSID for testing, issue persists.

Differences between office and home networks (that I can think of):
 - Windows version - 2012 vs. 2008 R2
 - router model (Cisco vs. Linksys)
 - WAP model (Dell-branded Aruba Networks vs. Linksys)

Proceeding with whatever further testing I can think of for narrowing the issue.  Any suggestions or input is extremely appreciated!

=========================================

PROBLEM GONE (?!)

Our issue seemed to disappear on its own following a network topology change that I wouldn't think was related, but here's the info in case.

(HUGE APOLOGIES for this long, drawn out story, but this is when our Android issues disappeared, so ride this out if you can.  I'm probably providing WAY too much detail here, but because I can't see a direct connection, I'm laying it all out exactly as it happened.)

Our ISP is Comcast Business Class—a cable modem with a static IP block of five addresses (weird number but that's how Comcast sells them).  Comcast's cable modem is essentially a combination modem/firewall/router/switch, with our static IP block remotely programmed into it.

For 10+ years and almost as many employers, I've always built office networks the same way:
Configure a LAN IP for the ISP modem/router, which NAT's traffic from the internet.  Couldn't be simpler, and that's how my current office network has been configured for four years.

Recently our office internet service went down.  Usually a modem restart corrects it, but when it didn't we called Comcast who sent a tech, who replaced the cable modem to restore service.

A few days later, the same thing happened again.  We called again, and the onsite tech (different tech than before) attempted to replace the modem again, this time with a newer model.  Surprisingly, the newer cable modem did not support changing the LAN subnet address.  The default subnet is 10.1.10.0/24, and it cannot be changed.  (Only the 4th octet was configurable.)  As our office subnet is 192.168.100.0/24, I let the tech know we couldn't use it without being able to change the LAN subnet.  He understood, but had no info as to why the cable modem would prevent the change.  So he installed a replacement modem of the same model as before, which we configured identically, and internet access was restored.

Another day or two passes, and the service goes down again.  This time when I called Comcast, the initial tech I spoke with asked detailed and knowledgeable questions about our network configuration.  When I explained that the cable modem was configured with a LAN IP on our subnet, he seemed puzzled by this.  He said that most Comcast customers connect a NAT'ing router between the cable modem and LAN rather than use the cable modem's NAT'ing.  In fact, he said he wasn't aware that the cable modem supported NAT'ing.

Comcast sent out another tech with a brand new cable modem (latest model that doesn't support changing the LAN subnet).  He did extensive testing on the existing modem, and finally determined that it was only passing IPv6 traffic—no IPv4.  He also confirmed what the phone tech had said--that it's recommended to use a separate router for NAT'ing, and to not change the LAN subnet on the cable modem (which we can't do on the newer modems now anyway).

And now we finally come to the network change we made.  I installed a simple LinkSys router between the cable modem and our core router, configured with our static IP on the modem side, and a LAN IP on the inside.  Internet service was then restored, and has remained stable for some time now.

After internet service was restored, I thought about the oddness of the IPv6 issue with the cable modem, which in turn reminded me of the Android v5 issue.  I then tested our Android devices in the office, and was stunned to see that the DNS issue was no longer occurring.

Adding the LinkSys router for NAT'ing is the ONLY NETWORK CHANGE WE MADE.  Coincidence??  Possibly, but it just seemed a little peculiar that both were related to IPv6.

Anyway, sorry again for the long story, but our Android issue is gone.  Make what you can out of it.

Dimarc67


How to open a file located in a non-sdcard directory in Tasker? How can one open a file located in a subfolder of the rootfolder, using tasker, in LineageOS 14.1?

My attempts so far have been to:

Create a new task in tasker.
Check if tasker has root permission with variable named "root available": %ROOT. This returns yes. Therefore, I assume Tasker has root permission.
create the action: "open file"
This only allows the accessing the /storage/ of either the internal or external drive.
Therefore, I manually entered the path to the file located in the rootfolder I am trying to access as: /data/misc/wifi/wpa_supplicant.conf and ran the task, but it returns the error: file not found.

So I tried /data/misc/wifi/wpa_supplicant.conf and ran the task, but it returns the same error.
I tried to open the file with fdroid's app: editor, without opening a file explorer to open the file. But I am unable to pass the file location as an argument to the app editor when I create a task to do it.

The inbuilt Open File action doesn't seem to work for non-/storage file paths because it is hardcoded (I presumed from its error logs) to only load a file located under /storage/emulated/0. Even if you mention the absolute location using file://, it would still append /storage/emulated/0 to the file path and throw an error.

Because Open File action simply sends an intent, we can do that manually ourselves. The Send Intent action is pretty good for this, except it also fails with non-/sdcard file paths. Tasker implements FileProvider (a way to securely share files with other apps). The action could work but Tasker's manifest file provisions for not exporting the file provider, which means other apps cannot make use of it. Since Tasker converts even absolute file path (with file://) into a file provider URI, there is no way out for us to load a non-/sdcard file using that action too,  except to ask Tasker's developer to fix this, or the user themselves tweaks the manifest file.

The solution, however, is available using command-line. Use the action:

Code → Run Shell:

Command:

am start -a android.intent.action.VIEW -d "file://FILE_PATH" -t "text/plain" -f 0x13000000 -n android/com.android.internal.app.ResolverActivity

file:// is intended as is. In your case, the file path should be file:///data/misc/wifi/wpa_supplicant.conf.

text/plain can be replaced with text/* too if you don't know your file's mime-type.

(You can know about am here.) I don't know what that flag (0x13000000) does in particular.
tick Use Root

Running the task would now give you the bottom sheet with all the apps which can load a file with mime-type text/plain. However, when testing  this, only QuickEdit app was able to load that file successfully, so I recommend using it unless you get this working with an another editor.


How to backup my app data if my phone is not rooted? Possible Duplicate:
  Full Backup of non-rooted devices

I'm going to flash (format) my Samsung Galaxy S2 (both the external sd and internal sd) . My phone is not rooted. But there are some app's data that i want to backup before formatting.Those are some of my games' progress,Mozilla Firefox's history,bookmarks etc,Opera Mini history etc. , and the songs i tagged in Shazam . How am i supposed to do that since i know that you can't backup app data such as game progress if your phone is not rooted ?  Also I can't access those apps, whenever I open them they constantly crash, this started 1 week ago, that's why im gonna flash my device (but this is another thread's subject). I would appreciate any help.

You can use the Android sdk. It includes something called adb. Here is a link to a previous question. Full Backup of non-rooted devices .Here is a list of all adb commands. http://www.linuxtopia.org/online_books/android/devguide/guide/developing/tools/android_adb_commandsummary.html


google search android app cannot find installed apps My android phone is Samsung Glaxy Grand, aka I9082.

I rooted it and flashed google apps into it.

Everything works well except for this:

Google search just cannot find installed apps for me. I believe my settings are correct.

here are some screenshots:

as you can see in the screenshots, I have kindle installed, but google search simply cannot find it for me. Actually, it cannot find any installed app for me.

Any idea what could possibly cause this?

this is just google wanting you to use the search box to generate paid clicks for them. it doesn't make them any money to help you find apps on your device, the search box is there for a reason - to send you to the web and click on ads.


How to install EdXposed on Android 11? What about safety net? Further to these questions:

What are the alternatives for Xposed framework on Pie? Preferably without triggering Safety Net?
How to install EdXposed on Android 10 without triggering safety net

How does one install EdXposed on Android 11?
Notes:

This is a self answered question consolidating information from several threads on XDA / Github/ Twitter and my experience on Pixel 4a to give a helpful start to that dying breed who like to install xposed-framework modules . Edxposed is still in beta and Android 11 is recently released, so there would be many changes to this answer in future. Since I do not intend to update this answer with developments, others are welcome to add and modify - sadly, in the previous two questions, there hasn't been a single edit barring mine :(. Moderators are welcome to make this a community wiki if warranted.

Answer is generic in nature and for issues relating to installation / modules you are better off asking in respective device/module threads in XDA.

Like I mentioned in the question, a major problem with EdXposed is lack of documentation. There is an [OFFICIAL] EdXposed - The successor of Xposed [Oreo/Pie/Q/R, 2020/07/19] thread opened by Mlgmxyysd, one of EdXposed main developers but, sadly doesn't provide any useful information.
Updated on 06 January 21 , likely the last update from me..feel free to improve

EdXposed canary version supports Android 11 for the last couple of months but official support has been announced a fortnight ago (v0.5.1.3)

Information is valid as of writing.

This is NOT a support thread. I am not frequenting SE,and therefore cannot answer your questions.

Pre-requisites (need to be updated from sources or as prompted by EdXPosed manager).

Magisk v21 + , with Magisk Manager from official Magisk thread. Note that some devices play well with certain versions of Magisk so it's better to search device threads in XDA for appropriate Magisk version for your device.

Riru-core latest release from Magisk modules or from GitHub (Please read the subsequent sections and choose the relevant option)

EdXposed canary drivers YAHFA/Sandhook from EdXposed manager v4.5.7. And the EdXposed manager

Important changes that dictate which method to use in the installation section that follows (also applicable to OLDER Android versions)

Obviously you have a rooted device running Android 11 , with Magisk installed. For most Android 11 devices including my Pixel 4a, Android 11 support was possible by using a canary version of Magisk(21004) ( I added that third party link because the official page only links to the latest). The latest release (21200) offers a better support.

So broadly speaking you have two alternatives

Magisk canary (21004)  which can only be used with Sandhook or YAHFA version 4.x,   for Android 11 or YAHFA v 0.4.x.x for older versions

Magisk canary (21200)(or corresponding stable for older Androids) which can only be used with Sandhook or YAHFA version 5 for e.g. YAHFA v0.5.0.6

Reason of being aware of this that this is linked to changes in Riru and corresponding YAHFA or Sandhook drivers. Riru v 21.x can only be used with the first option and Riru v 23.x can only be used with second option

Eeks..what's with Riru now?

To put it simply Riru v 23.x made a ton of changes  that needed YAHFA or Sandhook drivers to be updated (which have been done). Version 5 of YAHFA or Sandhook are Compatible with Riru V 23.x . No backward compatibility.

This change can also affect your choice of modules. See this for an example. Module developer may be implementing methods which may need to be changed. If they don't , you can't use Riru v 23.x , simple.

On Pixel 4a ,I am using the Riru v 23.x with YAHFA v 5.x

Installation
This being a canary version, installation is unconventional (though I have read some posts that the conventional way (see linked questions in the body of question also work on some devices)

Install EdXposed Manager v4.5.7.

From the canary tab download the YAHFA/ Sandhook drivers (zip) . Note that downloaded version may have a different name from the file name in canary tab.

Install Riru-core module first from Magisk Repo. Don't reboot.

Install downloaded YAHFA or Sandhook using install from storage option of Magisk.

If you want to verify the status of Riru , there is an official Riru app, made available by the Edxposed team.

Reboot and profit!

YAHFA or Sandhook drivers?.
YAHFA is relatively slower but stable by most accounts compared to Sandhook. You would need to check XDA for what works best for your device/Android version. For me, it has been YAHFA on my earlier and current device. In addition, you may be better off installing YAHFA , if root detection is a concern. As Mlgmxyysd says in her tweet

SandHook has faster boot speed, but leaves pre-compiled files in the cache, which can be detected by some apps

Modules

Xposed module development isn't what it used to be so there are only a few Android 11 ready Xposed modules. The ones I care for are:

XPrivacy Lua. This works but not fully. Hoping for Marcel to resume support for Android 11.

Gravity Box for 11-released two days ago. I installed it but haven't set it up yet but going by the feedback, it seems to be quite functional.

XPosed Edge Pro. Though it hasn't been updated yet for Android 10, it works to the extent I need.