text:
Reset wifi settings without factory reset in Android TV?
So I've got a situation where I want to clear all saved networks. How can I do it without a factory reset?
Or, perhaps, do it using the Wifi Manager API?
I am using android box for TV, which is running 6.0

This depends on your version of Android, in Android 4.4 (KitKat) or lower the only option is a factory reset.
With the introduction of Android 5.0, including Lollipop, Marshmallow, Nougat, and Oreo versions of Android, Google added an option that is usually located in Settings - Backup & Reset that is called Network Settings Reset, which will reset all network related settings including all WiFi, Bluetooth, and Cellular Data settings back to their original factory defaults.

what you can do is go on WiFi settings and then tap or hold the WiFi you want to clear the click on disconnect then forget and it will be cleared


text:
Can my contacts know if I'm on another call when they try to call me
Will they know if I'm at another call even if it's not using the whats up app? On a regular cell call it would just keep ringing if the person is on another call. If you have call waiting you know they're calling you. I don't know if I explained myself.

It depends on your service provider.
In my country, all the networks will inform the caller that you are on another call via automated response; they will be asked to either hold on or call you back.
Hope this answers your question.

source: Stack Exchange

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

sort: votes


text:
Moving default folder Termux with content to downloads in Android 7
This is what I need;
Termux - How do I create a directory of files accessible outside of Termux?
I have my Tiddlywiki running on node.js in Termux. My problem is that Termux stores all files in the default folder. This way I can not let Dropbox backup. Can someone help me moving the default folder (with content) to, for example, Downloads? Or what is the best directory in my case? I spent years working on my Wiki and I'm afraid of making mistakes.
Android 7 (Nougat)
I installed my Tiddlywiki to this example: http://tiddlywiki.com/static/Installing%2520TiddlyWiki%2520on%2520Node.js.html

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

See https://wiki.termux.com/index.php?search=Storage for the newest information about using storage in Termux.  https://wiki.termux.com/wiki/Termux-setup-storage is the prerequisite.  Use it first.  To share data see https://wiki.termux.com/wiki/Sharing_Data for more information. Save your data to external storage in ~/storage/external which should be a link to Android/data/com.termux/files on your external SD card, and will be accessible from both Termux and Android.

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


text:
Does the Nexus 7 [2013] (Wi-Fi) tablet update to Android 6?
In my country, Nexus 7 2013 Wifi only tablets are still available. It comes with Android 4.3, but I was told that it updates to 6.0.1 (official update). Does anyone know if this is true? Also, is it stable on 6.0.1? And will Facebook, Instragram, Pintrest & Google Photos apps be stable on it?

Yes, it is true that Nexus 7 [2013] (Wi-Fi) can be updated to official Android 6.0.1. On Google's factory images page for its devices you can see all the updates.
The concerned apps work fine with Android 6.0.1, at least on my Nexus 6 with Android 6.0.1.

Thank you. Do you think it makes sense buying this tablet today? I cannot find any other decent tablet in the price range?

I'm sorry. I'm not really good on such suggestions and that's off-topic here as well.

I just found this page https://support.google.com/chrome/a/answer/6220366?hl=en where it seems to say the Jul 2017 is EOL & Autoupdate won't be available


text:
USB transfer grant: disable
Is there a way to disable the dialog below:

Android version 6.0.1

It's a dialog, not a notification. :-)

I Think you can't disable this.But if you search for the code "who" is start that on pc or as root user can be a way tó disable this.Sorry for my errors i am in hungary country/Magyarország
Have a nice day!


text:
Does the IP address over a mobile data connection (gprs, 3g/4g) change every time on new connection?
Is the IP address of a data connection assigned every time whenever a fresh connection is established (e.g after a  disconnect-reconnect scenario, reboot etc) or its preserved.
I have done a bit of research on this topic but there are slightly different views. The first one is affirmative:

Whether the IP address is reachable from the public Internet, however,
  depends on your ISP; most mobile ISPs operate a NAT that multiplexes
  several network-internal IP addresses through a single address visible
  to the public Internet. The externally visible IP address may change
  on the fly as you move around from cell tower to cell tower. Your external IP will, however, change when you reconnect to your network 1

On the other hand, some suggest that the same IP address is maintained even on reconnection after reboot but only changes when the lease expires

Phones use DHCP (Dynamic Host Control Protocol) to obtain new IP
  addresses from the carrier when the lease on the address expires. You
  don't get a new IP address every time the phone reboots, only when you
  restart the phone and the lease on the IP address has expired. 2

I do understand the concept of DHCP and that new IP  addreses are assigned whenever the lease expires (some suggest usually after 24 hours or so) but my confusion is that if the lease is still valid and I do disconnect and reconnect mobile data, do I get assigned a new IP or the existing one is kept?
References

Does my phone have an IP address when I'm using the internet, but not connected to WiFi?
Does my 4G mobile phone have a fixed IP address or does it change whenever I move to a different location or whenever I restart the phone?

The answer is this varies by carrier and can vary for any number of other circumstances such as market, locale, and traffic density... Both answers you referenced are correct for certain situations. I have also seen DHCP leases in crowded mobile network areas be under 4 hours... So does your IP address change every time you connect? Sometimes it will, sometimes it won't, there is no definite answer that encompasses all/most situations.

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


text:
How to get tomorrow's date and next week's number for use in Tasker
Based on this answer I am looking for a way how to get tommorow's date and next week number to use in Tasker app, Run Shell Command.
I have tried:
date -d '+1 day' +"%Y%m%d" and similar, but still I am getting Error: 1.
In shell emulator I get bad date '+1 day'
Cannot find any android shell commands reference or man.
Some guides recommend using %TIMES variable, but not sure how.

I've figured it out, I had to learn to use Tasker a bit, the solution is a little awkward but it probably should be done this way in Tasker.
The most important variable for such datetime manipulations in Tasker is a global variable %TIMES which contains current time in seconds - so it is a big long integer number.
Adding e.g. 30 days to it means you need to Set variable (with Math on) like this:
%TIMES + (30 * 86400)

Tommorow is:
%TIMES + (1 * 86400)

The main problem is, that you have to convert the value to a formatted datetime string. As I understood it there is no built in command for that in Tasker.
You need to create JavaScriptlet task step for that and paste there the code from this page:
<TaskerData sr="" dvi="1" tv="4.1b1m">
    <Task sr="task54">
        <cdate>1340586441681</cdate>
        <edate>1369445351826</edate>
        <id>54</id>
        <nme>getFormattedDate</nme>
        <pri>10</pri>
        <rty>2</rty>
        <Action sr="act0" ve="3">
            129
            <Str sr="arg0" ve="3">var gsMonthNames = new Array(
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
);

var gsDayNames = new Array(
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday'
);

var d = new Date(par[0] * 1000);
var f = par[1];

var formatteddate = f.replace(/(yyyy|yy|mmmm|mmm|mm|dddd|ddd|dd|hh|nn|ss|a\/p)/gi,
    function($1)
    {
        switch ($1)
        {
        case 'yyyy': return d.getFullYear();
        case 'yy':   return ('0' + d.getFullYear()).slice(-2);
        case 'mmmm': return gsMonthNames[d.getMonth()];
        case 'mmm':  return gsMonthNames[d.getMonth()].slice(0,3);
        case 'mm':   return ('0' + (d.getMonth() + 1)).slice(-2);
        case 'dddd': return gsDayNames[d.getDay()];
        case 'ddd':  return gsDayNames[d.getDay()].slice(0,3);
        case 'dd':   return ('0' + d.getDate()).slice(-2);
        case 'hh':   return ('0' + ((h = d.getHours() % 12) ? h : 12)).slice(-2);
        case 'HH':   return ('0' + d.getHours()).slice(-2);
        case 'nn':   return ('0' + d.getMinutes()).slice(-2);
        case 'ss':   return ('0' + d.getSeconds()).slice(-2);
        case 'a/p':  return d.getHours() < 12 ? 'a' : 'p';
        }
    }
);</Str>
            <Str sr="arg1" ve="3">45</Str>
            <Int sr="arg2" val="1"/>
            <Int sr="arg3" val="45"/>
        </Action>
        <Action sr="act1" ve="3">
            126
            <Str sr="arg0" ve="3">%formatteddate</Str>
            <Int sr="arg1" val="1"/>
        </Action>
    </Task>
</TaskerData>

before that Javascriptlet step you insert 2 steps where you set two input variables %par1 (contains datetime in seconds form previous step) and %par2 (contains yyyymmdd - date format).
The formatted date string is available then in %formatteddate variable.

As for getting the next week:

Run Shell date -d +"%Y" to  %year
Run Shell  date -d +"%V" to %week
Set variable %week to %week + 1 (Do Maths On)
Set variable %year to %year + 1 (Do Maths On) (If %week > 52)
Set variable %week to 1 (If %week > 52)
The yyyyww.htm of the next week can then be written as %year%week.htm

52*7 = 364; a normal year has 365 days and a leap year has 366 days. Beacuse of this discrepancy, regardless of whether week 1 is taken to be the first full week or the first week with 4 days or more in the new year, occasionally there will be a week 53.

Given a variable %mytimestamp set to an epoch timestamp you can use this in your shell action:
date -d @%mytimestamp +%Y%m%d
Note the @ before %mytimestamp

$ adb shell
$ date --version
toybox 0.7.4-android
$ date --help
usage: date [-u] [-r FILE] [-d DATE] [+DISPLAY_FORMAT] [-D SET_FORMAT] [SET]

Set/get the current date/time. With no SET shows the current date.

Default SET format is "MMDDhhmm[[CC]YY][.ss]", that's (2 digits each)
month, day, hour (0-23), and minute. Optionally century, year, and second.
Also accepts "@UNIXTIME[.FRACTION]" as seconds since midnight Jan 1 1970.

-d      Show DATE instead of current time (convert date format)
-D      +FORMAT for SET or -d (instead of MMDDhhmm[[CC]YY][.ss])
-r      Use modification time of FILE instead of current date
-u      Use UTC instead of current timezone

+FORMAT specifies display format string using strftime(3) syntax:

%% literal %             %n newline              %t tab
%S seconds (00-60)       %M minute (00-59)       %m month (01-12)
%H hour (0-23)           %I hour (01-12)         %p AM/PM
%y short year (00-99)    %Y year                 %C century
%a short weekday name    %A weekday name         %u day of week (1-7, 1=mon)
%b short month name      %B month name           %Z timezone name
%j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31)
%N nanosec (output only)

%U Week of year (0-53 start sunday)   %W Week of year (0-53 start monday)
%V Week of year (1-53 start monday, week < 4 days not part of this year)

%D = "%m/%d/%y"    %r = "%I : %M : %S %p"   %T = "%H:%M:%S"   %h = "%b"
%x locale date     %X locale time           %c locale date/time

try this:
tomorrow=$(( date +%s + 86400 ))
date -d @$tomorrow +%Y%m%d


text:
Would rooting my phone prevent me from using device protection features
I wanted to unlock my bootl oader so that I can root the device for performance and battery improvement.when I try to turn on OEM unlocking, I am told that the step would deactivate device protection features. I want root and device protection .I dont want to flash custom ROMS or recovery .I just want to root the device and turn the switch back off. Is that possible?

So if I root my device factory reset protection would still work .?

Thanks  a lot. Really great ful for the tip . The risk is worth taking.  There's just no custom recovery for my Device and I'm going to make sure that USB debugging is always turned off

Yeah, I was wrong... See answer below.

It appears my comment was incorrect, once you Enable OEM Unlocking in developer options, you have disabled Factory Reset Protection completely.

If you have Developer options turned on, you can also turn off device
  protection from your device's Settings app. Tap Developer options and
  then OEM Unlocking.
   - Source

And no, once you have unlocked the bootloader (required to root) you can not re-enable this switch, it is greyed out and non-functional, unless you relock the bootloader which cannot be done without have a completely stock image installed, meaning no root, custom recovery, or other modifications to the device.

Well this is odd. I have unlocked bootloader but "allow oem unlock" isn't grayed out, moreover it can be checked or unchecked (I don't understand this at point where bootloader is unlocked)

Testing it... Give me a few minutes.

@ЈеднорукиКрстивоје Tested with a Nexus 5 and Moto G 2015, both on stock Marshmallow, after unlocking (both were unlocked already) the OEM Unlocking switch can be switched on and off, but seems to have no effect on anything and FRP does not function, both devices had Google accounts and after a factory reset I was not required to log back into Google to get to the home screen.

That's pretty sad . Just one or the other . But after unroot everything should work just fine , I guess .

All I wanted to really do was to remove some bloatware and convert some few apps into system apps

@AlainGiresse Modifying modern Android devices is not as simple as it used to be, there are significant implications to unlocking the bootloader and rooting today. Even causing some apps to fail to work do to failure of the SafetyNet API which requires a pure stock phone and will report a fail condition to apps even if you are purely stock and only unlocked the bootloader without modifying anything at all, apps like Netflix, Pokemon Go, Android Pay, and most financial apps will fail to work when a SafetyNet check fails.

Keep in mind that this security that you loses protect device only from attack performed when someone have physical access to device (but if you connect device to pc with ADB and attacker gain remote access to pc phone will be in trouble but that is big if). So you lose this "protection". Long story short don't let phone in untrusty's people hands and you will be mostly good. Also consider this what acejavelin said. Keep in mind that this can be bypassed (hint: magisk).

@ЈеднорукиКрстивоје I think the key  point here is that Factory Reset Protection no longer works.

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


text:
how can i fix this?

when i watch video in YouTube or Facebook or browsing, doesn't matter where, image is always like this. someone to have solutions about this? thank you!

Defective chip. Take it to a repair shop.

i don't know is defective, when i use old versions of Facebook or YouTube is work, but when i updates them, always show me like this. i think is a video driver or codec but im not so sure

Stock or custom rom? Which device?

stock android 4, asus padfone 2

Try using a different version of the applications, and also use an up to date version of Android as that may help

only with very old version of the apps its work good, but sometimes also giving me those image,  special in youtube. im with last version of Android for my device which is android KitKat.

Perhaps install an app to check RAM usage

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

authors: Кан Аспарухов


text:
What is 10263 process
Here is the screen shot

I've checked the battery usage apps so that to save my battery level , I've seen a strange process 10263. I want to know what's is use

These are often applications that have been uninstalled... Particularly those starting with "10" for some odd reason. Did you recently uninstall anything?

I have recently uninstalled svt from my phone

As I have answered here, it's the UID of a removed app. You can safely ignore it as it will disappear sooner or later.


text:
I have an Archos 55 Platinum. How do I turn off vibrate when I'm typing?
I've turned 'vibrate' off in a couple of places, but it still vibrates when I'm typing an sms message. It's really frustrating.

which keyboard you are using? keyboard settings have an option to disable vibrate.

By default, pressing the touchscreen creates a vibration. This functionality is available in two parts: general interface and virtual keyboard. To completely remove vibrations of this type the option must be deactivated in both sections in the Settings app.
From Settings > Sound , uncheck Vibrate on touch.
From Settings > Language & Input, in the section Keyboard & input methods, press the settings button next to Google Keyboard (or the 3rd party keyboard that you are using) and uncheck Vibrate on keypress.
Information available on: Archos FAQ Home


text:
How to switch from front to back camera on naxa 9" Core tablet
When taking a picture oh a Naxa 9" Core tablet, it will only display the front camera, not the back camera. I have touched the Camera Icon on the screen but it just takes a picture instead of switching the camera to the back camera like the instructions in the manual says.  Is there a quick fix for this or do I need to return the item to the store.

Open your Camera application
Swipe in from the left of the screen to reveal the camera and
video icons.


text:
USB device doesn't show up on Android device
I bought a USB-to-micro-USB cable to use my USB on my Android device. Normally, when you plug it in you get a message above that says it is connected. But when I plug it in, the message does not show up on my phone and when I use it on my tablet it works.
I already tried a USB OTG check app and it says that it is compatible. I also tried another USB but that did not make a difference.
Can someone help me?

What phone? As the answer below alluded to, not all Android devices support OTG and some only support very low devices or require a special OTG Power Y-cable to function.

Yes it's natural. In some phones the OTG doesn't work, because it's unable to provide the power needed to function the external device you're trying to connect. In your case the tablet gives the power needed while the phone doesn't.

One case that I can think of is that your phone can't supply enough power fo the USB drive.
"USB drive" is a very wide concept because all drives with a USB interface can be called a "USB drive". It can be a flash drive, an portable HDD or even a portable SSD.
Typically, a flash drive only requires less than 1W of power, while a portable HDD can draw as much as 5W, and a portable SSD can draw 6W or more.
Another possible case is that your phone has an Enable OTG setting that is turned off by default. My phone (OnePlus 5) has this case. You must manually turn on that setting. Those apps won't detect it if such a setting is turned off and still tells you your phone supports OTG.

I doubt phone can't deliver enough power it's either lack of otg support or it's turned off as you said.

@ЈеднорукиКрстивоје The OP said i already tried an USB otg check app and it says that it is compatible.

My bad sorry...

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

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


text:
Android 4.1 Locked Out
I am messing with an old Android my Little Sister had before she switched to the “darkside” (iPhone).
It has a 4 pin lockscreen (Not 3rd party) and my sister forgot the pin. I removed it from device manager years ago cause she didn’t use it, so I can’t remote whipe or anything.
Being a casual user, my sister never enabled USB Debugging, so I can’t connect to a PC and access it that way.
The WiFi is off and her service was discontinued 2 years ago so I can’t do anything that way.
Tracfone also disabled recovery mode, so holding Power+Vol+ sends it into a bootloop until I let go and it boots to Android. I tried every possible combo and even letting go and clicking them again to no luck.
It’s an LG Optimus Fuel running non-rooted Android 4.4 with the LG Optimus UI Launcher.
I assume it’s a brick, but is there any thing I can try?

You can still flash the phone by installing a new ROM, this will factory reset the device.
But I think you are doing wrong while trying to manually hard reset the phone. Follow the steps below:
Works for Tracfone LG L34C Optimus Fuel model:
It’s a little bit complicated, just follow this guide:

Power OFF the phone.
Press and hold Power button and Volume Down button in the same time for several seconds.
Keep doing this until you see LG logo appears on the screen. When the logo is appear, release both buttons but for 1 seconds only.
Remember to release both buttons just for 1 seconds before you press and hold them once again.
If you do it right, the device will boot into Recovery Mode. Now you can release both buttons.
In recovery mode,  navigate through the menu using both Volume  buttons and Power button to select.
Select YES  on the first dialog box and another dialog box will also show up to confirm your action. In the second dialog box, select “Yes” and let the factory reset process begin.
Done.

Since it's LG, most probably it will get only prompted with factory reset. (Hate LG for this)

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


text:
Facebook and Youtube apps dont play videos properly in Note 2
I use Samsung Note 2. it works fine. it has only one problem. video thumbnails in youtube and facebook app looks fine but when i play the  video pixels mix. touch screen , audio works fine.
It is my first thread and i don't know  how to upload ss directly. so here is imgur version of problem https://i.stack.imgur.com/rnOQZ.jpg


text:
Micro SD gets corrupted after every restart
I own a 128GB Micro SD card from Sandisk which I know is perfectly fine and healthy. It is formatted in exFAt and worked perfectly with my Samsung S5. Now I bought a Samsung S7 and I replaced the card from my S5 to my S7. Since I did that my S7 running on stock Samsung Android 7.0 shows a window I have to format the card before I can use it... Off course I didn't do that since there is very important data on it. So I put it into a card reader connected to Windows which detected it as perfectly fine. I ran "scandsk x: /f" on it from within Windows and it said the file system is healthy and did not have to be repaired. After I eject it from Windows and put it into my S7... Android reads and writes it perfectly fine again... until I reboot my phone. Then the format screen shows up again. This loop keeps on going infinite...
Android 7.0: extSD is corrupted -> Windows 10: checkdsk /f: card fine -> Android 7.0: extSD reads -> Android reboot -> Android 7.0: extSD is corrupted -> Windows 10: checkdsk /f: card fine -> ...
So anyone got the same issue and found a solution?

Try to format it to fat32.

The Solution was simple after all, chkdsk told me the volume was fine when I did a (basic) error check [/f] but when I did a check for bad sectors [/r] it found tons of errors and repaired them. It took some time but now I have all my data back!
So if you have this problem with any sd card mounted for example as drive u:\ then run in cmd:
chkdsk u: /r /v

ps: format my card as fat32 was no option as it is 128GB and I would lose all my data.

If it had a ton of bad sectors it'll die completely sooner or later. Backup that data before it's too late.

yes it did and you are right, more are showing up lately... I'm making a complete backup of the card and after will do a full format of the entire sdcard.

If you're constantly getting more broken sectors, not format can fix the card. The problem is not at logical level (corrupted filesystem) but on hardware level (weared down flash chips). The card firmware tries to hide the broken cells but once the damage is too high, you end up with errors visible to the operating system.

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


text:
Installing TWRP on a locked OnePlus One without wiping data
I am trying to upgrade my OPO's operating system from CyanogenMod to the latest nightly version of LineagOS.
As a first step, I tried installing TWRP, by executing from my shell the command:
fastboot flash recovery recovery.img

But I got the following message:
FAILED (remote:         Device not unlocked cannot flash or erase)

I read in a few places that I should first unlock my device by executing the command fastboot oem unlock, but that it is going to erase all my data.
Is it true? Is there a way to avoid the erasure of the data?

How did you install CM without unlocking BL?

@iBug Probably not CyanogenMod, but CyanogenOS - which was indeed preloaded on some international OPOs.

Yes, what I have is CyanogenOS that was installed initially

NO. Period.
If you want to unlock the bootloader erasure is inevitable. You can make a backup, but I'm not sure it'll be restored. However what is the point when you flash a custom ROM you'll need to wipe data in that case anyway. However you can move media to SD card pull it out and unlock bootloader (Make sure the SD card isn't encrypted).

Thank you! I became much more complex than what I thought at first. Even copying a gallery accumulated in more than 2 years to the computer is a nightmare - you wait long time just for Windows to compute how long it is going to take to copy the directory... I've finally gave up for now

Transfer all media to SD card and pull it out (make sure it's not encrypted) and unlock bootloader. Or you can use Google drive, Mega or some other cloud storage to do backup online.

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


text:
Installing Lineage OS 13 on Mi Pad
I am planning to install Lineage OS 13 on my MiPad (1st gen) running MIUI7.
I was told that the first thing i need to do for this is install a custom recovery like TWRP & resize the partition as per this guide.
I have a few questions
1) Do I first need to root my MiPad before installing TWRP? If so, how do I do that?
2) I found that I could install TWRP from the play store - https://play.google.com/store/apps/details?id=me.twrp.twrpapp
(This is version 1.15)
How the guide says I should download TWRP_multirom-v2.8.4-mocha.zip Recovery. It doesn't mention where from but the version seems to 2.8.4
Why does the playstore contain such an old version? And where do I get TWRP_multirom-v2.8.4-mocha.zip from?
The guide also says
    Change the Mi Recovery to either CWM or TWRP Recovery (I used TWRP)
What does this mean & how do I do this?

What you see on Playstore is not the custom recovery, but a helper app to install the recovery (if your device is rooted). Don't confuse the two :) You can also install TWRP by flashing it via fastboot. No root required, but the bootloader must be unlocked. Before you ask: I cannot give you device-specific info as I have no Mi Pad.

To install Lineage OS 13 on your Mi Pad, requires these steps.
N.B: Rooting voids your warranty and may brick your device. Backup your device data before any operations. Kindly read the steps given on xda several times and perform operation.

Required to Root your Mi pad. MIUI Root zip
Download the zip file, place it on internal memory, go to updater app and flash the zip by selecting it from internal memory. your device got rooted.
To unroot, download stock rom from miui and flash it.
Install a custom recovery TWRP(recommended) or CWM. TWRP download
Download twrp app or zip file from the above link, if from app, open app, it will ask root permissions, provide them, select your device, and install the version provided for your device.
Lineage OS 13 ROM zip file. Lineage zip

XDA contains several discussions about rooting, installing custom recovery(twrp), custom rom(Lineage, resurrection remix etc.). Please go through every aspect about the steps and then follow it.
Try to download any official rom, if not download unofficial that updated to latest version.

Google apps for marshmallow. opengapps
download google apps for your

platform arm(32bit), arm64(64bit)
android version, lineage 13 is marshmallow(6.0)
variant based please look this answer for which-version-of-gapps-to-install-for-lineage

If you can go to mi recovery using power and volume button, your bootloader is unlocked.
unlock steps mipad2

 If you can go to mi recovery using power and volume button, your bootloader is unlocked. - I don't understand what you mean

Do you have an MiPad - have you tried installing Lineage OS on it?

Is MiPad arm32 or arm64? Is there a way to figure out?

To unroot, search miui forum for unroot zip. - why would someone want to do this - can rooting cause issues?

power off your device, press volume up and power button. if it loads to mi recovery, your boot loader is unlocked, that means your can modify, install any operations of device.

How will I know if it loads to mi recovery - what will that look like? And how would the bootloader got unlocked without my knowing it?

rooting gives you permission to modify device's system files

I am asking why would I want to unroot not why would I want to root.

it was written mi recovery

Let us continue this discussion in chat.

Well, the first step itself failed. I downloaded the root zip. Went to updater & selected it. Right away, I got an error message "Update failed. Can't update at the moment. Touch OK to report this error to our engineers"

may these links help you: http://en.miui.com/thread-158213-1-1.html, http://xiaomiadvices.com/root-miui-8-mi-redmi-phones/, https://medium.com/@md_ray/how-to-root-xiaomi-mi-pad-using-stock-recovery-and-developer-rom-flashing-update-zip-not-using-2064427350b3,http://en.miui.com/thread-30617-1-1.html


text:
How to prevent uninstalling applications
How can I prevent uninstalling selected applications by mistake? can I add a user application to device administrator for example?

No, you cannot add any app as a device administrator unless it has provisions for it. What you can do is convert those apps as system apps. The process requires root access. Follow:

How do I properly install a system app given its .apk?
Installing .apk as system app directly (with root)

You can alternatively, albeit with root access, disable the component com.android.packageinstaller.UninstallerActivity. (Elixir 2 can do that easily.) That component shows the the dialog to uninstall the app. If you prevent the appearance of that you won't be able to uninstall the app through GUI.
In absence of root access, consider disabling the Package Installer app. It is a system app which handles installation (sideloaded apps) and uninstallation of apps through GUI. It can be disabled from Settings → Apps → (three-dots line → Show System) or (All Apps) → Package Installer → Disable.
One side effect of disabling Package Installer completely or its aforesaid component is that you won't be able to uninstall any app through Settings app either (Play Store is exception). Re-enable Package Installer to uninstall any app from Settings app again.


text:
Samsung pen sold separately
It seems that starting with the Galaxy Tab S3 (February/March 2017), Samsung has shifted to Apple's model: Sell tablets without a pen. Sell the pen as an optional attachment.
But something in the Note series (phones and tablets) used to be from Wacom. What is it, and is it still in the S3? And how does one navigate the future line-up? Does determining whether the words "capacitative display" appear in the tech specs settle it?

The Tab S3 has no dedicated slot for storing the S-Pen (unlike previous tabs equipped with the same tech) and the S line is not aimed squarely at content creators, which could be why Samsung opted to not include one in the sales package.
All S-Pens are backed by Wacom tech - the battery-free pens and their precise tips are a signature of Wacom's EMR (Electromagnetic Resonance) technology. Meanwhile, most if not all modern phones have a capacitive touch screen. You have to explicitly look for "S-Pen" when you need a device with it.
As of now (Sep. 2017), most S-Pen-equipped Samsung tablets still start their model numbers with a common letter "P":

Galaxy Note 10.1 2014 is P60x (discontinued)
Note 12.2 is P90x (discontinued)
Tab A 2015 with S-Pen is P35x (8.0-inch) and P55x (9.7-inch)
Tab A 2016 with S-Pen is P58x (10.1-inch) — (discontinued)

(x for variant, e.g. 0 for WiFi, 5 for international LTE)
Tab S3 is a rare exception but it's marketed heavily around its S-Pen so you'd still know it easily.
Samsung once had a "C-Pen" denotation for a pen used on pure capacitive screens, although that's long obsolete.

Thanks! Weirdly, if I go to http://www.samsung.com/us/mobile/tablets/ , click on "all other tablets", and then checkmark "S Pen support", only one tablet remains. The Canadian site http://www.samsung.com/ca/tablets/ is hopeless. The UK site http://www.samsung.com/uk/tablets/galaxy-tab-a/ has vague promise.

Not clear how the Galaxy Tab A 10.1 with S Pen 16GB (Wi-Fi) SM-P580NZWAXAR fits in your line-up. Could you mention the screen size for the two Tab A 2015/2016 models that are still on the market?

That's a P580 (it's right there in your string), aka Tab A 2016 with S-Pen. The 2015 models are a 8.0 incher (P35x) and a 9.7 incher (P55x), both with a more square-ish 4:3 screen.


text:
How do tablet OTA updates work?
I'm thinking of buying the NVIDIA SHIELD K1 tablet. I was very impressed by the specs, especially as it's only $299. I noticed however, that it only shipped with 5.1 Lollipop. Of course, for a 2017 tablet this is appalling, especially with the recent release of Android Oreo. NVIDIA say they provide an OTA update to Marshmallow, although in South Africa, where I live, OTA updates are useless because cellular providers don't care about them. But then I realized something. The tablet doesn't have a SIM card, so it can't rely on cellular providers to send out the OTA updates, so how does it get them? And does it rely on cellular providers to give it to you?

What is OTA?
On mobile field such as smartphones, an over-the-air update may refer to a software update that is distributed over Wi-Fi or mobile broadband using a function built into the operating system, with the "Over The Air" aspect referring to its use of wireless internet instead of requiring the user to connect the device to a computer via USB to perform the update.
(Over The Air) Update procedure for Nvidia K1 with Wi-Fi:

Go to “System Upgrade” screen (Settings->About tablet->System upgrade) to enable full update image download.
From “System Upgrade” screen press the dots on the upper right corner and select “Advanced”. In the new menu screen tick the option “Check full upgrade”. Go back to the previous screen.
Now the “System Upgrade” will download the latest ROM image (Size of the update may vary).
When OTA download is finished, press Reboot/Install.

Saving OTA Update.zip for later usage from System Recovery:

If you don't tend to install your OTA now, then don't press Reboot/Install from Step 4, your downloaded update files are found the system.
Open your file manager (Ex: ES File Explorer File Manager) and navigate to “/data/data/com.nvidia.ota/app_download”. you will find OTA Update.zip file.
Move Update.zip to a known location, (Ex: Downloads folder “/storage/emulated/0/download”.
For later usage, reboot your tablet into recovery mode and flash your Update.zip stored on your choosen folder previously.

EDIT1:
How it works?
TLDR, There is an Update.zip file which will be sent through internet to your WiFi tablet, no cellular network is needed for your Wi-Fi Tablet.

I asked how it works, because I mainly need to know if cellular managers have any say in the matter.

How it works, There is an update.zip file which will be sent through internet to your WiFi tablet, no cellular network is needed.

Oh, okay. Could you add that to your answer, I'll edit my question ad mark your answer is right. Everyone wins!


text:
Do Not Disturb for specific duration in Samsung S8 Quick Settings
I've just switched from a Sony Xperia Z3 (6.0) to the Samsung Galaxy S8. On the Sony I could set Do Not Disturb mode for a specific time (15 mins, 30 mins, an hour, 2 hours and so on) using the Quick Settings menu.
This was a really useful feature when going into meetings, presentations, movies etc. But I can't find this feature on the S8 - there's only the option to enable DND mode (and leave it on) or schedule it between specific times.
Is there anyway to get the great 'DND for 15/30/60 etc. minutes' feature in the Quick Settings on the S8?

This applies to Samsung S10 too.

I can see in Google's documentation for the Pixel that the feature that lets you set how long DND mode should last (15,30,60.. minutes) is there in the Pixel, just as it was in my old Sony Xperia:
https://support.google.com/pixelphone/answer/6111295?hl=en
Unfortunately it looks like Samsung removed this feature with their Touchwiz overlay, so you're only left with scheduling DND between specific times or enabling it forever.
To bring back this feature I ended up having to install an app: https://play.google.com/store/apps/details?id=com.cabooze.buzzoff&hl=en

Galaxy S8 has the feature. Its there in sound settings.
From home, swipe up to access Apps.
Tap settings app icon Settings > sounds settings icon Sounds and vibration > Do not disturb.
Tap On/Off to enable the feature.
You can also schedule the mode.
Tap Turn on as scheduled, and set the Days, Start time, and End time.
Source: http://eguides.sprint.com/support/eguides/samsunggalaxys8s8plus/content/samsung_galaxy_s8_s8_plus_ug/do_not_disturb.html

Also you can enable it in quick access by editing quick access list.

I asked how to enable DND for a specific time period like 15/30/60 etc. minutes, this doesn't answer that. I already know how to enable DND mode (and leave it on) or schedule it between specific times


text:
If an inappropriate review is removed by Google Play, is its associated rating also deleted?
Say a user leaves a hateful review on an app with a ★☆☆☆☆ rating. If the developer reports it as inappropriate, Google may remove it as explained here.
Does this only hide the review message, or is the rating also get deleted (so it doesn't weight on the app average rating)?

It doesn't delete it unless Google Play Review Team reviews that review and then deletes it including its rating if it doesn't follow Google Play Comment Posting Policy.
You can report a review either through Google Play Console or Play Store itself.
If you report through Google Play Console, you will be able to report it only once. If Google rejects it, you can't report it again.
If you report through Play Store, it will be hidden only for you, while it is still visible to all other users. If it is not deleted and Google rejects your report, the review will be visible to you again usually after a couple of hours, and the rating will still be counted, but you will still be able to report it again although Google will mostly reject it again and again.
However, in most cases according to my experience when I review 1-star reviews with hateful⁽¹⁾ comments, they don't get deleted. Google is very strict about reviews. They sometimes even delete real 5-star reviews and keep hateful 1-star reviews undeleted. That's frustrating I know. The only 1-star reviews that got deleted were those that were totally irrelevant to the app that promoted a service or another app or simply looked like an ad.

(1) By saying the word "hateful", I mean comments that curse or promote violence.


text:
Can quick charge be enabled with custom rom?
Suppose I have a device (eg Redmi 4) which inherently has quick charge 3.0 support but the developer has disabled the feature to save the cost, then can I by installing the custom rom enable it?

A custom kernel can, but when the manufacturer themselves don't offer it, devs often can't make the most out of it. Redmi Note 3 got aftermarket QC support but the voltage is still locked at 5V, just with a larger current.


text:
When I try to download pictures from phone to computer, "no pictures found on this device"
I have an LG-X Power. I have tried to download the pictures from my phone to my computer. When I connect through a USB cord - I receive a message on my computer that reads: "No pictures found on this device". The pictures are on my phone, there are many. I bought a new USB cord, still the same. I have a standard Windows operating system.
I needed a few of the photos so I simply attached to an email, opened email on computer and downloaded that way. I have way too many to do that tedious method repeatedly.
Does anyone have any suggestions?

Make sure you have choose either PTP or MTP connection on phone. If still doesn't work than try this:
Go to settings>apps and find "media storage" and "external storage" (maybe you'll need to check "show system") clear data for both of them, and then reboot. After device boots wait up to 10 minutes for media database to update and connect phone via USB to PC.


text:
How to remove dummy account from android?
When I go to factory reset my android device I found a "dummyaccount" on my device.
Does anyone know what this "dummyaccount" is and how can i permanently remove it from my device?

Is there any other gmail account signed in the device?

In what state is the phone? Why do you want to factory reset it? What issues are you experiencing?

no, i have already removed google account before reset.

@esQmo_ my device became slow so i want to reset it.

You probably have been infected by some malwares. Have  you noticed weird/unusual behavior?

@esQmo_ no, haven't noticed any unusual behavior

So does this prevent you from doing what you need to do? You can still reset by key combo anyway. (power off. hold Volume up then briefly the power button. From the recovery, use Volume buttons to navigate )

@esQmo_ ok. Will try this and let you know

Removed dummy account by factory reset device. but, not found proper reason how it came into my device.

See this link. I would say that it was an account created by some app for their internal purposes. Also see this.

The answer is within this article:

Add the Account Required by the Framework
The sync adapter framework requires each sync adapter to have an
  account type. You declared the account type value in the section Add
  the Authenticator Metadata File. Now you have to set up this account
  type in the Android system. To set up the account type, add a dummy
  account that uses the account type by calling addAccountExplicitly().

So the reason for this account was probably some app, that needed its local database to be synchronized with server using a sync adapter. This app has created account called dummyaccount. Some tricks exist to hide this account from the account list in Settings.


text:
Play Store Keeps Loading After Switching Google Account
I removed a Google account and added a new one. Now when I go to Play Store > My apps > It just keeps loading. Any ideas how to fix this?

Did you try to clear the Google Play app's data and cache? Sometimes it does task in the background such as updating Google services and if your network is slow, nothing will show up until it finishes.

@esQmo_ nope, should I do that?

That's where you start first. So yeah you should

@esQmo_ ok I just did it, it's still loading but I let it sit for a while. I will update after a few hours.

I think it's just doing some background task. You should have a stable network connection btw. And preferably use your WiFi network.

@esQmo_ I tried something: I installed a new app, the loading issue went away after it. Now my question is: The old apps from the old account is still in the phone but not the Play Store anymore, should I uninstall/reinstall those apps?

The old won't appear in Play Store simply because you removed the account that had installed them. It's something like an history. It's up to you whether to keep those apps om your phone or remove them then install using your account.

You   should answer your question and mark it as solved so other people having similar issues can find it.

I solved the eternal loading issue by simply installing a new app (any app).


text:
Apps not using full screen size
some apps not display full size (Samsung Galaxy S Duos 2)

What could be the reason, and how to fix it?

I can fix it now . This happen when i install gltool.
I just  uninstall  it and apps fullscreen now.


text:
How to remove Cyanogenmod from Sony Xperia Z?
I've got an old Sony Xperia Z running Cyanogenmod which is pretty unstable.
I'd like to remove Cyanogenmod & do a factory reset to the default Sony Xperia Z ROM. It doesn't need to do much - just run Spotify & Google Maps in our car.
However flashing a Sony Phone with a factory ROM requires a special tool (FlashTool) & a special file format (FTF).
Running FlashTool on Ubuntu 16.04 my phone connects in flash mode, but then reboots into Cyanogenmod after the "Preparing the files for flashing" step. I had assumed this was something to do with Cyanogenmod.
INFO  - Device connected in flash mode
INFO  - Selected Bundle for Sony Xperia Z(C6603). FW release : 10.5.A.0.230. Customization : C6603_1270-4066
INFO  - Preparing files for flashing
INFO  - Device disconnected

How do remove Cyanogenmod from a Sony Xperia Z & restore it to it's factory ROM?
If that isn't possible what can I replace Cyanogenmod with?

There's no such thing as "CM bootloader" - a CM installation only writes a new /boot (kernel) and /system.
Since you are explicitly looking to return to stock, FlashTool is still your best bet. Find the latest stock ROM for your variant and region using XperiFirm, generate a .ftf format file with what you downloaded using Flashtool with the guide here, then flash away.

Sorry, I think I'm getting confused between the bootloader & Cyanogenmod recovery. When I use Flashtool & try to flash it the phone reboots, which I thought was Cyanogenmod behaviour.

Did you actually put the phone into download mode as per Flashtool instructions?

I finally succeeded by using Windows 10 + "Emma" the Sony Flash Tool. It was super easy. So I'll put my previous issues down to Ubuntu rather than phone weirdness.

Didn't even see you were using Ubuntu... Another reason why I always tinker with my phones under WIndows.


text:
Why are bootloaders in rewritable storage?
I successfully flashed my device a few times, but I am still paranoid about hard bricks. I am sure I can use my Arduino to fix them, but this made me wonder why bootloaders are stored in rewritable storage. I am aware that there is a PBL and an SBL and all that, and the PBL is in ROM. In this context, "rewritable storage" means a storage medium that can be electronically rewritten (EEPROM, Flash, RAM, etc) and "ROM" means read only storage, not aftermarket Android distributions such as Lineage OS.
Summary:
Why would code that is required to even turn the phone on, not to mention booting Android, be stored in a location that can be rewritten.

Andy mentions some of the benefits for later upgrade in the field, and these are good points, but there's more to it than that. The bootloader doesn't just need to boot the primary OS, but also the "charging mode", which is itself an embedded Linux kernel. The bootloader needs to bring up the hardware to be a USB endpoint and to talk the fastboot protocol, so that it can receive and flash new recovery and system images. It also has to perform signature validation on those images, using a quite complicated block-based scheme so validation doesn't slow down boot time.
So what? Why does any of this functionality need upgradeability? Because it's complex enough to contain bugs. The original XBox bootloader was 512 bytes long and contained two critical security errors, one of which made it possible to run unsigned code on consumer devices. It wasn't possible to update it in the field. Right away, their main security and anti-piracy mechanism became worthless. Phone manufacturers do not want to have those bugs. They make the bootloader updateable so that the device can be upgraded in the field, and so that it's easier to test and develop the bootloader against the real hardware. It's much harder to develop and test code that will be baked into a ROM - and that extra complexity means there would be more bugs and that phone development would be slower, missing the important launch deadlines.
Having an upgradeable bootloader is only a problem if you try to flash firmware to the phone and screw up. This simply isn't a problem for almost all of the phone market. It's only the crazy hobbyists who brick their phones this way.  Worse yet, moving this complex bootloader into ROM wouldn't prevent bricking. There are still many ways a broken firmware can damage the device: by overheating it, by uploading a broken radio firmware, by blowing fuses in the secure element, &c.
So overall, there's a huge cost to putting more complex software somewhere that's hard to test and debug, and can't be patched to add functionality or fix bugs. There's no advantage at all for almost all users, and even those users who insist on shooting themselves in the foot would still have other ways to do that.

Bootloaders, like other partitions, might be updated officially for various reasons:

Switching to a new partition layout (e.g. a bunch of older devices with life spanning across Gingerbread and Ice Cream Sandwich, the latter requiring considerably more space)
Implementing new security mechanisms (e.g. earlier Xiaomi devices, old bootloader readily unlockable, new bootloader requires logging in and verifying before unlocking)
Ensuring you're on a version the manufacturer wants you to be, i.e. preventing downgrades (e.g. Samsung, doing so will halt halfway).

I still think there should be at least a bare-minum recovery in ROM, completely inaccessible to software. Something like inserting a MicroSD card, then pressing a power+volume up+volume down+home while the device is connected to a charging port causing the contents of the memory card to be duplicated into Flash.

@person That's an even larger loophole for devs to exploit (to achieve unlock, etc.). If you check out the 3DSHacks Reddit you'll see how many are willing to hardmod their devices for the freedom, and one of the recent discoveries is very similar, utilizing a hidden procedure to boot arbitrary code. It's best to keep those sealed.

Also, Qualcomm does have an emergency mode (QDLoader 9008/900E) for the worst case users can handle, but unfortunately that one is not always available for all devices.

@AndyYan So your interest covers 3DSes too, hmm?

@DeathMaskSalesman Haha sure, got an old variant on the shelf. I don't game much with it though, #PCMasterRace

@AndyYan I just migrated to a new variant. Must say, that the 3DS seems like the easiest handheld to mod.

Come to think of it, what a silly liability with such a set up, isn't it?
My only assumption is so OEMs are able to push updates for new builds, in order to patch security issues, compatibility issues, etc.
You bring up an excellent point though, this is a gigantic vulnerability and a gaping flaw in the process for sure.


text:
adb wakeup not wakes up galaxy s8
I'm looking for adb command to wake up my galaxy s8.
When I had galaxy s7 I used successfully this command:
adb shell input keyevent KEYCODE_WAKEUP

but in s8 this command just wake it up for a moment and then the screen is black again.
Can you help me find a way to wake up my phone and leave it awake?

I didn't find a solution but just disable the screen lock

Try this command:
adb shell "dumpsys power | grep "Display Power: state=ON" | xargs -0 test -z" && adb shell input key event 26

This will first check to see if the screen is on. If it isn't, it will
  emulate the power key, which will turn on the device's screen.

Credits: Vimalraj Selvam

I get an error: 'grep' is not recognized as an internal or external command maybe you can write it just in Linux? because I'm using Windows.

You can put the whole command in quotes


text:
Trying to find Game App installation folder
I used to play this Bingo Blitz game and was trying to find where the installation folder is. I couldn't find it under Data folder, even searching the
keyword "bingo blitz" does not yield anything.
Any experts able to install the game and try to figure out where it is?
My device is not rooted.

Well, unless your device is rooted you won't find anything within /data/data. You could try your SD card for additional files, usually located below Android/data.

As @Izzy said, without root privileges you cannot see the contents of neither /data/app or /data/data.
Even if you did have root privileges, searching for Bingo Blitz inside an average file manager wouldn't have yield anything. This is because no file or folder is named after the app label. In order to turn up some results, in fact, your search term must be an app's package name. In your case, the package name is air.com.buffalo_studios.newflashbingo.
Armed with this knowledge, we can now say that the app's APK can be found inside /data/app/air.com.buffalo_studios.newflashbingo-x.apk (pre-Lollipop) or /data/app/air.com.buffalo_studios.newflashbingo-x/base.apk (Lollipop and above). In both cases, x is a digit depending on how many times you updated the app.
The app's data, on the other hand, is to be found inside a folder called /data/data/air.com.buffalo_studios.newflashbingo/.


text:
Accidentally deleted Bluetooth from Android
Yesterday I got a message from perhaps one of my antivirus that "Bluetooth Share has permission to send text messages without your permission and may cost money". It gave me the option to delete it and stupidly I said yes. To be honest, I thought an app called Bluetooth "Share" would not be the actual Bluetooth apk I used on my phone but rather some third-party app from the Play store. But now I cannot use Bluetooth on my phone and I have no idea how to fix it.
My phone isn't rooted and if anyone has any idea how to restore Bluetooth on my Android 7.0 Moto G4 I would be very grateful!

Fixed!
Go to settings -> Applications -> Reset application settings.
Google Play Protect caused the issue and disables the software.

Your AV shouldn't be able to delete system apps (assuming it's not using root). At worst it can disable them and you can restore it from either app management in system settings or you can check if your AV has a restore option.

There is no Bluetooth app even in the disabled section of apps in settings, and my AV (Kaspersky) doesn't seem to have a restore app function..


text:
Change android name from "android-..."
I have many android devices connected to my network but they are all showing as android-[string of hexacecimal].
My OnePlus 3t (v7.1.1) is one of the devices. I have changed the name of the device but it still shows up as android-xxxxxxxxxx....
Is there a way of fixing this.

How did you change the device's name?

"showing" where? What are you trying to achieve?

What you wish to change is the device's hostname. On certain ROMs such as LineageOS, you may do so via the Device hostname setting, located inside the Developer options. You can access them by typically tapping the Build number information, placed inside the About phone setting, seven or more times.
If the Device hostname setting is missing, you may achieve the same result by either using a computer and sending commands via adb, or by installing a terminal emulator app.
While I won't cover the topic of setting adb and USB debugging on, the command to use with adb is
adb shell "setprop net.hostname <hostname>"

If using a terminal emulator, instead, the command to use is
setprop net.hostname <hostname>

In both cases, replace <hostname> with a name of your choice, and press the Enter key to run the command.

The setprop command is only available to root so it is necessary to have the su binary available. Also, setting hostname using this approach will only remain in effect until reboot.


text:
Image Android Phone, then run on Windows
Is there any way to take an image of an android device, then run that image on an Android emulator (e.g. BlueStacks) in Windows?
I'd like to do this as a way to help investigate an issue with some Android software (specifically, a rollout of a Soti MobiControl upgrade which worked on most devices, but erred on a subset with common features (OS version & hardware):

I have a device on which I can reproduce the behaviour, which I'd like to take an image / backup of before doing a factory reset on the phone to see if the issue reoccurs after a clean install.
I'd then use the image / backup to restore the phone to its faulty state if the factory reset resolved the issue, so we could zero in on the root cause (i.e. to find a more efficient fix before pushing this out to all phones).
If I could emulate the faulty device, I could also check whether the emulated version still had the issue, and if so try upgrading the version of Android on the emulator beyond what the device's hardware supports to see if that's the issue.

i.e. this gives me lots of options, some of which are mentioned above.

Hardware layer is gonna be impossible to emulate - it's just like trying to run a ROM for one device on another.

Agreed.  My thinking is if the issue is reproducible on the emulated image that suggests that it's something to do with the OS version or something else in that image.  If it's not reproducable, that points at / implies something lower level; e.g. the hardware or something very low level in the OS.  The idea's just to have a way to narrow down possible causes quickly; and if reproducible, have another toolkit we can use to investigate the issue.


text:
Forced to allow automatic updates?
So I wanted to stop the Play Store from automatically updating only to find that this is literally not an option.
My version of Play Store is 8.1.73 and when in settings I press the "auto-update" fields I get the option to update over wi-fi or also over data.
What happened here? Did Google just sneakily remove the option to not auto-update? Is it a OnePlus "feature"?
I have a OnePlus 5 with the latest update for Oxygen OS for my region (Europe) installed.

Not my case. The Play Store on my OnePlus 5 gives three options: the two identical to you, and another "Don't update apps automatically".

Check out in the settings tab of google play store, there you'll find 'Auto Update Apps. There are three options,
Do not auto-update apps,
Auto-update apps at any time. Data charges may apply,
Auto-update apps over Wi-Fi only.
So you can make auto update off.


text:
Battery slowly charging on Tab S
I have a tablet Samsung SM T-805 (Tab S 10.5"). Also I have Samsung A5 2016 phone and original Samsung adapter (2A 5V).
I had custom OS installed on my tablet. At some moment it became to charge really slow. So I have installed Android M on my Tab S. Also I installed 3C battery monitor. First charge after reistalling was fast. In fact it was close to 2A. But now charging rate is only 0.5A. Also 3C shows that battery is in good state.
I don't think that problem is with cable/adapter: A5 shows 1A current while charging (I think it's limit for it).
What I suspect:

Usb plug-in is damaged.
Android is limiting charge rate. I think it's more likely since battery had charged faster right after reinstalling Android.

In case 2 there might be a possibility to somehow remove that limit, but how? If it requires root access it's not a problem.

Your Tablet needs a fast charger, i guess (5V 2A) isn't enough for it to charge your device quickly, also power off your device while charging it will speed up the charging process

@AbdelhafidMadoui, the weird thing is that tablet receive less current than phone. Powering off speeds up process only for a bit.

I have approx 300 Samsung tablets in my company (including ~100 SM-T805). I understand that this could be a software issue with your ROM etc, but in our experience, we often do find that the cables can slowly degrade over time, and even though they display that they are charging at full speed, the speed is actually well below the original maximum.
I would suggest you find an alternative cable to test. Drain the tablet battery to 0%, power the unit down and test a full charge with the current cable, (e.g. 2hr 12mins) and then replace the cable, and re-charge the tablet from 0% again.


text:
My headphone jack on my Nexus 7 2012 works only half the time
My 2012 Nexus 7 (Rooted; CM 12.1, Lollipop), has headphone jack issues. Most of the time, only the left ear will work, and sometimes I am able to get both the right and left to work. Sometimes they will both work perfectly, and it's not an issue. I know it's not the headphones, so what should I do? Thanks!

I think this is just general phone wear and tear. The headphone jack could be partially damaged due to water over time. You could get the headphone jack replaced and see how that goes for you but if the phone is 5 years old then this might be a good time for an update.


text:
How do I interpret the numeric columns' output of the adb ls command without the -R?
A little background. I've had an app with a database that's worked fine for a few years. I added new options, including DELETE DATABASE, with this line of code:
getApplicationContext().deleteDatabase(DATABASE_NAME);

No error. But now I get exceptions where I try to re-load or create a new database. I wondered if there was a possibly-corrupted database on the emulator or if a file with the name I was using was present but with 0 size, somehow. I needed to see it in a directory listing. Never seen one before.
Using adb at the DOS command prompt, I (finally; long time spent) found command syntax to show the files. Here's the command:
C:\Users\Dov>adb ls /data/data/com.dslomer64.servyhelperton/databases

Here's the output.
000041f9 00001000 59b7bc7d .
000041e9 00001000 59b5a17d ..
000081b0 00005000 59b72501 Dictionary.dic
00008180 00002210 59b72501 Dictionary.dic-journal
000081b0 00005000 59b6e3c3 TEST2.dic
00008180 00002210 59b6e3c3 TEST2.dic-journal
000081b0 00005000 59b710c8 TEST.dic
00008180 00002210 59b710c8 TEST.dic-journal

YAY. But what are the columns of numbers? Size? Mod/create date?
(I think the two less-urgent questions below just require YES/NO answers.)
(I would hate to start a new Question for either.)

Just to see what I'd get, I asked for ls of the database itself:
C:\Users\Dov>adb ls /data/data/com.dslomer64.servyhelperton/databases/Dictionary.dic

C:\Users\Dov>

Got no error. Got nothing.  Did anything hidden happen?

I pulled TEST.dic and opened it with Notepad. Not text.
But assuming what I pulled is a valid SQLite database, could an app read it?

The columns do in fact look weird, no idea what's going on there. But deducing from the file names, I'd say what you see there are indeed SQLite databases (telling by the -journal files next to them, SQLite3). Have you tried opening the pulled databases with e.g. SQLiteman or some other SQLite tool?

Good point. I'll try sqlite.exe.

Yes! One is, so surely all 3 are normal databases, pulled from this emulator or that. Thanks for the suggestion, @Izzy!

Glad I could help! Can't put it as answer, though, as the main part of your question rather is on that strange output from ls. Those 3 cols look like hex values or hashes of something. Could you include some details on what Android you're running in that emulator (the tag suggests your talking about running in one), and also what kind of file system it uses for the corresponding partition?

Second column seems to be the size in hex: 1000=4096, which is a typical size for a directory node. Funny though that all your database files should have the same size (20k), as do their journals (5.7k) – can you confirm that size after your pull? The first column could be a presentation of ownership (owner, group) perhaps combined with the corresponding permissions, and the third some timestamp representation (note that one always corresponds between a db and its journal). All just a "wild guess", though.


text:
messages stuck in notification area
I have a Samsung J3 running Android 7.  I have received 2 notifications which seem to be stuck in the notification area, no way to get rid of them.
One is a Push Message saying that I've used 1.6Gb of my monthly traffic (coming from my carrier).  Which is somehow associated with the "Messages" app which came with the phone (can't tell who is the vendor on it) even though I set my texting app to "Messages" from Google.
The other one is from "Wifi Calling" and it notifies me that "Calls will be made over Wi-Fi".
My previous phone was a Nexus and neither of these was a problem.  Wifi calling was a small icon at the top, not a whole notification message.  The push notifications about traffic would come in and be dismissed like any other message.  Is this a problem with Samsung notification app?  Can I replace it with the Nexus-style Google notification app?
For the comic relief: I was able to find others complaining about the stuck wifi calling notification and the advice to them was to disable wifi calling.

The second one might be what's called an ongoing notification – and it's quite often asked how to get rid of them (I currently can't answer that, hence a comment with the hint only).

I should also mention that the damn traffic notification message sits on my lock screen all the time.  And when I dismiss it, it goes away for a bit and then comes back.

The stuck push message about traffic  is solved.  I changed the default messaging app back to "Messages", then deleted the push notification and changed the default messaging application to "Messages" (yes, I am having too much fun with the fact that they are named the same).


text:
Automatically add installed app icon to first screen with space
I have 5 home screen pages in my Note 5.
When a new app is installed, its icon is added to the last page and not the first one, even though there is space in the first page.
Anyone know how to fix that so the shortcut will appear on the first page (or in the nearest page which has empty spots)?

You have edited home pages of your launcher.
you can change sequence of ui that you will able to see apps on first screen


text:
Problem playing music via Chromecast
In the last couple of Android updates I've found an issue when playing music via the Chromecast device on my TV. It seems once the screen sleeps the phone disconnects from the Chromecast and doesn't continue playing music. If the power button is pressed quickly it will usually start to play again.
The only way I've found to resolve this so far is to set my screen to never time out and turn the brightness down to minimum, but this not an ideal fix.
I'm using the built in music app on my Xperia Z5. I've tried other apps but they all do the same thing. There was an app called N7 that when used along with Toaster Cast, worked okay, but then Toaster, Cast stopped working.
Does anyone know how to fix this. I don't think that the phone is disconnecting from the router as I still get notifications when the screen is off.

Had similar issue when streaming music from phone to wireless speakers via wifi. Phone, unfortunately, wont allow sleep mode to be turned off completely (only when charging phone). Best solution I have is using app called INSOMNIA. It allows you to switch sleep mode off completely. Worked with Huawei P8 lite.


text:
What is downloadfile.bin?
At random times, Download manager start downloading series of files named as downlaodfile.bin, downloadfile-1.bin and so on.
I got this issue since today morning. And it happened twice today.
What is this file and why it is getting downloaded? Thanks.
Device information
Device: Moto G4+
Android version: 7.0 Nougat

Screenshot (click for larger variant)

I too faced this today mor. I use moto g3.. I noticed the download and turned off my WiFi and after few mins it disappeared from downloads.

Do you have root access?

No I haven't rooted my device.

I use Moto G3 with Lineage OS (July month build). I had the same issue of auto downloading which started two days ago.
What I have observed is the downloading takes place when I turn on mobile data after 10 AM in morning or 10 PM at night. The files are not shown in ES Explorer app, but I can see those files queued  if I use in-built file manager of Lineage OS. I tried to see which app was using mobile data at that time using My Data Manager app and it showed that Media Storage system app was using the internet.

I mistakenly flagged your post as NAA for its ending posted as a question, but now that I see it the post has value IMO so I have removed the part concerning your question. You can post that as a question separately.

i am new to this site and joined today after seeing this thread for this problem. so i dont know much about the procedures followed here. thanks for the edit

So does this mean, my device is infected?

have you tried any anti virus to scan it ?


text:
Personalize Lenovo P2 LED notification
I'm new to the Android community and I've just got my new Lenovo P2. I'm really happy with it but there is one thing that bothers me.
I cant personalize the LED notification settings. For example WhatsApp has no access to the LED control.
I've tried many apps like light manager and others but without success.
I've seen other P2 phones where the LED control worked properly, so I guess it should work somehow.
Has anyone an idea how I can fix this problem? Possibly without root.


text:
How to save Chrome bookmarks to a file on an S6?
I don't see any options in the Android Chrome browser to save the bookmarks to a file?  Any way to do that?


text:
Wifi down with Android 6.0.1, errors in 'adb logcat'
I thave these errors when I try to switch 'on' the wifi :
09-12 22:46:04.850  2590  2590 D HotspotTile: onReceive : android.net.wifi.WIFI_STATE_CHANGED
09-12 22:46:04.850  2590  2906 D NetworkController: onReceive: intent=Intent { act=android.net.wifi.WIFI_STATE_CHANGED flg=0x4000010 bqHint=4 (has extras) }
09-12 22:46:04.850  2562  2843 D PhoneInterfaceManager: [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
09-12 22:46:04.850  2590  2590 D HotspotTile: onReceive : 4, 0
09-12 22:46:04.850  2562  2843 D PhoneInterfaceManager: [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
09-12 22:46:04.850  1814  2530 D ConnectivityManager: getMobileDataEnabled()- subId=1 retVal=true
09-12 22:46:04.870  1814  2527 E WifiController: Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET
09-12 22:46:04.870  1814  2527 D SecContentProvider: insert(), uri = 2
09-12 22:46:04.870  1814  3831 D SecContentProvider: query(), uri = 18 selection = isWifiEnabled
09-12 22:46:04.880  1814  2818 D SecContentProvider2: query(), uri = 20 selection = isWifiStateChangeAllowed
09-12 22:46:04.890 16726 16726 D WifiSettings: >>> ERROR_ACTION RECEIVED code:10
09-12 22:46:04.890  1814  3562 D SecContentProvider2: query(), uri = 20 selection = getAllowUserProfiles
09-12 22:46:04.910 16726 16726 W System.err: android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:259)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.settings.Utils.isSupportHelpMenu(Utils.java:3743)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.settings.wifi.WifiSettings.addOptionsMenuItems(WifiSettings.java:2204)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.settings.wifi.WifiSettings.onCreateOptionsMenu(WifiSettings.java:2015)
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.Fragment.performCreateOptionsMenu(Fragment.java:2376)
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:2049)
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.FragmentController.dispatchCreateOptionsMenu(FragmentController.java:266)
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.Activity.onCreatePanelMenu(Activity.java:3148)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.internal.policy.PhoneWindow.preparePanel(PhoneWindow.java:661)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.internal.policy.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:1042)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.internal.policy.PhoneWindow$1.run(PhoneWindow.java:350)
09-12 22:46:04.910 16726 16726 W System.err:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
09-12 22:46:04.910 16726 16726 W System.err:    at android.view.Choreographer.doCallbacks(Choreographer.java:686)
09-12 22:46:04.910 16726 16726 W System.err:    at android.view.Choreographer.doFrame(Choreographer.java:619)
09-12 22:46:04.910 16726 16726 W System.err:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
09-12 22:46:04.910 16726 16726 W System.err:    at android.os.Handler.handleCallback(Handler.java:739)
09-12 22:46:04.910 16726 16726 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:95)
09-12 22:46:04.910 16726 16726 W System.err:    at android.os.Looper.loop(Looper.java:148)
09-12 22:46:04.910 16726 16726 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:7325)
09-12 22:46:04.910 16726 16726 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
09-12 22:46:04.910 16726 16726 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Any clue to be able to recover wifi network ?

Difficult to answer that without knowing what you did. From that logcat says wifi module is unstable and package manager can't find Samsung help hub.

I just try to put wifi ON


text:
Storage keeps disappearing on my Android phone
I have a Motorola Moto G with an Android OS and I've had this issue for a long while now. It's quite an old phone with 8GB storage but I don't really need a lot of storage for my needs right now, so that's fine. However, I've realised that the amount of storage I have keeps going down all the time when I haven't updated any applications or downloaded anything. This leads to me running out of storage constantly which is causing issues because it means I have to keep deleting applications which all used to fit on my phone fine.
I'm not asking for a solution, but I'd like possible explanations for what's happening with my storage and where it could all be going.

It's normal, 8 gb is too little even for few apps. Half of that is consumed by system a lot of Google apps and rest apps their cache data and media

Well it has worked for me for years and a while ago I had to start deleting apps. I know it's not a lot of storage but if it wasn't for this issue then it would work fine for my current needs. It's has worked fine in the past; its not a satisfactory answer to say "its normal"

I have the same problem with several Moto X phones.  Tech support suggests a factory reset, and that buys diminishing relief. As near as I can tell there is poor management of storage, and we get the result.  Mot tech support has only suggested different phones, and factory reset.

Try looking in Settings > Storage. It will show things like images, other files, cache. For example, I just had 2.5GB in Google Play Store cache!

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


text:
Google play services, please help
So my Google play services won't update saying I need to sign in but when I try, it doesn't seem to work

Try below given possible solutions. I hope one of the below given tips fix Google Play services issues.
1st Way: Clear the cache Google Play Services
settings > Apps > Google Play services > Storage > Clear cache
If not work then clear all data of Google Play services storage using below settings.
Settings > Apps > Google play services > Storage > Manage space > Clear all data
2nd Way: Uninstall Google play services updates
Settings > Apps > Google Play services > More > Uninstall update > OK
3rd Way: Remove your Google account
4th Way: Reset app preferences
settings > Apps > More > Reset app preferences > Reset apps
If none of the above trick worked, check Google Play service version, make sure latest version updated.


text:
"System Update Available" after already sideloaded Oreo
I recently sideloaded Oreo onto my Nexus 5X, and everything went smoothly. However, today I received a "System Update Available" notification to "upgrade" to Android 8.0. I'm a bit confused; if I go through with this update, is it any different to what I sideloaded? And even if it is, is it better that I go through with it so that e.g. my phone believes that I have indeed upgraded?

Odds are its Sept security update.

It described itself as the update to Oreo though, and it was a 947 MB download.

I mean I wouldn't be to worried about it. Way their ota works it compares some build id's and doesn't mess with data partition. I'm assuming you used googles factory image fully and not some half flash, which case no one would know  if something will go wrong except you.

Okay, I'll chalk it up to the fine details of how their update system works and assume they've just not implemented it efficiently for this scenario. Thanks!

As far as I can see it'll be a new build update, but simply prefaced with the android Oreo blurb.
I had exactly the same thing... And after updating compared the previous sideloaded build to the new one (even though it had been the sept 2017 security updates originally sideloaded) and the build number had bumped up.


text:
I cant wake my phone with "Ok Google" anymore
I did a factory reset this week of my phone, and now I cannot seem to be able to "wake" my phone saying "Ok Google".
I can use it in the lock screen and everywhere else, but when the screen is off, it will not work anymore. It will remain with the screen off.
Maybe useful information:

I am using a OnePlus 2
I am using "Nova Launcher"

UPDATE
I know that it works, if the phone is being charged. But I would like to have it working, even if the device is NOT charging.

https://forums.oneplus.net/threads/ok-google-with-phone-locked.452485/

This problem occurs in most android devices. When screen off, OK Google is not working. If you want to use OK Google when screen off, make sure your device is in charging. It will work definitely. Try it in your device.
Recently updated my Pixel to android 8.0 Oreo OS. In android Oreo devices OK Google is working perfectly when screen off.

I think it only works on Pixerl/Nexus phones, does it work on any non Google Phone?


text:
Is it possible to gain complete remote access of another Android phone from my phone?
In my phone (Samsung Galaxy On7, Android 6.0.1-Marshmallow), the internal memory is very insufficient, and moreover, important apps like MS word and Excel come inbuilt, due to which I cannot move them to the sd card.
I saw on the net that there are methods by which I can gain access over my desktop from my mobile through the Google Chrome Remote Desktop app. There are apps to do the reverse as well. But how can I gain access over another Android phone from my phone?
Actually, I want to use my father's phone, because in his one (Samsung Galaxy On5, Android 6.0.1-Marshmallow), the above stated apps can be moved to sd card. So, it would have been great if I could create documents or spreadsheets from my phone on his phone, and then bring them over to my phone by saving them in the Cloud. In this way, my phone can be saved from unnecessary space loss. I've spoken to him, and he has agreed, but now I need to know how I can do this.
How can I get complete remote access of another device from my device?
It would be best if I don't have to root my phone or that of my father's.

As far as I can tell, this seems to be achievable at least with the aid of applications such as TeamViewer
Requirements

To be able to use this feature, you must meet the following
  requirements:

You are using TeamViewer 12
You are a private user or own a TeamViewer 12 Premium license (or higher)

For the supporting device

You have installed the latest version of TeamViewer for Remote Control on your Android  device.

For the supported device

You have installed the latest version of TeamViewer QuickSupport on  Android device.

Setup
On the supported Android device:

Download and install TeamViewer QuickSupport or TeamViewer Host on the device.

You may be prompted to install an AddOn according to your device manufacturer. Please follow the on-screen instructions and install the
  necessary AddOn for Remote Control capabilities.

As for every TeamViewer connection, you will need the target device’s TeamViewer ID to connect.

For QuickSupport : You can find the TeamViewer ID of the device on the start screen of the app.
On the supporting device

Download and install TeamViewer for Remote Control on your Android device. If you already have installed the App on your device,
  make sure to update to the latest version.
Open the App on the respective device.
Connect to the supported device using the ID mentioned above or via the Computers & Contacts list.

Enter the TeamViewer ID of the supported device in the TeamViewer ID
  field under Connect. To access, click Remote Control.
After the connections was accepted on the supported device, you are connected to the mobile device and can remotely control the entire
  device like if would have it holding in your hands.

Credits

Connections From Mobile to Mobile Devices

You didn't say this: "Please note, that connections are limited to five minutes each for private users." Which means I've to buy a license. :-(

Apologies there. Are you looking for a free method of doing that, I m not sure if there is indefinite periods of unattended access, but will update if i get something

ok, I'll wait, and think over buying a license. Meanwhile, I'll accept your answer,  but if you find anything free, please let me know.

Sure! and thanks BTW you can always un-accept the answer if better answers are posted,and will let you know if I find ab alternative gratis workaround

The other option would be to use your gmail account's free Drive, Docs and Sheets access to create, edit and share your documents without ever storing them on your phone, all you need are the 3 apps in question. That way you don't even have to consider going through all the steps of installing Teamviewer (or a similar program) onto each phone and configuring them to work together at any time. Besides, you will use far less data.

Sheets, slides and docs use up more space than MS apps. If I could move then to the SD card, then this question would have never risen. Data is not a problem as of now.


text:
Getting albums on home screen
Now to go to albums I need to open camera, then click the last saved image, then click the photos icon, then click the albums icon. Can I just have the icon on my home scrern to go to albums instead? Also how about going to a specific album or even a specific photo (like a subway map or my family picture)?

Yes, you can. The "albums app" is usually called "Gallery" or "Photos", so just place an icon of it on your home screen.
Depending on launcher it may also be possible to add a shortcut to a particular image to your home screen. Also, as far as I know, ES File Explorer can do that too.

And don't forget about the specific widgets existing (e.g. "photo frame"), so one could even place a particular album (or image) directly on the home screen. No external app needed for that.


text:
What is the easiest way to get host file adblocking AND security updates?
For a long time I've been using LineageOS to get root access and long-term updates. However my requirements are rather limited: I pretty much only use root access for system-level adblocking, and I want long-term security updates for my phones.
I am wondering whether I can get this without installing an alternate ROM? Do any manufacturers offer this in their stock ROMs? Or can you suggest any other solutions?

Exclude the IPs/host names required for the updates from the block lists? E.g. AdAway supports white lists where you could define such exceptions. For possible alternatives, please see my list for Ad-Blocker & Filter apps. Most require root, though.

@Izzy : I think my issue boils down to: what is the easiest way to get root and security updates, preferably on a stock ROM?

Search term: Magisk. I haven't played with it yet, but it offers you a.o. "systemless root" (which shouldn't interfere with any updates). You can find Magisk Manager in my repo, which should help you on that path (installing the framework and its modules, which includes the mentioned "systemless root"). If you succeed with that, it would be great if you made the steps an answer to help others.


text:
Privacy in Google Assistant
The other day my phone upgraded from Google Now to Google Assistant. I was having a conversation with a coworker and noticed my phone vibrate. Google Assistant had recorded the conversation and tried to answer a question even though I never said "ok google".
My phone was in standby and in my pocket and I'm not ok with this. Is there a way to set it so I must launch an app to cause it to start listening, like some sort of widget? Is Google Assistant only supposed to record when you say "Ok Google" or does it not need any specific phrase? Does Google Now offer better privacy than Google Assistant? If not, is there a way to remove them both?

In very noisy situation Assistant may be invoked by mistake. If you do not want to happen this again then turn off OK Google Detection from any screen in the Google settings.


text:
How can I root a Lenovo Moto G5?
I think question is quite clear ... I have a Lenovo Mot G5, and I want to root it (mostly to use AFWall), but I have not yet found any "clean" way to do it. Do you know any way to have it rooted, but not bricked ? ;-)

Rooting like any other manipulations, has always a potential risk of brick! That's why there are always a disclaimer on every tutorial or guide.

This guide should help: https://forum.xda-developers.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659/amp/


text:
LG G6 (H870) LineageOS 14.1 - Encryption not working
I have been waiting for official port of LineageOS to my LG G6 (H870). And yesterday I decided to install the newest version of LineageOS (14.1 20170912) on my G6. I downloaded unlock.bin from LG's official site, unlocked the bootloader, verified the unlock. Then I installed TWRP (3.1.1-0-H870), booted in recovery mode, wiped cache, data, and system partition before I installed LineageOS from zip file (due to the instruction on LineageOS official wiki). I also installed OpenGapps (micro arm64 20170912), and restarted.
Everything worked well until i tried to encrypt the phone. I plug the phone in AC, push «Encrypt phone» button, input my PIN code and verify that I want to encrypt the phone. The phone restart, the phone display the «gear splited» Android mascot (the below one, without the header and progressbar).

But nothing happens, the phone display it for a few seconds before it continue boot process.
I also discovered that «Device Storage» (Settings > Storage Settings) tells med that «-14.01 GB used of 7.40 GB».
Is there someone who has had similary problems? Or know how to fix this?

At this early stage the devs might not have implemented it - report back on XDA if necessary.

AFAIK that is rom related problem, I saw someone reporting same thing but I can't remember where. You should probably report this to rom developer.

This LineageOS changelog doesn't show the version you mention, but I do see some unofficial builds with that date. Unofficial builds are often missing features.

It's currently not implemented, the patch needs reviewing or something. I spent several days trying to figure it out. If you're into it, you can merge it yourself and rebuild and it should work: https://review.lineageos.org/#/c/165296/ (although I think this patch is for file-based encryption, there is a separate one for full disk encryption).

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


text:
Is Android vulnerable to the BlueBorne attack found in Linux?
I recently discovered there's an attack called BlueBorne against the Linux bluetooth functionality: https://unix.stackexchange.com/questions/392001/how-to-secure-linux-systems-against-the-blueborne-remote-attack
If I'm using an Android system with a bluetooth keyboard, should I be worried, considering that Android is based on the Linux kernel? Do I need to patch all Android systems in use with an over-the-air update to fix the vulnerability?

Any Android device with a patch level prior to September 1st 2017 will be vulnerable, yes. Google patched this vulnerability in the September 1st update which has been released for Nexus and Pixel devices. Other devices will need to wait until the manufacturer releases an update containing these fixes.
An official test app has been released to the Play Store which you can use to test whether your device is vulnerable.
Source


text:
How can I control video playback on another device?
I'll be taking a long car trip, and I'd like to be able to control video playback on an Android device in the back of the vehicle from the front of the vehicle.
Specific requirements:

2 devices

Player device that will be playing the videos. Should run Android and can be a phone or a tablet.
Control device to control playback on the player device

Solution should not require physical interaction with the player device
Solution should work without internet connectivity on all devices
Solution should not require a 3rd device of any kind (e.g. wireless hotspot)
Solution should maximize battery life on the player device (for example, I think streaming from the control device to the player device would use more battery than if the videos were stored on the player device)

My first instinct was to use a bluetooth remote to control the player device, but it would require me to set up a playlist on the player device ahead of time, it limits the ability to play specific videos, and it won't let me control the volume.
Instead I came up with a solution using another Android device as the control device:

Copy videos to the player device
Install Kodi to the player device
Install Kore to the control device
Start portable hotspot on the display device

Settings > More > Tethering & portable hotspot > Set up Wi-Fi hotspot
Get password
Back > enable Portable Wi-Fi hotspot

Connect the control device's wifi to the player device's hotspot
Open Kore on the control device and follow the instructions to enable remote control on the player device. The instructions are also here: Kodi web server

That's enough to enable controlling playback on the player device. However, if nothing is playing on the player and the screen turns off, starting playback from Kore won't turn the screen on. Here's how I worked around that:

Set the display of the player device to never turn off. Based on the answer from here, install Automate and use the flow provided to keep the screen on.
Alternatively, what I did is I created a flow that detects when Kodi is running, and if it is it 1. disables the wifi 2. enables the wifi hotspot 3. turns the media volume all the way up (the volume can be controlled from Kore using the volume buttons) 4. keeps the screen on.
Set up a screensaver on the player device to blank the screen to maximize battery life

Kodi > Settings > Interface settings > Screensaver > Screensaver mode > Black

Other than higher battery use due to the display workaround, the only other downside I've found is that Kore doesn't support playlists, so you have to create a new queue every time.


text:
How to fix Bluetooth taking around a minute to connect to devices?
With the bluetooth on my phone I used to be able to listen to music on my headset, get into my car while the music is playing, have the bluetooth hand off its "media" processes to the car's bluetooth, then pass it back to my headset when the car shuts off and its bluetooth connection ends.
Lately, my phone has not been doing that successfully, and will only connect (sometimes) if I wait for long (1 minute), or if I open my bluetooth options and force it to connect.
I feel like it's something to do with how my phone is "searching" for bluetooth devices around it, but I have so far not had any luck with poking around in its discovery and connection settings. I have tried resetting network settings and did a factory reset too but to no avail.
Basically the way the process should be is:

Headset connected as Media and Call device
Another Media Only device (that has been previously paired) turns on in range
Bluetooth passes Media to new device (speaker, car stereo, etc.)
Media only device turns off
Bluetooth passes back to the Headset

If anyone else has had a similar issue and knows of a fix including those requiring root access, please let me know.
Phone Info:
Verizon LG G4 (VS986), unrooted, Android 6.0


text:
how to configure number of app-icons panels?
I just got a new Moto Z2 Play with Android 7.1.1
There's only two app-icons panels ( the panels that appear when you swipe the home screen left or right to view additional icons ).
On my Moto Z Play ( also Android 7.1.1 ) I have seven panels.
I've spent some time searching through settings and googling and can't determine how to configure the # of panels.

Umm... A new panel should automatically appear when you drag and hold an app and want to place it somewhere.

Sounds like someone needs a custom launcher, like Nova Launcher (as an example).

Unless Motorola have significantly changed the way the homescreen works from stock Android, it only creates as many panels as it needs to show the icons. To add a new panel, press-hold-and-drag an icon to where a new panel would be, then drop it on that new panel. Now you should have one more panel than you did before.


text:
Is it necessary to have an unlocked bootloader to root a device?
My LG Stylo 2 Sprint Version running on Android 7 Nougat has a locked bootloader. LG made sure that the bootloader can't be unlocked.
This article states that it's possible to root with a locked bootloader.

When the boot loader is locked, and the manufacturer doesn’t provide a legitimate method to unlock it, you usually need to find a flaw in the device that will serve as an entry point for rooting it.
First you need to identify which type of boot loader lock you have; it can vary depending on the manufacturer, carrier, device variant, or software version within the same device. Sometimes, fastboot access is forbidden but you can still flash using the manufacturer’s proprietary flashing protocol, such as Motorola SBF or Samsung ODIN. Sometimes signature checks on the same device are enforced differently when using fastboot instead of the manufacturer’s proprietary download mode. Signature checking can happen at boot time, at flashing time, or both.
Some locked boot loaders only enforce signature verification on selected partitions; a typical example is having locked boot and recovery partitions. In this case booting a custom kernel or a modified recovery image is not allowed, but you can still modify the system partition. In this scenario, you can perform rooting by editing the system partition of a stock image as described in the “Rooting with an Unlocked Boot Loader” section.
On some devices, where the boot partition is locked and booting a custom kernel is forbidden, it is possible to flash a custom boot image in the recovery partition and boot the system with the custom kernel by booting in recovery mode when powering on the phone. In this case, it is possible to get root access through adb shell by modifying the default.prop file of the custom boot image initrd, as you’ll see in the “Abusing adbd to Get Root” section. On some devices, the stock recovery image allows applying updates signed with the default Android test key. This key is a generic key for packages that do not otherwise specify a key. It is included in the build/target/product/security directory in the AOSP source tree. You can root by applying a custom update package containing the su binary. It is unknown whether the manufacturer has left this on purpose or not, but this is known to work on some Samsung devices with Android 4.0 and stock recovery 3e.
In the worst-case scenario, boot loader restrictions won’t allow you to boot with a partition that fails signature verification. In this case, you have to use other techniques to achieve root access.

This seems counterintuitive, but is it necessary to have an unlocked bootloader to root a device? Otherwise, do any of the methods mentioned in the article work?

No, it's not necessary to unlock bootloader for rooting. But flashing custom ROM or recovery is not possible without unlocking the bootloader because locked bootloader verify the ROM or recovery being flashed for company's official signature and custom ROM doesn't contain the official signature. So you cannot install a ROM or recovery of your choice on your device.
And also on some devices, you have to install a custom recovery for installing SU binary which is needed to get root access. In that case, you can't even get root access without unlocking the bootloader.
As per XDAForums,

In case of nougat, You have to flash some custom recovery for your
device and flash SuperSU using it.

And you have to flash custom recovery TWRP which will only be done by unlocking the bootloader as you can root without unlocking the bootloader (only in the case of direct root if available) but you can't flash recovery without unlocking the bootloader.
So the only option you have now is to unlock the bootloader. If you really want to root, make a full backup of the phone through software like MobileGo and proceed. Why hesitate?
You can read more here or here.