text:
How to copy the current URL in Chrome?
I was sure in the version prior to 18.0 you could fiddle around and long press on the URL in the address bar and get a menu to copy the current URL.
I just updated Chrome, now if I long press it I just get the magnifying glass which is incredibly frustrating. How can I copy the current URL to the clipboard in the Chrome browser?
Chrome 18.0.1025469
Android 4.0.4
Sony Xperia P

Turns out I was doing it wrong (well at least on my my ROM).
You need to perform two double-taps.

Double tap the URL. The first tap will select all of the URL and the second will deselect it and give you the text cursor and that little text selection tab helper thing.
Double tap the URL again to bring up the menu.

Or you can just keep quickly tapping until the copy menu appears. I find this whole process to be a bit unusual.
Other people are saying that they can long press to copy, so not sure if the above is specific to Sony ROMs.

Long tap works in my Galaxy Nexus, the steps you describe work here too.

Using Google Chrome 60 on Android 7.0 build by Sony, it only needs three taps. 1: open the search / address bar, select all of URL. 2&3 (double tap): deselect it then select all and show floating clipboard menu with text selection (teardrop shapes).

It just might be about your ROM.
I have the same version of Chrome, on Android 4.1.2.
When I select the URL and long-press, I am getting a row of buttons, which of course includes a 'copy' button.

You could be right. This week I updated both the ROM and Chrome.

@row1 I'm also using the same Chrome version, but on Android 4.0.3, and can confirm that long pressing the URL does bring up the cut/copy/paste button bar.

You could workaround this problem by sending the page to Gmail App, and there you can copy the URL from the draft message body. Then you can delete the draft from Gmail.

Have previously tried this. It is quite messy as you need to then exit edit mode (can't seem to select text), then load the draft (non-edit mode), then long press the URL to copy. Does work though. A share to clipboard app would be better.

Android 4.2 has the new sharing option "Copy to clipboard".

Thanks for the screens. I can't seem to copy it from your 3rd screen. I need to exit edit mode. Not sure if Sony will ever give me the 4.2 update ... well at least not any time soon :(

I don't understand what you mean with "exit edit mode". Please could you explain better this? Maybe a screenshot could be helpful too.

Go back to your labels and selects drafts. Select a draft email. You are now previewing the draft and need to press the 'pencil' icon to edit it. I cannot select text from this preview mode, but if I long press on the URL I get an option to copy it.

When you share to Gmail app, don't you get directly to a Compose view? Is there, in the body of that message you will be now composing, where you have to copy the shared URL from. To go back like you say and do all these process you describe gets you exactly to the same Compose view I'm talking about.

Yes I go directly into compose view, but I cannot copy from compose view as it won't let me select or copy the URL. I need to go into preview view for the draft. The steps I described is not exactly the same. In preview view it will render the URL (blue text instead of plain), then I can long press on the URL I get an option to copy it. I cannot do this from compose view.

Definitely this must be a ROM issue, because it's affecting not only Chrome but Gmail too. Better go for my other answer: it's less complicated.

Try this free app:  To Clipboard
Install it and it will be added as a new share option, so you can send there the URL from Chrome.

This works very well. Will wait and see if I can get any fixes/explanations for Chrome before accepting.

I don't think this is a Chrome issue, but a manufacturer ROM related "feature", because I had all versions of Android since 4.0 until 4.2.1 in my Galaxy Nexus and I never had any problem to copy URLs in Chrome.

It was working a few weeks ago when I last tried it. Since then have updated the ROM and Chrome. So could be the ROM.

Use share from more(3 vertical dots) besides address bar. You will get copy to clipboard from various options of sharing. (Android 4.2.2 on Sony xperia z)

If you don't have this, you can get it by installing copy to clipboard

Chrome browser. Samsung 10" tablet.

Get the URL you want to copy on the address bar.
Scroll it as far right as it will go.
Touch the URL lightly and it will be selected in blue.
Very lightly touch an area on the left of the URL and pull it to the right.
You can now use the selector handle to select the new area.
Repeat until you have the http(s) showing and touch copy.


text:
Camera app on HTC Sensation keeps crashing
I have an HTC Sensation, about two years old. It's running Gingerbread, rooted but not modded or custom-rommed. All of a sudden, the native camera app started crashing - i.e. it opens and immediately closes. I don't know if the hardware camera is damaged, or if it's just the app.
There have been no changes to my phone since it last worked - no new apps, no settings changes, nothing.
Any ideas? Are there any other camera apps out there that I could download to replace the native one?

I just found a free sensors diagnostic app, install it and run it in order to see if it's a hardware problem: Z - Device Test

Well, I installed that and there's just a red X over the camera icon, so it appears that it's not recognized at all.

Turned out the camera lens was actually damaged. The app mentioned helped diagnose it (or rather, rule out other problems.)

Go to Settings → Apps → Manage Apps, find your Camera app, and look if you can "Clear Cache" and/or "Clear Data"; maybe something got messed up there.
If that doesn't help, try clearing the apps Dalvik Cache (you are rooted, so you can do that): ROM Toolbox Lite and DroidTweaker (ROOT) are two helpful apps for that. Same background as above: Sometimes something gets messed up here.
A very last resort would be a factory reset -- but keep in mind that this would also wipe all your self-installed apps plus data of all apps, so have a good backup of all your data available (hint for that: Titanium Backup ★ root, which also offers a "Dalvik Cleaner" feature -- but as far as I remember this only removes "orphaned" entries (from apps you uninstalled, and the like).

I already have titanium backup, so it wouldn't be a huge deal if I needed to do that. I'll try clearing the davlik cache when I get home tonight; don't want my coworkers to hear me cussing if it doesn't work...

source: Stack Exchange

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

sort: votes


text:
Why do I not get the new YouTube ui on my tablet?
I've got a Samsung Galaxy Tab 10.1 running CyanogenMod 9-20121028-NIGHTLY-p4wifi and I downloaded the latest YouTube app from the Play Store. However, the app still uses the old ui with the 3d carousel, despite reporting a version number of 4.1.23.
I had this same issue when running various versions of AOKP.
Any thoughts?

The latest YouTube update has enabled it :-D

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


text:
How do I transfer files from my Android smartphone to my Windows laptop?
How do I transfer files from my android smartphone to windows laptop?
NOTE: Bluetooth is working fine on both the devices and is in ON mode.

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

There are a lot of different ways to get files to/from computer to Android device. Here I would like to share three methods frequently used:
1. Transfer Files Using USB Cable.
2. Wireless Transfer Using Cloud Storage.
3. Transfer Files via WiFi or Mobile Networks.
The following is the detailed intro of these three ways.
Transfer Files Using USB Cable
The most direct and simplest way to transfer a file from your PC to android phone is using the USB cable. Most of the phones we bought equip with a compatible cable, so there’s no need for you to buy one. Just connect your PC and your Android using the cable, and you will see there’s a message on the phone screen asking what do you want to do.
Choose the option that allows using the phone as a storage device, and you’re good to go. Transferring file is as simple as copying the file from your PC to a USB drive.
Note: The exact format of the message varies, depending on the manufacturer or your telecom carrier of your android phone, but different roads lead to the same destination.
Wireless Transfer Using Cloud Storage
Cloud storage is famous for online collaboration and easily sharing data across multiple devices, like file servers, desktops and mobile devices. So using cloud storage to transfer files is also a convenient way. Most of the big players, such as Dropbox, Google Drive and SkyDrive, provide free spaces to users, which is big enough to transfer your commonly used files.
All you have to do is to register a free account. And install the PC client and app for your android phone. Each app designates a hard drive folder, and anything saved on your PC will be automatically synced to the cloud and other devices.
Transfer Files via WiFi or Mobile Networks
Some people may think connecting Android device to PC with the USB cable is annoying, or using the Cloud Services is not reliable enough, here I will introduce you another method, using WiFi. Most people have WiFi networks at their workplace or home, so it’s really convenient.
There are lots of apps allow you to use the WiFi to transfer files. Let’s take one of them-WiFi File Transfer -for an example. All you have to do is type a specific URL into the web browser of your computer, you can see your device’s internal memory and SD card, from where you can download any files to your computer, or upload files to your phone.
Contrast of the Three Ways
The limit of WiFi File Transfer and Cloud Storage is the size of the file, the free version of these apps limit the file size. You can transfer the music, pictures, movies, word document, etc by above two ways. For files with large size, you can use the USB cable directly.
6 Ways (via Network) are here

Is there an app which i can install on my android smartphone and use the bluetooth to transfer the pictures from the smartphone to my laptop ?

I do not have an internet connection on my smartphone, but i do have an internet connection on my laptop.

I think you can send files from mobile to PC(which have a bluetooth antenna) without using any apps. Just do it as how you done with phone-to-phone.

+1. Thanks. Does using bluetooth on both phone and computer turn the phone into some server (web, ftp, ... server)?

If you are using Windows, USB should be your best bet. But several distros of Linux doesn't support MTP protocol (ICS and above) and hence, you can't mount your Android to those computers. There are a number of methods which you can use for wireless file transfers. My favorites:

Install Airdroid- This is a very simple app which converts your device into a lightweight web-server. After installation, connect your PC to your Android over WiFi hotspot or existing infrastructure WiFi network. Airdroid will give you a web address. Just type it in your PC web browser and you would get a nice file management interface for your phone.
Use any FTP server for android (like remote file management tool of ES File Explorer)- The connectivity method is the same as mentioned above. Here you can use FTP for file transfer over USB (Tethering mode) or WiFi (Hotspot mode). This is very handy if you're using Ubuntu (due to FTP client integration in Nautilus). In Ubuntu, press Ctrl + L and type the ftp://:/ in file path. You should get full SD card mounted as network drive.

I've been using the second method since past few months. Since android WiFi access point always gives the same IP, I've managed to put everything in a bash script to facilitate one click mount.
BASH Script:
#!/bin/sh
nautilus ftp://<device_ip>:<port_no>/

Don't forget to grant 'execute' permission to your shell script!
sudo chmod 777 <path_to_your_script>

Why 777? You can just chmod +x. 777 is bad practice.

+1. Thanks. Does using bluetooth on both phone and computer turn the phone into some server (web, ftp, ... server)?

Also I followed your second method, but it seems that I can't move a directory of my phone from my computer. What do I miss?

@Tim: Some FTP servers don't support recursive file operations. That's why you might be getting this issue. Are you able to copy and paste single file (from server to client)?

@Tim: Bluetooth file transfer is also based on client-server model. It uses a specialized object exchange technology, called OBEX, which facilitates file transfer over asynchronous radio link.

(1) I can copy and paste single files, but I can't move a directory. (2) Is OBEX an alternative to ftp or http?
(3) when turning the phone into a http server, we can't change the files in the phone, right? When turning the phone into a ftp server, we can change the files in the phone, but only subject to the constraint in (1)? How can we have full access permission to the files and directories in the phone?

OBEX is an object push technology and is a part of Bluetooth protocol stack. This however also depends on the type of Bluetooth profile supported by end user devices. OBEX is not supported in my Android device. So I rely on HTTP and FTP servers. It is possible to modify server side files over HTTP (the server may also use some PHP scripts to do so). Airdroid is an example. There are a lot of free FTP servers which support directory operations. I've been using my own FTP server which I wrote a few months back. You can use FTP tool of ES File Explorer to get full device access. It worked for me.

when you connect your android phone to the windows pc you will get notification in notification in notification panel of android .  Tap on it and choose mobile device (MTP) to browse  the  contents of your phone both internal and external memory will be shown .
the below link will give you a short description about it :
http://blog.armazine.com/2012/how-to-change-from-mtp-to-mass-storage-mode-in-android-xperia-ray/

Email yourself the files. It is often the easiest solution.

Easiest? Perhaps. Most time-consuming and inconvenient? Almost always.

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


text:
TWRP can not find my backup ROM files
I am trying to flash my backup ROM – but when I click "Restore" in TWRP, it doesn't find my files. What am I doing wrong?

Screenshots (click images for larger variants)

Backups from TWRP are kept in the TWRP - BACKUPS folder, so I have to ask, is anything in the BACKUPS folder?

No. I MOVED the backups out of TWRP and ONTO my pc THEN MOVED the files BACK onto the TWRP sdcard. Thats when It wont recognize the rom.

TWRP has a file manager by default in Advanced section... I'd suggest that you do a backup as is, and then use the file manager to move the Backup in exactly the same place that TWRP just made  !
Make backup 1
Move backup 2 to backup 1
Restore backup 2

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


text:
I have six Samsung Galaxy Avants that I can't do much with
The owner of my company upgraded our employee phones to something more current. He was going to literally just throw away six perfect condition Galaxy Avants with cases and chargers until I asked if I could have them since they were trash to him. He said sure.
So here I am, stuck because the company software is still on here. I can't really delete because I need admin permission and the application that we used is actually no longer in service (our admin and her team built a new app for the new phones)
I don't really know how to word this, because I have not really been in this situation before...But how can I get these phones back to factory settings? I have the passwords to get into the UI like you would normally but it's still recognizing that it is a phone for my company, with the no longer working app, and no ability really to navigate the phone because it wants me inside of this app.
Thank you in advanced, sorry to be vague.

You should be able to restore factory settings by flashing the Samsung stock ROM using the official Samsung tool named Kies. The procedure is explained here. Your device name should be Samsung Galaxy Avant G386T.
Alternatively you can try Odin. The procedure is explained here. You must be aware that Odin is not supported by Samsung. Using it incorrectly or flashing an incorrect ROM (for instance a ROM intended for another device) can brick (permanently damage) your phone.

10 months later I finally got around to actually doing this and I'm having difficulty. When I attempt with kies, nothing happens. it gets to 100% and that window closes. then nothing else happens and I'm back to square one. any thoughts? thank you

Is there any log file from Kies you can post here?

And did you have any success with your attempt to factory reset your phones?

authors: ณกรณ์ ประกอบผล


text:
Samsung Tab A 9.7"
I just got a Samsung Tab A. I don't always get a full screen when watching TV. Is this normal with this model?

I'll shift the comment to a formal answer; kindly accept if it's indeed on point, or comment on the answer if you need more info.

The content provided may simply not have the same aspect ratio as your screen (4:3), so you get black edges. One reason why 4:3 tablets are bad for media consumption.

Remark: listening to audio media the aspect ratio is irrelevant. Most photos are done using the "golden ratio" as well, plus there are many movies in 4:3 – so saying the ratio is "bad for media consumption" is a bit too generalizing; one could say the same for 16:9 tablets when referring to those 4:3 movies or watching photos/slide-shows (black bars left and right) ;)

@Izzy Uh, really, tablets for music? Also movies are even shifting towards 21:9 by now, so the good'ol Iconia Smart might not be a bad idea to rework on. The photo part is right - I should indeed have made the claim more clearly restricted to motion picture, but I'll leave it as it is and let the comments fill in.

Why not? Also, there're always DLNA / uPnP Server and Clients :) And yes, that's basically what I've meant: "media" was the wrong term (don't forget the "print media" in electronic form, e.g. eBooks and also websites). But maybe I'm splitting hairs here ;)

@Izzy That's a pricey and not-so-portable slab you got for music enjoyment... About the Ebook part, now that you mentioned it, nobody actually refers to Ebooks when they talk about "media consumption" around our part, they usually reserve a separate mention for it.


text:
How useful is Android Wear without Google Apps?
I'm thinking about flashing my phone to Cyanogenmod, but I have an Moto 360, so I'm wondering how much of Android Wear is still functioning without Gapps. Does anyone have experiences with this?
I don't really mind things like Google Maps not working properly, but I would like Google Search to work (at at least basic task). I also wouldn't mind installing just the Android Wear app.

...I thought you can't pair Android Wear without GAPPS? That's what I've experienced. I got a G Watch by the way, which is now abandoned...

When flashing cyanogenmod you can also flash GAPPS. But without it your watch will pretty useless. You won't have maps, hangouts, agenda, Google, Keep, Play Music, Reminders, etc. So I would HIGHLY recommend flashing GAPPS along with CyanogenMod.


text:
How to extract audio from a web page on Android?
I'm trying to extract the source audio from a podcast so I don't constantly have to go to the website and find the exact point I was at. It is directly from a web player which is embedded on a webpage that I visit.
As far as I'm aware it's not possible with any extensions because they are not compatible with the chrome browser on android (which I am using on my Nexus 5X).
Has anyone been successful in downloading an MP3 file from a webpage using their Android phone?
If any clarification is needed please let me know in the comments. Thanks!

Community bump prevention: this question was closed because the question seems to have been abandoned (OP hasn't visited the site more than 5 years and existing answers have no votes). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

Try Mp3fy.
Long hold the link to the podcast and copy the URL. Insert the compied URL to Mp3fy and let it work its magic.
If you could provide a link to the particular podcast so that we can check, that would be great too.


text:
Moto G 1st gen getting "unfortunately google play services has stopped" message even in safe mode
I hope you can help.
I have a Moto G 1st gen phone and for the last two days I have had the dreaded "Unfortunately google play services has stopped" message.
I cannot "force stop" the app as suggested elsewhere, since the only buttons still working are "disable" and "manage space".
The "force stop" and "uninstall updates" buttons are greyed out.
The "clear cache" button is not greyed out but doesn't do anything when pressed.
I have tried changing to "safe mode" and even then I still get the same "unfortunately...." message.  Apparently that means it isn't a problem with any of my many installed apps (?)
I cannot update the app manually as it doesn't exist on "play store".
I did have an incident yesterday where Norton closed down internet access for a time, having discovered "malware" in an app which I then had to delete to reinstate the internet connection and continue using the phone.  I can't remember if the play services message was appearing before that incident or not.
Please advise in straightforward terms what I can do next - is a factory reset my only option or could you suggest something else?  If you can suggest something else, please advise in simple terms what I need to do and where to find what I need, if you can.
The version of Google play services I have on my phone is
Version 9.4.52 and obviously it isn't running the latest operating system as there was never an upgrade available for my phone.
Thank you !

If I'm correct, the best way to handle this is usually this: Tediously, navigate to settings. Once in there, go to accounts and remove all your accounts. Once this is done, back out of that to the main settings. Then navigate to apps. Look for Google Play Services. Force stop it, then clear cache and data. Do the same with Google Play Store. Once this is done, go open up the Play Store. If done correctly, usually it'll ask you to accept the Terms of Service. If you get that, then you can sign in and it should be fixed. Sometimes you have to repeat this a couple times because sometimes it doesn't trigger whatever it is that fixes it.


text:
What is the difference between unmanaged vs managed in-app product?
What is the difference between a "managed in-app product" and an in-app product that is not managed?

Welcome to Android Enthusiasts StackExchange :) However this question warrants a answer bordering on development related hence, voting to close as its off topic, should check Google main site for the information and also here on StackOverflow's question that explains the differences :)

I was wondering why OP wanted to know this, from a user perspective or a development one? Posted an answer anyway as it seemed borderline and could be reasonable for the site.

I think this is in a gray enough area to stay here. I can imagine your run-of-the-mill Android user wanting to know this.

The short answer is that managed items are items that can only be purchased once per user and that Google Play keeps track of their purchase, unmanaged items aren't tracked by Google Play and they can be purchased multiple times.
A fuller description is given in Google's In-app Billing Version 2:

Managed per user account — Items that can be purchased only once per
user account on Google Play. When a user purchases an item that uses
the "managed per user account" product type, Google Play permanently
stores the transaction information for each item on a per-user basis.
This enables you to later query Google Play to restore the state of
the items a specific user has purchased. If a user attempts to
purchase a managed item that has already been purchased, Google Play
prevents the user from purchasing the item again and displays an "Item
already purchased" error.
The "managed" product type is useful if you are selling items such as
game levels or application features. These items are not transient and
usually need to be restored whenever a user reinstalls your
application, wipes the data on their device, or installs your
application on a new device.
Unmanaged — Items that do not have their transaction information
stored on Google Play. This means that you cannot later query Google
Play to retrieve transaction information for those items. For
"unmanaged" purchases, you are responsible for managing the
transaction information. Also, Google Play does not attempt to prevent
the user from purchasing an item multiple times if it uses the
"unmanaged" product type. It's up to you to control how many times an
unmanaged item can be purchased.
The "unmanaged" product type is
useful if you are selling consumable items, such as fuel or magic
spells. These items are consumed within your application and are
usually purchased multiple times.

Note that only version 2 of the in-app billing deals with both managed and unmanaged, version 3 only deals with the managed in-app product type.


text:
Customize number display on dial pad on Android 4
Is it possible to customize how numbers are displayed when dialing a number?
For example:
Instead of grouping them with spaces like 555 123 123, I'd like it to have no grouping: 555123123.
On 2.3 you could do that from the locale, US had spaces and UK did not.
On 4.1 it seems that both US and UK have the same spaces.
Can it be changed?
Thank you.

To the date, there is no functionality to disable this feature. Actually this was implemented to make it easier for the user to recognize and remeber the number easily.
I did some search and found out that other people have the same problem as well.
What I suggest is to move on to a custom dialer app which suit you the best, if this grouping feature really annoys you.

Thank you, Sid. Awesome answer. I know grouping is supposed to help, but they way it groups digits is bad for how numbers are formed where I live.


text:
How do I export display to Android native X server?
I downloaded Ubuntu precise with Complete Linux Installer which uses VNC by default. Then I found a native X server on Google Play and I'd like to try it. I read somewhere I must export display, but I don't know how to.

export DISPLAY=:0

when you type "xterm" a terminal should appear inside X
But doesn't work very well, because some x11-Features are not implemented in this Android-Xserver.


text:
Can I use my Nexus7 charger to charge my Android phone?
The Nexus charger has an OP Amp rating of 2A. The charger that comes with the phone has an OP Amp rating of 1A. Both have the same voltage. IP voltage is 100-250 V for both.
I googled and came across various posts saying how Li-ion batteries are smarter and how the phone will only draw as much power as it needs, and not more.
So essentially, the phone takes what it needs, and the charger is capable, but doesnt force its rated voltage on the device. Is this correct way of putting it?
Will it damage the battery in anyway? Or the charging circuit?

I've used my Nexus 7 charger on my Nexus S phone for the past 2 months or so and haven't noticed any ill effects yet.

I've plugged in any number of mini-USB power packs to my Galaxy Nexus (and before that, my DROID) and each worked just fine.

In short: yes, you can use your Nexus7 charger to charge your Android phone. If the connectors are compatible, it will work without problems.
I always use a single 2A USB charger for every phone, tablet and ereader that I have at home, and also for the Raspberry PI.

It is convenient to carry a single charger. But a problem, when all devices are powerless at the same time.

It might work less well the other way around. The N7 has an almost completely stripped sleeve, making for a very long plug. Conversely my Galaxy Nexus has a quite short USB sleeve - I can't get it far enough into the N7 for it to charge. (The micro-usb standard clearly isn't quite prescriptive enough!)

@theTuxRacer ...a really bad omen... ;-)

Charging my Samsung Galaxy Note 1 (GT-N7000) since 2 Months with my Nexus 7 charger without problems.
The Nexus 7 charger provides enough output and the phone manages this.
But vice versa: Most phone chargers have less output (1A) so it needs longer to charge your Nexus 7 tablet.


text:
Where are saved pages stored?
I have used the stock browser to save a page for offline reading.
It is a .txt file, the browser only opens it and does not give me an option to download it.
Where is the page stored, i would like to open it with another app.
I have looked under /sdcard/Android/data But there is no com.android.browser folder or any other folder which looks like the right one.

Not sure, but usually downloads are stored in /sdcard/download or /sdcard/downloads. Have you checked there?

@Izzy Yes i have. I could not download the file, the browser only opens the link. So i had to use the Save-for-offline-reading option

I see -- that's of course something different. Please take a look at my answer below -- I guess I covered all possibilities now :)

Where to find it when it was downloaded
If you have been able to "download" the file, the most likely location to find it is either /sdcard/download or /sdcard/downloads.
It wasn't downloaded, but "saved for offline reading"
But as it turns out, the stock browser didn't give you that option, and you had to "save for offline reading" -- which is something different. In this case the file probably is stored on internal storage (below /data/data/com.android.browser). Without root you've got not many chances to access it there. So you could either try with a different browser -- or simply copy-paste the text file into some note-taking app / editor (e.g. Jota Text Editor or AmbleLink Notepad Basic Ed.).
Alternative download options
If you have to do this more often, or formatting gets lost on copy-paste, you're probably much better of with some "downloader tools". I just know about Tasker, which offers HTTP_GET actions. Depending on your ROM, the shell might provide wget (stock ROM on my Milestone 2 had this), so all you need in that case is a terminal app (e.g. Android Terminal Emulator), and there simply execute
# change to the directory where you want to store the downloaded file in
cd /sdcard/download
# get the file
wget http://www.example.com/textfile.txt

Adjust that to your needs, of course :)
Special downloader apps
Other alternatives would include special "Downloader Apps", like e.g. Download All Files or Easy Downloader, which you might want to give a try.

While in your web browser, press and hold the Return button on the lower right side of your phone. then at the top of the page select saved pages

Tap ［internet］ icon, tap ［☆］on top right corner, tap ［saved pages］ on top right corner. Done.

Tap the flag with the star at the top right of the browser and click on the saved pages tab.


text:
How To Check What Apps Is Eating My CPU
My device is so laggy so I downloaded CPU - Z to check my CPU
and I see 50 - 70% CPU load
I tried Cache deleting and RAM Cleaning but it's still using a lot of CPU
Are there any Add-ons so I can see which of my apps are Using my CPU?
sorry my grammar, English isn't my first language
Device: Samsung Tab 4
Model: SM-T231
Rooted: Yes
Busybox: Installed

Without knowing which device you have and what android version it is on and further if it's rooted and xposed is installed or not, chances of getting answers are very low, so do add above mentioned details

There are several tools available for system monitoring (link goes to my own Android site). For "quick glances" I'd say take a look at "OS Monitor", which gives you very useful details also in other cases.

I added my device information


text:
How can I mount or open already dumped mmcblk0?
I have dumped a mmcblk0 by adb command. Busybox already installed on my android.
adb shell su root busybox cat /dev/block/mmcblk0 > E:\1.bin

Now I can not mount this file on windows 10 with default mount option. How can I open it?

I have tried following video tutorial but result is broken pipe or connection terminated by user

https://www.youtube.com/watch?v=Qo5lBWAIb4g

Could also be the dump is broken as the transfer was made in ASCII mode. Here's what I use for dumping partitions: adb exec-out "su -c 'cat /dev/block/mmcblk0p24'" > boot.img – the exec-out keeps data from being converted during transfer. Also consider that mmcblk0 is the "disk", which can hold more than one partition. To check it, you can try opening it with e.g. TestDisk.


text:
Is it possible to use usb drive/sd card as internal storage?
Phone internal storage is damaged and unavailable. Is there any other way to fix the phone than replacing internal storage (or entire motherboard), perhaps using usb drive or sd card?

Possible duplicate of Using SD card as internal storage and migrate date

I don't see any other options than either replacing the chip or the entire motherboard!

SD card can be used as adoptable probably otg device too. But adopted storage unit can only be used for data if system partition is corrupted then there isn't other cure than replacing storage chip

What does "damaged and unavailable" mean? What are the symptoms?

I added picture. When I try restore factory settings it won't do anything, and restaring phone does not help either.

A feature called Adoptable Storage allows the Android OS to format an external storage media as a permanent internal storage. The data on the adopted SD card is encrypted and it can’t be mounted on another device.
Here are the steps to adopt your SD card:
Put the SD card inside your Android phone and wait for it to get detected.
Now, open Settings.
Scroll down and go to the Storage section.
Tap the name of your SD card.
Tap the three vertical dots on the top right corner of the screen.
Tap Storage Settings.
Choose format as internal option.
On next screen, you have the final chance to decide whether you want to change your mind. Tap Erase & Format if you want to format your SD card as internal storage.
You will be notified if Android finds that your SD card is slow. Tap OK to continue.
You can start the data migration process now or do it a later stage.
Tap Done to finish storage adoption process for your SD card.
Source: https://fossbytes.com/android-sd-card-internal-storage-adoptable-storage/

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


text:
Path for bash in Android termux
Regular paths for bash do not work in termux app.
I tried:
/usr/bin/bash
and
/bin/bash
Also 'whereis' command gives the following output:
$ whereis bash bash:
/data/data/com.termux/files/usr/bin/bash
But this path also is not correct. So, I have to run every bash script with the word 'bash' before it. And cannot run bash scripts without it.

/data/data/com.termux/files/usr/bin/bash is the only correct path.

What are you trying to achieve?

As in regular linux, I want to pass: /bin/bash  or  /usr/bin/bash  in order to run scripts.  But not to write 'bash' before every script name.

Just as @DanHulme, I don't understand where the problem is. With #!/data/data/com.termux/files/usr/bin/bash as the script's first line, it's then possible to execute the script by just /path/to/the/script.sh.

$ ls
myscript.sh
$ cat my*
#!/data/data/com.termux/files/usr/bin/bash
read -p ' enter what to echo ' inputs
echo "u have inputed $inputs"
$ myscript.sh
myscript.sh: command not found

Command not found...

If myscript.sh is not in your $PATH, you need to run it by its path, not its basename. Assuming you're in the same directory as the script, run
./myscript.sh

Note the leading ./

Hey ♦, I could've appreciated had you left the chance for me... It's the 3rd time the same answer is posted.

@iBug You certainly deserve the credit for digging into the problem. I looked and Josef's comment made it obvious what his mistake was. I was going to comment under your answer to suggest this but realised I was really writing an answer.

Ah sí. I see the difference now.

In September 2017 the maintainer of Termux released a package termux-exec, which wraps up execve(2) so that files that has a shebang line like #!/bin/sh or #!/usr/bin/env will run correctly in Termux. Just run
pkg install termux-exec

and restart Termux (or open a new session). You'll now be able to run #!/bin/sh scripts.
The previous solution was as following:

Termux provides a handy utility
termux-fix-shebang

Whose description reads:

Rewrite shebangs in specified files for running under Termux,
    which is done by rewriting #!*/bin/binary to #!$PREFIX/bin/binary.

Just apply it to the scripts you wish to run. It does what its name suggests: fix the shebang line #!/xxx of your script files. It can also fix other scripts like Perl or Python.

Also note that by default your working directory is not in $PATH, so you cannot directly type myscript.sh, but instead
./myscript.sh
^~

... or explicitly specify an interpreter shell (in which case you don't need the directory prefix):
bash myscript.sh
^~~~

Still. $myscript.sh
myscript.sh: command not found

@JosefKlimuk Would you please type ./myscript.sh?

It was answered already by Dan Hulme on 1 Nov.

It looks like termux-fix-shebang is obsolete, since termux-exec is a better solution? If so, upvote @s-d-rausty's answer.

@CarlWalsh I'm aware of it and upvoted already.

Install termux-exec.  It's a new utility that should resolve your $PATH issue.  Termux-exec allows you to execute scripts with shebangs for traditional Unix file structures.  See https://wiki.termux.com/wiki/Termux-exec for more information.


text:
Is it possible to remove OAT files for unwanted system apps? [rooted locked device]
I have not enough free space on my Moto X, so I want to free up some space in data partition used by system apps bloatware. For example, disabled Slides with uninstalled updates still consumes 31 MB of space (App=Total storage usage, not data). 27 MB of it is OAT file in /data/dalvik-cache folder. I'm trying to delete that file in way that does not trigger its recreation by ART on next boot. But even replacing OAT file with blank file triggers recompilation. And using pm uninstall --user 0 command also didn't help.
And I have no idea, what is remaining 4 MB.
I have rooted, but locked Android 5.1 device (and unable to unlock – AT&T Moto X). Xposed FW installed.
Does exist way to delete permanently these OAT files of unused system apps?
Best thing occurred to me is that I can delete these files by script after every start, but it would mean huge penalization of boot time every boot.
Thanks for response.


text:
Adopting SD card for Samsung S5 mini duos G800-H
Has anyone managed to adopt the SD card for S5 mini duos. I've rooted it and tried to install ASPlugin (from RE) but it doesn't install either with CWR or TWPR. Also tried to partition the SD card (Samsung 64G) but the phone sees it as corrupted.
Model: SM-G800H
Android: 6.0.1
Build: MMB29M.G800HXXU1CPK1
Also I have tried all the steps here How to adopt SD card as internal storage on Samsung devices?
But no success so the question is has anyone managed to get it working specifically for S5 mini duos, is there something more restrictive about this version? The post above does mention in a comment that someone might have got it working for S5 (mini duos?). Would be wonderful to know how, what exact steps.
This is after rooting the phone. Did they manage to get ASPlugin to work if so how exactly.
Any thoughts much appreciated.

Android version?

Yes its Marshmallow 6.0.1

I have edited the question - specifically - for the S5 duos mini for which the steps in the posts do not work. Thanks for any help or pointers

Method in answer, marked with (NO ROOT) works not only for Samsung phones but for all phones that support adoptable storage

Hi yes that was my first try using adb, it accepts the partition command but doesn't work nothing happens to the card.

Would you explain step by step what did you exactly done?

Sure by the way really appreciate your help. Spasibo.

adb shell. Then sm list-disks which shows disk:179,64.  Then sm partition disk:179,64 private. I also tried with doing sm set-force-adoptable true first.

Mount gives the following /dev/block/vold/public:179,65 /mnt/media_rw/8670-1CE8 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/block/vold/public:179,65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

Interesting here the disk is 179,65

Then try typing "sm partition disk:179,65 private" in ADB shell. Just to make clear it returns you 'disk:179,64' when you use 'sm list-disks'?

Hi yes tried both. but the storage doesn't show the options to migrate or anything just format or unmount. And yes it returns disk:179,64. I wonder if there is something strange about the S5 - if they've manage to block it somehow.

That option should be under SD card in three-dot menu. If none of this actually works than there is something off there. They shouldn't be able to block it since it's android feature.

Yup - no three dots - something strange with this. Thanks for your help

No 3 dots? Well they should be even if it's not adoptable storage.. Try press and hold recents button or menu button, idk which one is on S5..

Yes bad not menu options.

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


text:
Moving app from "/data/app" to "/system/priv-app" leads to reboot (Magisk, Android 8.1)
I have a rooted device Samsung SM-T590 (Galaxy Tab A, 2018, 10.5, Android 8.1.0)
I have Root Explorer app installed
When I try to move some app from "/data/app" to "/system/priv-app" (using Root Explorer) the device reboots and nothing is being saved at "/system/priv-app"
I want to make my app a system one
This method works ok on many other devices
But something wrong with this device
Any ideas how to solve this problem?
I think system apps Device Security and Device Maintenance prevent me to do it.
I tried to delete them using Titanium Backup but phone reboots and they are installed again
Also there is Samsung Knox security technology
It's not a duplicate because this question is about Magisk and not SuperSu

This is because of systemless root, which is needed on all versions of Android from Nougat and higher (and some Marshmallow builds). It does not allow you to move apps to the /system folders. I will mark as a duplicate with a link to a question with an answer for the method to do that, as you must do it with TWRP, hope it helps. Note one of the options is to convert to traditional root, I don't think that is possible with Android 8.1

@user924 have you tried the answer that acejavelin suggested? If it's not a duplicate, then please [edit] to make it clear why the question is not a duplicate, or why any of the answers don't work for you.

I have added an alternative answer here: Convert installed app to system app. If even that doesn't help, than let me know. I would reopen your question.

@acejavelin before we continue I have to say that I use Magisk when that question talks about SuperSU https://android.stackexchange.com/a/171298/243385

@acejavelin there is no difference if you do it with TWRP or Root Explorer. Both leads to reboot, they both just try to move apk to system folder

@acejavelin Magisk works fine on Xiaomi Mi A1 8.1 and I can do there anything I want

@AndrewT. no, it didn't help. But Firelord's answer helped


text:
Android: Can't rename SIM card - SIM name already in use
I'm trying to rename a eSim card on my Samsung phone (Android 14)

But I get the following error ("SIM name already in use"):

It's because previously I had use this name for my physical SIM card, but it has been removed and replaced by eSim card, so it's not even there anymore:

This is so annoying. And what am I supposed to do in this case? I mean, it's just a bug...


text:
Intrusive ads on Google Chrome for Android
I've been using an Android phone for 4 years (Nexus 5, LG G3, LG G4) and I recently swap to an iPhone.
Yesterday, a friend tweeted 2 photos of an ad when he was trying to read an article about a keyboard:

"you've been selected by Amazon (...) in order win a Carte Cadeau Amazon of 1500€" (mistakes and missing words are intentional in order to translate in the best way)
 "you have 2 minutes to answer blablabla"
Then, I remembered that I had that kind of ad when I was using Android with Google Chrome on mutiple websites. I've never get this on Google Chrome Desktop neither on Safari iOS.
I didn't find anything on internet about that and I think this is an Android problem, does someone have it too? Do you know what is the problem (is it an adware)? Do you have a solution?

Where did he read that article? It's probably that site 'feature', I get ads like this on particular sites not everywhere. It shows on android because android devices are targeted to see this on desktop you would see different thing if it's even shown for desktop.

The article was on a french PC hardware website and they told us on twitter that it didn't come from them. But it's not the only website where it happened to me

Try cleaning cache and data for chrome and visit site again to see if it happens. They probably lied

@ЈеднорукиКрстивоје The problem is that it doesn't happen everytime. This might appear two times in a row as it might not appear for a week

My suspicion is adware. You should delete all settings in chrome, and including cache, cookies, history, etc. These kinds of spam happen when you think you are clicking something, but an invisible link is clicked instead, leading you to popup sites. Be careful about what sites you visit and what you click.

Good point but deleting history/data won't help since this invisible links will continue existing on those sites.

I thought about adware but MalwareByte/Kaspersky for Android didn't found anything. Also, this kind of spam load themselves even when you don't click anywhere, just when you load a website sometimes

You can install firefox, and install uBlock Origin extension for mobile to disable a lot of ads

You should install an adblocker app, as AdAway (link, very effective to block and prevent ads. Requirement : rooted device.

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


text:
Need to remove password on my Samsung s4
While trying to remove the password on my device, it's giving me a message stating that it's "administration or encrypted is blocked."
Yes I have encrypted my phone
So please give me a solution to remove the password on my phone.

What do you mean by, removing password? Removing from where?

1) Go to settings>security
2) Find "Clear Credentials" and select ok to clear credentials
3) Go back to security setting and find "Device Administrators" and clear (disable) all checked boxes.
4) POWER OFF PHONE! I had tried everything up to this point multiple times and it does not work!
5) Once powered on again go into the security setting and find "Clear Credentials" and once again clear
6) Go to "Screen Lock" and the options should be available once again.
I hope its help you.
if its work, Mark it as correct, please.


text:
Apps not showing from other Google account in the Play Store
I had one main Google account on my phone, I installed all of my apps through the play store on that account. I am running HTCs version of Android 7.0
I recently changed to a new Google account (removed the old one and signed into the new one). I look on the play store to update my apps and it gets stuck on looking for updates. It also gets stuck on loading when I tap on installed apps.
How do I get app updates back?
EDIT: All android pre-installed apps are showing up now (chrome, Google, etc.) But apps installed on the other Google account are still not showing.

Afraid only by switching back to your original account – as that's what your apps etc. are bound to. What you missed to include with your question: Have you replaced the account on your device (i.e. dropped the old one and setup only the new one), or configured the new account additionally?

Completely dropped the old account. No longer on device

Then there you have the cause. You could add it back as secondary account – at least if you had any apps bought with it and want to keep those working. If it's only free apps, you could just wait a little; it should find them pretty soon (usually takes no longer than 24h for this). At least that's what happens with apps installed from other sources; I'm not sure if the framework gets confused with apps it had already bound to a (no longer existing) other account.


text:
What happens if I plug in a single-male two-female USB connector and I try to connect a peripheral while charging?
I have an Android tablet and an external device that gets plugged into its microUSB port.
This device is powered by the tablet through that port.
If I plug in a cable that has a single male and two female ports as shown below,
would I be able to plug in an external power supply (5V, 2A) to both charge the tablet and power the external device at the same time?

This way of connecting USB Micro Port is to my knowledge far outside of the USB [OTG] specification, so if it works as expected (tablet charges) or not depends on the USB chip in the tablet. Usually when in OTG the tablet would be responsible for providing power so connecting a second power source to the same cable can cause problems with unforseen side effects.

Thanks for mentioning the term "OTG", that led to some investigation. It is actually possible to have a host device also be charged, but likely requires a hardware modification of soldering a resistor of a certain value between pins 4 (ID pin) and 5 (ground pin). I'll post an answer / findings once I've had more time to gather the information, assuming no one else did it first.

From looking further into the contents of this post, yes, that is technically possible, but likely has to be done as a DIY solution given it requires:

the tablet itself to have the correct hardware
following the standards of something called an "Accessory Charger
Adaptor" (ACA) which is not commonly available as something that can
be easily purchased. **.

**For example I found just one product that's the closest match to what I'm looking for.

Looking into the "BC1.2_without errata 2010-12-7" document of the "Battery Charging v1.2 Spec and Adopters Agreement", it tells us the ACA can have three ID resistances, one of which allows connection while charging ("RID_C" of somewhere between 36 and 37 k-ohms).
If that resistance is pulled up to the VBUS power line, and if there exists an ID comparator connected to the ID pin on the tablet side, then that would be one of the minimum requirements for it to work.


text:
What's the best practice for Google recovery phone?
I have a question about Google account recovery phone. The succinct question is, is it best to have the Google recovery phone set to my single Android device or to use another mobile (non-Google) phone?
I have a single Android 13 phone, which has my primary phone number and my primary email account (Google) on it. I have a recovery email set to another non-Google email account not immediately accessible on the phone. I am wondering if I should use another phone number as the Google recovery phone.
If I lose my phone with the phone locked, then I am not concerned much because the SIM is locked, the phone PIN is long, messages don't show contents on the notification screen, and I think I'll have time to recover.
If I get robbed and am forced to hand over the device PIN, then they can use my phone to totally change stuff on my Google account, as it is my recovery phone, and Google prompt is the default 2FA for Google account.
On the other hand, Google says that the recovery phone should:

be able to receive SMS,
I should use it regularly, and
I should have it with me all the time.

If I use an extra recovery phone, 1 & 2 are possible, 2 at least on a daily basis, but 3 sounds tough.
What do you do? What is the best practice in regard to Google recovery phone number?
Thanks.

Since nobody has taken a crack, I thought I might, in hope that it will benefit people who ask a similar/related kind of question, or it would further stimulate discussions.
The short answer is yes, you will have the best chance of recovering your Google account from a hacker/phone robber if you have a recovery email and a recovery phone number that is not associated (not on, cannot be access, etc.) with your stolen Android device.
The answer above is based on parts of Google recovery workflow, information that Google has published (https://support.google.com/accounts/answer/7299973?hl=en), and speculations.  Why speculations?  Because it appears that the recovery workflow is fairly complex and is not fully documented, and I haven't tested all the possible paths in the workflow.
Observations on Google recovery work flow / securing the device remotely:

"Secure device" in the find Android webpage does lock the device by PIN immediately when the device responds.  You can do this silently by not giving the webpage a text or a phone number, and silencing the "Find device" notification of Google play beforehand.  Or you can make the lock obvious by giving it a text and a phone number (which will allow the person with the phone to call you at the number with the phone).

"Secure device" doesn't remove the default 2FA Google prompt authentication immediately (I didn't test how long it took), and more importantly it didn't remove the forced Google account passkey on the device immediately: it took approximate 5 minutes once the device locks.

If the person still can respond to the Google prompt and the recovery phone is the device itself, the person will be able to take over your Google account, but you need both factors for this.

If the person has your PIN, they also have your Google passkey, and they will be able to take over your Google account without other factors beyond having your phone.

So, even if you have "secured" your device, there is a windows (in my case, 5 minutes) that the person will be able to screen-shot, change your account information enough (change password, remove/add passkeys, remove/change TOTP authenticator) that a) you will be seriously hampered trying to recover your account b) [speculation] they might be able to recover the account with the recovery phone and the information associated with your account that they have downloaded or changed, even after you have "recovered" your account.

On all the recovery workflow I tried, Google always asked for 2 various pieces of information, never one.  The information I got asked were code sent to the recovery phone, code sent to Google email, code sent to the recovery email, TOTP authenticator code, and 2FA recovery code.

The surest pieces of information that the person cannot change associated with your Google accounts are a) recovery phone b) recovery email and c) your previous passwords.  Recovery phone and email are shown on the account and can be changed, but Google "promises" that even after changes, the old ones will be usable for a week.  Previous passwords are not shown.

Google advises that to be able to recover your account, you should have your recovery phone, recovery email, and 2FA backup codes, although the UI doesn't enforce that your phone number mustn't be the same as your primary/single Google phone. Does it allow the same Google email and the recovery email?  I don't know since I didn't test, and mine has always been different.

Your 2FA backup recovery codes can be regenerated.  It's unclear if the old ones would still work.  It doesn't make sense that they do, but who knows.

Remember that if they have your PIN and your phone, they virtually have biometrics to prove to the different apps on your phone.  Unless you uses PIN/password based authentication to lock your TOTP authenticator, they might have your TOTP codes/secrets as well.

So, you should have a recovery phone number and a recovery email that cannot be accessed on your Google Android device.  If you only use those for recovery and such, and their accesses are not stolen along with your phone and PIN, then you will always have 2 factors to definitely prove to Google it's you.
If someone steals your phone with PIN, you want to wipe it remotely, disabling/recovering the primary phone number as needed, and check/reset the security of your account (password, 2FA, passkeys, email settings, app access, etc.)  Heck, you may want to do this even before reporting to the authority.
As far as Google recommendations that:

the phone should be used regularly
the phone should be with you
the phone should exclusively belong to you

You want a regular use to make sure that it still works.  The phone should be with your because you only have a week to recover your account with the phone if the hacker changes your recovery number.  The phone should exclusively belong to you because of security and because Google most likely sends account update notifications to it, so it would be annoying for someone else.
Having your passkeys protected by the two factors (having the phone and knowing the PIN) seems bad to me.  I wouldn't leave Google passkey on my phone if I have the choice.  This problem will be the same for other passkeys you let Android platform protect.


text:
Unfortunately, the process android.process.media has stopped
There are frequent messages like this on a Samsung Galaxy Note 3 with Android 5.0. Factory reset didn't help. Can anybody suggest a solution? I have studied this post by the way.

Unfortunately, the process android.process.media has stopped.

Does the error directly occur after factory reset or did you already install other apps? Because this error can be caused by corrupt media files (images, audio, video,...).

@Robert I have done factory reset multiple times and as far as I remember, it starts after a while. So I guess it is observed after installing some app.

Note that there are several security vulnerabilities known that attack the media store scanner (which should be the process that is affected in your case) using modified files. The attacker can get root access by this, so be careful what you do with such an old phone...

@Robert Thanks. That was a great warning.

As @Robert commented:

Note that there are several security vulnerabilities known that attack the media store scanner (which should be the process that is affected in your case) using modified files. The attacker can get root access by this, so be careful what you do with such an old phone...

Following the above comment, I did a factory reset and installed a few trusted apps only. The error was resolved and didn't happen again.


text:
How can I use my PC's keyboard in the Android emulator?
I want to run/test Android apps on the Android emulator and I want to type using my PC keyboard, as it lets me type and test faster.
When I use the emulator though, it only accepts input from the native Android (on-screen) keyboard. How can I enable my PC keyboard for use within the Android emulator?

My keyboard works with default settings on an emulator instance. Do you have any advanced settings configured for your AVD? What OS are you running? I'm not entirely sure what would have an effect on this, but we might need more detail on your setup.

I didn't do any thing thing special other than normal settings, and my OS is Win7 32bit

As @eldareathis said, by default, your keyboard should work in the emulator...  Not sure what would cause it to not work

originally this question as asked at the time when I was using Eclipse and now most people including me use Android studio and I don't have this issue any more so should I just close this question ?

I had the same issue after upgrading the developer tools (v20.0.0v2012...). All of a sudden none of my android virtual devices would accept any input from my physical PC/Mac keyboard.
This is how I fixed it:

Eclipse > Window menu > AVD Manager
Select  your virtual device and click Edit
Under Hardware, Click New
Select Keyboard Support then click OK
Edit its value to yes
Now you have to click off onto another item in the list, like "Abtract LCD Density" or something. This seems to make the UI keep the "yes" change.

My other AVDs that don't have this "keyboard support" hardware property added do NOT accept my physical keyboard input.

Seems like a bug for me. This trick works.

Doesn't work for me, the Keyboard Support value resets back to "no" after saving and closing out the window...

Justin, my original post mentioned a click-off step but some dummy (looking at you Flow or ce4) removed that info. After you change to "yes" click-off onto another item in the list and this seems to make the UI remember the "yes" setting. I updated my butchered post with a step 6. :-)

Please try the following settings. My environment (Target: Android 4.0.3 - API Level 15) successful.
AVD - Edit - Hardware: - New... - Keyboard support - yes
AVD - Edit - Hardware: - New... - Keyboard lid support - no

Do you know of a way to enable while the emulator is running?

What's up with the Keyboard lid support?

You need to change the config.ini file in your .android directory. This file is found under the main hard drive directory.
From there, open the avd file and you will see a list of virtual devices. Open the desired device and then open the config.ini in notepad. Then copy this text: hw.keyboard = yes and then save and close. The next time you open your emulator, you should be able to use the keyboard.
You can also open up the hardware-qemu.ini file in the same directory as the config.ini file, and then you can see a list of all the hardware options. Change the hw.keyboard from no to yes.
Hope this helps!

This answer is for those who built the emulator from source (i.e. Following instructions from source.android.com).  You need to modify a property in the following file:
external/qemu/android/avd/hardware-properties.ini

In the following section of that file change the default value from no to yes:
# Keyboard support (qwerty/azerty)
name        = hw.keyboard

type        = boolean

default     = yes

abstract    = Keyboard support

description = Whether the device has a QWERTY keyboard.

Then rebuild (using make).  At least this worked for me.

It's even easier. You can set this property in the AVD manager: Add a key 'keyboard' with value 'yes' in the hardware properties list.

I had this issue despite having the correct configuration, and realized that the actual problem was that the focus was on the emulator control buttons windows, as reported in this issue.
To check if this is your problem, see if pressing space actually presses one of those buttons, and if pressing tab moves the highlight focus square between elements in the emulator controls. If that is the problem, then you should be able to work around it as follows:

Select the extended controls (The "..." button in the emulator controls)
Change to any item in the extended controls window by clicking
Close the extended controls window

The focus should now return to the main Android emulator window, not the emulator controls, and key presses should go to Android apps.

Thanks for pointing to that issue! I used the mentioned workaround there with a shortcut executing "xterm -e exit" to get the focus back. That is faster then opening and closing the settings menu. Issue seems to be related with the xfce window manager

Try Ctrl + F11 or NumPad 7. That should enable your keyboard, unless is disabled from somewhere else.

i thought Ctrl+F11 was Portrait/Landscape orientation?

Yes Ctrl+F11 switch between orientations and not enable the keyboard, same with numpad 7

Yes it does switch between the orientation, but it also brings up the keyboard.

@slybloty  I am talking about enabling keyboard of my PC in emulator not side keybarod in the emulator

I know it's a burden, but I'd suggest to uninstall and reinstall it, unless you've already done it.

@slybloty I have already latest version and have just installed it

If you are using Xamarin.Android in Visual Studio 2010, you can enable Keyboard Support as follows:

Close your AVD
In VS2010, go to Tools > Start Android Emulator Manager
Select the AVD Name that you want to add Keyboard Support for, then click the Edit button
In the Hardware area, click the New button
In the Property dropdown, select Keyboard support, then click the OK button
The Keyboard support Property is added to the Hardware list. Change the Value from No to Yes
Click the Edit AVD button

As a few have indicated here, the PC keyboard should be enabled for the AVD Emulator instances. Judging by what the emulator page on the Android Developer website says about key commands and such, it does not appear there is a way to enable/disable PC keyboard usage within the SDK. Your best bet is re-installing the SDK, and try again.

I already have installed newer version of sdk


text:
Is there really no true FM radio without earphones?
I am looking for an offline FM radio without antenna.
It was definitely possible on older devices with Android Jelly Bean, but I look for a non-root solution.
I know that FM radio requires a 75 cm antenna, that's why the stock FM radio app is forcing me to plug in earphones. But I need another app which ignores this physical requirement.
I see no reason why it shouldn't work for Android 7. But all the offline UKW/FM radio apps I found in Playstore are lying, these are just online radio apps, not using the built-in fm radio hardware.

Try this or this or others - all are from Izzy's lists

Related: Radio without the headset, How to play FM Radio app without earphone? and also on Quora, Why don't phones have a built-in FM antenna?. The earphone works as an antenna; so without the antenna, I'm not really sure what the FM Radio app will output the sound. On the other hand, your older devices (if we may know) might be an exception having an in-built FM antenna.

As Andrew pointed out, you need an antenna. Previous comment was wrt last line of question

@AndrewT.♦ it is working fine without antenna with just jack. but my device is waterproof and i don't want to keep open rubber lib seal all the time

@AndrewT. Sorry for the late reaction. There is some antenna in all the devices, inside the phone. FM radio requires a longer one, because its longer wavelength (smaller frequency, typically about 100 MHz, contrary to the some GHz digital signals). This is too much for an antenna to exist in a typical phone size. This is why some solution for an external antenna is needed. However, actually also a shorter antenna could work, but it might decrease the quality (possibly hugely). Getting the FM signal requires some hardware support, this is built into most devices.

This is essentially an analogous FM signal -> digital bitstream converter. The question is, how is this hardware configured. Possibly it only can use the earphone receiver, but it is not sure. If not, if it bound on the hw-level also with the builtin antenna, then a low quality FM signal read might be possible. Possibly it would require a driver change/reconfiguration. possibly not. Probably the chances are better if the device itself is big ( -> there is more place for the builtin antenna). Probably the quality of the received signal will be bad, maybe very bad.

The Redmi Note 9 radio works without earphones plugged in.
Does not do much else like work as a phone but the radio works.

indeed com.miui.fm works without antenna, thx!


text:
How to call termux binaries from a root shell?
Important things:

Termux binaries are in /data/data/com.termux/files/usr/bin
Termux libraries are in /data/data/com.termux/files/usr/lib
Android binaries are in /system/bin
Android libraries are (mostly) in /system/lib64

I am trying to execute termux binaries from a root shell (on a rooted phone, after a successful "su" command). Most of them work, although they are not in the PATH.
On ordinary Linuxes, the environment variable LD_LIBRARY_PATH could do the trick. However, the so-named "ordinary linuxes" are mostly open source linux distributions based on the GNU Libc, which has a dynamic linker (named "ld.so"), which can interpret it.
However, Android binaries are using another libc, and another linker. My tests show it is in /system/bin/linker64 and it does not honor LD_LIBRARY_PATH.
So, how could I execute termux tools from a root shell, which they can find /data/data/com.termux/files/usr/lib if needed?

Executing /data/data/com.termux/files/usr/bin/bash from root works and it links the correct libraries (from the termux lib), but how is it possible?

Android's dynamic linker does honor LD_LIBRARY_PATH / LD_PRELOAD except for setuid/setgid processes. Termux relies on them a lot including in tsu. Use strace to see what happens under the hood. Check env in root  shell.

@IrfanLatif Thanks! Strace turns setuid out. :-) If you try to strace a setuid binary, it will run without setuid.

Correct. But Termux binaries are not setuid. And why would you run a setuid binary when already on a root shell.

@IrfanLatif Correct. But, even if it honors LD_LIBRARY_PATH, termux does not set up it, yet the termux binaries can find the termux libs. Where is it wired into them?

Btw, meanwhile I just use them and they work, although it is still not clear, where they get the library path info.

You are over-complicating it. Binaries also could have hard-coded library path. Run readelf -d $(which <binary>) | grep PATH to check it. Here is a good intro.

@IrfanLatif Wow! Right! Thanks!!!

@IrfanLatif 's wonderful comments can be summarized into an answer.

Yes, Android is using the dynamic linker /system/bin/linker64. That is a different one as the ld.so.
However, both linkers are supporting the LD_LIBRARY_PATH environment variable.
However, termux does not need LD_LIBRARY_PATH and does not use it.
Instead, termux binaries have a hardcoded path, inserted into the linker-related binary format data structures, pointing to the termux libraries (/data/data/com.termux/files/usr/lib). That is where linker64 first starts to look up for the libraries.
These data structures can be read out by the readelf -d $(which <binary>) command.

Thus, the simple answer is: there is nothing to do with it, termux binaries have the termux library path hardcoded into them. Only thing to do from a root shell, to put the termux binaries into the PATH variable (/data/data/com.termux/files/usr/bin).


text:
Rooting a wiko jerry is impossible due to all fastboot commands lock the phone
On Linux:
All fastboot commands lock. Particularly fastboot oem unlock or fastboot flashing unlock.
After removing and re-attaching the phone to the usb port (without turning it off), the phone becomes detectable on the usb, thus the usb connection handshake runs, but it is not listed in fastboot devices any more. The only way to fix the phone at this point is removing-reattaching the battery into it. I believe, it might be a full system freeze.
The usb id of the device is "fastboot Gadget", with the google vendor id.
On Windows, no fastboot driver was working (not the google and neither the mtk). They simply did not find the device.
I've seen also multiple limitations in the (not yet rooted) phone: for example, adb shell gets the shell as usual, but /dev is already forbidden.
I suspect, maybe the manufacturer has a dislike of rooting and it is a low-cost attempt to make it impossible. Is it possible? Where could I even start to find the cause of the problem?
Extension:
I could make the ADB fastboot driver working on Windows (with the Google driver in the the latest Android Sdk), and also the device was visible in fastboot mode. The result was essentially the same: usb-level lock requiring battery removal to make the phone usable again.
I tried it on multiple machines, and on multiple OSes, and the problem was always the same.
Extension #2:
To be clear: the device shows an mtk driver in adb mode, and a spreadtrum driver in fastboot. fastboot oem unlock locks the phone on a way that only removal of the battery can fix it. It happens on multiple machines, with multiple OSes. However, Wiko's own update tool, downloadable from here, works. It is a windows-only tool, capable to install only the Wiko's own updates. I am now playing with this tool, what it does and how. Maybe it can flash also a custom firmware. If it won't work, I will forever blacklist the company and throw the phone out.

@alecxs Thanks! 1) I long allowed it. "Enable OEM unlock" is on. 2) Ok I will do that, but honestly I wrote this post after a lot of futile attempts. 3) Yes, fastboot devices shows the connected device, everything is okay on the usb level, except any modification operation. | I will be back after yet another try. The important thing is: fastboot oem unlock freezes the phone, there is no error message or anything, it simply becomes completely unresponsive. My impression is that a firmware developer had exactly 5 minutes to disable any rootability and it was his quick&dirty solution.

@alecxs I hope, not this is the case. The phone is pretty well visible on the USB bus, both in fastboot and in adb mode, exactly until I try to do a fastboot oem unlock (in Linux). I will try the windows way again.

Wiko is one of the rarely brands which are in compliance with the GPL and provides Mediatek source code. I am pretty sure these devices are made unlockable

@alecxs I am sorry to say, but I can't see any goodness from the manufacturer side. This looks like: either a very mysterious and rare hardware problem, or an intentional action by the manufacturer to avoid rooting. Decide what is more likely.

@alecxs Now I am investigating, it seems it might require some specific tool for rooting, and not the ordinary fastboot method. Be back soon.

Investigation still in progress. My current best trace is this: https://orirom.com/wiko-new-jerry-v2806-firmware/ It seems to be exactly about my problem. Funny, but actually I can access my device on adb, and it is an mtk driver, only fastbook oem unlock hanged up the phone - even my process on my machine. That indicates a driver problem. On Windows, I had serious troubles from the beginning. Now I try these spreadtrum drivers - as I can see, they have no Linux version, unfortunately.

never used that tool, but here some more drivers maybe it helps https://androidmtk.com/download-spreadtrum-drivers

Okay. Bonus info: it shows an MTK device in adb operation. However, in fastboot mode, the USB ID of the device is 1782:5d06, which is a speadtrum. There is no Linux driver for that, and the fastboot tool talks with it directly over the usb socket. And this things goes somewhere bad.

@alecxs In the fastboot mode, I see a spreadtrum and not an mtk chip. Already fastboot oem unlock hanged the phone, before any flashing could have happened. I would be surprised if any such tool could work with spreadtrum chip. I think, if I succeed, then first I will root the phone, then I will be able to map the partition table and play with it as I think it the best. I don't think that any MTK-specific thing will ever work (maybe, some really hardcore thing, namely updating partitions as root, without fastboot)


text:
How to modify or add more dictionary tabs in Cambridge dictionary fast app?

As you can see in the picture, this Cambridge dictionary app has some dictionary tabs, such as: Cambridge, Oxford. Those dictionary tabs have a link of their website. How can I add more dictionary tabs like collins, merriam dictionary?

May be you should simply contact the author and ask to add this feature?

@robert They might not take any action in this regard.

Unless the sites & parameters are not hardcoded but stored/configured somewhere else instead, I'm not sure it's possible for us to change anything. Reverse-engineering an app and doing some coding is outside of the scope of this site though.

How can I know the sites & parameters are not hardcoded? Is there any way to find it?

Hello Rajib. Please don't vandalize your post by editing it and making it incomprehensible.

I downloaded the APK file and loaded it into Jadx.
The dictionary tabs and their target are hard coded in the APK DEX byte code (it is a large switch case code entry in the MainActivity that sets the target url of each of the 6 tabs).
Therefore modification requires decompiling and recompiling skills - however such actions are out of scope of this site.
Therefore the only answer we can give to you is to contact the author of the app and ask if other dictionary sites can be added.

I can decompile this app . Please tell me what files should I modify? Please robert

@Rajib Sorry but I can and will not help you on that topic. Decompiling does not necessarily means you are able to recompile the app. The highest chance of decompiling and recompiling is using apktool however it decompiles not Java but Smali code and modifying smali code is a tough task and usually requires good programming skills.


text:
Is it possible to boot from the SD card on the HDK8150 board?
I recently acquired the HDK8150 board. I am pretty interested in running a non-Android Linux OS there. After some hours of going through I found some interesting stuff:

I found that from Linux kernel 5.4, is supporting Snapdragon 855, so far so good!

There is one Ubuntu distribution named Ubuntu Core. It seems it fully supports Snapdragon, but it is pretty bound to the DragonBoard-410C.

I found that there is an Ubuntu's parallel project named Linaro  that looks pretty nice.

My point is that I would like to check out any of them, but I prefer not to flash the eMMC memory, but run the system from the SD card. I found it better, since I am pretty sure I am gonna mess up with something, and I am just starting with this. Is there anybody that has experience on this topic with this specific board? Is there any way to boot from the SD card? (It can be seen on the back that there are 8-switches labeled as "boot". There is no much documentation out there apart from the Quickstart guide.)
Any suggestions on which OS to use?

Apologize for the early closure, I just realized the board is "a highly integrated and optimized Android development platform". However, my advice still stands that you might be interested in our sister site [ubuntu.se], [unix.se], or [iot.se].

Okay, thanks Andrew :)

Booting from the sd card is not so hard, the hard thing is that you likely need to modify the bootloader for that. Possibly you can use the recovery partition as a chain-bootloader, but even so you need to unlock the device. Thus, you can not avoid the risk of bricking. But I think this is like a holy grail to me, hence the up.

In my this question I got also a lot of useful info, how drivers work differently in Android. The goal would be likely to have an X server, but graphic drivers work very differently. Possibly you can import the "X server of Android", namely "Surface Flinger" and run an X over it. If you have luck, then the graphic display of your device has a kernel driver and so you can use it (like as a /dev/fb0 device).

Currently, Linux GUI works so: apps -> X server -> kernel KMS. On Android: apps -> surface flinger -> HAL -> kernel.

just linking here for future reference. are you talking about dip switches (like in the link on the first question)?
https://android.stackexchange.com/q/215573
https://android.stackexchange.com/q/210156
https://android.stackexchange.com/q/220677
https://android.stackexchange.com/q/213910
https://android.stackexchange.com/q/47712


text:
How to whitelist websites?
How would I whitelist so that I can only use certain websites in my browser?

Try a parental browser I don't Chrome can do this natively.  Alternatively root.  https://play.google.com/store/apps/details?id=mobicip.com.safeBrowserff&hl=en_US&gl=US

Which browser are you using? Which Android version and device are you using?


text:
What does "Voice network type: unknown" mean in my settings?
It is in the phone info setting, when you dial *#*#4636#*#* on my Moto g stylus:


text:
Can I upgrade Android on my Xoom?
I have a old school 32 gig wifi-only Xoom. I would like to upgrade to a newer version of Android, so I can use Chrome.
Also I got the tablet, so I could download and manage my google home devices. Is this possible without trashing the tablet?

The newest version of Android I can find is CyanogenMod 11. Needless to say it is not getting any updates any time soon, as CyanogenMod is dead and was superseded by LineageOS. There's some guy on the XDA forums trying to build Oreo for it but let's be real for a moment; A Tegra 2 device with 1GB RAM will run Oreo like a 486 old-school PC runs Windows 10.


text:
How to delete a date and time tab in setting to prevent user from changing it?
(Please understand me about my broken English.)
I am a student in South Korea.
I am making a quite restricted Lenovo tablet, to make it a perfect education device. The goal is to "help" students to study hard.
To do that, I have to prevent the users from changing the system time in the "Settings", Because changing system time is a easy way to pass my time-dependent application block.
So I am trying to delete the date and time menu from the system settings, to keep only auto time:

By an experience of deleting a guest mode in the system, I think I should use the Buildprop app. But I don't know, what I should delete and change in the system.
Of course it's okay not using Buildprop.
I have a rooted device and my Android version is nougat, 7.1.1.
I'm sorry for using broken English and thanks for reading this.
Have a good day!

Please understand my awkward English (I am writing with an English dictionary.)
As you can see comments on this question, I have solved this problem by FireLord's help, but it not perfect, because I am not good at Android.
This question is similar to this.  Refer to this first.
In summary, my simple solution is this:

Using Settings Editor (needs Xposed Framework)
Using My Android Tools or Elixrs 2 apk (needs root permission)
pm disable with adb

In my case, a approach of using 'pm disable' with adb is not working.
(adb asks me a correct package name. I command adb shell pm disable com.android.settings.˜˜˜.. I don't know correct reason)
And, I can't use the approach of 1. using Settings Editor, because my financial app blocks Xposed Framework.
So I have solved by (2) using my Android tools:

installed apk -> activity menu -> find 'Setting' apk under System tab

disable components you want by toggling these. Such as display, language ...(needed root access)

I think many Setting component is named 'setting$example'.
But you should learn by trial and error, disable 10 packages and test by opening Setting apk and again, again to get a result you want. (You should backup first before testing)
In my case, it's easy to hide display, language tab and etc (just disable one proper package).
But the "Date and time" tab is never disabled.
So I disabled 'SystemSettings' (I've hidden the whole system category in the Settings), 'SubSettings' to block approach of all menu from Search in settings (it blocks many Activity. Should check after disable!) and 'SettingActivity' in Clock apk to prevent the appearance of the date and time menu.
It is hard to say a correct and perfect solution because of my broken English and deficient knowledge about Android. What I want to emphasize is this: you should learn by trial and error, and then you can get a result what you want.
Thanks for reading and to FireLord.


text:
I am unable to unlock home screen on Android Pie
I've just updated my phone to Android Pie. While booting, I typed in my password PIN, and it unlocked to go to the home screen.
There when I type the same password, a "Wrong Password" error is being thrown. There is no "Forgot Password" option. How do I fix this with minimal damage?

didn't you configure another way to unlock screen? Face recognition, fingerprint, etc?


text:
Android viruses are infecting my phone
My phone has been infected with viruses for 6months now.
At first it was just a virus in disguise called "settings", but then it spread to my browsers opening many different sites. I had to disable my browsers. And now there are 3 other viruses on my phone. One called "clockwallpaper", second is the "lake worth isd". It creates a fake duplicate of an app that I'm using, and after I closed that duplicated app, the original app starts lagging and then crashes. It also activates the silent mode of my phone. The third one is called "system", which pop-up tons of ads that is really annoying. It also makes an app that I'm using to lag and stop working.
I tried to use Malware Bytes and Bitdefender antivirus softwares. At first it was good and they removed the viruses, and I thought the viruses will be gone permanently. But I was wrong, after an hour or less they get installed again, even I have an internet connection or not.
So I performed a factory reset on my phone to get rid of it.
And they were gone. But then later on they get installed again and my phone was now like before.
Please help me!

The malware apps have gaoined root access and modified your system rom. The best way would be to re-flash a full factory ROM image.

@Robert makes a really good point, with root access, the best thing really would be to reflash a factory. Theres a decent guide here that covers steps to take with an infected phone techadvisor and XDA developers provides a good resource for hot to reflash a factory rom xda developers

Before using any steps backup your personal data
Use a Bloatware free Stock-Rom or Custom rom which has support of your Android Phone. You can find your phone's stock rom on XDA-Developers forum.
Now comes the flashing step.
You can do it in two ways:-
1. Flashing from androd Recovery Mode in TWRP. Requires root
See Here to know how you can do it:-
https://www.google.com/search?q=flashing+roms+with+twrp
2. Flashing rom from PC. This doesn't requires root.
See here to know how to do it:-
https://www.google.com/search?q=how+to+install+custom+rom+on+android+using+pc
These steps will remove the virus apps which were in your root and will give your phone a relief.


text:
smbv2 samba sharing between Windows 7 and Android stopped working for MyUser, but it works for admin
I used 2 apps that can connect from Android (Nougat)  to PC (Windows 7). Hitherto that worked perfect. Now I get user authentication problem when I try to connect from Android to PC with "username" credentials. But I can connect without issues using administrator.
It tells me that there is a user specific setting that changed. I didnt change anything. What setting is this? Any idea?

Have you set up password authentication to MyUser account?

If you are using a local user connection go to manage->users and reset the password.
Maybe the user's password is blocked. there is a windows mechanism that if someone tries to connect X times using bad credential the user turned to be blocked.

@E Cohen. WELOME to stack. Typically you 'answer' only if that is 100% the solution and anything short goes in comments,  Windows password works perfectly and the user wasn't locked out but actually incidentally the password too was changed to see if that  made a difference - nope "failed to authenticate" still happens

@user1874594 because I'm new to this comunity I cannot write a comment if the answer or question is not mine.
Try to open a wireshark ans set a filter "smb || smb2" and see what is the error code that the Server returns to your connection request. (look for SessionSetup request/response)
One more thing that may help is to look in the "event viewer" in Win7 and search for SMB server (I'm not sure that Win7 has this ability) and try to find there the reason of the failure.


text:
Where are kernel modules installed?
I am trying to find Linux kernel modules on my nitrogen board.
I have unpacked kernel config from /proc/config.gz and I see kernel was compiled with a lot of modules.
I see only one in /vendor/lib/modules, zero in /system/lib/modules.
Can somebody explain where modules installed, what is procedure to install modules?

In theory they could be in a startup ramdisk.  It's also possible to build modules but not packaged them (in which case they would not be usable, but stranger things have happened).  If there is a particular goal you have you should edit that into your question - ie, are you trying to find a module you think is available, but which has not been loaded?

There are two ways Linux kernel modules are built: 1. as a part of kernel executable binary (compressed image) i.e. with CONFIG_*=y options at build time, or 2. as separate kernel object (.ko) files that can be loaded and unloaded with some conditions i.e. built with CONFIG_*=m options.
In second case the .ko files are placed on some standard location(s), usually /lib/modules/ on Linux and its equivalent on Android /system/lib/modules/ or /vendor/lib/modules/. These paths are hard-coded in binaries that load them e.g. insmod, modprobe.
On pre-Pie releases (1), by-default Android kernel is built without option CONFIG_MODULES=y, so there are no kernel modules built as .ko files which can be loaded or unloaded with insmod, modprobe or rmmod as is the case with standard Linux distros. Nor they are exposed through /proc/modules from where lsmod reads information. However each kernel component that can be built as a module has an entry in /sys/module.
Now those modules which are compiled and loaded as .ko file has a corresponding /sys/module/<module>/initstate file, others don't have. You can confirm this way if there are any loaded modules:
~$ ls /sys/module/*/initstate

Though default Android might not use loadable modules, many actual devices have for years.

Yes, I do have 20+ modules on my device.

@IrfanLatif I have been trying to locate the *.ko files on my emulator, but can't seem to find them anywhere. It is an API 30 emulator, and I can see the modules loaded (in /proc/modules), and the appropriate file exists for /sys/module/*/initstate, but no *.ko files exist (looked with find / -name "*.ko". Any idea where else they could be?

@WilliamReed OEMs / ROM developers might name the loadable module files differently. You may look into init configuration files (*.rc) in /system and /vendor to see how and from where modules are loaded on boot. grep -riI <mod_name> /system /vendor /odm /product or find /system /vendor /odm /product -iname '*<mod_name>*' (don't append .ko) should lead to some conclusion.

Official guidance for placing .ko files in fs: https://source.android.com/devices/architecture/kernel/loadable-kernel-modules#file-locations

Kernel modules is a piece of code which load into kernel memory. It consists of at least two functions like int, cleanup.
If you want to see which modules are loaded into kernel memory, just type the commands:
lsmod or cat /proc/modules.
If you want to find kernel modules in whole memory of system partition:
find / -name "*.ko".
Load kernel module into memory
insmod hello.ko

Remove kernel module
rmmod hello.ko

for more see dmesg log .


text:
Cannot boot into homescreen after installed Android PIE
My phone model is Asus Zenfone Max Z010D. My power button and volume up button are not working. Is there anyway to boot to the homescreen?
Since I have installed Android pie (AEX custom rom), they have this EDL issue (cannot reboot to device/recovery). I accidently rebooted the device, and it went to EDL. Then I rebooted it by holding the volume down key with the phone connected to computer by usb, but it then went off automatically. Now it is only showing the offline charging, while connected to charger.
How to resolve this?

I belive it wouldn't be possible to boot the phone without atleast the 2 volume buttons. But there is a long way, you can flash it's firmware while it's off and then it will boot itself. On the other side, your phone will be reformatted.

@TerribleDog Thats not a problem tell me how to flash its firmware??

you can find it in google based on your phone

https://firmwarefile.com/asus-zenfone-max-z010d


text:
Batch remove entries from Multiling dictionary
In the Android dictionary, there are hundreds of abbreviations and all-caps combinations that are hardly ever used.
However, when typing, these words keep popping up instead of the intended words.
The system in question is a non-rooted Android 7, and the keyboard is Multiling O Keyboard.
Since apps cannot write to the built-in dictionary, I assume that Multiling stores user dictionary entries (like the addition or removal of words) in a separate file, and compares this file to the built-in dictionary.
Where does Multiling keep its word lists (for each language)?
Is there a way to remove all of these abbreviations and all-caps words, e. g. by batch-processing a list or by replacing a database file?

You can edit the file in the preferences (gear symbol), then Misc, then Import/Export and there you find the user dictionary.
I’ve written this down, because I’ve been searching so long to find how to backup my user dictionary of the Honso Multiling O Keyboard.

Thanks. In this file, only the words appear that I have already manually edited (“Save or increase rank” or “Remove or decrease rank” on long-press). For example, if I remove the entry “word”, it will appear in the list as “word::1::en”. But I’m looking to edit the database of all the words in the dictionary, and preferably batch edit it, removing all all-caps words or abbreviations.

For dictionaries I had to download different additional “apps”, which only include dictionary files (english, spanish, german, icelandic, portuguese, french, …). Maybe you can download those apps and extract their content and find a file that includes all the words? And then built your own apk file. Or just replace the file in the directory structure of your phone, if that is allowed as normal user.


text:
Samsung S5 Graphics Error under Lineage
I just got a refurbished S5 and installed the latest Lineage OS (lineage-14.1-20171123-nightly-klte-signed on it. Most of the time everything works normal. Sometimes, however, the graphics gets really weird (see images).
Other family members have the same phone and I also flashed Lineage on them without experiencing these problems. Therefore, it cannot be a general problem. Any ideas about what might be wrong with the phone and how to fix it?
Edit: This problem was also reported here but no solution was documented.

Please see Recommendation for questions pertaining to a problem specific to a nightly build of a ROM; these kind of issues are better reported to the resp. ROM tracker.

A nightly build is a BUGGY build . A different one is compiled EVERY NIGHT , and that’s why its called a nightly build.
This is how bugs are corrected. Enthusiasts and developers try out the new build and try find the bugs and solve them so that the next nightly build will have less bugs. After some some weeks/months , they manage to make a build stable enough to be used on a daily basis. This is the build that ordinary people download.
You should use the stable build if you want a stable OS. Stable builds might be released once a month or once in two months.


text:
I get "Internet may not be available" on my new Samsung J5 Prime
I get "Internet may not be available" on my new Samsung J5 Prime around every 5 minutes.
This did not happen with other Android devices on the same Wi-Fi router.
What can be the problem?
Model SM-G570M
Android 7.0

Have you tried setting static IP address? Also check the DNS settings

@xavier_fakerat How should I check it and what should I check for?

As strange as it seems, I now have come to an understanding that this issue may be related to an IP address conflict between the router and the connecting device or at least a faulty DHCP implementation (as discussed in some Samsung forums but for slightly different models).
It could perhaps a bug related the way the router handles 2.4GHz <=> 5GHz switching, causing an uncomplete handover (5GHz SSID to 2.4GHz or vice versa) (but users complain its worse when dealing with 5GHz only)

A probable workaround is setting static IP address for the wi-fi:

Go to your wifi connections, long tap on the connected wifi, until it gives you option to manage network setting,
Then choose advanced option, and put your IP type on static, then use a new ip address (for example, if it's 192.168.1.x change it to
  192.168.1.y where y can be a value 2-100 for simplicity )
Make sure that ip is empty in your router and your gateway is your router IP address, first DNS your router IP address,
  second one  Google DNS (8.8.8.8 or 8.8.4.4) and save it, turn your wi-fi off and on.

You may preferentially set the wi-fi SSID to use the 2.4GHz range.

Acknowledgements

S9 wifi internet may not be available
Galaxy S8 Wifi Issues

This is the stupidest darn thing ever but SOME ROUTERS like Freedom home internet (aka Shaw) & their wifi hotspots from phones using the same ISP(Freedom mobile) have a security setting somewhere that leaves your device as "The internet may not be available" if your device is set to the Wrong. Dang. Timezone.
I'm serious. We spent 3 hours trying to fix it, and it was Google Chrome's "your connection might be unsafe" page that suggested updating your system time.
Flicked on "automatically detect time", the clock switched from 21:05 to 20:05 and the internet just magically turned back on. Tah-dah!

This is actually expected for HTTPS connection due to SSL/TLS handshake needs correct time.

Just bought a new Samsung J9 phone which had the same problem. I unsuccessfully tried various fixes but finally (should have done this first!) looked at the IP settings. The Ip was set to a static value of 192.168.0.100. However, my home network has IPs 10.1.1.xxx. When I changed the IP setting from Static to DCHP and switched the phone on and off, the problem was solved.

I found the following step worked for me.

Make sure you are connected to the wif-fi network on your Android mobile phone
Modern routers have a WPS button, normally next to the LAN connections. Depress that button. You should see the wireless symbol on the wireless router blinking.
Now on the Android mobile phone go to Settings -> Connections -> WiFi, press on the three vertical dots on the top right of the screen
Choose "Advanced"
Click on "View More"
Click on "WPS push button
The WPS setup screen will appear and it should connect with your wi-fi router
Once connected, restart you mobile and the now you should be able to connect to the internet via wi-fi