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

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

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

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


text:
Is it possible to put a password to let usb debugging work?
So, I learned that, if we have a broken screen, but had the usb debugging enabled, we could do a lot of things, and even use its apps from a desktop computer, until we can get it properly fixed.
But, also, if my phone gets stolen it just sounds like doom to me...
The alternative I thought was: keep usb debugging enabled, but limit it completely, requiring some kind of password or trick to let everything else work.
Is it possible to do that? and how?
I understand this question complements this one.

USB Debugging requires you to press "Allow" once you plug your phone in to a computer your phone doesn't recognise. You could also encrypt your entire phone if your're concerned someone will get your data. That's what I do.

@Janekmuric you are right, it is the 1st time I try it on my new phone, I think the old android phone didnt require it, may be this question is only still valid for old android versions? because it is already safer on new androids, thx! (good I had to activate it after this!)

Yes. Old android versions don't require you to press allow, so the only way to fix this is to completely disable USB debugging. But then again, if someone steals your old phone, it probably doesn't have the feature to be encrypted.

source: Stack Exchange

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

sort: votes


text:
Color saturation cm 13
I have the nvidia shield k1 tablet. It's running cyanogenmod 13 nightly release. On the stock os there was options for color management. Is there any options for this on cm 13?

You can manage color temperature under Settings - Display - LiveDisplay. Other than that there's no built-in option.

If the kernel supports it, some kernel management apps can also fine-tune color, although that's not universal across devices.

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


text:
How to revive my android phone?
So my phone is dead or whatever it is. It just show the logo screen showing that it will boot into recovery but after all it just turned off. The boot loader is locked so I had nothing to do. I removed the battery for 1 hour and insert it again then press the power button but nothing happens. Connected this to my laptop but still can not be recognized. I also connected it to my laptop without battery but it just shows up the logo then shuts down.

So this is what happens before all of this. I root then flash cwm using Flashify and reboots into recovery and it all started here. Stuck in a logo screen for infinite time. I tried to repair it to a phone repair centers but they can not do it.

Now for the last time before I will consult it to the manufacturer, is there any solutions that I can do ?
Well I have the stock ROM for this phone which is 5.0.1

Can I flash the ROM in this situation ?
Can I access the internal storage in this time ?
Or any other suggestions, easy or very difficult steps ?

Hoping for your help, Thanks !

You can try installing fastboot drivers on your computer, then try unlocking the boot loader and flashing a new recovery. But all data will be lost.

Yeah I can risk losing all of my data because I backed it up, But the problem is it wont recognize by my PC even I have all ADB drivers and my phone drivers

When you go to device manager on your computer, is there anything with a yellow exclamation mark?

Also, sometimes the universal adb drivers don't work, just incase you're using them

Yeah I also checked my device manager and there is no signs of android devices attach even no refreshing and loading signs

I'm assuming you have downloaded all the Google sdk and adb tools? Is there anything in device manager that may hint to anything? Have you tried a different USB port and cable?

Tried all my ports in my PC , downloaded all required drivers, android sdk are ready, But no signs inside device manager

Are you running cmd/terminal with elevated privileges?

I tried that recently but in only shows offline emulated device

Hmm.... I'm not sure. I'd go to the manufacturer for diagnostics.

Yeah that would be my last choice but thanks for responding !


text:
How to install android on blank Phone?
So let me consider my phone blank after some of messy things I did on it. I flash CWM that is not for my model but for MTK. Well I have the stock ROM downloaded and all I need is to boot to recovery but the problem is It wont boot into. Is there anything that I can do to restore back my recovery. I already know how to flash ROM, I just need the recovery.

Thanks in advance !

You could try flashing a working recovery to your phone via fastboot, and then working your way to a working rom from there.

Recovery images are designed for specific models.  Please edit your question with the exact model number of your phone so that we can help you find the correct recovery image.

You could try using a pc and going into Fastboot on the phone and flashing a new recovery.

Can you elaborate? Perhaps a link to a recovery image with step-by-step installation instructions.


text:
Can't pull APKs on Nougat Nexus 5X
Whenever I try and adb pull an installed APK from my device, it says adb: error: remote object {name} does not exist. I've tried and it works with files in /sdcard, and I definitely have access to the APK. I can also ls inside the app's install directory and it will be fine.
Here is an example with Snapchat:
pm path com.snapchat.android gives me /data/app/com.snapchat.android-2/base.apk
ls -l /data/app/com.snapchat.android-2gives me
total 153872
-rw-r--r-- 1 system system  78767561 2016-09-02 13:03 base.apk
drwxr-xr-x 3 system system      4096 2016-09-02 13:04 lib
drwxrwx--x 3 system install     4096 2016-09-02 13:05 oat

I can stat and cat the base.apk, which proves there isn't a file permissions issue.
I've restarted my phone, restarted adb, rebooted my computer, tried it with other apps, tried it with everything and nope, it's like adb just can't see it. Anything I can try or do?
Update

Forgot to mention I am using adb on Windows 7. When I use cmd.exe, the above happens, but when I use git bash (on MinGW) it gives a weird error: adb: error: remote object 'C:/Program Files/Git/data/app/{apkName}/base.apk' does not exist.
I ended up pulling the APK through one of those WiFi file transfer apps which present a UI over a HTTP server. Based on #1, it must be a weird bug on my system/with adb where it won't properly parse a path.

Okay, the way I did it was this.
Shell into the directory and then use Linux cp to place it into another location. for me I used /sdcard/downloads
I was then able to pull the file from that location / access it from within my phone.


text:
CM13 Transparent lockscreen not working
I have oneplus one with the latest built of cyanogen13.1 but here is a problem, my live lockscreen which shows blur background of the recent app that is opened is not working. I just showing the regular wallpaper on the lockscreen. I tried everything but non of it seems to work.


text:
"USB DEVICE NOT RECOGNIZED" appears in taskbar after connecting smartphone
We are connecting Android Smartphone to my laptop, may see "USB Device Not Recognized" in taskbar, but data cable for smartphone is good. Please help! I am use smartphone GT-I8262 and Jelly Bean Version 4.1.2.

Try to install Kies as Samsung sets need PC suit to connect or if it not works then download adb installer and execute it while connecting your device

Try to install Kies as Samsung sets need PC suit to connect or if it not works then download adb installer and execute it while connecting your device

Try change USB cable and connect to computer to make sure connection works properly. If you doesn't work well, you can buy USB cable at cellphone store.


text:
unknown sources turns back on about every 24 hours
I'm having to turn off unknown sources everyday. I'm on 5.1. Not rooted. Never installed anything except from app store. Eset Av says phone clean. Root checker says not rooted.
Had phone from new. Bush/archos b2.
An app called My Apps appears daily too.
It isn't in my account on play store.
Not sure if it appears in apps/downloads. I'll check when it next appears.
Malware? Bloatware?
Anyone seen this?

Probably a security feature. There may be some xposed module for this, but you would have to be rooted for it to work.

This is happening to me, too. New blue energy mini android 5.1. Did u get a solution?

There might be some 3rd party app that's downloading that my app try finding that out! Also It's not a big problem to leave unknown resources ticked on (unless you install completely unsafe apps) but if you want it to be switched off really bad try factory resetting your phone. Good luck!


text:
How to check adb commands executed on an Android device without executing them?
In my city recently smart benches were added to some parks. They have WiFi, heating, cooling, wireless charging and USB ports.
They're really cool and stylish, but when I plug my phone in to charge it they ask for the ADB key, which makes me think it is executing some malicious code.
Is there a way to see what are the benches doing to your phone over ADB without actually running the commands?
I have access to a Windows 7 laptop and an Android 5.1.1 device.

Asking for ADB almost guarantees trouble. The common form here in China is installing a few apps which then shows ads and such. Get a dummy device (or back up and flash a ROM) to test it out.

@AndyYan But how would I know what did it do? For example if it steals files from my phone, how would I see the ADB log saying what it exactly did using ADB?

That's something I'd like to know too - upvoted for awareness.


text:
How do I unmute a contact?
On my S6 with Android 6.0.1, one of the contacts in the default SMS app has a mute symbol (strike-through speaker) displayed next to the name. For this contact, new text messages don't trigger a notification. How do I change this? I've looked through all options in the message app and in the contact app and didn't find anything.

Press and hold on the message thread (from the screen presented in the screenshot you've attached) And asee if you get the unmute button. Secondly, once you are inside the messaging thread (after tapping on the above said contact, in the screen shot) do you see any overflow menus? (3 dots usually to the top right)

I found it by accident - it's neither the long press (which enters selection mode) nor anything in the overflow menu (which is MORE on S6, nor the typical dots). Instead, in the thread, you have to tap the contract name, and there is the setting...

Hmm. Different apps, different ways to do the same thing. Oh well.

In the thread, click the contact name, this will take you to the "notification" setting for the contact.

Had the same problem. Took me a bit to figure it out.
Go to messages, tap on the thread for that contact, tap on their name in the top left corner, this will take you to conversation settings, turn notifications on.

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


text:
Is it possible to use same modem firmware on different phones?
Can I flash a modem file of a phone to another model? If we can't flash the modem file can you tell me what hardware or software the modem file depend so that it is different for different phone?
You might be wondering why I want to flash modem file even if everything is working fine is that I got volte by using this method.
As login is required to view the link I will explain how I got volte. I download the firmware of yuphoria 5010a which is mostly similar to my phone's specifications. And also downloaded the stock rom of yuphoria 5010a. After that I flashed firmware, rom on my phone using fastboot. I then updated the volte patch which the phone manufacturer released for that phone and installed it and I got volte working on my device.
But the only downside was that I am only able to use volte with 32 bit rom not the 64 bit rom.
Also can you tell me how to clone or backup my entire device (including the critical file such as modem, boot,etc) so that while I would be doing lot of fiddling I can restore my device to its current state without losing anything including the volte which I obtained by flashing the modem file?
My Device : Yu Yuphoria
(5010)
ROM : MIUI 8.1(android 5.1)

Flashing a modem file (firmware) from a different device is bad... potentially very bad, the chances it will work are near zero and do anything from cause connectivity issues to a complete bricking of the device. I tried to look at your link but it just errors out, but suffice it to say that anyone who recommends flashing radios from a different device needs to be considered with great skepticism.

@acejavelin The link is working but login was required to view the link. I have updated my question with the steps involved in the process.

@acejavelin Both the devices had something in common due to which I was able to use the modem file on my device. Why would be the hardware due to which different devices have different modem file?

Modems are unique to the hardware as implemented by the manufacturer, and the kernel, and other device specific settings... If you found two devices that use the same modem firmware interchangably, you hit a 1 in a million chance and won.

No, you can't flash firmware designed to work with one android device to another one.
There are some bizzare situations where this does work because devices have identical hardware (Coolpad F1 and Micromax A310), but this is very unlikely to happen and you shouldn't try it.
As for a device backup, you can make a nandroid backup using CWM or TWRP and copy it to your computer.

If we can't flash the modem file can you tell me what hardware or software the modem file depend so that it is different for different phone?

Modem itself is hardware, so which modem file (firmware) is to be used depends on modem. Usually it's embedded with SoC - the central chip which contains CPU, RAM and other critical components. So if two phones have same modem, there are chances the same firmware works for both. Most of the times same modem means same SoC - it's Snapdragon 410 on your device.
Modem has its own processor called baseband (BP), totally isolated from Android OS which runs on Application Processor (AP) - the one we usually call CPU. In userspace telephony stack (Java) talks to RILD (native vendor specific binary blob) which depends on Linux kernel for communication with modem. Kernel has special implementation from OEM/SoC vendor to create communication channel between AP and BP.
Additionally the firmware may also contain software related to other components interacting with BP like Digital Signal Processor (DSP), SIM card and SIM reader etc. So all of the relevant details must be exactly identical on both phones for same firmware to work.


text:
How to replace local camera video stram by a remote one
I want to make the facebook app stream my laptop screen (as live video), my idea is to change source stream of the phone camera to a remote stream from a laptop, any idea on how to do this (with an app or programatically)?

Why not stream directly from the laptop?

the facebook (original app) do not permit streaming from browser (am I wrong?)

Oh, I just see, you can only stream via the app. Well, in theory you could overwrite the framebuffer of the camera but only in theory. When an app gains control over the camera, it's directly interfacing with it, meaning it is  very hard to replace its current image. I don't think such a thing is possible on Android.

Oh, apparently it works: https://obsproject.com/forum/resources/how-to-stream-to-facebook-live.391/

Sadely, It seems I have not yet this feature on my (newly created) account!

It's only possible for sites, not for private accounts.


text:
How to obliterate (totally delete) a contact?
I have android devices with WhatsApp and another apps. When I try delete any contact, sometimes in the next days the contact backs to my contact list... In the end, I need most of times block the contact on WhatsApp to avoid use it. I think that some app is recovering/syncing the contact back, but I updated the Google Contacts, removing the contact and he keeps returning...
This is the reason why I use the term "obliterate", I see when learning source control... When you delete a file from source control, it is deleted, but you can recover from the history/previous commits. So when you want fully delete, you want "obliterate" it, pretending like it never existed...
I wonder if can have 5 options for deal with this:

Some option on Android to obliterate (I search but not found)
Some app with that option or that objective
Some app to monitor and block the contact to back to list
Some app to monitor and discover the app that is recovering the contact
Some app with the job of maintain the master list of contact, and from there I delete it and the app keeps "deleted", monitoring the contact list changes

Thanks in advance!

I used Wondershare MobileGo for same issue and also for removing duplicate contacts. It worked for me well. If it doesn't work too, there might be some another agent other than Google contacts which is backing up and synchronizing contacts frequently again and again.

Try deleting contacts and syncing your phone immediately after. If they re-appear log into your google Contacts (on your PC) and delete them there. Same goes for WhatsApp.


text:
How to revert back to stock Sprint firmware (Galaxy S7) after installing the wrong one?
I tried to root my Galaxy S7 and failed. Not only did I fail but in the process, I also installed the wrong firmware G930A (ATT) and did not take a backup.
I've been trying to revert back to stock but everytime I try with Odin, I either get a sha256 failed error or a Complete (Write) Error.
I've tried all the sprint firmwares from this site; http://www.theandroidsoul.com/download-galaxy-s7-firmware/#jump-model-no-sm-g930p-sprint None have worked.
I'm using Odin3 v3.12.3.
How can I revert back to the factory stock Sprint firmware for the Galaxy S7 (SM-G930P) after installing the wrong firmware?

You can give this a try
Galaxy S7 Stock Firmware

First of all download the stock firmware for your Samsung Galaxy S7(G930P - Sprint) from here. But you need to create an account on sammobile website for free by clicking on "Regular Download" button.
To Install the stock Firmware follow the steps below

Extract (unzip) the firmware file
Download Odin v3.11.1
Extract Odin ZIP file
Open Odin v3.11.1
Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
Connect phone and wait until you get a blue sign in Odin
Add the firmware file to AP / PDA
Make sure re-partition is NOT ticked
Click the start button, sit back and wait few minutes

Link to Download Firmware: Galaxy S7 Stock Firmware


text:
Samsung GSII-GTi9100 with CM12 - no USB connection
I have installed CM12 from SDCard.
Device is running fine. It charges normaly from usb socket. But I need to access developer options and run code through ADB.
I have ADB set up on my ubuntu16.04 machine and have tried every option to enable USB debugging. I have added the OEM code to the adb_usb.ini file and have created the 51-android.rules file at the sugested places. However, my phone refuses to make the USB connection to the computer. I enable developers options and usb debugging. Connect usb cable to device and computer. I go to Settings>Storage>Overflow(...)>USB connections and phone responds with a single "USB not connected" message.
LinuxPC-side:
$ adb devices
List of devices attached

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 0bda:5776 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I think my phone is the culprit because other devices connect fine, so I know its not my cable or my computer. Maybe I missed a step on the configuration for ADB? Can someone lend me a hand?


text:
Alcatel idol 3 wont interrupt car radio with nav app directions
When connected to car bluetooth, google maps or waze wont play on car while car radio is on. If device is selected on car unit then you can hear nav app turn by turn directions. But if radio is on, directions wont override radio.

Your car radio  is able to play sound depending on which input is selected. If it's radio then your car will play radio, if it's Bluetooth then your car will play sound from the paired Bluetooth device.
Your radio cannot play 2 different input devices at the same time.
Also when your phone is paired there exists two audio streaming options. Your phone can stream either media or call if your receiving Bluetooth device supports it. Everything that is not a phone call / Skype call / whatsapp call etc gets the media output.


text:
How to modify possible values screen timeout on rooted devices?
I've managed to root my device.
I wanted to keep my screen awake forever. However when I looked around the Settings, the maximum value is 1 hour in the Display settings. There's a 'never' in Developer settings, but only when device is being charged. I used Tasker to set the timeout to Never, but it gets changed back when I click the  Display Settings. I used Android wakelocks but they stop working when they're removed from the memory.
I know those settings are practical enough, but as a geek I would like to know how to get 'Never' appear in my Display Settings.
EDIT: To repeat again, I DO NOT want to use an app or a wakelock to accomplish this. I just would like to have my ROM (/system partition) modifed so that 'Screen timeout: Never' appears in my Settings.

TheDarken's Wake Lock (link) had always worked fine for me for the purpose. Never had it removed from memory either.

@AndyYan Thanks for the reply, but I've expressed in my question that I simply want a 'never' in the settings.  For keeping deviceawake, Tasker is perfect enough because it can detect when I changed display settings.

I'm currently researching this exact question, with pretty much the same parameters as you (my sympathies for the frustrating responses).  One app I've found to be quite promising: SetEdit.  This app -- after using ADB to grant additional permissions -- allows you to directly access and modify the settings' values saved in their respective .db containers, many of which are not accessible through the frontend UI.  Of course, the trick is finding the correct one and not bricking your device in the process...

In order to keep screen awake forever:

Download No Screen Off app and install it.
(Ignore this PLEASE) If you know android programming, you can use this snippet in your app:

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

Some phones have "Keep screen turned on" option in Screen timeout
settings.
(Requires Root) You can use PerApp for making change in Screen timeout
settings and add your own value.(customize)
There is a stay awake option in "Developer Options" to Stay awake
while USB debugging and charging.

Apart from the second, I have ALL methods mentioned in my question body... I just would like to be able to use the third method. (The 4th method seems mostly the same as Tasker and does NOT survive a Settings change)


text:
Hidden files: Can I delete them?
I can see some hidden files on my android device, named as {[HIDDEN]}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.mp4_encrypted_new (file name length is 32 characters long, in the place of x, actually it is mixed with alphabets and numbers, so I described it as x. And, in the place of HIDDEN it is hidden itself ). It stores about 1.08 GB in external memory card. Can I delete them? Any problem after that?

Question is bit unclear. Need more details, like file is generated from where, when, format, which activity generated it .

Question is clear.

@RahulGopi Well I think the question isn't clear, I agree with, it needs more information.


text:
Which one is the 4G sim slot in Redmi 3s prime?
I have acquired an Jio sim and I am using a Redmi 3s prime. But I don’t know which one is the primary 4G sim slot in the phone. Is it the nano one or the micro one? Or can i choose any one of them? Please help. Thanks

The Redmi 3S Prime uses a hybrid SIM slot which means it accepts one Micro-SIM and another Nano-SIM or microSD card for storage.
Unfortunately, this means that users will have to choose between a second SIM and a microSD card.
Coming to your question : Use any slot for 4G. It is recommended from my side, use the micro-sim slot for the primary sim.

The Redmi 3S Prime supports hybrid dual-SIM (Micro-SIM + Nano-SIM) slot with the second SIM slot also capable of functioning as a microSD slot. However either slot can be used for 4G.


text:
Moto e - flashed stock firmware but bootloader message says "Software Status: modified"
I have a motoE 2 LTE (XT1514 Surnia) that originally had Android 5.0.2, but it went to motorola for repair and came back with 6.0. Despite the upgrade, the bootloader screen still showed "software status: official".
Then I have unlocked the bootloader, installed TRWP and used it to flash supersu. The log says the process was successful but I checked with the app root checker that it was not.
Then I wanted to go back with the stock ROM. I downloaded the XT1514_SURNIA_RETBR_DS_6.0_MPI24.65-39_cid12_subsidy-DEFAULT_CFC.xml ROM from this link I found on xda-developers and flashed it using RSD Lite. The system works but the bootloader screen now says "software status: modified"; before this process I made a backup using TWRP but after restoring the bakcup image the message still didn't change back to "software status: official".
I thought maybe I need to install the original Android (5.02) and then upgrade it to 6.0, so I downloaded the XT1514_SURNIA_RETBR_DS_5.0.2_LXI22.50-53.8_cid12_subsidy-DEFAULT_CFC.xml ROM from the same link. The problem is I get a failure message when I try to flash the 5.0.2 image
    # mfastboot flash partition gpt.bin
    target max-sparse-size: 256MB
    sending 'partition' (32 KB)...
    OKAY [  0.125s]
    writing 'partition'...
    (bootloader) Preflash validation failed
    FAILED (remote failure)
    finished. total time: 0.570s

I did try with RSD Lite too, but I get the same message. I've read somewhere you can't dowgrade stock firmware, is this the problem here ? Is there any workaround ?
My final objective is to have stock firmware with android 6.0 installed and the bootloader message saying it is official. I appreciate any help =)
this is the log of RSD Lite flashing the stock image with android 6.0
    28/16 05:39:10  The FlashLog key is turned off.
    09/28/16 05:39:10  Multi upgrade started for 1 phones
    09/28/16 05:39:10  [Device ID: 0] 1/20 getvar max-sparse-size
    09/28/16 05:39:10  [Device ID: 0] 2/20 oem fb_mode_set
    09/28/16 05:39:10  [Device ID: 0] 3/20 flash partition "gpt.bin"
    09/28/16 05:39:11  [Device ID: 0] 4/20 flash bootloader "bootloader.img"
    09/28/16 05:39:12  [Device ID: 0] 5/20 flash logo "logo.bin"
    09/28/16 05:39:12  [Device ID: 0] 6/20 flash boot "boot.img"
    09/28/16 05:39:15  [Device ID: 0] 7/20 flash recovery "recovery.img"
    09/28/16 05:39:18  [Device ID: 0] 8/20 flash system "system.img_sparsechunk.0"
    09/28/16 05:39:42  [Device ID: 0] 9/20 flash system "system.img_sparsechunk.1"
    09/28/16 05:40:03  [Device ID: 0] 10/20 flash system "system.img_sparsechunk.2"
    09/28/16 05:40:22  [Device ID: 0] 11/20 flash system "system.img_sparsechunk.3"
    09/28/16 05:40:42  [Device ID: 0] 12/20 flash system "system.img_sparsechunk.4"
    09/28/16 05:40:49  [Device ID: 0] 13/20 flash modem "NON-HLOS.bin"
    09/28/16 05:40:54  [Device ID: 0] 14/20 erase modemst1
    09/28/16 05:40:54  [Device ID: 0] 15/20 erase modemst2
    09/28/16 05:40:54  [Device ID: 0] 16/20 flash fsg "fsg.mbn"
    09/28/16 05:40:54  [Device ID: 0] 17/20 erase carrier
    09/28/16 05:40:55  [Device ID: 0] 18/20 erase cache
    09/28/16 05:40:55  [Device ID: 0] 19/20 erase userdata
    09/28/16 05:40:57  [Device ID: 0] 20/20 oem fb_mode_clear
    09/28/16 05:40:57  [Device ID: 0] reboot
    09/28/16 05:40:57  CMultiFlashFlex::RebootPhone, waiting for phone to disconnect, status=2, state=0.
    09/28/16 05:40:58  Removal, interface=28(0x0), device id=1636460.
    09/28/16 05:40:58  CMultiFlashFlex::RebootPhone, waiting for phone to connect, status=3, state=4.
    09/28/16 05:48:08  00002de8 Phone.cpp   1571    0   ERROR   Waiting for phone's handle is setted successfully after restart [430000 ms] completion. failed
    09/28/16 05:48:08  CMultiFlashFlex::RebootPhone, unable to wait for phone, status=3, state=4.
    09/28/16 05:48:08  [Device ID: 0] Please manually power up this phone.
    09/28/16 05:55:18  00002de8 Phone.cpp   3974    -1  ERROR   CPhone::WaitForPhone timed out. Iteration-1
    09/28/16 05:55:18  [Device ID: 0] Please manually power up this phone.
    09/28/16 06:02:28  00002de8 Phone.cpp   3974    -1  ERROR   CPhone::WaitForPhone timed out. Iteration-2
    09/28/16 06:02:28  [Device ID: 0] Please manually power up this phone.
    09/28/16 06:08:36  Arrival, interface=36(0x0), device id=1636460.
    09/28/16 06:08:36  [Device ID: 0] Waiting for others to finish current operation.
    09/28/16 06:08:36  Arrival, interface=20(0x0), device id=1636460.
    09/28/16 06:08:36  Arrival, interface=19(0x0), device id=1636460.
    09/28/16 06:08:36  The FlashLog key is turned off.
    09/28/16 06:08:36  FlashLog file is turned off.
    09/28/16 06:08:36  Multi upgrade finished.

The bootloader showing the "Modified" status is normal in your situation, since you've unlocked the bootloader and flashed TWRP, then used TWRP to flash a ROM.  Motorola won't allow a downgrade like you are doing (at least in my experiences w/ them, so 6.0 to 5.0.2), so your best bet is to try and get the 6.0 factory image for your device, and flash that with RSD Lite, then see what the bootloader says after that.

Hi, @RMarkwald, I did get a 6.0 factory that I could successfully flashed, I got it from a link in xda-developer forum. But the message still shows "Software status: modified"

A weird thing is there is a supersu folder at the root folder that keeps being recreated even if I flash a new image, although the phone is not rooted. Do you think this may be the problem ?

How are you flashing it, RSD Lite or via TWRP Recovery?  Nevermind, I see those are files used for RSD Lite.

I tryed both methods, but got same results. Even the original backup I made and restored with TWRP didn't change the "Software Status" message back to "official"

You will never get back to Software Status: Official,  once the bootloader has been unlocked and anything has been modified, it can never be returned to a status of Official. Your bootloader status will also always show its been unlocked and can never be returned to a state of 0

acejavelin, I thought so also. But look at this video at times 1:10 and 11:20 https://www.youtube.com/watch?v=c3MDo6EXoDc

@Gus TBH, he just got lucky using the old version/OTA method, we have been trying to figure out any consistent way to get back to Official for some time on XDA. The only success that has been seen is hit and miss at best, is install an older firmware via fastboot and relock, then take an OTA, it's about a 1 in 3 chance of changing to official status. Note that even if you relock the bootloader, the Bootloader Status Code can never go back to 0.

@acejavelin can I still receive security updates from motorola with software status modified ?

@Gus Yes, of course... as long as you have a stock phone the OTA and other updates don't care if your bootloader is unlocked or what the software status says in the bootloader, it will check to see if /system has been modified and attempt to apply to the update which requires stock recovery, otherwise the update doesn't care. This may or may not set you back to "Official" software status, we have yet to figure out what it is changing the few times it does work, it is extremely inconsistent.


text:
How to transfer files I created programmatically back to my PC?
I created JSON files on my Android using something like this: https://stackoverflow.com/a/33572815/1075211
The files are now stored in /data/user/0/com.xxxxx.collector.
But how do I now transfer those files to my PC?

I don't get it why my answer was being closed. I need to get data from my phone. I've seen a dozen questions covering ADB and stuff already

You have saved the file in athe app-private directory. As it name indicates it is private therefore you can't access any files in there unless you have rooted your phone (or use the work-around via adb backup and then extract the backup using ABE).
If you want to save a file that will be copied later outside of your phone save it onto the sd-card section getExternalStorageDirectory(). Then you can pull it from the device via adb pull.

So I need an SD card?

No. getExternalStorageDirectory() usually points to the internal storage.


text:
Authentication Problem: Even after typing the correct passoword
I have Digisol router in my home. My phone was connected to it for a time, but then suddenly it started showing no internet. So I tried to reconnect by Forgot password. But since then I am facing the *Authentication Problem** every time I tried to connect.
Some points:

It is connected to a PC by LAN and two phones by WiFi. It is working fine in all of them.
I have tried to clear Google Services Framework cache and restart. Still nothing happened.
Also I tried to turn Airplane mode on and off.

Please help...

That's a common problem that occurs with may users.
well the solution is pretty simple
Go to settings > wifi > select the wifi you want to connet
Now when it ask for password.
Fill the password.
down below there will be advance settings open that. Locate Ip settings and change it from DHCP  to Static
there just change de ip to 192.168.1.X
[X] be any number like 32,24,64
just do that and click connect. it will connect.


text:
Can't make SD Card as internal storage
I wanted to make my Samsung  as internal. I went to Storage and USB and selected Erase and Format option to make it as internal.
After formatting it to about 40%  message popped up. I selected OK and then opted to move on. Then I selected Move Now when it asked me my permission to move my data from internal to this. But then just after that  message popped up. Now right after I press OK it goes back to the option to Move Now and it all goes in a loop.
Also SD Card is always shown corrupted after the process.
Please help me. I have restarted my phone multiple times now and even tried to format it first in my computer and then go through the process, but I got the same results.

Use the SD-card in an USB-SD-Card-reader in a PC and format & overwrite it completely. If that works the card is OK and you should be able to format it in your phone.

@Robert did that. I even used a different SD card but the same error popped up. obviously now it said that this transient SD card is too slow...

@Shadow_Sphynx - were you able to find a solution to this problem ?

@Dan no, sadly i was not able to do it.


text:
Unable to delete a contact from Contact List in Android phone
Phone: Nexus 5x
Operating System: Android 7.0
When I try to delete a contact in contact list of phone it displays the error message:
Contacts from your read-only accounts cannot be deleted, but they can be hidden.
Cancel Hide

When I see the details of the contact, I cannot see the number but I can see it in the Whatsapp contact details.

Go to your phone's System settings→Accounts→(select your account), then turn off Contacts sync.
After that try to delete the contacts from the contacts app.


text:
How to fix "Cant play this video" error in Camera MX Live Shots after upgrade?
I use a Galaxy Note 4.  To get 'live shots', a few months ago I downloaded the app Camera MX.  I just received an OTA update to Marshmallow, and now every time I try to view live shots created before the update I get the error: "Can't play this video".
So far, I've found that the app stores the video clip that comprises the 'live shot' as a standard .mp4 video clip in a hidden folder '.LiveShot'.  I've tried to find some sort of file that maps the .jpg pictures to the corresponding .mp4 in the .LiveShot folder, but I can't seem to find anything.  I even used exiftool on the .jpg files to see if it was embedded somehow, but exiftool doesn't see it.  Is there some sort of fix out there for this problem?

After using exiftool I went one level deeper and just opened one of the .jpg files with a hex editor.  Turns out the path to the 'live shot' is indeed embedded in the .jpg file, just not as EXIF data (or at least not standard EXIF data that exiftool can read).  I put my SD card into my linux laptop and tried using the following sed command to fix them:
sed -i 's/\/storage\/extSdCard\/Android\/media\/com\.magix\.camera_mx\/Camera MX (SD)\/\.LiveShot/\/storage\/3F25-4093\/Android\/media\/com\.magix\.camera_mx\/Camera MX (SD)\/\.LiveShot/g' *.jpg

This worked for some of the files, but others (with even older paths such as /storage/emulated/0) simply became corrupt afterward.  If anyone knows of a better fix I'd love to hear it.


text:
Unbricking LG G3 stuck in fastboot using Qualcomm unbrick method
I have an LG G3 which does not have recovery mode or download mode. The only available mode at the moment is the fastboot mode.
I installed the the fastboot tool using the "minimal fastboot and adb tool": http://forum.xda-developers.com/showthread.php?t=2317790
And tried executing many fastboot commands as follows:
fastboot erase aboot
fastboot flash aboot aboot.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase laf
fastboot flash laf laf.img
fastboot erase rpm
fastboot flash rpm rpm.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase modem
fastboot flash modem modem.img
fastboot erase misc
fastboot flash misc misc.img
fastboot erase sbl1
fastboot flash sbl1 sbl1.img
fastboot erase tz
fastboot flash tz tz.img
fastboot erase dbi
fastboot flash dbi dbi.img
fastboot reboot

However none of the commands executes successfully, I always receive:

FAILED (remote: failed to erase partition)

What could be the reason for fastboot failing that way? Could it be that there is no partition on the phone at all? Or does the bootloader need to be unlocked for this to work in the first place? Maybe the driver is not correct, but on the other hand I see the commands showing up on the screen of the device -- so it receives them.

Correct me if I'm wrong, but LG devices don't have a conventional fastboot, the bootloader is locked by default and not unlockable (methods like Bump only overrides it). If you've previously enabled fastboot (and in turn disabled download mode) through the dd trick then you might need to resort to QCOM 9008 mode.

I will provide an answer covering all the steps that I had to go through in order to get that LG G3 working again.

Being stuck in fastboot mode
When that phone was given to me, the person owning it before had tried to flash some custom rom. After failing miserably the phone was stuck in fastboot mode.
Trying to get the phone out of the fastboot mode, I tried the following guides:

http://forum.xda-developers.com/android/general/unbrick-lg-model-download-recovery-t3060184 -- did everything preceding SOLUTION FOR ALL THE PROBLEM WITH NO DOWNLOAD MODE section.

Fixing the phone with the fastboot did not work for me.
Since I had nothing to use I decided to try the "Qualcomm unbrick" method

Qualcomm Unbrick:

There are 3 useful posts on how to get into the Qualcomm mode and how to unbrick the device: i) the reddit post ii) the open-freax post iii) the xda post
Start by following the reddit post
The tools to use: i) Qualcomm drivers: the drivers in the reddit link are legit ii) willcracker's tools: There are different versions of willcracker's tools (aka the BoardDiag tool). I used version 2.99a.

Edit: Here another post providing photos for getting into Qualcomm mode

Troubleshooting
If you follow carefully the reddit post (and if you are a bit lucky), you might get through this process without a problem. However I had 2 issues

"device not found in dload trying flash programmer" -- I got this message when running the initial step of BoardDiag. Turns out, this problem occurs if you release the shorting of the pins a bit too early:

here l33tlinuxh4x0rsays:

once you have extracted the firmware and set up the program with the correct port you need to Check "AP" and "EMMC" then press start.
  Be sure not to select any partitions or change any other options than
  the firmware directory and comport. It should come back as PASS. If it
  throws an error about not being in dload mode you need to restart the
  shorting process. Hold the short for a bit longer this time.

FAIL on the EMMC test -- If you manage to get through the AP Chech test, and receive FAIL for the EMMC the solution is provided in the open-freax post:

If you’re lucky enough (again) both of the tests will be OK. If, like
  me, you have nothing but a huge FAIL on the EMMC test, in the options
  list switch « Read/Write » to « Erase », unplug/plug your G3 (always
  with your metal wire to have 9008 mode, that’s pain in the a*s but
  it’s mandatory) and click START again. Internal memory will be
  entirely erased. Do a « read/Write » again, this time it should be a
  PASS

For the remaining of the steps regarding the BoardDiag tool I suggest you follow open-freax post.

Installing back the stock ROM
I was unlucky with the ROM and managed to install one with malware on it. So you might want to invest some time to find the correct rom for your device.
There are two methods (or maybe more) for flashing rom to you LG G3.

TOT + dll method: for this method follow this post from the section 2015 (updated with pictures) TOT Method, also this post is useful
KDZ: for this method follow this post again, starting from How to flash ROM KDZ Method

To find proper roms you might try the following pages:

http://lg-phone-firmware.com
http://devtester.ro/projects/lg-firmwares/download.php
http://storagecow.eu/index.php?dir=Xda%2F

Other method for the Qualcomm unbrick
There is also another method for unbricking Qualcomm devices, but I did not have to use that one.
references: http://www.leakite.com/2016/06/revised-how-to-unbrick-qualcomm-android.html http://www.droidsavvy.com/unbrick-qualcomm-mobiles/

Yes this is what I'm talking about. +1 for digging into it and writing a detailed answer.


text:
How can I see how much internet bandwidth each process is using at the moment?
On Android, I have a nice Xposed module which shows me the current internet usage, but for the whole system, not per app:

On my desktop computer I have this expandable panel item which shows me exactly which apps are using the internet connection at any given moment. It also shows me exactly how much they're uploading and downloading per second right now, on a per app basis. The UI looks like this:

So I wonder if this is possible on Android as well. I'm asking for a per app metric of up/down usage right now, as in the above screenshot from my desktop computer.
Is there any way to get that?
To clarify even more, I'm asking for current speed, not past, accumulated usage.
Solutions that require root access and Xposed Framework are welcome.

Related: How to view network traffic requested by a specific app?

Simple System Monitor does that
Relevant feature from app description

View list of active apps and processes and their CPU usage, RAM usage, network activity, PID and UID.

If you monitor the Active Processes tab you can see the change in data usage. You can order the view based on parameters as shown in the second screen shot. The default update interval in settings is 3 seconds which can be varied as per need. If you worried about battery consumption , you can pause the app from the menu option on top left

It's Feb 2024, I've tried the Simple System Monitor app from the accepted answer and the app didn't have bandwidth information that is shown on the screenshot. The 'active processes' tab is there, but with no bandwidth info.
So the app that helped me answer the question "What app is using a lot of Wi-Fi bandwidth behind my back?": GlassWire Data Usage Monitor


text:
Internal storage sd read in laptop: where are the files?
I am trying to read in a laptop my micro sd card (which was used as internal storage), through a  SD card adapter. Goal is to access to my pictures.
On the laptop (using Linux), I see some folders, but none of them contains the pictures. Why am I not able ot access the files themselves? Is there some encryption going on?
The micro sd structure looks like this on Ubuntu:
 ── Android
│   ├── data
│   │   ├── com.android.vending
│   │   │   └── files
│   │   ├── com.google.android.apps.docs
│   │   │   └── cache
│   │   ├── com.google.android.music
│   │   │   └── files
│   │   ├── com.motorola.MotGallery2
│   │   │   └── cache
│   │   └── com.skype.raider
│   │       └── cache
│   └── media
│       └── com.motorola.MotGallery2
└── LOST.DIR

Thanks!!

SD cards used as internal storage on Marshmallow devices are encrypted, you cannot read them in a computer, or any other device under normal conditions.
There are articles about how to extract the encryption key from the phone and use it to mount the encrypted file system in Linux, but it is still not perfect. https://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html


text:
Question about the goolge play balance
I am playing clash of clans and I am trying buy premium item which is gem.
I am considering buying $30 google play store gift card.
And I am wondering if I can use google play balances to buy additional things in apps that are connected to google play.
If so, please tell me how to pay with them.

Yes you can

From Google help

Redeemed gifts and some promo codes appear as part of your Google Play balance. This can be used for many purchases on Google Play

Types of content you can buy explains further, what you can buy and What you can't. And if the balance falls short

You usually can't combine your Google Play balance with other forms of payment to make a purchase. You can only combine it when the remaining Play Balance is less than the total order amount of your purchase. Then you can use the rest of your Play Balance and combine it with another form of payment (for example, credit/debit card, Wallet Balance, DCB, PayPal) to complete your purchase.


text:
How do I connect to PPPoE-based broadband on Android-x86 using ethernet?
I have installed Phoenix OS on my laptop. I don't connect to the internet with a WiFi router, but with a direct Ethernet port.
I found How to connect Android phone to a Wifi network using PPPoE? but it did not work out for me as mine is not a WiFi PPPoE issue.
How do I connect my Android installation to this PPPoE broadband?

You need to know username and password to connect to the Internet using Ethernet port if you are using an Ethernet modem which is not configured.
Ask your ISP for the username and password.

Ok, I have the username and the password provided by my ISP. But Phoenix OS does not support DSL based internet, It only has WiFi. But it would work if my ISP automatically assigned IP address using a DHCP server.


text:
Where is "Call forwad" in marshmallow (Android 6)
It seems its absoultely crazy question but really i cannot find answer:
after update my phone to android 6, it seems in the call forwarding setting is missed in setting menu! i also search it using filed button but i cannot find it, could anyone help me about the situation in this version? i have Huawi P8Lite. Thanks a lot.

Have you looked in the dialer/phone app settings itself to see if the option is there?  On my S7 Edge the option is there, but that dialer/phone app is most likely different from Huawi's.

Many Thnaks RMarkwald, Yes here it finally found. as you told in Dial Pad Setting. Thanks again. unfortunately i cant mark tour commect as best answer until you put it in the answer area. but let me know if you do that for remarking it as the best answer. :)

Added answer.  Glad you found it!  :)

Look in the Dialer/Phone app settings itself to see if the option is there. On my S7 Edge the option is there, but that Dialer/Phone app is most likely different from Huawi's.


text:
Broke front camera on Nexus 5 and can't use any camera app
I just repaired a screen on my broken Nexus 5 but I also broke the front camera module. Now I can't get the camera app to work (for the back camera) or use Snapchat.
Is there a way to disable the front camera so these apps will open using the rear camera without trying to connect to the front camera and sending an error message?
I could get the back camera working before updating the phone when I went online so could it possibly be a software update. Any solutions would be much appreciated.

It was an issue with the default camera app being out of date after an OS update, this inhibited it the rear camera working on any camera app problem resolved itself once the default camera app had updated


text:
How to choose a firmware before downgrading Andriod version?
I have a Note4 which was shipped from the UAE (but I don't live in UAE). The current version of the device is 6.0.1 and I want to downgrade it to 4.4.4 (the stock version). I am having some trouble selecting the right firmware and was hoping if someone could help.
I came across this: http://www.sammobile.com/firmwares/database/SM-N910C/XSG/ but I don't know which version to choose. My phone's baseband version (N910CXXU1DPC1) is not listed here.
Can I choose any 4.4.4 version and hope it will work on my phone ?

According to this site, this is for Region XEO, which would be Poland, located here.  You can't just choose any version and have it work, and Samsung is known to not allow you going backwards in firmware versions due to a lock in the bootloader preventing this.  You may be able to go back to 5.1.1, but most likely not 2 Android versions backwards, and even going back to 5.1.1 may not be possible.

I was just about to say the same about bootloader, but after a brief search it looks like crossing the line between KitKat and Lollipop on this phone is possible without any extra steps. Still advise caution for OP.

Thx RMarkwald. That confused me even more. In the "About device" section I see the country as UAE. Shall I try to downgrade to 5.1.1 ? Can I use Kies to recover my phone in case I run into issues ?

That is totally up to you if you want to try to downgrade.  Personally, I wouldn't do it.  The only times I've flashed things were using Odin to do so.  I've never used Kies, I've always flashed the device and set it up from scratch.

As long as downgrading itself is possible and the firmware is of the right model, firmware from any region will work, you just get a different set of preinstalled stuff and slightly tweaked modem for the corresponding region. This is why I always go for European (XX) firmwares - they're simply cleaner and still work.

Thank you Andy. Can you suggest me a European firmware for 5.1.1 (english version) which will work on my phone ?

Like I said, anything as long as it's the same model. I just search for "XX" in the list and grab the one whose PDA version (the last 3 letters in the version) is the latest. Also, don't use Kies - backup and use Odin as instructed.


text:
Misc. file identifications and importance
I see things like roidapp, .chartboost, .mobvista, .ravesocial, etc. No idea what they are but eating up storage. How do I identify them as necessary?

Those are ad activities. If you have root, you can disable those activities. I recommend you disable those activities.

These are folders apps use to store some or (less likely) all of their data. If you delete that folder, some app data associated with the folder will be gone.
In most cases you can safely delete that folder given that you uninstalled the app prior to deleting it.
The folders usually have the same name as the app they represent. The reason they have a dot at the beginning is so Android detects them as hidden and doesn't show them unless you tell it to do so.
You can just Google the folder names (without the dot) to find what app made them, what does it do and wether you want to keep it or not.


text:
I got "Your device is corrupt. It can't be trusted and may not work properly" on a brand new Nexus 5X. What should I do?
Through Project Fi of Google, I ordered and got a brand new Nexus 5X with Android 6.0 on it.  The first time it powered up, it said
Your device is corrupt. It can't be trusted and may not work properly.

Although I can still use the phone, every time I restart or turn on the phone, the above message will show for a few seconds.
What can be done?

Unlocked bootloader = yellow triangle warning; modified system/kernel = red triangle warning.
As long as the device functions fine you shouldn't worry much; however if restoring is what you need, then flash a factory image then relock bootloader. Do turn on "OEM unlocking" in Developer options after that, so that you have a chance to recover in case anything happens.

after spending close to an hour with the customer service and wiping every thing out, the same corrupt message still showed every time. But, it asked me to install "updates", which upgraded without me knowing to Android 7.0, and the corrupt message went away after that. Now I have to spend time reinstall all the apps and configure everything. If they had told me upgrading to Android 7.0 would make the message go away, then I might do it without wiping out the phone's data. But then, shipping a brand new phone to customers with a corrupt message... what in the world is that


text:
No way to access to internet conecting PC to hotspot wifi Android device
My phone connects to internet properly. When activating Hotspot wifi, PC detects and reveices an optimal signal but there is no connection to internet at all. With other wifi signals it is properly working. Using USB the same happens. It seems that  Bluetooth connection is allowing access to internet but it is too slow. Any idea about how to make it work? Thank you.

Your phone only has one (1) WiFi chip.
This means it can only connect to one WiFi AP or act as a hotspot,
not both at once.
When you activate the WiFi hotspot, you get a warning, telling you that this will disconnect you from your current AP and use mobile data.


text:
Can't edit files in /sys/ folder
Is there any way to edit files in sys folder? I want to do that because buttons backlight on new rom is off, probably because I turned it off on previous rom and now I dont have backlight buttons settings.

/sys or /system? /sys is the sysfs psuedo filesystem which is a reflection of the kernel's device object structure and should not (cannot?) be edited directly even with root access.

@acejavelin /sys OK. Well than how it was possible to change brightness when it's file is stored there?

Doesn't Lux work? BTW, it's file isn't stored there, the current setting the kernel is using would be... the actual brightness is somewhere in the framework (beyond my direct knowledge).

It works, but I wanted to do it without aditional apps. Oh, my bad than. Thanks anyway

From my experience, editing it is possible at least on some occasions. Many HTC devices rely on the trick to disable/enable capacitive key backlights. Problem is you don't know what devices are capable of that and what files they allow you to touch - Samsung phones save those in a different place (device) for example. If editing directly fails, try writing an init.d script that does the same on boot (via echo).

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


text:
Speaker sound has too much high frequencies and is too much compressed
I listen a lot to music with my Samsung A3, and the sound is totally ok with headphones (thus no strange software effect applied to audio out), but when listening with internal speaker, I notice:

too much high frequencies (between 5khz and 20 khz), it nearly hurts the ears with high RMS-dB songs, even if I reduced the high freq as much as I could in the Music Player app's EQ
it's like some high dynamic range compression is applied to the speaker output sound (it has a very caracteristic sound) and this is not present when using headphones

All this was not present with previous phones I had.
In order to enjoy the portability of listening to music with solely the phone's internal speaker, how to improve its quality?
Are there apps that can apply EQ to internal speaker only (not 3.5mm headphone out jack) ?
Are there some effects to disable in a hidden menu (Developer menu?) of Android 5.0.2 ?
Background: I have had a few Android Samsung phones, a good old cheap Samsung Young S5360, a Galaxy Trend Lite, etc. and now a Samsung A3 (SM-A300FU) using Android 5.0.2.
Music producer here.

If you really want to improve the audio quality (for free), I recommend one of the many Viper4Android and DolbyAtmos bundles over at XDA-developers (make sure your device and firmware is supported). I can't find the exact post for your device but if you already have a rooted device, downloading and installing Viper4A is a trivial task.

If you have root permission, try using an automation app like Tasker to detect when the headphone jack is plugged in and set the equalizer accordingly.

@GiantTree are there solutions for non rooted phones to modify the global EQ of the phone's audio out?

Simple EQs (5-7 band EQs, some with reverb) are a thing on the Play Store, the quality won't increase much, though.

@GiantTree : do these EQ (as an app) apply to the global sound output of the phone? even phonecalls, etc. ?

This depends on the implementation and the specific app itself. Call audio does have its own channel (AudioManager.STREAM_VOICE_CALL) that is unaffected by an EQ on AudioManager.STREAM_MUSIC.

@GiantTree : there are of lot of EQ apps, which one would you use yourself for non rooted phone? (and possibly that would apply automatically on the output of other apps, such as music players)

Yes, the EQ apps are all using the same API that doesn't require rooting of any kind.


text:
How can I get cloud integration working again in Android 5.1?
When I tap Cloud in system settings, nothing happens. At first I thought it was because my odex file was messed up, but I fixed that and the permissions are set correctly. Cloudhub.apk is also present in /system/app, but I can't find an entry in the dalvik cache. Is there a way I can reinstall this properly?

Solved this myself, I figured out I needed to use the original Cloudhub.apk that came with my stock firmware. I was trying to use one pulled from a G3, and that's a no-go. If anyone runs into this issue, make sure you use an original APK, odex file and dummy library file pulled from the system apps directory of original Stylo firmware. And permissions must be set correctly. That should solve the problem and allow you full access to cloud services in the photo Gallery and elsewhere.


text:
Force Android to get the most out of a power bank
In a sad case of "two smarts make for a stupid", my powerbank is trying to adjust to the power needed by my Galaxy A3, while the phone, probably trying to do the same, settles for a low amperage.  As a result, the battery charges at 500 mA instead of 1500.  Is there a way I can force my phone to suck faster from the powerbank?
Notes:

A Galaxy S4 does get 1500 mA from the power bank;
The Galaxy A3 does charge at 1500 mA when plugged to a charger.
The powerbank is a GP Powerbank FP05M 3.7V 5000 mAh/18.5Wh, Input DC 5V/2A; output DC 5V/2.1A.

This is not uncommon unfortunately... Try a different cable or port on the brick

What is your power bank output rating? Can you add specs to the question please ?

@acejavelin: Thanks!  So it's not the cable's fault (it works with other devices) and there's only 1 output port on the power bank.

Power bank specs are fine, it ought to charge at a higher rate. While you have ruled out the cable, it can make a significant difference. Try using a thicker shorter cable see my Answer here

@beeshyams: Thanks for your input.  All the cables I use do 1500 mA quite fine with a USB plug that is directly plug to an outlet.  I tried three different cables of different thicknesses with the same result.

Well, I am out of options and wish as much to understand what's happening here! All the best :)


text:
How to automate command line when specific application is launched?
So basically I want to run a few line of code each time a specific application is launched and closed.
Is there application which could do that ? (Busybox ?)
I actually have to print it my self in a terminal emulator and it's a bit harsh :/

Using Terminal Emulator and Macrodroid, an automation app
Create a macro in which the Trigger is launch application of your choice and action is Launch Shortcut where you choose Term Shortcut and key in the commands in the arguments . See Firelord's answer here for additional details Home screen icon for terminal program?

To understand how MacroDroid works and required settings,  my answer here
See this to enter multiple commands Run 2 commands in the same line in terminal emulator  ( since you mentioned you have a few lines of code not a single command )

Great answer but it seems not to work withsu (application block when I want to add other lines, any advice ?)

Thanks. It works for me as shown here. Though i used a single command. Can you please recheck your syntax and try with su-c

Another thing you can try is split your commands into easier to troubleshoot sections and add each of this section as an action (you can hand multiple actions for a trigger). If you want you can separate these actions by wait X sec. Note that if you are using && to join command unless the first command is executed the next will not run. Breaking into sections and multiple actions can help troubleshoot


text:
WhatsApp MessageService is always killed shortly after exiting the app
A couple of days ago I noticed that I no longer receive WhatsApp messages until I manually start the app, which is when the pending messages get delivered all at once.
I started my investigation by monitoring the com.whatsapp.messaging.MessageService in the Application Manager.
Here's what it looks like at first, after I exit WhatsApp:

And here's what it looks like a few minutes later:

It looks like the MessageService either quit, or it was terminated. To verify this, I checked with adb. I can see the service at first:
$ adb shell dumpsys activity services | grep wh
  * ServiceRecord{43deec28 u0 com.whatsapp/.messaging.MessageService}
    intent={act=com.whatsapp.messaging.MessageService.START cmp=com.whatsapp/.messaging.MessageService}
    packageName=com.whatsapp
    processName=com.whatsapp
    baseDir=/data/app/com.whatsapp-1.apk
    dataDir=/data/data/com.whatsapp
    app=ProcessRecord{42d19f90 10037:com.whatsapp/u0a10187}

But then this service disappears, even though the main process is still running:
$ adb shell ps | grep wh
u0_a187   10037 215   988084 78996 ffffffff 00000000 S com.whatsapp

The service does not get terminated at the same time. I have seen it killed as early as 6 minutes after exiting WhatsApp, and as late at 11 minutes. But in the vast majority of cases, it is terminated some time on the 8th minute.
I have carefully examined the logcat during the moment of service termination with the following logcat query, which I believe silences only the stuff I don't care about:
adb logcat -v time LightSensor:s LightsService:s  SensorService:s SensorManager:s STATUSBAR-BatteryController:s BatteryService:s HeadsetStateMachine:s android.widget.GridLayout:s MP-Decision:s SignalStrength:s McClient:s McDaemon:s QcrilMsgTunnelSocket:s | grep -v ss_tz_mobicore | grep -v ss_daemon

I was not able to see anything in the logs that would hint at what happened to the service. Did it quit? Did something kill it? How can I find out?
I thought that maybe the service was terminated b/c the OS was low on RAM, but this does not appear to be so. Here's the RAM at the moment of termination:
$ adb shell free -m
             total         used         free       shared      buffers
Mem:          1821         1587          234            0           75
-/+ buffers:               1511          310
Swap:          399          134          265

While working on this issue, I have used Titanium Backup to freeze all apps that might interfere with normal operation of WhatsApp, so these are the apps I froze:

Greenify
Amplify
XPrivacy

I also turned off "Per App Hacking", which is an Xposed Module.
Any ideas on how I can learn more about why MessageService is being terminated?
EDIT 1: Is it possible that MessageService is supposed to get terminated, and that WhatsApp relies on GCM to be notified when there are new messages?

I've been having exactly the same issue as yours. I can also see that the MessageService service is being killed after around 10 minutes. After the service is killed, messages are only received when opening the app. While googling today for this problem, coincidentally found this thread which you had posted just 3 hours ago.
I'm using a new phone on which I installed Cyanogenmod 13. I've already tried to change several settings related to battery usage, memory optimization etc., but to no avail.
I've started using this phone 2 days ago and the whatsapp issue has been happening since then. Tomorrow I'll try to uninstall and reinstall whatsapp from the Play Store, since this one was restored from a Titanium Backup backup. I saw in a forum someone who resolved a similar issue by doing that... he also had restored from a TiBu backup and was having such problem.
By the way, your theory about GCM seems to point to the right direction - in my wife's phone the MessageService service is also killed after around 10 minutes, however, she doesn't have any delays in receiving whatsapp messages - so maybe it indeed relies on GCM for that.
Let me know if you make any progress on the investigation or come to a solution. Let me also know if I can help you with anything else.

This doesn't answer the original question.

@sickgemini: Although it doesn't answer the question, knowing that MessageService is also stopped after 10 minutes on a working phone is very valuable to me. It tells me that the service is stopped by design, rather than being terminated by the OS. I am removing the downvote.


text:
phone vs google contacts (android 7.0)
I have a Nexus 5X with android 7.0. A lot of my saved phone numbers are only searchable in the phone application, and are not listed in the contacts application. Various discussions, here and elsewhere, suggest that the contacts I can see in the phone, but not in my contacts app, are saved to the SIM card. However, both a third party SIM card management app, and attempting to import contacts from my SIM card to my contacts (via contacts -> settings -> import/export) indicate that there are no saved contacts on my SIM card. It is not clear to me where these contacts are actually saved then. And, how can I sync them into my contacts?
As far as I know, my default when creating new contacts has always been to save them to my gmail account (in fact, I don't seem to have any other option when I select "create new contact"), but somehow only a subset of those saved contacts actually seem to show up in my contacts app.

Could your contacts settings be set to display a certain criteria of contacts?

It is set to display all contacts.


text:
Lost root on Cyanogenmod 13 after Factory Reset
I am running Cyanogenmod on my Galaxy S2 for about a year.
A few months ago I bought a new phone and game my Galaxy S2 to my mom to use as a second phone. I did a Factory Reset before that. Everything was working fine, including root.
Recently I took the phone back and did a Factory Reset again, but now I lost root access. It is set to "Apps and ADB" in developer options btw.
I tried reinstalling Cyanogenmod, no luck.
Tried flashing recovery (I am using clockworkmod and it worked file all the time), no luck.
EDIT

What happens when you "su" in a terminal emulator?

@AndyYan, I've updated my question.

That looks as if you haven't enabled it (but you said you did). I'm at a loss.

@AndyYan, yes, me too. I tried flashing another ROM, based on Cyanogen. Same thing.

Why not flash just the SuperSU zip which will place all the files for su and the SuperSU app? and will re-enable root

Have you installed the Superuser app? Without su does not all you to become root.

@MikeN, it doesn't help.

@Robert, Cyanogenmod has it's own superuser stuff. You don't need Superuser app for that.

@geNia By "doesn't help", do you mean it doesn't boot or it boots but still no su? SuperSU is known to collaborate poorly with CM, but there are specific versions that do work.

@AndyYan, it boots but still no su. Was no su... I tried flashing it again and now the phone is rooted. But it is using SuperSu root instead on CM one. Anyway, it's strange.

I tried flashing SuperSU .zip file and after a few attempts it worked. No idea what was the problem, but it is fixed now.


text:
How do I force Google Play Store to download new apps on a roaming mobile connection?
I am often on a roaming mobile connection, and I have found that Google Play Store does not allow you to install apps while roaming. Clicking the "Install" button puts the app in a "Downloading..." state, but doesn't progress until you switch to a non-roaming connection (mobile or wifi). How do I force the Google Play Store to download the app while roaming? This issue occurs on and may be specific to Android 7.0.

Which OS? Are other apps able to access internet while roaming? Is the problem only with Play Store?

Saw the issue with clean installs of Android 7.0 and 6.0.1. Yes, other apps can access the network while roaming; the issue is specific to the Play Store.

With Nougat it is a known issue. Haven't heard of it with 6.0.1. can you do a clean install again and see?

Thanks for the reference. Do you know if an issue has been opened on the Android tracker? I can't do another install with 6.0.1 right now (I've already reinstalled everything with 7.0), but I'll see if I can reproduce it later.

Is mobile network data connection enabled when in roaming mode? I remember an option in the network settings that disables data connections when roaming.

@Robert yes, it is. Other apps can use the network without issue.

The bug has been reported to the tracker #224209. Moreover, it has occured since Android N dev. preview (refer to #211038). /cc @beeshyams


text:
How to find the screen-size-in-points of a Samsung Galaxy S7
Does anyone know, or know how to determine, the dimensions of the Samsung Galaxy S7 screen in points?
The reason I ask is because I'm trying to test the responsiveness of a website on the Samsung Galaxy S7, by using Chrome's built-in responsiveness checker.  It has preset settings to test different devices, but the Samsung Galaxy S7 is not one of them.  The tool does allow me to enter a custom screen dimension (see attached image).  Unfortunately I can't figure out what dimensions to enter for the Samsung Galaxy S7--it's not asking for the resolution and it's not asking for the physical dimensions in inches/centimeters. The displayed dimensions for each device seem to correlate to the device's dimensions in points, (see this page for my rationale).  I may be misinterpreting something though.

Galaxy S7: 5.1-inch diagonal, 2560x1440 (QHD) panel, LCD density at 640 (default) or 560 (condensed). What other info are you looking for?

After some more research, I found my answer:  360 x 640, which are the same dimensions as the Galaxy S6, which are the same dimensions as the few preceding Galaxy S models.
But I still don't know what these dimensions are called.  I found three different websites, each giving them a different term:

design.google.com:  "width x height in dp"
mydevice.io/devices:  "CSS width and CSS height"
viewportsizes.com:  "viewport size"

The metric 360 x 640 is in dp (device-independent pixels) and it is the dimension of the viewport at a 1x base size. This is not the same as the resolution, or physical pixel size. This is because the S7 has an XXXHDPI density factor of 4x, which means every graphic must be scaled x4 when exporting assets for this device. The resolution in actual pixels is 1440 × 2560, but one pixel on this device = 4px on a MDPI (medium-density) device, such as the Samsung Galaxy Ace (which has a viewport size of 360 x 640 dp AND a resolution of 360 x 640px).
See Google Material.io -- it lists the device metrics for many Android devices.


text:
Can you answer or reject a call with a voice comand?
When the phone begins to ring, can you accept or reject the call with a voice command?
LG Nexus 5 running 6.01

You can try the app Voice Call Answer SMS Reader which claims to do what you are wanting :

Now answer incoming calls and read SMS content by giving voice command to your phone. First of its kind app. Simply say YES or NO to pick or reject the call or to read SMS content. This Call Answer and SMS reader app can be very useful if you are driving.


text:
Is there a folder system viewable by applications
is there a folder system view able by application android, i.e. if i put a music file for example in it, I can see it from the music app??
I have android 5 on a tablet.

Yes. And I resume you even have a file manager on your tablet.

What are you trying to achieve?

videos, so it won't consume the internal storage other than the system storage (coz there's a lot of space in the system storage!!)

A music application will look in certain places for MP3 (or other format) music files, and show them in whatever graphical browser the application has built in.
Conversely, a file manager will show you the file and folder structure of your Android system (well, as much as is allowed by root/non-root permissions).


text:
Turning off vibration on Huawei P9 lite
My Huawei P9 lite vibrates when it goes to sleep after a short period of inactivity. How can I turn off the vibration?

Aren't there any settings like "Sound" or "Vibration intensity" that you can adjust?

On the Internet, it says Settings --> Sound --> Vibration Intensity. But there is no "vibration intensity" on my mobile ... :-(

Try using the Do Not Disturb or silent hour mode of Android.
You will be able to set the window in which the phone will vibrate.

How To Turn Off Huawei P9 Vibration:

Go to Settings
Select on Sound
Select Vibration Intensity

Otherwise I think your device is infected with a virus

There is no vibration intensity option on my mobile :-(


text:
Replacing pre-installed Settings app
I own Intex Aqua Life III with Android Lollipop. The pre-installed Settings app behaves like malware, automatically installing unwanted apps. On uninstalling this pre-installed Settings app, the issue is resolved.
I tried to install the Settings app from my Lava Iris X8, but it did not work.
How can I replace the pre-installed Settings app with another one? What's the procedure?

Possible Solutions

Grab APK from another of the SAME model phone running the EXACT SAME ROM your phone is:

The only thing you may be able to do is grab a settings.apk from another phone with the exact same ROM.

Re-Flash just the System partition:

Otherwise you will need to re-flash your ROM.  Don't Panic!!  If you just format the following via the Recovery menu:

ART/Dalvick cache
System
and Cache

you can retain all your apps and everything else in /data.
Note: You may wish to do a backup of your launcher settings if you use something like Nova or ADW or Apex or Go custom home launchers (stock won't have a layout backup function).  The only settings you may lose are any system settings (though MOST will be backed up anyways for you as most apps in /system use an area of /data to store settings files.  Some do not and is why I mention it) that do not save their settings somewhere in /data or /sdcard.
Other than that, this process as such (as long as you do not delete /data) will retain all your apps and their settings (the boot after the flash will take longer than usual as it will need to generate the cache for all the extra apps on the initial boot, but an extra couple min is a small price to pay to not have to re-setup everything IMHO ;-) (and you should get a countdown as it is running through the apps)).  AND since you will be flashing the exact same ROM there is no chance of problems [when changing ROMs if they use a different code base you can run in to issues where you are forced to format /Data as part of install, BUT NOT THE CASE when flashing the exact same ROM].
Tech Note on How This May Have Happened and Ways to try and defend against this sort of thing (nothing is a guarantee)
The only way something could mess with anything you have in the /system partition (including the system settings menu) can only be messed with by an app that has root access.  So, be careful what apps you are granting SuperUser access to (and be VERY VERY VERY careful if you download apks outside the Google Play Store.  It may seem like a good idea, but crackers can take ANY apk and add a virus to it and put it on a random site.  Then you think you just got the newest angry birds and in fact you did, BUT they added a nasty surprise to it.
You could also try out a Virus scanner (ONLY download this via the Google Play Store, and ONLY use reputable big name brands to be safest.  If unsure just fire up google and google the name of the anti virus and read up on user reviews and related material to get a feel for if what you are looking at is a good and safe option.  Of course, even if you have a virus scanner something may still get by it so still best to keep things like the above paragraph in mind at all times.

Hi Mike, Thanks a lot for your reply. Have done the same... Still same issue...the settings app shipped with the ROM seems bad...Is it possible to use settings.apk from another phone's ROM ?

@Faraaz Nope. You'll just make things worse.

Any other solution? Which file are the settings stored in? Can I modify these settings without the settings app?


text:
Reduce the size of soft keyboard on edit text click
Usually the soft keyboard fits to the screen size in both portrait and land scape mode. I am developing an app, in that i have an edit text. On edit text click "Is it possible to reduce the width of soft keyboard on land scape mode?". Please guide me through this.
Thanks in advance.

Is your device rooted?

@GokulNC Sorry for framing my question in wrong way. I have updated the question. Please go through it.

That depends of the keyboard app. Swiftkey, for example, allows the size adjustement of the keyboard in landscape mode.

Sorry for framing my question in wrong way. I have updated the question. Please go through it. I am asking about the default virtual key board that pop's up in android device.

No, as I said, the size of the keyboard depends of the keyboard app. You can't modify thay from your own app. You could do an in-app keyboard if you are capable of doing so, and if it is worth it.


text:
Data stored on external SD card is factored into "internal storage" calculation
I have an HTC One M8S, running Android 6.0.1, HTC Sense 7.0. Internal storage on this phone is 16 GB. I have installed a 64 GB SD card.
My issue is that "Play Store" keeps telling me there is not enough space to install new apps. If I open the "Storage" menu, the phone says there's 15.8 GB saved internally, while there's 3.7 GB saved on the SD card. I have configured all apps that need to save larger files (Spotify, Podcast Addict etc.) so that they store data to the SD card, yet it seems that this space is factored in when calculating available internal storage space.
I can confirm this when opening the "increase available space" dialog; under apps, the dialog shows that e.g., Spotify uses 3.4 GB of space.
Any way to overcome this, ideally without rooting my phone?
Edit: OK, so now I went ahead and deleted all those extra files (downloaded Spotify content, Podcasts etc.) from my SD card, and reformatted the SD card to convert it to an "internal storage" SD card. I thought this would maybe make the errors go away - by forming a single storage space for all types of files; but the problems/messages still pop up. Would be really good to know any documentation/guide on how to do this properly.

I thought I had this same problem but it appears to be virtual. My internal memory is showing 10gb of 11 GB used but apps are at 12gb on their own because of 3gb data on pocketcasts SD and similar amount of photos on SD. So r system knows it's there but in SD. Hope this makes sense.


text:
Ffmpeg on non-rooted Android?
I've set several places where I can get a ffmpeg binary for Android, but I cannot seem to run it. I use the . command to run shell scripts, but not ffmpeg. Is there any way at all I can run ffmpeg without rooting my device? (chmod-ing it is not allowed.)
I've downloaded a binary before, and attempted to run it, but I was unable to do so because it was not marked as executable. I was not allowed to chmod it and received the following error: Unable to chmod file: operation not permitted.

You should edit your question and describe more details about what you have tried (commands, directories, binaries) and the problems you were facing.

Use adb to move the binary into /data/local/tmp and set appropriate permissions on that file using adb and then attempt to run binary.

I received error: permission denied.


text:
unable to remove google account from lenovo vibe p1 m
I have added my gmail account in my lenovo vibe p1 option  m mobile phone but I am not getting any option to remove the account from the mobile. I searched in settings->Accounts but no such option is given. Please help

Go to setting > google > tap the account u want to remove > then tap the  recent page button (square shape ) 3 times then  remove option will be shown !

Go to Settings - Accounts - Google, this should put on a menu with your account at the top and all the sync options under it. Tap the 3-dot overflow menu in the upper right corner and select Remove Account.

to see the REMOVE ACCOUNT option, you need to long press the menu button on the phone. it will do the trick.


text:
send fake accelerometer or multitouch signal to an application on Android x86
I have this challenge:
I use proto.io to make demos of application I will develop, but this time I have to run it on a PC running Androidx86, connected to a touchscreen (no multitouch). Proto.io requires at startup to tap the screen with 3 fingers or to shake the device, obiouvsly I cannot do both as the PC don't have an accelerometer.
Is there any way to send a fake shake or multitouch to the app? I have already contacted the support team of proto.io, but they confirmed that right now there is no other way to start the application..
Any idea?

Solved, this can be done using app WIFI ADB - Debug Over Air installed in the device, after establishing a connection sending the command

adb shell input keyevent 82

to shake the device.
Another solution I found was using app Tasker to send a shake.


text:
enable phone module on Galaxy Tab A
I have a Galaxy Tab A running an intercom app. Problem is that this app uses telephone's default ringtone. To change it, i would need to change telephone's ringtone. Now, this tablet doesn't have the telehpone module enabled. Is there a way I can enable it so that i can access all OS telephone options (like ringtones)?

Alternative proposal: replace the default ringtone file. You need to have root and/or a custom recovery to do this.

@AndyYan can you provide more info about this?

As long as your Tab A is not a carrier variant (e.g. AT&T), you can just root the device and replace its default ringtone.
T280 is relatively scarce on development, but nevertheless here are threads (1, 2) dedicated to it and its LTE cousin (T285) on XDA-Developers. This post inside holds TWRP recovery for T280 for rooting and/or replacing. Since I don't have the device on hand, it's up to you to read through the thread, especially the ones after that post, to see how to flash and the precautions (it looks like the steps are more complicated than just flashing it in Odin).
For your purpose you don't actually need root - if you know what the corresponding ringtone file is, just use TWRP's built-in file manager to do the replacement. However, if you don't, it's advised to root so as to make things easier (previewing ringtone files on the fly).
The ringtone file should be somewhere under /system/media/audio. Although modifying audio files shouldn't pose risk, it's still strongly suggested that you make a full backup in TWRP before proceeding.

Thanks for your help. The tablet is not a carrier variant. I've tried several programs to root the device without success: KingoRoot failed; Mobogenie doesn't detect the tablet; Framaroot says device is not supported. I'll try if i can sobstitute the file in the second way...

@Mark Did you actually look at the answer? Nowadays one-click root is almost dead. Use TWRP+SuperSU to root.

Didn't read the link but just the text, sorry. Now, maybe i'm not understanding your reply, but could you tell me how to use the BUILT-IN TWRP FILE MANAGER? From what i understand i should install it but my model is not shown in the link you posted...maybe i'm not expert enough to understand something that may be obvious for you, could you drive me a little further please?

@Mark What's your model then? Anything other than listed should be carrier custom. With TWRP installed, boot into it, mount /system in Mount, then go to Advanced-FileManager to start exploring.

The model is SM-T280. It was sold as unbranded and there's no trace of any visible carrier brand in the box or in the software. I tried to boot it in recovery but I can't see the TWRP interface that I see in other tutorials online. Just a screen with the following voices: - reboot system now

apply update from ADB
wipe data/factory reset
wipe cache partition
reboot to bootloader
power down
view recovery logs
update from cache
update from external storage

Ah crap, I forgot there are new Tab A models coming out this year. My previous answer definitely doesn't work then, but I've updated it with what I found now.


text:
How to uninstall Rooms App?
I checked my phone after class and I noticed that a new app was installed. I keep automatic updates off at all times so I have no idea how this application came to be on my phone. It is called rooms and has the android logo as its thumbnail. I have uninstalled the application numerous times and it just automatically installs again each time. I have tried researching the application and I've come up with nothing. When I click on the app, it tells me to insert my device into my Gear VR. So my question has two parts: First, is this a legitimate application that others have heard of? And second, is there a way I can remove it? Thanks.

I found this advice on another chatroom:
Disabling "Facebook app installer" and "Facebook app manager" in app manager made this unwanted garbage stop harassing my precious S7.
it helped me.

If you have root you can uninstall this apps by type in the terminal pm list packages and use grep to filter so like that pm list packages | grep -i facebook you can uninstall it by typing pm uninstall [package name]


text:
Unable to automate disabling mobile data via Tasker plugin Secure Settings on CM 13
I hope this isn't as niche as it looks. In Android 6 apparently there's no way to disable mobile data using Tasker alone. So, I'm trying to disable mobile data via Secure Settings, using the "mobile data" setting. It gives out an error when the task runs. I have given both Tasker and Secure Settings pretty much all permissions I could find in settings. Still no go. Ideas?

Unfortunately, Secure Settings doesn't work well on Android Marshmallow due to lack of platform compatible updates. That been said, you can toggle mobile data using command-line approach in Tasker.
Action: Code → Run Shell:

Command: svc data disable
Replace disable with enable to enable mobile data.
tick Use Root.

Tasker community at Reddit has compiled a useful list of all the Secure Settings actions' command-line alternatives. You can find the list here.
An alternative to command-line based approach is to use an another automation app in parallel or with Tasker, such as MacroDroid and Automate. Both the apps can toggle mobile data, given root access is granted to them.

Cool! Thank you so much. I suppose those automation apps also require me to disable the "screen jacking" protections, since they simulate user actions? I wonder when Android is going to break that as well :(.
So far I've been quite disappointed with my Android upgrade experience. I eventually reverted to my old 4.4 ROM because there's simply too much missing. They managed to screw up even the simple battery display graph, which now doesn't show time since last charge, you need to install a custom app for that. sigh...

I use Toggle Data 5.0 on CM13 (third party distribution for the Samsung S4, ResurrectionRemix). XDA Developers link. It works well.


text:
Android: something is using up all my wifi
This is the problem I have, and it just started today. When I start my wifi, everything seems alright. I can use the internet. Then, something kicks off that uses up all the wifi, and at that point, nothing works.
Based on what's happening in the apps, it looks like all of their requests are timing out. The icon shows that I'm constantly uploading/downloading, despite their being no apps on.
I've turned it on and off multiple times to no avail.
What could be doing this? How can I track it down?
Thanks!

Does it happen in Safe Mode?  If not then you have an application, that is configured in your normal boot configuration, using all your resources.  You can use something like AutoRuns to determine which application it is.

Does the issue persist if you set the wifi on the device to "off" then "on" again? Is there a "login" page when connecting to that wifi? (Like what you would see at a hotel or airport?) - Finally, is there issues with any other devices?

@NBN-Alex this is not a hotel or airport wifi. There's no login. It's my work wifi. Nothing has changed there. No issues on any other devices.

@Ramhound I rebooted in safemode, and it looks like my wifi is still being used non-stop. Now, it's showing the synching icon as well.

@Summitch do you have access to your router's login page? If so you can login to the portal and look at connected devices on your wifi tab and it should show you signal %.

@Mr.Hargrove no, I don't currently have access to my router. I'm at work.

@Summitch So this is not your wifi network? If so many devices could be using the wifi for a multitude of different things, many of which can slow the wifi network down.

@Mr.Hargrove This is a business wifi. It's most certainly not the issue. What I'm pointing out is that it's not just my Wifi is slow on my device. It's that my device shows the Wifi in constant use. It's also heating up. It's like it's working really, really hard on something that's using the network, but nothing should be on.

Would you be able to post a screenshot of the data usage screen and the Running Processes tab?  There's so many possible answers but I'm thinking it's possible there's a sync of something in progress

@Summitch download a network analyzer like this: http://www.techet.net/netanalyzer/ and it should possibly show what's using the wifi.


text:
No alarm sound after update from CM 11 to CM 13
I recently updated my Samsung Galaxy S3 from Cyanogenmod 11.x to the latest 13.0. Despite some transitional issues, everything seemed fine.
Except that I almost overslept because the alarm was silent; only the vibration went off.
I have been through all the settings and combinations of modes (airplane mode, system profile, ...) -- volume is turned up everywhere but alarms are always silent. What do I have to do?
I use the system clock/alarm app.

I'm posting this self-answered question in the spirit of Encyclopedia Stack Exchange since I was not able to find a solution on the internet.

As it turns out, the update skrewed up the link between alarms and ringtones resp. alarm sound. For me, the alarm app showed 17 instead of a sound name.
You simply have to choose a new sound (or reselect the old one, as it where) and you have audible alarms back.


text:
Extract full system image from a Samsung Galaxy S5 with no screen
I have a Samsung Galaxy S5 phone with a broken screen. I'm trying to get a full system image that I can then flash into a brand new Samsung Galaxy S5.
I know that it is possible to clone one phone's system and configuration into another phone (e.g. using the procedure described here). However, that process assumes a fully working source phone.
How could I extract a functioning, flashable system image from a phone with no screen?
FYI: the source phone has USB debugging enabled, so it is possible to access it through adb.

Without screen the only chance I see is via root access. May be there is a exploit that gives you temporary root access. But that depends on your installed software version.

the source phone is rooted, but i have no idea about how to go about dumping a system image. It would depend on the version of what?

If the source phone is rooted you have multiple possibilities.
If the target phone is also rooted one easy solution may be a back as it is described in Is there a way to do Nandroid backup directly to pc and then restore it directly from pc also?
First connect via adb shell to the phone and get root permissions via su.
Now create backup all app files via tar:
tar -cvf /sdcard/app-data.tar /data/data

Then exit adb and copy the created file to your computer:
adb pull /sdcard/app-data.tar

Afterwards you should have a file named app-data.tar on your computer. Check it with an archive tool and you will find a lot of directories.
You may want to delete certain files or directories from the tar file.
Afterwards you can convert it to an Android Backup so that you can write back the data onto the new un-rooted phone.
Making a tar file to an Android Backup can be done via Android Backup Extractor. Note that some apps will refuse to accept the restored files (because backup is disabled).
The created Android backup can then be restored via adb backup command.


text:
How do I download whole folder from OneDrive onto my SD card?
How do I download whole folder from OneDrive onto my SD card?
Exactly what an app called Folder Downloader (that works only for Dropbox) does for Dropbox - but getting a folder from OneDrive.
reliability is important. Also if 7 files out of 40 fail - the app should offer re-try of just those files.

Wouldn't it be easier to sync / download entire content of your OneDrive to your SD Card using your desktop computer and then only setup OneDrive to work on that folder / root folder on your SD Card? It should do some indexing / cleanup work and you should be done. At least this is how I'm doing this with each fresh installation on OneDrive on my PCs. Instead of wasting hours to download a few GBs of data over Internet I simply copy entire content of OneDrive folder from old computer to new one and then indexing takes few minutes at most.

no because my onderive is 100GB and it would be too much to sync.