text:
How can I save keypad command numbers like `*#*#4636#*#*` to my contact list?
I learned from a previous question of mine that Android has got several system numbers, or "keypad commands," which produce all kinds of information or invoke a system mode.
As example: one of them is *#*#4636#*#* ( which produces all kinds of usage statistics ).
How can I save these number to my contacts list ?
Or is there some other way that I can create a short cut to enter these numbers ?

Save it as contact; then when you want to use it -> navigate to it; and choose edit before sending.

+1 - works with the HTC Dialer

Hadn't thought of the edit part , great thinking. Thanks. Works on a Samsung Galaxy S.

"edit before..." then sending didn't work on my Moto One Action. I had to copy the code to clipboard and manually paste it into the dialer.


text:
Configure Google instead of S-Voice
My s5 allows me to have S-Voice always listening for its hot word. I would rather have Google always listening for its  hot word. I don't see how to do this. Any ideas?
thanks

The latest updates to Google Voice allow me to "OK google" from any awake screen, even the 'swipe' screen as long as the device isn't locked. Even works from within many third party apps! Thanks Goog!

You can reach the Google voice settings by going to Apps -> Google Settings -> Search & Now -> Voice -> Ok Google hot word detection and turning the switch to "On" Google hot word detection only works from the home page where the Google search box is located.  If you don't have a Google search box, you can get one from your widgets which is accessible by touching and holding the home page with your finger.

Yep thanks for answering but I know all of that, I have the widget and I use the hot word. I'm looking to have it always listening.

Always listening is based on a special chip that is 'always listening' out for the key word. The Moto G (or is it X) has this and the Nexus 5... Not the Galaxy S5. There is a hacked Google Search, you need to install a lot of files and mess around to get it working, and even then expect your battery to last about 2 hours with it running, the device simply isn't made for this.

I looked at an app called S for Switch Voice Free that suppose to take advantage of the "Always Listening" chip on the Galaxy S5. The app developer claims that it will start Google Now. I haven't tried it but you can find it in the Google Play Store.

I had the same frustrations with my Note 3 back in the fall when it was new. I solved it by creating an app first for myself then made it available on the Play Store.
But first, on the S5 you have to enable car mode for voice wake-up to work.
Then you can install the app S for Switch Voice Free to have Google Voice Search (ie Google Now) answer your commands.

And finally you can now have something similar to MotoX touchless control using the app Touchless Notifications Free which does handsfree notification announcement and has something like the new "What's up" feature on the Motorola ~ if you give the command "Open my notifications" it will read-out the active notifications with pretty good looking display...

Per phandroid we have this, which I have just confirmed works:

Settings > Language and input > Voice Search > “Ok Google ”
Detection Check all 3 boxes Train the voice recognition by saying
Okay Google 3 times (say it a bit differently each time to improve
accuracy)

source: Stack Exchange

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

sort: votes


text:
How do I stop warnings appearing when I increase the volume?
I am using Nexus 4 with Android 4.4.4 stock. Whenever I increase the volume while listening to music on my smartphone, I get a warning that listening at high volumes can cause problems to the ears. Is it possible to stop this message appearing?
I would prefer not to root the smartphone yet.

Well, you can't do that until or unless you root your device. Once you rooted your device you can move forward with the suggestion @sameer has guided.

Follow what @sameer said. There's a tutorial in LifeHacker website if you need. (Remember rooting is MUST).

See an alternative for non rooted device here https://android.stackexchange.com/q/188131/131553

Once you are rooted, goto settings/sounds/volumes. Unchecked the safe headphone volume box and agree to warning about potential damage to your ears. That's what I did on my Nexus 7 w/4.4.4 ROM.

If you are rooted, you can try one of the following
1.NoSafeVolumeWarning in Xposed Framework
2 .Media Tweak Settings in  Gravity Box

authors: حسين ابو رعد

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


text:
Getting "Installing..." for too long, during any app installation attempt
I cannot install any app on my Galaxy Note 8 N5100 tablet which is rooted and uses Android 4.4.2. It takes too much time with no result.
(Click image to enlarge)

And this is the status of my package installer app:
(Click image to enlarge)

Edit:
I think I found what's the problem. This is the battery usage of my device:
You see the usage of Google play services is very high about 47%
(Click image to enlarge)

I think it's the cause of these problems:

When I try to play a film, it stops time to time
Installation of applications takes a lot of time
Battery usage is very high
The devise is warm even if I'm not using it

What should I do to solve the problem?
It's not possible to uninstall Google play services and reinstall it

"It takes too much time with no result" -- do you see any error message or anything? Does the installation ends on its own or do you manually do something to end it? May be logging can help here. Use [tag:logcat] to start logging then attempt to install the app. Give us the logs then as a link (use a code paste service). If needed, see How to Logcat?

@Firelord in fact if I don't do anything, the application will be installed after several hours but there are other problems too. The battery usage is far more higher than before and when I'm trying to play a movie, it stops time to time (the device hangs alot)

Even if your phone is rooted, you may be not utilizing the root access properly. Simply rooting the phone doesn't make it fast, save the battery and all.
By rooting the phone, you should even make use of the root by installing proper apps which need root access to work. For no ads in the phone, there is an app called adaway, for battery saving there is greenify, and the list goes on. Search in Google for apps which need root access and you will get fascinating apps.

You can always comment on your own post. I believe your  post is a reply to this comment

When there is more ram usage or more internal memory usage, the phone will be slow and thus the installation. So u need to free your ram and your phone internal storage to speed things up.
So by using the above mentioned apps, you can speed your phone by making reducing the usage of your phone's ram.

Best attempts to make your phone fast and long lasting is using some powerful apps which work only of your phone is rooted. Root your phone and download apps like greenify (for battery purpose), roehsoft ram expander (for faster and smoother performance), titanium backup and link to SD (for uninstalling bloatware and transferring apps to SD card which cannot be done through setting without root.
So u need root access for your phone to use these apps.
Rooting your phone can be done through PC by kingoroot, volcano box, etc
And through your phone by kingroot, super su and super user.
I guess this will solve all your problems.. All the best....

My phone is rootted

Would you care to explain how your answer addresses the question, specially the part "Installation of applications takes a lot of time"?


text:
HTC EVO 3D not appearing on Mac OSX adb
I am having a funky issue connecting my HTC EVO 3D (Running 4.0.3) to my MacBook Pro (OSX 10.9.1). I have connected this phone using adb and Android Studio for development, using the same cord, same phone, and operating system on a different computer.
The EVO is in debug mode, tried swapping out cables, swapping ports, restarting computer multiple times, restarting phone etc. The phone will mount as a disk, but can not be discovered by adb in any connection mode.
This leaves me to believe that either my USB ports on my MacBook are messed up, which I have followed instructions to reseting my SMC and PRAM, which lead to nothing. So then I thought it was possibly a corrupt ADB, so I went ahead and reinstalled the Android SDK This lead to a few hours wasted, but was feeling confident this would solve my problems. Unfortunately it did not, does anyone have any suggestions?
Edit: To add to the confusion, I can get the EVO to mount as a storage device, and upload an apk for development, but this is not very helpful if I have to transfer the file manually every time I want to test.

After months of not being able to debug through ADB, I've figured it out. According to this answer on Stack Overflow, the program EasyTetherUSBEthernet can cause problems with ADB.
Running this in terminal, with a reboot fixed all my problems.
sudo kextunload -v /System/Library/Extensions/EasyTetherUSBEthernet.kextv

If you need to use EasyTetherUSBEthernet you can reload it using:
sudo kextload -v /System/Library/Extensions/EasyTetherUSBEthernet.kext


text:
Tablet does not connect to the hotspot
My Samsung tablet was working just fine. Now it does not connect to the Internet via our hotspot. It does not even scan and see the available connections. When I try to turn WiFi on, it turns ON momentarily and then again turns back OFF saying To see available networks, turn on wi-fi

What kind of hotspot are you trying to connect to?

This happened to me once and I just made a factory reset. However this did not work for a friend.


text:
Problem to uninstall AirDroid: Unfortunately, Settings has stopped
When I try to uninstall the app I got this message:
Can't uninstall because this package is an active device administrator.
In the same window I have a button: MANAGE DEVICE ADMINISTRATORS
When I follow this button I'm in Device administration settings. (normally you can reach it when you follow: settings -> Lock screen and security -> Other security settings -> Device administration settings) There are three items each of them have a switch on the side, which is turned on. When I try to unswich AirDroid, I got after some seconds the error message: Unfortunately, Settings has stopped. Also I'm not able to uncheck the other both items, but there is a different behavior.
I try to solve this error by cleaning the cash with no effect.
I like to remove the app because finally I don't need it and it consume a lot of battery even when I don't use it.
I have a Samsung XCover 3
with Android 6.0.1
and Kernel 3.10.9

Try disabling Find Phone permission before uninstall

@beeshyams thanks for the hint...where i find the find phone option? what is the normal purpose of it?

I wish I knew. Saw that here http://www.deleteaccounts.net/how-to-uninstall-airdroid-android-windowsmac/

The disabling Find Phone this has solved the problem! You must disable it within the AirDroid app.


text:
Android music pauses when using headphones
This started happening a few days ago but my phone stopped to play music (pausing) on headphones when I:

Screen off
Notification menu is pulled down
Opening all applications on the default stock launcher

Music plays only if the music app is in foreground or if I went to the launcher and not selected anything.
I am using custom rom but it stopped working on it after using it for over a month. I tried to update the rom to a newer one but it still doesn't work.
Music plays fine when not using headphones and just using the speakers.
Phone: Note2
ROM: temasek cm11 (http://forum.xda-developers.com/showthread.php?t=2596887)
Kernel: Devil's kernel (http://forum.xda-developers.com/showthread.php?t=2239453)
App: Apollo and Google music (same thing), pretty much every music application on Android

I had the same issue on my phone. Seems to be related to the launcher. This seems to be a KK Note 2 related issue.

I solved mine with a new faster sdcard.

I guess you use GEL? If so, it's because of it listening to "Ok Google". Turn off "Hotword detection" in GEL Voice settings and you'll be fine.

Well it fails to work in any other app and the notification menu and I was using stock 4.4.2 android, I don't think that was the issue.

Are your headphones defective or have a weak spot? You can try a couple of things, such as testing this on another Android device.
It could potentially be the ROM and its ability to detect headphones properly while doing different things (Multi-tasking in a sort of sense).
What you can do is go into Settings and turned Motion off. Sometimes it can sense movement and such and it'll pause accordingly. I'll look into this more but into l your next response, this is what I have to say.
Update
It is probably an Android 4.2.2 issue. You can downgrade, wait for an upgrade or perhaps install the 4.3 KitKat ROM.
Other options are trying newer/older versions of the Google Play Music software.

So after I played around with it, apparently it's 4.4.2 that has issues. I tried many variants of 4.4.2 on Android. I switched back to 4.3.2 and it was fine, I guess i will have to downgrade. :\

Now that you mention it, I most certainly agree. I remember having the same Google Play Music issues. You just reminded me. And perhaps you can wait for an  upgrade? I know there are 4.3 KitKat ROMS  it you're interested.

The problem seems to be related to a conflict between voice search from lock screen and music being played from locked screen. For me the following worked on Android 4.4.4 (tried and tested on OmniRom and CyanogenMod):

Go to Google Now | Settings | Voice | Select "Ok Google Detection"
Uncheck "From lock screen"

I have a similar issue with the Galaxy A10e. Only with me it's not when I'm multi tasking but when I have my phone in my pocket. The only thing that helps is messing with my headphone cord as if it was my headphones and no it's not my headphones because it does the same thing with my other headphones. It still does it after I turned of the motion setting.
It's really frustrating because I rather listen to my music than come across potential social situations on my way to work.

I got this problem and my Google play assistance open itself and music pause/skip on any kind of music player which I using. Samsung music/Spotify. And now whenever I use another headphone there is no problem. So before doing anything make sure your headphone or your phone socket is fine.

Disabling Google hotword detection fixes this issue in 4.4.4.

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


text:
Android update on Samsung Galaxy Nexus
I have Samsung Galaxy Nexus running on Android 4.2.1. When I run system update it outputs "Your system is up to date". How can I update Android to 4.3
EDIT:
Device's model: Galaxy Nexus (maguro)
Product code: yakjuxw
I'm considering to install CyanogenMod. Can you recommend good backup software.

That'll be your carrier holding that up. Where are you located?

Croatia, Zagreb

You have to wait until Samsung lets out their update with their added components, or flash a custom ROM onto it. I don't know how to do that, so I won't provide a recommendation. Depending on what network you're on, it may be a little while yet.
An article about that.

I'm on Croatian VIPnet network (part of the Telekom Austria Group)

it's a combination of your carrier and Samsung.

Segmenting off of what Matt Voboril said, you can go over to XDA Developers and learn how to unlock your phone (so you can tinker with it), install a new recovery (so that you can manipulate at the system level (backups, side-loading, installing new roms, etc.), and install a ROM with the latest android (4.4.2 ATM). If you are using Verizon's gnex, go here. If you have the GSM varient, go here. I would recommend anything that ParanoidAndroid, AOKP or CyanogenMod have to offer.

As the others have said, you have to wait. But it would help to know which Galaxy Nexus you have. Is it a GSM one or Verizon's Galaxy Nexus? I'm pretty sure Verizon has given up on updating that phone at this point. And regardless of which version you have, it won't be updated to 4.4 (see: https://support.google.com/nexus/answer/3468085?hl=en)
But as Zlatty said, you can always install a custom ROM. The plus side to this is the development community hasn't given up on it and have been getting updates out frequently. Plus, you lose the carrier bloat if yours is a Verizon or Sprint GNex. One word of advice to keep in mind if you go this route, though: installing a custom ROM will require a factory reset and has a whole process to go through. You'll lose any data you don't back up.


text:
What resets the battery stats
I'm looking at the "Battery" section under "Settings", and there's two major sections:

a graph that shows how full the battery has been over some period
Which apps have used the most battery power over (what appears to be) that same period.

There's a label between the two sections that says "Use since last full charge"
And I can't figure out what constitutes "full charge".
Things I've tried:
1. Not letting the battery get full. (thought it would be this simple a couple of months ago when I started this investigation, but it's not this simple)
2. Not letting the battery get empty (it seems to reset the stats more when the battery is low,
3. Time charging (it also seems to happen if it's a short or a long charge)
So, I guess what I'm asking is, "What is it precisely that resets the battery stats?"
Android is open source? Does this mean the code is readily available to look through? Where would I get started to try to figure it out myself? Is this kept in a battery library? Where's the source code for that?
Here's an example of when it reset at about 75%.

I'm running 7.1.1

On my Samsung devices (2 tablets and a phone), 90% charge,, something I experimented with early on, constitutes 'Full' and resets the counters. YMMV, based on your device.

"What is it precisely that resets the battery stats?"

Quoting from an old post by a Google engineer

....it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point)....

Relatively full is not defined AFAIK but from experience 90% charge does the trick of resetting it. IIRC on KitKat reboot also did that
Location of batterystats.bin file is /data/system/batterystats.bin

I can't point you to the code
Battery usage statistics in Android is poor though it has improved considerably in Oreo. Without specifying the Android version and an accompanying screenshot your question about interpretation cannot be answered fully, but here's an example. Suppose you charged fully (100%) and used only YouTube and Chrome till it dropped to 70%. In app usage of it shows YouTube used 60%, it means 60 % of the drop (=30%) is used by it. In outlet words, 60*30 =18% of battery capacity is used by YouTube. Similarly for Chrome and other  apps. The total will never exactly match up. If you install GSam battery monitor, you get more meaningful interpretation

I think I have to disagree, because mine resets at numbers much lower than 90%. I've seen it reset at 8% and 20%, for example.

I've added an image of my battery screen. I'm running 7.1.1

Well, I can't say why.  I have explained the standard behaviour. Explanation of statistics interpretation is the same

It will also reset itself at some point after the time since last charge displays at least 5 days. I have managed to get it as high as 8 days once, but it becomes very sensitive after 5, one wrong move like taking it off the charger with the screen off (still well below 90%), or even with the screen on i have seen it hang for 16s still saying it's charging, then suddenly reset itself as I watched

This answer is based on Android 9 (Pie).
I have been trying to find the answer to this question for quite a while. Preventing the battery graph from resetting has become somewhat of a game for me - a game that I lose if the graph resets.
If the battery charge reaches 90%, the graph will reset.  Typically the graph will reset as soon as the battery is removed, but it may reset before this if the charge reaches full.  I very rarely let the battery charge go above 80%, but this does not prevent a reset.   Under the chart there is text indicating how long it has been since the graph was reset.  Once it is reading more than a day, it does not seem to actually switch days based on when the graph reset, but from a fixed time in the day.  For instance, I once had the graph reset at 9:47a.m. but a few days later I notice it went from 4 days to 5 around 10p.m.
One the "days ago" value reaches 5, the graph may reset any time you take it off the charger, no matter what the charge state is.  The graph may also reset itself spontaneously while not being charged if the battery graph app gets killed.  Ironically, putting the phone in battery saver may make this more likely! I am still trying to determine the exact sequence of steps to prevent this, but it is slow because it takes at least 5 days until I can try the next experiment.  When I get more data points I will update this answer.
It is possible to prevent a reset for at least 8 days if all the conditions are right, as shown below:

Update: This is really frustrating me.  The battery guage will apparently reset even before 5 days has been reached, as early as 4 days, 9 hours.  Just taking it off power, with the screen on, seeing that it has not reset, and then turning off the screen for 5 seconds and turning it back on has led to it resetting multiple times.


text:
How to ensure that my Google accounts sync frequently?
Since I upgraded my S7 to Nougat I notice that the syncing of my google accounts is particularly slow.
If on a computer I create a calendar event, or I send myself an email, I often do not see that as an Inbox notification, or reflected on my Google Calendar widget, until I actually open either app.
I guess (but I am not sure -- how about push notifications?) that this is related to the Google Account syncing being too slow, see attached below ("Sync Calendar", "Sync Gmail" and "Sync Inbox"), taken on 6/20 8:15am.

The things I already tried:

I do have continuous internet, tried switching between WiFi and 4G
mobile internet, all work. I receive near-real time notifications for e.g. WhatsApp and Slack.
In Settings > Apps > Special Access > Optimize battery usage, I added the below to "not optimized":

Calendar
Calendar storage
Gmail
Google Play services
Inbox

In Settings > Device maintenance > Battery > Unmonitored apps, I added

Calendar
Inbox

This might sound silly but  did you try turning the phone off and on again? If the Google Cloud Messaging service got broken in some way that might start it up again.

@DanHulme not silly, fair point and I wish that was the case, but even after a restart my sync times are a few hours behind.

@DanHulme You know what, you were right in a way -- while turning the phone off and on did not help, turning sync (in the notification area) off and on did -- so while I am still puzzled by what caused this, the issue is gone. I wonder if I should delete this question now as no meaningful answer is expected.

No, don't delete the question because then the information is lost to any future visitors. You should write what you did as an answer.

You can try to force account sync by manually resetting the time.

On your device, open the Settings app.
On "System", tap Date & time.
DisableDate & auto time and Automatic time zone.
Change the date and time manually to be incorrect.
Tap the Home Screen button.
Reopen the Date & Time settings.
Change the date and time manually to be exact again.
Activate Automatic date & time and Auto time zone.

To do a one-time sync, i can just switch that sync off and then on again. But what I need is the sync to continue in reasonably frequent intervals, or push notification.


text:
Sound Recorder not playing back
After recording several hours of music on my ZTE android phone , using the phone's mic placed next to a radio and utilizing the 'Sound Recorder' App , I tried to play it back later that day and got the error message "Unable to access storage space".
  I was using an SD card as storage so I switched to Phone Storage and got the same message.  Tried again using phone storage and was able to play back my recording.
  Seems to be an intermittent problem but I can't be sure.  I've done this before and never had this problem.  I hope this enough info because that pretty much explains the issue.  If there's anything else that's needed , please let me know.
  Thanks in advance for your help.
 Mike

You need to give more details before anyone can understand your problem. What app were you using to record the music, and what steps did you do to try to play it back?


text:
Android 6.0, backing up SD card before reformatting
I use Vodafone Tab Prime 7 (Android 6.0.1; hardware remotely based on Alcatel One Touch) with 32GB Samsung SD card (almost 30 gb full). I was using in for a few months but now with all my apps installed (many of them moved to SD card), my android started to be rather slow and it often happens that it restarts on its own or gets stuck with apps that are on the SD card. I want to reformat my SD card (and in the same time clear some garbage) but I do not want to lose my apps (nor I do want to install them all over again, there is many of them). My plan is to move all the files on the SD to a computer, but because the SD card is formatted as an internal partition I am not able to do that.
What is the best way to back up all my data on SD card, and put them safely back after I reformat the SD card (which I suppose will fix half my problems, correct memory errors atp.)?
Can I simply copy them via Android-PC usb connection? (I am not sure if it will copy all the necessary data). And if I would somehow set the sd card as external, copy all the data to PC, would there be a way how I could put all those data back after reformatting the card?
I will probably figure it out somehow, but I would like to know more secure ways of doing it.

What means formatted as an internal partition?

Or 'formatted to be used internally'. My tablet and many others offer a possibility to format the SD card that way so the device could use it. Its not optional.

So you speak about regular formatting by the means on tablet. Why don't you able to do backup to PC? I mean copy to PC->format->restore from PC. Any error?

I gladly would if PC would in any way recognize the SD card formatted specifically for internal use. Its not visible (unless reformated as to be used externally as a regular data storage, which would delete all my data).

How do you format internally and to be used externally? Describe the menu path you use in both cases.

When inserting the SD card to the tablet device, the device writes smth like: In order to use the sd card as an internal storage …

http://www.theandroidsoul.com/wp-content/uploads/2016/06/sd-3.png

Ok, I assume under internal system means ExFAT filesystem, and under portable it means simple FAT32. So the card is not visible to PC neither via card-reader, nor when the phone connected by cable?

Thanks for the info. Card is not surely visible via card-reader. When connected by cable, as a write in OP, some contect is visible, but I doubt that its all (I will check) and I am not sure if it can be copied this way directly, and then copied back (for example if it copies all files required for it to work again after reformating). I want to be sure that it works before I give it a try. Thats a part of my original question.

Try to install DiskInfo and tell me the exact filesystem on your card.

So far DiskInfo does not show the SD card. I will look into it later today. So far I found this topic, something in it could help. http://android.stackexchange.com/questions/134230/sd-card-not-showing-files-when-connected-to-pc  http://android.stackexchange.com/questions/38745/check-and-fix-sd-card-errors-within-android-itself

As you state that

some content is visible, but I doubt that its all

I assume that by the means of tablet your card is visible and accessible. You doubts about incompleteness of displayed files are groundless, because usually most of the app data is hidden, that's why you don't see it.
I see two solutions here:

Install TWRP or any other custom recovery which allows doing full NanDroid backup.
Steps for making backup in TWRP are quite simple and described in many tutorials, e.g. this.
Gain root on the tablet (if not having already) and make manual partition backup via ADB.

After you set up ADB and gain root access, you can make backup with:
adb pull /dev/block/mmcblk0

and restore it with
pv mmcblk0 | adb shell dd of=/dev/block/mmcblk0

where mmcblk0 is the name of your card, which can be taken from the DiskInfo, for example.
You should decide which approach is simpler for you.
P.S. I highly doubt that reformatting card will fix your errors and memory issues. Their cause seems to be in installed apps, not in filesystem.

Thank you for the extended description. I will look into it. Concerning memory errors and crashing, it happens from time to time with any app that is moved on the sd card. (It was not happening few months before as often as now. I get random notifications like "app X stopped working", and its really arbitrary.)

I took the common user approach. Uninstalled most apps manually. Slowly completely reformatted the SD card, installed apps again. Works splendidly for now, no crashes. I hope that these more advanced guidelines will help others with similar needs.


text:
Locating ARP cache on an android device
If you are familiar with the command prompt in windows, there is an command that can used to see the ARP (Address Resolution Protocol) Cache in the command prompt i.e. arp -a. It is supposedly a table where static/dynamic  MAC-to-IP address associations are stored.
In android 5.1 is there a similar ARP cache also? If there is, how can I view the current list of Mac-IP address associations lets say using a Samsung Galaxy phone for example?

I can't test this now, but the file /proc/net/arp should contain the information you look for. You can read it with any proper file manager or Terminal Emulator (use cat for reading the file). You don't need root to read that one file.

I can't find /proc/net/arp in my phone. How do I access it?

Another possibility is the command ip neighbor. It lists all IPs and MAC addresses in the neighborhood.

How do I run "ip neighbor" command using Java code on Android App?


text:
How format nexus 4 before flashing new ROM
I have a Google Nexus 4 (mako) and I had installed cyanogen mode which accidentally showed a loop error message like "... has unfortunately closed" telling that several google apps and wizards had been closed.
What I tried to DO:
Now I want to re-install cyanogen. Because cyanogen is outdated I decided to flash the latest lineage ROM. My recovery (CWM version 6) is still unlocked, so I decided to do the fallowing:

Turn off the device
Go into boot loader mode by pressing Volume down and power and selecting to start recovery mode.
Wipe Data / Factory Reset
Enter side load mode and install lineage:
adb sideload lineage-*.zip
Reboot.

After that lineage os booted and showed the same errors than my old cyanogen ROM. There are even error messages regarding some google apps, although they are not installed.
Possible solution:
It seems that the wipe data / factory reset did not delete the whole cyanogen mod. It seems just to delete user data. I think I need to format the whole device. Last time this maybe was done while unlocking the boot loader.
Question:
How to format Nexus 4 before flashing a new ROM.

Get your concepts right - recovery and bootloader are 2 different things.

Oh, ok, I read about the different and edited my question above here:  http://stackoverflow.com/questions/31158021/difference-between-fastboot-and-recoverymode-in-android#36739040

CWM is long dead, let it stay that way.
You are advised to use the latest TWRP recovery, which has an interactive graphic interface, has a more powerful and thorough wipe function, and has an inbuilt file explorer so that you could just look inside /system to see if the wipe indeed worked (don't forget to mount /system before looking in, though).
After installing TWRP, select Advanced wipe: /data, /cache and /system. Actually it shouldn't be necessary to wipe /system, since newer Android ROMs overwrite the whole /system partition, but since you claim you need a full wipe, this will do.

Its dead? Ok, I'm going to flash TWRP.

Ok TWRP is done now I have this wonderful graphic interface. May you could now answer my question, how to format the device properly? TWRP offers an advanced wipe section, format data and Factory Reset...

Advanced wipe: /data, /cache, /system. Actually it shouldn't be necessary to wipe /system, since newer Android ROMs overwrite the whole /system partition, but since you claim you need a full wipe, this will do.

OK, thank you. Lineage and Gapps are now installed properly. Nevertheless some data like Music, Pictures and old Downloads are still on the device.

Unless you explicitly choose "internal storage" when wiping, recoveries are never supposed to wipe it, for obvious reasons.


text:
Android Custom ROM Missing “Add Google Account” Option
In the customized Android system, all pre-installed google apps are missing and it's not allowed to add google account. I downloaded the Gapps from http://goo.im/gapps, but I cannot install the apps due to signature issue
Is there other possible way to retrieve the "add google account" option back?
Thanks
Update:
I wasn't aware that I need to push the Gapps into /system/app to avoid signature problem. When I did, it works!

That's pretty normal for (almost) all Custom ROMs: They are not permitted to include Google Apps. GApps are proprietary, and to ship them bundled with anything requires an explicit license from Google.
However, Custom ROMs come rooted usually. and also usually, you (at least in most cases) have a custom recovery when installing them. So if you feel you need a way, you've got two choices primarily:

pick the GApps package corresponding to your Android version from Goo.im, and flash them via your custom recovery, or
head over to XDA and check for the NOGAPPS packages if you prefer an open-source replacement

Google Apps (Gapps) is the only way to sync with Google. Whatcustom ROM have you downloaded, and which device do you own? Try to find Gapps installation somewhere else.

I built my own ROM from the source code. And I am using Nexus 4. I wonder if I need to add something into the source code before re-compile

If this question is about programming, try to ask at StackOverflow (I know that SO don't specialize in Android Dev, but they have the "android" tag.)
Alternatively, you can try to ask in XDA-Developers, great forum.


text:
Open 4 fixed files in a tab in file browser via tasker
I have 4 file in a directory (path fixed). I want to open (and maybe edit as well) them like a tabbed file browser using tasker.
Is this possible?
For 4 files   A,B,C & D what I am looking for is:
 ____  ____  ____  ____
/_A__\/_b__\/_c__\/_d__\
|                       |
|Content of A when A    |
|is tabbed, and so for  |
|B,C,D                  |
|_______________________|

Kindly help
Update
While I am trying, with help from many videos, I have reached:
Scene: File browse
P:627x1154L:-1x-1
Element: Menu1/Menu
Geometry:
P:29,156 568x321 L:-1,-1 -1x-1
Content:
Source: Manual
Variable: %File_list
Selection Mode: None
Item Layout: Builtin Item Layout
Horizontal Space: 0
Vertical Space: 0
Events:
ItemClick: 31
Items:
1. Label: F1 Action: Open File [ File:Android/data/com.dropbox.android/files/u46826766/scratch/ToDo/Family.txt Mime Type: ]
2. Label: F2 Action: Open File [ File:Android/data/com.dropbox.android/files/u46826766/scratch/ToDo/WeekEnd.txt Mime Type: ]

but no idea about:
1) how to get a tabbed view
2) how to actually open the content of those file.
It currently looks like: https://drive.google.com/file/d/0B02WblgE6NEvS292M1liRW1lS00/view?usp=sharing
Which is not at all what I am looking for.

What kind of files? What app do you want them to open in?

Those are plain text file,  i generally open them using  file manager  (https://play.google.com/store/apps/details?id=com.rhmsoft.fm&hl=en)


text:
How to recover a System partition that won't mount
A relative of mine brought me his Galaxy S4 Mini GT-I9190, which is stuck at boot. When I boot into recovery it gives the error Failed to mount /system (invalid argument).
How can I dig through the file-system of an android phone which doesn't boot, except in Recovery? The goal is not to flash it but to recover the data if possible.
I don't mind rooting or flashing, but I don't want to overwrite the system partition that may still have the valuable info on it. I've managed to install clockworkmod according to these instructions.
Is there a way to mount it, or expose the raw device to USB, or just back it up to SD, without overwriting it?
EDIT: Now I have Clockworkmod installed. Trying to use it to make a backup of /system. It fails to mount /system with the message:
mounting /dev/block/platform/msm_sdcc.1/b/system on /system failed: Invalid Argument
W:failed to mount /dev/block/platform/msm_sdcc.1/by-name/system (File exists)

EDIT 2: with ADB shell I looked into /system, found an empty folder called bin and removed it. Now mounting /system fails with a longer error:
Error mounting /system!
W:failed to mount /dev/block/platform/msm_sdcc.1/by-name/system (File exists)
I:Can't partition non mmcblk device: /devices/platform/msm_sdcc.3/mmc_host

Mind me asking, how did this happen? Why are you booting into recovery anyway?

It's stuck, won't boot any other way.

Right, how did it get stuck? :) Were you attempting to install CWM or attempting to root?

@tomnexus I've just integrated the information of your last 2 comments into your question (please remember you can and should always [edit] it to make important information part of where it's seen ;) So you might consider deleting those comments for a clean-up. // as for the error: I'm not 100% sure, but it looks like the directory /system is not empty, and that's why mount fails. When in recovery, can you try to verify that – e.g. using adb shell to ls /system?

figured out ADB and logged in. ls /system showed one empty folder called bin inside. I removed it with rmdir bin. Same error trying to mount the folder. New error in the logs (above)

Sounds like its hosed, need to get [tag:odin] and samsung firmware to reflash everything...

Yep, that's what I did in the end. Device working! Small troubles with CountryCodes which went away with Samsung's Kies after a while. Thank you for the ADB hint though. I mounted the SD and copied the partitions one with dd, so I should be able to mount them later.

My not-so-great solution ended up like this:

ClockWorkMod, installed with Odin according to the instructions (Odin seems to be slightly un-official so you're unfortunately always downloading from someone's Box or google drive, which is a bit uncomfortable)
ADB shell, (on PC: install java SDK, install android development kit)

Mount the SD card with CWM
In the shell, using DD to clone the unmountable partitions I wanted onto the SD, for later recovery
using CWM to mount the SD as a USB drive, moving the piece-of-partition to the PC
Repeat

Download fresh firmware from Sammobile and flash with Odin
Scratch through the partitions with a hex editor, to find the data I needed. Fortunately this was just text, things like pictures would have been harder.

A few features were still not working, WiFi for one, so the phone had to go back to the shop to be flashed with official firmware. At least it had the official bootloader on it at that stage, not CWM.

I'm in the same situation, but i didn't make it pass step 1 :), probably because i didn't have USB Debug active at the moment of failure?

This wasn't in any debug mode, it just stopped working. Some sort of very rare memory corruption I guess. It probably depends on what exactly went wrong, whether you can even enter recovery mode or not. In my case the fault was only in the main partition. Sorry :-/

I just ran into this issue and my fix was flashing TWRP and using their partition file system correction tools. I used rashr to replace CWM recovery with TWRP and after the fixes from TWRP, I was able to flash ROMs again.

Just enter into fast boot mode and connect my mobile with PC
Just flash the same ROM, Which I have already have in my mobile (I haven't done "erase userdata")
After flashing the ROM, Reboot my mobile
I got all apps and datas.
Also, I connected my mobile with PC, now its detected the internal memory of my mobile, here I can copy the required pictures and data to my PC.


text:
How do I block an app from ever installing in Android 12?
There is one notorious app. That gets installed every now and then. How do I stop it from happening in Android 12. Is there a way to block it from ever installing from google play store?

If an app that uses the same packageName but a different signature app installation should be blocked. You can try to build a simple "hello world app" using the same packageName as the app you want to block or you could try to edit an existing app of small size you decompile with apktool, change the packageName in AndroidManifest.xml recompile it, sign it using a generated custom signature key and the install it on your phone.

Turn automatic update off in settings

This may stop updating existing app, but doesn't prevent installing the app if it's not yet installed (e.g. after uninstallation).

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


text:
What does the "Dual-band Wi-Fi" option do?
On my Zenfone 8 running Android 13, what does the setting for "Dual-band WiFi" do? It's located under Settings > Network & internet > Internet.

Without dual-band setting enabled is your device able to list any Wifi which is operating on 5 GHz frequency? This setting  might have to do with that.

The dual band WiFi mode allows you to be connected to two different WiFi networks at the same time. You can select a Primary network and a Secondary network as fallback.
Technically it isn't the correct terminology, it might seem to have something to do with the 2.4/5GHz bands, but it doesn't.

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.


text:
How to prevent Android from booting into Safe Mode?
I'm hoping to remove access to Safe Mode on my own device. I want to explore the possibility of making it more difficult to circumvent self-restriction apps such as the popular AppBlock app (and things similar to Focus mode found in Digital Wellbeing by Google).
Is it possible to prevent access to Safe Mode?
I do not have a rooted device but I am open to rooting it, if necessary.

If you know Android app development you can create a Device Policy Manager and setup this policy in it: https://developer.android.com/reference/android/os/UserManager#DISALLOW_SAFE_BOOT

I don't know Android development, but policies and what you referred to sound like the mechanism to make this work. I think that means I should look into remote admin tools that utilize policies. This would provide the effect of disabling safe mode. As I'm writing this, I'm not sure why I didn't consider that earlier. Thank you.


text:
What URL does a homescreen shortcut contain?
I want to make shortcuts to OneNote notes on android in a certain folder (not app launcher folders, but folders visible in a file manager app). To do so I want to create a .url file containig the link to the note. Unfortunately, it is not possible to share notes with OneNote, thus I have no idea how the links look like.
I was given the idea to enable developer mode on my android device and then to check the logcat while tapping the Android home screen shortcut. This should reveal the full Intent which contains the link of the note. I tried to do so but I don't understand the android developer mode.
Is this a possible way to find out the link of a shortcut of the home screen? Can anyone who succeeds in this share a OneNote home screen shortcut link? I would like to know the link format so that I can make those shortcut link files by myself.

What I mean by "link format": For example, I figured out that simply adding ?si= at the end of a Spotify web link opens the app. Compare https://open.spotify.com/track/3Bp8X5z1jgq7HS0tCr0liJ which opens the song in browser to https://open.spotify.com/track/3Bp8X5z1jgq7HS0tCr0liJ?si= which opens the same song in the app. I hope there is a simple solution as this for OneNote: Once I know the differences in format I can easily make android shortcuts from web links.

I don't think you'd have success with OneNote's note shortcuts. They are dynamic app shortcuts. They are managed by system itself. The shortcut info is shared with the default launcher app which only knows shortcut id. Even with shortcut id, a user using ADB (am start) cannot do a thing. I tried it. Didn't work.

Here's what I tried: am start-activity -n com.microsoft.office.onenote/.ui.ONMSplashActivity -c com.android.launcher3.DEEP_SHORTCUT --es shortcut_id pageLocalId where pageLocalId differs for each shortcut. For a demo note it looked like this: am start-activity -n com.microsoft.office.onenote/.ui.ONMSplashActivity -c com.android.launcher3.DEEP_SHORTCUT --es 'shortcut_id' '{77A73696-E1EA-644B-9ECE-AEC247F25549}{1}'. Nevertheless, I didn't get anywhere with this.

@Firelord Is this here of some help in this situation: https://android.stackexchange.com/questions/231799/create-a-widget-shortcut-to-an-app-url/233199#233199 ?

No. The answer is not relevant. // You could ask at [so] "how to correctly launch an intent that has shortcut id of a dynamic shortcut".

Links formatted like `onenote:https://[linktonote] will open in the OneNote app if clicked. I was able to create a link and follow it both via clicking in a document and with a Task top open it (created with Tasker) linked to a home screen widget. I don't know how these would be selectable via a file manager app though. Unfortunately, you can't generate these links from within the Android app it seems, I had to right-click a note in the Desktop app and select "copy link to page," then get that to my phone.

@jlehenbauer This sounds amazing! Unfortunately, this is not the case for me.. I made another question about that issue. Maybe you can have a look? https://android.stackexchange.com/questions/251524/how-to-change-what-links-open-a-specific-app Thanks!


text:
Secure phone against a custom firmware being flashed remotely

My phone restarted extra long for no reason and now the firmware is different. It shows up as generic android device not moto g pure. Can I encrypt the hardware to prevent this in the future?

Is it possible that you accidentally installed an GSI image?

The image I posted comes from the star code menu. I think the girl who had my phone took a screenshot and when I got home someone ran possibly remote fastboot. I'm not sure but it happened to 2 other phones too. I have not flashed anything since the days of snow breeze redsnow and ultra snow and greenpoison and that was all ipod touch

I don't know if this was a deliberate question or you are just confused on what you did.
Entering *#*#4636#*#* in the Phone app brings you to this Testing page where you can check all sorts of info regarding your phone like Wifi, NFC, Usage, Phone info, etc.

Here are some other codes you can try

Phone information
##4636##

IMEI Info
*#06#

Calendar
##225##

FCM Diagnostics
##426##

Engineering Mode
##2486##

Regulatory information
*#07#

Source


text:
Unknown Bluetooth pairing requests
I have a Samsung Galaxy Note 4 that is receiving unknown bluetooth pairing requests with a confirmation code every 60 seconds. I do not know what this device is, and I don't want to have to cancel these numerous requests. I use the bluetooth for my car and also my ASUS Zenwatch, so I don't want to have to turn off my Bluetooth all the time. My Bluetooth is only visible to paired devices, and this request from "Sparrow" does not show that it is one of my paired devices. I had my bluetooth turned off all weekend thinking it was something close to my house, but it has continued today even though I am not at home. Is there any way to block these requests without having to reset the whole phone?

Possible duplicate of How can I ignore an incoming bluetooth connection/pairing request? Major Android Flaw

Although it's kind-of the same question as the linked duplicate, I'm not voting to close because the other question was resolved by identifying the mystery device out-of-band.

I had the same problem Sparrow is your Zenwatch


text:
Install GApps without flash it
I know we can download it in a zip format in order to flash in recovery mode, for exemple from opengapps project.
What are others solution to install GApps on any android device without to flash?
Edit : without root and without flash
GApps : Google applications + Google play services and framework

What else are you expecting instead of flashing?

If you want to install without modifying /system then it's impossible. But if you simply wany to DIY without using a custom recovery, it's OK.

@esQmo : In others words, how to have GApps when recovery is missing and the device is not rooted.

If you want to install without modifying /system then it's impossible. So the answer is "No, you can't" with neither root access nor recovery flashing. But if you simply wany to DIY without using a custom recovery, it's OK.
Takine OpenGApps as example. Download their ZIP and extract it.

Install BusyBox
Use busybox lunzip to extract the .tar.lz files in Core/
Move files other than APKs to /system. You will find things to be merges into etc/ and framework/. Take care of file mode (permissions) and owner/group.
Install GoogleServicesFramework.apk as system app. In my experiments it sometimes fail if not installed as system app.
Install the rest of the APKs as normal.

You can't install GApps without modifying /system. As you see, there are quite a few configuration files that will be merged into /system/etc during installation, and a few essential framework JARs to be installed to '/system/framework. They won't work if installed elsewhere.

It seems to be a solution with root access. I edited my question to add without root.

Google for play services framework and play store APKs (hosted third party) (I believe running the play store will install/update the framework, so that might be the only one you need), then install the rest of them from the play store. If you're rooted, titanium backup can try to convert some of them to system apps.


text:
How to block all wakelock and wakeup events of Google Play Services running Android 4+?
Android 4+. With some apps as betterbatterystats, I identified that many wakelock of Google Play Service is eating my battery when my device is in deep sleep. I already study this phenomena further, with many tests and apps. There is no doubt on the root cause. Now, and I wish to block all wakeup / wakelock events of Google Play Service. How to do this on rooted device ?

Have you tried Greenify to cut wake-up paths?

Your edit now makes my answer irrelevant. No problem with that but please do remember to give all details in future so that efforts are not wasted by you and potential answerers. Deleting my answer. All the best

Remove Google services? Flash a custom ROM that does not contain Gapps, and do not install any Google services or Gapps package.


text:
PLEASE HELP Moto G4 fastboot broken
I wanted to fresh wipe my phone with a stock ROM, and well I really messed up. My bootloader was  unlocked, and like the stupid me I am, I believe I accidentally locked it again. Now, when trying to re-unlock it using
     fastboot oem unlock UNIQUE_KEY

I get the error:
     (bootloader) invalid boot state

That would be fine, if
I could boot up; when I boot up, I get a "start up failed" on my device. The absolute worst part is that I cannot flash anything, not even the stock ".img". When trying to flash anything, I get the error
    target reported max download size of 536870912 bytes
    sending 'recovery' (13798 KB)...
    OKAY [  0.468s]
    writing 'recovery'...
    (bootloader) Image recovery failed validation

    (bootloader) Preflash validation failed
    FAILED (remote failure)
    finished. total time: 0.530s

Any help would be greatly appreciated! I hope I can get my phone back and running again soon, thanks!

P.S. my fastboot getvar all returns :
    (bootloader) version: 0.5
    (bootloader) version-bootloader: moto-msm8952-B1.05
    (bootloader) product: athene_13mp
    (bootloader) board: athene_13mp
    (bootloader) secure: yes
    (bootloader) hwrev: P2A
    (bootloader) radio: 1
    (bootloader) storage-type: emmc
    (bootloader) emmc: 16GB SKHYNIX HAG4a2 RV=08 PV=E4 FV=00000000000000E4
    (bootloader) ram: 2GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=1F
    (bootloader) cpu: MSM8952
    (bootloader) serialno: -----
    (bootloader) cid: 0x0032
    (bootloader) channelid: 0x8d
    (bootloader) uid: BC936D0100000000000000000000
    (bootloader) securestate: flashing_unlocked
    (bootloader) iswarrantyvoid: yes
    (bootloader) max-download-size: 536870912
    (bootloader) reason: Volume down key pressed
    (bootloader) imei: -----
    (bootloader) meid:
    (bootloader) date: 10-30-2016
    (bootloader) sku: XT1625
    (bootloader) battid: SNN5970A
    (bootloader) iccid:
    (bootloader) cust_md5:
    (bootloader) max-sparse-size: 268435456
    (bootloader) current-time: "Mon May 23 20: 8:35 UTC 2016"
    (bootloader) ro.build.fingerprint[0]: motorola/athene/athene:7.0/NPJS25.
    (bootloader) ro.build.fingerprint[1]: 93-14-4/4:user/release-keys
    (bootloader) ro.build.version.full[0]: Blur_Version.25.201.4.athene.reta
    (bootloader) ro.build.version.full[1]: il.en.US
    (bootloader) ro.build.version.qcom: LA.BR.1.3.6-01710-8976.0
    (bootloader) version-baseband: M8952_70030.25.03.62R ATHENE_RETUSA_CUST
    (bootloader) kernel.version[0]: Linux version 3.10.84-ElementalX-G4-1.04
    (bootloader) kernel.version[1]:  (aaron@bella) (gcc version 4.9.4 201506
    (bootloader) kernel.version[2]: 29 (prerelease) (crosstool-NG 1.20.0 - L
    (bootloader) kernel.version[3]: inaro GCC 2015.06 - Cortex-A15) ) #1 SMP
    (bootloader) kernel.version[4]:  PREEMPT Sat Mar 11 14:16:55 EST 2017
    (bootloader) sbl1.git: git=MBM-NG-VB1.03-0-ge433b40
    (bootloader) rpm.git: git=a970ead
    (bootloader) tz.git: git=119e5b2-dirty
    (bootloader) hyp.git: git=119e5b2-dirty
    (bootloader) keymaster.git: git=119e5b2-dirty
    (bootloader) cmnlib.git: git=119e5b2-dirty
    (bootloader) aboot.git: git=MBM-NG-VB1.05-0-g8a1de8c
    (bootloader) qe: qe 0/1
    (bootloader) frp-state: no protection (75)
    (bootloader) ro.carrier: retus
    all: listed above
    finished. total time: 0.206s

Your "Invalid Bootloader State" is because your device is already unlocked. You cannot unlock it again.
Moto devices do not support downgrading officially. Preflash Validation is an error that means the images you attempting to flash is older than what is already installed. You need to flash an image that is at least version NPJS25.93-14-4 or newer. A good source for Moto firmware images is firmware.center at https://firmware.center/firmware/Motorola/
Inside the image is a file called flashfile.xml which will contain the steps necessary to properly flash the image with fastboot.


text:
Samsung Touchwizz: disable alarm control with physical button
I'm the happy owner of a Samsung Galaxy S4 mini Duos, and that fantastic phone comes with touchwizz, probably one of the most horrible android version I ever see.
But I'm not here to insult Samsung, when you set an alarm and it rings if you have the misfortune to type one of those insulting word volume rocker button it just turn off your alarm without snoozing it.
My question is then, own can I disable forever that behaviour who is to me like one the most annoying ever on this phone and probably on any touchwizz rom ( the first being the profanity checking on Samsung keyboard that can't be avoided )
If it can in fact disable any physical button control on the alarm that would be fantastic.
And please do not try to tell me to install another alarm app that's not what I want.
Edit 1: If it means modifying system file with root access I'm interested though.

"please do not try to tell me to install another alarm app that's not what I want"... Emmm. I do feel your pain, but it's the only way I can find. If you don't want to install an app, you probably don't want to install a new ROM then? I've gotten rid of touchwiz on my S4 and I would never look back! If you are rooted WANAM XPOSED may help also as it has modules to tweek nearly everything in touchwiz / android.

The S4 mini DUOS does not have yet any rom and I have try any update to get ride of a bug in touchwizz and Now I locked with knox flag, but the first day a real alternative to that ^µù^µùµ^µ^ touchwizz exist I leave it, or I'm seriously considering to sell my phone also.

Knox is an absolute pain alright, it's up to you if you want to 0x1 it. But for the sake of this one issue, I'd say just bite the bullet and get another app for it, for now. I know it's not what you want, but if it solves the issue it might be worth it. Have a read about Wanam Xposed and see if there are any modules/tweaks for the Touchwiz alarm. It's a great thing to have, if you have a rooted phone and allows a HUGE amount of customisation without the need for another ROM. I can't find an alarm tweak here but I'm runnign Stock 4.4.2 (Kitkat) on my S4 at the moment so no Touchwiz!

Well as stated before I'd love to uninstall that **** stock ROM but there's none and even rooting is not possible without voiding that £$^%ù flag. I don't want to use another app because I add so much problem in the past with them like battery drain, not ringing alarm well nothing's more reliable than stock app for a "based on hour" app.

Yeah I hear you. I rooted despite knox as it's my device and I'm not letting a flag determine what I do on it. But obviously that's a personal choice. Many 3rd party alarms are a bit dodgy, but you're kind of trapped then.

Ok, Google have bought Timely alarm clock and it is now free on the play store. That might be a compromise, as it is now an official Google App. https://play.google.com/store/apps/details?id=ch.bitspin.timely&hl=en_GB

Well, it does look like a reliable app, I'll give it a try if it's reliable enought I could aware that answer.

authors: ابن الحجريه تعز


text:
How to watch Youtube with screen off on any Android without a Youtube Premium subscription
How can I listen to Youtube with my screen off without a Youtube Premium subscription

Possible duplicate of How to play a YouTube clip in background/minimised?

@firelord - Although your linked question addresses both aspects, there are apps that play youtube with screen off but not minimized (while using other apps).

A simple method is to use Firefox for Android.
Once installed, install the extension Video Background Play Fix
Go on youtube.com and enjoy your best video/podcast/music screen off.
You also can add ublock Origin to Firefox to block any advertisement as well.

There is a solution,
if you want to listen YouTube song even when your android phone is locked. To do that you have to use chrome browser in android phone. Open YouTube in chrome browser and request as Desktop Site and search for the song which you want to listen then minimise it. The song will be paused then, from the notification you can tap on the play(▶). By doing this you will be able to listen YouTube videos in your phone even if it is locked.
I hope this will help you.

You can download: YouTube Vanced. I am using this app myself and it works like a charm. You can also turn off the screen and still hear the music playing.

I think HBTube is the best answer for your case at the moment. You can see my question here.
After few days used it, I want to share it to everyone. It allow to download video from multi-channel like Youtube, FramaTube, Media CCC or audio from SoundCloud.
You can do other tasks while watching videos on Youtube, learning on Media CCC or join conferences on Media CCC. Even it allows play music with screen off.
I hope this will solve your issue.
Best regards,
Lee

What is your affiliation with this app? You seem to have been promoting this app in both question and answers. Promotion is acceptable only when affiliation with the product is fully disclosed wherever the product is mentioned, and when it indeed answers the question.

Sorry mate, I'm Magento Developer. You can see my profile here: https://magento.stackexchange.com/users/75587/bachlee89 . I don't promote this app. I'm just want to share everything I think it's useful for every one. I do not receive any remuneration from this application.

Seems like a nice option, but I won't use a small app that isn't opensource without knowing a bit about who make it and how.

OGYoutube can play with screen off.
But oddly it cannot play while minimized, which means you can only listen when not using the phone with other apps.


text:
Found this info in my Google doc app not sure how it got there
I found this information in my Google documents app. I am not sure how it got there. I am wanting to know what it is and what is the meaning.
Log_1522393200000.txt
2018/03/29 21:13 screen w,h,d=480..792..1.5
2018/03/29 21:13 GetAppRunNum
2018/03/29 21:14 InCallBaseActivityOnResume
2018/29/03 21:14 InCallBaseActivityDisplayResourse
2018/03/29 21:15 OnDerstroy

How exactly did you find this information in the app? Was it in a document?

I think I know what it means but it was just in my document app out of nowhere


text:
Does Android use a VPN in background when connecting to Exchange?
i use Android 2.3.6 stock. I am new to Android.
At work we have a MS Small Business server, it has Exchange for e-mail.
With my laptop (Thunderbird), i can only connect to IMAP if i have a VPN connection to work.
But my android phone can get my email without a VPN connection. But that is not allowed in our firewall! How can it be?
Now the VPN has the same credentials as the email itself. This is probably the way it always works on MS small business server.
I am guessing that Android is so smart that it tries to make VPN connection with the given email credentials when the connection fails initially.
Is that so?

Android doesn't do that (nor do iOS and others).
IMHO it's not smart to automatically try to do such a thing. It's just a coincidence that your credentials are the same for both those very different things.
Exchange credentials and VPN credentials should really be not the same to begin with (for obvious security reasons).

Surely with Active Directory and a primarily Windows Server based network this (the credentials being "identical") isn't unlikely at all?

Maybe, right. I find this a bigger security concern than having 2 separate credentials for both. I'm used to PKI based VPNs personally and my company doesn't do it either to be able to lock out individual devices independently from changing the LDAP credentials. There's still left the endpoint which you cannot derive from Exchange settings, right? after all the exchange server in the OP's case is not publicly available, cause the VPN is needed to connect to it internally.

For the record, I totally agree that this [auto-magically connecting via VPN] is not something Android does.


text:
Install application without Google Play
I made an application, and I want my friend to install it from a link, but the apk file cannnot be installed on the Android phone. He has to use some file explorer to install it. But I see many apps can be installed from a link and installed directly without using the file explorer.
What should I do to my APK? Is it a signature problem?

This is most likely a programming question. Please see this related question in StackOverflow: http://stackoverflow.com/questions/3062685/download-and-install-apk-from-a-link

@geff_chang Installing an app from a link is one thing, doing so programmatically is another -- I don't think the latter is the case here.  Tianhui, I think it probably depends on his device or browser.  What happens when he clicks the link to your app, does the browser just download it?

@MatthewRead I am using play framework, browser just download a APK file.I signed the APK, but I still cannot use the web browser(original browser) to install it. I think the problem is my APK file or server.

Normally phones should be able to install apps even if they are not signed. Normally your friend should be able to install your app. I was able to download the application, and I could also start the installation from the link.
Make sure that your friends phone has 'unknown sources' enabled in the security menu (enable Settings > Security > Unknown Sources). Because otherwise it will also not work (without using Google Play == unknown source).
No offense though, but I didn't test all the way through the installation, because I don't trust it well enough and I have no idea what the app actually does. For all I know it is a virus ;-)

thank you for your answer, I have tried to make my application to be signed, but the problem still remain. I saw this http://www.droidforums.net/forum/tech-issues-bug-reports-suggestions/2061-content-not-supported.html

And change the sever 's setheader from Content-Disposition to text/plain , but the problem still remain. I try to use other broswer, such as firefox, the problem solved. But I see some other APK could be installed from the web without using firefox. I think there is some thing wrong with my APK or Server.

@TianhuiYang If Firefox can install it then the problem shouldn't be with the APK.

You can try to send the apk. file via bluetooth or via email. But if it doesn't work at all, go to settings>>Security>>Unknown Sources (enabled)... beacuse apk. is a non-market apps.

Sending an apk with Bluetooth will not work as there's a filter in place based on type of file that can be transferred, txt, jpeg, png, mp4, but not apk's for security reasons.

The only trick that can be done, is to rename the apk to png or jpg, then it can be sent across (ssshhhh, that's a security hole in there! ;) )


text:
Media volume is disabled when 'Do not disturb' is active
Since I factory reset my Samsung S7 (SM-G930A, Android 7.0), the media volume has become coupled to the 'Do not disturb' state. When 'Do not disturb' is active, either from the toggle or by schedule, the media volume setting becomes greyed out, the slider is fixed where it was, and no media sound can be heard. Are there others experiencing this behavior? Any explanations?

That's odd. I have Moto G running 7.0 but DND doesn't interfere with media volume.

I just checked this again, and this behavior has gone away. I guess it was a bug in the build

This kind of things can never be analyzed. They just come and go like that. I had so many like that


text:
Attempted to encrypt my phone and now it's rejecting my password
I attempted to encrypt my moto g4 while it was plugged into my laptop. Instead of showing the animation that it should play, it briefly showed the start of the animation and went to the main boot screen. After a few minutes it booted into the please enter your password screen. I entered my device pin and my google password, and it rejected both of them. Sometimes it tells you to turn the device off and on to start android, but it doesn't do anything. It said it would wipe after 8 more failed attempts, but now it's at negative 45. Is there any way to do a total factory reset?

Did you try the  hard reset  method?

You can format your phone with the built in recovery menu:

First you have to turn off your phone.
So, press and hold the power button for a few moments or press the power key once and select Power Off.
Then, just wait while the shut down process is completed.
Next, start pressing and holding the Volume Down button for about 2 or 3 seconds.
While still pressing the Volume Down button, press the Power key and release.
From the menu that will be displayed, choose the Recovery option (navigate through Volume Up and Down buttons).
Press the Power key once to select your option.
When the Android logo is displayed, press the Volume Up key for a few moments.
While still holding this key, press the Power button and release.
Recovery mode should be now displayed on your Motorola Moto G4.
If you can’t manage it from your first attempt, don’t panic; you might have to try this method several times until you succeed in accessing the recovery mode menu.


text:
Home button camera
On my Samsung Galaxy S7 if I press two times the home button the camera will open.
How can I disable this function?
Where I've to go in settings?

Does Galaxy S8 have a home button? I mean a physical one? I thought you can launch the camera by pressing two times on the power button...?

sorry, I've writed wrong in a hurry, I have a S7 ahahah

Okay. The same apply on Galaxy S7

I don't own a Galaxy S8 but I have the same feature on my Galaxy J5 that is called Quick Launch Camera.
To disable it, go to Settings > Advanced features > Quick Launch Camera and toggle it Off.
Additionally, there’s a Settings menu inside the camera app. Launch the camera and look for the gear-shaped settings button on the corner of the display. From here you can change the picture size, video quality, autofocus, ...,  and the option for Quick launch camera. Toggle it On or Off.

Thanks! I didn't remember that I had to go into Advanced Features.
I couldn't find it before!


text:
Pc doesn't detect my S7
I have a Samsung S7. When I connect the phone with my Pc to transfer work datas ( I use a USB cable), it doesn't detect the phone.
How do I fix this problem?

You should provide a bit more information in order to get help.  For example, How are you connecting (are you using a USB cable or are you attempting to use Bluetooth?)  The more information you can provide the better

I use a USB cable

Could you give me a solution?

What's your computer's OS?

You need to install appropriate usb drivers for the PC to detect your device.
It may be that  your PC is missing the required USB drivers or they have become corrupted, thus unable to recognise the device
If running Windows install the Samsung USB driver (includes MTP drivers as well).
Once installed reboot your PC and reconnect your Android device, it should be recognised.
Alternatively for Linux the guide for installing the drivers is found here: How to setup ADB/USB drivers for Ubuntu
Since you didn't mention your OS I have to assume Windows or Linux (sorry couldn't find MacOS instructions)


text:
What Android version can I install on Samsung Galaxy S3 safely?
My old Samsung S3 is getting sluggish. Really sluggish. I want to know which version of Android I can install on it? I cannot find on Samsung's web site some kind of reference table that says which OS version can be installed on which phone.
I have found a YouTube video showing Lollipop installed on S3. Should I do that?

The S3 official last update, I think,  is Android 4.3. Any other greater versions are custom ROMs. Custom ROMs have their pros and cons.

Hi @esQmo_  I am new to android (as you can see from my question). So, please let me know why I should NOT install a newer Android version. I mean at this moment my phone really really really sucks (slow). So, what is better to buy a new phone or (try to) install a new OS ?

This question is opinion based and may be too broad. Android Enthusiasts prohibits such questions. But to answer to your question the lag may be a software issue or even a hardware issue. Sometimes flashing can solve this or a simple factory reset. Custom ROMs exist because manufacturers decide to not make an update to a newer android version due to hardware limitations or because they want you buy a new model etc...

Just a reminder that Android 6+ is somewhat beyond the abilities of the hardware of S3 family, be it the Exynos or Snapdragon variant. It's overall usable, but micro-stutters happen very often, due to the SoC's lack of power and the wear-out of the eMMC chip.

@esQmo_ "opinion based" - Do you feel like a wizard? I am not. We are not speaking about wizardry here. We are speaking about software/hardware engineering, right? Concrete example: other operating systems are shipped with a WELL DEFINED list of "minimum hardware requirements" parameters. It seems that Android also has some compatibility tests ( https://source.android.com/compatibility/cts/ ) but I am not an Android savvy so I don't really understand how to install those tests on my S3. I don't need opinions, I need facts (am searching for is that "minimum hardware requirements" list)   :)

Official website is awful quite about hardware requirements. No wonder so much voodoo and wizardry around Android.  https://source.android.com/source/requirements#hardware-requirements

@FreeAndNil See? No answer till now. Such questions don't get much attention! But anyway, I think I have answered the question on whether you should install or not.

It is also super ODD that such a basic information is missing from Android official web site. Android always seemed to me an infant OS (but promising). This actually confirms it.

"Such questions don't get much attention" - The question was awarded "Notable question" with 3K views. If this question helped 3000 people in the world, then it is something!! PS: Remember it is a question! not a popularity contest!

The problem is not really about hardware requirements since Android can even run on Raspberry Pi (the link you mentioned is about hardware requirements for the PC host to build the OS). The problem is more about finding someone who can create/port a ROM with the later Android version for the specific device, since there's no single universal ROM that can be flashed to all Android devices. Follow XDA Forums for more updated info regarding custom ROM.

Looks like Android 7 can be installed on S3:
http://wccftech.com/update-galaxy-s3-to-android-7-1


text:
How can I get more information about Work Profile of my phone
Google describes Work profile as something that the organization manages, but my question is how can I make sure that my organization (or whoever else) does NOT have access/control to the work profile on my phone?
I have my personal Pixel phone, and as far as I remember the only work-related stuff on it is a Google account (our company uses Google Apps) and Google Authenticator app - both added by myself. I don't think I ever had a work profile until now when I installed a Shelter app. So I assume that in my case the Work profile is not actually controlled/accessed by anyone except myself. Is there any way to confirm this?