text:
How do I decide what car charger I need to buy?
I am with Nexus 5 and finding it difficult to decide on what car charger or car dock with charger I need to buy.
As there is no accessories from parent company (LG or Google) I not sure what charger I need to buy.
On the whole how one has to decide what third party car charger will suit android devices?

any car adapter with a reputable brand that has a USB port and can supply 1.5A or greater is fine. I know Sony, Samsung and HTC sells those accesories.

OK. Can you suggest me one?

here's one from samsung. But really, any brand name car charger is fine. Just take into account its power supply and has a USB port.


text:
Unbrick Unlocked Huawei P10 - SOLVED

I messed around with my phone (Huawei P10 VTR-L29) and unfortunately bricked it.
what happened
To give you the whole story, I tried to root it, but during the root process I found out that the device is encrypted so I had to "rollback". That worked fine and my phone was working ok with one issue - I wasn't able to update firmware via regular system updates. I saw the update, but wasn't able to download and install - it always ended up with some error.
That made me decide to reinstall the firmware from scratch. I followed general steps but yeah, I messed up.
current status
The only thing I can see now is

When I click on download latest version and recovery

But after a while it fails:

And I am stuck :( I can't get any further .. I tried to connect via ADB (but since I cannot get in the phone to enable USB Debugging (which might be the problem) I am unable to connect (nor ADB neither FASTBOOT can see the device).
I tried to create this file:
/etc/udev/rules.d/51-android.rules

But when I run
sudo adb kill-server
sudo adb start-server
adb devices

It's still empty ... I can't even get to the "FACTORY RESET" by pressing and holding POWER + VOL:DOWN for some time; it always brings me back to the Huawei eRecovery
Do you guys have any idea how to fix this?
Or is that phone dead for good?
I don't care about the data inside.. I would only love to make it work again
EDIT
with the help of alecxs I made it to the fastboot&rescue mode

however this
sudo fastboot boot [img]

ends up with
downloading 'boot.img'...
OKAY [  1.052s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.056s

similar for
sudo fastboot flash recovery [img]

ends up with
target reported max download size of 471859200 bytes
sending 'recovery' (32040 KB)...
OKAY [  0.995s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.001s

EDIT2:
I asked as well one of my friends and we moved on a bit more ...
I tried to unlock the bootloader
sudo fastboot oem unlock [unlock_code]

Then I got this screen:

I went with the option (2) and that brought me to the first screen mentioned in this article "Huawei eRecovery"
but when I repeated  the VOL:DOWN + USB:CABLE:PLUG trick :) I got this

I tried a different TWRP (for P10 specifically) from this link: XDA Devs - P10 TWRP
Flashing worked fine:
sudo fastboot flash recovery_ramdisk twrp_p10_0.1.img

I got:
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24954 KB)...
OKAY [  0.771s]
writing 'recovery_ramdisk'...
OKAY [  0.232s]
finished. total time: 1.003s

after
sudo fastboot reboot

right after this command, I need to unplug the USB cable and hold VOLUME:UP to be able to get to TWRP (swipe.d to allow modifications) ... am there already

now I am looking for any ROM for my P10 to flash it. I want to try this one: TheUpgradeGuide.com - Pixel Experience
I downloaded the gApps and ROM ... uploaded it to the "Internal Storage" of the phone (there was a folder TWRP so I put it next to it)
.
..
/TWRP
rom.7z
gapps.zip

Went on wiping -> WIPE -> ADVANCED -> checked these

Dalvik Cache
System
Cache
Data

swiped to wipe (uplugged USB) .. but got this error:
Updating partition details ...
Failed to mount '/odm' (Invalid argument)
...done
Failed to unmount '/system' (Device or resource busy)
Full SELinux support is present
MTP Enabled
Failed to unmount '/system' (Device or resource busy)
Wiping Dalvik Cache Directories...
--Dalvik Cache Directories Wipe Complete!
Formatting Cache using make-ext4fs...
Wiping data without wiping /data/media ...
Done.
Failed to unmount '/system' (Device or resource busy)
Unable to wipe /system.
Updating partition details...
Failed to mount '/odm' (Invalid argument)
...done

EDIT 3
in the  adb shell
~ # mount
rootfs on / type rootfs (rw,seclabel,size=1457112k,nr_inodes=364278)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /config type configfs (rw,relatime)
/dev/block/bootdevice/by-name/secure_storage on /sec_storage type ext4 (rw,context=u:object_r:teecd_data_file:s0,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
hdb on /dev/usb-ffs/hdb type functionfs (rw,relatime)
/dev/block/bootdevice/by-name/system on /system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/bootdevice/by-name/vendor on /vendor type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/block/sdd46 on /data type f2fs (rw,seclabel,relatime,background_gc=on,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,verify_encrypt,active_logs=6)
/dev/block/sdd46 on /sdcard type f2fs (rw,seclabel,relatime,background_gc=on,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,verify_encrypt,active_logs=6)
/dev/block/sdd13 on /cache type ext4 (rw,seclabel,relatime,data=ordered)

plus the ls output
~ # ls -ld $(find /dev/block -name by-name)/*
drwxr-xr-x    2 root         root              1020 Jan  4 18:02 /dev/block/bootdevice/by-name
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/boot_a -> /dev/block/sdd32
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/bootfail_info -> /dev/block/sdd14
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/cache -> /dev/block/sdd13
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/cust_a -> /dev/block/sdd43
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/dfx -> /dev/block/sdd19
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/dts_a -> /dev/block/sdd34
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fastboot_a -> /dev/block/sdd24
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/frp -> /dev/block/sdc1
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fw_hifi_a -> /dev/block/sdd28
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fw_lpm3_a -> /dev/block/sdd21
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/hisee_fs -> /dev/block/sdd18
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/hisee_img_a -> /dev/block/sdd23
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/isp_boot_a -> /dev/block/sdd26
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/isp_firmware_a -> /dev/block/sdd27
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/misc -> /dev/block/sdd15
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_fw_a -> /dev/block/sdd36
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_om -> /dev/block/sdd7
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_secure -> /dev/block/sdd3
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_backup -> /dev/block/sdd9
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_factory -> /dev/block/sdd8
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_img -> /dev/block/sdd10
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_system -> /dev/block/sdd11
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_update_a -> /dev/block/sdd38
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/nvme -> /dev/block/sdd4
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/oeminfo -> /dev/block/sdd5
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/patch_a -> /dev/block/sdd39
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/persist -> /dev/block/sdc2
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/product_a -> /dev/block/sdd42
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/recovery2_a -> /dev/block/sdd30
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/recovery_a -> /dev/block/sdd33
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved1 -> /dev/block/sdc3
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved10 -> /dev/block/sdd17
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved2 -> /dev/block/sdd16
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved3_a -> /dev/block/sdd22
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved4_a -> /dev/block/sdd37
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved5 -> /dev/block/sdd45
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/rrecord -> /dev/block/sdd20
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/secure_storage -> /dev/block/sdd6
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/sensorhub_a -> /dev/block/sdd31
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/splash2 -> /dev/block/sdd12
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/system_a -> /dev/block/sdd44
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/teeos_a -> /dev/block/sdd29
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/trustfirmware_a -> /dev/block/sdd35
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/userdata -> /dev/block/sdd46
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vector_a -> /dev/block/sdd25
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vendor_a -> /dev/block/sdd41
lrwxrwxrwx    1 root         root                16 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/version_a -> /dev/block/sdd40
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vrl -> /dev/block/sdd1
lrwxrwxrwx    1 root         root                15 Jan  4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vrl_backup -> /dev/block/sdd2

Ok, with the help of alecxs I managed to get a bit further (see the chat) but it seems like the TWRP is faulty (the one from the link above -> XDA).. nonetheless, any other TWRP is not working at all and I am landing on this screen instead :(

EDIT 4:
output of fastboot getvar all is here:
getvar:all FAILED (remote: Command not allowed)

EDIT 5:
see the output of the fastboot commands requested in the chat
#sudo fastboot oem get-bootinfo
...
(bootloader)  unlocked
OKAY [  0.006s]
finished. total time: 0.006s

$ sudo fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.007s

$ sudo fastboot oem get-build-number
...
(bootloader) :VTR-L29C432B151
OKAY [  0.007s]
finished. total time: 0.007s

$ sudo fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :VTR-L29C432B151
OKAY [  0.008s]
finished. total time: 0.008s

SOLVED
Finally, I made it and the phone is up and running :)
I downloaded Huru Updated (v0.3)
and these files
https://huaweidl.com/download/huawei-p10/vtr-l29/b151/
Followed these steps:
https://www.getdroidtips.com/hurupdater-tool/
and yaaaay, it works :) after months of playing around ... big thx to alecxs for his immense help !!! this guys is a genius !!!
the only question now is to get from Android 7 (the stock I flashed) to 9.1 (the most updated one provided to p10) ... bec the native system update does not offer me an update :D but that's minor ..
EDIT:
ok, following this manual xda-developers - Jannomag I was able to upgrade to 8.0 (with a little hiccup - just had to manually restart it multiple times) and then to 9.0 (no problem at all this time) and right after 9.0 it offered me (via system update) automatically the newest 9.1.0.263

Let us continue this discussion in chat.

SOLUTION
Here is what I have done to make it work ...
I downloaded HuRu Updater (v0.3) and these files https://huaweidl.com/download/huawei-p10/vtr-l29/b151/
Followed these steps: https://www.getdroidtips.com/hurupdater-tool/
and yaaaay, it works :) after months of playing around ... big thx to alecxs for his immense help !!! this guy is a genius !!!
the only question was to get from Android 7 / EMUI 5.1 (the stock I flashed) to 9.1 (the most updated one provided to p10) ... bec the native system update did not offer me an update
but by following this manual xda-developers - Jannomag I was able to upgrade to 8.0 (with a little hiccup - just had to manually restart it multiple times because the phone was not rebooting as expected and somehow got "stock") and then to 9.0 (no problem at all this time; smooth) and right after 9.0 it offered me (via system update) automatically the newest 9.1.0.263
The only thing left is that I have an unlocked bootloader and cannot seem to be able to lock it again with
fastboot oem lock [unlock_code]
FAILED (remote: Command not allowed)

fastboot oem relock [unlock_code]
FAILED (remote: root type is risk)

but that's minor ... I will try to look for a way to do that .. and if successful, I will update this answer with the final steps to get back to "stock"

https://forum.xda-developers.com/showthread.php?t=3769279

yes - that one :) thx

i recommend to keep bootloader unlocked for emergency purposes, this way you can still boot twrp from fastboot

that's right...it's just the annoying screen while booting hehe ... as I said, it's a minor and I won't probably bother with that...

source: Stack Exchange

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

sort: votes


text:
samsung tablet GT- P3113 have OTG USB support?
Does the samsung tablet model # GT-P3113 have OTG USB support already built in or do I need to get the cable?
Am thinking of getting a keyboard for my tablet.

According to the USB Host Diagnostics site, YES.
Check the link for the ROMs (Build IDs) that supports OTG.
If your phone has root, you can also check out USB OTG Helper [root].

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


text:
My samsung s2 is being spammed & I have 2 apps that I can't uninstall. Please help
My son was playing games on my samsung and now I am being spammed all day long for the past week. I have installed Airpush Detector and it said that they don't detect any push ads on my phone from apps. But I noticed that I have 2 apps on my phone that I have never seen before. One is called Nova & it has a pic of what looks like the No.O.V.A. game icon & has HD on the icon as well. I didn't install this on my phone and there is no option to uninstall it. It is labeled as a default on my phone. I also have an app called Top HD Games on my phone that I didn't install and am unable to uninstall it as it also is classified as a default setting on my phone. The icon for this is an XBox game controller. Has anyone else seen this before? I can't find anything in the google play store and can't figure out how to get rid of these. I uninstalled all games on my phone except for the Angry Birds series, Finding Nemo game, bubble blaster and zoo club. I would really appreciate anyone's help.Thanks!

Airpush detector IMHO is limited to Airpush detection. Though that's one of the worst, there's also Leadbolt, and some more. I'd recommend checking with AppBrain Ad Detector, which finds almost all of the ad-network-modules. To name an alternative: Lookout Ad Network Detector is similarly effective. AFAIR, both also offer to uninstall the "bad app".

I'm going to presume this was a side-loaded app with a potential malware payload, since you mention you cannot find it on Google Play Store.
First step is to see if the application can be prevented from uninstall because it has set itself up as a Device Administrator, sort of a protected app.
See Settings>Security>Device Administrators, and deactivate both or either, if listed. You may need to provide a Device Administrator password to do so. Then try to see if they will uninstall normally.
If not a Device Administrator, you may still attempt to uninstall normally, just finding it in a different list, the "All" list.
See Settings>Application Manager>All(far right column)
Find the application(s) in the list. Try to uninstall this way, or at the very least "Disable" or "Turn Off" if those operations are possible.
To prevent side-loading apps in the future, see
Settings>Security>Unknown Sources, and uncheck.

All valid points (+1 from me). Just if the son decides to side-load something again, triggering the "unknown sources" checkbox will not prevent that (he will just trigger it again).

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


text:
Tasker: Voice response to phone calls
I was wondering whether it would be possible to use Tasker to answer a phone call and then say something to the caller (either through TTS or sound file) and then hang up? Would something like that be possible? I was thinking about making a task which will tell people to call me later because I'm busy now etc.
If it is could you outline how to make it?
Thanks!

I'm not sure whether the AutoVoice addon could be used for this. Though it would use your speaker, the "other end" should be able to hear: Incoming call → Pickup, AutoVoice (blabla...), Hangup. Just a raw idea.

FYI There is no way, that I've heard of, for any app to output audio into a call itself.

I doubt you can programatically, certainly not without root. The dialer is heavily protected and apps are denied any access to it. As @Bort said, you just can't. Also, it may be easier for someone to just use their voicemail than a dedicated app?

@Bort that's device dependent. There are a lot of "answering machines" on Google Play which reportedly work for some people/devices (while not working on others). And still: if the speakers are loud enough, they might be heard "on the other side".


text:
Reminder To Call
I often find myhself at the end of the day, or on the week end, thinking:
I need to call X and make a appointment, but I can't now it is outside of office hours.
Then I'll forget about it during the day, or I won't be able to find the phone number easily and I'll put it off.
What I would like is some kind of reminder system that has the ability to
store a phone number and then I can just press a button to call them.
Often this number won't be in my contacts as I won't expect to deal with them more than once.
Ideally there would be away to do this will Google Now.

Are you asking for an app that can do this?

Not nessicarily. I am loomking for a method to achieve this goal. If this is a inbuilt function in one of the "default" app, then I would like instructions on how to do it. If it is not, then yes I am looking for another App

Not exactly that way, but you might wish to take a look at Business Tasks:

Business Tasks (click for larger image)
As the screenshot shows, you can put a contact as task, and then simply hit the phone symbol to place a call (calls up the dialer). Unfortunately, this seems to require the contact being in your contacts list. I've just tried to place a note with a phone number inside; wasn't "clickable". Though that might be worth a ping to the devs, which are quite responsive and might be adding that feature in some way.
Alternatively, you might wish to take a look at Number Saver. According to this answer it automatically suggests to call a number if the clipboard contains it. Until the Business Tasks devs put it in an update, a combination might do.
Cheap work-around might also be to put a contact shortcut on your homescreen. But again, this would require the person to be in your contacts list.
Finally, there's Clipboard Dialer:

This little tool enables you to extract all phone numbers from what ever text is in your clipboard. It will present a list of all numbers it finds giving you an easy way to call, SMS or create a new contact.

Update: I just got feedback from the Business Tasks devs. The "number linker" is already on their todo list, and should be part of a future update (no timeline yet).

With Google Now just say, "google remind me to call 555-1234 at 2 pm"

Will it  give me one button to call them?
Cos if so, that would be Ideal


text:
Full size for previously uploaded Google+ Instant Upload/Auto Backup photos
At some point I changed my Google+ Auto Backup settings to upload photos at full size. I am now switching phones and would like all of the photos on the phone to be backed up to Google+ at full size.  But many of these were backed up earlier when Google+ did not do full size backups.
If I do a manual upload from the Auto Backup settings page, will it reload these previously uploaded files at full size?

I can't see why not. It will backup whatever is there, you may end up with the full size and the smaller ones. Could you just copy the pics onto SD or your PC, it might just be easier!

I don't believe it will but I don't know for sure.

@RossC, the reason I believe it might not is that I assume Auto Backup is smart enough only to incrementally load new pictures, not reload already uploaded ones. So my question comes down to whether Auto Backup will consider these new photos or not.


text:
Samsung Galaxy Note 2 wont charge while on and battery is discharging
So after reformatting my phone, resetting to defaults, nothing has seem to work.
I even took it to my cell provider to see the tech, they didn't do anything.
Whats weird is that it had 20% and so i took the battery out of the phone and stuck it back in, right when it turned on says 55%, strange right? Does anyone know WTF to do I really want to chuck this phone away, nothing but problems :(

That is indeed strange. I wonder if your battery itself is damaged or faulty. Did the tech test to see if it worked with a different battery?

Thats what i thought as well. He did a battery test and he said the battery is fine. I'm not sure if he tried with another battery, i don't think so. Hmm, I am going to go back and see if he can do another battery. I hope so.


text:
How do I change the Device Name of my Nexus 7 2013 when connecting to a hotspot?
How do I change the Device Name of my Nexus 7 2013 (not rooted)?
On my Samsung Galaxy S4 hotspot, the Nexus 7 shows up as android-xxx, where xxx is some random sequence of characters. How do I change the name to something like geffchang-nexus7?

I don't think it is possible to change device name without root. The method mentioned by RossC will change the Hotspot name displayed when devices try to connect to Nexus 7.

Unless the OEM has built in the option (Samsung have for example) you cannot change the device name without root. The nexus-7 does not have this option.
On the Samsung Galaxy S4 (for example) you can go to Settings > More > About Device > Device Name and you can change it directly from there.
For those with root:
 su
 getprop net.hostname
 setprop net.hostname <new_hostname>

Or simply download a build.prop editor app from the play store.  This requires Root also. WARNING: Any changes to this file can stop your device from working or cause unexpected behaviour, do so at YOUR OWN RISK.

To change Hotspot name:
Go to

Wireless & Networks > Tethering & Portable hotspot.

Then

Tick the box next to Portable Wi-Fi hotspot
    Tap Portable Wi-Fihotspot settings and you can edit the Wi-Fi network
    name, and choose a password.

Enter your name there!

No, I want to change the name of my tablet, not the hotspot name of my tablet. My S4 is the wi-fi hotspot. In the list of connected devices, my Nexus 7 shows up as android-xxx. I want the S4 to see this as geffchang-nexus7, but NOT through renaming it in S4.

My apologies, the S4 lets you do this easily... but it seems you cannot on the nexus devices without root. I updated my answer with both options to clarify and how to do it with root. Updated: Can you try settings then on bottom at About Device and change the name there? I don't have my nexus and I'm nearly sure it's specific to the device I do have with me (S4) but it is worth a shot I guess!!

I've re-updated my answer as far as I know you can't but see if it is in the 'About Device' section. 99% sure you can't but I've expanded the answer for others with this question to include other OEMs, Nexus specific and how to change the Hotspot name also, I've also added the root method of changing it to give all options. Sorry it doesn't seem possible as it stands for you.

It's not in the About tablet section. I might look into rooting it instead.

I don't think it's possible without root.
If you are rooted then install a terminal emulator on the tablet. Enter the following:

su
getprop net.hostname
setprop net.hostname {new_hostname}

The 'getprop' command will return the current hostname, so you can double-check it before setting the new one. Reboot to refresh network assignments.
Taken from here (the method without root didn't show up for me so not including that)
Or you could install an app from the play store that will allow you to change the host name. I expect they're doing the same thing as the commands above though, as they all require root.


text:
Cannot send or receive SMS on Galaxy Young Duos, someone help?
I bought a Samsung Galaxy Young Duos S6102. The problem is I cannot receive nor send SMS. Sometimes, I cannot receive calls, nor call someone. I have tried rebooting my phone, changing the sim card and updating the phone's software, and at first it works, however, after a few minutes I encounter the same problem again. Can please someone help me? Thanks in advance.

It sounds like a problem with your carrier. Have you got the latest APN settings, and the correct carrier settings? You can confirm them with the Network. Since you have tried updating firmware, and changing SIM it is either your network provider or a hardware defect, I would guess. Perhaps return to the vendor and see what can be done?

Yes, I've got the latest APN settings and the correct carrier settings. Thanks, I'm going to check it my vendor. But do you think there's something I can do other than checking it with him (vendor)?

You could try an alternative text app like hangouts, or GoSMS etc, but if you can't make or receive calls also it seems like something is fundementally wrong. Do you keep losing reception? Does your 3g work ok?

Yes. Sometimes it's up, most of the time it's down. Also, sometimes the signal looks okay but if I try to send a message or call someone, it doesn't work.


text:
downloaded books from google play on wrong account on my nexus 7
i just downloaded some books via google play on my nexus 7 but under my daughters account, I don't want my credit card on her account how do i fix this but not loose the books?

Simply taking the credit card from the account is no option? (Admitted, I didn't try that yet; but I'm pretty sure it can be replaced, so it should be removable as well) What's already paid with it is paid, and the books will certainly remain on your daughter's account.


text:
SwiftKey gets removed as input method after every update
Every time SwiftKey gets updated it is removed from the list of input methods. I don't remember having this problem before Android 4.4, but in the last few days SwiftKey had some updates and it just gets annoying. I have to set it up again in the settings as a viable input method, getting informed about the security implications etc.
Is there a way to disable this behavior, so I don't have to set up the keyboard after every update?

Just to muddy the water further, the last few updates of SwiftKey have been very, very buggy. This includes losing words, crashing etc. I uninstalled it and reinstalled it, did the setup again and I haven't had any issue since.

Today, I was also annoyed with this.. :)

Seems to be a Google issue. There is a blog post on SwiftKey's support site.
Essentially:

The issue is that Google Play installs paid apps in a particular location on your phone and that in some versions of Android (particularly 4.1 on Samsung devices) this location is not available at the point in the boot process where keyboards are being switched on. So your phone does not know that you have SwiftKey, and it defaults back to the phone’s keyboard.

The problem is that it gets removed as an input method when installing an update to the application, not when restarting the phone. It could be the same cause though.

Swiftkey recommends: Place the SwiftKey icon on your home screen, then resetting it as your input method will literally only take two clicks.  This is a known issue in Android code, and as per https://code.google.com/p/android/issues/detail?id=34880 will be fixed in the next version of Android you receive. (paraphrased for clarity)

The issue has been reported to SwiftKey who have responded with the following:

We’ve worked with Google to determine the cause of the issue. After
  researching this in depth, Google has told us this is a regression in
  the Android framework. They’ve also assured us that this will be
  resolved in a future update to the Android operating system

Welcome to the Android Enthusiasts! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Otherwise, your answer becomes useless in case the link dies.


text:
Profile Question on Android Tablet
My background: I'm 30, my mom is 68 and terrified of technology. I gave her her first computer 2 years ago, and she's visibly terrified to use it, so I bought her a tablet for this Christmas.
Personally, I hate tablets, but I bought her a Lenovo 10" tablet running Android Jellybean 4.2.2. Now, I'm an iPhone guy, so I have never played with Android in the least. I am trying to install all the programs she will use so it's ready to go... one situation is I know she and my aunt will both want to use it to access facebook. (As horrible as this sounds,) they don't know how to change accounts; to solve this, I would like to create two profiles on the tablet.
The problem is, I don't have the "users" option in settings to let me create multiple user profiles. Does anyone know how to get around this (without Linux emu hacks)? Thanks!

You don't say which Lenovo tablet you bought, but according to this review Lenovo have disabled multiple user profiles on their Yoga 10 tablet in Android 4.2, but may be re-enabling the feature when they update to 4.3:

The Lenovo Yoga Tablet launches on the Android 4.2.2 operating system,
  which brings most of Jelly Bean's goodness - that candy-based name
  being the generic term for Android version 4.1 to 4.3, ahead of KitKat
  4.4's launch - but there's the notable exception for multiple user profiles. That's coming, but you'll need Android 4.3 and we don't know
  when the Yoga Tablet will receive this update, which is already
  available on some smart devices.

So it looks like this isn't possible on the tablet as customized by Lenovo at the moment. Why they've done this I don't know, but one common downside to manufacturer modifications and customizations to the Android OS is that they often make things look flashier but work far worse than stock Android.
One alternative is looking into loading custom ROMs that could give you back the feature, but this is a big step if you haven't done that sort of thing before, so personally I wouldn't recommend it. See these questions for more on that: Where can I find stock or custom ROMs for my Android device? and What are the advantages of a custom ROM over rooted stock?.
Alternatively, you could load a second Facebook app onto the device that has a different Facebook login saved into it. You can only load one copy of the official Facebook app on the tablet, but there are quite a lot of third party Facebook clients out there in the Play Store.


text:
Android System [UID] 1000 Root Permission Request
Is Android System [UID] in your list of SU Root Permissions?
I just reloaded the stock rom then installed SuperSU (otherwise blank system)
Upon the next restart, one of the permission request that popped up is Android System [UID]. : system_user_1000
I don't remember seeing this before...

This is normal? Could this be malware?

It may due to Wanam Xposed 2.4.7. An XDA post states:

the new Wanam Xposed v2.4.0 did Auto activate "Disable Knox notifications" when Knox Apps are installed. With 2.4.1 he Removed "Knox disabling at boot".

Welcome to the Android Enthusiasts! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. I did that for you; however, you might want to check if the version information you gave is correct. The problem described was, according to the XDA post, solved with v2.4.1 of the Wanam module (so SuperUser should no longer be triggered by this with a more recent version). Good find, though :) Thanks!

Aside from SuperSU, The system is blank .

This is not the answer for this question. Wanam is not installed.  As mentioned in the question, the system is blank.

This is okay. It's not seems to be a malware.
Android_System has to run with su permission. SuperSU is just "being nice" to notify you that.
and, as u told

installed SuperSU (otherwise blank system)


text:
How can I specify a radius for Kitkat Dialer business search?
I like the business search in the Kitkat dialer, but it seems to have an odd concept of "nearby".  It will often give me results in different regions of the country, and if it can't find any, it will show me results in nearby countries.
Is there any way to limit the radius of the business search to be only within a certain radius?


text:
I keep getting redirected to TWRP after trying to boot to my newly installed LineageOS-16
I've been trying to install LineageOS 17.1 on my Xiaomi redmi note 8 for almost a month now, and there is always one obstacle or another. First problem is that while the tutorial websites clearly state their version is made for the redmi note 8, The download page itself always states that the rom is made for the redmi note 8 PRO. In the zip name also  mentions unofficial, while other lineageOS downloads don't mention it. When I'm on the official website, I can't find my phone in the download page (Xiaomi Redmi note 8). When I succesfully installed the (unofficial) ROM, I tried to reboot my phone. Instead of entering LineageOS, it reboots into TWRP, even when I reboot it by pressing system under reboot in the twrp menu. Now, I tried to install LineageOS 16, but the exact same happens. I always wipe the dalvic cache and cache in between actions. I do have a nandroid backup from MIUI11 in case it just won't work out...
Thanks for being awesome!
I am using:
TWRP 3.4.0-0
I've installed: Magisk 20.4
I've tried installing:
LineageOS 16 by DarkJoker ; LineageOS 16 ; LineageOS 17.1 UNOFFICIAL ; LineageOS 17.1 V2
Last time, I tried to flash vbmeta.img first, before flashing the ROM
In all cases, I can't reboot into the system anymore unless I use my restore point.

Model names can change at any time. The more important info is the code name ginkgo. That has to match with your device.

Hey, I forgot to mention that, the version I've used is made for ginko, and my phone is ginko, the only thing is, that if I understand correctly, the version that's made for my phone, is unified, not made by the original LineageOS makers, but a well-known senior XDA developer with a lot of experience. But it works for a lot of other people out there on the internet. I've found blogs, websites and youtube videos for my phone, all giving me the same download link. I've chosen for LineageOS 16 because 17.1 isn't stable enough for a daily driver.

consider magisk has bugs. restore MIUI back to working state + follow LineageOS instructions, there it is stated that formatting userdata is recommended (you will lose data + sdcard make sure your TWRP backups are copied to PC)

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


text:
How to disable the Denial Log Reporting Service on SGS4?
On my Samsung Galaxy S4 I've accidentally accepted a privacy policy for the "Samsung Denial Log Reporting Service" in a popped notification. I've found in Google that it "Captures SE for Android denials in Enforcement mode on the device and uploads them to a Samsung Server".
Does anyone know how to disable this crap option?

This as you may know is part of Samsung Knox. I had this same issue and never got an answer from Samsung so I rooted the phone and installed a Knox free ROM. Obviously that isn't for everyone. Can you open the Knox app? You should be able to disable this denial report logging from the settings.

@RossC No, I don't seem to be able to open the Knox app.. I have android 4.2.2, if that matters.

Ok, shot in the dark: Log out of your Samsung account, and log back in. It should (hopefully) ask this question again, select 'do not show for 30 days' and cancel the request! Let me know if it works, I'll keep looking. I can't test it here as I have a knox free ROM!

@RossC I've tried relogging into Samsung account, no question so far.

Samsung Knox is a thorn in my side. It's negatively affecting the dev community and this kind of thing is not helping. You may be stuck with this reporting going on. The only things I can think of left are go into Settings > More > Appliction Manager and try to disable anything Knox related. I doubt this will work. You could root the phone but this WILL trip the Knox counter to 0x1 and MAY have warranty implications, install a knox free ROM. You could wait to see if logging in has affected it, reboot and see. Failing that welcome to the wonderful world of locked bootloaders and 'helpful' Knox.

If you hit the menu button on your home screen is there a 'Knox Settins' option? I doubt it in 4.4.2 though. Are you due an update to 4.3?

@RossC Nope, no such option there. I guess I'm recieving the 4.3 update soon. Thank you for your help.

You could do a factory reset, but I have seen conflicting reports on whether this actually works or not. Sorry about this, Knox is a major issue for everyone at the moment. Rooting is the most direct way to kill knox where it stands, but it's not necessarily the best route for everyone.

You need to root your phone and remove or "freeze" everything related to OTA and KNOX. Once done, you can remove the all AVC audit file(s) in the directory: /data/misc/audit/. You may also need to put SEAndroid into Permissive mode with: su 0 setenforce 0, but this only lasts until next reboot.

authors: Евгений Путинцев


text:
Generally speaking why do tablets have lower quality cameras than phones?
I've done some comparisons looking at the specs on wikipedia and generally speaking tablets that have come out around the same times phones did, have cameras that are a few megapixels fewer than the ones on phones. Is there a technical reason why it's harder to have a camera in a tablet?

The manufacturer is trying to help you. Walking around taking photos with a tablet makes you look like a twerp, so they try to discourage you by not putting a good quality camera in there.
That might be a slightly silly answer, but it's not entirely untrue. Taking photos with your phone is really popular these days, because you always have your phone with you. The quality of the phone camera is therefore a big selling point, and manufacturers compete on that.
It's much less common to take photos with a tablet: not just because you look like a twit holding it up, but because people don't take a tablet with them on a night out, or a bike ride. Tablets are mainly for using at home on the couch, or in bed, at the office, or on a long train ride. The cameras on tablets are mainly targeted at scanning QR codes, and maybe doing a little video calling over the Internet. For this reason, the camera quality isn't such a selling point, and it makes more sense for manufacturers to spend the budget on other factors that consumers rate, such as the screen, the RAM, and the processing power.


text:
Wifi issue on my Nexus 4
I recently updated android version to 4.4.2 on my Nexus 4. After this update my apps like "watsapp", "LINE", "VIBER" are having connectivity issue when connecting through WiFi, But I could open the browser and could access the web pages. I didn't have this issue with the previous android version.
Can anyone suggest how to resolve this issue.

Welcome to the Android Enthusiasts, Sanzee! That's a question we've got multiple times already. Please check: Mobile network: browser is OK, apps doesn't connect internet / Unable to use apps that access the Internet on wifi / Only whatsapp working on Wi-Fi and no other apps connecting(Android). Does any of those help you?

The mentioned links are not appropriate for me.

Mind to explain why? We could help you better with some more background. Please [edit] your question and add why those questions (or rather their answers) don't match your issue.

As you have mentioned problem seems to be coming after updation to android version to 4.4.2 you may want to refer to android-4-3-no-internet-access-unable-to-connect-to-the-proxy-server-error.
The reason seems to be If you have cleared your Google Service Framework data to recieve the update, it will change your device ID that google uses to recognise your device.


text:
How to drop out of airplane/flight mode periodically to check messages
I normally keep my phone in Flight Mode (called "Airplane Mode" under 2.2) in order to save battery power.  When I have some time to check messages, I turn off Flight Mode, re-enabling the cellular transceiver.  Is there a way I can set up my phone to momentarily drop out of Flight Mode periodically, say every 10 minutes, preferably without using a non-free app?
I don't really need it to be in Flight Mode per se, just to disable power-draining devices, especially the cellular transceiver.

There are multiple automation tools which most likely can do this for you. Some of them, especially in connection with your real concern, are listed in my answer to What is Cell standby and how can I keep it from eating my battery?.
Aside from that, and you might wish to check helpers like JuiceDefender, Easy Battery Saver, and GO Battery Saver & Widget. Amongs others, they do exactly what you asked for: toggling airplane mode or rather the data part of it, to enable apps to sync only in defined time frames.


text:
Clickable Phone Numbers on a Wifi Only Tablet?
I have an Android tablet running KitKat.  It is a basic tablet that only connects over WiFi.  Apps like GrooveIP and Talkatone do allow me to make calls with it, but I have to copy and paste, or manually enter, every number, unless the number is in my Google Voice contacts.
On a smartphone, as an example, if I were to go into Google Maps, and look up a business, the phone number would be a clickable link.  It would automatically initiate a call.  On my tablet, any phone numbers I find anywhere - Google Maps, websites, even Google Contacts, are not clickable.
Are there any apps out there that can make the phone numbers on my tablet clickable?
Thanks!

Hm, what about e.g. Clipboard Dialer? For details, please see my answer here.

I have a Nexus 7. Unfortunately, according to the Play Store, Clipboard Dialer does not appear to be compatible.  Any other ideas?

Maybe SnipFolio, at least according to its description: If you copy a phone number, SnipFolio lets you dial it with one click.

Also not compatible. I can't figure out if the Nexus 7 is the problem, or if these apps just haven't been updated for KitKat yet.  Also, I haven't yet been able to figure out a way to even select a phone number in Google Maps.  Clicking, clicking and holding, clicking and dragging all do nothing.

Okay, I found an app called Copy and Dial (https://play.google.com/store/apps/details?id=com.fsalgado.copydial) which lives up to its name and seems to work on KitKat.  In a browser, I can highlight a phone number, hit Share, and send it to GrooveIP, but this is nearly as many clicks as just copying from the browser and pasting into GrooveIP.
It does not "linkify" the phone numbers in my browser.  And in Google Maps, I still, mysteriously, cannot even select a phone number I see on the screen.

I'm out of ideas then. Except that an alternative ROM might help: if you google for "android linkify phone numbers", you see there's a specific Linkify class responsible for that, which has a method gatherTelLinks(). It could be this was "voided" by the ROM creator, and thus does nothing on your tablet. Of course, Google apps would most likely rely on that API code, which would explain things.


text:
Typing dialer secret codes in devices other than phones
Dialer secret codes are fun and useful and all the rage, but how can I use them in my tablet, or my TV dongle, or any onther non-phone android device?

For those unfamiliar with the subject, there's a list over here. Many are independent of cellular connection/service/etc. Also, it's not clear how many of these work with which phones or Android versions to begin with. A fair number of them don't work on my N5.

Too late to edit my comment, I realized that there's a better list on our own site: Do you know any other Android keypad commands (dialer codes)?

From adb shell:
am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://<secretcode>

Where <secretcode> is the code without the asterisks, e.g., 4636.
This is more effective than the DIAL action because it's direct and does not rely on the dialer to parse the code and fire the secret code intent itself.  (Some dialers will not do this automatically and you'd have to hit "Call".)  The DIAL intent is also handled by multiple apps (Phone, Skype, and Hangouts Dialer on my device) so this can skip that annoyance.

There are at least three ways of doing it.
Programmatically by starting an Activity with Intent.ACTION_DIAL:
String secretCode = "123456789";
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:*#*#" + secretCode + "#*#*"));
startActivity(intent);

Programmatically by broadcasting an Intent:
String secretCode = "123456789";
String action = "android.provider.Telephony.SECRET_CODE";
Uri uri = Uri.parse("android_secret_code://" + secretCode);
Intent intent = new Intent(action, uri);
sendBroadcast(intent);

With a third party app:
I developed an open source app that crawls AndroidManifest.xml files on your device to find secret codes, and allows you to execute the secret codes available on your device.
You can get it on the Play Store or on the GitHub repository Android-Secret Codes.


text:
Samsung Galaxy Tab 7" 2gb Android upgrade is it posable
I have a sch-i800 galaxy tab and I wouldlike to up grade the programing so I can use some of the newer programs out there is this posible?
hardware version i800.0.4
firmware v 2.3.5
baseband v S:i800.0.4v.ei04
kernal v 2.6.35.7
Build # sch-i800.mc2

http://wiki.cyanogenmod.org/w/P1c_Info
get some cyanogenmod running on it. Follow the link above
The latest stable version is linked below.
http://download.cyanogenmod.org/?type=stable&device=p1c


text:
How to change the order of the users on the lock screen?
I have setup a tablet for my 2yo son. I am the primary user, with root access, etc. Because of this, I am the first user on the lock screen. I would prefer if the tablet defaulted to his user account, so he doesn't have to click the tiny user button to get his login on power up. Does anyone know how?
I tried altering the order of users inside /data/system/users/userlist.xml, but it reverted back to the original file on reboot.
The tablet is running Android 4.2.2.


text:
Unlocked bootloader with OEM locked inside system in Oneplus3. HELP?
I have a OnePlus3 device which was rooted(TWRP + magisk + stock rom). But as new rom was buggy, i install old stock rom + stock recovery without root. After installing by mistake i lock OEM from the developer menu. Now after a restart, I stuck in the bootloader. Now, bootloader can't be locked or can't install new recovery. I can access bootloader and recovery but can't get into System. I tried to sideload rom but it keeps loading.What to do now?

Can you see your device from adb/fastboot?

yes but can't install new recovery or rom.

headline says unlocked bootloader question says bootloader can't be locked please edit

Boot to bootloader, unlock oem and start the process all over again. You need to flash a recovery first, then the full ROM.zip.
If this doesn't work or you can't get it right, use the unbrick tool. We can provide you with the links if you can confirm your device

OP wrote "After installing by mistake i lock OEM from the developer menu". You can't unlock bootloader using fastboot unless you permit OEM unlocking from developer options (unless of course, vendor messed up lock/unlock implementation).


text:
Why my phones won't show Beidou/BDS signal
I tried using apps like GPSTest and GPS Info to see what GNSS my phone actually uses. I can see GPS and GLONASS on a Moto Z3 Play, and GPS, GLONASS, and GALILEO on a OnePlus N10 5G. Both phones should also support the Beidou system, so I'm wondering if there is anything preventing these phones from seeing/using Beidou/BDS


text:
Use a phone without a screen
I have a very peculiar situation/question. Below is my mom's phone, OPPO F5 to be precise. It had a broken screen a long time ago. I removed the broken screen, as it posed threat to my siblings, as it could injure them without us knowing. Then, i decided to buy a new screen from OPPO service centre to fix this problem myself. As it is now a lock down period, most/all service centres are not available. I could wait till the lock down is over, but my question is, can you use the phone, like have the screen displayed/ported to a laptop, by wired means(i have no access to the phone's applications or any other forms, as there is no touch screen to control them), to use the phone, till the lock down is over? The phone functions normally by all means, as you can see from the picture, that there is the notification light is still on. Hey Google is also working partially, as when i say it, there is vibration, but no response by the assistant. Any help will be greatly appreciated.
EDIT: When i connect that phone to my laptop, it is charging but isnt detected by my laptop as a device.

Please check the wiki for the tag broken-screen for possible options.

https://www.xda-developers.com/scrcpy-control-android-on-pc

@alecxs Scrcpy cant work in my situation, as the phone isn't detected by the computer. Moreover, i cannot control the phone to enable adb connection.

... then you know the answer

@alecxs Dead end.

except for USB-OTG operating blind (with earphones you might hear click noises, but chance you get adb authorized is low) https://android.stackexchange.com/q/159551

What you could try doing is flashing a custom recovery onto your phone, then get USB debugging permission using the custom recovery, to then launch a screen control software to control your phone.
Every phone have a different way of installing a custom recovery, I remember Oppo phones need edl to install one, you can search up "oppo f5 recovery custom recovery" to find the custom recovery and install method.
After that, get adb, start adb by adb start-server. Next, reboot into recovery mode, it can be done by doing a button combination.
You can then push a key file in your .android folder when your device is detected as in recovery, if you are on Ubuntu, it is in ~/.android. Push the adb_keys in the folder to /data/misc/adb/adb_keys, use adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
After that, run all these commands to finish our work:
su
mount -o remount,rw /system
cd /
echo "persist.service.adb.enable=1" >> default.prop
echo "persist.service.debuggable=1" >> default.prop
echo "persist.sys.usb.config=mtp,adb" >> default.prop
echo "persist.service.adb.enable=1" >> /system/build.prop
echo "persist.service.debuggable=1" >> /system/build.prop
echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop

After that, type reboot to reboot to system, you should now be able to use scrcpy to control your screen.

won't work on locked bootloader because of AVB. btw it's a Mediatek device you probably meant preloader mode (EDL mode is for Qualcomm)

@alecxs I don't know it is a mediatek, but this device HAVE recovery available online

might work if TWRP is AVBv1 signed (which you can do with AIK) but will fail for AVBv2. readback from SP Flash Tool would be option to get a full dump of userdata partition (should be restoreable after unlocking bootloader) another option some user claimed security vulnerability in ColorOS Recovery if that is true one could create a flashable zip which does the necessary modifications and set ro.adb.secure=0 (only userdebug/eng builds) instead of placing adb_keys

If you can actually get a full dump of the data partition then modify it to then send it back, that would be awesome

unfortunately dump is encrypted and can only decrypted on this origin unique device itself (dump userdata + metadata to be exactly) and (unsigned) modified system would not boot


text:
Samsung A50 Stuck on Samsung logo
This is Samsung A50 A505F, bought 4 years ago. Yesterday, it was showing full-storage warning because around 700MB was left from total internal space. There was no SD card. The same day, it restarted, got through the initial model-name splash screen, but stuck on "SAMSUNG" logo screen.
Pressing Power key for more than 15 seconds doesn't turn off the phone. If I press Vol Down and Power button for like 7 seconds, it restarts but gets stuck at the same page again. To turn off the device, I connect it with a charging socket, and then do Vol Down + Power again. This time, it powers off, and starts showing charging UI when the phone is off. If I remove the charging connector, device appears powered off.
I am able to get into Download Mode (VolUp + VolDown + USB connect) and Recovery Mode (VolUp + Power + USB Connect). My suspicion is that this is being caused by Storage being full. Although, there's no such message or indication on Recovery Mode. I am able to start ADB in sideload mode.
I have tried using Wipe Cache Partition and Repair Apps several times. I am not able to get into safe mode (either I am using wrong method or it doesn't work).
Another technical detail is it showed some failed recovery logs (yesterday). Something about an exception with RulesManagerService on its onStart function. But, it no-longer shows those logs now.
Is there any way I can get it working again without sacrificing my precious data? Or Can I recover the data somehow? I remember the lock-screen password pattern and connected email account credentials.
I am attaching some screenshots to show stuff:
charging-indication

model-name screen (not stuck)

stuck screen logo

download-mode

recovery-mode

You can always try to hard reset the phone by performing a factory data reset to see if that will fix the issue.

@DongLi Yes, I understand that will definitely fix this issue. However, I am interested in a way where I can save the onboard data as mentioned in the question.

You can do adb pull /sdcard/file.ext  %USERPROFILE%\Desktop\file.ext to copy on your pc and then adb shell rm sdcard/download/file.ext to delete the file. Do this for 1, 2 big files. It should boot again. By the way the term is bootloop. After booting up you must clear storage and find if it was some app (sometime app's logs too do this) or just the storage which caused the bootloop


text:
Scanning barcodes into third party apps
I have a third party app for a production system. This is now a legacy application that may not be modified.
There is a text field in this third party app.
I have barcodes that translates into valid inputs for this text field.
I would like to be running this third party app, but somehow be able to use an android device to zap a barcode, translate it into text, and stick it into that text field.
I imagine the following:

User opens third party app
User places focus on text field
User presses button to cause barcode to be scanned
Barcode is translated and placed in the text field that has the focus

Is this feasible with an android phone or tablet?
I am scared that we may have to ditch our legacy app and develop fresh.

To save you from copy-pasting, there is an interesting alternative option: some kind of "Barcode keyboard", i.e. using a QR-Reader as input method. There are a few apps available at Google Play which (according to their description) offer exactly that. An example fitting for your case would be Barcodescanner Keyboard:

This soft-keyboard scans and enters barcodes directly into input fields of arbitrary apps, batch scanning mode is supported.

Note the Barcode-Scanner symbol in the lowest row of the keyboard, second from the left? As the other keys are also present, you can type normally in fields where you need that, and simply tap the barcode-icon to invoke the scanner, as shown in the second screenshot.
Remark: I didn't try it, so I have no more details on how it works and how reliable it is. Just found it at Google Play and thought it might be helpful for you :)

It's easy to achieve a similar workflow with an off-the-shelf barcode scanner app such as ZXing's Barcode Scanner. After scanning a barcode in that app, you can press a button to copy the scanned text to the clipboard. After switching to your other app, you simply long-tap the text field to paste the text into it. It's a few more screen taps than you're imagining, but that's the easiest way.
There's also a keyboard app that has a button to scan a barcode and enter the scanned text as if typed in. It's non-free, and requires replacing your soft keyboard, but Barcodescanner Keyboard lets you shorten the workflow by a few taps.
Any better solution would require some kind of bespoke development, whether that's modifying the target app or making a custom ROM.

Dan, this is very helpful. I am going to dig into these shortly.


text:
Reduce size from Whatsapp
Whatsapp backups take a lot of space. Is there any possible way to save more space without totally messing up Whatsapp?

I would imagine there isn't much you can do. If Whatsapp images/videos/media are stored on your device memory you could move/delete them. Even if you could move it to external sd the notifications wouldn't work on it. Otherwise you're looking at clearing caches regularly or a more extreme is to root and find a ROM with EXT support to mimic internal SD on the external SD.


text:
The link APK Downloader is not working. Is there any other convenient method to download the APK file to my notebook?
The link APK Downloader is not working.
Is there any other convenient method to download the APK file to my notebook ?

Have you checked How can I download an APK file from the Play Store? for alternatives?

I take it that your phone/tablet doesn't have Google Play. To directly download apps why not use Amazon Market to download apps from your phone.
Other than this, I'd recommend you to Google out individual apps by name for their APK or wait for the service to return.

Careful with "googling APKs". Or rather with downloading the results. Have a very, very, very close look at the source – as this is the best way to get malware (modified .apk files bringing "nice" XMas presents along) on your device! I rather discourage this. Instead, take a look at our alternative-markets tag-wiki and What are the alternative Android app markets?

I'll second what Izzy is saying. I can't agree with this answer as long as the "recommend you to google ... apps" part stands. That's dangerous advice.


text:
How i can protect my android from Master Key Vulneralability?
When i install apps ,that i take from my friends , it seems quite fishy , so how to check that the apps are trusted or not.

See also: What is master key vulnerability in android?

You can check whether your device is affected using e.g. Bluebox Security Scanner.
To close the vulnerability, your device needs root access. If that pre-condition is given, there are different fixes available, e.g.

Master Key dual fix (a module for the xposed-framework)
Master-Key Security Patch (again a module for Xposed)
ReKey (a stand-alone app)


text:
After moving App data to SD card, the data still occupy space in internal SD
I moved all application data to the SD card but, while I was navigating the internal storage files I came across a folder of the millionaire game, holding a huge amount of data and consuming my limited internal storage.
App info
Millionaire
Total                            173 MB
App                              0.93 MB
USB storage app       23.41 MB
Data                             60 KB
SD card                       149 MB

149 Mb is on your SD card, the rest must remain on the internal storage. Despite the name 'move to SD' it only  moves a portion of the appliction to the SD card.

When I checked the game path at Android/data/com.ea.monopolymillionaire_row it's 144 MB.  This directory on internal storage.

That's very odd, they way it dislays is counter intuative on some devices. It means that the total is 173, 149 of which SHOULD be on the SD card, but it may be moved onto the emulated storage, which android refers to as... "SD", which does not help. It looks to me (I'd need confirmation on this_ that 0.93 is on your EXT SD card (the actual physical card) and 149 is on the emulated / SD storage on your device. This may be the way the app was designed to be honest, and you may need root to do anything further with it. But I'd appreciate feedback from others on that.

How do I check for that? I'm new to android world :-), and do you think that root is safe and won't harm my cell?

You've already checked it, I think from above USB storage is the physical SD card, and SD is the internal sd memory. Rooting is not 100% safe, you void your warranty and it CAN brick your device. I've rooted every phone I own, but there is always that risk there and I can't recommend it without you knowing the risks and reading a lot on the topic first. I woudln't recommend it entirely.

@RossC thanks for being in, your reply gave me a real insight into the risks of rooting.  I won't do it now, as my cell is  just 1 week old. btw, thanks for your concern :-)  and sorry for my English.


text:
wiped SD card, trying to find text messages
A friend borrowed my microSD card to take some pictures and ended up deleting the android directories.  I assumed that text messages were stored on this card.  No message history appeared after the card was removed.  incoming messages from old contacts started new threads.  contacts and everything else stayed.
I want to find the year's worth of old text messages.
I've recovered some files using photorec (mostly pictures and audio from my phone).  The only non-obvious files are a 10MB .elf file and a 72KB .SQLITE file.  the directory structure is not preserved, so all files appear in one directory.
does this approach make sense?
what file extension am I looking for?
how do I read the database that texts are stored in?

possible duplicate of Where on the file system are SMS messages stored?

In a sense. They are usually not stored on your SDCard – unless you did some tricky things with DirectoryBind, Link2SD, and the like. Did you?

Try to examine the .sqlite file. It could be the database containing the SMS, although that's not typical as @Izzy already mentioned.

It would also help to know the complete name of the .sqlite file to determine whether it's really related (which I massively doubt). The .elf file you can ignore, that's a so-called ELF binary, and doesn't hold any of your personal data.


text:
Can I use Tasker to enable and disable WiFi hotspot functionality?
I have an Android tablet (Nexus 7) and an Android phone (HTC One) and I use my phone as a WiFi hotspot so that my tablet (which doesn't have it's own internet connection) can access the internet when I'm out and about.
Since running a WiFi hotspot is a very battery intensive activity I was looking at using something like Tasker to disable it under a specific set of conditions;

Whenever the HTC One is in range of a specific WiFi network (SSID is Pegasus), disable the WiFi hotspot
Whenever the HTC One is not in range of the same specific WiFi network (SSID is Pegasus), enable the WiFi hotspot
Whenever the HTC One is outside of range of the Nexus 7, disable the WiFi hotspot

Is this possible with Tasker? I suspect that the first two steps would be but since it's the Nexus 7 connecting to the HTC One and not the other way around the last one might not be possible?
If this isn't possible with Tasker, is there anything that can provide this kind of functionality?
Any ideas on how I can achieve this?

Is the problem still relevant to you? I can possibly post a working answer after getting some details, provided that the issue is still relevant to you.


text:
Google maps app works without wifi?
So I have been using google maps in airplane mode. I only connect to cafe´s around Barcelona and once I have searched the directions. I leave any wifi in range. Shouldnt that mean my google maps no longer works? However, on the app, when I walk down a street or make a turn, the little blue dot seems to update where I am, regardless of the presence of internet connectivity...
If I try retyping a search or starting a new route without wifi, it says that it cant connect to server, which is expected.
My question is basically, how does it know to update once I have established a route?

The blue dot is because of GPS and not because of WiFi. GPS doesn't require internet connectivity to work when it locks onto your position.
How does it know to update? When you go off course then the app will try and update your route with a new route(which needs internet).


text:
What are the custom roms available in market for android and ios for micromax funbook P 300?
I am working to add custom rom that are available for ios and android,I need to add add custom rom in my android phones, I was using "androios" rom that is featured for both  ios and android, but its not rebooting properly in

micromax funbook p300

Can any one please help me, Regarding Custom Roms that have features of both ios and android, to add in micromax funbook p300.

Have you checked Where can I find stock or custom ROMs for my Android device?

Firstly you can't install iOS on your Funbook. Any ROM(s) that claim in doing so are actually just running Android with a launcher that looks like iOS.
For information about ROMs for the P300 I suggest you read this thread. The number of working ROMs as is seems pretty scarce.
Also, when you root, unlock your bootloader or flash a custom ROM you void any warranty of your device.


text:
However Outlook is accessible, I can't access to Gmail via Nexus 4
despite I can access to internet network through chrome browser and check my email by using "Outlook" application by Microsoft Corporation, I have not had my "gmail", "google+" since December 17th. I have not succeeded to check update since December 17th. My cellphone is Nexus 4 and its OS is Android 4.4.2.
Regards

Welcome to the Android Enthusiasts! Could you please prove a bit more background: What have your tried? Were there any errors, and if so, what exactly are the error messages? If you go to quick settings, what color are your network indicators? Can you access Google Play?

Thanks a lot for your consideration, I upgraded my phone operation system to 4.2.2 android version on December 15, but I haven't accessed to all Google services (exception to Chrome) by using cellphone. Also it hasn't allowed me to check system update status since December 17. I haven't seen any error message. Color of network indicators is orange as same as one that had before December 17. I live in Iran, where Google Play doesn't permit us to access it legally.

OK, the orange color stands for "cannot reach Google servers" (so you know why there are no updates). As it seems other apps can access the net normally, it's no "general network issue". As you indicate "censorship": could it be Google servers are blocked by some (national) firewall? Though that would be a strange co-incidence, starting right after the update. Could you try accessing some Google pages (e.g. Playstore) via browser? I'm not sure what servers (IP ranges) are required by Google services, or I'd recommend a ping-test to those.

My gadget stared working by itself. It was ridiculous error that confused me. Firewall might have caused this problem.

Glad it solved! You might wish to make that an answer, and accept it later (the latter you can do about 2 days after posting it).

I assume this has happened after a recent update to your nexus 4 to the latest kitkat update?
How did you do this update, was it naturally from google or did you manually force the update by clearing your google services framework cache? I have seen this happen before.

Thanks a lot for your consideration, I upgraded my phone operation system to 4.2.2 android version on December 15, but I haven't accessed to all Google services (exception to Chrome) by using cellphone. Also it hasn't allowed me to check system update status since December 17. I received upgrading file from Google's servers through WiFi network(OTA method)that didn't make phone to clear Google services framework caches for updating system


text:
Google Now ignoring my Other calendars
When I ask Google Now to tell me my appointments, it tells me appointments from some of my calendars, but not Other ones added from URL. How can I get it to recognise these other calendars?

You have to Sync your Google Calender after you add the events to your calender.

Settings>Google Account>Sync Calender

After that refresh Google Now, it should show the calenders.

As I said, my calendars are already synced, that's why Google Now is telling my appointments from my main calendars. My question is how to get it to take appointments from my Other calendars.

Is your other calender from another Google Account of your own or a separate Google account?

My other calendar is imported by URL into my own Google Account.


text:
Where is the / or /sbin file system or directory mounted from on Android?
Where does the root file system (ie, / not /system) come from on Android? I can see that /system is mounted
cat /proc/mounts

rootfs / rootfs ro,relatime 0 0
  ...
/dev/block/mtdblock8 /system ext4 ro,noatime,nodiratime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mtdblock6 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered,noauto_da_alloc 0 0

I can see that /system and /data are mounted from mtdblockX devices. And that / is mounted on the 'virtual' type 'rootfs'.
There are a bunch of files and directories in / (I'm interested in /sbin) that don't seem to be mounted on a mount point over /. Where do those files come from? (I want to get RW access to /sbin) Is this done with some 'chroot' magic? -- it it from some 'boot' image? (In this specific example I'm using a Minix Neo X5 with Android)

Before anyone votes to close - while this may be more appropriate on [android.se] as it is, perhaps it could be generalised to Linux as a whole, which would be on-topic on [su]. (And remember that Android as an OS is not off-topic, just questions relating purely to phones with no computer involved - so Android x86 on a traditional computer would also be on-topic.)

This isn't a 'how to you program this' sort of question.  The purpose is to understand where the data/files come from so I can write the program to manipulate the contents (of /sbin) on various systems.

The rootfs is setup by kernel and init,  /sbin is part of initrd.img aka ramdisk.
Initrd.img is part of boot partition, and needs to be unpacked to be edited.
Here is some good info on boot process and editing  boot partition http://www.slideshare.net/chrissimmonds/android-bootslides20
XDA forum HOWTO: Unpack, Edit, and Repack Boot Images
Also, newer devices are requiring boot partition to be signed, and unless bootloader is unlocked, any editing will cause device not to boot.

Quote from http://www.ibm.com/developerworks/library/l-initrd/

The Linux® initial RAM disk (initrd) is a temporary root file system that is mounted during system boot to support the two-state boot process. The initrd contains various executables and drivers that permit the real root file system to be mounted, after which the initrd RAM disk is unmounted and its memory freed. In many embedded Linux systems, the initrd is the final root file system


text:
CM 10.2 with Google Apps version 20130813 won't download from Play Store
I have a Galaxy S3 I9300 from Telcel, Mexico running CyanogenMod 10.2.0, upgraded from 10.1.3 with the upgrade feature and using TWRP for this purpose. I am unable to download anything from the Play Store, the store loads but the apps won't download. I have flashed the gapps-20130813 package, cleared data and uninstalled updates from Play Store and Google Play Services, and it won't download yet. After googling around, I already cleared data on Google Play, Google Framework and Google Play Services, every single cache with Titanium Backup, cleaned up Dalvik cache, and removed and re-added my Google account. Still no luck.
I also noticed the download notification briefly appearing for a split second when I tap Download on Google Play.
Is there anything I can't do? I don't want to go through the hassle of backing everything up, deleting the entire data partition and restoring everything.

Could you please [edit] your question and include the exact name of the GApps file you flashed? It's just a guess, but you might have picked the wrong one. It must match your CM version (see CM Wiki). Though, the date suggests you've got the correct one; the one for 10.1 is "20130812".

I don't want to go through the hassle of backing everything up,
  deleting the entire data partition and restoring everything.

That might appear as a very long process to do, but what if that actually is all what you might need to do?
Well, I guess the problem you are facing might be similar to what I've experienced some time ago, and below are the steps I took:

Sign out of all Google Accounts on device
Boot Into Recovery (cwm/twrp, whichever)
Wipe Cache/Dalvik
Reinstall/Flash CyanogenMod (a nightly known to work)
Reinstall/Flash GApps (a correct version for your CM)
Reboot
Sign into Google account (log into default google account first, assuming you've got multiple accounts you log into)
Open Google Search
Enter Google Play Services
Click on the link to the app in Play Store
If need be, Update it (if it doesn't update, do below)
Open Play Store
Important: Still connected to internet, leave Play Store open for sometime (depending on internet connection). Sometimes, Play Store    prevents any download of apps, UNTIL the Play Store app is up to    latest version. Any attempt to install something during that period    will be futile)
Confirm Play Store app is up to latest. Check the version number and compare to latest play store apk on, say, APKmirror.com
If app version is latest, go ahead to update Google Play Services following steps above
If that works, go ahead to try downloading an app.
Are you on a Good internet connection?
If all doesn't work, then, how about you clean install your CM again?

You might not like my last point, but if that's what will get your phone working smoothly again, why the hesitation?

Sorry buddy. Factory reset does the trick... usually this is required when switching between ROM versions, and the Gapps XDA page mentions also that to flash a new Gapps you need to format the /system partition, data, and dalvik.

You absolutely do not have to format /system. (I flash ROMs and GApps  on devices regularly). You go into recovery and flash the GApps package, then wipe cache and dalvik-cache. Only the ROMs need the /system wiped, which if you look during flashing will show the /system getting wiped.


text:
ad blocker w/ vpn, or vpn with ad blocker?
Simply, (S10e no root) does a ad blockers vpn do the same as a vpn app like cyberghost? Installed adlock then wondered if there VPN being focused on blocking ads would lack in hiding traffic etc. Would it be better to get a vpn with ad blocker. I apologize if this question is simple but could not find a streight answer. Privacy would be the main thing I would like to accomplish but ad lock worked very well would I be OK keeping ad lock in the privacy dept.

VPN based ad blocker apps only use Android's VPN API (not a real VPN protocol) so that traffic goes through them before leaving the device. They filter out the malign domains/IP addresses (listed in a downloaded or user-provided hosts file) and let the rest of the traffic go out as it is. Actual VPN apps also use Android's VPN API but they encrypt the traffic with a secure protocol (like OpenVPN), may add some more obfuscation, and then send the traffic to some VPN server, which forwards it towards the actual destination. Some apps may combine the both functionalities.

Relevant comment: https://android.stackexchange.com/questions/228642/using-vpn-to-proxy-all-data-to-a-remote-ssh-gateway#comment298980_228642

Most VPN based ad blocker Blokada don't work like traditional VPN systems, instead the VPN server is located on the same Android device. Outside of your device the traffic is just normal Internet traffic exactly as it would be without VPN based ad blocker.
The VPN based ad blocker uses the VPN system only for redirecting the traffic into the app for being able to filter the traffic. On unrooted devices the VPN system is the only way to get access to the traffic of other apps, therefore the Android VPN-client is used.
On regular VPN systems the VPN server (endpoint) is located on a server somewhere on the Internet. If the VPN is active all traffic that leaves your device is encapsulated (protected + encrypted) in a VPN data connection that is sent to the VPN server and there the data is unpacked and sent to the original server. Therefore the traffic that leaves your device is totally different and because of the additional server in-between the latency can increase depending on where the VPN server is located.
Of course it is possible to add ad blocking features to a traditional VPN.

+1 To add, if your device is rooted some Ad blocking apps that create a server as explained can also be routed through a VPN app. I have this set up Adguard +Solid soft VPN. Solid soft VPN takes care of the encryption portion (though that also has some Ad blocking features)

@beeshyams Thanks I've looked into root for my unlocked S10e snapdragon as I understand it can't be rooted at this time. If you have different info plz share.

@Twillie I am not aware of Samsung rooting issues but I do hear that they can be tough, so you must be right


text:
How to resize the screen of the virtual android

Is there any way of resizing the screen in correlation with the virtual device? I have been looking everywhere but none seems to have my problem or I may be missing something. Waited for the device to boot and it still has the same problem. When resizing the device the screens get much smaller following resizing.

Wait until the emulated device has been booted, then you should be able to resize the virtual device and the virtual display. At least it works out of the box without problems.

@Robert the problem still persists. I've installed it long before and it works fine but now I don't know what could be the problem. I have a missing adb but that doesn't effect the screen size does it?


text:
'Network permission' notifications for apps in Android 10 - turning off
I have Android 10 on my phone. In the 'Settings - SIM card & mobile data - Mobile Data - Network Permissions' menu, I have set wifi & mobile data access as "disable network" for some of my apps.
The problem is, when I open such an app, it shows a notification "App name is Forbidden From Using the Network" with two buttons to choose from - "Keep disabled" or "Allow". This cannot be minimized or removed without choosing either of the two buttons.
After choosing "Keep disabled", the nuisance does not go away. Each time the app is opened next, there is a toast informing "Network is turned off for App name. You can modiy this in menu location". This happens every time! And sometimes (probably after a reboot, not sure) Android 10 forgets the setting for that app and the mandatory notification comes again with the buttons to choose from.
Can this behavior be prevented or at least minimized?

Getting rid of that annoying notifications is possible but not easy. I had exactly the same problem and used Automate https://play.google.com/store/apps/details?id=com.llamalab.automate to solve it.
In Automate I created a flow that waits for a notification to appear (you can define conditions which must be met to select only these unwanted notifications) and then executes 'snooze' operation on it. The length of the snooze time is freely adjustable, I chose 48 hours. That solved the problem once and for all.

Found this post years later - still the same issue.
Problem: I encountered an issue when I disabled network access via the standard Settings GUI for Hyperion Launcher on my rooted Android 10 device. Every time I opened the app, I received a persistent toast notification: “Network is turned off for [App name]. You can modify this in menu location.” This toast notification was quite annoying and couldn’t be minimized or removed without choosing either “Keep disabled” or “Allow.”
Solution: To resolve this, I have found two methods. Note that your phone must be rooted for these solutions to work.
Option A: Using App Manager GUI
Install App Manager:

Download and install an app manager that allows you to toggle receivers, such as “App Manager” from the F-Droid.
Toggle the Receiver: Open the App Manager. Navigate to the com.coloros.simsettings  package. {Its name may differ in your OS! Some package that allows you to toggle Network connectivity for an app.}
Go to the    Receivers tab.
Find and toggle the NetworkNotAllowedReceiver.
Click the three dot menu and click Apply Rules {you may need to experiment how and when to click these - you may need to go back to the main App menu there first}.

Option B: Using Command Line
Check the Status of the Receiver:
Open a terminal and connect your phone via ADB.

Run the following command to check the status:
adb shell dumpsys package com.coloros.simsettings | grep -A 2 "NetworkNotAllowedReceiver"
{If in Termux: just dumpsys package com.coloros.simsettings | grep -A 2 "NetworkNotAllowedReceiver"  should do}

Disable the Receiver:

Use the following command to disable the receiver:
adb shell pm disable com.coloros.simsettings/.receiver.NetworkNotAllowedReceiver
{The sudo neeeded notification - the rooted only phone error, may appear. If in Termux: just sudo pm disable com.coloros.simsettings/.receiver.NetworkNotAllowedReceiver should do}

Verify the Status:

Check the status again to ensure the receiver is disabled:
adb shell dumpsys package com.coloros.simsettings | grep -A 2 "NetworkNotAllowedReceiver"

Enable the Receiver (if needed):

If you need to re-enable the receiver, use:
adb shell pm enable com.coloros.simsettings/.receiver.NetworkNotAllowedReceiver

Example Commands:
Disable Receiver:
sudo pm disable com.coloros.simsettings/.receiver.NetworkNotAllowedReceiver
Enable Receiver:
sudo pm enable com.coloros.simsettings/.receiver.NetworkNotAllowedReceiver
Conclusion: By using either the App Manager GUI or the command line, you can effectively disable the persistent toast notification related to network permissions for specific apps on a rooted Android 10 (or similar) device.


text:
Attempting file recovery (deleted photos) on Note 4 via accessing /data/userdata; rooted phone, patched adbd, but now USB debugging won't work
I made a post about this yesterday, and I managed to make a lot of progress today, but I'm stuck again, and I am trying to decide what to do. I am not really experienced with coding, but I happen to be very good at teaching myself how to do something when needed and also very bad at giving up.
Below is a summary of my progress thus far:
INITIAL PLAN

Install Android SDK, drivers to PC (Win7, 64 bit)

Root phone (used CF-Auto-Root)

Patch adbd to allow root permissions (installed adbd insecure and SuperSU)

Access /data/userdata

Get image of /userdata, attempt to find files

I am stuck at step 3. I have adbd insecure and SuperSU, but using either of these causes USB debugging to be disabled. Regardless of how I toggle things, I lose my connection to my PC and cannot enable USB debugging.
Some research uncovered that there's something called SELinux that is preventing me from enabling USB debugging while adbd insecure is enabled (patched adbd). There are posts in the adbd insecure thread on the XDA forums from other people (check the last page) describing a similar problem:
https://forum.xda-developers.com/showthread.php?t=1687590
And one post at the end explaining that they fixed it with an app called SELinux Switch:
https://forum.xda-developers.com/showpost.php?p=79689054&postcount=267
SELinux Switch would allow me to turn off the protection preventing adbd insecure from working. Can I get some feedback about this? I'm not enjoying this stuff, and I really need to get back to other endeavors, so it'd be a one-time use, and then I will probably uninstall it from my phone because I won't need it.
ALTERNATIVE PLANS
I also have two alternative "paths" I could take to attempt to recover the deleted photos. I'd rather not do that right now, because I don't think I have time, and because I am trying to avoid anything that would overwrite the deleted photos, but they exist nonetheless:
Alternative 1: Droidexplorer and busybox
I already have droidexplorer installed on my PC and my phone is rooted, so I guess I could install busybox and see if droidexplorer can recover the deleted photos.
Alternative 2: Magisk with/without busybox
I would rather not do this, because it sounds like it would take the most time and more monkeying around with internal storage, but apparently adbd insecure isn't an active project anymore and most people use magisk for rooting, etc. This is an alternative, but it's the least attractive option.
What do people think? For now I am going to try the SELinux switch, since it seems the simplest way. If people could please try to avoid using too much jargon and explain commands, etc. it would really help out; that way I wouldn't need to look up unfamiliar terms first.

As the phone is already rooted: why not working directly on the device using adb shell? An approach would be to extract the userdata partition (storing the image e.g. on an SD card or directly to the PC), then extracting your contents on PC using e.g. TestDisk/PhotoRec. You could use my tool Adebar to create scripts for that ("partition backup"), though that would require either Linux or Cygwin. Example command line if you know the partition: adb exec-out "su -c 'cat /dev/block/mmcblk0p46'" > "images/userdata.img"

Adb insecure is very old and I would assume that no one still uses it (if you really want an insecure adbd you have to manually patch the adbd version installed on your device). The same is true for Droidexplorer.

I should have been more clear; I can do adb shell su and lots of other commands, but I can't do anything that requires root, despite being rooted. My understanding is that /userdata is protected and requires root access; searching the internet reveals that many people using adbd insecure are prevented from root access in android 5.1.1 and higher, because SELinux doesn't allow it, and something about the kernel prevents changing the enforcement status manually.

Attempting adb shell su and then adb root briefly starts the adb daemon and then it says "error: device not found". Using setenforce=0 to change the SELinux status from enforced to permissive doesn't work (getenforce gives "enforced" as a result). In addition, patching adbd while in USB debug mode kicks me out of USB debug even if I have that box ticked in the developer menu. Unless Magisk has the ability to get around this somehow, it sounds like rebuilding the kernel without the automatically enforced SELinux setting is the only way out.

Robert, do you suppose you could recommend an alternate method that doesn't involve doing anything that would wipe /data/userdata? If you don't know any, that's okay, but I'm trying to find other ways to do this and apparently Magisk setup inherently wipes the device. Finally, I know I'm "shouting into the void", but it's REALLY stupid that there isn't some way to prevent accidents like this. It should be much easier for a user to recover data than this.

just to avoid confusion, there is no such /data/userdata

samsung kernel doesn't allow selinux permissive (however you could double check with this app) be aware every install will heavily decrease your chance to recover deleted files

adb shell su -c "cat /dev/block/dm-0 2> /dev/null" > userdata.img https://android.stackexchange.com/q/219346 (linux only)

Let us continue this discussion in chat.


text:
How to solve the short battery life with galaxy s4?
I bought Galaxy S4 in just half year. However I found some wrong with the bettery, my phone shutdown automatically recently with over 20% battery. I can only use the phone for two hours after my phone charged full. How can I solve it? Should I change my bettery? Or some thing wrong the software?

Have you rooted,  have you disabled google location services? They do drain battery, but from what you say this would seem to be the hardware to be honest. Check the serial on your battery and if it begins with BD it is due a replacement from Samsung, due to defects. Check your phone sits level and the battery isn't swollen, this is another issue many S4s have at the moment. The best bet is a service centre, and see if you can get a free battery replacement.

If you still have the warranty left it is best to change the battery , but the problem could be because of overcharging and discharging of the battery it has happened to a friend of mine who had a samsung galaxy s3 and after 3 months after purchase he had his battery replaced by warranty.the reason they gave was that he was using the charger on for too long and it had affected the battery.
personally it doesn't occur a lot but if it does its better to check it at a service center and get to know the problem clearly instead


text:
"Unfortunately gallery has stopped" error appearing while running Android x86-4.3 in VirualBox
I have installed Android x86-4.3 in VirtualBox yesterday! But there are some problems:
Gallery, Camera, Navigation, Live Wallpapers etc. won't open and showing error "Unfortunately  has stopped".
I tried checking the RAM while running processes: I totally allocated 512 MB DDR3 RAM and it is only using half of it i.e., around 220 MB while running other applications. The browser is working fine. But it has also showed the same error once while I opened too many tabs in it.
When I run android in Bluestacks, it is working perfectly alright. However, I want to try it in VirtualBox. Any ideas what might be the problem!
Here are the details of the Virtual OS:

Allocated RAM: 512 MB (DDR3)
Allocated Hard Disk Space: 4GB
Processor: Intel Core i3 (3rd Gen)
Allocated Video Memory: 128MB

I also tried clearing the cache in apps. But doesn't work. Any help would be great! thanks!

You may find more information about the crash in the system log. See http://android.stackexchange.com/questions/14430/how-can-i-view-and-examine-the-android-log


text:
Android App Force Closing
01-02 15:30:21.361: E/AndroidRuntime(3764): FATAL EXCEPTION: main
01-02 15:30:21.361: E/AndroidRuntime(3764): java.lang.NullPointerException
01-02 15:30:21.361: E/AndroidRuntime(3764):     at com.htc.music.browserlayer.fragment.HtcMusicFragment.initLyricsView(HtcMusicFragment.java:8905)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at com.htc.music.browserlayer.fragment.HtcMusicFragment.initialUI(HtcMusicFragment.java:2305)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at com.htc.music.browserlayer.fragment.HtcMusicFragment.onCreateView(HtcMusicFragment.java:662)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.BackStackRecord.run(BackStackRecord.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.FragmentManagerImpl$1.run(FragmentManager.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.os.Handler.handleCallback(Handler.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.os.Handler.dispatchMessage(Handler.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.os.Looper.loop(Looper.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at android.app.ActivityThread.main(ActivityThread.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at java.lang.reflect.Method.invokeNative(Native Method)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at java.lang.reflect.Method.invoke(Method.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
01-02 15:30:21.361: E/AndroidRuntime(3764):     at dalvik.system.NativeStart.main(Native Method)
01-02 15:30:21.541: E/EmbeddedLogger(2496): App crashed! Process: com.htc.music
01-02 15:30:21.541: E/EmbeddedLogger(2496): App crashed! Package: com.htc.music v522301810 (5.1.2320352112.658919.648253)
01-02 15:30:22.081: E/EmbeddedLogger(2496): Application Label: Music

I open Music app in Android but it force close. I have taken logcat and found this problem causing.
At Line 8905 here is the code :
> if-eqz v11, :cond_1
>
> const-string v11, "[HtcMusicFragment]"
>
> const-string v12, "onServiceConnectedHandle, mActivity is null

That looks like a bug in the app. You should contact the app developer and let them know about it. If you're the app developer, then you're on the wrong site. Please read the [help/on-topic].

Conclusion
This is a programming error within the HTC Music app (based on the package id). The best option is to report this error to the developers using the force close dialog.
More details
As a programmer I recognize the nullpointer exception thrown in the HtcMusicFragment at line 8905. The package (and class name) indicate that this is an app from HTC for Music playing.
Since this code is closed there is no reason to look further into this yourself, even if you had the knowledge. Let's say it would be perfectly possible to decompile the app (it isn't) and fix the nullpointer even then you wouldn't be able to replace the app on your phone since this is a vendor app. That is without root.
If you want to read about the nullpointer exception try this link https://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception In short there is a method called on an object that hasn't been initialized properly. It's up to the programmer to check for these kind of issues.
My advice
Go get a better music app on the google play store.


text:
Remap Chromecast device button via ADB
I got a Chromecast with Google TV. It has the ability to emit certain infrared signals when a button on the remote is pressed, allowing the user to control both Chromecast and TV with one single remote.
However, my TV is not supported in the predefined mapping profiles, so I would like to be able to configure the remote to trigger custom infrared signals.
How can I do that via ADB? Something like adb shell settings blah.
Updates:
When running logcat, I notice these lines: Axel.IrRemote: Uploading IR Profile '||1000024' to 60:98:66:D2:BF:E6. So in the end it's basically just upload data via Bluetooth, so with the right information I guess it shall be possible to get the job done.

Just making sure that you know that IR code sets can be reused by multiple manufacturers so I would double check (and perhaps mention) your make/model of TV.

I use Kedro. I tried like 50 brands but none work. It's too tiring man, the finger, it hurts.