text:
unable to flash rom in edl mode using linux qdl or even qfil or miflash. what could be the error?
i have a redmi note 3 snapdragon variant.
i was using it casually and i pulled its back cover and wassss in deep thoughts when i accidentaly or stupidly removed the battery flap when phone was on. i put thhe battery back it didnt turn on and i plugged the charger it gave red blinking light no screen on. so it was stuck no change even after many methods.
i plugged it in windows laptop and was surprised it recognized as in edl mode(although not instantly learned becuase i am not much knowledgeable).
so after trying many miflash or qfil or and many tricks for them given by xda, i couldnt flash the rom, so many sahara errors or hello packet errors.
i tried the linux method and it still gave hello packet error on linux using qdl tool.
so i am not sure if emmc is damaged or its is locked. in one xda thread one guy said it could be emmc read or write locked. any tips.
update; the error or log i recieve:
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
END OF IMAGE image: 13 status: 20
received non-successful result

Does this answer your question? Sahara fail while trying to flash a rom into my phone

nope, i am using the linux method given in that answer. but i am getting the error not mentioned there.

after booting in EDL emergency download mode there is a ~ 2 seconds timeout as stated in comments

yeah but my device is stuck in edl mode. no matter what. doesnt matter if its 30 or hour

that's probably too long try start flashing immediately when connecting usb cable. also check lsusb if device is detected in 9008 mode

if you think device is read-only try to just read something with edl.py https://android.stackexchange.com/q/226838

can u explain more about lsusb

press ctrl + alt + T and type lsusb in terminal


text:
HTC u11 didn't any reaction to press button ony to see the computer the com port and phone flash
I'm bought the HTC u11 is the dead OS. The other owner did something with the system. The phone is see the computer the com port and the phone flashing Red lights. I'm try to charging battery but didn't solve it.The phone only start to edl mode.
Please help with any ideas.

Did you know that the software was defect when buying the device? If not return the device and get your money back. Otherwise I would try to install a HTC u11 factory/RUU image as described here: https://forum.xda-developers.com/showpost.php?p=72425210&postcount=3

Thanks for writing help just unfortunately it doesn't work can't recognize the phone. In response to your request, I use the phone as a part of the original. Now I'm trying to make it work for this motherboard as well.

source: Stack Exchange

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

sort: votes


text:
How can I add fonts to my Android phone to view characters that are appearing as X boxes?
I am frustrated with the apparent inability to figure out which charset or language I need to install to view characters that appear as "X"s on my Samsung GS6 phone.  I am running Android 7.0.  Non-rooted phone.
For example:  On Twitter, when I use the app on my phone, someone's name appears entirely in Xs.  I assumed it was a multichar language like Korean or Japanese (both of which I have installed) but it turns out it's just bold face Roman.  (Which I see when I pull up the user via Twitter's web interface on my computer.)
Other times, I am sure it's an emoticon or such that someone sends that doesn't show properly.
How can I know which languages or icon sets to install so I can view these?
(Note, my computer, a Lubuntu machine, usually displays things fine.  So this is a phone question.)
Thank you so much for helping with this.  Driving me nuts.

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


text:
What is "Detach from Market"? What does it do?
What is "Detach from Market" in Titanium Backup? What does it do?

As Titanium Backup Technical FAQ states: This option tells the Market that you do not want to update a specific app.

This option is especially useful if you need to unlink wrongly linked Android apps from Play Store, as this article explains.

Does this not work for certain apps?  Mine keeps updating regardless.

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


text:
Application backup/restore - for saving resources
I was thinking I could completely backup apps to the SD card, and then restore them when needed.  This for saving system resources.
Is there some efficient way to do this?

adb backup or Titanium Backup or go into Settings > Backup & Reset > Backup my data/Backup account (from ICS onwards) for GB(Settings > Privacy Settings > Backup my data) is your friend

@t0mm13b: that seems an answer, rather than a comment. Maybe even it's the correct answer.

@FranciscoAlvarado have created an answer from the comment :)

There are numerous options available to you:

Titanium Backup
For ICS upwards, Settings > Backup & Reset > Backup my data/Backup account
For GB, Settings > Privacy Settings > Backup my data
Last but not least, adb backup

In that order of "user-friendliness", from a android application that requires rooted access, in reference to Titanium Backup, to the least, using the command line adb backup.

Titanium seems OK - Will write more later.

If your device is running Android 4.0 or higher, Carbon - App Sync and Backup would be the perfect solution, and does not even require root -- but still is capable of backing up apps including their data:

Carbon App Sync and Backup
As above screenshots show, you can backup/restore single apps, or select a batch. What you cannot see on the screenshots: you can also save a selection as "group", so for the next backup/restore you don't need to select apps separately, but simply select the group instead.
With Carbon Backup, one should be able to backup apps and data to SD card, attached USB devices, Dropbox, GoogleDrive, etc.

If it is just the "user" and "system" applications, I do this sort of thing all the time. In fact I wrote an app to help me out with this. I uninstall and re-install applications for testing a development all the time. I need to easily be able to make copies and move ".apk" files all the time.
Please take a look at the free app: https://play.google.com/store/apps/details?id=burrows.apps.appmanager.
Simple install the app, "backup" your application of choice and then share/send the application(.apk) to another phone.
Regards,

Are you affiliated with the app?

Yeah, I've never really seen anyone ask for backing up. I wrote this to safely backup applications without messing with user's data for privacy and security reasons. Just trying to be helpful. I mainly use for development.

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


text:
What is the drop control on Instagram?
There's a control that looks like a drop of water. What does it do?

You may want to provide a screenshot.

It is the blur tool. You can apply linear or radial blur with this tool.

(More details in the Instagram Help Center)
This tool is mostly used to simulate tilt-shift effect (used by photographers to highlight a plane or exaggerate a minimal depth-of-field).


text:
Sony Xperia Play CDMA to GSM
I have an Xperia Play that was originally with Verizon and therefore using CDMA. I want to use it with the Rogers network now.
I've read that the Qualcomm chip inside supports both types of networks by default. Is it possible to change it to GSM?


text:
Update Android 2.3.4 on HTC Sensation

Possible Duplicate:
How do I update the OS on my device?

I have a an HTC Sensation with Android 2.3.4. I tried to check for updates. It says that there are no new updates. Is there any way to update my system to Android 4.0 manually?

This page from HTC's website should help you. This might depend on your location and carrier. So please go through the site.
Another option, if you are ready to void your warranty, you can go for a custom ROM like CyanogenMod.


text:
Do messages, contacts, files get deleted when you upgrade your Android version?

Possible Duplicate:
Will I lose any apps / data if I upgrade my phone’s OS?

For example if you upgrade from Froyo to Gingerbread, do messages, contacts, files get reset/deleted?

No, they won't get deleted as long as you don't tell you to factory reset. If you're upgrading from stock to stock (or custom to custom for that matter), you're pretty safe with your data, and unlikely to lose anything.
However, if you're going from stock to custom, then there are some cases where you will lose your data.
I'd recommend downloading free applications on the play market that backup your messages. As for your contacts, you will never lose them, as they are synced with your Google account.


text:
New Television icon appeared in my Android desktop
I have noticed a new Television icon appeared in my Android desktop. I have not clicked the icon thinking it could be a virus or spam. Never installed any Television application and I dont know how it appeared there. I have also Avast mobile antivirus installed.
Just saw this thread, it could be the same issue but wanted to be sure before deleting the icon:
Who is creating icons?
I looked in installed programs with Link2SD and with Android Task manager, and took a look to all programs and services one by one, but there is nothing installed with that name or icon.
Trying to guess what is it, dragged and dropped the icon to the information place in ADW Launcher desktop and it shows: "Android System" running process, which is a core Android process.
I remember having run "free GPSFix" some days ago, which is one of the applications which creates spam with red star messages at the top bar, but not sure if it could be also the application which created the icon.
This is the picture:

*Deleted data and cache, and uninstalled with Link2SD the free applications GPSFix and Dados applications, they could be the reason of spam icons:
GPSfix
Dados (dices)

If that "free GPSFix" is already known for that, I'd strongly recommend you kick it off your device (optionally, leave an appropriate comment/rating in Playstore before uninstalling, to warn others). There are more free (and serious!) apps available for that. And delete that icon (do not open the link), it's very likely to be spam (simply click the "malware" tag for more details).

thank you Izzy, this is the app which creates a lot of spam, if you check people comments they are also reporting it: https://play.google.com/store/apps/details?id=com.androidlab.gpsfix&hl=es

by the way, is it there anyway to get the path where the spam icon is linking to and analyse its code? I know apks can be uncompressed/recompiled and easily see their source code.

I'm afraid your last comment's target is out of the scope here (reverse-engineering .apk files is rather a development oriented issue). As for the previous one: Having positively identified the cause, I will compile the corresponding comments into an answer (so people can see there's a solution). Would be nice if you then can "accept" it (as proved solution), so people can see that, too :)

The GPSFix app is known for this kind of spam (see its comments on the Playstore), even AntiVirus/AntiMalware apps classify it as adware (taken from those comments, again).
Hence, my recommendation is:

optionally post a comment on the playstore to warn other users
uninstall that app
delete that icon (do not "start" it, as you cannot know where it takes you -- it might introduce more problems)

These kind of trouble-makers are no unknowns. Please see the questions tagged malware to find similar reports.
The playstore has enough replacement apps not offering those "unwanted side-effects" (take e.g. a look at GPS Status & Toolbox). So no need to shed any crocodile tears over that one app :)

When it comes to this kind of "adware", I'm always in fighting position. Ads inside of the app initiating them are OK (at least if you can buy the full version to get rid of them). But adding things to homescreens the user cannot trace, means war! IMHO Google even forbids this kind of ads, so one could "report" the app.


text:
ADB unable to connect my Nexus 7 on Ubuntu
I want to be able to connect my Nexus 7 in order to test my applications from Eclipse on the physical device.
I followed this Google guide.
My /etc/udev/rules.d/51-android.rules file contains this :
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", MODE="0666"

The device is configured to use "Camera (PTP)" and "USB debugging" is checked too.
But adb devices lists no device.
What have I missed ?

The fact that the "Connected" message only appeared sometimes and that lsusb was unable to detect the Nexus casted a doubt on the cable.
I just tested with another cable and it works. My other cable seems to have a damaged connector.

As I saw many times since that ADB connectors are fragile and very susceptible to this kind of problem, I keep this answer which might help other people. There's obviously a flaw in the design of those connectors.


text:
I get "unfortunately exchange services has stopped" a few days after setting up exchange email
On my Motorola Xoom running 4.0.3 I can set up an exchange email account and it will work for a day or so then it will give the "unfortunately exchange services has stopped" error after checking for new messages (takes a long time to check). I can re-create the account and it will re-download the emails and contacts but then it errors out again soon.

Are you running a stock ROM or a custom ROM?

Stock, though it's had official upgrades since we bought it (started at Android 3.0)

I think I've found the problem. The user has over 19 thousand emails in his inbox. Moving emails from the inbox to sub folders was all that was needed to fix it.

If you're still active on Android.SE, don't forget to mark this as an aswer so that it can be marked as solved.

authors: Сергей Фомин


text:
how to determine which number a text came from when the contact has multiple numbers
I received a text from a contact that has multiple numbers.  I'd like to reply, but I don't know which number to reply to.
I can't simply reply normally because the text was sent to several people and I'd like to only reply to the sender.
I'm on a Samsung S4.
My specific question: how can I see which actual number a text was sent from, not just the contact it came from?

When you reply in the same conversation, that reply shoulg go to the same number. Is it not? And doesn't that number show on the very top of the conversation?

Yes replies go to same number, but there are many cases, such as above, where I don't want to reply but would rather start a new thread.  Hey you're right about the number displaying in tiny print at the top of the message, just below the contact name!  Looked a hundred times but didnt see it before - thanks!

So I'm going to put this as an answer then

When you reply in the same conversation, that reply should go to the same number. Is it not?  Check that number shown on the very top of the conversation. It is the number you are currently replying. If you click that number the contact (or popup) will open showing all the numbers attached to that particular contact.
You should be able to choose a different number to message with this option.


text:
How does the Nexus 4 rotating circular camera control work?
Tapping the viewfinder or the blue shutter button of the Nexus 4 Android 4.2 camera app brings up the  rotating circular control shown in the screenshot. What is it used for? How does it work?

Pretty sure it's just a focus/centering indicator (green == focused, red == out of focus).

This is a new feature as of Android 4.2. It serves two purposes:

To focus your camera on what you click on
Long press it and you get a radial menu of different camera settings to change (flash on/off, etc). This is the exact same behavior as if you clicked the icon in the top right corner of your screenshot.

Just an FYI, you should be able to long press anywhere on the preview pane to bring up the radial menu. You don't have to do it within the focus ring.


text:
Uninstalling app from specific device only
Is there a way to remove an app from only one device when using the same account over two devices?
I've just got a tablet - which is currently syncing settings and downloading all the apps that I have obtained from the market on my phone.  I won't need all these apps and would like to remove some from just the tablet (but leave them available for restore on the phone etc).
Is this possible?  Does the phone have an independent "installed app" list to the tablet?
Thanks.

Yes, they have separate lists - you can uninstall from the tablet or phone without affecting the other device.

You can also use your web browser from your computer and go to the My Apps section of Google Play. Here you can select the device you want to remove the app from, and click the trashcan icon next to it. This will uninstall the app from that device only.

Trashcan icon to uninstall an app from the selected device


text:
If I install a new ROM does that erase all my installed apps and dat?
If I have a rooted (Razr M in this case) and want to install an updated ROM (e.g., to upgrade to a new 'Droid OS version) will I need to reinstall my apps and restore my data?

Unless you wipe all your data before the update, you do not need to Reinstall applications or Restore application data. But when flashing a completely different new ROM, it's recommended to do a full wipe before proceed. Further more, If you are planing to do a full wipe you can use a application like My Backup Pro or Titanium Backup to back up all your applications and data.


text:
Nexus 7 with AOSP, what is missing from stock?
I would like to install AOSP version of Android OS on the Nexus 7. However, I am wondering what would I miss by doing so.
I know that by compiling the AOSP android-4.2.2_r1, I should get Android 4.2.2 that is pretty close to what is coming as the stock firmware images.
I know that I can get drivers for all the hardware Google. There even seem to be DRM drivers!
I know that I can transfer all the proprietary Google application packages from the stock firmware over to the AOSP firmware.
But, if I have done all this, am I still somehow short compared to the stock firmware that Google provides on the Nexus 7? I guess I do not get OTA updates to the firmware, but that is not a problem. I guess I should get normal updates to the proprietary Google application packages from Google Play. Are there some applications on Google Play that will not install on my phone if I am using AOSP? Is there something else that I have not thought of?

If you get the binary drivers from Google and install Google's apps then you'll basically be back where you started. The stock image for an N7 is AOSP + Google apps; don't think you'd be missing anything.

Apart from the missing G-Apps on the initial flash of AOSP, I also think that there is no difference in between. AOSP is only there to provide a base package for custom ROM devs to build upon.

Is there a link talking about portable hotspot on AOSP and stock images?

The "DRM drivers" you've seen are probably for the direct rendering manager, and are part of the graphics drivers. They're nothing to do with digital restrictions.

You are quite correct, the might be direct rendering manager drivers. However, this is not the case, they are in fact digital rights management drivers.

So there are still some differences  between the factory images and AOSP builds. Here are some of the differences I know:

"Gesture Typing" feature is missing in AOSP builds as noted by JBQ here.
"Photosphere" feature is missing in AOSP, as noted here.
The various Google Apps don't come included with AOSP (Play Store, Gmail, Maps, Google Now, etc).

I'm sure you can hunt down more differences by going through threads in the 'android-building' mailing list. A last note on the differences by one of the gatekeepers of AOSP.
Edit:
Actually, I think you can easily compile a more thorough list of the differences between factory and AOSP images.
The following commands may be of use to you:
adb shell pm list packages
adb shell pm list libraries
adb shell pm list features
adb shell pm
adb shell am

There's more information regarding these commands at http://developer.android.com/tools/help/adb.html#pm
The following answers are added for posterity's sake, since they are somewhat related:

What's the difference between an AOSP ROM and a stock ROM?
What is the difference between AOSP/vanilla and stock?

I didn't find much use out of them, but someone else may.
I'll add some comparisons between factory, AOSP, and CyanogenMod later. I'll be testing it on the Nexus 7 (grouper), it may differ slightly for other devices.

Thanks, this is the sort of info I was looking for, instead of a generic "it should be the same".

I'm sure there are more, but those are the ones I can recall off the top of my head. You should make a post o n the android-building mailing list to get a more thorough answer, I think. And then you could enhance this answer with the replies you get.

The Nexus 7, like most of the previous Nexus devices Google has released or been involved with manufacturing, runs the same AOSP source code that you propose to compile and install yourself, with only the addition of Google proprietary apps and hardware device driver binaries (though these are often available separately or in the source tree).
There are basically two reasons to do this:

You are a developer working on modifying the Android platform itself.
A fix for a bug that seriously impacts you is available in a slightly newer version of the source and it's so serious that you can't wait for the fix to be released normally.

If neither of these applies to you, then you probably shouldn't bother.

Thank you for your answer. However, it seems there are some differences, somewhere. For example, the stock Nexus 7 ROMs do not allow enabling the portable hotspot, where as AOSP images should (I think). Is there any way to know what other differences might there be?

Your carrier made a slight customization to it, then. Those can usually be bypassed after rooting the device, without doing anything so invasive as replacing the entire firmware.

I didn't buy it from a carrier, things do not work in Finland like that. I buy hardware, from the store, like a PC - no operator connection, 100% stock images from Google. Also, I do know it can be bypassed easier, that was not the point of my enquiry.


text:
Strange touchscreen problems on Sony Xperia Z1 Compact
I'm having a strange touchscreen issue with an Xperia Z1 Compact. It's generally working fine with no obvious physical damage. Awhile back it was triggering random touch events. I eventually peeled off the factory-installed screen protection film and that problem went away - but there is a region of the screen that still has very strange problems: most but not all software buttons work - so typing works fine, but some buttons in the same region can't be pressed. For example, after I did a full OS-reflash, there was a welcome screen to SMS/Messaging which I couldn't dismiss. I thought perhaps messaging was crashing, but I later plugged in a mouse and was able to click on the button. Now messaging works fine. It was a large button in the same region of the screen as the keyboard (which works fine) so I don't understand why I couldn't press it.
Similarly, when I swipe, if I cross this region it is often interpreted as a button press - I suspect the swipe is "noisy" and is getting interpreted as button presses. But, as a very weird example, if I swipe left and right on the home screen in this region, the background will move but not the contents (app-icons/widgets). Normally both drag together - which is also the case if I use a mouse (this is possibly correct behavior - to alter the background region, although still odd that the mouse behaves differently). It's almost as if there are 2 different aspects to the touch-interface and one is damaged in this region.
The only setting I can find is under language inputs I can adjust pointer speed but this doesn't seem to have much effect.
Anyway, will keep using the phone for now with some frustrations but just curious if anyone has any explanation, similar problems, and possible solutions. Thanks.

Use one or more touchscreen test app if you have non-working areas or if there is a displacement between your touch on the screen and where it is detected. The latter may be a problem if you can't touch buttons that are small.

Thanks for the suggestion. I tried a few apps - those that "map / repair" problem areas seem useless. I found one that leaves dots as pressed - it clearly shows a damaged horizontal region. Explains why swiping up/down is such a pain. Still find it odd that I can swipe left/right everywhere and use the keyboard which is smack in the middle of that region but often can't press fairly large buttons. Maybe some operations average the finger over a larger region and estimate location while others require an exact press. Just a guess. Looks like only solution is hardware replacement. Thanks.


text:
Cannot connect to 2G/3G networks using Android 11-based custom ROMs
I've tried Android 11-based ROMs, such as BlissROM, HavocOS, and crDroid, on Redmi 4X (santoni), but none of them could connect my phone to 2G (GSM) or 3G (WCDMA) networks. I've confirmed that the said networks are working in my area. However, they could connect to 4G (LTE) almost instantly. So, my phone is stuck with LTE network which is more battery draining and doesn't penetrate well inside the house.
There was one ROM (ReloadedOS, Android 10) that did manage to connect my phone to 2G which I confirmed by sending and receiving SMS messages and cellular calls. So, is this an inherent problem with Android 11-based ROMs?

Hi @Robert. As I've said in the post, I've tried using 2G (GSM only) in ReloadedOS, and I've confirmed that it works as I could send and receive SMS messages and cellular calls. So, the 2G network is still active in my country (Philippines).

don't use android 11, imho released too early. for issues with LineageOS better ask LineageOS support

Hi @alecxs. Are you suggesting that I try Android 10 ROMs instead? As for LOS, sadly, Redmi 4X (santoni) is no longer officially maintained.

*#*#4636#*#*

I've already accessed the Testing settings, but switching to "GSM only" leaves the Data and Voice Service to "Disconnected" and their types to "Unknown". However, when I select "LTE only", it instantly connects to the right Service and Type.


text:
How to install standard european stock firmware on Motorola G 5G XT2113-3?
I own a Motorola G 5G XT2113-3 that is on the "timit" software channel (TIM Italy retailer). In the recovery functionality of the LMSA tool, I noticed that by default it downloads the software / firmware in the European retail version (reteu software channel). It's correct? If I proceed, do I run any risks? Do you know the difference between this two channels? And what is the best way to install the standard european stock firmware? (LMSA, RSD or other tools).
Because I would prefer to have a phone with regular updates and with the software indipendent from the brand.

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.

Does this answer your question? Cannot flash Qualcomm with Stock Image (Lenovo Tab M10 TB-X605L LTE, Android 8 Oreo)

https://androidmtk.com/download-motorola-stock-rom-for-all-models

If you unlock bootloader you can flash anything* from fastboot mode (*except for bootloader which is downgrade protected). I wouldn't say it's the best way but it's "safest" method (unlocked bootloader is backdoor for data recovery). But LSMA is the official way and there is no risk flashing retail. I doubt there is any difference other than branding, you will receive updates (if any). I think you are already on the right track and don't need help. You can self-answer question with tutorial for LSMA with screenshots maybe


text:
Why won't Adoptable Storage work on my H811 LG G4?
I have an H811 LG G4 running the latest patches (20o) and can't get my adoptable storage to work for a 64G external SD card I plugged in. I've found a lot of info about bunk SD cards as well as many claims that LG has disabled adoptable storage/external SD because they didn't want a bunch of whining about performance hits. However, just as much info out there from people with this same device who do have access to their external SD card. One reddit thread I ran across showed how to use the sm command to enable adoptable storage. I can't seem to get this working however. The SD card I'm using is a Samsung EVO Class 10 and I am able to mount it and format it under Linux just fine. I have also tried using a different SD card known to be working in a camera with a VFAT filesystem on it. Again, works fine in Linux, fine in the camera, but LG G4 doesn't see it. I've checked dmesg output and have attached it grepping for mmc. It seems like the device is seeing two SD cards and one is throwing a error -110 which google says is a timeout. Any thoughts?
This is the output of sm command:
   root@p1:/sdcard/tmo_update # sm has-adoptable
    true
    root@p1:/sdcard/tmo_update # sm list-disks adoptable
    root@p1:/sdcard/tmo_update # sm list-disks
    root@p1:/sdcard/tmo_update # sm get-primary-storage-uuid
    null
    root@p1:/sdcard/tmo_update # sm list-volumes all
    private mounted null
    emulated mounted null

Here is dmesg output:
[    8.747255 / 01-01 00:00:08.739][1] mmc1: mmc_sd_init_card() failure (err = -110)
[    8.747269 / 01-01 00:00:08.739][1] mmc1: error -110 whilst initialising SD card: rescan: 0
root@p1:/ # dmesg | grep mmc
[    0.834728 / 01-01 00:00:00.829][4] [200] read_image_info_from_emmc: total_image_num (36)
[    0.834832 / 01-01 00:00:00.829][4] [270] read_image_info_from_emmc: total_image_num (36)
[    2.287669 / 01-01 00:00:02.279][0] mmc0: no vqmmc regulator found
[    2.287697 / 01-01 00:00:02.279][0] mmc0: no vmmc regulator found
[    2.287894 / 01-01 00:00:02.279][0] mmc0: SDHCI controller on f9824900.sdhci [f9824900.sdhci] using 32-bit ADMA
[    2.327221 / 01-01 00:00:02.319][0] [LGE][MMC][mmc_rescan        ( ) START!] mmc0
[    2.344356 / 01-01 00:00:02.339][2] mmc1: no vqmmc regulator found
[    2.344385 / 01-01 00:00:02.339][2] mmc1: no vmmc regulator found
[    2.344583 / 01-01 00:00:02.339][2] mmc1: SDHCI controller on f98a4900.sdhci [f98a4900.sdhci] using 32-bit ADMA
[    2.402164 / 01-01 00:00:02.399][2] mmc2: no vqmmc regulator found
[    2.402194 / 01-01 00:00:02.399][2] mmc2: no vmmc regulator found
[    2.402379 / 01-01 00:00:02.399][2] mmc2: SDHCI controller on f9864900.sdhci [f9864900.sdhci] using 32-bit ADMA
[    2.402466 / 01-01 00:00:02.399][2] mmc2: mmc_add_host: device_disable_async_suspend
[    2.447215 / 01-01 00:00:02.439][2] mmc2: sdhci_msm_probe: device_disable_async_suspend
[    2.448061 / 01-01 00:00:02.439][1] mmc0: BKOPS_EN bit = 1
[    2.457339 / 01-01 00:00:02.449][0] [FS] mmc0: sdhci_msm_execute_tuning: finally setting the tuning phase to 10
[    2.464365 / 01-01 00:00:02.459][0] mmc0: new HS400 MMC card at address 0001
[    2.464383 / 01-01 00:00:02.459][0] [LGE][MMC][mmc_add_card      ( )] mmc_hostname:mmc0, type:MMC
[    2.464823 / 01-01 00:00:02.459][0] mmcblk0: mmc0:0001 032G74 29.1 GiB
[    2.464951 / 01-01 00:00:02.459][0] mmcblk0rpmb: mmc0:0001 032G74 partition 3 4.00 MiB
[    2.466834 / 01-01 00:00:02.459][0]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49 p50 p51 p52 p53 p54 p55 p56
[    2.469498 / 01-01 00:00:02.459][0] [LGE][MMC][mmc_add_card      ( )] device_add & uevent posting complete!
[    2.514681 / 01-01 00:00:02.509][0] mmc2: slot status change detected (0 -> 1), GPIO_ACTIVE_HIGH
[    2.585606 / 01-01 00:00:02.579][0] [LGE][MMC][mmc_rescan        ( ) START!] mmc1
[    4.677755 / 01-01 00:00:04.669][0] mmc2: slot status change detected (1 -> 0), GPIO_ACTIVE_HIGH
[    4.677847 / 01-01 00:00:04.669][0] mmc2: slot status change detected (0 -> 1), GPIO_ACTIVE_HIGH
[    6.837751 / 01-01 00:00:06.829][0] mmc2: slot status change detected (1 -> 0), GPIO_ACTIVE_HIGH
[    6.837844 / 01-01 00:00:06.829][0] mmc2: slot status change detected (0 -> 1), GPIO_ACTIVE_HIGH
[    8.747255 / 01-01 00:00:08.739][1] mmc1: mmc_sd_init_card() failure (err = -110)
[    8.747269 / 01-01 00:00:08.739][1] mmc1: error -110 whilst initialising SD card: rescan: 0
[    8.751137 / 01-01 00:00:08.739][1] [LGE][MMC][mmc_power_off     ( )] host->index:1, already power-off, skip below
[    8.751186 / 01-01 00:00:08.739][1] [LGE][MMC][mmc_rescan        ( ) START!] mmc2
[    8.751200 / 01-01 00:00:08.739][1] mmc2: mmc_suspend_host: enter
[    8.755155 / 01-01 00:00:08.749][1] mmc2: mmc_suspend_host: exit
[    8.755196 / 01-01 00:00:08.749][1] mmc2: mmc_resume_host: enter
[    8.755207 / 01-01 00:00:08.749][1] mmc2: mmc_resume_host: exit
[    8.829019 / 01-01 00:00:08.819][0] [FS] mmc2: sdhci_msm_execute_tuning: finally setting the tuning phase to 12
[    8.833221 / 01-01 00:00:08.829][0] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    8.833264 / 01-01 00:00:08.829][0] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    8.833275 / 01-01 00:00:08.829][0] [LGE][MMC][mmc_add_card      ( )] mmc_hostname:mmc2, type:SDIO
[    8.833402 / 01-01 00:00:08.829][0] [LGE][MMC][mmc_add_card      ( )] device_add & uevent posting complete!
[    8.833413 / 01-01 00:00:08.829][0] mmc2: mmc_add_card: device_disable_async_suspend
[    8.849799 / 01-01 00:00:08.839][4] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    8.849904 / 01-01 00:00:08.839][4] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    8.858041 / 01-01 00:00:08.849][0] mmc2: slot status change detected (1 -> 0), GPIO_ACTIVE_HIGH
[    8.858087 / 01-01 00:00:08.849][2] [LGE][MMC][mmc_rescan        ( ) START!] mmc2
[   10.315581 / 01-11 10:49:53.939][0] EXT4-fs (mmcblk0p53): mounted filesystem with ordered data mode. Opts: barrier=1
[   10.315609 / 01-11 10:49:53.939][0] SELinux: initialized (dev mmcblk0p53, type ext4), uses xattr
[   10.316240 / 01-11 10:49:53.939][1] EXT4-fs (mmcblk0p54): Ignoring removed nomblk_io_submit option
[   10.318442 / 01-11 10:49:53.939][1] EXT4-fs (mmcblk0p54): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[   10.318465 / 01-11 10:49:53.939][1] SELinux: initialized (dev mmcblk0p54, type ext4), uses xattr
[   10.365923 / 01-11 10:49:53.989][1] EXT4-fs (mmcblk0p54): mounted filesystem with ordered data mode. Opts: barrier=1,noauto_da_alloc,errors=continue
[   10.365950 / 01-11 10:49:53.989][1] SELinux: initialized (dev mmcblk0p54, type ext4), uses xattr
[   10.366938 / 01-11 10:49:53.989][1] EXT4-fs (mmcblk0p55): Ignoring removed nomblk_io_submit option
[   10.371687 / 01-11 10:49:53.999][1] EXT4-fs (mmcblk0p55): ext4_orphan_cleanup: deleting unreferenced inode 377080
[   10.372180 / 01-11 10:49:53.999][1] EXT4-fs (mmcblk0p55): ext4_orphan_cleanup: deleting unreferenced inode 376938
[   10.374243 / 01-11 10:49:53.999][1] EXT4-fs (mmcblk0p55): ext4_orphan_cleanup: deleting unreferenced inode 401977
[   10.375890 / 01-11 10:49:53.999][1] EXT4-fs (mmcblk0p55): ext4_orphan_cleanup: deleting unreferenced inode 450610
[   10.376942 / 01-11 10:49:53.999][1] EXT4-fs (mmcblk0p55): 4 orphan inodes deleted
[   10.383800 / 01-11 10:49:54.009][1] SELinux: initialized (dev mmcblk0p55, type ext4), uses xattr
[   10.419853 / 01-11 10:49:54.039][1] SELinux: initialized (dev mmcblk0p55, type ext4), uses xattr
[   10.440908 / 01-11 10:49:54.059][4] SELinux: initialized (dev mmcblk0p23, type ext4), uses xattr
[   10.447660 / 01-11 10:49:54.069][4] SELinux: initialized (dev mmcblk0p1, type vfat), uses mountpoint labeling
[   10.465462 / 01-11 10:49:54.089][4] SELinux: initialized (dev mmcblk0p41, type ext4), uses xattr
[   10.483082 / 01-11 10:49:54.109][4] SELinux: initialized (dev mmcblk0p40, type ext4), uses xattr
[   10.501178 / 01-11 10:49:54.119][4] SELinux: initialized (dev mmcblk0p42, type ext4), uses xattr
[   11.127447 / 01-11 10:49:54.749][4] init: Warning!  Service set_emmc_size needs a SELinux domain defined; please fix!
[   11.127468 / 01-11 10:49:54.749][4] init: Starting service 'set_emmc_size'...
[   11.176983 / 01-11 10:49:54.799][0] init: Service 'set_emmc_size' (pid 431) exited with status 0
[   22.549934 / 07-22 09:33:52.066][5] type=1400 audit(1469180032.066:6): avc:  denied  { relabelfrom } for  pid=463 comm="installd" name="busybox" dev="mmcblk0p55" ino=402123 scontext=u:r:installd:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[   22.550166 / 07-22 09:33:52.066][5] type=1400 audit(1469180032.066:7): avc:  denied  { relabelfrom } for  pid=463 comm="installd" name="sqlite3" dev="mmcblk0p55" ino=402127 scontext=u:r:installd:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[   28.469043 / 07-22 04:33:57.986][5] mmc2: slot status change detected (0 -> 1), GPIO_ACTIVE_HIGH
[   28.469083 / 07-22 04:33:57.986][4] [LGE][MMC][mmc_rescan        ( ) START!] mmc2
[   28.700959 / 07-22 04:33:58.216][0] [FS] mmc2: sdhci_msm_execute_tuning: finally setting the tuning phase to 12

UPDATE: force adoptable
root@p1:/ # sm set-force-adoptable true
root@p1:/ # sm list-disks
root@p1:/ # date
Fri Jul 22 16:51:49 CDT 2016

and the dmesg output:
[32495.404963 / 07-22 16:51:33.591][0] pet_watchdog
[32499.935271 / 07-22 16:51:38.121][1] type=1400 audit(1469224298.121:166): avc:  denied  { read } for  pid=398 comm="vold" name="fd" dev="proc" ino=582796 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=dir permissive=0
[32499.936358 / 07-22 16:51:38.121][1] type=1400 audit(1469224298.121:167): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/cwd" dev="proc" ino=582798 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32499.936414 / 07-22 16:51:38.121][1] type=1400 audit(1469224298.121:168): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/root" dev="proc" ino=582799 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32499.936466 / 07-22 16:51:38.121][1] type=1400 audit(1469224298.121:169): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/exe" dev="proc" ino=582800 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32501.674275 / 07-22 16:51:39.851][5] type=1400 audit(1469224299.851:170): avc:  denied  { read } for  pid=398 comm="vold" name="fd" dev="proc" ino=582796 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=dir permissive=0
[32501.675872 / 07-22 16:51:39.861][5] type=1400 audit(1469224299.861:171): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/cwd" dev="proc" ino=582798 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32501.675957 / 07-22 16:51:39.861][5] type=1400 audit(1469224299.861:172): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/root" dev="proc" ino=582799 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32501.676031 / 07-22 16:51:39.861][5] type=1400 audit(1469224299.861:173): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/exe" dev="proc" ino=582800 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32502.005651 / 07-22 16:51:40.191][0] [CC] current batt_temp[27], batt_temp_state[0], current batt_volt[4403], batt_volt_state[1]
[32503.399588 / 07-22 16:51:41.581][5] type=1400 audit(1469224301.581:174): avc:  denied  { read } for  pid=398 comm="vold" name="fd" dev="proc" ino=582796 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=dir permissive=0
[32503.400788 / 07-22 16:51:41.581][5] type=1400 audit(1469224301.581:175): avc:  denied  { getattr } for  pid=398 comm="vold" path="/proc/389/cwd" dev="proc" ino=582798 scontext=u:r:vold:s0 tcontext=u:r:logd:s0 tclass=lnk_file permissive=0
[32504.129651 / 07-22 16:51:42.311][3] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[32504.137571 / 07-22 16:51:42.321][3] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[32504.148736 / 07-22 16:51:42.331][3] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[32504.161187 / 07-22 16:51:42.341][2] FUSE: SHORTCIRCUIT enabled [sdcard : 31316]!
[32504.161469 / 07-22 16:51:42.341][3] FUSE: SHORTCIRCUIT enabled [sdcard : 31315]!
[32504.162207 / 07-22 16:51:42.341][0] FUSE: SHORTCIRCUIT enabled [sdcard : 31314]!
[32505.428839 / 07-22 16:51:43.611][0] pet_watchdog
[32515.444837 / 07-22 16:51:53.631][0] pet_watchdog
[32516.244678 / 07-22 16:51:54.431][0] now = 4298188928, schedule = 4298201000, rounded schedule = 4298201100 => 4298201000

Could you try sm set-force-adoptable true, then sm list-disks?

Thanks. Nothing seems to have changed. I've updated the original question with the command.

authors: Асрет Карабеков


text:
Moto Voice implementation without root?
The new Moto G4 and Moto G4 plus made by Lenovo,  unlike the other Android Motorola phones, is incapable of texting for you and answering your calls while driving, unlike the predecessors Motorola Turbo 2,  Motorola X pure,  Moto X etc etc. I've tried finding apks online that will install a different version of the app as what can be found in the Turbo 2 but they never installed successfully. Does anybody have any insight as to how I can get the full features out of the Moto apps that are not found in the G4 but are found in most other iterations of the Motorola phones? These features are why I wanted to get another Motorola phone and I was disappointed to find that this is the only one that does not support it.


text:
Android 6 (cyanogenmod 13) external sd card write access
I always used "Samba server" application on all my android devices for uploading files, it worked great with CM12, but in CM13 even with root access Samba server can't write to external SD card, neither can "SSH server" application. As i there was some changes in android 6, but is there any way to grant write access to external SD card for some applications? I tried different samba servers, they all see external SD card and can read from there, but they just can't write.
I have the same problem with Cyanogenmod 13 on two different devices, i tried to format external SD card in ext3, ext4, fat32, exfat - no difference at all. There are a lot of "SD card fix" applications in play store, but they all, as I can see for android 5, and just doesn't work for android 6.
So, is it a SELinux issue? Should I add somehow user an app runs from into media_rw group? How can I do this? There is id output after ssh connection:
uid=10138(u0_a138) gid=10138(u0_a138) groups=10138(u0_a138),3002(net_bt),3003(inet),9997(everybody),50138(all_a138) context=u:r:untrusted_app:s0:c512,c768
It can read but can't write on external sd card, any ideas? Thanks.

How to save files to external SD card on a non-rooted Android?

As I found out for now, there is no way to give such permission, except running whole application as root, and that ins't easy (or even possible?) without modifying application code, anyway, running apps with uid=0 is a bad idea anyway. The problem is, that in android 6 WRITE_EXTERNAL_STORAGE permission should be asked on runtime by an application, and if the application isn't Android 6-aware, there is basically nothing we can do. I hope that developers will adapt their application for new Android 6 reality soon.


text:
Why I can't make a call with Telegram?
Every time I try to call,it write "Waiting" and then "Failed to connect".
I cant make a call.
How fix this?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

Try to clear cache and data of the app through Settings > Apps and notifications > See all > Telegram > Storage and cache > Clear (for both)
Check also the permissions (on the same menu of "Storage and cache") and make sure Telegram can access Phone.

it seems when person which I call is at wifi ,then call is ok but if he is at mobile data then failed to connect...really strange bug


text:
Game screen turns black
I have downloaded Dragon Quest 5 on my LG V60 UW.  During the game there are transitions between a world/town/dungeon map and random combat encounters.  Sometimes the combat encounters are a black screen where I can touch the buttons if I remember where they are and sort of ham-fist my way through it and the map area reappears after the combat is over.  Other times the buttons don't work or ones I'm not used to pop up and I just have to kill the app and try again, losing some progress.
Usually killing the app and starting over again restores the normal functionality.
I have contacted Square-Enix support about the issue and their suggestion to me includes wiping out all my data and cache for my web browser as well as the google play store.
Does this step make sense to anyone?  Has this worked to fix issues with other apps before?  To the best of my knowledge this game does not interact with the web browser in any way.  Likewise the app store is a separate app, and I would not imagine that the game shares data with it.

Sorry, I'm not sure if we can help further if the problem is caused by a bug in the game.

@AndrewT. I mostly wanted to see if the recommendation to clear all my browser history made any sense at all to people.  That's a step I haven't taken yet as it will be tedious to re-load all my websites like facebook, etc

Looks like a standard response for customer service, which usually might not make sense for independent, unrelated app.


text:
LG V60 Keyboard changed overnight
Up until the last couple of days my keyboard had a certain layout with long-press options for the letters and also a row of buttons for emojis, gifs and other fun option at the top.  Now, it's just the keyboard and it seems like that part is less functional with the long press options.  How can I get it back to the original keyboard version?  Is the row of emoji and gif buttons part of the keyboard or is that some other feature I'm not thinking of?
Additional information: I like to listen to YouTube videos when I work out, but this occasionally results in icons being dragged around or menus getting opened by my pockets. This could be a pocket-dialing scenario or something where I was glomped by my dog while trying to do something and fat fingered some commands by accident.

Which keyboard app do you use? You can check in Android settings which keyboard is configured to be used. One common keyboard is GBoard which is used on many Android phones by default but I don't remember if LG had an own keyboard app.

Based on my experience, Gboard has all the features you mentioned. Probably you accidentally pressed the change language/keyboard (globe) icon or long-pressed the spacebar and now it's changed to another keyboard.

@Robert LG Keyboard is the keyboard app.  I haven't been able to find it in the apps section of settings though.  Seems buried in some hidden category or something.


text:
notification dots missing - Samsung S22
An S22 of my friend's has changed appearance overnight and now the app notification dots are not displaying on the home page icons, but the icons at the top of the screen are showing, which they apparently were not before.  How can I re-enable the dots and hide the top-of-screen icons?

"has changed appearance overnight" was this by any chance Easy Mode? Otherwise, are they using a 3rd-party home screen/launcher app?

My friend is non-technical and we were drinking last night and messing with the phone. While trying to screen share to the TV someone probably touched something and switched it over. This is apparently "my fault" and so I am tasked with fixing it.  I will look at easy mode.

I'm not sure about "top-of-screen icons" though, and it might probably help if we can get a screenshot of it...

I don't know the technical term.  Where your battery icon and signal strength and everything is.  I get the impression she normally doesn't see new text message icons up there for example usually just the dot on the bigger icon in the main part of the screen.

Ah, the notification/status bar. By default, notifications will show icons on the notification bar, while notification dots/badges can be toggled from the home screen settings; e.g. by long-pressing on an empty space of the home screen. However, there are some other settings related to the visibility of notifications, like Notifications themselves and even maybe Do Not Disturb.

ok so I added an image - you can see there are no dots on the snapchat icon for example  but there's a notification in the notification bar.  According to her she did not see the icon in the bar before for that, but there would be a dot.  Are you saying both of those things are accomplished by long-pressing the home screen and selecting some option?  this is something we could have fat fingered while handing it back and forth last night I think.

@AndrewT. go ahead and create that comment as an answer because that ultimately worked - I will mark it as accepted.  It was a little more involved to get the dots back than I would have thought so my guess about "fat-fingering" it is probably not accurate.  But fixed is fixed and I will call it a win for now.

Glad to hear it's fixed. Also, feel free to self-answer it too :)

Commenter Andrew T. gave me an answer.
Ultimately, long-pressing the background of the home-screen took me to the edit screen for the page, and there was a button in there to adjust the settings.  Within that menu was a switch to enable the notification badges for the different app icons.  I believe the notification icons were still present in the notification bar at the top of the screen, but we determined that was a success.


text:
How to backup Viber chat messages to Gmail automatically?
I see that Viber app has the feature of backing up messages and send emails.
I want to do that automatically so as all my Viber messages are safely backed up.
How can I do that with Viber app?

i don't think viber allow this feature.

Do you want to back up the messages to Gmail specifically, or just to a Google backup service?

The only way you can do this I've found is if you install Viber on your pc.  A code is sent to your phone that you confirm. That's it.

How to start the back-up to Gmail after installed?

@NamGVU Could you write more from this?


text:
Where are actions of buttons' long pressing stored?
I want to remap the long press action  of the menu button to open the dialog box that appears when the power button is long pressed. I know the keybinds are stored mainly in /system/usr/keylayout/Generic.kl but I can't find where the long press settings are stored.
The settings menu allows me to remap the action of long pressing, but it doesn't offer an option to invoke the dialog box of power menu. As far as I am concerned, the Android API doesn't provide any option to access the power button so I need to change the action inside proper system files. Also, the API doesn't allow me to map the screenshot taking what is the main purpose of mine. So I want either to map the dialog box of power menu or screenshot taking to the long press action of menu button.
I own Samsung Galaxy S3 with Cyanogenmod 14.1 Android 7.1.1

Have you considered an app that doesn't something similar?  I think this question would be better asked on cygaogenmod forums but I have not done this before.

In the meantime I found an excellent app that does the job. Button Mapper: Remap your keys can even assign the power menu dialog to individual buttons. It doesn't require xposed framework nor even root access. I just read that this is not possible without xposed so I didn't look for such application. Problem solved. Needlessly asked I this question.

Can you post this as an answer or allow me to post this as answer to the question?

If you find this necessary feel free to do this.

So there appears to be several apps on the app store.
Button Mapper: Remap your keys is one such example.
Buttons remapper (no root) is another.


text:
LAVA OTG adapter keeps android tablet from sleeping
I am using an EasyCAP Adapter via a LAVA SimulCharge adapter on a Samsung Galaxy Tab S2 to capture video from a car reverse camera.
This is working fine except, when the LAVA adapter loses the power from the car (when the car is turned off). the EasyCAP adapter's green light keeps blinking, (usually it's solid green when connected) and the 'USB adapter connected' notification appears and disappears continuously in notification bar, and the tablet refuses to go into sleep mode for about 4 minutes. (Pressing the power button makes the screen turn off and back on again immediately)
After 4 minutes, the EasyCAP light stops flashing and turns off, which lets the device go to sleep. The notification keeps firing, until the device is rebooted.
I think this is due to EasyCAP adapter trying to connect again which wakes up the device?
Is there a way to force the device to go to sleep?
Connecting the EasyCAP over a standard OTG cable works fine, but I need the tablet to charge simultaneously as well.
(switching the 'stay awake' option on and off in Developer Mode didn't help)
UPDATE
I noticed that if I set the lock-screen type to anything other than none (eg: swipe) and press the power button after power is disconnected, the adapter stops blinking and the device goes to sleep after screen timeout.
UPDATE 2
I have isolated the issue to the LAVA SimulCharge adapter. It seems like losing power at the other end causes this.. although disconnecting the wire for power at the adapter's end works fine. Would there be a physical sensor to detect if there's power?

If you phone support Qi (wireless) charging use it for charging the phone and use a standard (non charging) OTG adapter. Will that solve?

it would.. but Galaxy Tab S2 (or most tablets for that matter) doesn't have Qi charging.

I am also about to run into this problem. I am planning to mitigate it by using a 12v DC powered hub where I connect the EasyCap on to one of the USB ports and connect the USB hub's male cable to a OTG cable. I haven't tried this but I guess this should allow me to charge my phone and use OTG devices as well.  If this does not work I plan to fall back to Qi charger. For your phone there are Qi converters available, that makes any phone as Qi compatible.  See this link

yea, I looked into Qi converters.. But they take up the USB port which prevents me from connecting the OTG cable/adapter. May be a normal OTG might work, but many people say droids don't support charging simultaneously most of the time. Let me know if you get a chance to try it.

The LAVA SimulCharge has a chip in it that detects if charge power is being supplied.  If no charge power is being supplied it turns into a regular OTG connection.  When it does this, it draws power from the tablet to power your accessories.
From what I've looked at so far, I haven't found a way to make the OTG 5V power from the tablet turn off when the tablet goes into sleep mode. When the tablet goes to sleep, it seems to still be providing the OTG power.
My tablet will go to sleep, but drains the battery from the OTG connection.


text:
Preventing device wake up on USB
Is there a way of preventing an Android device from waking up/staying awake when a USB is device is plugged in?
I know Windows allows this in device manager. Is there a similar setting in Android or can I accomplish this via changing configuration over ADB/fastboot?
Actually, I'm using the LAVA SimulCharge adapter to connect power and a USB device. When the power is lost, I dont want android to stay awake.
UPDATE
Video to explain the issue
https://goo.gl/photos/FQxKmDRWKqxbwgPb6

Screen timeout set to 5 seconds to demonstrate.
Screen lock set to none (but same with swipe or PIN. Just will show the lock screen instead)
Pressing the power button turns off the screen momentarily, but wakes up almost immediately.
Sometimes After about 5 minutes of this, the EasyCAP light stops blinking and the screen turns off, but the device battery level drops about 10% per hour while its "asleep" unless the OTG adapter is removed.
Removing the power cable from the OTG adapter end (instead of the wall end as I did in the video) lets the tablet sleep properly.

Try Macrodroid : Trigger: Power disconnected Action: Screen off Constraints: leave blank

Actually the screen is off.. but the baterry drains, unless I disconnect the adapter.

If your device is rooted, you can use reboot/ power off as action instead of screen off

yea. I'm considering that now. It seems like the popular plm file trick works only for Samsung devices. I'm looking for a universal solution. I also need to power on on charger as well.. Which is time consuming and also, the surefire support for that type of thing also seem like just samsung devices.

Well, if this automation works for you, let me know to post an answer, but gut feeling is that it would do a part of the overall task you are trying to achieve - which is quite ambitious, simply because the devil lies in details and there can be any number of variations in actual production rendering inter workability suspect

Actually automate didn't work. It did engage the lock screen, but the screen keeps waking up continuously. (I will update the question with a video link. I have set the screen timeout to 5 seconds to demonstrate)

Yes, like i said in my earlier comment, i expected it to do a " part" only, though initially it seemed workable,.

Does anyone found a solution? I have related problem and posted as a short question here: https://android.stackexchange.com/questions/214620/how-to-wake-up-my-android-device-via-wireless-keyboard-mouse-it-has-dongle-con  @beeshyams


text:
Verifying device integrity. Galaxy Tab S2 9.7"
I wanted to root my Galaxy Tab S2 9.7" LTE (SM-T815Y) and I have spent the better part of my night doing the following. (I have never rooted anything before)

Got a img of autoroot from some site and flashed it via ODIN.
ODIN application showed success, but the tablet refused to boot after that with red text at the top of the screen at boot logo RECOVERY NOT SEANDROID ENFORCING
Download mode shows KNOX flag has been set to 1 and the warranty is void.
After a few hours of trying things, I managed to install TWRP 3.0
While the error stayed, I could now boot to TWRP
Scoured the internet for stock or samsung images that can work.
Found the cyanogenmod for my device (Nighty 2016-08-31 05:00:43 version as there nothing on the release channel)
Attempted flashing it using TWRP.
It noted that the image fully supports SE ANDROID (or SELinux, or device supports one of those.. Can't remember, the text scrolled so fast)
Then it failed to install.
I rebooted the device and it looks fine and the SE ANDROID error is gone.
Seems like everything is where I left them. Data was not gone, even my homescreen shortcuts are there.
(Took a full backup using TWRP. Coz... lessons learned.)
Ran a few apps to check root status, and they all show the device isn't rooted.

So, since I barely understand what I did, my question is,

Can I go back to the factory recovery? (remove TWRP and put back samsung one. Also, where to look to find the factory recovery? Samsung doesn't seem to publish it)
Is the device still using the Samsung OS image? Or is it a combination of the factory image + whatever my CM flash attempt did?
I Assume SEANDROID issue is part of KNOX? If so, should I disable KNOX (how?) before attempting to root again?

Custom recoveries and ROMs don't enforce SEAndroid, so the error pops out. Ignore it.
Get stock Samsung images from SamMobile. This is also the surefire way to return to factory recovery (along with everything else).
Please get a screenshot (camera capture) of the failed CM installation, so that we can diagnose what's the issue.
Assuming the flashing process failed at its start, it doesn't even wipe anything, so it's stock Samsung system + TWRP, nothing more.

UPDATE: Got factory recovery and Marshmallow ROM using Samsung SmartSwitch (Windows) app. It also got rid of the SEANDROID warning. Good alternative for SamMobile.


text:
Getting double message notifications after replacing Talk with Hangouts
I've updated Google Talk to "Hangouts (replaces Talk)". Now whenever I get a message, I receive two notifications: one from the new Hangouts app and the other from the old Talk app. How do I disable the notification from Talk?
Device is Samsung Galaxy S II running Android 4.1.2.

Hmm, Hangouts seems to have truly replaced Talk on my AT&T SGS3 (I can't remember whether it was built in or I installed it from Google Play, though). But try this: Settings ->  Application Manager -> All (tab) -> Talk (maybe Google Talk) -> Disable. Or you could try going into Talk's settings and disabling anything related to notifications.

@TreborRude the app menu no longer contains "Talk" so I can't access its settings. In the application manager, neither "Talk" nor "Google Talk" appear under the "all" tab.

They just changed the app's name. If you take a closer look: the package name is still the same for hangout: com.google.android.talk. So it's technically impossible to have both apps installed at the same time (unless manipulating one of them into using another package name).

What happens when one is built in and the other downloaded, @Izzy? There must be some reason he's getting double notifications. That couldn't happen if the app was completely replaced. Stray service? Have you rebooted since installing Hangouts, @Oak?

@TreborRude it gets "overlayed". What do you think happens with all the updates of the Google Play app, which is a system app as well? As for the double notifications: admitted it sounds strange, but it must have another cause. Might be some "stray service" which (whyever) was not "cancelled" on update, so a reboot sounds like a good idea which should solve it in that case.

@TreborRude just tried a reboot and it solved it. I guess I need to watch The IT Crowd some more :) please post an answer so I could accept it.

I have the same problem, but a reboot doesn't solve it. I posted a new question: http://android.stackexchange.com/q/46060/30136

As Izzy pointed out in the comments, the package name of Hangouts is the same as the one for Google Talk: com.google.android.talk. Therefore, even if Talk was built in to your ROM, it should be 'overlaid' by Hangouts.
However, it's possible that there's some Google Talk service that didn't get killed by the upgrade process. If that's the case, a simple reboot should solve the problem.

I am having the same issue with my HTC Incredible 2.  This issue has persisted after a reboot.

Several reboots did not fix error

I had exactly the same problem. I solved it by doing the following:

Settings
Applications
Manage applications
Tab 'All'
Google Services Framework
Clear data
reboot the phone

Good luck

After following these instructions, my hangouts were no longer being notified of new messages.  I ended up clearing data of Hangouts. Uninstalling Google Play Services, then when I launched Hangouts, it had me re-install Google Play Services.  After install I had to re-open Hangouts twice and then it was working correctly.

This is now fixed in the latest release of Hangouts:

Fixed a problem where you could receive two notifications for a message: one from Hangouts, one from the old Talk app.

The new version details are below:
UPDATED:
June 6, 2013
CURRENT VERSION:
1.0.2.695251
REQUIRES ANDROID:
2.3 and up
Google Hangouts

If a reboot doesn't solve the problem, such as in my case (HTC Desire HD), try going to Settings > Applications > Manage Applications > All > Hangouts and tap "Clear Cache" and "Clear Data". Go back, open Hangouts again and it will sign you back in. You may need to verify your number again, but that got rid of the duplicate notifications for my case.

I fixed mine a different way. tried all the above and nothing worked. I figured it was still seeing me as logged into Talk.
Try the following:
Uninstall updates for Hangouts. (brings you back to talk)
Open Talk and Sign Out.
Reinstall update (brings you back to Hangouts)
Fixed it for me.

I have no idea if this will work, but you could try and install "Root Uninstaller" and remove Google Talk, and then just install hangouts.
In the app you have the option to back it up, so if something goes wrong you can restore your google talk back.

This led me on the right track: I did not use Root Uninstaller, but followed these instructions on the CM wiki to completely remove the system Talk.apk.

Alas, removing Talk.apk did not solve it after all.

So you are still looking for a fix on this?


text:
Linux fails to mount Android device in USB MSC mode
I wish to mount my Sony Xperia ST21i (Android 4.0.4) under Linux (Debian) via USB. However, I get this error:
# mount /dev/sdb /mnt
mount: no medium found on /dev/sdb

What I did so far:
On the phone side: Settings > Xperia > Connectivity > USB connection mode: set to Mass storage mode (MSC), instead of the default Media transfer mode (MTP).
On the PC side: dmesg yields
[...] usb 2-1.3: USB disconnect, device number 12
[...] usb 2-1.3: new high-speed USB device number 13 using ehci-pci
[...] usb 2-1.3: New USB device found, idVendor=0fce, idProduct=e170
[...] usb 2-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[...] usb 2-1.3: Product: Android
[...] usb 2-1.3: Manufacturer: Android
[...] usb 2-1.3: SerialNumber: **********
[...] scsi14 : usb-storage 2-1.3:1.0
[...] scsi 14:0:0:0: Direct-Access     SONY     Mass storage     0000 PQ: 0 ANSI: 2
[...] sd 14:0:0:0: Attached scsi generic sg2 type 0
[...] sd 14:0:0:0: [sdb] Attached SCSI removable disk

For comparison, when mounting a cheap memory stick, dmesg yields
[...] usb 2-1.3: USB disconnect, device number 13
[...] usb 2-1.6: new high-speed USB device number 14 using ehci-pci
[...] usb 2-1.6: New USB device found, idVendor=1307, idProduct=0165
[...] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[...] usb 2-1.6: Product: USB Mass Storage Device
[...] usb 2-1.6: Manufacturer: P Technology
[...] usb 2-1.6: SerialNumber: 00000000000280
[...] scsi15 : usb-storage 2-1.6:1.0
[...] scsi 15:0:0:0: Direct-Access     UT165    USB Flash Disk   0.00 PQ: 0 ANSI: 2
[...] sd 15:0:0:0: Attached scsi generic sg2 type 0
[...] sd 15:0:0:0: [sdb] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB)
[...] sd 15:0:0:0: [sdb] Write Protect is off
[...] sd 15:0:0:0: [sdb] Mode Sense: 00 00 00 00
[...] sd 15:0:0:0: [sdb] Asking for cache data failed
[...] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[...] sd 15:0:0:0: [sdb] Asking for cache data failed
[...] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[...]  sdb:
[...] sd 15:0:0:0: [sdb] Asking for cache data failed
[...] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[...] sd 15:0:0:0: [sdb] Attached SCSI removable disk

Several lines more - is this significant? Does this mean, I need to configure my phone differently before I can hope to mount it?
Following advice in some related threads, I created an udev rule,
# cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"

but this had no effect.

That rather looks like a Linux issue. Have you checked on Unix & Linux or Super User?

Mounting a USB memory stick is not a problem. When plugging the Android device, some pertinent lines are missing in the dmesg output. Therefore I tend to think of this as an Android issue.

This question has been answered by @derobert at https://unix.stackexchange.com/q/90069/46841: MSC mode only works for accessing a memory card, which I do not have; for accessing the phone's own file system, I need another access mode.

All I could think of on the Android side (enabling UMS) you've already done. But Android devices might not expose their full storage via UMS. Usually, you only can access the external and internal SD-Cards this way.
For everything else, you might want to take a look at adbfs (see also on XDA) and mc-exfs-adb (which I slightly modified to work better on my Linux system; that version you can find here). Both variants require you to have at least a minimal ADB installation on your computer (see: Is there a minimal installation of ADB?).
I have tried both, and favor adbfs-rootless. Works like a charm. If your device is rooted, you could combine this with adbd insecure from Chainfire to get full access to the entire filesystem.

This commonly happens when you're trying to mount a disk when you should be mounting a partition on that disk. Use ls /dev/sdb* to see if any partitions (such as /dev/sdb1) exists on the disk, and then mount that instead of trying to mount the whole disk.

ls /dev/sdb* yields just /dev/sdb, so unfortunately this is not the solution

I agree with this answer. I had same problem. 'lsusb' showed phone. 'ls /dev/sdb*' showed sdb and sdb1. Phone is set to USB mass storage - also android debugging enabled. But it didn't mount automatically. Creating mount point 'sudo mkdir /media/sonyxperia' and mount 'sudo mount /dev/sdb1 /media/sonyxperia' worked.

Agreeing with Joachim ...
To access the phone's internal storage you need to install libmtp and mtpfs for your linux distro. Something like :
sudo mtpfs -o allow_other /mnt
... should help.
Good discussion here : http://forum.xda-developers.com/showthread.php?t=1720464


text:
Removing App from Play Store (Unpublish) - What happens with the users that have the App already installed?
I have to temporarily unpublish my app from Play Store for legal reason until I sort them out.
What happens with the users that have the app already installed? I understand they are not allowed to find it from the store or install it, but does it also mean the apk they have already installed will be uninstalled from their device?

Although this is clearly a developer question, I think the answer is of relevance and interest to end users too, so I don't think it should be closed as off-topic.

When the Hotmail app was replaced with the Outlook app it was upgraded to a defunct app that only directed you to installing the Outlook app. I was however able to re-install the previous  functional version from my app backup.

No, the application is still available for users who installed the play and only store can not be reinstalled. By Play Store
If you put back the google play, users can download and install it again.
But never, under policies of google, an apk can / will be deleted from the device remotely by google / application owner
But we had a case in the past, about a malicious app that was removed remotely without trace, all done and confirmed by Google itself


text:
What does the error message "Light old sensor_state 0, new sensor_state : 128 en : 1" in logcat mean?
I have my Galaxy S4 connected with my PC and ran the "Building My First App" tutorial from http://developer.android.com/ . There were no problems, but I noticed many messages about the LightSensor in the LogCat view in Eclipse, like these:
09-17 17:41:24.781: E/LightSensor(736): Light old sensor_state 0, new sensor_state : 128 en : 1
09-17 17:41:25.152: E/LightSensor(736): Light old sensor_state 128, new sensor_state : 0 en : 0

I found several occurrences of the string "Light old sensor_state 0..." on the web. So others get this type of messages, too (where a phone was mentioned it seemed also to be a Galaxy S4). But the posts/questions/answers were always about something else. It looks as if everybody ignores this kind of messages as noise.
I played around a bit and noticed this: As long as the phone is active those messages do not appear. But when I switch it off, the messages appear about every 10s. Does anybody know what they mean?

They're nothing to do with your app, and they're not really errors. As you might have guessed, they're just reporting changes in the light sensor state. (That's the sensor that controls the screen brightness.)
Samsung ROMs are particularly known for having very 'noisy' log output, owing to Samsung being a little slapdash about software integration. In contrast, Nexus devices tend to have very clean logs, because Google engineers are aggressive about disabling logging when code is committed. You can filter the log messages in Eclipse (or when you use adb logcat on the command-line).

Are you sure? Then why does the phone report the changes only while it is switched off? And why are the changes reported as errors? Also a change from 0 to 128 and back to 0 every 10 seconds seems strange to me, too. It is not as if I switched on and off the light in the room every 10s....

Only someone with access to Samsung's source code would know why it behaves as it does.


text:
Phone Dead after Format all+ download sp flash tool
Recently i have used SP flash tool for flashing Micromax Canvas a1. I flashed successfully. But i am unable to start the OS. So once again i done "format all+download". But now my phone completely dead . Please help any one how to write NVRAM files (including factory logo and imei no).. But still i am able to flash the mobile using SP flash tool. But mobile not getting ON.. Please help any one

did you find any solution?

badly No :(.. @vzhen.  I kept the mobile aside and purchased alternate one


text:
Swapping SD Cards
So, I currently have a pretty old 8Gb SD-Card in my Moto G 2nd Gen Phone. Except photos, videos, and other miscellaneous files which can be easily transferred, I also have a lot of big apps. I did a bit of research and found that the data for these apps are stored in the folder Android_secure. I'm also aware that only the app's code and data that only need to be read and not modified stay there. Will just moving that folder (Android_secure) to the new SD work, or will there be any more complication? And no, I can't unfortunately move the apps to my phone, swap SDs and then move them to the new one. That's the reason the apps are in the SD in the first place, to free internal storage, so that I'm able to download more big apps to put in my SD card.
Edit: My new SD-Card is a 32Gb if anyone cares.

As long as you are not on Marshmallow and are not using Adopted Storage, you can just copy all the data from one card to another.
I would suggest powering off and removing the card and inserting the new one, then powering up and formatting the new card, then power off and remove the card. In a computer with a card ready, copy all data from old card to the new card. Reinsert the new card in the phone and power up and you should be good to go.

Ok, that sounds cool! And my plan was to power off the device when swapping the cards. Thanks anyway.


text:
Fastboot detects phone in the fastboot mode but not when phone is on
I'm trying to flash a custom recovery image with fastboot flash recovery recovery.img but it can't find the image, hence I'm powering it on and getting into location where the image is to execute the command. The problem is fastboot doesn't detect the phone when the phone is on but ADB does detect it. How can I troubleshoot this ?

Fastboot images have to be stored on the PC where you execute the fastboot command not on the device.
Therefore the common process is:

PC: Download the image to be flashed
Boot the device into bootloader/fastboot mode
Connect the device to the PC via USB
Execute on the PC fastboot flash <target_partition> <path to the image on the PC>

Flashing firmware images that are stored as image file on the device is usually a job for a recovery ROM such as TWRP.


text:
What is MIUI optimization?
In MIUI (an Android ROM), there is an option in developer settings called MIUI optimization. When this option is enabled, an app can't be installed via USB (i.e. from Android Studio).

What is the purpose of this option? And if this option is disabled, will it negatively impact the phone's performance?

According to this thread, this feature (Turn On MIUI Optimization)

enables a plethora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers.

It helps to load the app and the app data in parallel reducing load times and ensuring a slicker user experience.
However, this setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Users have recommended disabling the feature if you rely on Google Play Store for apps & services or use Global Stable or Global Beta MIUI ROMs.
Here is a summary of observable changes when this feature is turned on or off:
With the MIUI Optimization Enabled, some users reported the following issues

Cannot set third-party launcher like Nova, Apex or Google Now launcher.
Wallpaper cannot be set using in-built options via custom launchers.
Occasional lags, stutters or freezes while scrolling web-pages & long lists.
Custom apps set as default restore to default MIUI apps on reboot. (Only on MIUI China ROMs)
Cannot set accessibility services on reboot.
Background apps cannot sync data.
Music players stop playing after sometime.
UI Animations are not synced properly.

After turning off MIUI optimization

Above issues may get solved.
Settings → Data Usage → Graph changes to AOSP style.
Settings → Battery & Performance → Battery Use → Graph changes to AOSP style.
Settings → Installed Apps → All → Documents → It will not be disabled after every reboot.
Settings → Additional Settings → Buttons → Settings may get reset.
No OTA update notifications. Enable it to receive the OTA updates.

Is it better for global rom (MIUI) to turn the MIUI Optimization off?

@DAF  While I haven't face really big issues with the option turned on, I still feel there is no big harm to have it turned on, it is enabled by default out of the box by the manufacturer, so I prefer that it remains on, and would recommend the same, besides it aids in some useful enhancements of MIUI

But as explained it can have bad side effects with some Google services or if using Greenify in non root mode.

Toggling the option will instantly reset all apps permissions to the default.
Reset the display DPI to the default value 392dpi

Turning off "MIUI optimization" will also make the option to have multiple user accounts available again.

According to SAI, this option (which is turned on by default BTW) also prevents it from installing split APK files, and it's true. It also claims that it will be fixed on MIUI 20.2.20. Any idea where I can read about this?

In addition to @xavier_fakerat's answer, note that the "MIUI Optimizations" prevent the installers of various applications from launching correctly even on the phone itself, rather than over-USB. If you get unexpected "Installation failed" messages (not taking about Google Play Store; I never use that) - it might be a conflict between the installer and the MIUI optimization mechanism.


text:
Call time prior to answering

Version: Android 10
Brand: Samsung
Model: S9

Is there a way to log the duration of phone ringing, prior to answering or declining a call?
I'm doing this because someone claims to call me, but terminates the call after 1 second, and I need to prove that.
Thank you!

Usually, this will be logged as "missed call" if it's already reached to your phone. Though, I think there are some providers that filter the ringing before a few seconds to prevent accidental calls?

A raw idea would be using an [tag:automation] app like [tag:tasker] to react on the ringing and have it make a copy of logcat to investigate. Before you ask: no, I cannot give you a how-to on this. And for context, see eg How can I view and examine the Android log and our logging tag wiki.


text:
Limiting Display Frame Rate to Lower
Is in Android there is an available database set for limits display frame rate? If they’re available, is using ADB/Root (Terminal), or how, or even it can't?
I've been searching this for years, and not get an answer yet. Actually, this is for tweaking to trigger any benefits. This like my other phone embedded feature is Xperia STAMINA mode which is it can set the display frame rate (to 2x lower from 30 fps) for battery saving. But... I mean is not only for that. Many others too that can benefit. So, is this can available on a pure Android system? Or this only self-made for manufacture's hardware so that not possible available on others except Xperia devices?
If there are other threads that I don't know. Please let me know. I'll understand it, and try if it makes sense.
thank you! :D

On one Plus phones

Android 13 had a feature to lower the frame rate called Game Mode interventions. However, it is only limited to games app category, and not system-wide work.
Some manufacturers may use this feature or remove it. As well as developers should declare Game Modes as false on Manifest file. Otherwise, the platform will ignore the configurations and only use in-game optimizations.
Also, this feature may require a newer GPU, and a supported display frame rates.

To view the existing package configuration:
adb shell device_config get game_overlay <PACKAGE_NAME>

To set game mode interventions configuration:
adb shell device_config put game_overlay <PACKAGE_NAME> <CONFIG>

Parameters example:
adb shell device_config put game_overlay <PACKAGE_NAME> mode=2,fps=90:mode=3,fps=30

Parameters details:

mode=2 for performance mode, and mode=3 for battery mode.

fps value are device specific: 30, or 60 for 60 Hz displays; 30, 45, or 90 for 90 Hz displays; and 30, 40, 60, or 120 for 120 Hz displays; else, any attempt of any other value than the device specified value, will cause the device to crash. fps=0 is the default value.

To switch the game mode from the configured package:
adb shell cmd game mode performance <PACKAGE_NAME>

OR
adb shell cmd game mode battery <PACKAGE_NAME>

OR
adb shell cmd game mode standard <PACKAGE_NAME>

References:
FPS throttling | Android Developers
Game Mode interventions | Android Developers

There doesn't seem to be a way at this time.
So far, all I know is a hidden feature in Android S Preview Revision 3, namely Game Optimization in the Game menu which can lower frame rates, such as Xperia STAMINA mode.

Portal: Android 12 DP3 Analysis: Here are all the hidden features! | xda-developers.com
Screenshot: 17-Game-Mode-2.jpg (563×1155) | xda-developers.com
Learn more: Android Developers | developer.android.com


text:
Librem 5 Purism hardware buttons, software equivalent on GrapheneOS?
One of the best features of the Librem 5 Purism is it's hardware switches. Any possibility that a means exists that will allow me to do this on GrapheneOS? Software, rather than hardware, of course.
--Update--
Obviously not the same hardware also. It just seems to me that if it's a good idea to have these readily accessible in the first case then why not also the second? Is there an app or plugin something? What about shortcuts to settings items? Wouldn't something like this make a good intelligent default?
-- Update 2 --
I'm new around these parts so I can't respond to comments. The hardware switches on the Librem 5 turn off everything that you might consider a security risk. They are not programmable. The idea is that you can literally turn off your camera, cellular, etc. Know how having your camera turn on spontaneously creeps people out? Well you can just turn it off. Totally disabled because of a hardware switch such that software cannot turn it on. So if you are at a protest and you think "The Man" is tracking your cell, just flip a switch and turn it off. It's not the same if it's software, of course, but then again, GrapheneOS is pretty trustworthy as software goes. It's having those buttons readily available that I'm after. On a phone that is touted for security, I shouldn't have to dig for them, should I?

GrapheneOS is for Pixel devices only: https://grapheneos.org/faq#supported-devices

For those who don't know what those hardware switches do on Librem 5 Purism, could you explain more if there is something special about them? Is it like they can be customized whatever the user wants? (Considering that Librem 5 Purism does not run Android OS, so they have more freedom in designing their hardware and software.)

OK. Some magic has happened and now I can add comments. The hardware switches of the Librem 5 turn off anything that might become a security problem. WiFi,GPS, Cellular, Camera etc. etc. etc. They are not programmable. They are intended to override any possibility of software doing something the owner doesn't want with those services.


text:
Android *tone selection menu shows titles different to the actual filename. Why?
After i scp an audio file to my android devices alarms/notifications/ringtones sdcard folders, the file itself is named correctly, but the settings menu for selecting alarms/notifications/ringtones may or may not show a completely different name.
I have used 'sdcard refresh' tested, and then rebooted to check again every time I have copied the files.
I do not see any metadata that might contain a name.
I have converted mp3 files to ogg with ffmpeg specifically to discard any hidden metadata, yet it still happens.
caveat: I have renamed these files on the source machine, ie: PRIOR to copying them to the target device, so that I can more easily find them among the endless list of useless stock-android sounds. But somehow android is ignoring this in some cases, and not in others.
Do I need a specific tool to force the name-metadata that I want?
Do I need to clear some android database that may be clinging to the original filename and not accepting the new, despite deleting them on the device, rebooting, copying them again, and rebooting before checking again.
Android version: 9

image above:

at left:files on pc, with original names
at right: filenames after
being renamed on source machine (PC) and scp'd to the target device

image above:

delete all files on device sdcard 'Alarms' folder
power down, power up (previously i had been rebooting, but thought i should try actually powering down for a moment and then back on again - no difference)
scp renamed files to target device
power down, power up
check sound settings for Alarms

For coompleteness, or general interest: the script that converts non-ogg to ogg and copied them to the scp target:
scp-hostPath-fileList.sh
#!/bin/bash

hostpath="$1" #phoneXI:/storage/emulated/0/Ringtones/
shift
for input in "$@"; do
    [[ ! -f "$input" ]] && continue
    exportName="${input%.*}.ogg"
    [[ "$input" != "$exportName" ]] && ffmpeg-bar -i "$input" -c:a libvorbis -y "$exportName" </dev/null
    string+="\"${exportName}\" "
    msg+="${exportName##*/}\\n"
done
cmd="scp $string $hostpath"
# echo "cmd: $cmd"
error=$(eval $cmd)
[[ $? -ne 0 ]] && kdialog --title "ERROR" --passivepopup "$error" 5 || kdialog --title "OK: $hostpath" --passivepopup "$msg" 5

exit

# tests

/home/user/documents/scripts/net/scp-hostPath-fileList.sh \
phoneXI:/storage/emulated/0/Alarms/ \
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Alarms/BETLOG-9000.mp3
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Alarms/BETLOG-cavalryCall.mp3
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Alarms/BETLOG-marioMessage.mp3
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Alarms/BETLOG-marioPowerup.mp3

/home/user/documents/scripts/net/scp-hostPath-fileList.sh \
phoneXI:/storage/emulated/0/Notifications/ \
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Notifications/BETLOG-carlock.mp3
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Notifications/BETLOG-drip.oga
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Notifications/BETLOG-wz2100-beacon.ogg

/home/user/documents/scripts/net/scp-hostPath-fileList.sh \
phoneXI:/storage/emulated/0/Ringtones/ \
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Ringtones/BETLOG-bellphone.ogg \
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Ringtones/BETLOG-oldphone.mp3 \
/home/user/music/audio/_all-alarms-notifications-ringtones/KoganAgoraXI/Ringtones/BETLOG-telegraph.mp3

Can you show us an example of the file name and how it appears in the list?

What is your Android version? In the end the media info always comes from the central database. Therefore this answer should also apply here. By renaming the files in file-system you have confused this database. Newer Android versions (9+) do usually detect such file operations automatically, but older systems require a reboot or a manually started media scan.

Original text edited - please refer. Also; i am aware of the database issue, i have been using 'sdcard refresh' and also rebooting between any change. Initially i copied some files with their original filenames, often those are fugly or not easy to find in the stock-android list, so i rename them locally, copy them to the device with scp(ssh), use sdcard refresh on the new files specifically, reboot. Some files are successfully renamed, others are not. I have tried deleting all, rebooting, copying, rebooting, which still fails. It's very unusual.


text:
Problem with a sdcard under Android 7.1.2 three partitions can not be mounted / used
Happy New Year!
there is a problem with my sdcard under Android 7.1.2 (Custom Rom) (root=true, adb=possible).
The vFat Partition can be used, but the rest is not mounted and can not be used.
mmcblk1p1 vfat 183 GB Status : OK
mmcblk1p2 ext4 16 MB android meta Status: not mounted
mmcblk1p3 ext4 64 GB Status: not mounted (primary) (want to use that partition as adoptable Partition for extra internal memory)
mmcblk1p4 ext4 2 GB Status: not mounted (primary) (want to use that partition as SWAP Partition for extra RAM)
Trying to mount the Partition3 (64 GB) gives the error

mount: mounting /dev/block/mmcblk1p3 on /data/sdwyt2 failed: Invalid argument

Other similar error messages may also occur.
Any help welcome !

Comments are not for extended discussion; this conversation has been moved to chat.

Found the answer to my question myself here:
Solution: On devices running Android 7.0-8.1, file-based encryption (FBE) can't be used together with adoptable storage.
https://stackoverflow.com/questions/60173545/why-i-got-this-error-please-adoptable-storage-not-available-on-device-with-nat


text:
Boot loop data recovery
Cyanogen mod 9, ClockworkMod Recovery 5.8.9.2
I recently plugged in my phone after the battery completely died over night and the phone is stuck in a bootloop. I left it trying to boot for 30 minutes and it's just stuck.
I've made a backup in clockworkMod recovery and am willing to flash the phone to a newer or the same version of cyanogen but I don't want to lose data.
Is there any way I can make sure my contacts and SMS messages are recovered?

Before you go hard-core: have you checked with the boot-loop tag-wiki for possible remedy? Have you tried to remove the battery for a few minutes, then re-insert and boot up again? Have you cleaned up cache and Dalvik-cache from CWM?

Yeah I did all of that. Battery out for a while. Cache clearing, everything I could find.

OK, was just a thought. Can you boot into recovery? Not sure if adb backup is available there as well, but you could give it a try then. For SMS, com.android.providers.telephony should be the one to backup, for contacts com.android.providers.contacts if I remember correctly.

@izzy can boot into recovery, no adb backup though :(

OK. Try adb shell and see if you can access e.g. /data/data/com.android.providers.contacts (needs root). If so, you could at least adb pull the two directories and, if you flash the same ROM again or simply do a factory-reset, might be able to adb push them back, followed by a reboot so the corresponding services pick up the changed data. You could also try to adb pull the entire /data/data directory with settings etc. of all your apps, just in case ;)

I reinstalled android and lost all my data. Nothing else worked. :(

I recently went through this, and it is possible to restore your data, take a look at my own experience at Extract App Data from Nandroid / CWM Backup. Basically you can use Nandroid Manager to restore the data you have backed up. But I am not sure if I got all the data of the apps that might have been installed to sdcard though, so if you can, take a backup including those apps as well (maybe too late now). Hope you still have that backup.. just noticed the date :(


text:
Galaxy Note 2: Disable MTP/PTP
When I connect my HTC Sensation (firmware: CM 10) to some PC I need to enter a passcode (to unlock the phone) and explicitly allow mounting as usb drive.
But when I connect SGN2 it enables MTP or PTP without confirmation so, for example, if I ask some guy to charge my phone from his laptop he will immediately gain access to all photos on the phone!
So I wonder how to disable this feature. The configuration dialog allows me to choose which mode to use, not to disable multimedia transfer.

Have you checked your phone's settings? On my LG Optimus 4X I can define a default in Settings->Connections->USB Connection Type, might be your Note has some similar setting.

@Izzy cant find the setting =(

Sorry about that. I also can't find it on all of my devices, only on some. It might be "hidden" in another place (again those "customizations" by manufacturers), though there's no guarantee.

I've rooted the phone just now, will try to find some brutal solution %)

I've probably found the solution:
run the following command as root
setprop persist.sys.usb.config adb

and reboot the phone.
Now my phone doesn't show an "usb connection" notification and "Android File Transfer" (an MTP implementation for MacOS) doesn't see the phone. In the same time adb works fine.

When you say "as root" I presume you mean you had to root the device?