text:
How to play 5.1 audio direct to speakers?
I have an audio file recorded in 5.1 surround sound. I'd like to play this from my Android Device.
The issue I have is the various Android devices I have (tablets/phones) all contain the standard 3.5mm jack, which I think means stereo only! I'm not after a simulated surround sound, I need access to the outputs! Maybe it's possible via the USB?
My exact requirement (if it helps) is to end up with 4 outputs. Front-left and front-right as a stereo pair and back-left and back-right as a stereo pair (I don't need the sub-channel). However, being able to somehow split the signal so each goes to its own speaker is also fine, I can worry about the rest. The focus is on how the Android device can provide this signal(s).
The device I want to connect to is External Sound Card With USB 5.1 (note it's USB input). Maybe with the new USB DAC input?

There are many ways you can get the audio out.
Through wire:

Head phone jack - you clearly said it can deliver only two channel audio.
USB - You can use an OTG adapter and plug in a 5 channel USB sound card and get the 5 channel audio out.
USB Type C may have this support native.

Wireless:

Bluetooth - if the A2DP profile is supported (will be supported from v2.0 onwards) you can stream audio in stereo - again not good enough for you.
Screencast protocols like Miracast or DLNA might support as it can be considered as a HDMI connection over Wi-Fi. These should support 5 channel audio.

Of course for all these you have to have a player which has appropriate codec support (usually AC3).

2.USB - You can use an OTG adapter and plug in a 5 channel USB sound card and get the 5 channel audio out.  That seems like the answer... Can you confirm it means I can get 5 channels out and not 5 virtual channels?

I am sorry, I cannot confirm as I have not tried myself.

As I have written in my answer, it will be only virtual. Android can only use 2 channels over USB

Then this answer might not deserve the 'accepted' status unless the OP accepts the wireless based solution.

In stock Android, it's not possible to have more than two audio channels (stereo) via USB as documented here.
The 3.5mm jack, as well as Bluetooth, do not support more than 2 channels either (although enhanced aptX (Bluetooth) does support 5.1 surround sound, it's not yet supported by Android).
You can connect an external sound card, it may even work but you won't have 5.1 output through your Android's USB port which means you could only have virtual surround sound on an external sound card.

I don't know what possibilities were available back in 2016 when this question was first posted, but today I managed to get multi-channel audio working on my Android 12 TvOS tvbox with a USB 7.1 channel external soundcard.
I used the docs from https://source.android.com/docs/core/audio/implement-policy and edited /vendor/etc/usb_audio_policy_configuration.xml to add a multi-channel output to the config. (As shipped, the config only supported stereo.) I basically copied some info from the HDMI policy. Here's a diff showing what I changed. Note that you'd need root access to make these changes on your box.
--- /tmp/usb0.xml   2023-04-04 08:53:35.572497487 +0100
+++ /tmp/usb1.xml   2023-04-04 09:18:15.012439753 +0100
@@ -21,6 +15,11 @@
             <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                      samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
         </mixPort>
+        <mixPort name="usb_multi output" role="source">
+            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
+                     samplingRates="44100 48000"
+                     channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_QUAD AUDIO_CHANNEL_OUT_5POINT1 AUDIO_CHANNEL_OUT_7POINT1"/>
+        </mixPort>
         <mixPort name="usb_device output" role="source"/>
         <mixPort name="usb_device input" role="sink"/>
     </mixPorts>
@@ -38,7 +37,7 @@
         <route type="mix" sink="USB Host Out"
                sources="usb_accessory output"/>
         <route type="mix" sink="USB Device Out"
-               sources="usb_device output"/>
+               sources="usb_device output,usb_multi output"/>
         <route type="mix" sink="USB Headset Out"
                sources="usb_device output"/>
         <route type="mix" sink="usb_device input"

For reference: I have an H96 Max V58 tvbox, and used this StarTech USB soundcard. https://www.startech.com/en-us/cards-adapters/icusbaudio7d
Also note: this soundcard also has SPDIF input and output. The SPDIF out carries the front left/right channels too, same as the analog output. That turns out to work perfectly for my purpose. I'm using Edifier S350DB for my front speakers; this is an active speaker set with 2 bookshelf speakers and a subwoofer and I'm using TOSlink optical cable for the connection. My original setup was
 (back of room)         (front of room)
   Projector
       |
     HDMI
       |
     TVbox ---> SPDIF -> front speakers

Now it's
 (back of room)         (front of room)
   Projector
       |
     HDMI
       |
     TVbox
       |
      USB ---> SPDIF -> front speakers
       |
      RCA -> rear speaker amp

I added a simple stereo amp and pair of passive bookshelf speakers for the rear surround channels, and use this with Kodi (version 20) set to use a 4.0 speaker configuration. In 4.0, the rear channels are actually coming out the output labeled "center/sub" on the StarTech box.

You should mention the exact make and model of the device you got this to work on for future readers.

Added, plus a bunch of other details.

You could try this app: USB Audio Player PRO.
The developer claims to have built its own USB audio driver and thus supports multi-channel streams:
USB audio driver in USB audio player/recorder pro and audio evolution mobile.

Multichannel support exists, but from what I can tell, it's not necessarily standardized.  I still can't confirm to what extent it is supported, but my limited understanding suggests that only external devices designed with Android in mind would be able to work with multi-channel support, and would otherwise either not recognize the extra channels, or just duplicate it over to those channels.
It's a shame that Android doesn't have a way to actually manage audio streams or channels, but it seems that has more to do with the way external sound devices are implemented more than anything.
https://source.android.com/devices/audio/usb

Others have suggested that USB audio only supports stereo (2-channel) audio streams, and that 5.1 could be achieved using 3rd party applications. The reference to it only supporting stereo is outdated (Android 5.0, 2014). This limitation is no longer present. The Android USB Audio HAL supports up to 8 channels (7.1).

Please add references or links to support your answer

This could be very interesting. The answer for me in the end was buy a Windows 10 tablet as it just works with surround sound. However, I'm still very keen to know more about this, especially as https://source.android.com/devices/audio/ doesn't show any information to confirm this (at least that I could see)

Via normal miniplug stereo output, you should be able to feed into a Dolby-enabled system which separates the encoded extra channels from the stereo output. That's not true discrete multichannel, but it sounds OK to me on my home stereo.
I"m also looking to try to get this from an Android in an outdoor portable music situation, hopefully via Bluetooth.


text:
How to get frequency band in which device getting signal from operator?
I have to find the frequency in which device is working currently. Ex: My device is connected with ABC network which is 4G and run on 2100MHz or 1800MHz, So I want to know the frequency(i.e. 2100MHz or 1800MHz).
Please share your experience Which will help me to find the frequency band. But guys I don't wanna to know the network type. Is there any way by using reflection Please share.

As it is a cell phone: Call the provider (hotline) and ask? I'm not aware of any settings page or app to show that.

Thanks for your reply @Izzy But I am looking for the code, Is there any way via code so that I can fetch this information.

Dial *#*#4636#*#* then select phone information.

Is the frequency listed there? Could you please [edit] your answer and include a screenshot, maybe? I couldn't find that detail on my devices.

source: Stack Exchange

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

sort: votes


text:
Wifi sign in adware?
Hey guys facing this wierd problems since past few days when I connect my phone to my home network I can access the network(there is internet) there is exclamation mark besides my wifi network and a wierd sign in to my wifi network notification pops up when I click that it redirects me to a website there is notification that your moto g3 has a virus something odd!Please help is this adware or my router is infected my other phone on the network does the same thing but only in android I have tested with iphone no problem at all and my laptop is fine too

You're likely not connected to your own WiFi... Have you reset network settings and reconnected to it?

No definitely it's my network i double checked that I reset my network many times also changed passwords too

You've been hit by malware - adwares on your case - that redirect you to specific websites. If you check your apps list, you'll notice some unusual apps, with weird names sometimes. Th simplest solution: you'll need to flash your phone, or if you're skilled, uninstall those apps from your phone by rooting your phone and using ADB Shell. Let me know which one you are able to do.

Can I just reset my phone would that help ??I doubt it's because of adware on the phone because other Android phone on the network has the same thing.

I can tell you your phone is infected. This happens only on Android phone. The other phone may have been infected as well. Check your app list

Resetting the phone won't help since those malwares are installed as system apps. They will be restored. You can get rid by flashing ot removing them manually

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


text:
Will trying to flash an unofficial update with stock recovery harm my device?
I have an Android tablet, the DigiLand DL718M, with a stock recovery that can do slightly more than expected. It isn't much, but I have high hopes that it will support flashing SuperSu using the recovery. My question is, if I try to flash it to test it out and it turns out that my stock recovery cannot install custom updates, will it damage my firmware or something like that, or just pop up an error message telling me I'm an idiot?
PS: I'm explicitly asking about the stock recovery for a good reason: This device's bootloader is not unlockable, so I cannot install a custom recovery.

Dont do unofficial flashing via stock recoveries. Use custom recoveries like TWRP or CWM.

Yeah, I certainly wish I could! So far I've only been able to use the stock recovery, and I was feeling optimistic yesterday.

Nonny, you might ask a separate question on how to install some custom recovery (or use it without installation: TWRP e.g. allows to "just be booted" without being installed) – of course after verifying such a question doesn't already exist. The culprit most likely will be availability: there rarely are custom recoveries for tablets. Checking on XDA cannot hurt, that's the most likely place to find such.

@Izzy thanks, but I was actually asking about the stock recovery. This device's bootloader is not unlockable.

Ah! That fact should go directly into your question to avoid recommendations like "better use a custom recovery" – it would make pretty clear why you're asking that way around! Done that for you :)

Stock recovery should just fail, it will look for a digitally signed package from the manufacturer, not find it, and error out without making changes. If the developer who made the package specifically made it to work for that device and spoofed the signature somehow, it could do anything from work perfectly to perma-brick the device, hard to say.

Thanks! The update does nothing of the sort, so it will accurately determine what I want to know.

Yeah. It didn't even bother to tell me the error, instead saying "installation aborted".


text:
Enabling developer mode in Reliance LYF
I have a Reliance LYF mobile phone and want to enable the developer mode.
I looked for all options in the settings but haven't found anything to enable developer mode.
Is the developer mode option available on it?

Was this bought as a used device? The single-use option may have been used by the former owner.

@wbogacz I am confused. What do you mean by single use option?

@PN10 I assume that you were stuck on Google FRP lock screen? You can't unlock developer option if the phone is FRP locked.

Go to Settings > About device, then tap on "Build number" for 7 times, then go back. The developer option will be shown.

This phone is based on Firefox OS, meaning that tapping build number 7 times won't help.
The developer portal for Kaios recently became a thing. However, they don't give instructions on how to enable developer mode (yet).

This indicates 2 things:

The documentations are incomplete (which they clearly are, most of it is from the Firefox OS documentation),
An update for it auto enables developer mode.

All Lyf smartphones launched as of 2016 run Android operating system. Some Lyf smartphones launched after 2016 also run Android.

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


text:
Google Sync - Accidentally synced work contacts
Recently bought a new Android phone after switching from iOS. Moved my iCloud contacts into Google contacts and then added my personal and work Google account to my Android phone.
My Android phone is now showing 1000's of contacts because my work contacts have synced by mistake (only need the personal contacts on my phone). So I've disabled sync from my work account but all the contacts are still on my phone?
How do I 'reset' my phones contacts (and other sync info such as Calendars) so that it only shows and syncs with my personal google account?

I don't believe you can do this from your phone, but you can actually restore your phone's contacts to a specific day/time. Here's how you do it in Google Contacts Preview:


text:
Samsung J5 : Use SD card as internal memory
I'm actually trying to use my SD card as internal memory on my Samsung Galaxy J5 with 6.0.1 android version.
I saw some post on google and i follow this tutotial :
http://www.phonandroid.com/galaxy-s7-s7-edge-fusionner-memoire-interne-carte-sd-sans-root.html (It's in french because i'm french)
but when i try to use sm partition in adb shell nothing is happening... and my internal memory still the same.
As you can see on the tutorial other people got the same bug on Samsung J5.
If someone have a solution or a way to solve it.

Did you try this? http://forum.xda-developers.com/galaxy-j5/how-to/finally-adoptable-storage-j500fmm-t3470225

See our adoptable-storage tag for more information, especially the questions in the tag wiki.

@beeshyams No i didn't find this forum, i will try it as soon as possible. I will check the tag if it doesn't work. Thanks you.

Welcom. You can post a reply to your own question to help others. It's encouraged

I tryed to use this method but i need to root my phone and i don't very like this... do you know if it's safe to do this on J5 ?

I am sorry. I am not familiar with this device. Please search in XDA

This is how I achieved this on a Samsung Galaxy J5 with Marshmallow 6.0.1.
It requires a computer running Windows vista/7/8/10:

Install the official Samsung drivers on your computer - some other driver variants can cause this process not to work: http://developer.samsung.com/galaxy/others/android-usb-driver-for-windows
Install Odin on your computer: https://odindownload.com/download/
Enable Developer Options on your phone.
In settings->Developer Options, turn on 'Oem Unlock' and 'USB Debugging'.
Download this zip package: https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip -- and save it to a known location on your phone eg. downloads.
Install TWRP -- this particular one -- others do not work on Marshmallow: https://forum.xda-developers.com/galaxy-j5/development/recovery-samsung-galaxy-j500f-t3416960
. Follow the instructions on the page to install, however be aware that for this to work, the First Time the phone resets after the flashing process, you must hold Vol Up + Home +  Power key to boot into TWRP. The timing on this is reasonably quick, so keep an eye and your hands on your phone during the flashing process. If you don't do it the first time, you will need to repeat this step, as on subsequent reboots you will not be able to get it to boot into TWRP if you didn't do it the first time.
Now download and install Root Essentials from Google Play Store. Run it, go to Adoptable Storage and follow the instructions. Root Essentials will ask you to download a specific zip package (do so). Then go through the process again, and follow the prompts to reboot into TWRP mode and install the package from the Install menu. Once you've done this, and the phone reboots (it will reboot loop several times, don't worry) it should boot up properly, and may go through an 'App optimizing' process.
Once booted, you should go into settings->storage, and you should see that your overall storage has increased. Click on the SD card, click on the '...' button in the top left and click on 'Migrate Data'. This should move existing app data (that can be moved) and photos/music to the SD card, and change the default photo storage location to the SD card.
Lastly, go into settings->Apps->Application Manager. Some existing Apps can be moved entirely to the SD card eg. messenger. To do so, click on the app, then storage. If an option to move it is available for that App, the 'Change' button should be available. Click on it and follow the process.

Voila! Enjoy!
Do not mess with adb's, Link2SD's or anything else -- I have wasted too much time on those before I figured out a way that works!

And very important: Enable usb debugging and activate OEM unlock (and leave it activated after rooting etc., otherwise you will get a «Custom binary blocked by FRP» screen when restarting your phone) on your phone. Without that it wont work neither with Windows, nor with Linux or anything else and you will search the internet for solutions for ever. Took me two days.

For me this solution worked, but only with Odin version 3.10.6 which was included in the zip-package at https://autoroot.chainfire.eu/. And it is very important to read and follow the instructions included in Root Essentials when doing the transition to adoptable storage (hint: do not forget to migrate your data, because if you forget that, your new installed Apps will still reside on the internal memory).

The most recent Odin version worked fine for me.

after pointing to storage sd card , there is no migrate. but internal memory has this option!whats wrong?

@Pasha Followed your instructions, stuck at #7 - even after installing "ASPlugin.zip" through TWRP, the Root Essentials app again prompts to install ASPlugin.zip. Am I missing anything ??

Work on Samsung J5 SM 500G
From Official marshmallow
Install TWRP with Odin ( TWRP_J500G_MM)
Root using [6.0] UPDATE-SuperSU-v2.76 volume up+home+power
Install Root Essential
Storage - Adoptable storage - adopt
Turn off
Enter TWRP
Install ASPlugin
Root Essential
Storage - Adoptable storage - adopt - reboot
Setting - storage - sd card - migrate data - export
Finish

Another easy way is there.
I tried it on my J5 with success:
First you need to root the device and install Root Essentials from the Play Store.
Follow the instructions on the screen (you need to use a very good SD class 10 with high write speed).

This answer could be helpful if you link to the app you're recommending, and describe what instructions you followed.

You should root your phone first,
use a class 10 memory card and re partition your SDcard in ext4 file system. Then you can use some application to make it as internal memory. I found some custom OS like cyanogenmod has this feature already. Do it at your own risk

Why would he should root phone if he wants to use adoptable storage..

because The adoptable storage feature of MM encrypts the SD card. But using the apps like Link2SD didn't encrypts the SD card and you can also use the other partition(FAT32) as your media storage.

You can have a partition for media with adoptable storage. But encryption on partition for apps still stay. Not a big deal

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


text:
Neutab air 7 stuck on fastboot mode
Neutab air 7 stuck on fastboot mode
Brand new a week out of the box
Will not power down or respond...... any ideas/suggestions???

Get a replacement where you've bought it? Within the first week, that's well inside the warranty frame. Apart from that: What did you do to bring it into that state – I mean, apart from unboxing? It probably didn't ship in the current state :) As the picture is too small, it might also help to [edit] your question to include what's written on the screen (cannot be read from the picture).

There are 3 options I can see, select Boot normally. Use Volume down to navigate and choose with Volume Up button. If not succeed, select Recovery boot and reset your tablet


text:
Archos 50 Power does not recognise external storage
I recently bought the Archos 50 Power however I sent it back after it appeared to be faulty. Today the new one came, however, the exact same problem is occurring. I have an SD card that I used in my Samsung Galaxy 4 and it worked fine. I then formatted it and placed it inside my new phone. The phone can see the SD card.

When I go to try and move any data, such as google play music downloads or photos from the camera app, to the SD card the apps cannot see the SD card.

The interesting thing is when I placed my SD card back in my old phone, put my google play offline on the SD card, then replaced it inside my new phone the google play music app could see the SD card. All the other apps could still not see it. I would appreciate any help in fixing this problem as I have never encountered it before now.

You can try if app mentioned here helps. Had a somewhat similar problem and this helped

go to Settings > Apps > Show System Apps and find External Storage and Media Storage and clear data and cache on each one and reboot, then give it some time after full boot up to rebuild media databases
Do the above after removing and reinserting SD card

@beeshyams Unfortunately that did not work. Thanks for suggestion though


text:
YouTube Offline video issue
Iam going to perform a factory data reset on my phone but i don't want to lose my 8.45 GB of youtube offline videos , What do I do now??

Related (answer) YouTube Offline Videos deleted/removed

you will loose that 8.45GB of Offline video data, after factory reset. right now, there is no way to take any backup as such for those offline videos.

There is no way to restore offline videos as its location is in the app directory which cant be accessed so one possible way is to just try to login on a different phone if it shows your videos then ok otherwise sorry for the loss!


text:
How to use SD card as adoptable on LG K8
Lately I've bought LG K8 but it doesn't have much memory, so after installing few apps and updating stock apps there was about 1.5 GB remaining. Also I have an 16 GB SD card and I found that on android 6.0 SD could be used as adoptable storage so it becomes internal. I have two questions.
First: if I do that will I have more space for installing apps or I could use it just for media?
Second: how to make SD card become adoptable I searched for that option everywhere but couldn't find it, is it possible that I can't do that even I have android 6.0?

LG did not implement adoptable storage.

@acejavelin
So, it's not possible even through the ADB?

Correct, the app calls for immersive mode, you can't just flip a switch and toggle it on and off. In some custom ROMs, they can force full screen but it's done with trickery by turning off the navigation and notification bars off.

@acejavelin What are talking about, I didn't asked anything about immersive mode..?

lol... I'm sorry, somehow I replied to the wrong post.... Yes, I believe it can be implemented by adb, if it works for the G4 it should work for other LG models as well so it seems LG just left it out of the GUI not completely dropped it, a simple google search can find the commands.

If someone wondering how to enable adoptable storage, here is how to CLICK
It says 'for galaxy s7 and s7 edge' but it works for every android 6+ phone

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


text:
How to re-partition MT6582 device? (EBR1 & MBR only available) (Infinix X507)
How could I re-partition my MT6582 device: Infinix Hot X507's Internal Storage (also known as Apps Storage Partition, System Storage) in order to expand it (it's about 1.04GB now, and only 3MB are free)?
I don't want to use Link2SD, just Internal Storage disk re-partitioning.
The stock ROM for my device has only the files EBR1 & MBR (So the device seems not to be EBR1 & EBR2 type).
The guides I have found are for the EBR1 & EBR2 type (not the EBR1 & MBR one) (examples: guide 1, guide 2).
You can find the EBR1, MBR and Scatter files here, pulled from ROM X507-D5120-L-20150923 Final (ROM info), currently installed Lollipop ROM on my phone.
I need to know how could I modify the both files in order to re-partition my Internal storage.


text:
Resize Android screen resolution at top and bottom because of dead zones
I need to resize and move my Android screen in order to be able to use the drop-down notification bar since the top and bottom parts of the screen are dead.
I was able to work with bottom buttons (back, home, recents) after using:
wm overscan [reset|LEFT,TOP,RIGHT,BOTTOM]
wm density [reset|DENSITY]

as described in this existing question. This worked for the bottom dead zone, but not for the top. I'm still not able to use the notification bar by swiping down from the top. Is there any way to resize the area of effect of the notif. bar to achieve this or anything similar?
My screen resolution is 720x1280 - 320 dpi. It's a Sony Xperia Z3C.

Sorry for closing your question prematurely. I'd expect the same technique to work for both, so I've edited to make it clear what part of the problem you still need help with. Could you add the exact commands you've used on your phone?

@DanHulme I shrinked the screen by 15 px at the bottom only because when I tried to do it with the top part it didn't sort any effect. I still wasn't able to use the notification bar.


text:
How should I Install Android OS in my Samsung Android Mobile?
I have a lot trouble with Android mobile using.Main problem it is very slow and again and again frieze and do not have good throughput.
So I figure out a lot of solution and also apply and none of the work which some time relief and after again same condition.So finally I conclud to chenge OS which help full so provide link here Which Android mobile please check OS version and comtiblity and give me advice which OS will be fit in this android and How to install.
I read a lot about it. I found XDA but can not find the way to install.

I would suggest looking here and reading their stickied posts and just read... a lot, there is still some active developing on this legacy device so your questions will likely get answered within a few days of posting.
Samsungs are generally flashed with new ROMs in the same way, use ODIN to flash TWRP, backup the existing ROM with TWRP, flash new ROM and Gapps with TWRP. Since some of these steps are device specific, best to ask in the forums for your specific device as to the best current methods and versions of software.
Unless you can ask a more specific question, the scope of this general question is beyond a simple answer.

You just need to flash a brand new firmware on the phone. I found two versions for your phone with different plateform - One on Qualcomm MSM (MSM8625Q Snapdragon 200) and the other on MTK (MT6572). Since you've provide no clear description, I'll post two solutions as well.

For MSM plateform, you'll need Odin (Heindall if your computer runs Mac OS) to flash your phone: Go here and download the firmware and follow the instructions on how to flash.
For MTK platefore (also cloned phone), you'll need a flasher called SP Flashtool and a flashable ROM. Look here.

[Update]:

For custom ROM (to upgrade to a hi version of Android OS, e.g. Android 5.0, go here and follow instructions carefully.

Let us continue this discussion in chat.

There is no way to change the OS
If you are using a Samsung phone in recent years
Then it is most likely running android
You could root it but i will NOT recommend it as it will lead to unforeseen circumstances.
To solve your problem you could try deleting some files and Apps that you do not use.

He means to flash the phone. Not changing from Android to whatsoever


text:
why I cannot remount the /system as rw?
I got a device with Stock ROM with android 4.2.2 without root yet. I got into adb shell with #. I successfully did 'mount -o rw,remount /'. However, when I try to do 'mount -o rw,remount /system'. It said read-only filesystem. In mount I can see theemmc@android mounted at /system as ext4, which is actually a device called /dev/block/mmcblk0p5.
/emmc@android /system ext4 ro,relatime,noauto_da_alloc,commit=1,data=ordered 0 0

Here is its tune2fs result:
 # tune2fs -l /dev/block/mmcblk0p5
 tune2fs 1.41.14 (22-Dec-2010)
 Filesystem volume name:   <none>
 Last mounted on:          /system
 Filesystem UUID:          57f8f4bc-abf4-0000-675f-946fc0f9f25b
 Filesystem magic number:  0xEF53
 Filesystem revision #:    1 (dynamic)
 Filesystem features:      has_journal resize_inode filetype needs_recovery extent sparse_super large_file
 Filesystem flags:         unsigned_directory_hash
 Default mount options:    (none)
 Filesystem state:         clean with errors
 Errors behavior:          Remount read-only
 Filesystem OS type:       Linux
 Inode count:              44802
 Block count:              179194
 Reserved block count:     0
 Free blocks:              40901
 Free inodes:              43179
 First block:              0
 Block size:               4096
 Fragment size:            4096
 Reserved GDT blocks:      47
 Blocks per group:         32768
 Fragments per group:      32768
 Inodes per group:         7467
 Inode blocks per group:   467
 Last mount time:          Fri Oct 21 04:11:22 2016
 Last write time:          Sat Oct 15 19:28:31 2016
 Mount count:              49
 Maximum mount count:      -1
 Last checked:             Wed Jul 20 19:51:30 2016
 Check interval:           0 (<none>)
 Lifetime writes:          94 MB
 Reserved blocks uid:      0 (user root)
 Reserved blocks gid:      0 (group root)
 First inode:              11
 Inode size:               256
 Required extra isize:     28
 Desired extra isize:      28
 Journal inode:            8
 Default directory hash:   tea
 Journal backup:           inode blocks
 FS Error count:           5
 First error time:         Fri Oct 21 04:11:24 2016
 First error function:     ext4_init_inode_table
 First error line #:       1156
 First error inode #:      0
 First error block #:      0
 Last error time:          Fri Oct 21 04:28:29 2016
 Last error function:      ext4_remount
 Last error line #:        4269
 Last error inode #:       0
 Last error block #:       0

It has 5 errors which probably my attempt to do remount. I try to boot into recovery mode. But it does not have adb access. So I cannot do e2fsck. Any suggestion about what should I try to get it mount as rw?

You'll need root for that. Than in shell type "su" (without quotes), grant root for adb on phone and than use "mount -o rw,remount /system"

I've already in root shell. I do not need su at all at this point. I do want to push su in to /system/bin. This is not privilege problem since I can change / and any other dir/file permission without any problem.

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


text:
android cast for windows with 30fps using usb?
I am looking for a free solution that can cast (mirroring)
 to windows pc using usb so i can debug on my android phone but i don't have to use my phone to see the app
like this one https://github.com/yangh/sevensquare

Is Vysor good enough? You don't even need USB - it can stream over ADB Wireless.

i am looking for free software , visor is not free and also its not good with speed its around 7fps

Vysor is free at the minimum resolution; also in my experience it may not be 30FPS but could certainly reach 20 over USB.

Try downloading this app called "AirDroid" from Play Store.
It has a feature called "AirMirror" which lets you mirror your phone screen over WiFi(root required) or USB(no root needed).
I've been using it for a few years and it's pretty stable.

its not free , is their any free app you can recommend

this app requires a ton of permissions. is it normal?


text:
Cannot mount Galaxy S7 with simple-mtpfs (with S4 it used to work fine)
I would like to mount my Samsung Galaxy S7 (SM-G930F) to an folder using simple-mtpfs and I cannot do it as I used to (on previous Fedora and older Galaxy S4).
If I simply plug S7 to my computer, I can browse it using Nautilius, but I cannot access it in terminal as ordinary folder, what is exactly what I want to achieve.
Every time I plug S7 I check twice that it works in MTP mode, so that isn't the problem.
In the past, I simply plugged the phone and typed something as:
$ simple-mtpfs /home/adam/S7

Now, I can perform it and even my phone ask me to confirm MTP choice, but the catalogue S7 is still empty.
I also tried to mount it as root or ordinary user and by device number, but with no result.
# simple-mtpfs --list-devices
1: SamsungGalaxy models (MTP)

$ simple-mtpfs --device 1 /home/adam/S7
# simple-mtpfs --device 1 /media/s7

$ simple-mtpfs /dev/libmtp-3-1 /home/adam/s7
# simple-mtpfs /dev/libmtp-3-1 /media/s7

I even tried to do it by udev rules:
# dmesg | tail
[16821.258485] usb 3-1: Product: SAMSUNG_Android
[16821.258487] usb 3-1: Manufacturer: SAMSUNG
[16821.258489] usb 3-1: SerialNumber: 98867?????????????
[16827.556099] usb 3-1: USB disconnect, device number 29
[16830.383366] usb 3-1: new high-speed USB device number 30 using xhci_hcd
[16830.548882] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860
[16830.548887] usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[16830.548903] usb 3-1: Product: SAMSUNG_Android
[16830.548905] usb 3-1: Manufacturer: SAMSUNG
[16830.548907] usb 3-1: SerialNumber: 98867?????????????

# touch /etc/udev/rules.d/10-phone.rules

Content of /etc/udev/rules.d/10-phone.rules is set to:
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}="6860", SYMLINK="S7"

After reloading rules I have /dev/S7 and I've tried to mount it:
# udevadm control --reload-rules

# ls -l /dev/S7
lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/S7 -> bus/usb/003/075

# ls -l /dev/libmtp-3-1
lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/libmtp-3-1 -> bus/usb/003/075

# simple-mtpfs /dev/S7 /media/s7

And still without any result. Mounting doesn't give and errors, but the directory where I about to mount is still empty.
The details about my setup:
# uname -r
4.7.7-200.fc24.x86_64

# rpm -qa | grep mtp
simple-mtpfs-0.2-6.fc24.x86_64
libmtp-1.1.11-1.fc24.x86_64
gvfs-mtp-1.28.3-1.fc24.x86_64

# rpm -qa | grep fuse
fuse-libs-2.9.7-1.fc24.x86_64
glusterfs-fuse-3.8.4-1.fc24.x86_64
fuse-2.9.7-1.fc24.x86_64
gvfs-fuse-1.28.3-1.fc24.x86_64

Under Windows I can plug the phone and I see its whole content (the same as in Nautilius), but not as ordinary USB Mass Storage (drive with a letter assigned).
I've also tried to enable Developer Options and set the USB Debugging Mode and ... nothing.
Thank you in advance for your help.

Extract from system log (Fedora's journalctl) after plugging the phone and typing simple-mtpfs /media/s7 :
# journalctl -n 53
-- Logs begin at śro 2016-10-19 21:29:20 CEST, end at sob 2016-10-22 09:26:43 CEST. --
paź 22 09:24:31 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 10
paź 22 09:24:31 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /384_eccedcee from uid 1000 finished with success after 45ms
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 11 using xhci_hcd
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG
paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867?????????????
paź 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
paź 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/'
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/'
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5e7b19a6b9795726a5c47a99a89757bf', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null
paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133
paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86
paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19)
paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19)
paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19)
paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19)
paź 22 09:24:35 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /385_decdbbba from uid 1000 finished with success after 45ms
paź 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use
paź 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: reset high-speed USB device number 11 using xhci_hcd
paź 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use
paź 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3250 (events) did not claim interface 0 before use
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 11
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 12 using xhci_hcd
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG
paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867?????????????
paź 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
paź 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/'
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/'
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:0e6a8582e05ac627e4014d1ca1e6ec87', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint
paź 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Activating service name='org.gnome.Shell.HotplugSniffer' requested by ':1.16' (uid=1000 pid=1832 comm="/usr/bin/gnome-shell " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
paź 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Successfully activated service 'org.gnome.Shell.HotplugSniffer'
paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null
paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133
paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86
paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19)
paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19)
paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19)
paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19)
paź 22 09:26:43 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /386_acdeddea from uid 1000 finished with success after 48ms

I had a similar problem using jmtpfs. The "solution" I found was to unmount/remount the device after allowing the connection on the phone following the first mount. This is not elegant, but maybe somebody with a better understanding of how Android handles this aspect of MTP permission can provide a better answer based on this answer (if so, please ping me in the process!).
EDIT: I just tried something else... after plugging in the phone, from the pulldown notifications list selecting the one about "connecting via usb" gives a set of choices; explicitly selecting the MTP option, then mounting, works normally.


text:
SD Card formatting problem
Hi I have a SD card 8 Gb and when I format it into 2 partitions (1 Fat32 and 1 ext2) My phone shows

Unfortunatelycom.erricson.usbux is stopped

My phone

Sony Xperia Tipo St2l1
Strontium *class 4 * 8Gb Sd

link2sd is largely an abandoned app, it hasn't been updated to deal with changes in MM and looks like it never will be. I still use it all the time though and will continue to, for the purpose of merging duplicate system apps.
I have also used a second partition with the app on my older devices in the past, I have had a lot of stability issues with the apps using the sdcard partition so I'll recommend not using it -- instead, do as I do and merge duplicate apps, and convert other apps that'll fit in your system partition to a system app. there's a couple things to watch out for:
1. never ever merge Google Play "Services" it causes major problems.
2. link2sd doesn't check if there's enough free space, so keep an eye on that yourself.
3. some roms (I think odexed) will clear the app's data when merging/converting, so if there's essential data on an app you're going to work with, back it up with titanium backup, then covert, then restore "data only"
if you still intend to create a second partition, it'd be best to use Aparted
https://play.google.com/store/apps/details?id=com.sylkat.AParted
and the "second partition" must be created as the first partition, the actual second partition created to be your general storage use, otherwise link2sd won't detect them properly
edit:
wowowow I call the app abandoned after like a year of no updates, then only a few hours later it gets updated, and promises another update with "comprehensive support for MM and N" just my luck lol

Thnx but I figured it I was just partitioning in logical


text:
I deleted a review in play store by mistake. How do i recover it?
I deleted a review in  google play store by mistake. How do i recover it?

I have deleted many reviews myself and have from time to time deleted a wrong one... there's no way to directly recover it but if you're quick enough and own a different android device, on a different email account, you can find the review and take a screenshot of it before the deletion request is processed.
I wouldn't exactly call that "recovering" but it's an option


text:
Battery LED keeps on if decrypted while charging
tl;dr If an encrypted phone is decrypted while charging, the battery LED will keeps on, even after disconnecting charging cable/change setting/soft reboot.
Device: Samsung Galaxy S4 LTE (GT-I9505) running CM13 snapshot 20160820
I have wiped the system+data+cache partitions of my S4 and flashed CM13 rom. Default setting is to have battery LED on while charging. I disabled this in Settings. No LED on during charging. That's what I want.
Then I set up device encryption (Settings -> Security -> Encrypt Phone). Afterwards, I disconnected the charger, reboot, and enter my password to decrypt the phone. Then I connected the charger again. Still no LED on. (Normal)
Then I reboot the device again. Before decrypting the phone I connected it to charger. The battery LED is now on with green colour.  I guess it's due to my settings being encrypted, and the default of "LED on while charging" is applied.
But when I decrypted my phone while charging, the LED keeps on even after the lock screen is shown, or when it is unlocked to launcher. I disconnected the charger, putting the device in non-charging status. The battery LED is still on with green light without charging.
I tried repeatedly (dis)connecting charger, turning LED on/off in Settings, and even soft reboot. The charging LED still shines on. The only way I managed to get the LED off is to shutdown/regular reboot the device.
Further experiment shows that this problem appears only when I press enter (after entering password) to decrypt my phone while charging. The phone is normal (LED off) if I enter my password while charging, disconnect the charger, and press enter to decrypt the phone.
Question: Is there any way to decrypt the phone while charging, and still keep the battery LED off?


text:
Can emails be filtered by GMail (or something else) for an IMAP account into a folder?
I have an IMAP email account that receives daily emails from a cron process on a regular basis. I currently use GMail to read this account from my Android device. Is there a way for the GMail application to automatically filter emails to place them in an IMAP folder so I do not receive notifications for this every time a cron email arrives in the inbox?
I have Thunderbird setup on my laptop to automatically move the emails from the cron job to a folder. I would like to do something similar to my Android mail client.
I am interested in solutions for Android 4.4, Android 5, and Android 7.


text:
Disable Touchboost not available in EX Kernel Manager
following some threads on improving battery life, I want to disable touchboost on my Google Nexus 5.
I am on:

MultiROM TWRP
ElementalX N5 Kernel
Android 6.0.1, non CAF

And currently using the EX Kernel Manager to manage my CPU settings.
In this thread:
https://www.reddit.com/r/AndroidQuestions/comments/43cq7h/ex_kernel_manager_no_touchboost/
It says to reflash SuperSU and select "Do not install" when TWRP asks to install SuperSU. The problem is, I can reflash SuperSU, but the "Do not install" option does not come up.
Do I need to completely remove SuperSU to get this option? Thanks.

I don't think it matters. If you install the the correct kernel you should be able to disable touchboast. See my screenshot below.
Remember if you're updating to a new stock ROM, you can skip flashing TWRP recovery as may be patched on first boot anyway. So you'll need to flash TWRP and SuperSU again after first boot. So after first boot, put your device back into bootloader mode, flash TWRP, reboot the boatloader, then you can boot into recovery and install SuperSU.
TWRP does not ask to root anymore from my recent experience. I've flashed a Nexus 5, 2 Nexus 5x, and a 6P recently with the most recent version of TWRP, factory ROM with the latest security patch (July) for 6.0.1.
Again, each time you typically update to a new version of the stock ROM, you need to flash TWRP, then transfer the most recent ZIP of SuperSU to your SD and install from TWRP (make sure you wipe your davik/cache!).  Once you've done this, you can install EX Kernel and then modify your gov, cpu, and turn off touchboast.
I know you have a Nexus 5 but this post by SlimSnoopOS on XDA will show you everything you need to know on rooting, backups, TWRP, custom roms, kernels, etc. I'd also check out this post by soniCron, regarding the exact task you're trying to complete, which is modifying your gov on your CPU so your battery will last longer.
Hope this helps.

Hi, I have installed the ElementalX kernel as stated, and rooted. However, in EX kernel manager I can't see touchboost. Going through my /sys/module directories, I don't see an option to disable touchboost as well. Any thoughts? Should I reflash the ROM? Also, should I root before I install the EX kernel, or not?

you installed the app. you still need the kernel. open EX and tap ElementalX and install the custom kernel. once you do that, different options will appear within the app. I'm assuming you installed the app only. ElementalX won't work unless you're rooted

I added a screenshot to my answer showing my phone has the updated kernel

I installed the kernel- flashed it from TWRP. Unfortunately, I think I just bricked my phone (an actual hard brick). When I boot it gets stuck in a bootloop; when I try to enter the bootloader the stupid thing boots to the system within 2 seconds. I took the phone apart and checked out the power button, and it looks OK. Any suggestions or workarounds, like perhaps a hardware reset or a different button combo?

yes. download the factory image here: https://developers.google.com/android/nexus/images?hl=en  also, check out step 10 in this post (http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930) which will show you the steps to make it stock again. if you can still boot into the bootloader and flash the device then you're not bricked.

Unfortunately, the bootloader will automatically boot into the bootloop. It won't stay in fastboot, which is extremely strange. I can see the screen but I don't have time to pick "recovery" or anything else.

Hi, a bit old, but I managed to desolder and resolder the power button, which was the issue, and reflash Android. To disable touchboost, do I need to use the hammerhead-caf image?

yes. hammerhead is for nexus 5, bullhead is nexes 5x https://developers.google.com/android/images

No, I meant, do I need the CAF image (Code Aurora)?


text:
How to prevent an OTA update from being installed?
How to prevent an OTA update from being installed?
I tried all tips to remove the OTA update notification for lollipop 5.1.1, none worked.
Still, that pops up and has a big install button near the home phisical button, that I am scared of misspressing being forced to install it even if I am in a hurry...
So, how to prevent it from working at all without rooting? Is it possible at all?
Model: samsung galaxy j7
Wont work screenshots (mixed as I can use only 2 links):

can  you just turn off notifications from google play services?  you won't get the notification.  that's how i've always done it.

@fady if I disable the google play services notifications, the ota update notif will remain there :(

The dirty way to do that is to fillup your internal storage with several copies of any 100mb file.
As soon you are low in free space (here is about 400 to 500) that popup with the big install button will show no more, but even if it does, it wont be able to proceed.
This seems to work better after a reboot. The message with install button seems gone now!
And If you need some space, just delete some of these temp files.

It is fun how something that works is voted down only because ppl are not open minded to accept a workaround even if they dont have a better working solution...

The best way to quickly duplicate big files is to keep one video file of about 100mb in a tmp1 folder, then copy it to a tmp2 folder using the app QuickPic as it auto renames duplicate files making the this process painless and even fun!

Goto Settings then Apps
click the option menu and select Show System Apps
Search System Updates in the app list and click on it.
After that uncheck the option Notifications
If you want permanent solution  Force Stop the System Update app and Disable it.
Hope this will get your work done.

There is no system apps here: settings / applications / application manager / all. There is no system updates either, there is only two software update of different versions, both active, and neither allow disabling their notifications...

On both, force stop is also disabled, and their icon is the same of the ota notification

Try long press click on notification then select don't show any notification

There is no such option.


text:
Is it possible to limit power supplied by host connected with OTG cable?
Is it possible, to lower the power that is supplied to the devices through the OTG Cable by messing around with the host?
My Galaxy S3 is the host and this connection is draining battery well to fast, the device has it's own source of power but I can't disable the drain on this side.

Fiio X3 as DAC, it can't be changed on X3's side.
I know I can limit how fast is the phone charging through USB so it should be possible the other way around right?

Please don't post duplicates. It doesn't help you or the potential answerers or the site


text:
Restore: Any Solution?
Presently, running on cyanogenmod 13, I need to switch the device to cyanogenmod 14. But, the problem is that, I need to restore my contacts, call log and messages to newer version.  I have tried using Titanium backup, but it Force closes system apps on new version.  I also know that, this is due to compatibility issue of different android versions. Any solution to try out?

yes. it worked well (from MIUI to CM13).  I will try it from cm13 to cm14, when a bug-less cm14 available. It will definitely works.

Super Backup: SMS and contacts is a good choice , though I haven't tried it on CM.
You can backup SMS/ Call logs/ contacts to your Google drive account or you can mail them to yourself (even schedule, if required). It has a bunch of other features. I have used it for a while without any issues


text:
Link redirects to Play Store when I want it to open in app
This happens to me a lot, but let's use today's example. I click a SoundCloud link on Facebook, it redirects me to the Play Store to install the SoundCloud app. Fair enough. I install it and go back to Facebook to click the link again to open in app. Again, I get sent to the SoundCloud app in Play Store. Now, it is obviously installed already so I click open, but when I do it, seems like the link has been forgotten on the way, so I only get to the SoundCloud home page.
This happens to me with many links and many apps, opened from both Chrome and Facebook.
Any tips on how to fix this minor bug?

I had the same problem with Google Hangouts. If you request the Desktop version of the Google Play Store on Chrome, it will load the Hangout appropriately, but not from the mobile version of the page.

You can try to clear the default actions for the Google Play store App from Android Application Settings to get an option to choose the app which launches the link from Facebook.

Go to System Settings > Apps > Google Play Store
Press the "clear defaults" button to clear all the default actions set for Google Play Store

After you do this, clicking on the link should let you choose the app (e.g., SoundCloud) that you want to launch the link with.

Make sure that Facebook and its Messenger app are set to open links externally.

This is a good idea, but to be helpful you need to [edit] your answer and explain further. How does one make sure that they are set to open links externally?

AFAIR, this is a setting inside the Facebook app and the Messenger app, not a general Android settings.

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


text:
"Sorry, something went wrong" when trying to "Set up nearby device"
I have a new Google Nexus 5X model LH-H790, that's meant to replace an also new Nexus 5X LG-H791.
When I try to transfer the account from phone to phone ("Set up nearby device") I see the confirmation code as expected on both phones.  Pressing next gives the unhelpful error message "Sorry, something went wrong".
The devices are next to each other, or nearby, or touching, both connected to the same WiFi, and both machines are virtually new.  What could cause "Sorry, something went wrong"?

Wild guess... Are the batteries in both devices sufficiently charged ? It may not be working since transfer apps, contacts etc may be time consuming and is expecting the battery to support?

Try removing previously paired blue tooth devices on the old phone. See here

@beeshyams both batteries are fully charged.

I had the same issue. Did a lot of things and something finally worked:
1) deleted all known bluetooth devices on old phone
2) physically moved devices that were close and showing up
3) restarted old phone after ^
4) factory restarted the new phone after the failed attempts
5) touched the phones together sideways so their backs perfectly aligned (the camera lens was creating a gap)
I was using android 6.0 on one phone and 7.0 on the new, so that shouldn't be a deal breaker.

I had the same issue today. I had to replace my old (broken) Nexus 5X to a new Nexus 5X.
After unsucessfull tries (same error message as you) I started to all reconfigure manually when I noticed my old Nexus 5X was running Android 7.0 and the new stock Nexus 5X was still on Android 6.0.
So here is what I did: I accepted the update to Android 7.0, then did a factory reset on the new phone and I restarted the procedure and it worked like a charm.

Yeah, here they are both on 7.0.  But,  one has 7.0 patches pending so might try that.

Had the same issue transferring from my old 5x to my new replacement 5x. It turned out the new phone was on OS version 7.0 while my old phone was on 7.1.1. So I downloaded and installed the update to 7.1.1 on the new phone, did a factory reset on the new phone (which still keeps system updates but deletes user data), tried again, and voila! It worked.
tl;dr make sure both phones are on the newest, most updated version of the OS, do a factory reset on the new phone, and try again.


text:
My google play store is not working.
it shows no internet connection whereas the mobile is connected to the internet.
i tried to reboot the mobile yet the problem remains. my mobile is rooted . it was rooted before 1.5 years but the problem started 1 month before.

Were you using freedom app ?

yes i am using freedom app.

So, you must be using core service. Try to search on this site of how to resolve this situation. It has been already answered. You have to tweak HOSTS file in root directory somewhere. Find it and enjoy ?


text:
Why do I need to turn on location services to pair with a Bluetooth device?
Whenever I try to connect my Samsung Galaxy S6 with Android 6.0.1 to a Bluetooth enabled device, it tells me to enable "location services".
When I complained about this, the software vendor replied: "Recent updates to the Google Android API affecting Bluetooth LE technology requires location permissions to be granted in order to use the app."
I fail to see the need for this.
This discussion talks about this. The technical reference says the apps need to have certain permissions, not that location services be active.

To access the hardware identifiers of nearby external devices via
  Bluetooth and Wi-Fi scans, your app must now have the
  ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions

Question: Does this mean the software vendor's statement is incorrect?

The permission system is definitely completely borked with the MM restructuring (explanations say they had "Bluetooth beacons" in mind which could be used to locate you). To my understanding, your doubt is justified and the vendor's statement incorrect: Apps need the permission in order to access Bluetooth. But if they need a location service to find the hardware ("turn right on the second solder joint, pass the transistor at gate 3…"), I'd be surprised. I very much doubt location services need to be enabled for that, but I have no MM device to verify.

Can't add an "answer" so here it is as a "comment": I run Android 11 on a Galaxy and have a Huawei watch, but it probably is the case in general: It seems that Location is required to pair >>or connect without pairing<<, and the app (Huawei Health) does the latter, it never pairs (on Bluetooth level), so location is required every time. To fix that: revoke location permission from the app and toggle bluetooth off and on to disconnect; install "NRF Connect" from Play Store, start it, enable location, find your device in the list, tap three dots and then "bond". Now it connects without location.

[the above comment continued] The app (Huawei Health) keeps complaining about requiring location, but connects and works anyway when location is disabled. The side effect is that bluetooth icon stays in the status bar and the watch appears in the list of bluetooth devices in Android settings, which doesn't happen when connecting through the app without pairing. I normally see that icon only when connecting BT headphones so I'm a little annoyed it no longer indicates that.

@EvgEnZh I've unprotected the question, feel free to post your comments as a proper answer, thanks.

Also, a reminder for visitors and potential answerers/commenters: this is a Q&A site for Android users, not a discussion forum nor affiliated with Android/Google. While we understand you may be frustrated/angry with a company's decision, we expect "Answers" to really answer the question and preferably with a technical explanation, not for complaining/ranting only. Pure rants will be deleted without prejudice since there is nothing the community can do with them.

My understanding of Bluetooth is that applications using Bluetooth have direct access to the device MAC address for the purpose of pairing. I will assume this for this answer.
If you can read MAC addresses of WiFi or Bluetooth transmitters, you can locate a device. This is how WiFi/Bluetooth location works; you listen for MAC addresses of transmitters and look these up in a giant global database.
Therefore, any application using Bluetooth and a data connection is theoretically capable of locating your device. I am not sure this is practically possible; Bluetooth does not have the same range and semi-permanent access point infrastructure as WiFi.
By requiring location services to access Bluetooth, you ensure that the user understands their location information may leak when they use Bluetooth. In versions of Android prior to Marshmallow, the user could use Bluetooth without location services enabled, but location information could leak. In these older versions, you could also run WiFi scans to find MAC addresses without location services enabled, which again meant that your location information could leak. The requirement to allow location services to use Bluetooth is about ensuring that someone who disables location keeps their location private.
I would characterize this issue as a design problem and not a bug. A bug is presumably fixable, but it's not clear to me you can use Bluetooth at all without potentially leaking location information. Bluetooth was created before anyone considered WiFi and Bluetooth location services.

How does Apple bypass this requirement?

Also, if this is MAC related, why can I have Wifi on and Bluetooth off?

This sounds more like a fatal flaw with conflating a service that provides direct access to that information with the notional possibility that information provided by that service could become available. Disabling location services doesn't, I presume, disable textboxes labelled "where are you?" so disabling bluetooth only accomplishes a half-baked version of the design intent. It uses an on/off user request to merely shrink the attack surface for adversarial apps attempting to infer location without permission, without eliminating it all.

There is still a difference between the "Location permission" (the user accepts that the app can access the location, via the Bluetooth device MAC address) and the "Location Services" (the user accepts that any technology - GPS, WiFi, Bluetooth, LTE... - can be used to determine the Android device location by any app). The former just means your location may be disclosed because one may know where the Bluetooth device is, the latter literally means that the Android device can use the GPS to determine where a Bluetooth device is located.

The vendor is correct, you need to enable location services to scan for WiFi or Bluetooth LE devices.
See bug #185370 for details. Google said they have fixed it in a 'future release' but according to comments on the bug, it's still not fixed in Android 7.

Edit: I previously said location services are only required when the App starting the scan is running in the background. The source code indicates this is only true if the API-Target is < Android M.

If it's an Android bug, why would the vendor be right? They should have replied: "It's an Android bug"

Is it possible to link the device to bluetooth outside the App?

You asked if the vendor's statement is incorrect. It is not incorrect, you do need to grant location permissions to the app. Additionally, due to the bug, you need to enable location services.

It is exactly how @jomo writes. And Google is definitely here the one to blame... Luckily, things seem to move in a positive way after 5 years.

The OP asked about Pairing (the original, privacy-safe Bluetooth method to define a new, trusted relationship by confirming a code sent from the other device). For pairing, an app DOES NOT need:

Scan for a MAC address
"Location Services"
ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions (not 100% sure on this)

I believe the Bug #185370 is unrelated. There is no bug; there are dishonest vendors.
A MAC address has a manufacturer ID and device ID, and usually a model number. Android 6.0 castrated a feature which previously allowed a manufacturer's app to scan for MAC addresses to link to their own products, to save you the trouble of Pairing and other fun things.
However, many apps abused it to find all WiFi & Bluetooth products in your home, what car you drive, your data providers, etc, and figure out out where you work, what your friends have or who they are, how often you visit, which stores you go to, etc. (think marketing, election meddling and "free" games from other countries).
From Google:

To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00.

Again, Location services are not needed for "Pairing". This is from my new Bluetooth "BlueDriver" ODBII vehicle code scanner (i.e., check engine light):

Location Services
BlueDriver can use the Bluetooth Location service to scan for nearby BlueDriver sensors. Instead, if you wish, you can pair a sensor in the Bluetooth settings of your phone.

(At first glance of their Privacy Statement I freaked: they will upload to their servers, the VIN (includes mfr, model, ID, etc.) of every car I service, plus all of the car's data with driving habits, etc.; I can't opt out of ADS pouring into my email. Then I read it to the end. I found they have very strict policies about keeping it private and NOT sharing it. Very unusual!)
Location Services can be legitimate. The Fitbit app doesn't need it to connect to my Fitbit, but it may help them gather all the data they want from me. And believe me, it's plenty more than they need to check my heart rate and count my steps, and the mapping is optional.

I will need to add my two cents to this -- being an app developer who needs to scan for Bluetooth LE health devices. I also need to do this in the background so the app can re-connect to the device without the user having to engage with the app.
The fact that Android requires FINE location and background permissions to do this on the latest version has proven to be a great headache. The idiots reject my app because of this, yet the app does not need location info or care about location. The app also filters the scans to assure it only exposes health devices that it can support (there are a lot of proprietary devices out there).
I can background discover SPP and HDP (pre-10 Android killed HDP in version 10) without these permissions. Working with Bluetooth is hard enough for many people, especially the elderly who are not particularly tech savvy. Android is making using their platform more and more impossible to use in remote patient monitoring situations.
So my answer to the original question. The app developer is not 'lying'. Android forced this!

Yes, this is a big headache.  But the problem is because Google collects everyone's WiFi SSID, now they can be used to determine exact location.  Bad Google. Bad.

I am not scanning for WiFi; I am scanning for Bluetooth Low Energy health devices. I don't need location information to do this task. Scanning for BTLE devices involves listening for connectable device advertisements. In those advertisements there can be service UUIDs which tell what the device supports. If the UUID supports a health device service that my app can work with, I pass that information up to the user and ask them if they want to connect. If yes, I connect. No location involved. But Google requires location permission for that scan. Why???

First, my apologies. I have no idea how I got to writing about WiFi, when you clearly wrote "Bluetooth LE".  Sorry about that.  Yes, I agree it's inappropriate of Google to require this permission.  The only thing I can think of (not defending Google, by any means) is that doesn't Bluetooth LE use the same APIs as Bluetooth?  If so, well, technically, Bluetooth (not so much Bluetooth LE) can kinda sorta be used to provide a fine location in very certain circumstances.   In all those cases, someone would have to know the exact location of the Bluetooth device. Continued...

What I consider a bigger issue for Bluetooth is that I think it's possibly to more or less uniquely identify a person using Android's Bluetooth APIs.  And AFAIK, Google has no permissions to specify, "this app can identify you".  To make the world better for devs and consumers, Google could (and should, IMHO) provide an additional limited API for Bluetooth that will never provide data that could be used for identification purposes.  That would likely be sufficient for most apps, without any privacy implications for users (and problematic issues like you are experiencing for devs).

Generically restricting the content of a Bluetooth communication would defeat its purpose. It is agnostic to the content. I can understand demanding an app indicate if it does so. My app does not expose or use location information. It only works with peers it understands. Those peers follow standards. If they don't it wont work! Why require location permission? I use SPP Bluetooth, too for the same purpose. No location permission for that!

I definitely agree that anything that cannot be used to determine location should not issue any permission requests for location.  I'm thinking it's either an error (or laziness) by Google, or someone has figured out how to use that API to determine location.  Perhaps post it as a bug on Android's dev site, and see what type of response you receive.  Please report back what you learn!

I suppose one could use the scanner (or any other means of discovering Bluetooth devices including classic) to get location if you had devices out there that worked in secret to do such. Given the short range of Bluetooth, that seems painful to do. However, I have specifically stated that the app only uses the BluetoothLeScanner to scan for personal health devices (that's its purpose) and I don't use or expose location info. Google still rejects the app. I'm lost and frustrated.

I can certainly tell that you are frustrated.  I'm sorry you're going through this.  I feel for you.  Although your app does not use or expose location info, Google and the Android OS are not smart enough to know this.  The question is: Could an app potentially do this using the APIs that are triggering the warning?

For making a Bluetooth connection, the dependency on location can be related as below -
If an App can scans for known Bluetooth beacons, then it can also figure out the location from the available beacon. So if an app gets access to use Bluetooth in your phone, it is likely that it can also retrieve your location. So it makes sense that an app asks for location access when it try to scans for Bluetooth devices.
So the dependency on location for Bluetooth is added in Android 6 (Marshmallow) onwards. Moreover in recent Android version (10 onwards) they have further restricted the use of location based on whether you are using the app (foreground access) or your app is running in background.
One more note is - this dependency on location and related permission is not specific to Android but also added in iOS.

There are a lot of nefarious uses one can dream up. Given Bluetooth's short range that would take a damn lot of beacons to track your position. That being said one could do the same crap with standard Bluetooth if you had a correctly designed peer. But there are no location permissions for that.

With BLE. location can be inferred by good and bad actors.  Also location can be derived from an IP Address (excl VPNs)    I'm confused in the world of security. Encryption is supposed to be our saviour, yet location, cookies and browser history does a pretty good job at tracking our behaviours.   Why is it that Google "pretend" to be secure, while at the same time use cookies and save our search history?   Sounds to me like they want to be the custodians of this info for their own benefit, while preventing others gleaning information under the guise of "security" .... whose security?

Apps no longer need your location to scan for nearby Bluetooth devices on Android 12

Android 12 adds new permissions specific for Bluetooth scanning and tracking, without needing apps to access the wider Location permission.
[...]. Now, apps no longer need to ask for the location permission to keep track of a nearby Bluetooth device.
This is probably a weird one, and you might ask yourself: Why is the location permission needed for scanning nearby Bluetooth devices? Basically, before Android 12, the ability to scan for nearby Bluetooth or Wi-Fi devices were tied to Android's broader "location" permission. The reason this was the case makes sense: You can definitely track a device by inferring what Bluetooth devices or Wi-Fi networks are nearby or are currently connected. So even if an app just scans for Bluetooth devices and doesn't utilize GPS or other tracking technologies, it still needed the same Location permission nonetheless.
[...]
Now in Android 12, Google has added a new BLUETOOTH_SCAN and BLUETOOTH_CONNECT permission, which are dedicated permissions distinct from the location permissions that apps can request. After being granted these permissions, an app can scan for nearby devices without also requesting the location permission. Only apps targeting Android 12 can declare these permissions, however.

The question is about Android 6.


text:
Can we run android os completely from RAM?
I asked this question on Stack Overflow but got no response and I'm not sure if this is the right place to ask this question... but anyways here goes -
Is it possible to run Android completely from RAM?
Seeing as some smartphones these days have almost 4GB of RAM, is it possible to run at least older android versions or some other lightweight linux OS completely from RAM?
If yes, what are the limitations?

I don't think it is possible for reasons mentioned here, while the question is different but the answer should be valid in this case too

I guess it is theoretically possible. Maybe not on all devices. You can run Android on pc's using android-x86 or Remix OS or similar. The accepted answer in beeshyams' very interesting linked question is from 2013, a more recent answer suggests it might be possible.

The kernel and the most important system parts are already in a ram-disk loaded at boot. Therefore one could say that it is already running from RAM.

@Robert  Therefore one could say.... I guess that would be one who don't know what is talking about... all the OS(es) run the kernel from RAM. That doesn't mean the entire OS runs from ram. Remove the flash drive after the OS starts up and then if nothing crashes you could say that you run it from RAM.


text:
Does 4G consume more battery than 3G if I don't use it for data?
Each generation of G consumes more battery  [( 4G compared to 3G or 2G) or ( 3G compared to 2G) ] than the previous one when used for data, since more complex algorithms are required to process higher data speeds
My question is if I don't use mobile data at all ( instead use Wi-Fi), but leave the mobile on 4G, will the battery consumption be the same or more as compared to 3G ( and on similar lines 3G Vs 2G), given identical usage and signal strength?
(I haven't found anything that talks of this, but I suspect power consumption would be higher)

You don't find much on this because it varies by chipset and device... Newer radio transceivers are much more efficient and can actually have lower battery consumption on LTE over HSPA or CDMA connections, but this can vary even by the band used. The answer, unfortunately is to test and see what is best in your situation, there is no all in one answer.

@acejavelin: Thanks, but to narrow down, if I consider that chipset , band etc are all the same and hence don't alter the equation, what is the verdict? Testing unless done in a professional setup is pointless, especially user testing. I am looking for pointers atleast

Apart from which: Unless your device AND provider support VoLTE (voice-over-LTE), if you don't use data running the device on LTE/4G makes absolutely no sense: as soon as you need to make/take a call, the device needs to switch to 3G. So depending on coverage, you'd rather lock it down to 3G or even 2G then. // BTW: My Wileyfox Swift lasts a full week on LTE, while my LG P880 must be recharged after 24h on 3G. So as Albert Einstein stated: "Everything is relative" :)

the more you keep your screen on when you are waiting for things to load you're using more battery. (unless you're downloading something while the screen is off)
if the total amount of data you're using is equal for both cases you should be using more power when you're using slower internet.
how much you leave your screen on matters more than many other things because things other than display are relatively more optimized.
if you're using a lower brightness mode or darker theme on an AMOLED display that would mitigate the difference

One important consideration is the strength of signal, if you have a stronger 4g signal in your area, 4g may consume less battery... But fallback to 3g in non volte networks is really irksome... Sometimes I miss calls when I am on 4g and using data. 2g definitely has significantly less battery drain.. so I keep my phone on 2g and switch to 4g when needed. I use power toggle widget on home screen to quickly reach network change screen.

...
  The LTE radio states drain slightly more power than their counterparts
  in 3G, because the tail states (Short DRX and Long DRX) stay at the
  higher base power, while much of the 3G tail is in the FACH state
  which uses half power.
  ...

So basically 4G modules consume more energy compared with 3G modules BUT

...
  the IC/chip technology is improving, batteries are becoming better, 4G
  coverage is improving, technology is maturing, networks are getting
  optimized, etc. All this will lead to your 4G devices performing much
  better than 3G soon. The difference will not be noticeable anymore.
  ...

So actually you can't feel any difference between 3G-4G energy usage.
Source: here.

Thanks. The linked articles do not differentiate between using the phone without using data as asked in the question or using voice and data ( agreed, it fits not say so explicitly buy that is the connotation, when you read the links mentioned). Use case in question is leaving the phone in 4G without using data at all. I am looking for answers staying this concern

Actual modem power consumption values are closely guarded and not made available publicly. Although I can’t share exact numbers, I can tell you that 3G and 4G standby power consumption is almost identical. 4G data does consume more power than 3G data, however this shouldn’t come as a surprise because the data speeds are so much higher. However, not all 4G use cases consume more power. VOLTE actually consumes less power than WCDMA, CDMA or GSM talk. Power consumption also varies by chipset, for example, iPhone 7s with Intel modem have less than half of the 3G talk time of phones with a Qualcomm modem. Source: http://nordic.businessinsider.com/iphone-7-battery-life-2016-10/ Here's more info on the differences between the two: https://www.theguardian.com/technology/2016/oct/21/32gb-iphone-7-slower-than-more-expensive-versions-tests-show

Thanks +1. While concrete figures may not be available, reasons for power usage patterns in non data would help


text:
How can i create shortcut
I've HTC DESIRE 326g dual SIM with kit Kat working fine. I want to place a shortcut or any file actually on home screen . How to do that . Thanx in advance.

Download and install "ES file Explorer" from play store.
After installing come to home screen and long touch anywhere for about 3 secs.Now it should show an option to add widgets. Click on it. From the widgets list find ES file explorer app icon and drag it right into the home screen where you need to place the shortcut.
As soon as you place it a pop up window appears to select a file for which the shortcut needs to be created. Choose the file you wanted. That's it a shortcut for that file is created on the home screen.

Will Astro file manager do?

Mods please delete my first two comments.

Same way it worked with Astro file manager


text:
Show a piece of a Google Spreadsheet document on Andriod main screen
I have a Google Spreadsheets document that is frequently updated and there are some cells in it that show a kind of short summary. Let it be a 2x2 block of cells that contains two headers and two values. I want to see those cells on the main screen of my Android 6 device as a widget to be able to check those values at a glance without actually opening the Spreadsheets app.
Is there any relatively simple way to get this result? A page of code on Google Apps Script and/or some tricky use of IFTTT maybe?

this should help you

Many thanks to beeshyams. Here is a way to do what I wanted.
This app allows to parse chosen content from any web page and use it as a widget. In order to have a Spreadsheets document as a web page one can publish it (File → Publish to the web...). The cells of interest can be linked from another page of this document (or even from another document) using formulas like =Sheet1!A1 so that the page being published would only contain what is expected to appear on the widget.
For now the widget I produced looks poor but there are plenty of customization capabilities including regexps and CSS so probably I will be able to tweak it according to my likings.

Welcome. Adding more details to your solution including detailed steps and snapshots to make it a fully self contained solution would be nice and add value, besides earning reputation +1

Is this still the only way 6 years later?

@boardtc Sorry I'm not up to date with this topic anymore as I moved from Android to Apple.


text:
Android Contacts no longer syncs multiple accounts?
I recently purchased a new Motorola Droid Turbo 2.  My previous phone was a Motorola Droid Turbo.  I had multiple google accounts setup. Personal and work. I could add a new contact and select which account I wanted the new contact to be associated with personal or work or other.  My new MDT2 I can not do this. I have to select an account to sync and then it can not be changed. Is there any work around or recommendations? It seems rather short sighted for Android to get rid of this feature. Running android Version 6.0

First, make sure that you have added both accounts to your phone under Settings -> Accounts, and enable contacts sync on each one.
While in the Contacts app, begin adding a new contact by tapping on the "+" which brings up the "Add new contact" screen.  Directly under the contact photo, and above the contact name there is a "Saving to" box, which is a drop-down that can be accessed by tapping the down arrow to the right:

This drop-down should contain all your other accounts that are synced:

Select the account you wish to save this contact to by tapping on it, fill out the contact details and tap the check-mark on the top-right to save it.
Keep in mind that other contact management apps will most likely have a different way to save contacts to different accounts.


text:
How does WhatsApp get around Doze
Almost all the posts I saw imply that WhatsApp does not use GCM. Instead, it uses two sockets to communicate using FunXMPP.
Then how is the App active on Marshmallow even in Doze mode ?
I don't remember giving the permission REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the Application. And yes, the app is not whitelisted

I don't have WhatsApp installed but I had similar question with Truacaller so I will try to explain a bit how it works and how I forced Truecaller to hibernate.
In Android there are services that can be run by actions (triggers). When some event happens ie. phone call or plugged in, this event will be send to all apps that uses Phone Call Service even these apps are hibernated. Some services are critical and cannot be closed when system goes sleep. Application can avoid being dozed by reporting to use these services. I also didn't give the permission to Truecaller but it was active all the time. I even force hibernated it with full version of Greenify (with Xposed module) but it was active anyway.
What I did with Truecaller was to install DisableService (root needed) and saw what services were used by this app. I didn't know what service I should disable so I disabled all. App of course crashed when I tried to open it. So I was repeadtly enabling some services and observing what functions were getting restored. With that I found services that made Truecaller invincible. Now Truecaller works only when I need to check unknown number.

The app suggested in the answer doesnt exist on play store.

you can always find app in alternative apk markets by googling package name: cn.wq.disableservice but the latest available version is quite old so try to find some more recent alternative


text:
Automatically Enable Airplane Mode at Home?
I have Project Fi and my data connection at home is spotty -- I often miss calls.  I would like to automatically enable airplane mode when I get home (by GPS probably?).  When I leave, I would like to disable airplane mode.
I have a Nexus 5X with beta 7.1.1. Any ideas?

Is your device rooted?

As far as I know, to switch airplane mode on/off needs root, using automation apps. Hence asked root status

@beeshyams I highly doubt it is rooted, since OP is running 7.1.1 and that is a beta. As far as we know, Nougat is going to be an absolute nightmare to root successfully.

@DanBrown: you are right. That was my thought too but just wanted to be doubly sure. Had aborted posting a solution half way :) Thanks

@beeshyams No problem!  I'm just going to experiment with this, see what I can find (maybe adb?)

@DanBrown: All the best. Not going to be easy !!

@beeshyams It may be possible without root, Using a combination of Tasker, AutoInput, and possibly Secure settings

@DanBrown:: thanks. I am not familiar with any of those. ( I use Macrodroid ). But yes, theoretically it may be possible with extreme geeky ways but I do definitely recall reading that to toggle data you need root. I would rather remember to do something rather than do all these complex stuff. With Macrodroid, it is a simple pair of macros if you have root

@beeshyams True. The only issue here is you have to Pay for tasker (duh) AND the paid version of AutoInput. I don't have Gapps, so I can't even activate the trial

@DanBrown is correct -- my device is not rooted.

Daniel, my answer works around it. Also, tasker is worth it. Not advertising.

@beeshyams I've included an answer that does the job, and needs no root access.

Plus one :) let's see

 Automation! Yay!
You are going to need four things:

Tasker, either the free trial which lasts 7 days, or the full version on the play store
AutoInput
This script I made!
A few minutes to spare. (At least you do not need root!)

PREMINILARY. Install Tasker and AutoInput, and open them both at least once. Also, ensure you downloaded the script. Also, Go settings -> accessibility and grant access to both Tasker and AutoInput.

Go into tasker, and tap the house, then 'import' then the script I gave you (should be AirplaneToggle.prf.xml) to import it.
Close Tasker while connected to WiFi, and watch to see if it works. It should!

What is that script doing?
Simply put, the script starts up the wireless and networks settings, creates a fake tap to enable airplane mode, waits a little, then returns to your homescreen, and also disables tasker to finish.
Keep in mind:

If you want to have this only apply to Home WiFi, you need to configure the WiFi bit. In tasker, tap the stuff on the left of the green arrow, and add the SSID (The name) of your WiFi hub. For example, I have a sky Hub, so it would be 'SKYXXXXX6' (X's replaced with random characters) that I put into the SSID field.
This task disables Tasker when finished to avoid it looping constantly. You can re-enable it by holding your finger on the grey lightning cog in taskers main menu (top left) OR by adding a widget that let's you toggle it from the homescreen!*
Delays are in place to allow for animations and Lag to finish safely. Also, the script will take you to your home screen when done.
You can still enable your WiFi in airplane mode- just don't enable tasker when on your Home WiFi! (I already said that, right?)
Tweak the task if you want. Not stopping you at all.
Tasker is woring paying for, but free alternatives are available! (Or be an ass, and just trial Hop (backup the scripts before the trial expires, then uninstall and reinstall said trial version)

*Just found out there is no Widget to enable tasker. You will have to do it via opening Tasker itself.
All links are legitimate, including the trial (it links to the official site, as a direct download) if you feel links are illegitimate, say so in the comments


text:
Bricked Oneplus Two and can't access files in computer
I have a Oneplus two. I tried rooting it, and badly failed. The device boots up but doesn't go past logo screen. Which says "Powered by Android" along with Oneplus logo. I would be able to fix it myself by accessing the internal storage and factory resetting it. However, my computer doesn't recognise the device as plugged in. The device does charge when I plug it in however. I tried installing drivers and that didn't help. When I was trying to root it, I did have USB debugging enabled to transfer files but now it doesn't have an effect. My query is how do I fix this problem? I tried to take it to a repair shop and they said the LCD is broken? But my screen is fine? PLEASE help me, I don't want to have to buy another phone.

Is it in fastboot/recovery/whatever a Oneplus two has?

When you plug it in to your computer, look for a USB device called QHUSB_BULK, Unknown Device, or Qualcomm Device. If you're running Windows, check under the device manager. If you're on Linux/Ubuntu, use this command while in the terminal:
lsusb
If you see it, you can install the Qualcomm drivers, and use the recovery tool to reflash stock recovery and OS. As long as none of the other partitions were corrupted, this should solve the problem.


text:
Samsung S7 can't access mobile networks
This is my father's phone and he went overseas to travel. During his travel he wanted to unlock his phone so he went to some shady area and they apparently rooted his phone but messed up somewhere. They told him to reinstall the firmware and it will be good. Unfortunately that isn't the solution and I have no clue what is the problem.
The mobile networks always has the cross symbol and no option for it exists in the settings. This prevented me from accessing the APN settings, but then after searching for that I managed to get access to it. However, it won't let me create any new APN and there exists none other, giving me the error that this user cannot change the APN settings. No number could be dialed and gives another error that there are no mobile networks. Removing the SIM and trying another SIM does nothing at all.
I then got a firmware from sammobile with the same network as the phone, Koodo 6.0.1 and installed that. The problem still persists and I have run out of ideas and solutions on what to do. Any help would be appreciated.

Is the IMEI still present (Settings->Device Information->Status->IMEI Information)? If it's all 0's, you may be out of luck because it's a good indicator for a removed /efs partition (unique to each device, holds information like IMEI and other important stuff).

Yes, that information is "unknown". How can I proceed from here? I do have the IMEI number if there was a way to put it back in.

Try flashing with Odin and this time go to Options and check Phone EFS Clear. This should recreate the EFS partition

Should I bother to backup the EFS before attempting this in case anything goes wrong? I was going to root the phone, backup the EFS and then try to clear the EFS.

It's a good idea but for now it's pointless, since your EFS is corrupted anyway. Recreating EFS as suggested above using Odin is a good move. Anyway it doesn't hurt to take back up

So, I tried clearing the EFS in Odin and let it reboot. Unfortunately the problem still exists.


text:
java.lang IllegalArgumentException
When trying to set up a S5 for adoptable storage with 6.0.1 opp sys. When I put in the sm list disks command I get a list of sm commands and an error.

The command is sm list-disks instead of sm list disks.

Put small answers as comment.

I feel stupid now but Thank You so much.