text:
How to disable Notifications for Github Emails on Google Inbox?
I turned the data synchronization on, and I get the notifications of Google Inbox. It works fine for "important" or "primary" emails, but it notifies me for Github emails too. How do I disable it -just because it is not really important/primary-?

You can't do it from within the app as you can read in Google Product Forums , open since last two years
Alternatively, you can try automation.  I prefer Macrodroid, being easy to learn and free (upto 5 macros)
Create a macro
Trigger: Notification → Notification received  → Select Application  → Inbox  → Text content contains  → Enter here the text common to GitHub mails like maybe yourname@ GitHub.com? ( Check your notifications to see what easily identifies these )
Actions:

Clear Notifications  → Clear all
Optional if you don't want notification sound Volume Change  → Set notification on slider scale to zero

Constraints : Leave blank

Thank you for the link and app. I am surprized that this issue has been discussed and nothing has been done yet. And for the email address: These emails come from the address notifications@github.com . I'll check the application, thank you

Welcome. Let me know if the problem is solved with macro ( should be ) and you can accept the answer on being sure

Yesterday I gave a try but I it didn't work. I guess "include" checks only the notification which doesn't have github or anything special to github. I will check more

It should work, as in this answer trigger. Another alternative is to amend action which has clear notification > text content contain > notification@github.com. Yet another alternative is to say trigger just mention the app and text any with action as suggested above

Another troubleshooting way is to see if the macro is getting invoked or not by seeing the system log ( accessible from top left menu of main interface). You should see the macro with the name you saved it with and time it was invoked. Thanks for accepting but would have been appropriate to accept once it is solved :)


text:
Is adb rooted by default?
I have seen many tutorials which guide to press su directly in cmd (Command Prompt) after entering the command, does it mean that the shell is in root mode but only through the pc? So, is it possible to edit the build prop by copying the default one from /system and overriding the build prop after editing it from notepad?

Not at all. It just depends on which files you are working on.
Protected system files will need elevated privileges.
For example a simple installation via ADB does not require root eg
adb install com.package.name

While advanced commands like mounting in system dir needs root privileges.
e.g mount -o bind /mnt/emmc /sdcard/external_sd
Requires su permissions
As for your operation, interfering with system files needs root

source: Stack Exchange

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

sort: votes


text:
Open With to Save As
Does anyone know of an Android app that shows up in the 'Open With' dialog for any file type and allows me to save the file to local storage? For example: when I open an Google Inbox PDF attachment I only find my pdf reading apps but there is no option to save the file

Do you strictly want the application in order to save Gmail attachments or any other files types?

A generic app that could handle any filetype (and so shows up in any Open With dialog) would be the best, but the idea came from the fact that I am unable to save pdf attachments from Inbox and would be a solution for now

I am not sure if this is exactly what you want, but I use a file manager called ES Explorer which happens to have that intergration, esp when you choose the share via button.
Take a look:

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


text:
What is this "N with waves emanating" notification icon?
Does anyone know what the symbol at the top of the screen between 'Bluetooth' and 'silent' is? The one that looks like an 'N' with waves emanating from it?

It must be an NFC tag notification, looks like your device has support for NFC tags

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


text:
Samsung Tab S: Camera don't work in apps (although it works perfectly on camera app)
I can take pictures with my tablet using camera built-in app from Android. My problem is when i use apps like Facebook Messenger / Snapchat / Skype / Hangouts ... the photograph is wrong scaled (stretched). It only occurs on apps. How can i fix that?

You could try clearing the cache for the afftected apps. Just go to settings> apps> click the affected app the press the "clear cache" button.


text:
Detailed instructions for replacing KingoRoot's Superuser with SuperSU
KingRoot's Superuser, while effective at its main purpose, is throwing up adware lockscreens.  I'd like to replace it with SuperSU but have had difficulty finding instructions detailed enough for my low level of knowledge.
I tried just installing SuperSU from the play store but that failed.
When googling, I see results for kingroot, kingoroot, and I don't even know if they are the same or not.
The Superuser package on my device is com.kingouser.com version 2.1.6.8 (2168). The device is an Azpen A746, the world's 2nd cheapest tablet.
Detailed information on replacing this SuperUser with SuperSu would be greatly appreciated.

Try checking here: https://missingtricks.net/replace-kingroot-kinguser-with-supersu-superuser-android-guide/. It has a detailed useful guide to do the task.

I guess I was overthinking this. I just uninstalled Kingoroot's Superuser app through Apps, then downloaded and installed Super SU from the play store. Still have root. "All too easy" as a certain Sith Lord would say.
The last straw was when Kingoroot Superuser installed an unwanted app without asking. It had to die after that.

TL;DR - skip to the STEPS section
Kingroot and Kingoroot are two completely different apps, made by two completely different group of developers.
Kingroot, while it is probably the leading app for "1-Click-Root" solutions, also installs a ton of bloatware and annoying services that you may or may not know about.
Kingoroot I can't really speak too much about, considering there have always been many other solutions to achieving root including Kingroot.
Okay so I've used this method dozens of times and it works 99% of the time. The only time I haven't had it work was for a Verizon HTC One M8, since Kingroot only gives (at least at the time) temproot it took a few tries to get it working properly. I give all credit to w0lfdroid to finding it, and the original guide can be found here http://www.w0lfdroid.com/2015/05/How-to-Remove-Replace-KingUser-KingRoot-with-SuperSU.html
WARNING
This may leave your device in an unrooted state, if this happens then just run Kingroot again and it will fix itself.
STEPS

Download the following three items:

https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
--(Terminal Emulator App / Alternatively you can just use ADB shell)--
http://tiny.cc/1a5lyx
--(Zip archive containing necessary files / v1)--
http://tiny.cc/fo78zx
--(Zip archive containing necessary files / v2)--

The two zip archives contain the same files, but if the steps don't return the desired result using the v1 files, then repeat the steps using the v2 files.
Extract the "mrw" folder from the zip archive and place it anywhere in "/sdcard". For convenience let's just say you're not using a computer and instead doing this all from the phone you're wishing to switch from Kingroot to SU. Downloading the files will put them inside /sdcard/Download. So navigate to there using the built-in file explorer (or Root Browser if you don't have one), extract "mrw" from the zip, and proceed to install Terminal Emulator.
Open Terminal Emulator and type the following commands:

su
sh /sdcard/Download/mrw/root.sh

This will return a ton of text and quite a few errors, don't worry about it, I've never had it not return some errors. When finished it will install SuperSU automatically and open the app, asking you if you'd like to install the necessary binaries. Tap "Yes" and choose the option that is NOT to install in recovery.
At this point it will go one of two ways: either the binary installation will fail, at which point you'll have to re-root with Kingroot and repeat the steps using the other zip files; or the binary installation will succeed and you'll need to reboot the device. Upon booting you will see Kingroot and all associated files have been removed, and replaced instead with SuperSU.

If neither of these methods work there is a paid app in Play Store called Super-SuMe that's supposed to be specifically made for removing Kingroot and installing SuperSU, although despite purchasing it multiple times I have never once had anything happen besides either a reboot, force close, or the app hangs.
Best of luck.

Thanks for the detailed instructions. I will give it a try.  I just tried the paid app and it didn't work for me either.

Sorry to hear, that app should be pulled from the Play Store because that dude is banking off of nothing. Feel free to ask me whatever if you need some help during the process.

Looking through the script, I see lots of references to com.kingroot.kinguser, but none to com.kingouser.com, which is what I have.  I don't think this is going to work for me.

So wait, your question was asking how to change Kingroot to SU, but you're using Kingo-root?

Like I said in the question, I am not smart enough to know the difference.

Sorry, I didn't mean for it to sound like that, I just was trying to get a grasp for the situation. Try this out. Run the following command to see all instances of files installed by kingo-root: "su find / -type f -print 2>/dev/null | grep kingo" without quotes. This should return all instances of kingo-root files found in your device. Then just replace all the kingroot files in the script to your kingo-root files and see if the result is the same.

Let us continue this discussion in chat.

Further notice: Newer versions of KingRoot can prevent mrw/root.sh from removing it. You need to: 1. Run su in a terminal emulator.    2. Uninstall root privilege in the preference menu in KingRoot itself. Make sure Terminal Emulator process is alive.    3. Run that root.sh.

Whether it is "Kingroot" or "Kingo Superuser" you are trying to swap to SuperSU, it will be best to use manual methods as most auto scripts out there doesn't work on all device. The simplest and most easiest way to do this does not even required any apps than a file manager. This can be done using ES File Explorer.
I've once faced an issue with kingoroot. It starts displaying annoying ads and battery saver on my lock screen without any switch to disable it, which is very annoying and RAM consuming. After trying an auto-script app called "SuperSume" which unfortunately doesn't work, I later found out how to remove it and swap it with SuperSU manually.  This method works for phones with Kingroot or Kingoroot Kingo superuser.
I wrote a detailed guide on it including screenshots and all the process involved. It is posted here.
The only requirement is ES File Explorer. I use ES because it has root explorer built-in.
Give it a try.

Just going to add this on topr of therealjavi's answer in case there are other people like me who got pretty stuck. Finally got this right after a couple runs or so.
If, after updating the binary according to the instruction given above, your phone prompts that you have two superuser apps now [instead of having the kinguser automatically removed], find a little time to unsinstall that little pesky app, [in my case, I used Link2SD which is available in the PlayStore,] then go back to the terminal emulator, and rerun the scripts again. Voila, you're done.
I also had the problem of ending up installing SuperSu on my sdcard. To fix that  [not sure if necessary or I'm just paranoid], I did the following:

Used native setting of android to move SuperSU to Internal Storage
Used Link2SD to convert SuperSU to system app
Reboot.

Btw, I did this on Cloudfone Excite 501o (Android ver. 4.2.2 [KitKat]). I used iRoot (previously known as vRoot, but not sure how similar it is to VRoot which also exists now) to root the phone, and ended up getting a Chinese market app and lots of ads.


text:
Portrait mode notification icon
If you disable auto-rotate (i.e., force portrait mode), a notification icon shows up. It looks like the vibrate notification, except without the vibration lines. Inside Settings -> Display -> System icons, I can disable other notification icons like the battery, battery %, wifi, etc., but not this one.
Is there any other way to disable this notification, or even other ones not present in System icons?
I'm on Android 7.0, Sony Xperia X Compact.

Pull down the statusbar twice, press and hold the gear in the upper right corner for 5 seconds - then exit and go to settings: now the "System UI Tuner" is there. Disable auyo totate notification.


text:
How to disable the assist input when the home button is long pressed?
I have removed Google Now in order to assign long press on home button to open another app. But recently it comes back with a different interface I'm familiar with. I guess the phone just has updated it.
However I'm unable to disable or uninstall it. In Google Play I can't find which app has just been updated. In the setting of the app there is no option to disable it.
These are some system Google apps that's under my suspicion: Google Services Framework, Google Partner Setup, Google One Time Init, Google Play Store and Google Play services. But I find no evidence to against them.

It turns out that it's actually from Firefox, not Google. To disable this, go to Setting › Apps › Configure apps (the gear button) › Default Apps › Assist & voice input and change to none:

Try installing a launcher, like Nova. It gives you a vast amount of options for customisation of your device, including long press home.
Hope this helps

I'm not sure promoting "pirating" paid apps on here is a good idea, certainly not moral.

sorry, will edit accordingly, went for maximum benefit of users here @JonnyWright

I'm actually in a non-stock launcher (Apex). I also have root and Xposed, but this still happens


text:
LineageOS with Goclever devices
Is it possible to have LineageOS on Goclever Quantum 350?
Are system requirements for LineageOS high? I mean can I run Android 6 or 7 on my device.
With CyanogenMod 12.1 it worked with Android 5.1.1
I saw the list of supported devices http://wiki.lineageos.org/devices/ but my device Goclever Quantum 350 is not flagship like Samsung Galaxy or Google Nexus and has 256MB RAM only.
Here are specs of this smartphone http://www.gsmchoice.com/en/catalogue/goclever/quantum350/Goclever-Quantum-350.html

If it's not listed there, you should probably search on xda-developers.com for ROMs and experiences if and how it runs...

No matter how hard you find, 256MB RAM is simply not enough for anything beyond KitKat. Trust me, even 512MB devices struggle.

You can try searching on xda, but 256mb doesn't work well even on kit-kat it could but it probably won't. So no, your device can't run android 6.0.x or 7.x, even if someone make custom rom you wouldn't be able to do much with it.

@Andy but I have 5.1.1 lollipop with Cyanogenmod 12.1 and works fast :) started with Jelly Bean 4.2.2

Depends on how you define "fast" - once you used some devices a tier above it, there's no turning back. Even though MT6572 is a dual-core SoC, it still is hampered by that amount of RAM. Anyway, as for the original question, if nothing turns up in search results, you're out of luck - development on MTK devices are scarce, not to mention MT6572 itself is very old.

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


text:
How to grant the screen will be off?
I have set 2min timeout.
The screen goes off after 2min.
The charger is not plugged (batt was at 100%, and after I sleep it would normally be at 95%).
Something happens that turns the screen on, and it will remain on forever (until I wakeup and find out it spent 35% of the battery...)
The only new notification was a provider unblockeable promo message, but that never caused that problem.
It has been happening for a few days now.
I need to enforce the screen go off, other than using the system option that is clearly not working.

related https://android.stackexchange.com/questions/197350/how-to-block-an-un-managed-popup

It maybe that text notifications are waking up the screen at night. In that case you may need to completely disable notifications at night.
Some resolutions include:

Turn off message notification completely

You can stop the screen from turning on when you receive a message by disabling the message notification completely but you lose all the notifications, including audio and LED flashing alerts.
Depending on your device, navigate to  Menu  > Settings > Notifications and turn off.

Turn on Do not disturb feature (Android 6+ )

Do not disturb is a feature that lets you silent all notifications for a specific time period. You can choose to allow messages and calls from select contacts to still alert you when Do not disturb is enabled.
Open the Settings >> Sounds >> Do Not Disturb setting. On the Do not disturb settings screen, tap Block visual disturbances.
You additionally need to turn on the Block when screen is off option.

Using third party apps

Some users claim that apps such as I'm sleeping have the ability to prevent screen wake-ups at night. This app will automatically set your phone to silent mode during the night and optionally disables the LED during the
night
credits

Stop Notifications Waking Your Screen When Do Not Disturb Is Enabled In Android 7

Did you manage  to solve this "screen off" problem?

mmm... do not disturb... I could use that for 24h!!! and only allow trusted ppl to annoy me xD. Have to try it now thx!

Some options are not available. But doNotDisturb will work 90% of the time! I will try to uninstall the stk package (sim toolkit) w/o root, tip from linked question, thx!


text:
Galaxy S7edge is beeping instead of vibrating
last night was installed Android 7 Nougat on my Galaxy S7edge, lot of my favourite applications doesn't work with it, so I have download official ROM of Android 6 Marshmallow and downgrade it using Odin (AP file only). Now come the problem, my phone don't vibrate, I hear only very quiet beeping at this moment (time when it should vibrate).
I've already try both "wipes" in service mode, factory reset, other Marshmallow official ROM. No success. But it can't be hardware problem, because when I restart or power-on my phone, it shortly vibrate on startup.
Thx for Your help.
Luke

I fixed it!
Temporarily upgrade to Android 7 to fix the vibration issue then use odin to flash final version of android 6.0.1. You must flash all 4 files contained in the extracted (unzipped) firmware package but ignore the home_CSC file. IMPORTANT...tick the option in odin "phone bootloader update". This process will wipe all data on the phone full but will give you a fully functioning galaxy s7 with Android 6.0.1 marshmallow!

Yes, it works! So we can choose vibrations or losing all our data. Perfect :)

I have exactly the same issue with non-edge (standard) galaxy s7. I downgraded android 7 to 6 but used all four files from the official firmware (including home_csc file) which actually factory reset my device / erased data. I wasn't that bothered about restoring everything as I was relieved to escape from the awful Android 7 ui design. The vibration issue is annoying  as everything else on the reverted Android 6 is perfect. I'm using official final xeu firmware for Android 6, for my device I believe this is G930fxxu1bpl2.
Just found this statement in another forum but not had time to look into it further...
THE ANSWER TO OUR PROBLEM IS: We are running a Nougat Bootloader on Marshmallow
Not sure if this is correct as it appears that I have the latest android 6 bootloader G930FXXU1BPL2 (for my standard s7). However it does make sense that something from android 7 could be lingering as we both have the same issue after downgrading from Android 7 to 6.
Please post a solution if you fix yours!

Yes, it works on S7edge too. Thx.


text:
Can't boot to recovery neither rom
I made a mistake while trying to flash an stock rom in my XT1644. While unlocking bootloader, I didn't realize I had to check the "allow OEM unlock" in developer options. When I thought unlocking had gone good, I started flashing manually a stock update, and everything failed. Now, I can't boot into recovery nor flash a recover nor unlock correctly bootloader, since "allow OEM unlock" still appears on screen.
Tried using RSD Lite, but doesn't work.
How can I unlock my device without checking the "allow OEM unlock" since I have no OS nor recovery?

You can't unlock it without that turned on. You need to get the proper stock rom and flash via fastboot.

I know, and that's precisely the problem, that I can't boot anything since I broke it all. Should I do hardbrick maybe?

If it doesn't show up as a QLoad device, you can't... it's not hard-bricked. You need to get the stock ROM flashed with fastboot. Are you doing it manually with fastboot oem fb_mode_set, flash bootloader and gpt.bin, then fastboot reboot-bootloader and continue through rest of options? If that won't work, I got nothing. What did you flash incorrect? If it was a bootloader or partition table (gpt.bin) you may have perma-bricked it.

I haven't done fastboot reboot-bootloader, but always doing fastboot flash partition gpt and fastboot flash bootloader bootloader.img fails. I just simply thought the device was unlocked and flashed gpt.bin, not being able to boot recovery neither rom since that.

Fails? What is the error message?

(bootloader) Preflash validation failed. In the cellphone you can see the oem_locked message, and when I try to unlock with the unlock key, the phone says I need to "allow OEM unlock", but I can't.

It's bricked. Happed to me also.
http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/
Follow this guide.
It may help.

"Preflash validation failed" means the factory image you are using is older than your current software... you cannot downgrade, you need to find the same or newer firmware image that matches your device.

Hmm... You need to wipe everything so that system does not interfere in the process of flashing a new rom.
fastboot -> fastboot device.
it should show your device.
keep following ready : XT1644 Stock Marshmallow/Nougat Image Sparsechunk ZIP. I will post link in next edit.
Keep commands ready.
When flashing, omit flashing OEM command. start flashing with Partition.gpt.


text:
Smartphone screen broken - PC recognizes phone - Save data, unlock phone PIN
My smartphone screen has been destroyed in a small accident.
There have been still data on the phone like images, videos, contacts.
If I connect the phone to the PC via USB, the PC recognizes the phone, but I cant access the data because the phone is locked with a PIN.
I cant enter the PIN because the screen is totaly destroyed.
Is there a way to save the data?

What phone and Android version? Do you have custom recovery installed?

phone is samsung galaxy s4 mini, android should be 4.3 havent the phone here atm. It is of a friend. I remember that he said he has done something like a recovery mode when he bought it.

If it has TWRP, try to start it (I don't know the process on S4) and if you can and TWRP is new enough, you should just be able to connect it and browse to things available to MTP like photos and videos, contacts are not accessible though. No real trick to get 4.x to work without screen access though. Is the screen visible at all, meaning use an OTG cable and mouse?


text:
Memory full without any heavy apps

I dont have any heavy apps on my phone, but still a major part of memory of my k3note is occupied with 'others'.

See Others. I think you have lots of unsupported data in the internal memory.

All parts of the chart are tapable, just dig into the Others and check what is it consists of.

Others contains all files that will not come under the app/pic/doc/zip/audio and video.
It occupies 7.* gb.
So, either click on other or go to file manager and check your custom folders for such heavy data files.


text:
LG G5 LS992 How can I downgrade from Nougat to Marshmellow?
I tried downloading a ZV4 and ZV5 roms and flash it with LG UP. But the flash always fails with the following error

Error Code = 0x2BC, Invalid command response code = 0x80000121

Downgrading across major Android versions is hard or impossible through official means these days, since manufacturers enforce restrictions on bootloaders.


text:
cannot take screenshots in a banking app
I have an unlocked Android 6.0.1 device, and I've installed a couple of banking apps.
For obvious security and paper trail reasons, I'd like to take some screenshots of my interaction with my bank.  However, somehow the low-volume+power buttons no longer takes any screenshots whilst in either of the banking apps.
Why?  How do I disable such a nuisance?

Also duplicate of http://android.stackexchange.com/q/138778/131553

Please take the trouble of searching before posting

@beeshyams Now that you mentioned it, shame that I didn't before answering either...

This is a result of FLAG_SECURE. The reason is obviously again security - other apps can either leverage the native screenshot API, or just read your captured results from storage to potentially obtain sensitive info.
If you're already into Xposed framework, then there are a bunch of modules that will disable the check for the flag system-wide, such as this one.
As @iBug already pointed out, always exercise extreme caution when working around security measures, especially when a 3rd-party app is involved.

thanks!  it's sad that such features get introduced; haven't had this problem just a few releases ago

It's to stop malicious software being able to capture sensitive data from your screen

As Andy Yan said, it is caused by FLAG_SECURE that developer set as window attribute. Without root you can't take screenshot. But you can still take picture with camera on another phone ;-) Old school solution but it will definetely work.

You can't take a screenshot in the regular way in such apps. Android allows foreground apps to prevent you from taking screenshots.
However you can still 'force take' screenshots with 3rd party apps, most of which requires root. As for myself I don't recommend this, as 3rd party apps can lead to even greater security & privacy unless you have a trusted app.


text:
Screen Rotation turns on randomly
I have Huawei Honor 7 Lite / 5C (NEM-L21). I don't want my phone's screen to auto rotate, so I have it off. But randomly, it turns on. That also happens to WiFi. This started few days ago, I haven't upgraded my phone. It's few months old.

I would think that it is system bug. Huawei, Xiaomi and (non Nexus) LG have worst implementations of Android. There are tons of bugs in their customizations.
I don't understand how they can pass Google's certification.
Disclaimer: I'm developer so I get many bug reports from users owning those devices.

Any way to fix it?


text:
Can't connect/get computer to recognize OnePlus One
I've been trying to root my OnePlus One for two days now and I've continued to have this issue. After installing Android Studio + the SDK, as well as downloading the Google USB Driver, when I connect my phone to my computer it shows up as an MTP device under unknown devices.
If I allow it to automatically download drivers, it becomes a portable device instead. But I need it as an ADB device. I've already started USB debugging on the phone, as well as switching between all the different USB options on the phone (charging, MTP, PTP, MIDI, etc.), and still no good.
When I try to update the driver for the "MTP" device, the Google USB drivers don't show up, and if I try to browse manually, it comes up with the error message saying how "the folder you specified doesn't contain a compatible driver."
What do I do?

Note: Google USB Driver only works for Google devices (Nexus and Pixel series). OnePlus and other manufacturers need to install their respective OEM drivers.

If you are on Windows, then you need to manually install the ADB driver for your device. The steps are as follow:

Right-click on Computer and go to Manage.
Go to Device Manager
Find your device and right-click on it
From the menu, choose Update driver
Choose "Let me choose"
Go to next
Browse to your Google USB driver location
Click next
After that, you'll see the ADB driver name, then click next to install drivers

See this link for a description: https://software.intel.com/en-us/xdk/docs/installing-android-debug-bridge-adb-usb-driver-on-windows

In my post I said I already tried that :( Windows says the folder doesn't have a compatible driver in it

but it works for any device.

still you may to install adb drive from website of oppo according to your phone

its not oppo, its OPO, Oneplus One

btw, what you say is a valid solution

I didn't even end up installing any drivers since I couldn't. I looked all over XDA for drivers but I couldn't find any, and using universal drivers made no difference. I ended up just testing in ADB to see if I could interact with my phone and I could, so I did everything through command prompt from there. The phone is rooted and has a custom ROM now. Although my computer never recognized it in it's devices, it still worked.

have enabled developer option and usb debugging?

Note: Google USB Driver only works for Google devices (Nexus and Pixel series). OnePlus and other manufacturers need to install their respective OEM drivers.

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


text:
I can't understand the error
I tried to delete ES File Explorer from my Lollipop 5.1.1. I have a system root and the explorer was a system app. In Link2SD app, it said frozen, so I thought it might be useless to keep it.Anyways I preferred the default system app and root explorer.
I tried to delete it and then all the system apps stopped working, and on rebooting my phone (SMJ 200G), I saw very few system apps, I could not install apks, and message app was also crashing. Also SuperSU was gone from launcher.All other installed apps were there. I factory resetted my phone with TWRP's default wipe; starting the phone now, I can not even log in. It asks me to select language, and then it says that Settings has stopped working.
What is the problem? What do I do? Whatever the solution is, please provide a guide too.

Always make TWRP backups before doing any manipulations.

The problem with root is that you remove all safety belts from you phone. At the moment it is hard to tell what exactly happened but my guess it that you deleted something else than you think you deleted.
Rooting your phone is for very advanced users (I'm personally long term Android user and I never rooted my phone because I think it is not safe).
My suggestion is: re-flash your phone with original firmware and stop using root. In 99.9% of use cases you don't need it.

Well, root permissions are in fact handy, you know. Especially when you want to backup some app, instead of taking a whole Nandroid backup.

Flash your ROM, that will solve your problem.
To determine the best ROM for you device check this link
Follow these steps for flashing:
1) Reboot your phone into Recovery mode.
2) Head to the "Install" or "Install ZIP from SD Card" section of your recovery.
3) Navigate to the ZIP file you downloaded
4) If you're flashing a ROM different than the one you're currently running, you should wipe data and cache. So, better take a backup prior to this.


text:
Android password requested after fastboot
I am trying to reset an intel machine with android 5.0 using fastboot.
If I do a complete reset, I have no problem, it encrypts normally & boot & works as a charm.
But what I need is to reset the machine while keeping the data, so I removed this command:
fastboot format data
After booting the machine I got a screen saying "to start android, enter your password"
whatever last password enetered, I get the folowing (as if the password is wrong) & start resetting the machine..it works well, but no data is there too.
I have no idea to what password does it means nor any of my known passwords work.
Any Solution?

usually, 12345678 works in such cases, unless u have put up something else

Thank you, it worked. But it still asks to reset the machine no other option :( Can you help me please, it's an intel cpu.

what happened with me is not a full solution, just a partial:
I connect the device to a keyboard via a USB & then we can switch using the arrows to move to android booting.
Too bad we will have to connect it to this keyboard each time we restard the android device.
But at least you can can now save your stuff, before loosing the device.


text:
Android Tracking by vendor
I am concerned about the type of tracking done by the vendor of my Android Phone.
Can they track my location when I connect my phone to internet or GPS?
Do they do this tracking once after device activation or repeatedly after some time interval?
And are they legally allowed to track me?

See How does Google know where I am? from SE security for good answers on this. Reproducing key extracts here:

When only your cellular data is on and Wi-Fi / GPS is disabled, Android uses Cell Phone Triangulation . See John Deter's answer

Each cell tower has a set of ID numbers that identifies them to the phones. It broadcasts its identity constantly so that phones can connect to it as they move around....If you're in a larger populated area, like a city, your phone will usually get signals from more than one cell tower....
So how does Google know any of where these cells, wedges, slices, and intersections are?
From the billion Android phones that have GPS turned on (including yours, when your GPS was on), constantly sending reports of their GPS location and what cell towers and signal strengths they see. Google has used this data to map out where each cell is located, and what the approximate signal strength is at each point. They have a giant database on their servers with this information; your phone queries that database by making a network request that lists all cell towers that are in range, and the Google servers respond with your estimated location.

From BSSID information from your WLAN Access point even if your GPS and Wi-Fi are turned off.
See INV3NT3D's answer

Google and others like Apple and Skyhook build a Database which links WLAN BSSIDs to a geographic location. A BSSID is like the MAC address of a access point that gets broadcasted by that access point. It is therefore "public viewable" if the BSSID broadcast is enabled, which is the default for most access points....So, essentially, when you ARE using WiFi and GPS, Google's database of BSSIDs is updated with a geographic location associated with that BSSID....So it's not that the ISP is giving Google the location of their routers, it's that your phone has already helped to build a database of the Access Points around you, and Google uses this data for geolocation.

So, you are pretty much tracked all the time and more accurately perhaps when your GPS is on and you are in a Wi-Fi dense environment (did you notice that your map location accuracy is much better while traversing a business or shopping area? )
Coming to other points in your question, tracking is periodic and I doubt if the frequency of updating would be available in public domain ( my assumption and open to correction )
Coming to the legality, this SE site doesn't deal with it but I am sure when you tick I agree on activating the device, you would have agreed to this ( Who reads them anyway? )

Thanks for the great answer but there is one more thing I am looking i.e. apart from google the mobile phone vendors like (Samsung, LG etc) also track my device for any usage statictics?

Welcome, I can't help with that question and a separate question may help ( though it may be border line off topic)

also see https://android.stackexchange.com/q/15009/317510


text:
How to create a folder shortcut inside another folder?
I'm trying to create a folder shortcut inside another folder. I tried ES File Explorer, but it shows an option to add a shortcut to the home screen only.
How to create a folder shortcut inside another folder in Android?

Create a folder having other folders, zip it and create a shortcut to zip file of course you will have to unzip every time you access- this is the closest I can think of

@beeshyams . Ya I tried it but there is no option to add shortcut inside another folder.. There is only add shortcut to homescreen option.

How to create a shortcut to some file in another folder?

To create a "shortcut" to a folder on a file system, you can use symlinks(symbolic links) or bind mounts. You can use an app(e.g. Apps2SD) to do that, or run the command through adb or terminal emulator.
1. Using Apps2SD
You can use an app like Apps2SD to create symlinks(symbolic links) or bind mounts.
You can download Apps2SD from xda or google play(here it's renamed as "App2SD", but the package name is the same).
You can go to its official site to look for some more help. But according to my experience, you need to be careful about the SD card partition whose underlying filesystem format is vfat / FAT32 / extFat(Type 1), in contrast with the internal storage or the 2nd partition on the SD card created by Apps2SD, whose filesystem could be ext4 / ext3 / ... (Type 2).
You can freely create symlinks from a place in Type 2 to another place in Type 2.
But when it comes to file system Type 1, you might have to use bind mounts, which is not exactly a shortcut. For example, using rm -r on a parent folder may have different consequences, as mentioned here:

I should warn against rm -r on a mount --bind. With a ln, it
  removes the link, whereas for a --bind, it has the same effect as
  running the rm -r on the target. Not good, as I found shortly before
  rebuilding one of my servers...

You can, however, create a mount bind using Apps2SD, with the source being in the internal storage(Type 2) and the destination(where the data really is) being in the 1st partition of the SD card(file system of Type 1), in order to save space in the internal storage.
The usages of Apps2SD mentioned above are my personal experiences. You will have to try it yourself if you want to use it differently.
2. Using shell command or shell script
You can do it yourself using commands like ln or mount --bind to create symlinks or bind mounts, respectively.
Check out the command manuals: mount, ln
Other info that might help(provided by Irfan Latif):

How can I make a symlink (or equivalent) inside /storage/emulated/0? - Android Enthusiasts Stack Exchange
This is about how to make a "shortcut" in the SD card. Note that /storage/emulated/0 is the SD card.
sd card - How to create a shortcut to some file in another folder? - Android Enthusiasts Stack Exchange

PS: Below is my previous answer to this question. I misunderstood this question as the OP was trying to create a folder shortcut inside another folder on the desktop.
You can use an APP like Folder Organizer or Glextor Manager.

They create shortcuts in Launcher app (desktop), not other folders/directories.

@Irfan Latif You can create a widget on the desktop, and that widget contains apps or folders(called label or group in the app). And those each of those folders contains apps or folders, etc. It works just like folders indisde folders.

You are correct. But those widgets (or labels or groups or folders; whatever you name them) are not actual directories or folders by definition, which is a filesystem feature. Directories/folders/files/symlinks live on a filesystem as long as you don't erase or re-create the filesystem by formatting. They are not even dependent on the operating system. But the folders created on launcher app are dependent on both apps; the launcher and the one creating them. They are no more available if any of the two apps is uninstalled.

@Irfan Latif Yeah it seems I misunderstood the question. Answer updated.


text:
OnePlus One (Bacon) Partition Problem
I used a custom ROM which completely messed up my partition of OPO. Need partition details of OPO. In TWRP Recovery mode when I select 'Internal Storage' partition, it says'Invalid Partition Selection' & in 'Data' Partition It shows 56 GB available. As a result all my media is stored on data partition & I cannot restore my old backups. Help!!


text:
How can I enable USB tethering through ADB?
I was going through this link. but I can't find a way to enable USB tethering through adb. Is there any other way I can do it?

What Android version are yoy using?

@xavier_fakerat Android Nougat 7.1

The value 33 should work

Please confirm if it's working for you

adb shell am start -n com.android.settings/.TetherSettings && adb shell input keyevent 20 && adb shell input keyevent 20 && adb shell input keyevent KEYCODE_ENTER && sleep 2 && adb shell input keyevent 4

Root is needed in order to execute these commands:

The following commands call
  ConnectivityManager.setUsbTethering(boolean enable) in Android 4.3:
adb shell su -c service call connectivity 34 i32 1 turns on USB
  tethering.
adb shell su -c service call connectivity 34 i32 0 turns off USB
  tethering.
For other Android versions replace 34 with the following
  setUsbTethering calling codes per Android version:
4.4.4: 34
5.1.0: 30
6.0.1: 30
7.0.0: 33

Credits
Is it possible to USB tether an android device using adb through the terminal?

mine worked with 31 for nightly owl running android lollipop on GT-n7000

@xavier_fakerat
I tried this command on Google Pixel with Oreo installed(rooted) and it does not work. I verified that the method number is 33 setUsbTethering. The error I get is "calling package cannot be null". Any idea how can I work around this? How to specify the calling package for service call? If it helps, if I install user debug build, it works. But not on production build which is rooted.

The service method did not work for me on my Samsung device. I figured out how to do it by configuring the network interface directly, though. Here is a script that sets up a Linux machine and a USB-connected rooted Android device for USB tethering. This does not set up DNS or NAT masquerading, but is sufficient to make the device accessible at 192.168.42.129:
#!/bin/bash
set -euo pipefail

# Set up USB tethering for an Android device.
# Usage: adb-usb-tether [USB-VENDOR USB-PRODUCT]
# If USB vendor/product is unspecified, use first USB network interface.
# On the Android side, tethering is enabled via adb shell.

if [[ $# -eq 2 ]]
then
    any=false
    vendor=$1
    product=$2
else
    any=true
fi

function find_if() {
    local path if
    for path in /sys/class/net/*
    do
        if=$(basename "$path")
        if [[ "$(readlink "$path")" == */usb* ]]
        then
            local ifproduct ifvendor
            ifproduct=$(cat "$(realpath "$path")/../../../idProduct")
            ifvendor=$(cat "$(realpath "$path")/../../../idVendor")
            if $any || [[ "$ifproduct" == "$product" && "$ifvendor" == "$vendor" ]]
            then
                echo "Found interface: $if" 1>&2
                echo "$if"
                return
            fi
        fi
    done
}

function adb_shell() {
    adb shell "$(printf " %q" "$@")"
}

function adb_su() {
    local quoted
    quoted="$(printf " %q" "$@")"
    adb shell su -c "$(printf %q "$quoted")"
}

if=$(find_if)
if [[ -z "$if" ]]
then
    echo "Requesting interface:" 1>&2
    adb_su setprop sys.usb.config rndis,adb
    echo " >> OK" 1>&2
fi

while [[ -z "$if" ]]
do
    echo "Waiting for network device..." 1>&2
    sleep 1
    if=$(find_if)
done

while ! ( ip link | grep -qF "$if" )
do
    echo "Waiting for interface..." 1>&2
    sleep 1
done

function configure_net() {
    local name="$1"
    local if="$2"
    local ip="$3"
    local table="$4"
    local cmdq="$5" # Query command
    local cmdx="$6" # Configuration command

    if ! ( "$cmdq" ip addr show dev "$if" | grep -qF 192.168.42."$ip" )
    then
        echo "Configuring $name interface address:" 1>&2
        "$cmdx" ip addr add 192.168.42."$ip"/24 dev "$if"
        echo " >> OK" 1>&2
    fi

    if ( "$cmdq" ip addr show dev "$if" | grep -qF 'state DOWN' )
    then
        echo "Bringing $name interface up:" 1>&2
        "$cmdx" ip link set dev "$if" up
        sleep 1
        echo " >> OK" 1>&2
    fi

    if ! ( "$cmdq" ip route show table "$table" | grep -qF "192.168.42.0/24 dev $if" )
    then
        echo "Configuring $name route:" 1>&2
        "$cmdx" ip route add table "$table" 192.168.42.0/24 dev "$if"
        echo " >> OK" 1>&2
    fi
}

configure_net local  "$if"   128 main  command   sudo
configure_net device rndis0  129 local adb_shell adb_su


text:
My Galaxy s6 phone won't let me touch at all except for the notification bar
I opened an app, and then it happened. My whole screen got a little bit darker. Then when I tried to restart it, it wouldn't let me touch it at all! The only part that does let me touch and hold is the notification bar. My battery is at 81 percent, and I don't want to leave it over school! WHAT DO I DO!?

What app is that? Seems something like a screen overlay, a malware maybe


text:
Android mobile phone vendors like (Samsung, LG etc) track
Apart from Google the mobile phone vendors like (Samsung, LG etc) also track my android device for any usage statistics?


text:
How do I stop the lock pattern from being revealed after I got it wrong?
I'm security-minded so my lock pattern is not displayed as I enter it.
By lock pattern, I mean one of these:

The pattern is revealed after a failed lock attempt. I've been through all the settings I can find but there is apparently no switch for this behaviour.
I am using a rooted HTC One S, LineageOS 14.1 running kernel 3.4.

"I'm security-minded"... You are unlocked, have a custom ROM and recovery... your security concerns are pretty lopsided. No offense, but anyone who can get physical access to your device can access anything with minimal effort in seconds. I don't think a missed lock screen pattern flashing for an instant should be your biggest security concern if security is really important to you. (Not trying to troll, just make a point that the issue you're trying to solve is not the real security problem)

IIRC, GravityBox, an Xposed module, has an option that can disable "The red trail on failed lock attempts".

@CoolGuy: Thanks for input - amended solution

@acejavelin I don't use this device for anything sensitive, it's my muck-around phone, but it's outrageous that such an idiotic anti-feature is enabled by default.

Also, my threat model isn't necessarily "someone takes my phone and plugs its into a computer to read everything" because unless the attacker is a spook, I've probably got a bit of time to lock up my bank accounts and email etc. My threat model is more along the lines of "someone looks over my shoulder, picks my pocket, and buys themselves bitcoin, all in the space of a few minutes". Why make it easy?

Your device is rooted , so you could try Gravity Box Xposed module has to disable pattern error - thanks to Cool Guy's comment

That aside, since you are security minded
Pattern locks are inherently less secure than PIN locks. Why?
From Android Security Internals: An In-Depth Guide to Android's Security by Nikolay Elenkov** ( runs a blog here )

.... the code for pattern unlock is entered by joining at least four points on a 3×3 matrix. Each point can be used only once (crossed points are disregarded) and the maximum number of points is nine. Internally, the pattern is stored as a byte sequence, with each point represented by its index, where 0 is top left and 8 is bottom right. Thus the pattern is similar to a PIN with a minimum of four and maximum of nine digits, which uses only nine distinct digits (0 to 8). However, because points cannot be repeated, the number of variations in an unlock pattern is considerably lower compared to those of a nine-digit PIN

(Emphasis Supplied)
**Screenshot of passage here
If you switch over to PIN , you can protect against smudge attacks by scrambling numbers as explained in my answer here either by using an app or Gravity Box Xposed module Marshmallow - disable unlock touch feedback

My pattern is on a 6x6 matrix and includes jumps between non-adjacent dots. That 3x3 thing shouldn't be the default, but good point.

Did you try GravitationalXposed module ?

Xposed doesn't seem to be available for Nougat.

Oh.. My bad.. Missed that completely


text:
Does the Amazon Kindle app run on Android 7.1.1?
I'm setting up a Nexus 9 tablet for a friend. I flashed the Android v7.1.1 March update image then installed the Amazon Kindle app from the App Store. The problem is that when I open the app and tap the Start Reading button the app hangs with a blank white screen.
The Android app runs find on my OnePlus 3 with Android 7.0, so I'm wondering if something in the latest Android version has broken it.
I guess I could flash a v7.0 image onto the Nexus 9, and I will do that if no-one here can confirm the problem with v7.1.1.

If anyone is interested I have pinpointed the problem by flashing an older version of Android. These tests were done on my 16GB Nexus 9.

With a freshly flashed version of Android v7.1.1, with all user data wiped, the Kindle app hangs when you click the Start Reading button.
With a freshly flashed version of Android v7.0, with all user data wiped, the Kindle app runs normally. Clicking the Start Reading button allows me to enter my Amazon account details and start reading.
If I let my tablet download the updates to v7.1.1 and install them, without wiping the user data, then the Kindle app still runs normally. So the app does run on v7.1.1.
But ... if I now delete the Kindle cache and data from Settings/Apps then the Kindle app once again hangs when you click the Start Reading button.

So the problem is specific to the v7.1.1 version of Android, but the problem is limited to whatever bit of the Kindle app configures your Amazon account.
In theory there is an update to v7.1.1 on its way to my OnePlus 3 phone, and when that arrives I will try the same experiment to see whether it is a device specific problem.


text:
Android internal storage sd card clone
My wife has a Moto G 3rd Generation which had the SD card set to internal. The phone has had problems reading the card, and unfortunately she hasn't had everything set to back up so there are some things on the card we would really like to recover.
I have put the card in a card reader and ubuntu is able to read it but unfortunately can make no sense out of it due to the android encryption.
The phone isn't rooted, and as far as I can tell Dirty Cow exploit will not work to get temporary root so I have no way to get the encryption key off the phone (I think?).
I wondered if cloning the card might work so have purchased an identical card and tried to use dd to copy it. Weirdly dd is reporting this:
dd: error writing '/dev/sdd': No space left on device 7818241+0 records in 7818240+0 records out
I have tried to allow truncate at the end (lose the last byte) or skipping the first byte and neither of these has resulted in a card that is readable.
I have also tried another make of card (same size 32GB) and have the exact same problem.
Do I have any options left? Is there any way to work out given the encryption where one byte could be safely removed, perhaps only corrupting a file.
Any ideas greatly appreciated.
Many thanks in advance.

If you can root , here's a way http://android.stackexchange.com/q/145443/131553

Since you don't have root and if you can't gain it without system wipe (which will wipe encryption key) then I have bad news for you. Because you need root to access key to read card in linux. However I think card get corrupted because of encryption (one byte wasn't written in wrong place and bye bye).

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


text:
Why is Busybox still not recognized after installed properly?
Busybox is installed in /system/bin successfully already, but I still can't call it as instructed in Using cut or sed in Android busybox:
C:\Users\Acer\Downloads\adb>adb shell whence sed
/system/bin/sed

C:\Users\Acer\Downloads\adb>adb shell whence busybox
/system/bin/busybox

C:\Users\Acer\Downloads\adb>busybox
'busybox' is not recognized as an internal or external command,
operable program or batch file.

The mistake here is that you're trying to run Busybox by issuing busybox in your Windows terminal. This way, Windows searches for a program called busybox in its PATH, but doesn't find it, since it resides inside the /system/bin directory of your Android device.
To run any command residing on your Android device, you need to preface the actual command with adb shell, so adb shell busybox, in your case.

Do you know why we need Busybox at all? Android is Linux, why can't I use grep?

@Ooker Android is not Linux, even if it inherits a great deal of characteristics. Toolbox, Busybox and later Toybox were used as lightweight binaries, compared to the size of the standard binaries.

I see. As what I see about Toybox, it is included in Marshmallow, and has grep. Why do Busybox still be needed to install?

@Ooker The story behind Toybox, is that it was started as a toolset with a less strict license than the GPL. Still, compared to Busybox, Toybox is quite young and thus missing a part of the features of its brother (look here for a to-do list by its main developer).

I'm surprised that some basic Linux commands (grep, sed) are not included in Toybox. Off-topic I know, but if Google sees it's useful, why don't they make it equivalent to Busybox?

@Ooker Google is not the developer of Toybox. They just included it from Marshmallow onwards. Besides, Google is too much focused on their Play Services and data mining to care about Android. I should also mention that comments are not for chatting, and redirect you to Toybox's site for more info.


text:
Help me identify this tablet and whether there are custom ROMs for it
I was gifted this one device that I can't find any information online on, despite exhaustive searching.
Internally, the tablet claims the following:

Model number: S7Q
Android version: 4.2.2
Kernel version: 3.0.36+ twp@server71 #525
Build number: S7Q_ZTE_PAD_EN.V2014.4

Naturally from this I would assume it is some ZTE device that would be called S7Q , but my searching of the internet only turned up that term a couple of times, both cases of a lone person on the XDA forum asking "what is this?" and getting no real answer. More searching seemed to suggest it was a Blade S7, but Ask Mr Pigfish, a software meant to identify a ZTE Blade model, reports that I have an "unknown model".
I'd really like to figure this one out so I could root it and setup a custom ROM, and I'd appreciate any help!

If search doesn't turn up anything, don't expect stuff for it.

See if you can find your device here https://support.google.com/googleplay/android-developer/answer/6154891?hl=en

That is an ZTE S7Q tablet, a "chinese" cheapy tablet. A quick search of XDA and SlateDroid yield nothing so the chances of finding ROMs or recovery for this device are near zero.

"S7Q" turns up nothing on that list.

@Morgmin: which means it is not supported by Google, adding to your problems as pointed out by others on changing OS


text:
How to Disable Speed Dial?
I have a Samsung phone, tracphone, with andriod 4.3.
talk back and explore by touch are both active.
When trying to use the phone, very short pauses are interpreted as a long pause, bringing up the speed dial dialog box.  This makes it very difficult for a new smart phone user to make a phone call.
I did find the option to change the pause length on the device, but this is NOT a solution to the issue.
I have searched and am not able to find a way to disable or completely remove speed dial.  It will never be used, so I am ok with completely removing it from the phone.  Searching Google only returns results on how to delete or modify a speed dial number.

While this solution does not disable speed dial it does make the phone less sensitive to pauses, and makes dialing when talk back and explore by touch are both active much friendlier.
Suggestion by a family friend, worked great thank you.
Settings > Language & Input > Pointer Speed
Adjust the slide setting by touching the end of the slide (does not slide on our phone when talk back and explore by touch are both active.
On our phone, sliding to right (100%) significantly decreased the number of times the speed dial dialog box popped up.


text:
Galaxy S7 Nougat--When charging, screening keeps coming on
Recently upgraded to Nougat on my Samsung Galaxy S7.  Only issue is that when i am charging , the screen keeps turning on to show it is charging, then goes dark, then turns on again.  The only way to mitigate, is to turn on the screensaver when charging.  any thoughts?

Try checking up your battery  and screen settings.... some random option might've been enabled, else its not supposed to be.

Try checking "Stay awake" in developer options which makes the screen never sleep while charging.


text:
WhatsApp web won't stay online unless the application is open on device
I'm using WhatsApp on my phone and desktop, and for some reason it has started booting me out of both unless I am in the phone application

If you go to "WhatsApp web" menu on your phone, can you see your PC listed in there?

iphone has the same problem, not android only

Remove all Computer connected in your device and go through same process and now this time please check whether there is checkbox or not under QR Code
Similar to This

Well I don't think you should ever share a WhatsApp QR code publicly.

@ReeshabhRanjan if you know properly its entrance key for Whatsapp web, which helps to connect any whatsapp not a specific account or number of Whatsapp so it doesn't matter if you share publicly.

This is the way it is meant to work. When it the app is minimised, it will run in background but won't show you as online. All messaging apps like allo, WhatsApp, hangouts do this. This is not a problem or a bug.

But it shouldn't kick you out of WhatsApp web if the app isn't in the foreground

exactly - it shows me as not connected on desktop until I go into whatsapp on the phone

You have a setting in your phone that kills any closed app instead of keeping it in the background. I don't remember exactly how to find it and it probably varies with different phones, but it certainly the issues and not something wrong in WhatsApp app itself.

This setting is usually found on Developer Options as "Don't keep activities", but might vary depending on vendor/custom ROM

keep me sign in never make WA destop open. so make sure to make whatsapp on phone always on/ force app to stay open. so WA destop will always open too

on phone - seting - permission - autostart - activated in the background - set on

I had this problem on my Samsung.  It seemed, interestingly, to be related to the fact that I didn't give it Phone and/or SMS permissions.  Once I enabled those (Settings -> Apps -> WhatsApp -> Permissions) the issue went away.

Check whether you have activated restricted data usage in Settings -> Data usage depends on phone.


text:
How to start Chrome's T-rex game from an Android tablet?
I can't start Chrome's cute endless T-rex running game from an Android tablet. On a PC, pressing Space starts the game while for an Android phone, I can just tap the dino to start it. But I can't figure out how to do the same on an Android tablet!
I've tried tapping, holding, swyping, and what not but the game doesn't start.
So, How do I start the T-rex game from an Android tablet?

I'm pretty sure you can connect a physical keyboard and press space to start it, but I don't have a keyboard to test it currently and so, I'd appreciate it if anyone could verify this and post an answer.

are you sure , that youre running chrome's latest update?

Yup. Version 56.0.2924.87 now and Play Store says its fully updated.

One way to do this would be to install a third-party app called Hacker's Keyboard.
Then, enable the keyboard and set it as the current input method. Also, check the box against the 'Use permanent notification' setting under 'Input mode settings' in the Hacker's Keyboard settings.
Now, open Chrome and make the dino appear by, say, by enabling airplane mode and visiting any website. Tap on the permanent notification of Hacker's keyboard and press Space.
Voilà! The game will start. Press Space or ↑(Up arrow key) to jump. Oh, and Enjoy! :-)


text:
Can a phone support lte band 41 but not support band 38?
The only difference in Google Pixel's versions for North America and for the rest of the world is their support for different lte bands and carrier aggregation.
E.g., in tech specs (https://madeby.google.com/phone/specs/) it is stated that the US version only supports B41 for TDD LTE, while RoW version supports B38/39/40/41
However, I found in Wikipedia (https://en.wikipedia.org/wiki/LTE_frequency_bands) that band 38 is actually a subset of band 41.
Does this mean that the US version of Pixel supports b38?
Will LTE work on US version of Pixel if the carrier provides only band 38?


text:
Low battery temp and wont charge galaxy note 5 after phone got wet
The top of my Note 5 was wet, I dried it off and placed the phone in rice. 2 days later it began working again, 2 days after that I received the error msg that charging is paused due to battery temp too low. What can I do?

It depends. If this is a phone where the temperature sensor is within the battery, the battery can simply be replaced, but that does not guarantee that this is the only issue. If the sensor is in the motherboard or another piece, the phone is likely permanently damaged and will need to be replaced.

Try changing the charger port in service centers or try to keep the phone in normal temp.


text:
Skype sent messages I didn't send
On my laptop, I played a video on YouTube. In the morning I looked on my Android phone and discovered that the video had been sent, in Skype, to about six of my contacts.
I'm not sure if the sending occurred from my phone or the laptop, but it's more likely from the phone for two reasons: I'm pretty sure the laptop was off, and my phone has been acting a little erratically. On the other hand, I didn't play the video while on my phone.
1) Is there a way to confirm which device sent the video?
2) How can I recall, unsend, or delete the video from the chats? If (on the phone) I select and hold the message, the pop-up menu does not include "edit" or "delete".
3) Does this sound like malware behavior? I'm scanning with "Lookout" but is that the best type for this type of thing?


text:
How do I stop Google Now from opening multiple chrome windows?
I have an S5, android version 6.0.1.
Whenever I search from Google now, it starts to pull up the results and then immediately appears to be opening another window with the results and then another--all with the same results. It's extremely annoying. If I have used voice to do the search, the google assistant starts to tell me the answer and then is cut off mid-sentence by the second opening of the results.
I haven't been able to get a screen capture of this happening. But I have noticed that when it first starts to happen, I see new text in the search text box. It is something like: "http://www.google.com/?search="search text""
I might not have that exactly right but you get the idea. It's almost like another query happens automatically.
My wife has the same phone and OS and has never had this happen. I have tried reinstalling Google Now. This has no effect. My tablet also has Google Now and this never happens there either.
Please help!


text:
How to create a service without any /system/etc/init.d directory
I would to get a boot daemon service.
My android 6 device is rooted and I installed busybox pack on it. After remount my /system partition in read/write, I make /system/etc/init.d directory  and I put my shell script inside. I rebooted my android device and the script didn't start alone. I checked the executable permission as well.
I browse the web around the question and I should modify my /init.rc file trough modify the boot.img file and this is a few complicate and init.rc seems target one file not a directory.
Is there an other procedure?
Thank for your help.

You need to flash a custom kernel that supports the init.d functionality. Only then will you be able to start scripts at boot. Editing init.rc should be your last strategy, as it's more complex.

I found the solution here :
How to Enable Init.d Support on most Android
That's worked for me


text:
What did marc.info do to my Firefox that required a restart?
I opened a mailing list archive on link to marc.info last night with Firefox on my Nexus 6P (stock firmware, monthly security patches applied as they come out, unrooted). Pretty quickly after the page loaded, Firefox gave me a worrying notice, saying it needed to "restart to complete changes":

That's awfully similar to what it looks like when you install an extension and it needs a restart. And it was indeed a real Firefox dialog (it goes above the page content area, and clicking restart actually restarted Firefox).
I checked Tools → Add-ons, and I don't see any new/unexpected extensions (I have LastPass, OpenH264…, QuitNow, Save Page, Tap Translate, View Source Mobile, and uBlock Origin shown there)
Also, the site—marc.info—is a well-known mailing list archive for open source projects. I wouldn't expect them to be pulling stunts like secretly installing extensions.
My guess is I've just misunderstood what Firefox is telling me, or this is some Firefox bug (e.g., it's a normal update from addons.m.o, but it's just mis-reporting the source). But I couldn't find anything when Googling or searching here. Seems odd I'd be the only person to notice this!
What is Firefox trying to tell me?

A few websites, mostly search engines, have done that to me too. I have no idea why, but you are not alone.

It's a bug (although not for much longer). The doorhanger is simply doing its default thing, which is to use the domain of the tab it's being displayed on as a title. If this is triggered from about:addons, everything is fine because there is no domain to display, but if an extension automatically updates in background during browsing, something like the screenshot can happen.


text:
Bypass activate storage for android phone?
I have an android phone with broking screen that I'd like to root to eventually use it for a different purpose (as a computer).
The thing is that when I connect it to my computer it is detected, but as I recall, I have to activate access to storage on the phone before, which I can't do since the screen is broking.
Output to lsusb (on linux): Bus 001 Device 043: ID 0bb4:0001 HTC (High Tech Computer Corp.)
In device manager (on win7 64bit):
(Solution on windows or linux CLI are both fine by me)
Also if there is a hardware solution to this problem, I'm open to it


text:
PIN number forgotten, phone is locked
Note 3 was accidentally locked, PIN number forgotten, tried using Google account to retrieve photos saved on phone, but Location is not enabled on the device and phone cannot be located. Only 2 attempts left before it does a factory reset and wipes out all my photos. Saving photos is my priority. Any suggestions for accessing device as described above? Thank you.

When it goes into the locked state, wifi is automatically switched on, so try creating an unprotected hotspot, from another device, and login from google, it should work...just make sure you are sure about your password....ive been locked out of my samsung tab S, and the same worked out...so hopefully this helps


text:
Skip "Sign in to Google" when setting up new Android device
I recently got a new Nvidia Shield TV. On the first start, after asked me to set up my language and connect to my wifi, it prompts me to "Sign in to Google." The only options on the screen are "use your phone or laptop" and "use your password." How can I bypass this step?

You can not. They call it android, but in fact it's alphabet.

Basically, what are you going to gain out of bypassing this step? i mean if you dont want to give your google account details, just create another one...it dosent cost one cent to create one. Hopefully, your issue will be addressed after this

It's more like Google doesn't need to know more about me. But this isn't just a Google thing; most modern OSes (Mac OS, iOS, Windows) push you to sign in.

My Shield TV worked just fine for three years without a Google account, but the Oreo update appeared to lock me into a signup page; This is pretty obnoxious.
You can double-tap the home button and dismiss all the active applications; once you do that the launcher will come up without requiring you to login to a Google account or give them your phone number to create one.
You will have a permanent notification suggesting you sign in, though.


text:
Which precise commands allow me to send a mail locally with Termux
Which precise commands allows me to send a mail locally
I would be able to do it with mutt but how do I start a SMTP server?


text:
Modify AOSP to run a specific shell command on boot in Android 6.0
I am trying to modify AOSP to run a specific shell command on boot.
I tried to modify init.rc in system/core/rootdir/ to run a command on boot, but I could not make it work.
I know that I should use exec so I tried all these variations but none of them worked for me:
exec mkdir /data/local/tmp/test_directory
exec "mkdir /data/local/tmp/test_directory2"
exec -- mkdir /data/local/tmp/test_directory3
exec -- "mkdir /data/local/tmp/test_directory4"

I also tried all solutions on this page on Android 6.0 without any luck.
Anybody have an idea about what I am doing wrong?

You should grab the source code, modify init.rc and recompile it. The rootfs in Android gets 'refreshed' every time the device boots, so it makes no sense to edit init.rcdirectly on your device.
However there are alternative approaches and the following one is what I'm currently using.
Find a system service that you probably don't need at all, which in most times, is debuggerd. Locate its binary at /system/bin/debuggerd, rename it to something like debuggerd.bak, and then put your shell script in that place. Then in a shell, run
start debuggerd

and reboot. Your shell script will be executed every 5 seconds after the previous task died. It's recommended that you add a sleep loop at the bottom of your script if you want it to be run only once per boot.


text:
get cellinfo with adb shell
I have just installed adb and I am trying to retrieve information on the cellular tower which my phone is connected to. My phone is a Samsung Galaxy Trend Lite running Jelly Bean OS (4.1.2). I have rooted the phone and I am using the adb shell as super user.
I tried to use dumpsys telephony.registry from the shell, which gave me a cellInfo parameter, but it's equal to null.
I would like to retrieve a string with info like MCC, MNC, LAC, and CID possibly. Is this feasible? Is this the right way or is there a better one?
UPDATE 1
As suggested by @xavier_fakerat I opened a terminal in ubuntu and I typed adb logcat | grep -E 'MCC|MNC'. However I received the following message which does not seem useful to me (maybe I'm wrong...)
I/SA ( 2688): [OR] onReceive log=[SA = 1.6.0125 V = 16 HWD = 800X480 1.5 dpi = 240 SIZE = 2 LOCALE = it_IT CSC = ITV MCC = 0 MNC 0 T = user DEVICE = kylevess P = kylevessxx I = JZO54K M = GT-S7390 OKLEFT false DIS JZO54K.S7390XXUAOI1 PSS = 3.979127307850313 ]

UPDATE 2
I also tried the suggestion of @Ali Said and I was able to get the cid, although the output sometimes is equal to 0, sometimes is 68. I did the second option he proposed
adb logcat -b radio | grep "cid"

and received many rows like
D/RIL     ( 1391): RIL:[AP][RPC EN] msgid=0x413a str=MSG_MS_GET_ELEMENT_REQ tid 472 cid 68

or
D/RIL     ( 1391): RIL:[AP][RPC DE] msgid=0x204 str=MSG_RSSI_IND tid 0 cid 0

So now I think I am left with finding the LAC code only. Nevertheless, none of the solutions so far allowed me to retrieve all the info i was looking for at the same time. Also, option 1 of @Ali Said (adb logcat -b radio | grep ": +CREG:") seems what I REALLY need, but it doesn't output anything. Maybe it's a matter of the +CREG command (if it is an AT command as far as I can understand), which is not supported by my phone. Just a guess, I went very far for my possibilities, but I am pretty sure I am approaching the solution...
Finally, the output from adb logcat -b radio | grep "MCC" is
D/RIL     ( 1391): GetSamsungPLMNname:: GetSamsungPLMNname ::  deci MCC=222, MNC=88
while here is a link to the logcat from the cid info. Hope this could be of interest if someone wants to help me out.

Both of these worked for me:
Option1: grep AT command for cell info
$> adb logcat -b radio | grep ": +CREG:"
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6

[1] phone is registered with the network
[2444] hex : Location Area Code (LAC)
[0FA2A694] hex : Cell Id (cid).
Option 2 : you can grep "cid" from logact -b radio you should get it this. note it is decimal this time.
$> adb logcat -b radio | grep "cid"
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716

Option1 is my personal preference. hope that helps.

So, I tried both options. Option 1 didn't print anything. Option 2 instead is a bit different than your output. It shows many different lines and sometimes cellid is 0 some others is 68. So I suppose now I can get both the MNN, MNC and CELLID but I would still need LAC to get my phone's location with (e.g.) Google geolocation API. I'll update my question to this last update and possibly include a part of the output I am receiving from logcat.

Forget to mention that those logcat are for KitKat ... if you are after newer version use this
adb logcat -b radio | grep -e "< VOICE_REGISTRATION_STATE" -e "< DATA_REGISTRATION_STATE"
03-31 16:25:06.619  2727  2966 D RILJ    : [2823]< DATA_REGISTRATION_STATE {1, fffe, 0032d102, 14, null, 4, 0x29e1, null, 0x0032d102, null, null, 0} [SUB0]
fffe : is LAC in hex
0032d102 : cell Id in hex

Hey sorry for the late reply. I tried that and it worked (although I am using an OLDER version which is jelly bean). So, if you feel to update your answer with your last comment, I'll be happy to accept it! thanks again!

You may need to use  adb logcat and filter using grep. Try this
adb logcat | grep -E 'MCC|MNC'

Credits

Getting cell id through adb

Thanks. I tried that. opening a terminal in ubuntu I typed adb logcat | grep -E 'MCC|MNC' but I received I/SA      ( 2688): [OR] onReceive log=[SA = 1.6.0125 V = 16 HWD = 800X480 1.5 dpi = 240  SIZE = 2 LOCALE = it_IT CSC = ITV MCC = 0 MNC 0 T = user DEVICE = kylevess P = kylevessxx I = JZO54K M = GT-S7390 OKLEFT false DIS JZO54K.S7390XXUAOI1 PSS = 3.979127307850313  ]. I updated my question to include this.

Something wrong with the SIM card, doesn't return any MNC and MCC values, the other values are extracted from logcat info, and might not seem useful, but if are are after cell info, then MCC and MNC should be the focus, however to my surprise it's still returning null values. Is the network locked?

Thanks again. What do you mean by "Is the network locked"? My SIM is from Wind, I am from Italy. If you can suggest how I can check if the network is indeed locked and possibly if there's a way to unlock it (if this would likely fix the problem) I'll be very thankful. Anyway, really appreciate your help!

@umbe1987 I am suspecting something else now. Please check /data/data/com.android.providers.telephony/databases/telephony.db. Do you see any information on mobile country codes or networks? I suspecting this file might be missing telephony info , causing MCC and MNC to return null values.However I am not entirely sure so a discussion is welcome

So, I did adb shell logcat /data/data/com.android.providers.telephony/databases/telephony.db >> /home/umberto/Desktop/out.txt. I then looked into "out.txt" and searched for the term "mcc" and I actually found an interesting thing: I can see the same string I posted in my answer, with MCC and MNC = 0, but also two others where I read D/MccTable( 1910): updateMccMncConfiguration: mcc=222, mnc=88, and D/MccTable( 1910): locale set to it_it. From http://cellidfinder.com/mcc-mnc I read that it refers to "Wind Telecomunicazioni SpA" which is my company in Italy.

Pretty much. I believe the telephony registry is updated. Now try again using the code dumpsys telephony.registry in your device or adb shell  dumpsys telephony.registry in ADB. You should get similar MNC/MCC and wifi data codes

Let us continue this discussion in chat.


text:
How to migrate contacts2.db between android devices (SELinux enabled)?
I exported a contacts2.db from a samsung s6 and try to import it to a Samsung S2 tab. both phones operate on android 6 and are rooted. What I've achieved so far:

I managed to copy the file from the source device with:

adb shell "su -c cat /path/to/contacts2.db" > contacts2.db

I managed to restore the database by copying the file to the sdcard of the destination device and then via adb shell

su
cd /data/data/com.android.contacts/databases/
mv contacts2.db contacts2.db.bak
cp /sdcard/contacts2.db .
chown  u0_a4:u0_a4 contacts2.db
chmod 600 contacts2.db
cd ..
restorecon -Rv databases
kill $(ps | grep contacts | awk '{ print $2 }')

Then I start contacts again via gui, rebooted, but the contacts do not show up. It does not seem to be a file permission error, but a database problem? The devices run the same samsung stock firmware.

What did I miss here?

I've never had any sort of success moving that file around devices with somewhat different ROMs, but when they're flashed with the same ROM, just dropping the file in that location (without touching permissions, etc.) will do. I assume the format of the file is slightly different on the 2 devices.

@AndyYan make this an answer. It seems to be the correct answer. Afaik, a database version is part of the database, which prevents contacts from using an incorrect (too new/old)  database layout.

Your comment actually contains more than what I wanted to say. I'll have it integrated and posted shortly.

Should I rename the question to make it more appropriate? I guess it's a common question but the title now seems odd to me.

Now that you asked, I think just mentioning "importing contacts2.db" would be alright, the rest is your context that could be put into the question body. Whatever you like :)

Looks better to me now :) Thanks for chatting.

The format of the database is likely slightly different on the 2 devices. As quoted from your own comment...

...a database version is part of the database, which prevents contacts from using an incorrect (too new/old) database layout.

Personally I've never had any sort of success moving that file around devices with somewhat different ROMs, but when they're flashed with the same ROM, just dropping the file in that location (without touching permissions, etc.) will do.

Contacts are stored in data/data/com.android.providers.contacts/databases.
If you simply want to sync contacts in new phone, add same Google account on newer phone. It will automatically sync in background.
You can also try Samsung SmartSwitch.

Here's some partial information that I was able to figure out.  The contacts2.db database, like all SQLite3 databases, has a pragma (metadata) called user_version (which can be read with PRAGMA user_version in sqlite3) which is an integer typically used to store a database schema version number.  This is used, in particular, by many Android databases and contacts2.db in particular, in running automatic migration code that will attempt to perform the required schema conversions when the database version does not match that expected by the code (here, the com.android.providers.contacts package): the migration code is in ContactsDatabaseHelper.java in the Android code.  Sadly, there are many things that can go wrong in this migration (and when it fails, it usually fails catastrophically, meaning all the contents are lost).  Sometimes it helps to check the user_version on the database before migration, and possibly perform or repair migrations “by hand” (using sqlite3) following what the Java code attempts to do.  I've been able to salvage my contacts database once in this way (but of course, it requires some knowledge of SQL).


text:
Why contacts are not display in address book but available when typing number?
Rummaged through a bunch of articles in search of an answer to this question, but nothing helped. I ask for your help.
Android 6, LG
The contact book displays only a part of the numbers (124 contacts from applications such as Skype, Weiber, etc.), but in fact there should be much more contacts and they are in the phone (confirmation of that - when entering phone number +7 there are 449 numbers).
How can I make these 449+ contacts appear in the contact book?
In the display settings of contacts, it is possible to display contacts from all sources (phone memory, SIM, applications). I tried the sources one by one, too.

You have 124 contacts saved to your phone. When you press +79, you get 449 in the dropdown. This 449 represents the number you have dialled (starting with +79) till date, from your device. Those may be the saved numbers or unsaved too. This is not a bug. Hope this satisfies you query.
Update - adding the screenshots of my Lg 5.0.1.  When I search for contacts starting with 7 in Contacts tab, 250 contacts are shown.

While, when I type 7 in dialer, 396 contacts are found.

That's what happens with every phone. It's not a bug.

It is not true. I have just started to dial numbers (on my LG with Android 6 as in the Question) and a) only numbers from my contacts were displayed in the list, b) numbers I never dialed were displayed too.

Believe it or not but that's what happens.. I am editing my answer to include the screenshots of my Lg 5.0.1.

Wow. I don't know where are they've gone. Is there any way to restore all that contacts?

@arsen the contacts didn't go anywhere. It's that that you haven't saved them. The dialer shows all the numbers you have dialled and the contacts shows all the saved contacts :)

Touch three vertical dots at top right corner. It should let you change settings related to your contact book. Look for a setting named as - Contact Display or something similar.
Make sure you have selected All Contacts

In Contacts  click the 3 vertical dots on the upper right, select Filter , and then in Display contacts section select only Local, in order the device displays only your locally stored contacts (phone numbers).
This holds for Sony Xperia M4 Acqua Android 6.0.1 version.


text:
disconnect adb of device connected over TCP does not work
I run the following command to connect device over TCP ;
adb connect 192.168.56.102:5555

I am not able now to disconnect it  I even made two attempts :
 adb disconnect 192.168.56.102:5555

The second is , I reboot adb
  adb reboot

Unfortunately, when I run adb devices  , the connection is still there :
List of devices attached
192.168.56.102:5555 device

Brief, I am looking for the opposite of this answer

I just use "adb disconnect" and it worked fine for me. See the photo below:

To kill the server currently running you need to type: adb kill-server in command prompt. This should stop the instance of a running server.

Use adb -s deviceName disconnect.

deviceSerial I would say.


text:
How to disable alerts for email in subfolders?
The base Android email app on my honor 7 displays alerts for all mail regardless of folder. I don't want to see any of the high volume subfolders i have, just stuff sent straight to my top level inbox would be fine.
I'm sure this is a common use case. Get alerts about one-off top level mails, don't get anything for routine stuff that goes into subfolders. How to set it up?

try taking a look at the settings of your mail app, one might find such settings there.

@Enigma nothing more granular than turning all notifications on/off. There must be some email app out there that does this?

What mail app do you use ? @user1561108

As in question, the default android mail app in Honor 7. Willing to switch to whatever offers a solution though.


text:
How can you print a picture on part of page?
I know it sounds stupid, but I can't figure out how to print a picture on part of a page with Android. The default printing dialog only allows printing on the full page, as far as I can tell.
I also have Epson iPrint which suffers from the same problem, as far as I can tell. Any ideas?

Guessing - download one of the many collage maker apps say to create a 4 by 4 collage. Take a pic of the paper you are going to print on and add that in three frames. In the fourth add your pic. Print

@beeshyams : I guess that would work, but it's not very flexible nor very practical. Ideally I'd like to be able to resize the picture with respect to the page using two-finger zooming :)

Yes , I understand and would be curious to know how it's done


text:
How do I update my LineageOS installation?
I have a Motorola Moto E LTE 2nd Generation Android phone (surnia) running LineageOS 14.1.20170303-NIGHTLY-surnia.
I installed LineageOS by following the instructions in the wiki: unlocking the bootloader, writing TeamWin's recovery program, wiping the partitions and installing LineageOS and OpenGApps Pico from the zip files.
Now that I have my phone running smoothly, I'd like to keep it up-to-date and secure.

How do I update LineageOS?

Is there a setting on the phone that I need to enable to have passive updates? Or is there an option I can activate to update to the latest build when I've backed up my data and I'm ready to proceed?
I can't find any information on the LineageOS wiki regarding updates.
I could update LineageOS by going back into TeamWin and writing the latest .zip, but that seems a bit drastic.

If you go to your phone’s settings, then “About phone”, you’ll see the phone’s status with an entry at the very top called “LineageOS updates”. In there you can configure how often your phone should check for updates, and you’ll also see a list of available updates. You can tap the “Download” button to download an update, and once it’s finished downloading, the button will say “Install” and tapping that will reboot your phone to TWRP and install the update.

Since other answers were correct but are now outdated, on my Lineage 19, I went to ⚙ Settings > System and found the Updater in that menu.
More instructions can be found in LineageOS.org's Wiki.


text:
Can't login to game through google option
I can't login into Crusaders Quest through the google option, says network problem occured errorCode 4001. All other games login through this option just fine and I have a stable connection. What could be causing it?

Maybe the game it's just not doing good oauth authentication. Try to reinstall the game and login again.

Sadly that didn't fix it. Funny how the facebook login works fine everytime. Also it seems to affect king's raid and guardian soul aswell.

May be the devs didn't implement the auth correctly. Ask them to help you.

It's not that either. The game logged in fine before but now it just doesn't want to.


text:
Samsung galaxy s3 not rebooting in recovery mode
My galaxy s3 will not reboot after I've wiped cache and did factory reset.  The little guy just says error and it shuts off.

Can you please specify, where the error appears?

You should reflash the recovery

Why and 2) how should the recovery being flashed again? What should be gained by that? Obviously, recovery is working if OP was able to "wipe cache".


text:
Finding out Arduino's port name on Android
Since I found this app named QPython for Android, just wondering if it possible to read serial data of Arduino on Android using Python (QPython).
It would have probably been easier if I had a rooted device, so that I could just use the Termux app and cd /dev to find out the connected devices and their ports. but, question being, is it possible to find the port for the Arduino connected to my Android via OTG? and yes, my phone supports connection over the OTG since ArduinoDroid works very well.

you can use sl4a, see my answer here


text:
can't connect my Android device to the router dwr 712
how can i make my Android IP address static so that I can enable my phone to connect to my router when I enable WI FI MAC address filter

It is because IP addresses are not static, they change on every reboot of the router and if the lease is over. You should instead set a static IP address or enable MAC address filter.

It's also an off-topic question as it is not related to android!

sorry I have edited my question

Check this link, although your edited question is not clear neither: https://dlink-manuals.org/dlink-dwr-712-user-manual/42/

thanks i already went through that but when I enable the wi fi Mac address filteron my router and try connecting my phone later to it then it does not connect and also my up address goes unavailable but once I disable my wi fi Mac address filter on my router my ip address returns

so I was asking how can i solve this problem and it only happens with my phone other phones can connect even after I enable the wi fi Mac address

You should ask your question elsewhere where a network expert may help you.

If you're talking about your own WiFi network, a network address must be agreed upon by your router and your Android device. This is usually done via DHCP, with your router managing available IP addresses and assigning them to devices which connect to it.
Now, those addresses are usually assigned dynamically, and „time out“ when the „lease time“ configured in the router is running out and the device has not been connected within that time frame. That's done so the router doesn't run out of available IP addresses, which are (in a class C network, which is commonly used here) limited to 254.
So if you want your Android device always to use the same IP address, there are two approaches you can take – depending on what your router supports:

tell the router to „always assign the same IP to that device“
use an IP address outside the configured DHCP range and configure that as „fixed IP“ with your Android device.

The former is easier to achieve, and there's nothing you'd need to configure on the Android device for that.
For the second approach, you first need to check with your router about the DHCP range (wich might e.g. be 192.168.0.200 and higher), then pick an address outside that range but still in the same network and not already used by another device, e.g. 192.168.0.199 with the mentioned example (don't use .0 or .255, which are reserved for special use). Then configure that in your Android device, by editing the settings of your WiFi network:

Go to Settings › WiFi (where the networks are listed)
long tap the entry of your WiFi, and chose to „edit“ its settings
chose to show „advanced“ options
enter the IP address (from above calculation), gateway IP (your router's IP), name server (e.g. consult your router what it uses, or try with the router's IP again), and the network mask (with a class C network, that would be 255.255.255.0)
Save


text:
Why is this app install failing as incompatible and can it be force installed?
I've used the Yell app for ages (com.yell.launcher2). It's recently updated and should be compatible with modern android (and is listed as compatible with 4+). I'm using LineageOS (=7.1) on a rooted Samsung Galaxy S7, which is certainly up to date. But the installer (when I open the APK) says it didn't install as it's incompatible, which surprises me.
Is there a log, or a way to tell, what the exact conflict is, either via GUI or terminal, and based on that information, is it likely that I can force it to install (perhaps it won't work once installed, but I suspect it will, but for sure it can't run if it doesn't get installed in the first place). If so what might work?

Install this APK with adb install from your PC, or pm install from a terminal emulator on the phone. This will give you the reason of failure. Alternatively, you could also search through the log output of adb logcat, though this approach is more tedious.

pm install usually fails with INSTALL_FAILED_INVALID_URI, though.


text:
What is this annoying sound on Android?
I often hear the following annoying sound on some of my android devices, especially a OnePlus One.
This seems to be an error or warning sign of some sort, and it's extremely troubling.
Any idea what is the cause of this sound?

It must be preceded by some notification, app running or some user action- unless that is identifed,  it would be hard to say

Install Notification history and see if it can help locate what is causing this

My wife's phone has the exact same problem. Did you ever figure it out? I would love to know!

Nope. It's gone, don't remember how. I removed all the unused apps AFAIR


text:
android - can't send or receive sms with android official sms app
after i installed custom ROM on my phone(android 4.2.2), i rooted it and uninstalled hangouts(system app).
[i think] hangouts was default sms app
after installing ROM .
now i can't receive  sms with android official sms app.
and when i send sms  , it always stay on sending status.
but i haven't any problem with other sms apps(go sms, hangouts[after reinstall],...)
I'm need to send or receive  sms with android official sms app.any ideas welcome.
P.S:
1.i installed new ROM for my
phone locked on bootloop
2.i not found any difference between old ROM and new ROM.
3.i checked sms center number.

Please read the tags before posting your question.

You are asking an off-topic question. Please read On-Topic, How do I ask a good question? and What types of questions should I avoid asking?

i re-flashed my phone official ROM (without losing data by this learn) and now this problem solved!

Either stick to your other SMS app or try removing the default SMS app and reinstall it using an APK.


text:
How to know where is the boot.img partition
I would like to modify my init.rc  file for get  init.d support  trough the the boot.img file. As I know is the touchy action I've got several procedure but anyone referenced with I can note on my device.
1|root@nexbox_a95x:/ # cat /proc/partitions
major minor  #blocks  name

 253        0     512000 zram0
 179        0    7634944 mmcblk0
 179        1       4096 mmcblk0p1
 179        2      65536 mmcblk0p2
 179        3     524288 mmcblk0p3
 179        4       8192 mmcblk0p4
 179        5      32768 mmcblk0p5
 179        6      32768 mmcblk0p6
 179        7       8192 mmcblk0p7
 179        8       8192 mmcblk0p8
 179        9      32768 mmcblk0p9
 179       10      32768 mmcblk0p10
 179       11     524288 mmcblk0p11
 179       12      32768 mmcblk0p12
 179       13    1048576 mmcblk0p13
 179       14    5148672 mmcblk0p14
 179       96        512 mmcblk0rpmb
 179       64       4096 mmcblk0boot1
 179       32       4096 mmcblk0boot0
root@nexbox_a95x:/ # cat /proc/mtd
dev:    size   erasesize  name
root@nexbox_a95x:/ # ls -l /dev/block/platform/d0074000.emmc/by-num/
lrwxrwxrwx root     root              2015-01-01 01:00 p1 -> /dev/block/bootloader
lrwxrwxrwx root     root              2015-01-01 01:00 p10 -> /dev/block/misc
lrwxrwxrwx root     root              2015-01-01 01:00 p11 -> /dev/block/instaboot
lrwxrwxrwx root     root              2015-01-01 01:00 p12 -> /dev/block/boot
lrwxrwxrwx root     root              2015-01-01 01:00 p13 -> /dev/block/system
lrwxrwxrwx root     root              2015-01-01 01:00 p14 -> /dev/block/data
lrwxrwxrwx root     root              2015-01-01 01:00 p2 -> /dev/block/reserved
lrwxrwxrwx root     root              2015-01-01 01:00 p3 -> /dev/block/cache
lrwxrwxrwx root     root              2015-01-01 01:00 p4 -> /dev/block/env
lrwxrwxrwx root     root              2015-01-01 01:00 p5 -> /dev/block/logo
lrwxrwxrwx root     root              2015-01-01 01:00 p6 -> /dev/block/recovery
lrwxrwxrwx root     root              2015-01-01 01:00 p7 -> /dev/block/rsv
lrwxrwxrwx root     root              2015-01-01 01:00 p8 -> /dev/block/tee
lrwxrwxrwx root     root              2015-01-01 01:00 p9 -> /dev/block/crypt

Someone could tell me where is the boot.img partition is this shell result?
Thanks for any help.

/dev/block/boot?

@AndyYan /dev/block/bootdevice/by-name/boot

@iBug I mean from the info he posted. Not every device have bootdevice  exactly as it is. Let OP explore that.

Hi,  who is the OP?

OP = original poster = you.

@Andy Chicken and eggs How to choice between bootloader, instaboot, and boot partition