text:
Samsung tablet gt-p5100 Firmware Upgrade encountred an error
Nothing will make this message Go away This is after the device turned off half way though flashing.

Things i Have done.
Flashed With Odin 3.09 with Stock Fimware Downloaded From [sammobile.com][2]

Tried to use kies but the device is not shown and i have reinstalled the Drivers and rebooted.

Note: every other Version of Odin Fails to flash to the device.

Even after a Flash the Device will still Go back to Recovery Mode.
Odin 3.12 with flash error.

In what state was the device before you attempting to flash it? What error message do you get when flashing  fails? Usually thi happens when the flashing process did not complete and can be fixed simply by flashing, ideally with a repair firmware (aka 4 files firmware)

@esQmo_ Flashing dose not fail with Odin 3.09, When i got the device i could only get into download mode how ever i didn't wait long enough for the device to charge and it turned off half way though.

Weren't you able to get in the recovery?

@esQmo_ no, now i can only get into is emergency recovery.

@esQmo_ update answer with error message i get with odin3 3.12

See that... lets try flashing with repaire firmware. Another question: were the battery charging or did you get a static battery image with no charging animation?

@esQmo_ yes i saw a battery charging but not any more.

Try flashing the files I've suggested in my answer and let us know what

Unless it is a hardware faillure (damaged eMMC), flashing a full firmware (aka repair firmware or 4 files firmware) may solved the problem.
Download repair firmware from here then proceed as you did beforen but preferably try flashing with the latest version of Odin (v3.12.3 actually)
The zip password is: www.gem-flash.com
Remember this:

BOOTLOADER, APBOOT = BL
PDA = AP
MODEM = CP
MULTI-CSC, HOME_CSC = CSC

I used Odin3 V3.12 and got.

<ID:0/003> DO NOT TURN OFF TARGET!! <ID:0/003> Get PIT for mapping.. <ID:0/003>  <ID:0/003> There is no PIT partition. <OSM> All threads completed. (succeed 0 / failed 1)

Why is it even asking for a PIT file?! Did you check that option in Settings ? Do not check ''Re-Partition''

i didn't Check "Re-Partition" https://imgur.com/a/iEUbC

Oh I think I got it: the software checks for the PIT in the device and if it can't find it, throws the error. Now see if the forlder does contain a pit file then go to the PIT tab (next the Settings tab) and load that file then try flashing again.

i just flashed the MODEM and now it works :)


text:
Unable to connect samsung device to pc
I'm having problem connecting my device(Samsung j7) to my laptop via USB port. Can someone help me?

Please be specific as to what you've tried and what behavior you're seeing.

can u understand it now @MatthewRead ?

I had no trouble understanding it.  We need you to be specific about what the problem is -- "problem connecting USB" could be any one of a dozen unrelated issues.  And as mentioned above, we need details about what you are seeing and what you have tried.

I've tried this solution and it worked!

Go to dial pad & type *#0808#
It displays USB settings
Select MTP+ADB option
Press OK button
Connect to USB cable to PC
It shows Connected as a media device.

source: Stack Exchange

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

sort: votes


text:
How to flash factory firmware on Motorola Moto G 2015 XT1550
I am currently using Motorola Moto G 2015, that is Moto G third generation smart phone. (XT1550)
I updated android 6.0 .
But it's not that much of great.
So I tried to flash factory firmware which is android 5.1.1, referred from  here.
But after installation also I am getting android 6.0 itself.
I want to flash factory firmware. That is android 5.1.1

Without rooting my phone can I flash factory firmware ?

Yes, you can flash the firmware without root using ADB and fastboot.

I tried twice through ADB and fastboot by downloading the proper indian version of firmware and mfastboot. But after the installation firmware will not change.

So what's your problem here? You write you got "Android 5.1.1", but you wanted "Android 5.1.1". Isn't that the same, or do I miss something here? Maybe a mis-typing, and you got 6.0 again? Which would be understandable, as the manufacturer will have provided the latest version for download. In that case, check the download page for "previous" or "older" versions, and see if you can find 5.1.1.

Sorry, I will edit the question. After release of android 6.0, I updated and It's not good. So I want to flash factory firmware which is 5.1.1 . So I downloaded proper firmware from xda-developers website. And i tried to flash using ADB commands. It will show flashing /writing system and all those things. and after the reboot firmware willl not change. I mean it will be the same android 6.0 .

@VTVishwanathBhat then your doing it wrong. Perhaps you should read the dozen or so threads on XDA (where you got the software) about downgrading... There is a very specific procedure which must be followed, factory reset, flash every piece except gpt.bin, and I believe to downgrade you must have an unlocked bootloader. And after downgrade you must never take an OTA update... It's all clearly spelled out on XDA

Then I can't downgrade without unlocking bootloader, right ?

Actually I want to downgrade without voiding the warranty. And I tried the steps to flash stock ROM without unlocking the bootloader.

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


text:
Can I prevent hyperlinks in messages being clickable on Android?
My father has a Samsung Galaxy A6 phone running Android (don't remember the version on the top of my head, but I guess 8 or 9). From time to time he gets these scam SMS with hyperlinks, and now during the holiday season he is getting many more. He has dementia and I'm afraid that he will click on these hyperlinks.
Currently I periodically connect to his phone and delete any scam SMS I see, but now I've come up with the idea that maybe there is a way to disable hyperlinks from being clickable altogether. He rarely gets messages anyway, so there wouldn't be any legitimate need for him to click on hyperlinks. I don't want to disable or uninstall the web browser, because he surfs the web on his phone. It's just from the SMS app I would like to disable hyperlinks.

There are two solutions I can think of now. 1) find an SMS app that allows disabling hyperlink clicking. You'd have to search and try a couple SMS apps in Play Store, or try asking this as a question at [softwarerecs.se]. 2) Other option is to isolate the SMS app. You can try running the SMS app only in Work profile, and remove all browsers or don't install any browser in Work profile. This way, even if your Father clicks on a hyperlink the Android would have no way of loading it in a browser because it doesn't exist.

I unfortunately don't have time to write an answer right now, but if you don't get good answers, ping me in a few days, and I'll hopefully have time to write up an answer.  The solution I have in mind may not be perfect, but could likely help.

Related on SoftwareRecs.SE: https://softwarerecs.stackexchange.com/q/81470/520

@RockPaperLz-MaskitorCasket You asked me to ping you if I didn't get good answers. I'm interested in hearing your solution, if you have the time.

Thank you for pinging me.  Unfortunately, I'm still swamped.  I'm going to add this to my list, but in full disclosure, it's a long list!  Feel free to ping me again (I truly don't mind).

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


text:
How to make WhatsApp store media on external SD card (instead of device storage)?
I have a lot of media files circulating between all my contacts and groups in WhatsApp. And all the media (images, audio, video) takes a lot of space on the device storage (internal). I have not found a way to change default storage path from internal memory to external SD card. Is it somehow possible for a user of no great expertise in Android to adjust it so that all the media will be automatically sent to SD card (smth like: sdcard/WhatsApp/Media/ ).

I have tried to manually create the following folder on SD card:
sdcard/WhatsApp/Media/

But anyway the messenger does not see it and it creates new folders on the device storage (inspite of my removing the folder on device storage).

Sorry, but that behaviour seems to be hardcoded into WhatsApp itself. If no one of the others have a better solution, the only way is to periodically move the folders yourself, or write a script to do so for you.

Use the FolderMount app to create a symlink.

Unfortunately, there is no way you can do this without root access. If you know what is rooting or if you have already rooted your mobile, then follow this answer. But if you don't know, please don't consider this answer. Rooting may cause potential problem to your device if you don't know what you are doing.

FolderMount: FolderMount is an app which creates a symlink to your sdcard or anyother directory when you specify.
XInternal2SD (Xposed Module): it is an xposed module in which you can specify internal storage path. For me, I have 32gb class 10 card, so I set my card my internal using this module. So whenever I newly install an app, it will be automatically installed to my SD card. So the media files downloaded are directly download to my SD card. There are several xposed module which does the same, but I'm using this module, cause I'm comfortable with it.
Link2SD: Using Link2SD you can partition your SD card and use it as internal. If you do this, it will work as same as XInternal2SD xposed module. There are plenty of tutorials available on internet on how to use link2sd.

Again I'm warning you. If you don't know what is rooting, don't follow this answer.

have you actually tried these?  foldermount did not work with whatsapp when I tried it

Yeah the bind mount in Apps2SD to FAT32 SD card doesn't work either.  It sees old images but new ones get lost somehow.

No I didn't folder mount.. I've heard from friends.. but perhaps I've got xinternal2sd.. I'm using it for almost over a year..


text:
Can I bypass the Google Verification on my Huawei Mate 8?
I just bought a Huawei Mate 8 and I can't set it up due to the Google account verification in the setup process. I've messaged the seller asking for the account details but he doesn't know. I don't have an OTG cable or USB and I need a way to get past this so I can do a full reset of the phone. Please help! (This is different to the other questions as the factory reset option still leaves me with the same problem with FRP and I can't use ADB because I can't enable USB debugging)

Pretty much every phone can do factory reset while turned off, try this:

Turn off the Mate.
Press and hold at the same time: Volume Up + Home button + Power button, until you see Huawei logo.
Then select from Recovery Mode menu “wipe data / factory reset” using Volume buttons to navigate and Power button to confirm.
Select “Yes — delete all user data” to confirm the whole operation.
After that select option “reboot system now”.

And be happy after the reboot when the question pops up to provide credentials of the original account. The general procedure for a factory-reset is one thing, Ivo, but that new "protection" causes trouble for many.

Yeah I've done that a few times already but the Factory Reset Protection is still enabled and I can't find anyway to disable it.


text:
Wifi problem (Lenovo A850+)
The phone wifi seem like blocking the internet after the wifi idle for few second. Then I have to disconnect and reconnect the phone wifi. I think it is related to wifi power saving mode or Wifi Sleep Policy. Any suggestion would be great. Thanks

Hi Nick, welcome to Android Enthusiasts. Pls feel free to take the tour. I can't quite understand what you're asking here - are you saying wifi pretty much never works unless you turn it off and back on again?

Yes, I have to reconnect the wifi after a few second the wifi idle. I think it has to do with Wifi Sleep Policy which it failed to awake from idle state. Thanks for responding.

Alright, the problem solved. I've changed the wifi router setting. Changed Preamble Type from Long to Short. Then restart wifi router. Doing this wont last forever, I have to restart the wifi router once a day.


text:
Wipe Android phone before selling
What is the smartest way, before selling a mobile phone, to be sure that no one will be able to access my data?
In my case we are talking about an LG G4.

@MarkStewart It indeed is a duplicate, however, I don't think that that answer is correct. A factory reset is not enough if you want to keep the data secure. With the correct tools, it is very easy to restore the data.

The first thing you'd want to do is simply remove the SD card if any in use. If you intend on providing an SD card, purchase a new SD Card.
As suggested, the first step would be to encrypt your data (you can read up on this here), then perform a factory reset of the phone - I'd suggest performing this approximately 3 times. (1 should be sufficient, but 3 will determinately just make it a little harder to recover the data). You can find a pretty neat guide/explanation on this website.
Just to add onto Jay's answer, here is a basic guide on using ADB to encrypt your device. Note that the commands are noted to be:
user@laptop # adb root
user@laptop # adb shell
root@phone:/ #
root@phone:/ # /system/bin/vdc cryptfs enablecrypto inplace PASSWORD

If you have rooted your phone (and intend to sell as is) you can install other applications that can encrypt certain directories, but I doubt you'll want to do this.

Why do you want to use ADB? Why not on the phone itself? And wiping the phone multiple times will not make a difference, the data is overwritten by the encryption.

ADB just as another option for the user. You're correct regarding the multiple rounds of encryption though.

A factory reset is not enough. It just "disables" your data and doesn't really delete it. Some data restore tools can still restore the data after a normal reset.
The best way I know of is to encrypt the phone and then do a factory reset. The encryption will overwrite the unencrypted data, so that will be gone forever. Then after a reset, if the new user tries to restore the data, it just gets the encrypted data. (=useless)


text:
Samsung Galaxy Tab A stuck at logo
My Samsung Galaxy Tab A stuck at the logo screen.

All I could find on internet so far were advices to push power button together with  Volume up.
But it doesn't react for me.
Push and hold power button also doesn't react.
The only combination where I see a reaction is Power + Volume down after 7 seconds screen is black for a couple of seconds after that the logo screen just comes back and here we are again.
What could be the (any) next step?

wipe cache from recovery mode, this won't harm your userdata. if you want to factory reset but want to do a backup before, flash twrp recovery from download mode (Heimdall/Odin) https://www.hardreset.info/devices/samsung/samsung-t580-galaxy-tab-a-101-2016-wifi/recovery-mode

I can't come to recovery mode. As I wrote the only combination of buttons the Tab reacts to is power+volume down.

if the three-button-combination does not work (and home button is not broken) your device is still on. disconnect the battery to make sure it is powered off https://youtu.be/y8HmbYrKsS0

... except for the very rare case you have installed a third party device management software which has removed Download mode from your device (Safe Mode)?
https://forum.xda-developers.com/showthread.php?t=3775903

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


text:
Password not working / changes after update from COS 12.1 to Cyanogen OS 13
I've encrypted my OnePlus One a long time ago. Now I want to perform the update with the new released Cyanogen OS 13. The problem is that the phone don't want to validate the password from the previous version. The pin or pattern works perfectly in TWRP (v2.8.x). By booting with COS 13 it isn't working anymore. After a flashing the old COS version the password or pattern is working fine. I've changed the pin several times and also tried to use the lock pattern but there is no difference. Has someone a clue how to fix this problem. I don't want to set up the whole OS again. Thanks!

Can you confirm as well as try the approach noted here: https://forums.oneplus.net/threads/cos13-update-does-not-work-for-encrypted-phones.441637/page-2#post-14802297?

That's exactly my problem. Thanks a lot! Sadly there is not solution yet: https://jira.cyanogenmod.org/browse/BACON-4671

I also tried the 4x4 pattern -> Same problem!


text:
Sideload Factory OS via ADB
I have a nexus 6 which failed when updating to 6.0.1. I can no longer boot into the Operating System as the /system partition is corrupt. I ran a factory reset - but this didn't fix the problem because factory reset only clears out the /cache and /data partitions.
Since I am able to get into the bootloader and android recovery I was wondering if it is possible to reinstall the OS via ADB. I've searched around it it looks like ADB can only be used for installing updates/programs while fastboot can flash the /system partition with a factory image. I'm unable to use fastboot because the phone is not rooted. So, is there any way to restore the factory image of the OS via ADB on a non-rooted phone?

You don't have to bother about having phone being rooted since you would have all the rights necessary to flash a partition when booted into fastboot (bootloader) mode. Now, download the appropriate factory image from here, boot into fastboot mode and begin flashing the various files. I'm wondering whether you had OEM unlock setting enabled or not? That may pose a problem. BTW, what actually failed during OTA update to 6.0.1 (not 6.1.1)?

Unfortunately I can't use fastboot (or the flash-all script) to flash the files because the phone doesn't have OEM unlock enabled. Running adb sideload image-shamu-mob30i.zip doesn't work, saying that the footer is wrong and signature verification failed (even though the MD5 checksum checks out).


text:
su does not change prompt to #
I am trying to root a device.
I have pushed su , busybox to device,
but on doing "su", it seems that I have no root privilege:
shell@nemo:/ $ su
1|shell@nemo:/ $

1|shell@nemo:/ $ whoami
shell
shell@nemo:/ $

How can I understand what's wrong with su and how to fix it ?
EDIT:
I am actually trying to root LG W200 device, having real trouble with it.
EDIT2:
I've set 7777 permission (suid), but it still fails.
chmod 7777 su-arm

 shell@nemo:/ $ ls -al /system/xbin/su-arm
-rwsrwsrwt root     shell      467952 2016-11-20 12:01 su-arm
shell@nemo:/ $ su-arm
255|shell@nemo:/ $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
shell@nemo:/ $whoami
shell

EDIT3: I've updated su binary and busybox binary, but each now fails differently:
shell@nemo:/ $ busybox su
su: unknown user root
1|shell@nemo:/ $ su
error: only position independent executables (PIE) are supported.
1|shell@nemo:/ $

Thanks,
Ranchu

You have to unlock the bootloader first. Here is a page to help you do it:
https://developer.android.com/wear/preview/downloads.html
Here are step by step instructions:
http://forum.xda-developers.com/watch-urbane/development/everything-urbane-root-how-tos-files-t3243975
That page also contains the files you need to flash.
IF YOU ARE NEW TO THIS PLEASE READ THE POST ENTIRELY BEFORE TRYING TO FLASH OR INSTALL ANYTHING. I TAKE NO RESPONSIBILITY FOR ANYTHING YOU DO TO YOUR DEVICE.

Thanks. I work with this page for some days now. But everything there does not work on my device. trying to flash even boot.img or system.img fail to start. probably it does not fit my watch ? different bootloader (I wish I xda provided bootloader too to flash) ? I don't understand. I work with images for urbane from https://developer.android.com/wear/preview/downloads.html, but any binary update from this xda link, fails.

now I get "unknown user root" , I've edited the message. Also the link from xda did not help in my device. not sure why.


text:
"Significant Motion sensor" same as accelerometer?
I am trying to understand better the "Significant Motion" sensor:
I know that I have accelerometer. Does it mean that the device also supports "Significant Motion sensor"?
According to https://source.android.com/devices/sensors/sensor-types.html#significant_motion it is the same, but I'm not sure.
Is there a utility/apk to check its validity ?
Thank you,
Ran

Sensor test for Android lists both of them in the sensor list it checks and displays- beyond that I am not aware if there are same or not

The significant motion sensor is a virtual sensor using the physical accelerometer. From android.com:

A significant motion detector triggers when the detecting a “significant motion”: a motion that might lead to a change in the user location.

This means the significant motion sensor will only provide data if a significant motion is detected by the system (e.g. walking). The accelerometer continuously returns the accelerations for each axis.
To check out those sensors you can install one of many sensor apps. I usually use cpu-z.

using sensors detection tools, I get that device watch (D5) does not support this sensor. Yet, it has built in (android) feature for detection of mevement, which lets the screen turned off, yet it power on the screen on movement. So, I don't understand how they implemented that feature if it has no “significant motion”.

I assume that it works differently on watches because significant motions do not really mather. You rather want to detect gestures instead of general movement. You want to know the difference between a simple movement of the wrist (e.g. when you are walking with your hands in the pocket) and e.g. when you are looking on your watch or you are no longer looking on it... The are called Wrist Gestures: https://developer.android.com/wear/preview/features/gestures.html

The problem is that I need my watch to sleep between this movement/gestures. From my reading only  "Significant Motion" and "proximity" can wakeup the device from sleep. can gestures wake it too ?

Since it would not make a whole lot of sense to wake a watch up on a significant motion like walking, I assume that a wrist gesture can wake up a device.

Significant Motion can be implemented by underlying physical sensor: Accelerometer. But it should be low power, which means that it should be implemented in sensor hub, and not AP.
A watch/phone have an Accelerometer sensor, but may not have an Significant Motion sensor.


text:
Can a partition be larger than 4G byte?
Is there a limitation for a partition to be up to 4G byte?
I have a strange case in which in cat /proc/partition the userdata is idenntified as 5.5G, while trying to backup and restore that partition with mediatek's "sp flash" tool keep failing.
It seems that sp flash tool use smaller size than real partition size, i.e. in the scatter text file I see size of 0x60000000 (1.6G):
partition_index: SYS23
partition_name: userdata
file_name: userdata.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x84000000
physical_start_addr: 0x84000000
partition_size: 0x60000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
empty_boot_needed: false
reserve: 0x00

I tried to change in text from 0x60000000 to 0x14CF80000 , use the readback to backup and then restore, but still got failure in boot (data corrupted screen)
I use meditek device MT6737M with "sp flash tool".
There is something basic I don't understand here:

I think the chip is 64-bit chip, so it should not be limited to 4G.
Maybe the limitation is in sp flash tool ?
So, how is it that manufacture initial data partition works without any issues. It is size of 0x1A86250 (smaller than 1.6G and also smaller than 5.5G).

Another interesting thing; doing backup and restore with twrp works well (yet I think it uses other format ex4.win, which seems to be compressed format).
Is it possible maybe to backup and restore all ROM with "sp flash" tool without using additional tools (like droid) ? Maybe that will work better than backup of a specific parition.
Thank for any idea,
ranran

What do you call G?

I mean 4Gbyte , I'll edit the question

The question you ask at the beginning of you post is far different than the one you ask at the end... The first question is simple, this would depend on the partition table type and specific filesystem, with a GPT partition table and ext4 file systems, there is no limit you would see in a mobile device. Your other question is outside my realm of expertise (this should really be 2 distinctly different question)


text:
OTA update vs Image update
OTA update is defined as update to system's partition, but I read that OTA update is NOT a mere update from the last version.
So, what does it mean :
Does it contain all files in system.img (and other) partition ?
If so, isn't it quite the same as system.img (image of the system parition) ?
Regards,
Ranchu

Does it contain all files in system.img partition ?..
  [Isn't] it quite the same as system.img (image of the system parition) ?

System.img is a file whose contents are written into the partition named system (/system).
An OTA update is not necessarily restricted to updating a system partition alone. It concerns with anything of the firmware including boot, cache, bootloader, recovery, etc.
Not every time a full blown system.img (DAT file actually) is shipped to the end users just for every OTA update. Depending upon the type of update1, there may be a full image of system partition to be copied or just only the specific files (packed into a single file) that are to be copied. The latter type of update, called the incremental update, is the norm since Android 5.0.

In a nutshell, if you're thinking that every OTA update actually downloads a full system.img or equivalent file and writes it into system partition, then that is simply not the case.
1 An OTA update can just be a mere update (like bug fixes, vulnerability fixes) or altogether a platform upgrade (like from Android Marshmallow to Nougat).

Thanks that make thing more clear. So, when using OAT update is there an assumption that some previous OTA already been applied ?

The assumption is that the current setup of the end user is using a particular Android build (this is often the last build or the downloaded build). Before the OTA update is written this check is performed. If the build number doesn't match, the update fails. I've written about this at length here.


text:
How to enter recovery mode in a watch with one button (power)?
I try to enter recovery mode in watch with one power button and no additional buttons , but failed to do that.
Is it possible to enter recovery mode with this single button ?
I try this with 2 different watch:
microwear H5,
kingwear 98
One of them is using android 5.1 , the other android 6.
Thank you

So you are talking about an Android Watch/Android Wear, right? You should also name your Android Watch model. From what I read the method is not the same for every device. BTW: Of course it is possible - the morse code also needs only one button and allows to transfer large texts - may be you should reformulate your question to "How to enter the recovery mode".

I've edited the message, it is a regular android, not android wear

It seems that OP got an answer from Xda-developers for Microwear H5.

You can enter recovery mode via adb command or installing a reboot to recovery app from play store.

The adb command is the usual one for rebooting to recovery:
adb reboot recovery

The answer also applies for Kingwear KW98.


text:
Devices are not found when executing command (but "fastboot devices" finds them)
I'm trying to install CyanogenMod on Nexus 4 and so far I had done this:
- installed google driver;
- enabled developer options on my phone;
- enabled debugging by USB;
- unlocked my device using ADB;
- installed CyanogenMod Recovery;
PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\fastboot flash recovery .\cm-13.0-20160510-NIGHTLY-mako-
recovery.img

started bootloader;

Then I get the following error trying to push the file to the devuce:
PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\fastboot devices
01cf8682d9c98ac0        fastboot
PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\adb push cm-13.0-20160510-NIGHTLY-mako.zip /sdcard
error: device '(null)' not found

I followed CyanogenMod instructions step-by-step, including troubleshooting section, but I keep getting this error.

adb is not the same as fastboot. Thus, if adbd is not running on the device, adb can't find it. The same applies to fastboot.

You cannot use ADB when you are at the bootloader, you would need to push the files to the device using ADB when in recovery.

Don't edit the question to include the solution, because then the question will always show up as unanswered. Instead, "answer your own question" and then accept the answer you've posted.

Update: This works from Recovery mode:
- Full factory reset
and then:
- Apply Update -> From ADB
.\adb sideload cm-13.0-20160510-NIGHTLY-mako.zip


text:
Some location based mobile sites not working in chrome
I'm getting a message from some websites (m.yelp.com and nextbus.com) they do not have "permission to access your location". I have my location permission turned on for chrome in the app manager and set to "ask first" in the site settings tab of the chrome settings. These sites are not blocked in site settings.
The location works fine on some sites, ie maps.google.com. I get a message asking if I want to give my location information and once I approve it works.
Am i missing something, is there somewhere else I need to grant permission? Is anyone else seeing this?
I'm running marshmallow on an htc m8.

Does this happen with an another browser as well, such as Firefox?

@Firelord, Firefox seems to be fine.

It seems that starting with the April release of chrome for android, only sites using https can request location information.
https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only?hl=en


text:
Importing contacts from old dumb phone
My mom uses an ancient Samsung SGH-C140 dumb phone with a mini SIM that has 150 contacts capacity. However all her contacts are stored on the phone, and there are around 400 of them. After all these years I have finally managed to convince her to allow me to buy a new phone for her (that too only when the keypad of the old one has given way)!
Now the problem is that the new Android phone uses a micro SIM, and I'm at a complete loss as to how to go about transferring those 400-odd contacts to it.
The only option I could think of was to go get the mini SIM cut to micro SIM size, then repeatedly use the Copy All Contacts to SIM feature to transfer from the old phone to SIM (while using the outer mini SIM sized bracket), and then from the SIM (without the bracket) to the new phone. The problem with this method is that the Samsung phone doesn't allow me to select the contacts, and always copies the same set of 150 contacts to the SIM before complaining about lack of space. (Aargh, which idiot made this phone's software?!)
Since I simply can't afford the loss of any of the contacts, what do I do? Do I really have no other option than to sit and manually read and enter all those contacts again?
P.S. I thought briefly about checking on some sort of PC software for the ancient phone, but even if it exists and can run on Windows 7/8.1/10, I have no clue where I'd get the required phone-to-PC cable from at a reasonable price.
Edit: OK, so the UK site for the phone mentions Samsung PC Studio Image Editor and Samsung PC Studio Internet Access. I assume the latter is the one that might support contacts export, but aside from the cable issue, there's the additional problem of how I would even export those contacts using the software to a format that Android would understand. If the software supports export/import of contacts using some proprietary format only from/to the phone itself, then there's obviously no point using it.

If you click on the 'more' in the link you'll see a program called Samsung PC Studio PIMS/File Manager which might be the one that handles contacts export.

@MorrisonChang: Thank you, I missed that. It does sound promising, although if if it cannot export to VCF or something Android can handle then it would be pointless. Even if it can, I'm still stuck when it comes to obtaining the proper cable. Couldn't find it being sold online by any seller in my country unfortunately. Just have to keep searching I suppose...

One possible option, if you can be sure which 150 contacts are being copied to the SIM in the old phone, is to transfer 150 contacts, copy them to the smart phone, and delete them from the old phone.  Then, next cycle, you'll get the next 150, and in twenty minutes or so you'll be done.  The trick is being sure you're deleting the same contacts that were transferred to the SIM.

You see, the problem with this as I mentioned is that it isn't allowing me to select the contacts to be copied. So I'd have to copy 150 contacts, then check each contact on the new phone, find it on the old phone and delete it. Once I've done that 150 times, I'd have to do the whole SIM dance again to copy the next set of 150. Frankly I think I'd find pulling out my hair one by one a more pleasant experience. Sigh... I'm really struggling with this and have a sinking feeling I'll have to do the whole damn thing manually. Aren't there any SIMs available with more RAM to store more contacts?

@David there are larger memory SIMs, but if either of the phones are locked to a carrier they will not work.

@EthanZ: Carrier locking is extremely rare here. How do I get my hands on one of these super SIMs? Wikipedia says "SIM cards can come in various data capacities, from 8 KB to at least 256 KB. All allow a maximum of 250 contacts to be stored on the SIM". If that's true then I'll still be in the same boat. I was hoping there would be a SIM with a capacity of 400 or 500 contacts.


text:
App Windows as Widgets
I want to pin an app window to the home screen, like a widget, except that it is a live app.
I need this because there are so many applications which do not have any widgets. Instead of opening an app(which I forget most of the time) I would like to have them pinned as a widget which I can easily view while scrolling through the home screens.
There any many Xposed modules, which allow any app to be viewed as a floating window, but don't know how to make widgets out of them.
Any suggestion will be appreciated. Thanks!

It's not an easy task. But let me contribute with some milestones.
First of all the Home app will need to handle it. It's not just a view inside the app, like widgets do. Because a RemoteView is extremely limited, it makes no sense to try to convert "normal" activities to a widget.
But the good news is that Android implemented about 2 years ago the "multi window".
Maybe there is someone that made a hack, but I'm sure it'll need a custom ROM, because there is no API to handle multi window from an app. An app can just handle its own behavior in multi window.
I'll follow this question. :P

There are many Xposed modules for multiple floating windows, like XFHW, which works really well. If a widget is pretty limited, will it be feasible to display the contents of an app window directly over the widget, thus giving the illusion of a widget. Or to just display the contents of the app window as a RemoteView, which is updated continuously.

I think the first option is more feasible, display an app directly over the widget area. The second is not possible because many views/widgets are not supported by RemoteViews (https://developer.android.com/reference/android/widget/RemoteViews ).


text:
When using Google Payments for an in-app purchase, does the App admin see any information identifying or associated with your google account?
For example,
Let's say I have 2 play store accounts signed in on android:

alice@gmail.com
bob@gmail.com

Event 1:
I sign into the app using alice@g, and then make a payment in the app using the Google Play Payment Method (GPPM) associated with alice@g's account, and which is then assigned order: GPA.111...
Event 2:
I then delete the app's data in settings and remove then reinstall it on the same device, but sign into it using bob@g. I then make a payment in the app using the GPPM associated with alice@g (since it is available and already on the phone), which is assigned order: GPA.222...
My question is (under the assumption that the app is not given the unique device id) for Event 2, is there anyway for the App-admin to associate bob@g's login with the alice@g login (for example, does the GPPM send the app admin an e-mail address such as alice@g or an id, such as gppm-id-alice, or gppm-randomId-associated-with-alice) or is each payment with GPPM fully anonymous?

It is not fully anonymous. Google Payments Privacy Notice under the "Information that we collect" section states that:

For example, when you make a purchase or transaction using Google Payments, we make certain personal information about you available to the company or individual you purchase from or transact with. This includes sharing your personal information with the developer from whom you purchased when you use Google Payments to make a purchase on Google Play. When you add a third party form of payment to your Google Payments Account, we may exchange certain personal information about you, such as your name, profile image, email, IP and billing address, phone number, device info, location and Google Account activity info, with the third-party payment provider as necessary to provide the service.

Information about the account used for the payment is shared. If that information is an email address like in your example, the app's developer receives Alice's information not Bob's.


text:
correct fingerprint for Samsung Galaxy S10 with Android 10 to pass ctsProfile check in SafetyNet
I have a Samsung SM-G973FZGGITV (European Exynos version with Italian csc) upgraded to the stock version of Samsung Android Q. My current fingerprint is
samsung/beyond1lteeea/beyond1:10/QP1A.190711.020/G973FXXU7CTF1:user/release-keys

and the fingerprint I extracted from the vendor partition is
samsung/beyond1ltexx/beyond1:10/QP1A.190711.020/G973FXXU7CTF1:user/release-keys

now when I set one of these fingerprints trough the MagiskHide props config module the ctsProfile check still fails, the basicIntegrety check passes so there is hope.
Can someone with the same phone upgraded to stock Android 10 version pass me the fingerprint of his phone software when passing the ctsProfile check?
You would be my hero, I tried both listed fingerprints and have no idea why the ctsProfile does not pass.
I followed this guide to try to pass SafetyNet
MagiskHide props module manual

See this why SafetyNet is failing

@beeshyams very interesting information, thanks. but from what I've read in the answer this "hardware backed" safetynet check is not yet implemented. So my ctsProfile should be able to pass if I put the right fingerprint and release date in the props. Or am I wrong here and is it totally over with MagiskHide?

It's already implemented for latest devices and not for some old devices , see the last screen shot in the answer, which shows that. IMO, game over unless your device is an exception. I may be wrong but that's my inference. Try installing canary Magisk and checking


text:
Visiting site using Chrome restarts device
I came across an unusual behaviour in Chrome (50.0.2661.89), running on a Galaxy S7 (SM-G930F)/Android 6.0.1 . The behaviour seems to be repeatable, causing my device to restart every time I scroll through a particular page.

Start from a standard boot, no other apps run since startup.
Open Chrome.
Navigate to
http://www.fieryflavors.com/spicy-food-hiccups/
Swipe down the page
(haven't managed to pin down a specific point of trouble yet).
Device
restarts.

The page in question doesn't seem to have anything tremendously nefarious happening in its source code (still poking it a bit, will update if anything turns up). I haven't come across this particular issue with Chrome on Android in the past.
Is this common? Is there a particular HTML/CSS/javascript/etc. string that's known to cause device restarts?
UPDATE
I'm not sure that it's an 'official' Chromium bug yet, but it certainly looks like I'm not alone:
https://bugs.chromium.org/p/chromium/issues/detail?id=614422#c28
The problem appears to be specific to the Galaxy S7 and S7 Edge and is likely triggered by video embedded within adverts (the issue is intermittent, disappearing when new ads rotate into each problematic page). As such it's perhaps less likely that the issue lies within Android, and more that it's a Samsung problem or a very specific incompatibility between Android/Chrome/Samsung hardware.

Have you seen this same issue on any other devices? I expect it's something wrong with your device rather than the site itself (although it could be triggering some issue on your device causing it to restart). It does not restart my Nexus 6P. Does your device restart when doing anything else?

The issue doesn't appear on a Sony Xperia X I've tested either. No other applications on the S7 cause a reboot. No other sites I've visited in Chrome on that phone cause reboots. Could very well be specific to my particular device, but it would be useful to confirm that before I start checking random things.

It doesn't reboot for me. (Nexus 6P running Android N). Can you check if there are any updates for the Google Chrome app?

Everything's up to date.

Do you have antivirus installed on your phone? If so go to settings and lower the security setting from high to medium i sems as though its a security feature you may have on i just visted the page from crome on 2 different. Devices and had no problems or bo restart. I did however visit the page from my home pc that does have firewall antivirus set to high and i got Warning not secure page.
Hope this helps.

There's no third party antivirus software running on the device.

Yes it cause unusal restarts in one of Lenovo K8+ (marino) device.
Initially that user faced this issue in oreo then he reverted back to nougat.

With stock chrome installed there is no issue but if he updates it to
  latest through play store and surf any website for a while, the device power off for few minutes
  and then automatically boots the system (power on itself).

Maybe

A driver bug
JS engine issue

Let me catch some logs and if possible i will write a patch to fix this issue.I will update this answer as soon as there is some positive progress.
Edit:
I have filed an bug report to lenovo forum and it can be found here


text:
How to stop microphone or app on screen lock?
Discord talk channel stays broadcasting indefinitely in background even if the screen is locked.
Note that I write "background" from the user's point of view. The app has a persistent notification so that makes it technically non-background on Android.
I would like to know if there is a setting or app that could be used to prevent this privacy issue.
For example to stop apps on screen lock, or to auto-disable microphone after some time.

Since Android 9 apps running in background (without a foreground service / persistent notification) cannot access microphone: https://developer.android.com/about/versions/pie/android-9.0-changes-all#bg-sensor-access. Also you may set RECORD_AUDIO to foreground using appops.

I see. Technically it is not background since there is a persistent notification and it is recording and playing audio. My question is about existing means to stop some apps or the mic while on screen lock.

There is no definite solution to your problem AFAIK, but I can share my thoughts on it.
From documentation:

If your app is running in the background on a device running Android 9... it cannot access the microphone

Furthermore since Android 9 you can force an app to use microphone (and other operations) only in foreground:
~$ appops set com.discord RECORD_AUDIO foreground

Both of the above are applicable only if the app is not running a foreground service i.e. not showing a persistent notification.
In case of older Android version or if the app is running a foreground service you can try to make use of some automation apps to revoke RECORD_AUDIO permission and/or operation as soon as screen is locked:
~$ pm revoke org.lineageos.recorder android.permission.RECORD_AUDIO
~$ appops set com.discord RECORD_AUDIO ignore

And do the inverse when screen is unlocked.
However Android framework mostly kills/restarts the app/service when a permission is revoked. Or the app may continue using the previous state of permission unless it's manually restarted. So the approach is not reliable but may work for some apps under certain circumstances.

For example to stop apps on screen lock, or to auto-disable microphone after some time.

Stock Android doesn't provide any such feature to auto-disable or disable mic from lock screen, though a custom ROM developer or OEM may provide e.g. a "Turn Mic Off" tile. Some ROMs add "Kill app" button to notification (on long press). But that may require unlocking the screen. Again you can automate to kill the app on screen lock. But some apps may also start a service on broadcast events.

I am not allowed to downvote but I'd have done it. Normal users are not meant to know how to insert those command lines and where. You should have elaborated at least.

Navigate to Settings/Apps/Advanced/Default Apps/Digital Assistant, then change from Voice to Google speech recognition. That should replace the mic symbol with the phone symbol.
-or-
You could try denying the Google app's mic permission or both.


text:
How do I verify that the USB debugging key fingerprint is correct?
When I try to enable USB debugging on my Android device, I am prompted with this message:

The computer's RSA key fingerprint is:
FE:35:23:34:...

I see the public key in ~/.android/adbkey.pub
How can I verify that this RSA key fingerprint is correct on the computer's commandline?
Can I use adb?

You are using an USB connection. How likely is an interception attack on an USB cable?

@Robert Although the chances are slim, they are not zero. Given that Android developers chose to deliberately show a key fingerprint, it seems only logical to verify it before accepting, no?  Are you saying verification is impossible?

Per this answer:
awk '{print $1}' < ~/.android/adbkey.pub | base64 --decode | md5sum | head -c 32 | tr '[:lower:]' '[:upper:]' | sed 's/.\{2\}/&:/g;s/:$//' && echo


text:
Automatically enable/disable data mobile on galaxy s3
i going to turn on my data to use internet, but the Wi-Fi symbol going on then off what should i do...
please help me...
my phone: Galaxy S3

Your initial question seems a bit vague, so I'm goign to assume that you're asking why when wifi is turned on, cellular data goes off. If this is not the question you are asking, please ignore my answer.

That is how android is designed to handle data. When Wi-fi is on, Mobile Data does not get used.
If you want to keep mobile data active even while wifi is on, go to Settings > developer options > Under networking section you'll find an option  "Cellular data always active". Turn that on. This does not mean that cellular data will be used when wifi is on. It only means that automatic switiching between wifi and cellular data will happen a lot faster.

Dear Blueren
I followed-up your guidance but there is not any Networking section in my phone. only this sections are availble:

make but report
Debugging
Input
Drawing
Hardware-accelerator rendering
Monitoring
Apps
could you guide me more please if ...

Oh No. I guess Samsung has not added those specific options under the developer options. Eitherway, I don't believe this should be any real problem. Why do you want to force enable your cellular data while on wifi? Is there any specific valid reason?

dear bro: . ... once more i faced up with same problem in another galaxy mobile ... when i changed the SIM, then my mobile worked normally ... and also i checkedup the same SIM in another mobile that was working fine in other mobile the case is that ... the 3G or H+ symbol become hide and unhide – yaseen 7 mins ago

Dear Blueren
thank you so much bro ,,, i solved the issue by help of related company the problem was from that side ...


text:
Where to download official Wiko Jerry drivers for ADB/USB connection?
I'm failing to find the page with original drivers, I only find third party websites that I don't know if I can trust. The manufacturer website is lacking the drivers (apparently). I'm using Windows 10 and have already the Whole NDK installed.

Download any MTK drivers. Wiko devices are powered by Mediatek chips.

Weren't Android supposed to have a unified driver for all devices? Or was I just dreaming? XD

wikogeek is a site dedicated to Wiko phones and hence presumably safe. Site description says

...the site dedicated for open source of Wiko products. We are pleased to provide the source codes of our mobile phones to our most sophisticated users....

It is likely to be safe since this site was referenced in Wiko Forums . That's in French and needs translation and also explains the procedure of installing drivers

I speak French, can I help?

@esQmo: thanks +1 for your answer. If you can read that page and anything useful to the answer, please leave it in comments here

You just need Mediatek drivers for any phone powered by an MTK chip. Since [all] Wiko devices are powered by Mediatek chips, you can use drivers for Alcatel MTK, or ZTE, etc.
Go here to download the firmware which contains the flashtool, drivers and instructions.
or here to get the Wiko drivers (VCOM and CDC)

Thanks to all answers, I also found an alternative way
Basically the drivers are on the phone, just need to browse it and install from there:

the official documentation regarding that is:

Install Wiko Jerry drivers

As Always you need to enable developer mode, usb debugging and when the phone prompt for it, allow your connected PC to be used for USB debugging.


text:
Accessing data after flashing new ROM?
My S6 Edge was stolen so this question is intended to answer some of my fears.
Phone was PIN locked.

Can data from internal storage (like photos) be accessed if a new ROM is flashed and lock is cleared?
Can a new ROM be flashed if device is encrypted?
Does reset via recovery mode console remove the encryption and data?

EDIT:
Some notes
- ROM was all stock
- Usb debug disabled
- No SD card storage expansion on it

Was the device rooted and with custom recovery?

sorry should have mentioned - no, it was all stock, USB debug disabled.

See 2. :)
Yes. But to answer the question behind it: without knowing the passphrase, that wouldn't mean encrypted storage became accessible. Passphrase and key are required to decrypt.
A hard-reset just cuts the power. A factory-reset should remove data and reset the encryption (as it would clear the encryption key along)

What you left out is data on your SD card. If the card was not encrypted, the data of course can be accessed. Otherwise, see 2. again.
As you report your device stolen, beeshyams pointed out another fact that might be of interest to you (in the now cleaned-up comments): Factory reset protection would be an added complication to the thief. That is, if it was available and enabled on your device (FRP was introduced around Android 5.1.1 but only automatically enabled for devices which originally shipped with Android 5+), even when flashing a new ROM the "possessor" would still need your Google credentials in order to use it. There are ways to work around that, but they don't work on all devices and are also not easy to perform.

@beeshyams not flash. Think e.g. of adb shell and adb pull, which are often possible via a custom recovery. Not sure how that deals with encryption then (I know e.g. TWRP can), which is why I originally didn't mention it. I assume, though, that it would require to first enter the passphrase in the custom recovery (how should it decrypt otherwise?) In short, to your original comment: FRP has nothing to do with protecting your data – it's about making the device useless for the "illegal possessor". Which is not what OP wanted to know ;)

thanks. How about if there was no encryption for 1)? Also, by hard reset I meant Volume Up+Home button+Power button which boots in recovery mode and allows wipe. I'm not sure how FRP would work in this case. Not a problem re SD card, didn't have one.

Might be worthwile to note that the device does not show up in my findmymobile.samsung.com account anymore, which I think means the device has been wiped - or at least this is what the samsung rep tried to explain.

@w00t without encryption, a so called "dirty flash" would be able to access your files, provided the lock can be worked around. IOW: that flash wouldn't change anything in this regard, as the lock remains intact – unless it comes with different system defaults (e.g. ADB enabled and no security check on that). And no, a hard-reset is "pulling the battery"; what you describe is a factory reset. I'm not sure concerning FRP either; vaguely remember only one of the two approaches (settings vs. recovery) can kill it; IMHO the one via settings, as there the user was authentified.


text:
My Samsung Galaxy S6 is bricked
I recently bricked my Samsung Galaxy S6 SM-S906l while trying to flash TWRP recovery.
Apparently, it was an unsupported recovery and I need to reflash the original recover with Odin, but it says it needs the PIT file.
How do you obtain the PIT file?

Tightly related post, if not duplicate. The problem is the same, making this a dual-prong appeal to action.

but i need help! My phone is bricked

The SM-S906L is the same device as the SM-G920V [source]. You should be able to use the PIT for the SM-G920V. You can get the PIT here.
I also found it here (and it is labeled as the SM-S906L, but has the same file name as the one that is specified for the SM-G920V).


text:
Does ROM Manager need S-OFF?
I want to try the CyanogenMod9 Alpha builds for the T-Mobile myTouch 4G Slide [MT4GS/Doubleshot] and all the instructions say I need S-OFF.  The problem is that I have HBOOT 1.55 so software solutions like Revolutionary do not work and I am left with the JuopunutBear wire trick.  I am not up for that so I will stay S-ON for now.
Then, I found ROM Manager that claims to easily install custom ROMs easily, but I can not find if ROM Manager requires S-OFF for HTC devices.  Does anyone know if I can install custom ROMs through ROM Manager with S-ON?

ROM Manager doesn't do anything particularly special to install a custom ROM. It essentially makes a call to the recovery binary that allows it to save instructions for your recovery partition to run the next time it boots, thereby automating the process of flashing whatever zip file you choose. You could do the exact same thing manually.
Therefore, if your device needs to be S-OFF to flash a custom ROM from recovery, it will also need to be S-OFF in order for ROM Manager to flash a ROM. It will not work on an S-ON device since it won't be able to write to the NAND, and you won't even be able to get a custom recovery to stick in the first place, most likely, which it will ultimately need to flash the ROM.

After reading several forums I found that some ROMs need S-Off to work properly.  For those that don't you still need to manually flash the boot image.  Extract the boot.img from *.zip/kernel/<<device>>/boot.img then reboot into bootloader and flash with fastboot flash boot /path/to/boot.img
In short rom manager will install the ROM but not the boot image.


text:
Flash a ROM without using recovery mode
I have an LG Prada 3.0 p940, running Android 2.3.7.
I have a problem accessing recovery mode. Is it possible to flash CyanogenMod ROM on stock ROM through PC without installing custom recovery?
Does anyone know a software that is trustworthy to do that, or to back up my current ROM?

What phone is it?, try to be more specic

Try LG Flash Tool

No. You can not delete the system while it is running. If you have root access, you could "program" the stock recovery to flash your custom ROM on the next reboot by using a specific command line in a terminal.
There is LG Flash Tool for your device, but it is not official.


text:
Internal GPS interfering with mock locations?
I've been using mock locations in my latest endeavors, and I'm having some issues. I enabled a mock location app from the developer options, set my Location Mode to 'Device Only,' and took precautions such as moving the app to System.
Everything is working how I intended it, except my location keeps bouncing between the mock location and my actual location. I've tried desperately to prevent my internal GPS from interfering with the mocked location, but with no luck.
The only method that I managed to have success with was by wrapping aluminum foil around my phone to inhibit the GPS.. this works but it's very inconvenient. I'd be grateful to anyone who can shine light on my troubles.
I'm running rooted Android 6.01 (Marshmallow) with a OnePlus Two device if it matters. I've tried different mock location apps with similar results on them all.

OP's follow-up question: Disabling the GPS?


text:
Using another phone's GPS signal as location
I have an android phone (Device A), and an android tablet (Device B). Device B has a decent GPS, but Device A's is pretty much unusable. I would like to use Device A for navigation, but to do so I need a GPS quality only Device B has.
Is it possible to make Device A accept Device B's location as an external GPS signal (i.e. with the usage of mock location) while none of them being rooted? If not, does rooting Device A help?
I am interested in a general answer, but also in a more device-specific one if it is better:
Device A: Prestigio 5517; Android 4.4
Device B: Samsung Galaxy Tab 8.4 WiFi; Android 5.0

I've never tried that, but it should be possible. On device B you'd need an app to Use your Droid as BT-GPS Mouse, and on device A the corresponding counter-part to Use an external GPS mouse. Could you try and confirm that works?

@Izzy Confirmed. I tried a setup like this before without success, but I could make it work with Bluetooth GPS on device A and Bluetooth GPS Output on device B. Some other pairs also worked. Thanks for the link!

Another approach is tethering GPS with an app like TetherGPS Lite. It sounds more efficient since it can be more optimized, but this awaits confirmation.

Thanks for the feedback! I've made it an answer then, including details provided by you :)

As a test confirmed, this is possible via corresponding apps:

on the device providing the GPS signal ("B"), you will need an app to Use your Droid as BT-GPS Mouse. An approved candidate would be Bluetooth GPS Output for this.
on the device where you want to access that "external GPS" from ("A"), you'll need an app to Use an external GPS mouse. Approved candidate for that is Bluetooth GPS.

As you yourself found out, another approach is tethering GPS with an app like TetherGPS Lite – which you write "sounds more efficient since it can be more optimized". As this waits your approval, please approve below this answer then :)


text:
Last Update CM13 - Nexus 5X
Yesterday I updated from this snapshot version 2016-04-18 17:30:08 to the last one 2016-08-20 00:21:07 (bullhead)
Everything looks in its place, but yesterday the device was keeping restarting, today it's stable.
I tried to reboot it by myself and when boot it says:
There’s an internal problem with your device. Contact your manufacturer for details.
Any solution?

So, did you try to contact the manufacturer? And CM updater uses recovery to flash the zip so...

Well, true.. it's the same thing. Btw no, I can't contact the manufacturer.

I have found a soulution here but it's for Nexus 6P and Android 5.1 but I think it will work in your case as well.

Android System
There's an internal problem with your device. Contact your manufacturer for details.

The problem occurs because of a check that Google implemented in Android 5.1 (and it seems stayed in after) which compares /system/build.prop with the values found in /vendor/build.prop.
If they differ you get that error message. All one has to do to get rid of the error is to change the 3 values in /vendor/build.prop according to the values in /system/build.prop.
On the link you can find a flashable zip. The magic is in the update-binary file:
/sbin/busybox egrep "^ro\.build\.(date(\.utc)?|fingerprint)=" /system/build.prop \
    | /sbin/busybox sed -e"s/^ro\./ro.vendor./" \
    > /vendor/build.prop

So you need:

install TWRP on your device
send vendor-build-prop-fix-signed.zip to your device
reboot into recovery mode
flash the zip but don't wipe anything
reboot your phone

If it's not work (but it should be work), you can try this method.
It says you should download and flash/install the vendor.img which matches your ROM's base.

The last sentence is the one on point. Update the vendor image and ignore the warning. CM uses a single branch for all devices so even when on the latest vendor image the warning will still pop up.


text:
Restore IMEI of Xiaomi MI4C Without Another Phone
In short: I have a Xiaomi Mi4c that shows has an "unknown" IMEI when checked via the settings in the stable and developer versions of MIUI and Cyanogenmod 13.1. However, when viewed through EFS professional or NV RF Manager, the IMEI is read correctly. Not having a "valid" (or any?) IMEI means I have a 5" wifi tablet, rather than a phone, which is something I've been trying to fix.
The long version:
The problems started right after I flashed CM 13.1, and I couldn't detect my sim card. Thinking it was my ROM, I reflashed my stock ROM and when that didn't solve the problem, I quickly deduced that the missing/unknown IMEI was the problem.
I finally got NV RF Manager working, and read all of the NV values from my phone. After finding the IMEI related value, I followed the odd schema for rearranging my IMEI and filled the boxes out and clicked "Write NV." However, I only received an error that read "Parameter is write-protected and thus read only." The same results were achieved with EFS professional. (Again, this was on CM) Now, I reflashed the stock ROM, and tried again. After rebooting the phone, I was able to read the correct IMEI values from the phone using both EFS professinoal and NV RF Manager, but the phone still showed baseband and IMEI as "unknown." Dialing *#06# causes the numbers to disappear, but nothing else happens.
So far, this is what I've tried:

NV RF Manager
EFS Professional
MTK Droid Tools
SP Flash Tools (Did not work at all, only for MTK chipsets?)
Apps like XPOSED IMEI Changer (Results in nothing changing)

There are a few related questions, but none of them work for me.
How to restore IMEI and get back network functionality?
Might work, but I have been unable to find the "modem" or nvram files on my phone. I also don't have an "efs" folder on my phone (that I can find.)
Mi4i full partition corrupted. Unable to restore EFS partition
Isn't jiving with me. The thought of uploading mi4i (rather than mi4c) specific files after removing my only remanents of my efs files seems like a bad idea to me.
How to restore the IMEI number on the Samsung Galaxy S4 I9505?
Is ROM specific, and since it doesn't work on multiple ROMs, I've ruled it out as related.
Again I have a Xiaomi Mi4C, the 32GB/3GB version with the Qualcomm MSM8992 Snapdragon 808 chipset.
Any help at all would be greatly appreciated, I've hit a wall fixing this problem.

And there is issue number one: you have no efs folder. That is where your IMEI data is stored, along with all others sorts of ID (MAC address, BT address)

I thought this might be the problem, but I have a BT address, a MAC address and my wifi & BT connections are working just fine.

weird. That would all be efs, and devices tend to keep the system for that the same.

This is what worked for me. I've documented everything in a GitHub repository, and have included some of the information here. However, I will not be updating this information, and I cannot upload the supporting files, making the GitHub repository the go to resource for many reasons. With that said, here is the excerpt:
Download files
I've attached a few files:

mi4c.qcn: an IMEI backup from another phone
QPST: the program for uploading the IMEI backup
IMEI converter converts IMEI to hex

The IMEI converter is optional, but useful.
Root phone and enable USB debugging
Other people have already written this part up, and in the spirit of refactoring, I will link to them rather than repeating what they say.

Unlocking the Mi4c Bootloader without verification by Xiaomi
Root and install twrp recovery on Xiaomi mi4c
SuperSu install
Enable USB debugging

Setup other software

Here's a guide for how to install ADB and Fastboot.
You'll need a hex editor. Here's one, but there are many to choose from.

Enable diagnostics mode
Open up your command prompt and run
adb shell
su
setprop sys.usb.config diag

This enables the diagnostics mode on your phone, priming it for QPST
Check drivers
Go to "Device Manager" and check if your drivers are installed correctly. If they are not, try enabling unsigned drivers and reinstalling/updating the drivers for the phone.
Edit mi4c.qcn
Open up your hex editor and search for "08 5A 44 13 66 06 75 76 36"
Change this to your IMEI that you converted into hex with the IMEI converter attached.
Erase existing IMEI files
adb shell
su

dd if=/dev/block/mmcblk0p28 of=/sdcard/modemst1
dd if=/dev/block/mmcblk0p29 of=/sdcard/modemst2
dd if=/dev/block/mmcblk0p33 of=/sdcard/fsg

dd if=/dev/zero of=/dev/block/mmcblk0p28
dd if=/dev/zero of=/dev/block/mmcblk0p29
dd if=/dev/zero of=/dev/block/mmcblk0p33

reboot

This clears the way for the new files.
Repeat Enable diagnostics mode
Use QPST to update EFS
Install and run QPST. It should automatically detect your phone.

Click the "Start Clients" tab, then select Software Download

Select your modified qcn file and click start. It may reach 100% quickly, but it will still be working until the exit button is not greyed out.

Reboot phone
Celebrate! (Or retry if not successful, sometimes it takes a few tries to get it right)
Credit to http://www.miuitutorial.com/2016/10/imei-xiaomi-mi4c-kamu-hilang-jangan.html and Defforest@enMiuiForum

What you need.

Download MTK Droid Root & tools.
A Windows computer.
Have already set USB Debugging mode enabled on your device.
A USB cable.
Have setup ADB & Fasboot on your PC.

Instructions.

Connect your device to PC, then launch MTK Droid Root & Tools.
Droid Root and Tools will detect your Android device.
If your device is detected, you will see its IMEI on the Phone Information tab on the droid root and tool interface.
Then find the Root button that's located on the lower right side of the interface.
Select Yes button if asked whether you wish to Root. You will see Root Shell Script Access.
Then you'll see a window box named Change IMEI, Backup/Restore, NVRAM.
Now replace the IMEI on the window box with the IMEI number from the rear side of your Android device.
Then choose Yes. Reboot your device for the changes to apply and finish.

I got the instructions from the following page; repair MTK IMEI, that page contains pictures to clearer its point.

I'm afraid this method proved unsuccessful as well. Whilst it seems as if everything went smoothly, the IMEI is ultimately not restored.


text:
How to get a clean device tree to build the drivers of the msm8939/snapdragon 615
I come to you with many interrogations about qualcomm msm8939 SoC.
I bought the Archos 50 diamond last year and have since been waiting for archos to make their move regarding android software updates.
As of october 2015 Lollipop has been released but in a beta version, no sign of any progress or any comunication ever since.
Whereas Samsung or others have released binaries and device specific configuration for their boards, archos on the other end seems to have other things on it's plate.
I know the binaries for a specific SoC wich is needed to build android or GNU/linux on embedded systems are sometime proprietary and surely in this instance they are, but..
Even if it's only for limited development purposes, would there be any way, known to man to acquire a personal license for a tailored driver binary?
Or maybe is it possible to get an exhaustive list of specific msm8939 device tree configurations options?
Is it safe to think that i can gather that exhaustive list of parameters from the various sources available on github?
Wherever I look for the device tree of the msm8939 I only find repositories for other phones based on this SoC... with a few minor differences. The only thing worth of mentioning (IMHO) is the work of cyanogen Inc. who signed a partnership with qualcomm regarding snapdragon SoC.
Then again even if Cianogenmod is an open source port of AOSP(Big up to anyone contributing), Cianogen Inc's work for those boards still remains behind closed walls.
That's why I would like to know if it is manageable to use another device tree (based on snapdragon 615/msm8939) to build something worth "risking" flashing?
The 50 diamond appears to be a rebrand of the chinese K-touch Touch7 and it would seem it didn't attract a sufficient amount of good FLOSS developpers for me to find the "good & easy to understand" informations in English or in French.
I've been puzzled about another thing in regard of this rebranding. In my build.prop the board name is msm8916(Snapdragon 410) instead of 39!!!!! How come? Is this a trap? Did they just tricked us Or even worse, did they advertise the wrong board ??
If Archos or K-touch or both did in fact used the msm8916 device tree to build the drivers and Android for this board, wouldn't it be missing a whole world of features?
Maybe someone knows of a good forum or repo wich might house the golden goose!? (not including the Cyanogemod repo)
And by that I mean any curated informations about embedded developement for GNU/linux and/or Android (free as in free beer if possible)
It's a shame for smartphone manufacturers that I can't progress on this matter, with a little luck i would brick the damn thing and would have to buy another one :D
I'll leave to it!
This community rocks!
Thanks in advance and see you around!!
Bye bye etc, etc...

One minor thing I can answer: Archos is not deceiving you by using an SD410. It's just the "platform board" is for SD410, and due to SD410 and SD61x being of the same generation and using the same core architecture, using the same board is alright.
As can be freely verified, many SD S4 Pro (APQ8064) / SD600 (APQ8064T) devices use the board msm8960, because ultimately they're using the same Krait 200/300 cores. That doesn't mean they're dual core instead of quad.
As for the main question, I think it's a bad decision to ever purchase devices from such minor manufacturers if you're looking for development, even if these devices have popular SoCs.


text:
Prevent phone auto-connect to a specific wifi connection, without forgetting that connection
The feature I am looking for exist on MIUI rom and samsung roms:

Similar question were asked before:
This from 2015 has an answer about Samsung and MIUI roms only.
Answers to this and this question  (both from 2013) offer workarounds.
An answer to this question suggested to use Wi-fi Ruller which unfortunately is not supported anymore.
It looks like the questions are rather old, and a simple, straight forward direct solution is yet to be found.

Are you rooted?

Because it looks like the ROM must implement it or you must be rooted

@colbycdev  Yes, I  am rooted.  I would have used MIUI rom but there is no version for the phone I use.

it looks like an OEM implementation. So it must be implemented in the ROM.

From what I can see, there really is no way to do it directly
There are root workaround but nothing that only allows manual connection (excluding Samsung or MIUI stuff); it must be OEM implemented. I can't find any way to do it in standard AOSP or lineage OS
You could always try something like Tasker and have it shut off WiFi when your in range of a network you don't want to automatically connect to

Thank you for the answer. I think it would be quiet complicated with automation. The need is not to turn wifi on and off, but rather remembering a  connection without auto connecting to it. It seems silly to me that I need to forget a connection and key the password again, just because I don't want to connect to it evey time it is in range. Connection prioritizing makes sense but it is also too cumbersome.

@c0der sadly it has to be implemented ROM side. There is no easy way to do it otherwise. And only Samsung and xiaomi have it


text:
having internal storage problem
After rooting my lollipop5.0 with kingroot then after some time my internal storage became zero, I cannot install any app,please if anyone has a solution please help me out:

User apps / system apps (click images for larger variants)
Also storage is not visible from the storage page in settings,it shows only calculating:

Storage and DiskUsage (click images for larger variants)

Use an app like DiskUsage to see what is occupying space and delete uneeded stuff

I checked it I have a lot of free space,but my issue is that my internal storage has become zero,in the system application manger page,it shows the size of every app as 0.0,please help me

Please post screen shots of the app showing disk usage and app manager page by editing your question

If anyone has any solution please help me

It would be great if you could paste result of "mount" command. If you have Terminal installed, just type "mount". If not, enable USB debugging, install Google USB Driver on your PC, install ADB on your PC, connect your phone with USB, accept new PC on phone, open adb folder in cmd.exe, then type "adb shell mount"

What do you think the problem is?

Is it understandable or should I join them


text:
phone disconnects from PC after while
my phone disconnects from usb after a while but keeps charging. When plugged to wall charger it does charge, but there is no notification and it even says "connect to charger" when battery is low. I thought it's just the usb port, but it DOES connect and only disconnect after a while and I do not move the cable/phone so I think the problem is with the software. I've tried using different cable. Additionally the phone restarts sometimes, but only if the screen was locked. I've set sleep to "never" and it does not restart.

phone: Xiaomi Redmi 3 Pro
android version: 5.1.1 LMY47V
MIUI version: MIUI 7.5 | Stable 7.5.2.0(LAICNDE)

Thanks for advise.
EDIT: After factory reset the phone doesn't restart anymore, but USB still ain't working

we have the same problem with the 7A (I usually need to put it on "ultra battery" saver to bypass this bug)


text:
Stop Motion Video creation using external camera
my son is very interested in Lego stop-motion video creation.  There are myriad apps for stop motion capture on the Android platform, but using a device's internal camera isn't too easy, since you can't get a big phone or tablet into the correct position for the desired shots.
I have a USB webcam and a USB OTG cable.  Is there any way to use the external webcam as the image source for any of these stop-motion apps?
The idea setup would be to make the USB camera the default image source for any existing app.  Then he could directly capture into a simple, easy-to-use stop motion app instead of taking pictures first and inserting them frame-by-frame into the app later.
I have the following Android devices available, which can be used for this purpose:

Galaxy S2 (Sprint) android 4.x?
Galaxy S2 (AT&T) android 2.2
Alcatel onetouch Fierce XL - android 5.5
Samsung Galaxy Tab 10.1 - android 4.x?

I have a generic USB webcam, but I may be willing to purchase a specific external camera if this would ensure smooth functionality.
I'd appreciate any advice!

I'm in the same situation with my son today. Did you find a solution? Thanks XP

@xavier unfortunately no.


text:
How do I disable this MTP connection popup upon USB cable connection?
This appears whenever I plug it in:

I have gone through all settings, tried everything. I want the MTP mode to stay on (I have no desire to enable Mass storage). I know how to invoke this window manually from within the settings.
I just want it not to pop up.
Using Lenovo A536, 4.4.4, rooted, stock ROM.
Read through the other threads, they never offer a working solution (just bogus solutions). It always seems to derail towards FTP and/or MSD and making up menu items that are absent in my phone. I have sqlite3 installed, if you know the right database and key, tell me and I can fix it.

Just found a partial workaround: Installed this app from Play: https://play.google.com/store/apps/details?id=com.launcher.plugin Then I set the Nova launcher as the app to run upon both power and USB connection. (It somehow didn't help to just add it to USB.) This only helps if the phone is just showing the home screen. If there is something running, it randomly shows said popup, then goes to the home screen. If it decides not to show the popup, it just goes to the home screen as expected. This leads me to believe an app could be made to overcome the popup.

This problem can have three reasons:
1- You connect your mobile phone to the computer, in this case, you should on this page, select the option to only charge and look for an option with the theme "Always do the same" and activate it.
2. Your charger has a problem and your mobile phone recognizes it as a computer. Try another charger.
3- If the problem is not solved after doing the above work, your phone probably has a hardware problem

There is no "Always do the same". It never is on any of the Android versions I have seen in this particular menu related to connecting the USB cable.

There should be a broadcast receiver for the "connecting to PC" broadcast, which this UI receives and launches itself.
If you're 100% sure you won't need to set this again, try using MyAndroidTools (requires root, of course) and disabling this certain broadcast receiver, or disabling the activity of this UI altogether.
Unfortunately, since I don't have the phone in my hands, I won't be able to figure out which receiver/activity to disable, but it should have "USB" or "MTP" in its name, so search that in MyAndroidTools and report back if anything comes up.

Thank you for the attempt. I have tried this and that in that MyAndroidTools application. I would seem that although it does show the relevant system app "Settings" listening for DockService, when I touch it, the switch doesn't flip and it stays enabled. The Superuser allowed does appear. There are several other toggles that seem promising, but won't flip no matter what I do.

Spent an hour trying many promising settings in that app. Some can't be toggled. The part that did toggle didn't do anything obvious; it certainly didn't get rid of the popup. The setting you suggested isn't there.


text:
Init service not starting in user build
I have an init service that is not starting in user build. When running a userdebug build it works fine but not in user build. Can't seem to figure out why it's not running. I don't see any errors about it in logcat either.
on property:myprop=1
    start mysvc

service mysvc /system/bin/mybinary myargs
    user system
    group system
    oneshot

My app sets this property when I want the service to start.
Any help here is appreciated.

Is /data/logs/ accessible to system UID for writing? What's the SELinux context of the service? Can it access /data/logs/? See kernel log for init services.

Yes, system UID has access to the folder, which is why it works in userdebug build. I'm not worried about SELinux just yet; my build is running under permissive mode.

Just had a look at the kernel log and nothing in there either. My property myprop does get set appropriately but the service is not running.

Which Android version you are on? Set seclabel and try again.

I am running Android 8. Looking into trying with seclabel.

@IrfanLatif Using seclabel worked. Why is that, when I have set the service to be user/group system already?

Can't remember exactly why, need to look into code. But this is the behavior in recent Android releases.

Ok, I see it now, the default context doesn't have enough permission. I'll have make sure I give it enough permission then, but not over do it. Thanks!

The problem was the SELinux context that the process was running under. I was able to fix it by marking the seclabel of my init service.
on property:myprop=1
    start mysvc

service mysvc /system/bin/mybinary myargs
    user system
    group system
    oneshot
    seclabel u:r:su:s0


text:
Nexus 6 on T-Mobile loses ability to send texts. Factory reset does not fix
What is wrong with my mom's nexus 6. She was running stock Google Nexus software and kept encountering a problem where her texts would not send. I think I fixed it once by deleting the cache of some system apps (dialer service, messenger service) and restarting the device,  but I can't even be sure of that. I also tried a different default texting app.
It happened again last night so I spent a couple hours unlocking the Bootloader, installing twrp, and installing Cyanogen mod. While it works really well with cyanogen mod, she complained that the problem occured again after about 12 hours.
Does anyone here have insight into the likely cause of this? I reflashed recovery, so the only thing that remains is the bootloader.
Is it something with android 6.0, bootloader, baseband, or maybe something on Tmobile's end?

Got her running a custom recovery with cyanogen I think. It did not fix the problem. Perhaps the radio? But its just SMS...help

authors: Кирилл Солодухин


text:
Google Play Store accounts for over 50% of battery use! Solutions?
Google Play Store alone accounts for 52% of my phone's battery use!
I would think Google Play Store would only run when downloading or updating apps, or when checking if apps need updated. Since last unplugging, I haven't manually run Google Play Store, nor have any apps been automatically updated.
Clicking through reveals that Google Play Store has been continuously requesting GPS. But I always have my GPS off in system settings.
I have all the sync settings off too. I don't want autosync.
So why is Google Play Store running uncommanded in the first place, and moreover, why is it using so much battery? How do I correct this?
Phone is LG G3 D855, Android version 4.4.2 KitKat. Rooted w/ xposed framework installed.

Things I tried:
I pressed the "stop" button in the above screenshot, which force-stopped the Google Play Store. But then many system services started shutting down and prompting me with "not responding" dialogs, until I eventually pulled the battery and restarted the phone.
I used SystemCleanup to disable several autoruns (such as receivers) for Google Play Store, so that it won't be constantly called on to run. I also killed the task using SystemCleanup (which did not kill the system).

Turn off auto-updates, clear play store cache, check active threads (if you can't do any of those, look them up or comment below with @JohnRamos)

What is the version of Google Play?

@beeshyams Google Play version 6.8.24.F

@ElliottMurt Any change in consumption? Let me know.

@JohnRamos Not sure tbh because the previous solution I tried of using SystemCleanup to disable several autoruns, plus the below solution of hibernating the app, seems to have solved it completely. Today, the Google Play Store is nowhere in my battery use list! So the issue has been resolved.

@ElliottMurt Nice.

Apart from turning off auto-updates plus clearing cache (as recommended by John), you could use Greenify to "hibernate" the app whenever it is not running in foreground. With Playstore being a system app, that would require the "donation package" of Greenify (in-app purchase). Side effect: even more battery saving when used on other apps as well (Greenify gives suggestions) and, if you're already on Marshmallow, by an advanced doze mode.

Greenify in action / App Analyzer / Settings (source: Greenify; click images for larger variants)
A slightly different approach would be dealing with the auto-start events. AFAIR Playstore e.g. registered for changes in network connectivity, so it would always awake when you switch networks. Some references on how to deal with those can be found in the linked tag-wiki.
Not to forget: there are apps that cover several of the related topics (usually those "root toolboxes" or similar allrounders like SystemCleanup or ROM Toolbox):

Disable receivers with SystemCleanup (left) or ROM Toolbox Pro (right); sources: GooglePlay 1 / 2, click images to enlarge
Another alternative would be ditching GApps completely, using a custom ROM without installing GApps and taking microG instead. To access app stores, you then can use F-Droid – and if you insist on accessing Playstore, there's BlankStore, a bare-bones Playstore client, for non-paid apps, and Raccoon on your PC for all apps (free and those you've bought). That's the way my devices are set up :)

What do you think about Francisco Franco's Naptime, which forces Doze to be always active (works only on Marshmallow, though)?

Thanks, @Izzy. Turning off the autoruns seems to have taken care of it, but I hibernated it with SystemCleanup for good measure. I used Greenify before but found it redundant with apps I already have. In this case it's the same end result anyway. I thought about the custom ROM too haha.

@DeathMaskSalesman Don't know, never tried (I have no MM device currently). // Elliot: Glad you've solved it. And yes, if you've got other apps covering that, you don't need Greenify for just that. And I see I forgot to mention autoruns (stupid me; that's what I've often used to keep apps from starting just because of network switching). Maybe I edit the answer and add that?

@Izzy Nice edits. Google Play Store had a lot of autoruns! Network connectivity like you say, and also screen unlock, boot, and a few other things. No wonder it was running so much. It was being called on all the time!

Yupp. Most of the GApps have tons of receivers. One of the reasons Maps always runs in background if left "unattended" – though one might never ever have started it manually. A wag who suspects things behind that :)

Indeed, I noticed this about Maps too. I will be freezing Maps tonight though, I found a great turn-by-turn and mapping navigation app that works both online and offline, called Here We Go.

I'm using Locus Map for that. Bought it years ago :) // Btw: currently I'm extending my little tool Adebar to extract those "disabled components", so one can replay them on demand via ADB (e.g. transfer them to another device without needing a GUI). An example command, keeping Playstore from waking up on location change (why should it?): adb shell "pm disable com.android.vending/com.google.android.finsky.receivers.LocationProviderChangedReceiver" (did the same to com.google.android.finsky.receivers.BootCompletedReceiver ;)

Please delete the Google Play data and login again. Update the GP if neccessary. Let this time autosync GP till all is synced and now you can disable the sync of GP only. I guess it won't use much anymore then.

I deleted cache and data and logged in again. Google Play does not appear in my sync settings.

I started having this issue recently with my Moto G 4G running stock Kit Kat 4.4. Play Store would keep GPS running.
I used App Settings an xposed module to revoke the fine positioning (GPS) permission from the Play Store (it can still use the coarse setting without draining the battery).
This has solved the issue for me.

Thanks for the input. Kindly link the module to improve quality of your answer, besides adding significant features that help in this case

I had the same problem on my LG G2 D802.
It was solved by flashing the kdz from the same version i had (20H).
I flashed twice, first a CSE flash, then a normal flash then a factory reset.
Now the problem is gone even with the same version of the play store.


text:
What is this type of headphone icon in notification bar?
My phone (LG G3) shows two different types of headphone icons. They are the leftmost icons in the images below. The first is a normal headphone icon. What is the second one?
I think it might be USB headphone, but that doesn't make sense, because I don't have USB headphones and never use USB headphones with the device.
I have noticed sometimes when I use the aux cable for my car, it displays the second icon instead of the first one. It shows the first icon whether I use headphones with a built-in mic or headphones that don't have a mic - it's the same icon.
Image 1: normal headphone icon

Image 2: ??

Any thoughts?
Edited images to make them smaller

@Rahul I saw that question. My icons do not look like that one, though, so it's not a duplicate.

Line-out is different from headphones - probably that's what you're looking for.

@AndyYan I think you're right as is the selected answer. Thanks.

Second one is showing a line out or auxiliary audio
 icon, which means that it had recognised that a jack had been plugged in ( but it doesn't detect a speaker or maybe it detects the speaker ) but fundamentally to differentiate  between  regular headset (with or  without mic) and speaker connected with line out
If this happens when you connect to regular headphone, it indicates some dirt or pocket flint , preventing recognition of head phone. Cleaning with a tooth pick , ear bud and blowing air to dislodge muck should fix. If it doesn't, try app mentioned here
What is this icon in my status bar?
Later versions of LG also differentiate between headphone with speaker and without speaker
I had this icon show up on a Dopod phone, owned a decade ago


text:
Cloning encrypted ext4 partition
I have a micro SD card adopted by an Android 8 Oreo phone as internal storage extension, so it has two encrypted ext4 partitions: android_meta and android_expand. I've cloned those partitions into the "far end" of a bigger card using Macrium Reflect 8 (selecting the byte by byte copy mode w/o any analysis and optimization if I got it right) and created "external" aka "portable" partition in its free space later so that it goes first (just to please Windows). I also cloned the GUID. Unfortunately my phone is reporting "Adopted missing" upon booting up with it. What else am I missing? Many thanks in advance!

Does this answer your question? Shrinking encrypted ext4 partition

@alecxs it definitely helps explain my issues with it: much appreciated! Looks like my phone wants entire card encrypted, hence no chance with dual partitioning I suppose.


text:
Preventing Google Play Services autoinstallation into an ancient Android phone
How do I prevent Google Play Services from automatically installing now and then into a rooted Orange San Francisco aka ZTE Blade under a heavily trimmed down custom Android 2.3 ROM? Is the best way of achieving that described here?:
http://forums.androidcentral.com/general-help-how/240696-how-permanently-block-google-play-services-installing-automatically.html#post2649165
Please note: I clearly understand why I want it as such and why I want it exactly that way. Please refrain from responding with anything but exact answers. This particular phone under this particular ROM works exceptionally well w/o the app in question, including any Google service used.
Many thanks in anticipation!

If this is a custom ROM, why does it comes with Google apps?

gapps.apk was enclosed with the ROM for those who want Google services, so I installed it afterwards to use Google Mail, Calendar etc.

I think that there is an option for this on the update screen of Google Play (at least in higher versions of Google Play) at the top. Is it still there in yours?

@seadoggie01: thank you - if there's a such option in yours would it be possible to upload a screenshot with it somewhere? I'll then check mine for the same option when I have it at hand again (it's my parent who uses it actually).

Sure! I actually went swimming with mine, but I'm waiting for a new one in the mail (should've been here 1 hour ago). I can do that as soon as I get it :D

This is from Android 5.1.1 in Google play. The first picture is for only one app under the app and the stacked dots. The second picture is under Settings/Auto-Update apps. This obviously isn't the author's Android version, but you may want to see if there is a similar setting in your version.

Thank you - do I get it right that the former one is a per-app setting? If so I'll have to have Google Play Services installed and just its updates blocked this way, right? If there's a really slim version of Google Play Services that'll probably work for me (the one that installs automatically grabs pretty much all remaining memory in that phone, so leaving it there is not an option). Meanwhile the latter option applies equally to all the apps, right?

Correct, the former is a per-app setting and the latter overrides all the apps

authors: Василий Аверков