text:
Under what path is the data for Firefox extensions stored?
/data/data/org.mozilla.firefox is the directory in which Firefox's data is stored on Android. Where are Firefox's extensions' settings and data stored in there? The best I can tell is that they're going to be stored under /data/data/org.mozilla.firefox/files/mozilla/${profile}.default since the names for everything outside of that folder appears to be for temporary files, the application's cache, and network-related things.
These are the paths that I'm sure do not contain extension data or that I'm sure do contain ALL of the extension data:

/data/data/org.mozilla.firefox/files/mozilla/${profile}.default/browser-extension-data

On Android 10, Firefox 68.7.0
/data/data/org.mozilla.firefox/files/mozilla/1q4ydoub.default/extensions
I am not sure if the number before .default is specific to version or something else
For more details, see Firelord's answer here Where Firefox for Android is keeping add-on generated files?
Edit: You can paste file:///data/data/org.mozilla.firefox/files/mozilla/1q4ydoub.default/extensions in the search bar to see details of extensions, size, last modified time stamp


text:
Why is my Android activity showing up on myactivity.google.com?
I never consented to this and there was no indication anywhere that activity on my Android phone would show up in Google's My Activity. I see stuff like "com.google.android.pack" and other stuff. How do I STOP this information from being sent to Google? How long has this been going on for?
What information gets sent? For instance, I just read My Activity has detailson the photos I've taken. What kinds of details? How does Web & App Activity differ from Device Information? Does Web & App Activity the setting that controls whether information about apps I use is sent to Google? Does it send my Chrome browser history to Google? It looks like it controls my Pixel's default camera app, too. Is there a way to keep search history on but not the camera info being sent?

"Does it send my Chrome browser history to Google?" ... Oh boy.... aren't you in for a treat

@Slav I'm serious. Chrome is not set to synchronize my history, tabs and so on with Google, so does it still do it with these settings? I know Google has privacy issues, but if Chrome is transmitting my actual history—not just stuff like search suggestions and what not—then that is something that was not made clear in the least.

"Chrome Sync" is to synchronize between different instances of Chrome. It does not control what is sent or not sent to Google Account servers. The latter you control through myaccount.google.com -> Activity controls -> Web & App Activity -> Include Chrome History

On your phone, navigate to Settings > Google (or Accounts and select Google account). Then click Google Account > Data & Personalization.
Under Activity Controls section you can review and turn on/off many of these tracking features. BTW, you consented to this when you skimped over the ToS Agreement and just clicked "next, next" when setting up your phone.
Each section explains what it saves/tracks.

Web & App Activity is specific to Google Apps and Websites (maps, search, account, etc). It also includes 3rd party Apps you use on Google's OS (i.e. Android). It also includes history (i.e. Chrome History) of these apps. Thankfully, the latter can be separately disabled.
Device Information is more for preinstalled Android apps, like Phone and Contacts, voice searches, etc.

Oh and it has been going on for years.
The only "recentish" change is that logging into 1 Google Service (for example, Maps) also logs you automatically into other Google Services (like YouTube, Gmail, etc)

Is the Chrome history done through the tab synchronization thing?

Has this been happening with only certain Android versions?

@Melab been happening since I started using Android, which is at least 4 versions

It looks like it was unchecked by default. Is it unchecked by default?

+1. Slav is right. @Melab by default it is checked. You may also want to see my related answer

source: Stack Exchange

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

sort: votes


text:
Android Pie only showing two folders to Android File Transfer
I have a Pixel which is running Android 9 and I have a computer running El Capitan with Android File Transfer. Under "Use USB for…", I have "PTP" selected. Android File Transfer only shows the folders Pictures and DCIM and no other folders or files at that directory depth. Prior to selecting "PTP", I was on "No data transfer" and Android File Transfer told me I needed to select "File Transfer" or "MTP" for it to work. "File Transfer" mode results in Android File Transfer saying I need to reboot or disconnect my phone; this didn't work.
I've already searched for an answer to this and these are things that don't work:

I cannot select "MTP". There is no such mode, only "PTP".
There is no Settings > Apps > All applications > Media storage under which I can select Clear data.

I also can't even get a USB drive, connected to my Pixel using a micro USB to USB-C adapter, to show up in Android so I can transfer devices to and from it.
How do I fix this nightmare?
Update #1: I was able to fix this the first time by updating AFT. Several weeks later, I now have the same problem again. I've already updated AFT once more.

Enable developer option (by tapping build version in settings 7 times) and see if you have something like "select USB configuration" and in that choose MTP or other options. I don't have Pie running to check

@beeshyams I said there is no "MTP" option.

File Transfer is the option in Settings->Connected devices->USB and 'USB Controlled by - This Device' that works for me running Mac OS High Sierra with Android File Transfer (Version 1.0.11 (1.0.442.1500)). I can see multiple directories on a Pixel 2 with Android 9.0. When you say "reboot", have you tried rebooting both the phone and laptop?

@MorrisonChang No, I have tried rebooting the computer. It doesn't mean that and there is no need to.

@beeshyams There should be no need to.

Which version of Android File Transfer are you using?

@MorrisonChang  I'm using version 1.0.11, but that shouldn't matter since AFT can see the folders DCIM and Pictures in the top level as well as any files/folders beneath them.

I'm curious if you can see the other directories via the adb shell. That would require you to have Android SDK adb tool installed and enable developer mode. I have had to use adb to get pictures off a different device when AFT wouldn't show >300 (not real number) pics that I knew was there.

@MorrisonChang A few weeks ago, I was able to see the other folders after updating Android File Transfer, but now I'm having the same problem again. I'd like to avoid using adb if I can.

I have some tips for you to get it working because Android 9 lacks the notification popup which asks to select between modes(File Transfer, MIDI, PTP, No data transfer, Charging,etc.) when you plug your phone to your computer via USB.
You can try the following things:

Enable Developer Options.
Enable USB debugging.
Try changing USB port on your computer in which you are plugging your phone.
Make sure you are using data cable and not the charging cable.
Go to USB Default Configuration in Developer Options, there you will see different modes(File Transfer, MIDI, PTP, No data transfer, Charging,etc.) to choose from.
After selecting 'File Transfer', unplug and plug your phone again.

For more details, visit the link below: https://youtu.be/l8jP8YxDL5w

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


text:
Why won't Android recognize my micro SD card and how can I get it to?
I have an Acer Iconia A1-810 that is running stock Android 4.4.2 and I have a SanDisk Ultra PLUS A1 16 GB microSD card. I am having so much trouble getting the tablet to recognize the card. If I have an SD card that is filled completely with zeroes, then Android should still be able to detect it and have some option to format it, right?
I have tried these things:

Totally wiping the MBR: I slide it into the micro SD slot, it makes the clicking noise for the locking mechanism, and the message I see up in the notification bar is "Removed SD card" (I just inserted it!!!). Going to Settings > Storage, under SD CARD, there is only one item and it is grayed out. The grayed out item says in big letters "Mount SD card" and the smaller text beneath it says "Insert an SD card for mounting". There is no option to format the card.
The micro SD cards's only non-zero bytes are 0x55 and 0xAA at offsets, meaning it has a valid MBR (albeit with no partitions set):  I slide it into the micro SD slot, it makes the clicking noise for the locking mechanism, and this time the message says "Damaged SD card". I pull down the notification panel and see that the smaller text below "Damaged SD card" says "SD card is damaged. Try reformatting it.". I click the notification item. Now in Settings > Storage, there a re four things': a blank bar that would normally show the card's data is divided up into, used space (it says it's calculating), total space (calculating), and finally an item for unmounting the card. Once it is "unmounted", the mount item is white/pressable. I press, but each time the mounting option will fail and the button will go back to being pressable and saying "Mount SD card". Once I leave settings, however, and come back to it,the option looks as it does in #1.
MBR has one unformatted partition set to type 0x0B (FAT32): See #1.
MBR has one partition entry set to 0x0B AND the partition has been formatted with mkfs.vfat: See#1.

What's going on?
Update: Formatting the whole SD card with FAT32 (no MBR) makes the device recognize it, but when I reboot it goes back to the above happening.

@AbdelhafidMadoui What makes you think an application is going to be able to see it if the operating system doesn't?

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


text:
Secure access to a file
In an android phone, generally we use App Locker or other applications for securing applications.
Like App Locker, how to restrict media files (images and video)? I don’t want to hide them.
I would like to restrict media files with pattern/ password/ PIN lock.
And once a media file restricted, it must be restricted irrespective of any file explorer/ media player/ image viewer.
Please let me know some better apps or other ways for restricting media file access so that it can’t be accessed by any other ways.
Regards
GNS

Use a container, you'll have different environments for private use and normal use. What phone are you using? Samsung has MyKnox.

I am using iBall BraceX1 Tablet. Its android 4.4.2 with root access.

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


text:
Not able to Track and search stolen android phone
Recently my Smartphone (Lenovo Vibe X3) stolen by someone. It’s very painful for me.
When it was stolen, I was able to ring my phone till 10-15 min but that time I was not able to sign in my gmail account on desktop computer so that I can track it using Android Device Manager. My phone was locked with fingerprint and patterns both. And some apps were locked with App Locker..
After 2-3hrs, I was able to sign in my gmail on the same desktop computer and with the same password but Android Device Manager couldn’t locate device. I don’t know how that stealer manipulated everything. Even an anti-theft application was also installed. However, it couldn’t be traced.
I request to all expert users for assisting me for two concerns.
Is it possible to trace device with IMEI? Please let me know, how to do this? How to tackle such problems? And
Please let know some best apps that can trace a device even with IMEI and mobile GPS.
I complaint to nearest police station but it doesn't seem helpful. That's why I need assistance from expert user. If stealer removes my gmail account from phone but GPS is ON, in that case will ADM work?
I have gone through a link. Is it helpful for an android device, if these are installed before device lost/theft?
Apart from this please provide me better tips & tricks.
Regards
GNS

Have you already consulted our fine lost-phone tag-wiki? You're not the first one asking this. Being rather a frequent issue, we've compiled some first-aid and links you should try. We don't want to repeat the same things over and again :)

If your GPS on phone is off you will not locate it via ADM.
Yes, phone can be located with IMEI but you can't do that, police can. So go to police and report stolen device and bring box of the phone for the IMEI and proof that is your device, but keep in mind that police doesn't really bother with stolen phones.


text:
GPS issue when Mobile Data is enabled
I have two Motorola devices, a Moto X2 and Moto G3, both with Android M 6.0 (Original most recent ROM without root).
I have recently noticed problems with the GPS on both devices. Google Maps and Waze many times the GPS signal drops and can not determine the location.
In my test I could find that the GPS problem happens when the Mobile Data (only 3G) are active. Just disabling mobile data and GPS back to work with good accuracy and even on rainy days.
I researched on the Internet and can not find a solution to the problem. Already restored the network connections and even restored the factory settings. Also I have been tested to work with modes High Accuracy and Only GPS. The problem persists.
The issue is the same in both devices.

After a few days of research I discovered that the problem it is a conflict between some Android devices and some 3G networks. (In my case, in Brazil)

Bug report (English): https://code.google.com/p/android/issues/detail?id=81140
TecMundo News (Portuguese): http://www.tecmundo.com.br/vivo/102386-sinal-vivo-interferindo-gps-celulares-afirmam-usuarios.htm
Forum AndroidPit #1 (Portuguese): http://www.androidpit.com.br/forum/650921/motorola-moto-x-2014-problemas-no-gps-do-moto-x-xt-1097
Forum AndroidPit #2 (Portuguese): http://www.androidpit.com.br/forum/654679/motorola-moto-g-2014-estranho-sinal-gps-cai-quando-ativo-3g-no-chip-da-tim
Problem demonstration (Portuguese): https://youtu.be/CXkJUN8G83k
Forum OuterSpace (Portuguese):
http://forum.outerspace.com.br/index.php?threads/moto-x-e-moto-g-com-problemas-no-gps-tim.382402/

Sorry about the portuguese content, but I could not find more details in english communities.
I contacted Motorola, I will send my devices for repair. I believe it is difficult to be a solution, but I will update my answer whenever I have news.
## UPDATE 17 Out 2016
My Moto X2 was sent for repair and returned with the same problem, I'm trying a new contact with the manufacturer.


text:
How can one determine the full model number of Samsung A13 phone from the unit itself?
Looking at the Galaxy A13 label on rear (as advised by Samsung, pictured below) or Settings > About phone, gives SM-A137F/DSN for two different models, one of which (light blue) is I believe SM-A137FLBVEUB and the other (black) ... who knows.
Where else should I look to find the full model number?

Look up the IMEI number?

No. That says only "Phone model: SM-A137F/DSN (Galaxy A13)".

I don't think that is possible because most of the phones are manufactured and assembled at defferent places. Also the hardware is same for all the variants (color) it's just outer casing that is changed while assembling.
Also anyone can buy another color of chassis and apply that. So it doesn't really matter.
PS. That is the full model number you are asking for. However, if you want to go deeper you can look up the lot number on Phone's box or invoice (which already has the color lol) and talk to the Phone's company if they still have stored the record and willing to help you regarding this. Again it is futile and a lot cumbersome.


text:
Samsung phone stuck in Download mode with "vbmeta partition read failed" error
The Samsung phone is not starting up. It shows the error message in the picture.

<!>
Partition boot
Reason avb_slot_verity.c:143: ERROR: [...]
[...] Error loading data from partition.
[check_secure_boot] vbmeta partition read failed
[check_secure_boot] partition read failed

I tried flashing it with Odin, it works for a moment then switches off and comes back on with the error message.
Can anyone help me with this problem?

Could you please include the error message as  text into your question? The quality of the image is so bad that I can not really read what is written on your screen. Also text inside images is bad for search engines so other people having the same error will not be able to find your question potential answers.

Try a factory reset

you tried flashing it with Odin, or you flashed successfully with Odin? what works only for moment but fails, flashing or booting?

I flashed successfully with Odin then the phone works for a moment and switches off, fails to boot and shows that same exact error message. I flashed with Odin 3 times same results. At this point I'am guessing it has something thing to do with the hardware being faulty.


text:
Where are the user/config files for the game "Ridiculous Fishing"?
Perhaps this question is too specific, but I am also interested in the more general question of where Android stores hidden/system files, especially user data that would be helpful to transfer to another device.
The specific question is about the game Ridiculous Fishing. It would be nice to be able to transfer my progress to another Android device.
Just plugging the phone into my computer, I can see the following directories, but there are no files in them:
/Android/data/com.vlambeer.RidiculousFishing.humble/cache
/Android/obb/com.vlambeer.RidiculousFishing.humble

Device in question is a Samsung Galaxy S9+, running Android 10. But I have also run this game on other devices such as the Google Pixel (Android 9) and had the same problem finding user data files.
Is there any way to backup or transfer the configuration files for this game?
Are there other locations that can be searched?

Where do Android apps store data?

What Android version is running on your Android device and what on the "another Android device"? Have you tried to extract the data using adb backup ?


text:
Android/Linux system is changing the audio drivers on boot with USB mic attached
I have logged the proc/asound/cards for sound drivers below. You can see the first one is before I attach the mic array, the second one is after I attach it at runtime, and the third is after rebooting the device.
This is causing bugs in my applications, any help on fixing this would be perfect.
127|Tinker_Board_2:/proc/asound $ cat cards
 0 [hdmisound      ]: hdmi-sound - hdmi-sound
                      hdmi-sound
 1 [rockchipcdndpso]: rockchip-cdndp- - rockchip-cdndp-sound
                      rockchip-cdndp-sound
Tinker_Board_2:/proc/asound $ aplay -l
/system/bin/sh: aplay: inaccessible or not found
127|Tinker_Board_2:/proc/asound $ cat cards
 0 [hdmisound      ]: hdmi-sound - hdmi-sound
                      hdmi-sound
 1 [rockchipcdndpso]: rockchip-cdndp- - rockchip-cdndp-sound
                      rockchip-cdndp-sound
 2 [ArrayUAC10     ]: USB-Audio - ReSpeaker 4 Mic Array (UAC1.0)
                      SEEED ReSpeaker 4 Mic Array (UAC1.0) at usb-xhci-hcd.1.auto-1.1, full speed
Tinker_Board_2:/proc/asound $ %                                                                                lloydhussell@MAC-Y6XGW6XJ0H Dukebox-Android % adb shell
Tinker_Board_2:/ $ cd proc/asound/
Tinker_Board_2:/proc/asound $ cat cards
 1 [hdmisound      ]: hdmi-sound - hdmi-sound
                      hdmi-sound
 2 [rockchipcdndpso]: rockchip-cdndp- - rockchip-cdndp-sound
                      rockchip-cdndp-sound

The problem was actually in the Android code of my application. I was accessing the interfaces of the USB device and it seemed to corrupt something in the system. I am really not sure why.
Anyway, I just used the interface information provided from the component manufacturer documentation. And instead of iterating through the interfaces to get the one needed for the endpoints, I got the defined ones.


text:
Boot Loop On Reboot After Successful Root (With KingoRoot & KingRoot)
I first tried to root my Samsung Grand Prime (SM-G530W) a while back using KingRoot and it succeeded, but after restarted my device it got stuck in a boot loop and eventually showed the "Custom binary blocked by FRP lock" error, but after factory resetting it everything was fine again. Now, I tried to root my phone again using KingoRoot this time, once again it was successful, but now it's stuck in another boot loop and there is no error message. I tried booting into recovery mode and factory resetting, but the problem still occurs. What can I do???
Also, I only have today and tomorrow to figure this out, so I posted this EVERYWHERE.
Here's the thread on other websites, see if you can find any useful info:

http://forums.androidcentral.com/general-help-how/717089-boot-loop-reboot-after-successful-root-kingoroot-kingroot.html?mn_qa=1#post5369840
http://www.androidauthority.com/community/threads/boot-loop-on-reboot-after-successful-root-with-kingoroot-kingroot.30729/

There's also 3 more, I'll link them if I get at least 10 rep (it's required).

I fixed the problem by following this YouTube video:
https://www.youtube.com/watch?v=lWuH7Km6GSQ


text:
Can I force a message to be sent as an MMS?
Is there a way to force a message to be sent as an MMS?
There are multiple reasons that MMS may be preferred.  SMS and MMS may have different fee structures dependent on plan, carrier, and country.  Additionally, some messaging software may allow for more delivery notification options for MMS than SMS.

May I ask why you want to do this? I am just curious.

@Flow In my tariff mms sending through the country is free whereas sms is not free

If you add a Subject to the message you're making, it gets converted to MMS format. Even if the Subject is empty, at least, that's what I know.

Promote that comment to an answer - a subject forces MMS. It's a silly workaround, but it could be done automatically with a replacement messaging application.

Another reason to do this is to ensure that the recipient receives a long message as one message, rather than several broken bits. This only applies for accounts with unlimited texting, of course.

As per Broam's suggestion above, I'm posting my comment as an answer. Hopefully some people finds it useful.
If you add a Subject to the message you're making, it gets converted to MMS format. Even if the Subject is empty, at least, that's what I know

I've found that another option, on phones or text messaging apps that support group texting but that don't force MMS when you add a Subject, is to create an artificial 'group' consisting of the person you're texting to .... AND yourself.  In other words, send the text to the target person AND yourself.  If you've got group texting support, doing so will force an MMS, and thereby bypass Google Voice.  Hence, your emoji will get transmitted in spite of Voice.  Once you send the group text, you will receive a redundant copy of your text.  At that point, just delete it.  This approach can become a little messy if you don't know what you're doing, but it works for me.:-)

Force the MMS
I've saw this comment you provided on your question:

@Flow In my tariff mms sending through the country is free whereas sms is not free

If this is the case, you can have a .jpg as a signature file, and attach it to every SMS you send. Since the image is a media component, your SMS will become an MMS, thus saving you some $$.

Original Answer
As far as I know, you can't.
An MMS message is a plain old text message with contents attached.
If you attach a media file, it will be send as a MMS message. Otherwise it will follow as an SMS.

What is MMS? Wikipedia

Multimedia Messaging Service, or MMS, is a standard way to send messages that include multimedia content to and from mobile phones. It extends the core SMS (Short Message Service) capability that allowed exchange of text messages only up to 160 characters in length.

I think there is no restriction in MMS protocol which forbids using it for text only even for less than 160 chars

@krvladislav The issue here is that if it is < 160 chars, it will be recognized by your phone and the network as an SMS, and will be sent as such.

@krvladislav The essence of an MMS is the multimedia component, that is, a file (picture, video, etc...). Without it, is just an SMS (text message).

Which is not technically correct. As SMS is inherently limited to 160 characters and MMS is not. Most modern phones will convert a long text into MMS or at least split the message into multiple SMS. However, some phones refuse to put the SMS pieces back together especially when crossing provders. Forcing MMS is needed to send long coherent texts. Not to mention that the written word is a form of Media.

Actually with some cell phone providers it is wise to use MMS because then you can use your home WiFi, if you are at home of course or at a WiFi location outside of home.  That's because with some services you pay for every message but not for anything that goes over WiFi.
The test is simple, first check how many messages you have sent so far or how many you have remaining, then just turn WiFi on, then write a new message and include a small picture or something and send it to a friend or yourself.  If you send it to a friend it will normally take one message and if you send it to yourself it will take two messages (one ot send and one to receive) but if it really went over WiFi it will take zero messages so the original message count will stay the same.
Good luck to you.

Usually, messaging software determines the appropriate protocol literally for each message sent, based on its content.  To force the choice, you have the following options:

Attach a picture.
Attach a signature.
Add a subject.
If the messaging software allows it, manually switch the message to MMS.

An example of messaging software that allows you to add a subject/signature/switch protocol: Android Messages.


text:
Download some video from the Facebook application
Is it possible to download some video from the Facebook application?

You can use the site SaveVideo, insert the link of the video and download the video


text:
Google play services are lost and a notification said it has been set to stop
Today on my one day old new Android smart phone I tried to update goggle play services and it stopped updating and could not find update page anywhere in the play store and then I got an error message that said google play services is now in stop  and so I looked in my google play store account apps and it was deleted and also it was deleted in my settings app list so I searched for google play services hoping to reinstall but when I tapped it a new app is there called play services info and I also checked on my computer if the app would be in play store but it was the same new app play services info. With no google play services I cannot access many important apps. How can google play services be put back in the google play store so I can download it to be able to use many important apps.

I tried to post this question yesterday and later found a resoluton

I did a factory reset and then I checked my settings app list and google play services was back, but it is only enabled and the force stop, clear data and clear cache are not working but all that matters is my apps that require Google play services working I can use again like messenger, Gmail and more. Since the factory reset to google play store it is still not found there and when it comes time for an update for google play services then my apps will not work and I am good for now but need to solve the issues that are critical to my device.


text:
How to make PC work as Bluetooth headphones with Android devices?
I use my Android tablet/phone as a second screen and play media on it (YouTube videos, music, etc.) and send the audio to my PC where I listen to it through headphones. I use the application "Bluetooth audio receiver" from the Microsoft store.
How do I use my PC to send a start/stop signal (AVRCP) to the android device?
Yes, of course you can tap on the screen for this, but I prefer tactile feedback from physical buttons. Besides, sometimes I still need to unlock the device first...
P.S. If necessary, I do not mind changing the application to transmit the sound itself.


text:
Samsung Chat Service Privacy
I am trying to find out privacy settings behind the Wi-Fi chat offered by... Samsung? It is built into my S10e as an additional chat service with little to no information about it. It's free and enables chat over Wi-Fi and to groups of users who have the feature enabled. It also enables Android users to see when others who have the service are typing like on the iPhone.
My concern is privacy. If it's free, how do I know that I am not the product here?

If this app available of non-Samsung phones? If it is listed in Google PlayStore please edit your question and include a link to this app.

This is a pre-installed application, not from Google Play. It is apart of the default messages app used for SMS texting. Very curious...

This looks like [tag:rich-communication-services], which is now common on stock SMS messaging apps.

Hi Andrew, yes I found out a couple years later with my S22 Ultra that it is indeed a stock option available as an addition to Google Messages (also reachable via messages.google.com btw) and Samsung Messages. I ended up using Google messages because of the desktop web interface feature.

Turns out it was RCS chat as I identified by Andrew T. For more information:
https://en.wikipedia.org/wiki/Rich_Communication_Services


text:
Umidigi F1 battery percentage
I recently bought a Umidigi F1 smartphone, and I can't figure out how to enable battery percentage to always be displayed in the notification bar. If I go to Settings -> Battery there's no option to enable that.

I don't think stock Android gives that option. Some OEMs provide this option under Settings - > Status bar. You can check there. Otherwise, GravityBox xposed module can do that, but requires a rooted device.

@Firelord Using a Nokia 8.1 here. Stock Android One device and there's that setting in battery. I believe if its not there then it can be hidden under SystemUI tuner hidden settings. For the rest, I don't think Xposed is available for Android 9, at least not officially.

Seems that I can't enable the SystemUI tuner. Nothing happens when I press and hold the gear.


text:
"Error: failed to write, posix_fallocate failed: ENOTSUP (Operation not supported on transport endpoint)" when installing APK on Android-x86
So, I've been wanting to play PUBG for a while now, but my PC is pretty awful, then Mobile came out, and TGB didn't work properly. I've been trying out several different Android OS, but all of them need a processor that supports SSE4.2+.
So, I checked out this Android-x86 OS, the 32-bit version (the first one that booted, I'm pretty sure that the game wouldn't really work anyway since the version is 32 bits, but I wanted to give it a shot anyway), and well, I can't download anything from the Play Store or install any APK.
I figured out a way to install APK from the terminal, and there I discovered the error below.
Why can't I install any apps on Android x86?
130|x86:/sdcard/Download # pm install
1535771455810.jpg                         Pixel Dungeon_v.1.9.2a_apkpure.com.apk    RAR_v5.60.build63_apkpure.com.apk
130|x86:/sdcard/Download # pm install Pixel\ Dungeon_v.1.9.2a_apkpure.com.apk
Error: failed to write, posix_fallocate failed: ENOTSUP (Operation not supported on transport endpoint)
130|x86:/sdcard/Download #

It would seem that the cause is the ext3 partition.
https://github.com/anbox/anbox/issues/108
The problem with this OS is that if you install it on a FAT32/ext4 partition, the grub doesn't work to dual boot with Windows, and if you install in NTFS, it dual boots but you boot without any free space on the OS
So yeah, rip lol


text:
App doesn't access GPS location directly
There's a strange situation with Citymapper, where it doesn't access GPS location directly, but it does if a different app is accessing location at the same time. This hasn't always been the case, but I'm not sure exactly when it started (so, can't say if it's because of a certain update etc.).
Problem details:

I'm using Citymapper 6.23 on LineageOS 14.1.
The Location permission is for Citymapper is turned on
"Location mode" is set to "Device only" (i.e., GPS only), although I've tried turning "High accuracy" on to test, and it doesn't fix the problem.
I have Privacy Guard enabled on Citymapper, but access to location is allowed, and as before, disabling Privacy Guard for Citymapper doesn't fix the problem.

Citymapper "thinks" it's accessing location, but it's not: I say this because when I disable the location marker for the device (screenshot below), Citymapper complains that "Your location is disabled".

When location is on, Citymapper doesn't complain (so, it thinks it's working), but I know it's not accessing the location for three reasons:

the location Citymapper shows is incorrect (it shows the last "known" location -- see below for details)
the location marker doesn't appear at the top of the screen as it would when an app is using geolocation
in the system settings > Location, "Recent location requests" are shown, but Citymapper is not on that list.

Further to this, Privacy Guard reports that "Fine location" is being accessed by Citymapper every time I use the app, but it says that GPS was last accessed on 26 December 2017 (Privacy Guard controls separately access to "GPS", "Coarse location" and "Fine location").
Indirect access:
The weirdest part is that when I open a different application that uses geolocation (in this case, MapFactor Navigator) and the location marker does show up at the top of the screen, the correct location does show up in Citymapper as well (this is my current workaround, and this is how Citymapper gets the last known location I mentioned above).
What could be causing this, and how could I go about fixing it? As I've mentioned, it used to work but started having this problem a while back (perhaps around the 26th of December, since that was the last GPS access). I haven't seen this with other apps, but then again, I don't have a lot of apps with location access.
System details:

Device: Samsung Galaxy S5 Duos (SM-G900FD)
OS: LineageOS 14.1
Android version: 7.1.2
The phone is rooted with SuperSU.

Note: There's no "Citymapper" tag (and I'm a newbie), so I used the generic "applications" tag. Maybe a senior user can fix this.

Android Engineer at Citymapper here!
The issue you're describing sounds quite similar to one we fixed recently.
So I would recommend updating to the latest version of the app.
The current version in the Play Store as of writing is 7.1.

Thanks, @ted-eriksson! Works now. I was assuming that Play Store was letting me know when updates were available, so I didn't even think to do this (most basic) check. I guess you know what they say about "assume"...


text:
Sudden crashes and drops in battery charge
Recently I've experienced random and sudden crashes on my Galaxy S2. There is no warning or shutdown message. Suddenly it's just powered off. What could cause this? Is there any way to see what was going on just before the crash?
I've also noticed odd drops in battery charge in the screenshot below.
I'm running the official Android 2.3.5 ROM from Samsung.
.

Did you com back to stock from a custom ROM recently?  If so I wonder if the battery stats need to be reset.

@shambleh I've never installed another ROM on this phone.

The reboot itself could be causing the drop. If it needs to do something like recreate the dalvik-cache of the applications for example. You wont be able to see what caused the crash, from the logcat, because that is cleared at boot (AFAIK)

You might need to reset the battery stats anyways.  Drain the phone entirely -- when it shuts off, turn it on again until it shuts off again and repeat until it won't turn on.  Then wipe the stats and charge to 100% with the phone off (leave it plugged in for an hour or so after it appears to be fully charged).  Turn it on, drain it again, and charge to 100% while off again without wiping the stats this time.
Of course, if you're not rooted you can't wipe the stats, but the drain/recharge cycles should help regardless by providing fresh stats.

is that possible to fix without root?  or simple replace a new battery to fix this issue?


text:
Stuck into bootloop, adb sideload failing
I got a Nexus 5X, completely stock, no root or unlocked bootloader.
So, yesterday I remember installing a couple of games. A bit later, out of the blue, my phone reboots and I get "Your device is corrupt" message. The phone wouldn't boot past the Google logo and it would restart.
I went into stock recovery mode, made a wipe data and rebooted. Now the corrupt message is gone, but the phone still bootloops. It goes past the google logo, to the animation of the rotating colorful circles. However, after a few seconds the animation stops, I get a few weird lines, and the phone restarts. And this happens over and over.
I went into recovery mode again and tried to adb sideload the OTA. However it either gets stuck around 18%-19% or I get the error failed to read command: no error.
Someone suggested that my EMMC is failing. Is that true? Is there anything else I can try?


text:
Change headphone left-right balance on Android 7
What is the best way to set the left-right balance on a pair of earphones/headphones? I've looked into it, but I can't seem to find an easy way to do this.
Does anyone know of a way to do this? I know very little about Android development, so a simple solution would be best (preferably an app).
I am on a rooted Nexus 6P on stock Android 7.1.1

Got the same problem.
My solution: root the phone with Magisk, install de Viper module and set the settings.
There's a lot of tutorials in xda, and it's pretty simple.

If you don't have root, there are many apps on the Play Store which can do this. Just search for stereo balance controller and pick up an app which can run as a service and equalise the system audio.


text:
Moto M: Phone in "Red State". Does not boot. Cannot enter fastboot or recovery
I tried to install a custom ROM on my Moto M, and failed in the attempt.
I uploaded TWRP, and misguidedly executed adb flashing lock afterwards. Now my phone says:

Red State.
Your device has failed verification and may not work properly.
Your device will boot in 5 seconds.

But it does not boot. The screen simply goes black, and reboots to the same screen.
I can enter the "meta mode", but I don't know what use that is, because neither in the normal mode nor in the meta mode the phone recognized by adb or fastboot.
Linux still recognizes the phone a some sort of USB device, though:

usb 3-3: new high-speed USB device number 2 using xhci_hcd
usb 3-3: new full-speed USB device number 3 using xhci_hcd
usb 3-3: New USB device found, idVendor=0e8d, idProduct=2000
usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-3: Product: MT65xx Preloader
usb 3-3: Manufacturer: MediaTek
cdc_acm 3-3:1.1: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usb 3-3: USB disconnect, device number 3

Pressing volume down + power button does nothing.
The phone simply remains off.
If I keep pressing the power button a long time the phone vibrates, but still does not boot.
I have no I idea what I can do. Did I brick my Moto M?
I don't really care anymore about custom ROMs or stock ROMs, I simply want my phone to work again at all. :(
Please tell me if you have any ideas or suggestions!


text:
"Wi-Fi was turned off since internet connection was not available on <SSID>"
I have a local wireless network at my home that doesn't provide me with internet access. If I connect my Android device (AT&T NEC Terrain running Ice Cream Sandwhich v4.0.4) to that WiFi network, as soon as it receives an IP address, it turns off WiFi again and prompts me with the message above where <SSID> is the SSID of my wifi network.
Any ideas how I can turn off this behavior?
I have a linux server hooked up to that WiFi and have full control over its DHCP and DNS, so if I can provide some fake host on the network for my phone to stay connected, that's a perfectly fine solution, too.

This was a painful one, but I figured it out:
When Android connects to a new network, it tries to auto-detect whether it can actually reach the internet via this network. If not, it will display a browser window and open a random http-address in the hope to bring up the captive portal of the network (i.e. your hotel's wifi login page, etc.).
The detection is done by requesting http://clients3.google.com/generate_204 (or similar) and expecting a certain answer. (I deliberately didn't turn this address into a link, because if you try to open it, nothing happens as it returns HTTP Status 204: No Content, which most browsers ignore).
Now, my confusion came from the fact that I did have an HTTP server running to serve this response and did have a DNS server set up to direct the request to that server. But the server wasn't getting any requests from this particular phone (other Android phones worked).
Turns out this particular phone does two things differently:

It simply disables WiFi rather than bringing up the captive portal page if no network is detected, which made it really hard to even understand what was going on.
It didn't use a DNS lookup for clients3.google.com, but instead used a hard-coded IP for it!

So, I was finally able to solve the problem by setting up an iptables-rule that simply forwarded all HTTP requests to my HTTP server, irrespective of which IP they were targeted at. After that, the phone got its generate_204-reply and everything worked as planned...


text:
Tasker/Security Settings 2G switch not working on OnePlus X CM13
I'm stuck with my planned automatization with tasker and security settings. My idea is to automatically switch to 2G/GSM when I connect to a WLAN. When disconnecting I want to switch back to 3G/4G.
I'm on Sultans CM13 on my OPX (rooted). What i did so far: Installed tasker and security settings (SS) and configured a tasker profile with a task using the SS plugin (based on this XDA tutorial).
Under Actions --> Device Setting I picked global as table and set the value of preferred_network_mode1 to 1 (I also tested 0). I also configured the shell script described in the tutorial. But my phone is not switching to 2G when activating the WLAN although the profile is active. #edit: I just saw that there is also a parameter called preferred_network_mode followed by a 10 digit number, but it is not working either. No switch to 2G or from 2G to 3G.
Now I wanted to check if my phone/provider has another value perhaps, but when I'm executing:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SELECT name, value FROM global;
as su I get the message that the table global is not existing. Does anyone has an idea how I can access this database or how to configure Tasker/Security Settings on my OnePlus X (with CM13) in Germany (T-Mobile)?

This might help: Simple way to toggle between 2G and 3G connection // BTW, that command of yours didn't work because Marshmallow did away with relying on settings.db. You need to use settings command. Related: Where is the database to save android volumes

Thank you for the second hint. Concerning the first one: I wanted to solve it with Tasker/SecuritySettings and not with Xposed and Gravity. I already found this...but if there is no other solution I will have to switch.

I can't find the preferred_network_mode (or anything similar) in the xml file so I have to look in this folder

So here is the way I solved it: After discovering the right place to edit the preferred network mode I tested to change it:
adb shell settings put global preferred_network_mode 1
adb shell settings put global preferred_network_mode1 1
adb shell settings put global preferred_network_mode2456921 1
adb shell stop ril-daemon
adb shell start ril-daemon

The problem was that the changes were not reflected and with the restart of the ril-daemon they were reset (preferred_network_mode 9).
So I used Gravity Box (Xposed module) to change it and with this it's working fine:
Send Intent [
Action: gravitybox.intent.action.CHANGE_NETWORK_TYPE
Extra: networkType:1
]

Sadly it was not working without it (so I could have saved the money for Security Settings but however.
So if you want to try it with tasker I would recommend to use it with Xposed and Gravity - that's probably the easiest way actually.


text:
Sound volume randomly changes
I'll be listening to music or a podcast, when for no reason that I can tell, the sound will sometimes change. Fortunately, it seems to always go down, not get super loud and blow out my ears.
This happens in any and every audio program, so I don't think it's app specific.
I'm using Android 4.0.4 on a Samsung Galaxy S2. The phone is rooted.
How do I prevent the sound from making random adjustments?

This issue seems to have been corrected by upgrading to a kernel and ROM which are more compatible with my hardware. Should I put that as an answer or should the question be closed?

I would put that as an answer and mark it as such since that was the solution for you

This problem went away after I installed a kernel and ROM that was developed more specifically for my particular phone, the SC-02C.
The lesson learned was to be really sure before rooting or upgrading that one is working with the exact right ROM and kernel.

Many others have had this problem and have overcome it by loading the Persist app from Google Play:

Audio management made easy - Persist puts you in complete control of your audio with a variety of volume controls and settings.

Presets
Volume Locker - Prevent volume changes
Silent and vibrate modes

...

Thank you for this suggestion. Unfortunately, I have tried this app for the last few hours and have discovered that it does not prevent the volume from making spontaneous changes.

I have a Samsung 42" volume uncontrollable and the red power light flickers. This might not be for everyone, before replacing it with a new one I sprayed the on-off switch for a few days. Each day it improved now I have no problem.
                                                 Sonny

I used contact cleaner which should not harm components.

Had problem with volume changing sporadically and interrupted by Google doing voice search.
After trying to shut down Google searches, etc., And failing, ended up switching earbuds to newer pair. That seemed to work.
Still would like option to shut off Google, maybe in another release of android. None of the soluions offered worked with my phone and android 7.


text:
Is there a simple way to undo an app update?
I'd like to revert to the previous version and stick with that permanently. Is that possible?
I have Beautiful Widgets installed, and had it set to auto-update. It just did, and the 'update' is totally unacceptable.
I've got several devices, all rooted and running different versions of Android. Some have auto-updated the APK to the new version, some have not (I just disabled auto-update on those that have not).

Android does not natively back up applications so you can't "undo" an app update. Best thing I'd say you can do is something like this howto. It backs up your apks and their settings. It uses Titanium Backup and requires root, but rooting is not your problem.

So glad I had more than one device, and that I caught this before they all updated. Titanium Backup FTW!

Unfortunately once the new version is installed there is no way for you to roll back. The only way you can get back to the old one is if you already have a copy of, or can manage to find the APK file for the version that you want.

Finding the APK is the problem, since this just leads to 'warez' sites, which I won't use or trust. I'll recover from one of my other devices instead. Thanks for the answer though.

"can manage to find" was open ended. If you have the version you want on another device you should be good to go. If you're rooted just copy it out of /data/app/ if not use My Backup Pro or some other app to pull a backup copy to the SD card and then copy it from there.

You could install AppMonster Pro Backup Restore to your device. This app automatically captures each .apk installed and stores it on your SDCard (initially, you can do this also manually for all your installed apps). Now, if you've installed some update you don't like for some reason (bugs, reduced functionality, or whatever), you can simply start AppMonster and have it restore a previous version.

AppMonster Pro (source: Google Play; click images to enlarge)
To not fill-up your SDCard entirely, AppMonster can also be configured to "only keep X backups". And it offers some additional features as well, as e.g. showing which app can be moved to SDCard, or which app contains ad-modules.
And yes, for the automatical backups you will need the (paid) Pro-version. To take a look at the app first, there's also a free pendant, AppMonster Free Backup Restore -- but here you have to do all backups manually. Also, the Pro version offers a batch-restore. I'm using the Pro version for years now, and can only praise it (saved my day more than once). Support is excellent as well, by the way -- some of the app's features came from my wish-list :)
Ah, and one more remark: this app does not require root. But it (currently) only backups the apps (.apk) itself, not their data.

To be pedantic, you can uninstall updates for System apps. They will revert to the version installed when the phone was at factory defaults (or when you installed a rom). But otherwise, you will need to find a copy of the previous version in order to revert an update.
On my (rooted) device, I have a Titanium Backup schedule set up to backup everything every week. In the future, you could set up something like that (root required).

Titanium does very well this job!

The Astro File Manager can be easily used to make backups of the application and to restore these later.

Simply go to play store, search for that app, there will be two options 'uninstall' and 'open', just simply click on uninstall and your good to go. Dont worry, it wont uninstall your app completely but only the update gets uninstalled. After that you'll see there two options 'update' and 'open' and thats what you always wanted!

This only happens if the app is a system app, in which the user can't totally uninstall it. If it's a 3rd-party app, then the app will be gone from user's device, obviously.


text:
Why does my hotspot stop after a period of time?
I use the hotspot feature on my HTC One X alot for connecting to the internet with my laptop.  It's worked fine for months, but all of a sudden the last two days, the hotspot just stops for no reason that I can discern.  I have restarted my phone and haven't installed any news apps recently.  Any ideas?

You most likely have a hotspot timeout setting enabled.
You can disable it by going to your Advanced Hotspot Settings, and editing the timeout value to never.
Note that in some versions of Android in order to access the Advanced Hotspot Settings you need to first access the WiFi Hotspot Settings and then press the phone's Menu button.

Thanks for that, this was the issue.  Never noticed the Advanced tab for this!

I am using Google Pixel which has latest update of android OS. I am not able to see any timeout settings for hotspot ?

hi i using moto g4 plus but i am not able to see the advance option anywhere. please guide me.

Just a note for others out there, the setting is not very easy to find (at least on my Samsung Galaxy S3 mini Android 4.1.1).
Go to Wireless and network -> More settings... -> Tethering and portable hotspot -> Portable WiFi hotspot. Once there, you'll have to press the Menu button (bottom left of your phone) and up pops Timeout settings!
One can only guess why they decided to hide that setting in such a hard-to-find place....

Any idea where this could be found on a OnePlus2? I would like to turn this feature on.

Maybe my phone does not have any option to prevent this, I cannot find any "Timeout settings" for wifi-hotspot of my android phone. I have found an alternative solution:
1. I turn off the security(pattern lock/password etc.) when I use wifi-hotspot and it works fine. For all the android mobile it should work I think: Go to "Settings" -> "Security" -> "Screen Lock" (you may have to enter existing pattern or password for the lock) and set security to "None".
2. Also set the sleep duration to a low number such as 2 minutes or 15 seconds etc. To change the sleep duration go to "Settings" -> "Display" -> "Sleep".
After this your mobile will hopefully not stop wifi-hotspot when it goes to sleep mode.
When you have done with your work
Enable the security again later by going to the same menu and setting security to "Pattern Lock" or anything you need. And you can also change the sleep settings as you like.
I have faced this problem with my android phone that I am currently using. This solution works perfectly for my phone and I found this solution myself finding no solution in internet. Then I shared the solution here in stackoverflow.
My recent findings is that, maybe the second step(mentioned above) alone can also do the trick.

Which Android device and version did you use to test this answer? I'm aware that when the device goes to sleep, a particular Wi-Fi setting can cause disconnection but I didn't hear about this being an issue with hotspot.

Yes my phone has this issue, it does not stop wifi hotspot but the connected devices don't get any internet from the hotspot, they are being blocked probably. I am using Sony Ericsson Xperia Arc S. Android version 4.0.4. Thanks.

I had the same problem.  And then I realized that I'd set up Tasker to turn the hotspot off if it detected my favorite wifi network nearby.  I've since removed that Tasker option, and the hotspot has stayed on.
I did not simply forget about the Tasker setting.  Rather, even when I was nowhere near my favorite wifi networks, the hotspot would turn off.  Tasker needs to briefly turn on the phone's wifi every so often, in order to see if it's near my favorite wifi network, and in so doing, it must also turn off the hotspot; my guess is that, somehow, it was unable to turn the hotspot back on after it shut wifi down.

Thanks for the reply, unfortunately I am not running tasker.  Glad you were able to figure it out though!

The fix is simple: Got to the setting in your device that is called: "Data enabled (Enable data access over Mobile network)"  UN-check it OFF, wait about 30 seconds, then RE-check it ON.
You will notice then within 10 seconds the 4g will re-appear, and turn a beautiful blue - which means all good and working.
Works everytime.
On Verizon, you will need to do this every 2 to 3 hours. Why? Because that's how Verizon does it.  T-Mobile does NOT create this restriction.
Also, you will notice that MOST devices wil NOT charge the battery when data is being DOWNloaded/streamed, so be ready for that.

Try calling your service provider. I had the same problem and upon making the call discovered that the company had some weird stipulation on my "unlimited" data plan that didn't allow for the hot spot without first paying a fee. Maybe there was a change in your service that weren't informed of

There is also another possibility
I installed a program named Du Speed Buster and it turn off hotspot in order to boost the system speed
I had to unmark that to solve the problem
check all of your programs, because it can be some program like it

That's the curse of auto-taskkillers: too many negative side-effects.


text:
Can my Android phone be hacked without installing permissions?
After reading this article ( Kaspersky smartphone report ) this got me wondering.
Obviously if I install a dodgy app through Play Store or directly from a website, that can be dangerous, however if I install a popular app from the Play Store that has 10 million downloads for example, most likely it will be virus free.
So most of the Android hacks I've read about are people giving install permission to dodgy apps, however can my android phone be hacked without me installing an app at all?

There is always the possibility of a vulnerability in some app that could cause your computer/phone to be hacked. Browsers are notorious for having bugs that allow the computer to be infected with a virus simply by viewing a page. In fact, one method to jailbreak an early Apple iOS device was to simply browse to a page that delivered a payload via a bug in pdf (source).
Android mitigates this by having apps run in their own sandbox. Thus, an app that is compromised can only (theoretically) compromise its sandbox, which includes any permissions it originally was granted. If compromised, it couldn't send an SMS unless it had that permission originally, nor could it modify other programs' data. But even sandboxing is not foolproof.
If your phone is plugged in to a computer, it can be 'hacked'. This is proven by most rooting methods that use a bug to get root. Programmers could just as easily create a virus for computers that detects Android phones and installs a malicious app silently, or even roots them and takes over the phone completely.
This talk has some great details on app permissions. It isn't necessarily hacking, but it does show how an app with very few, seemingly innocuous, permissions can actually track and do a lot without you knowing.
In the end, your android device is a computer, with all the same inherent flaws that come with it. So like a desktop, if you are careful about where you browse and what you install, you'll likely be fine.

The browser is a big security risk especially for older Android versions. For example:
http://threatpost.com/en_us/blogs/researcher-publishes-android-browser-exploit-110810
http://news.techworld.com/security/3250255/android-browser-vulnerability-exposes-user-data/
http://www.livehacking.com/category/vulnerability/android-vulnerability/
For older devices (on 2.2 or older) it may be best to use Firefox or Opera mobile browsers, which you can update regularly, unlike the built-in browser.


text:
Unable to use Android Device Manager to reset my Password
I recently locked my Nexus 7 (2013) having Android 5.0.2 with a password, which I forgot. I, then, thought to use Device Manager, since I've authorized it from Google Settings to make changes, such as locating and changing password.
Previously, my PIN used to get reset from ADM, but, this this time I am using a Password. Is that the reason?
This is what it says, "We successfully sent a lock request to your device."
And after that when I rejoice and feel a bit relieved, "Since Google has verified that a screen lock is already set, the password that you entered won't be needed."
I am trying to override my previous password over this new password ...

Is there any other way of resetting the password except ADM, on Android 5.0.2, like that Google Account's credentials it used to ask on Froyo.
P.S. I've set all permissions for ADM at Google Settings on my Nexus.

Have you tried entering the wrong password until the "Forgot password?" button shows up, and resetting your password from here using your Google account?


text:
Genymotion + VPN
I am running Genymotion on a MAC. I tried the changed settings in VirtualBox on Adapter 2 to "Bridged" also trying NAT / NAT Network but it does not work. It runs fine on my physical Android device.
I am using WiFi on my Mac to connect to the Internet.
Can someone give a hint what I am doing wrong?

authors: Алина Ковалёва


text:
Which Android virtual device is based on ARM system image?
Android Studio has a feature where you can emulate an Android device -- tablet, phone, etc. -- but it crashes the virtual machine (Ubuntu) I am using.  Depending on which VM platform I am using, it sometimes lets me know what went wrong.  Here are the four options:

Troubleshoot
Unfortunately, your computer does not support hardware accelerated virtualization.
Here are some of your options:
1) Use a physical device for testing
2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX
3) Develop on a Linux computer that supports VT-x or SVM
4) Use an Android Virtual Device based on an ARM system image
(This is 10x slower than hardware accelerated virtualization)

I like the fourth one.  So, which Android virtual device is based on ARM system image?
Original pop-up dialog:

Although not recommended due to performance issues, the Android SDK manager still provides ARM system images for the Android SDK emulator:

Open "Virtual Device Manager"
Click the "Create device" button
On "Select Hardware", select an existing device or create a new one, then click the "Next" button
On "System Image", switch to the "Other Images" tab
Download and select an ARM system image (ABI starting with "arm"), then click the "Next" button
Click the "Finish" button to create a new virtual device with an ARM system image

It is also possible to download the system images directly from the SDK Manager:

Open "SDK Manager" (Appearance & Behavior - System Settings - Android SDK)
Switch to the "SDK Platforms" tab (if it's not selected by default)
Tick the "Show Package Details" checkbox
Under the Android version to be used, expand the details
Tick respective ARM system images to download (e.g. "ARM 64 v8a System Image")
Click the "OK" button


text:
Fail when pull system files in twrp recovery
My phone is Xiaomi Redmi Note 5, bootloader is already unlocked, haven't rooted yet. I boot to TWRP with the command fastboot boot twrp-3.2.3-0-whyred.img. Then
.\adb remount
.\adb pull /system/fonts

but it said adb: error: failed to stat remote object '/system/fonts': No such file or directory
I also can't list /system folder in adb shell:
.\adb shell
~ # ls /system
(output nothing)

~ # mount -o remount,rw /system
mount: can't find /system in /proc/mounts

TWRP automatically does not mount system partition. It has to be mounted manually via its UI (under Mount option) or via command line. The fact that ls /system showed you nothing gives us the evidence that the partition indeed is not mounted. It can further be confirmed using mount command.
If you must insist on mounting system partition using command line, you must get the block device ID for that partition first. There are myriad ways to do that and some are listed here by Izzy. I think the easiest may be the command blkid as mentioned here by Ryan. In my device it outputs:

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

Once you have the block device ID and the filesystem type (ext4 default) you issue the command:
mount -t ext4 BLOCK_DEV_ID MOUNT_POINT
mount -t ext4 /dev/block/mmcblkop41 /system   # this is as an example only

You can now pull the files.


text:
Can I update my Galaxy Nexus manually?
I am having a problem with music playback stutter on my Galaxy Nexus, and after searching about it for a while, it seems the problem was fixed on update 4.0.4.
Unfortunately, my phone is still on 4.0.2 and no OTA Update is currently available.
From past experiences with my Milestone, updating or using a ROM that was not originally from my country (Brazil) resulted in various problems, including no 3G connection and very poor GPS signal.
Is it possible to actually update the Galaxy Nexus manually from 4.0.2 to 4.0.4? If yes, is there a way to know which "version" of the system would be compatible with mine?
Here's the "About Phone" tab on settings:

I just want to be sure, but you have the GSM Galaxy Nexus, right?

AFAIK, the 4.0.4 is currently only available for the CDMA/LTE, but someone over at Modaco has a modified version of the 4.0.4 working for GSM.
It looks like everything is working on the GSM version with this modified release. I have also read that 4.0.5 will be released next month, so you may want to just wait.

Thanks! The music bug is gone on the modified 4.0.4 GSM update. I had to flash the stock Google rom (yakju) before being able to do it though (discovered mine was yakjuvs through this app. I think that would be the biggest limitation in respect to updating different versions of the phone.


text:
Multiple notifications arrive all at once, from multiple apps
I'm using an LG Nexus 5X (android 7.0, also did the same on Marshmallow), and over the last few weeks I've noticed that sometimes a load of notifications will come in at once(within seconds), say 3, 5, 10. Some quite old (hours).
eg 5x facebook, 3x email at once. A couple of weeks ago I had 20+ twitter notifications pour in in a couple of seconds.
This doesn't happen all the time, sometimes after I move or wake the phone, so makes me think its suspending notifications based on motion, if that's a thing?!
It also doesn't appear to be any different on wifi vs 4G, I have no issues with browsing or calling.

Going by your description of not happening when you " move or shake the phone" , it appears to be related to Doze function of Android, which may be the cause
You would need to exclude these apps from the Doze feature. I am not sure how to do that on Nougat but on Marshmallow,   Is there a way to exclude an app from Doze?  should help you exclude those apps ( steps to exclude would probably be similar on Nougat )
Edit: Doze behaviour has been changed in Nougat. Doze is implemented in two stages

When a device is on battery power, and the screen has been off for a certain time, the device enters Doze and applies the first subset of restrictions: It shuts off app network access, and defers jobs and syncs. If the device is stationary for a certain time after entering Doze, the system applies the rest of the Doze restrictions to PowerManager.WakeLock, AlarmManager alarms, GPS, and Wi-Fi scans.

My understanding is that this change does not help your problem , without excluding from Doze

Ah excellent thank you! I'll have a play and report back...

I have excluded several apps from Battery Optimisation (Doze mode) So far its looking good, but want to give it a few days before marking this as the answer, just to be sure.


text:
mi5 screen turns off after I touch the home button / fingerprint reader
On my MI5, if I touch the fingerprint reader on the home button, the
screen turns off. Then for 5-10 seconds nothing happens, and afterwards I can click the ON button, which shows the lock screen once again.
It appears that others have hit a similar issue with the screen turning on: XDA post, MIUI forum post.
Questions:

How can I stop this from happening?
I don't use the fingerprint reader. Is there a way to disable the reader completely? The only ways I found require either root and fiddling with system files (miui post above, StackExchange question), or applying duct tape.

More details:

This started just now, not after any specific action (didn't update/install/etc)
I don't have, and never had, any password/pin/drawing/fingerprint - I only slide the lockscreen up to unlock the phone.

I tried setting a pin, and also pin+fingerprint - same behavior

I've set "sleep after" to "never"
Device: Xiaomi MI 5, Android 6.0.1 MXB48T, MIUI Global 8.1|stable 8.1.2.0(MAAMIDI), baseband TH20c1.9-00055, core version 3.18.20-perf-gfacbe79

Turns out that the device's screen was defective (because of a fall an a bad replacement job). I had the screen replaced, and now the issue doesn't happen anymore.


text:
How to change phone hardware configuration as per requirement of Android Nougat?
I am using Micromax android one. Till now my phone upgraded from 4.4.4 (KitKat) to 6.0.1(Marshmallow). But since my hardware configuration was getting low to get ready for N, How can I change my hardware configuration? I also want to know what hardware configuration required for Android Nougat.

How to change? Buy a new device. What is required? Vulkan support and OpenGL 3.1.

Despite people saying certain levels of hardware are required for Android version bla.bla.bla, they're not. Look how older phones like HD2, Galaxy Nexus and Nexus 4 received Nougat treatment - it might not be smooth, but in the latter 2 cases are definitely usable.
The thing you'll be missing without official support is the proprietary drivers, which third-party devs won't be able to provide. If your processor is older (e.g. Snapdragon 800/801), you'll also miss out on newer features like Vulkan. But fret not, as Android still reserves a bit of backwards compatibility - devs can always work it so that it runs on legacy drivers and APIs.
As an Android One device you shouldn't be worried much - just wait for N-based custom ROMs to drop.

Ohh you mean to say that it's not much hardware dependant. Only I need is Big RAM & Good processor already inbuilt. Is there any official page for this requirement.

@iO.S-C. Certainly not, as demonstrated in the countless examples that have popped up since Nougat release (one more example: Xperia M). Also, since Nougat isn't as big a revision as Lollipop versus KitKat, it likely won't introduce much lag either - rest assured that your phone would work alright for another year (if the custom ROMs come, that is).

Nice, thanks for all this information. It help me  to understood. I heard about one more thing, that they are removing background services like iOS. Is it true?

@iO.S-C. That's something I haven't heard of. Given how heavily Android depends on multitasking (non-tombstone) both in development and in real world use, I'd say no. That's also not likely to happen within the timeframe of Nougat, so your phone won't be affected either.

As I am using Android One I am bit sure that I'll get Nougat on my device, Only thing is that I have to make my space free. ;)

It seems like you're using a first-gen Andriod one device.
Google has said in an official statement that'll they will not be updated to Nougat.
Your next best option is to try out a custom rom like Cyanogenmod 14 for your device.
PS: Do this only if you're confident that you will not brick your device.


text:
How to disable traffic alert messages which come as flash sms from carrier?
I get this alert message from my carrier after using the internet for sometime. The problem is that I get numerous messages (20+) like this when my phone is idle. I guess some apps are syncing in the background. The phone is unusable till I hit OK on all the alert boxes. Is there a way (or an app) to make sure that I do not see these messages.

This looks like a special kind of SMS message, sometimes called "flash SMS", that shows up instantaneously on the phones screen. I don't think that there is an option to block these messages and even if it would be possible I wouldn't encourage you to do so, because you could maybe miss some other important information.
I think the best approach would be to ask your carrier from disabling these messages for your number. I am sure that they are able and happy to do so.

Thanks for pointing out the term "flash SMS". I found a solution by googling it. My argument for disabling it is this - what if I need to make an emergency call? I might not have time to keep hitting the OK buttons on all those messages. Anyway the solution that worked for me can be found here http://www.digitalgupshup.com/how-to-stop-block-flash-service-sms-of-vodafone-india/

@pkdevil You should post how you disabled flash-sms as answer to help others with this issue. :)

This is a problem with your carrier where they send the last data usage details whenever a data connection session ends. It is not possible to disable it unless the network provider disables it.
However, you can try this small workaround by going to Messaging, selecting Settings in options, and disabling Cell Broadcast settings.
Thanks


text:
Bootloop and inaccessible recovery mode. Fastboot stops when connected to PC
I have ASUS Zenfone Max Pro M2. I installed Pixel Experience and recently tried to update it, but it stuck in a boot loop.
My bootloader is unlocked and the device is not rooted.
Also, the Recovery mode is not accessible.
Fastboot mode is accessible but when connected to and PC, a black screen is visible with a message "press any key to power off".
If there is any way that can reset the device and install any ROM (root or without root).
Please share it.
Opened Fastboot:

After Connecting to PC:

Entering fastboot devices on PC:

hi @alecxs I've added screenshots of what happening after i connect it with the PC.

just after I connect to PC, Fastboot Devices screen disappeared

I've already tried different OS, USB, and PCs but the same thing is happening. Even if somehow a system recognized Fastboot device, the second command does not work and last screen appears on phone that says "press any key to shutdown"

https://youtu.be/-NLJG9CL-uU

https://forum.xda-developers.com/t/guide-fix-press-any-key-to-shutdown-when-unlock-bootloader-or-run-fastboot-cmd.4180389

thanks @alecxs, gonna try it out.


text:
Gmail for one email address, inbox for the other
I have 2 google email accounts, one personal and one for work. I want to use my personal email account on Inbox and my work email on Gmail. I want it so that when I receive emails I can see each icon so that at a glance I know if the email is personal or for work. How can I set this up?


text:
Bootloop & Cannot get into any recovery mode stock/CMW/TWRP
My Samsung s4 mini (I9190) is in bootloop.
I CANNOT go into recovery mode by power+home+volume up.
I CAN go into download mode by power+volume down.
"Firmware upgrade and initialisation" by Kies finished succesfully but it is still in bootloop.
"Odin + Sammobile firmware" finished succesfully but it is still in bootloop.
"Odin + CMW Recovery" finished succesfully but it is still in bootloop.
(http://forum.xda-developers.com/attachment.php?attachmentid=2528136&d=1390237165 )
"Odin + TWRP Recovery" finished succesfully but it is still in bootloop.
(http://www.androidfilehost.com/?w=file-thanks&fid=24052804347763027&mid=108&download_id=ovsrhlssjl8oa3tm4aanrrh1u0&tid=1453125230&hc=25a981cade4149663a73da4c332838c193eb9489524be94632c813efd7fed5f7 )
Any suggestions?
Details:
It was Android 4.2.2; the original OS in it when I bought it. Then one day I rooted it. I did not upgrade the OS. It was still the original TouchWiz on 4.2.2. (No CyanogenMod or anything....) Everything was fine for 1 year. Then one morning I clicked on a whatsapp message and my phone restarted & has gone into a bootloop.
I do not have an external SD card. I tried two different batteries, each works fine in another phone. I did not insert an SD card or SIM card during any of these processes.

Have you already reflashed the stock ROM with Odin? And make sure you are holding the correct buttons. (Hold Volume Up, Power Button and Home Button at the same time).

I do not know what a stock rom is. is there a link that i can download or a document that explains how to do it?

Here you can download the correct ROM: http://www.sammobile.com/firmwares/database/GT-I9190/ (Registration needed). Then you can flash the firmware (ROM) with Odin. Do it at your own risk.

I did it. "Odin + Sammobile firmware" finished succesfully but it is still in bootloop.

@lembas Did you finish it already? How did you download the file + flash the firmware so fast?

@beeshyams It was Android 4.2.2; the original OS in it when I bought it. Then one day I rooted it. I did not upgrade the OS. It was still the original TouchWiz on 4.2.2. (No CyanogenMod or anything....) Everything was fine for 1 year. Then one morning I clicked on a whatsapp message and my phone restarted & has gone into a bootloop.

@SuperThomasLab I did it before asking this question. I wrote it on the original question that "Odin + Sammobile firmware" finished succesfully but it is still in bootloop.

@beeshyams I do not have an external SD card. I tried two different batteries, each works fine in another phone. I did not insert an SD card or SIM card during any of these processes.

@beeshyams yes :...(

Although I dont't think the service center will do it for free, because you have void your warranty.

Thank you very much to you both. Warranty has already ended before I rooted the phone.

accidentally hit on chat link. sorry. - Let us continue this discussion in chat.

please provide some more details and try another firmware for your device. here http://live.samsung-updates.com/index.php?device=GT-I9190 you can see that each region has its own specific rom for a device.the stock rom that was specific to your region will only work in your device. more details http://forum.xda-developers.com/galaxy-s4-mini .  Was your phone locked to a network? If so reinstall the network firmware as the partition size will be correct.

It isn't locked to a network. I tried Turkish region. (http://forum.xda-developers.com/attachment.php?attachmentid=2528136&d=1390237165) It didn't work.


text:
1.5 GB limit on file seek addressing?
I am trying to transfer 5.4 GB file form an android internal memory (Sony Xperia Z2). But it seems that most applications have issues addressing the file beyond cca 1.5 GB. They just can't read the file after that point and end with an error. It applies to e.g. Zarchiver (failed compressing), Wifi File Server (stopped sending), etc.
However some apps can read those, e.g. the video player or some binary readers.
It seems that there might be a limit in standard API and the app needs to use different API for reading big files.
Is there some such limit of 1.5 GB? I have seen the 2 GB limit related to FAT32 + unsigned int, which seems not to be the case as I have files over 2 GB. It's just that most apps can't reach their content beyond those 1.5 GB.


text:
How to allow rotating upside down in portait mode
I have HTC 10, Android 7.0. When I charge it, I have the display upside down in portrait mode. I.e. the button is further from me. The screen doesn't rotate by "gravity" so I see everything upside down.
Is there a way to make the phone screen rotate so that the notification bar would be at the actual bottom of the display?
Update: I've tried a Set Orientation app. That works for the above, but causes problems with apps, like, camera app can't layout correctly.

You can try the solution here with Trigger being  Power Connected.

That's a good trick if I always had it like that, but sometimes I take the phone to hand and then I need it in the default orientation again...

settings put system user_rotation x where x is a number between 0 and 3


text:
LineageOS 18 -> USB storage is not being attached
I am using Raspberry Pi with installed LineageOS 18 and basically all works well. The only issue I do have is that when I put an USB stick (storage) it is not visible in the GUI. I tried several USB dongles and SD-Card reader. No luck.
I can see it's being recognised correctly:
01-01 18:10:24.804     0     0 I usb 1-1.2.3: new high-speed USB device number 11 using dwc2
01-01 18:10:25.010     0     0 I usb 1-1.2.3: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
01-01 18:10:25.019     0     0 I usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
01-01 18:10:25.027     0     0 I usb 1-1.2.3: Product:  SanDisk 3.2Gen1
01-01 18:10:25.032     0     0 I usb 1-1.2.3: Manufacturer:  USB
01-01 18:10:25.036     0     0 I usb 1-1.2.3: SerialNumber: 0101a3136a5ad2527acb7f7f1499daffd9e96a0672c0c4bf5b3297da4b20ff1acb9900000000000000000000943a3a96ff8b520083558107b9aa4123
01-07 09:16:29.008   247   247 I drm-event-liste: type=1400 audit(0.0:857): avc: denied { read } for path="socket:[14421]" dev="sockfs" ino=14421 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=netlink_kobject_uevent_socket permissive=1
01-01 18:10:25.054     0     0 I usb-storage 1-1.2.3: 1.0: USB Mass Storage device detected
01-01 18:10:25.086     0     0 I scsi host0: usb-storage 1-1.2.3:1.0
01-07 09:16:29.050   401   556 D UsbHostManager: USB device attached: vidpid 0781:5583 mfg/product/ver/serial  USB/ SanDisk 3.2Gen1/1.00/0101a3136a5ad2527acb7f7f1499daffd9e96a0672c0c4bf5b3297da4b20ff1acb9900000000000000000000943a3a96ff8b520083558107b9aa4123 hasAudio/HID/Storage: false/false/true
01-07 09:16:29.052   401   556 D UsbDeviceDescriptor:   1 configs
01-07 09:16:29.052   401   556 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/011,mVendorId=1921,mProductId=21891,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName= USB,mProductName= SanDisk 3.2Gen1,mVersion=1.00,mSerialNumberReader=com.android.server.usb.UsbSerialReader@1fdb59c, mHasAudioPlayback=false, mHasAudioCapture=false, mHasMidi=false, mHasVideoCapture=false, mHasVideoPlayback=false, mConfigurations=[
01-07 09:16:29.052   401   556 D UsbHostManager: UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=112,mInterfaces=[
01-07 09:16:29.052   401   556 D UsbHostManager: UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=8,mSubclass=6,mProtocol=80,mEndpoints=[
01-07 09:16:29.052   401   556 D UsbHostManager: UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
01-07 09:16:29.052   401   556 D UsbHostManager: UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]
01-07 09:16:29.086  6446  6446 D UsbIntentReceiver: New USB mass-storage device attached.
01-07 09:16:29.086  6446  6446 D UsbIntentReceiver:   name:  USB  SanDisk 3.2Gen1
01-07 09:16:29.088  6446  6446 D UsbIntentReceiver:   serialNumber: 0101a3136a5ad2527acb7f7f1499daffd9e96a0672c0c4bf5b3297da4b20ff1acb9900000000000000000000943a3a96ff8b520083558107b9aa4123
01-07 09:16:29.088  6446  6446 D UsbIntentReceiver:   productId: 21891
01-07 09:16:29.088  6446  6446 D UsbIntentReceiver:   vendorId: 1921
01-07 09:16:29.088  6446  6446 D UsbIntentReceiver:   isMassStorage: true
01-07 09:16:29.088  6446  6446 D UsbIntentReceiver: Checking if this is the current backup drive.
01-07 09:16:29.337   401   422 W LocationManagerService: blocking 0,0 location from gps provider
01-01 18:10:26.110     0     0 I scsi 0  : 0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
01-01 18:10:26.125     0     0 I sd 0    : 0:0:0: [sda] 240353280 512-byte logical blocks: (123 GB/115 GiB)
01-01 18:10:26.134     0     0 I sd 0    : 0:0:0: [sda] Write Protect is off
01-01 18:10:26.139     0     0 D sd 0    : 0:0:0: [sda] Mode Sense: 43 00 00 00
01-01 18:10:26.140     0     0 I sd 0    : 0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
01-07 09:16:30.132    28    28 I kdevtmpfs: type=1400 audit(0.0:858): avc: denied { create } for name="sda" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
01-01 18:10:26.223     0     0 I sda     : sda1
01-01 18:10:26.229     0     0 I ueventd : vendor_create_device_symlinks: device sda
01-01 18:10:26.236     0     0 I sd 0    : 0:0:0: [sda] Attached SCSI removable disk
01-01 18:10:26.239     0     0 I ueventd : vendor_create_device_symlinks: device sda1
01-01 18:10:26.249     0     0 E ueventd : Failed to symlink /dev/block/sda1 to /dev/block/by-name/boot, which already links to: /dev/block/mmcblk0p1: File exists

The only error here seems to be the Failed to symlink /dev/block/sda1 message. However when I add another one all seems to be working fine:
01-01 18:13:24.148     0     0 I usb 1-1.2.4: new high-speed USB device number 13 using dwc2
01-01 18:13:24.354     0     0 I usb 1-1.2.4: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.00
01-01 18:13:24.362     0     0 I usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
01-01 18:13:24.370     0     0 I usb 1-1.2.4: Product: Cruzer Fit
01-01 18:13:24.376     0     0 I usb 1-1.2.4: Manufacturer: SanDisk
01-01 18:13:24.380     0     0 I usb 1-1.2.4: SerialNumber: 4C530010541126100030
01-01 18:13:24.388     0     0 I usb-storage 1-1.2.4: 1.0: USB Mass Storage device detected
01-01 18:13:24.395     0     0 I scsi host1: usb-storage 1-1.2.4:1.0
01-07 09:19:28.359   401   556 D UsbHostManager: USB device attached: vidpid 0781:5571 mfg/product/ver/serial SanDisk/Cruzer Fit/1.00/4C530010541126100030 hasAudio/HID/Storage: false/false/true
01-07 09:19:28.361   401   556 D UsbDeviceDescriptor:   1 configs
01-07 09:19:28.362   401   556 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/013,mVendorId=1921,mProductId=21873,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=SanDisk,mProductName=Cruzer Fit,mVersion=1.00,mSerialNumberReader=com.android.server.usb.UsbSerialReader@ec44085, mHasAudioPlayback=false, mHasAudioCapture=false, mHasMidi=false, mHasVideoCapture=false, mHasVideoPlayback=false, mConfigurations=[
01-07 09:19:28.362   401   556 D UsbHostManager: UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=112,mInterfaces=[
01-07 09:19:28.362   401   556 D UsbHostManager: UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=8,mSubclass=6,mProtocol=80,mEndpoints=[
01-07 09:19:28.362   401   556 D UsbHostManager: UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
01-07 09:19:28.362   401   556 D UsbHostManager: UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]
01-07 09:19:28.368  6446  6446 D UsbIntentReceiver: New USB mass-storage device attached.
01-07 09:19:28.368  6446  6446 D UsbIntentReceiver:   name: SanDisk Cruzer Fit
01-07 09:19:28.369  6446  6446 D UsbIntentReceiver:   serialNumber: 4C530010541126100030
01-07 09:19:28.369  6446  6446 D UsbIntentReceiver:   productId: 21873
01-07 09:19:28.369  6446  6446 D UsbIntentReceiver:   vendorId: 1921
01-07 09:19:28.369  6446  6446 D UsbIntentReceiver:   isMassStorage: true
01-07 09:19:28.370  6446  6446 D UsbIntentReceiver: Checking if this is the current backup drive.
01-01 18:13:25.406     0     0 I scsi 1  : 0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
01-07 09:19:29.379   401   422 W LocationManagerService: blocking 0,0 location from gps provider
01-01 18:13:25.417     0     0 I sd 1    : 0:0:0: [sdb] 124059648 512-byte logical blocks: (63.5 GB/59.2 GiB)
01-01 18:13:25.427     0     0 I sd 1    : 0:0:0: [sdb] Write Protect is off
01-01 18:13:25.432     0     0 D sd 1    : 0:0:0: [sdb] Mode Sense: 43 00 00 00
01-01 18:13:25.433     0     0 I sd 1    : 0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
01-01 18:13:25.473     0     0 I sdb     : sdb1
01-01 18:13:25.479     0     0 I ueventd : vendor_create_device_symlinks: device sdb
01-01 18:13:25.480     0     0 I sd 1    : 0:0:0: [sdb] Attached SCSI removable disk
01-01 18:13:25.490     0     0 I ueventd : vendor_create_device_symlinks: device sdb1

So I am not entirely sure if this is an issue.
I can also see all partitions:
cat /proc/partitions
major minor  #blocks  name

   1        0       8192 ram0
   1        1       8192 ram1
   1        2       8192 ram2
   1        3       8192 ram3
   1        4       8192 ram4
   1        5       8192 ram5
   1        6       8192 ram6
   1        7       8192 ram7
   1        8       8192 ram8
   1        9       8192 ram9
   1       10       8192 ram10
   1       11       8192 ram11
   1       12       8192 ram12
   1       13       8192 ram13
   1       14       8192 ram14
   1       15       8192 ram15
 179        0   30535680 mmcblk0
 179        1     131072 mmcblk0p1
 179        2    2097152 mmcblk0p2
 179        3     262144 mmcblk0p3
 179        4   28044288 mmcblk0p4
   8        0  120176640 sda
   8        1  120176624 sda1
   8       16   62029824 sdb
   8       17   62028800 sdb1

And I can mount these manually. But I'd expect it will be automatically mounted and visible in user space.
I also know that it works for many people using Raspberry Pi and LineageOS. I also don't have any other issues with USB. I have keyboard, touchscreen, webcam and other things and all works fine. Only storage not.
The only difference is that I am using Compute Module 4 instead of regular Raspberry Pi 4. But I cannot imagine it's a hardware issue.
Any ideas what the issue might be?
Alternatively: Is there a way to mount a storage that way that I can access it from GUI? As far I understand the user space is rather emulated. I tried to mount it to /sdcard/Storage but it doesn't work like that. I assume it has to be attached to the not emulated file system.
EDIT: Additional infos as requested by Irfan. Thanks for the hint:
cat /sys/block/sda/sda1/uevent
MAJOR=8
MINOR=1
DEVNAME=sda1
DEVTYPE=partition
PARTN=1

cat /sys/block/sdb/sdb1/uevent
MAJOR=8
MINOR=17
DEVNAME=sdb1
DEVTYPE=partition
PARTN=1

"Failed to symlink /dev/block/sda1 to /dev/block/by-name/boot, which already links to: /dev/block/mmcblk0p1: File exists". So do not use boot as the partition or filesystem label on your USB drive to avoid the name contradiction. Use gdisk or parted to change the partition name and remove the boot flag if set. Or simply recreate the MBR partition table using e.g. fdisk.

yeah that's a bit weird because I don't have boot (called) partition on that storage so I don't really understand the error message

What does grep PARTNAME /sys/block/sda/sda1/uevent show?

Thanks for your help @Irfan. Added to the main post

As per source code the error should occur only if the boot partition name or boot flag is set on the first partition on your USB drive. So you need to troubleshoot the problem accordingly. Or jump directly to the solution I suggested earlier i.e. recreate the partition (NOT filesystem). You may want to start by looking at the partition table first.


text:
How can I backup app data on a user that is not an owner?
I have tried both Samsung Smart Switch and backing up via the Samsung account option in the settings, both of which require my user to be an owner/administrator. The problem is that both of these methods work just fine for transferring app data on my owner user, but none of the data on my other user seems to backup properly.
After extensive research, it appears that I have fallen into a catch 22; I can only backup data on an owner user, but to change a non-owner user to an owner I need to reset my tablet, deleting all tablet data.
Does anyone know of a way I could either change a non-owner user to an owner without data loss, or backup app data on a non-owner user?


text:
Google Assistant app crashes the moment I open the app. Similarly, Google App Crashes when trying for a voice search
Google Assistant crashes the moment I open the app. Due to this. I'm unable to invoke my Assistant even though having setup all it's settings such as turning it On, setting up 'Hey Google' and training the voice recognition model. Similarly, The Google App crashes the moment I try voice search.(Open 'Google' App, click on the 'Mic' icon on the search bar for voice input to search.)
I tried few fixes after searching online and troubleshooting guides from google, but nothing seemed to work even after enabling all the options mentioned in those guides.
I need this community's help in figuring out what's causing this and fixing it. Can anyone help me on this please?
Phone: Oneplus 6. (I've used google assistant a couple of years ago, but never used in the past 2+ yrs. Now that I've got a few smart devices, I want to use it again.)
OS: Oxygen OS 9.0.9
Edit: I have tried a fix that I found online, which was clearing the data of 'Google' app and restarting the phone. But the situation ended up being worse than before. Now, when I go to the 'Hey Google & Voice Match' setting, I see 'An Error has occurred. Please try again later.'(Attached an image below).

Cheers!

Is it possible for you to reset your phone? Since it is an old phone, a lot of things might have broken.

I'm not considering this option at the moment, due to the mess of setting up everything on the phone post resetting.

I have faced the same issue and fixed it too. In settings, search "default", and then select Google assistant as the default assistant app

Hi, thanks for this reply.  I'm not getting any search results pertaining to default assistant in my settings.

@PraveenSamudrala you sure your google app has microphone permission enabled?

Hey, all the required permissions for Google app are enabled.


text:
Port Forwarding Outside Local Network Using Phone Network
I want to forward my local port outside of network as does in routers but through phone's network. I having Android 11.
I have looked many pages and fortunately found this but this seems like it does forward my local server inside my local network, I'm newbie to networking.
adb shell "ip -4 addr"
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
3: rmnet0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet 26.88.120.96/24 scope global rmnet0
       valid_lft forever preferred_lft forever
11: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    inet 192.168.36.69/24 brd 192.168.36.255 scope global wlan0
       valid_lft forever preferred_lft forever
26: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    inet 192.168.23.126/24 brd 192.168.23.255 scope global rndis0
       valid_lft forever preferred_lft forever

Any help/link regrading this would be grateful. Sorry if i asked wrong question.

As a start please read why opening a port in mobile network most likely won't work (your question is a bit unclear what you want to do, but my guess is that it is this direction) https://android.stackexchange.com/questions/203996/how-to-connect-to-android-through-ssh-over-3g-4g-public-ip/205807

You are right, but i have a public ip (as told if you have pulblic ip you can forward) and i have done everything found on web and it does work but still cannot access from internet. :/

I would first test if you can make an service like ssh or http public if it is running directly on your phone. If that works you can try to forward the port into your hotspot network. If your phone is not rooted for making the iptable changes you could try to use socat. It allows to accept TCP connections and then forward them to a configured IP address similar to a proxy (but does not require root).

if i'm not wrong then : you want to say installing socat in phone-terminal and then listen for connection on my public ip and then forward to local IP? If yes then is this command is right : socat tcp-l:2222,fork,reuseaddr tcp:<ip>:80

can i use adb forward?

If you have an USB connection adb forward or better adb reverse may also work. But I am not sure if it binds the open port to the mobile interface.

Let us continue this discussion in chat.