text:
Galaxy Note 4 muffling external mics
I just got a refurbished Samsung Galaxy Note 4 to replace a dead Note II. When compared with the Note II, it is giving me terrible audio quality for voice recordings done with headset mics — there is a severe high-frequency roll‑off that leaves the recording sounding muffled.
I initially discovered this when using the headset that came with the Note II. I have a homemade windscreen rigged up on it, so I wanted to keep using it rather than trying to transfer that to the headset that came with the Note 4.
So, the exact same microphone and windscreen, using the stock Voice Recorder app on both phones, neither rooted, in high quality mode in both cases (recording MPEG-4 audio), and the difference is night and day when listening to existing recordings done on the Note II vs. tests on the Note 4. The recordings from the Note II certainly donʼt sound like a studio condenser mic (like in the appʼs graphic, lol), but theyʼre of reasonable quality, more than adequate for speech. High frequency detail is there; I can hear leaves rustling very crisply, and sibilants in speech are clear and distinct. The recordings from the Note 4, by contrast, sound muffled. Sibilants are muted and somewhat indistinct. It sounds like it was put through a low‑pass filter. Speech is still basically intelligible, but the gap in quality could well make the difference between making out certain words or not under less ideal conditions.
The overall signal level in the Note 4 recordings is also noticeably lower. I have to turn up those recordings more than the Note II recordings to compare them equally. (Iʼm wondering if that and the fidelity problem may be related — the MPEG codec might throw out very quiet high-frequency data by design.) I should note that in the Note 4 the “Recording volume” setting is set to “High” (thereʼs only that and “Low”).
Iʼm listening to both files on a PC with VLC media player, through a home hi‑fi system with proper speakers — not some cheezy self-powered made‑for‑computers garbage.
VLC is showing the recordings from both phones to have a content bitrate around 128kb/s, so I donʼt think itʼs a matter of bandwidth loss from more aggressive data compression.
I figured maybe the electrical parameters of the headset had changed between the two models, and so also did a test with the headset that came with the Note 4. It was maybe very slightly better due to the lack of the windscreen, but basically still horribly muffled — low signal level and significant loss of high frequency response.
I should note that this is not a problem with the Note 4ʼs internal mics. When I unplug the headset and record with the internal mic, the recording is much louder and has decent frequency response.
Possible explanations I can think of:

There has been a significant regression in the quality of the preamp or ADC circuitry for the external mic from the Note II to the Note 4.
My particular Note 4 has a problem in the audio connector that is introducing extra resistance. I have tried cleaning it with a cotton swab and isopropanol, and the issue remained.
My particular Note 4 has a damaged mic preamp or ADC circuit.
There is a system setting buried somewhere that I need to change, other than the obvious settings in Voice Recorder, which are already set to their highest levels.
There is a bug in the Note 4ʼs firmware.
There is a bug in the Note 4ʼs Voice Recorder app, but this seems unlikely, as I expect it just encodes whatever audio the OS gives it.

Any ideas which of these might be happening? If this is a problem in the model itself, surely someone else has encountered this long ago.
The exact model is SM-N910W8 running Android 6.0.1, kernel 3.10.40-8000148.
UPDATE:
I did testing with a 3rd party app that can record raw PCM into a RIFF (WAV) file, and the same muffled sound was there, so itʼs not the fault of the stock recording app or data compression.
Robertʼs suggestion led me to figure out that the ADC for the headset input is in a Qualcomm WCD9330 chip. I also discovered from schematics I was able to dig up that the internal mics are digital mics (the ADC is built into the mic), so the WCD9330ʼs ADCs are not being used for those. I also checked out the engineering specs for a couple similar chips in the same line (Qualcomm doesnʼt seem to have published specs for that exact device), and nothing there suggested that the frequency response should be anywhere near so poor unless the firmware has drastically misconfigured the chip.
I did find a reference, on XDA Developers here, regarding a totally different device, the Samsung Galaxy Tab S2 8.0 LTE, that uses the same chip and has muffled audio input caused by a firmware issue. In that case, a custom ROM was causing the issue, and the stock ROM worked fine. In my case, itʼs using the stock ROM (AFAIK!), but perhaps in this case the stock ROM is at fault.
I did some testing and found, somewhat surprisingly, that the frequency response is actually full hi‑fi with the exception of a two-octave 10dB notch at around 8kHz. This dip at 8kHz is very consistent with what the recordings are doing to speech. Given that the response is consistent with a notch filter, it now looks like the behaviour is probably half‑ways intentional, which was a bit mystifying. I decided to put up this question on the Electrical Engineering SE, to see if there might be a plausible engineering explanation.
The result of that discussion is that it would be normal, due to sampling rates used in telephony, to knock out frequencies above 4kHz in order to avoid transmitting severe aliasing artefacts to the remote party. That filter should get turned off when an app asks for PCM data at a higher sampling rate, but the electronics allows independent control over the filtering, so itʼs quite plausible that the firmware in this particular model, when disabling the filter for audio recording, forgets to disable it on the external mic input.
So far I have not found a confirmation of this as a known issue of this model, but it seems like the most likely explanation.
On a firmware/software level, Android devices are basically a black box to me, so I have no idea where in the software stack this issue would be most likely to be, whether this might be fixed by a custom ROM, or by some utility that runs rooted, or what.
Another dimension to the problem is the very low input volume level. I had originally thought that was related, though it now seems more likely it may be a separate issue. I did find the following suspicious lines in mixer_paths.xml:
<path name="rec-headset-mic">
<path name="ear-mic"/>
<ctl value="14" name="ADC2 Volume"/>
<ctl value="72" name="DEC5 Volume"/>
</path>

There are a number of other places there and in mixer_paths_i2s.xml (I2S is Inter‑IC Sound, a hardware bus used by the WCD93xx) that also set a similarly low number for the volume for ADC2.
I say this is suspicious because from what I understand, the integer setting here is in 1dB increments with 84 being 0dB. This would suggest that ADC2 is being set to -70dB — a remarkably low level! However, ADC2 is a hardware port whereas DEC5 is I think some kind of software mixing channel, so without much more intimate knowledge of Androidʼs audio hardware abstraction scheme, I canʼt be sure that the numbers for ADC2 are interpreted in the same way.
To make matters more confusing, there are two identical copies of this file, one in /etc and one in /system/etc. Also, the mixer_paths_wcd9330.xml file, mentioned for the Galaxy Tab S2, does not occur in either of these locations. And there doesnʼt even seem to be a /system/vendor/etc directory on this phone.
I canʼt edit this file to play around with it without rooting the phone, but Iʼm a little reluctant to do that, partly from having zero experience rooting phones, and also because if I do discover a hardware issue, I donʼt want the store to be able to blame it on that. So Iʼd need to first be confident itʼs going to fix the problem.

You could check the common web pages that present device tear-downs to get the info which chip is used for the audio/mic jacket and then check if it's recording quality is a known problem. Also check if there are reviews by authors / magazines with an audio background. May be they have written something that explains your observations.

@Robert  Most of the audio-type reviews I was able to find for phones tend to concentrate on playback rather than recording.  But the tear-down idea ended up leading to a bunch of clues, which I added above.  Thank you for the tips!


text:
How can I install ROM on SD-card?
I'm searching the Internet and xda-developers, but they all have tutorials to flash ROM on the device itself; I'm afraid that would brick my device, especially that it would destroy the original ROM.
Is there a way to flash the ROM on an SD-card?
My deivce is Samsung Galaxy Note 2, and I'm looking for Cyanogenmod (maybe CyanogenMod 14.1 ROM, as in here)

Booting from SD-card is a special feature that has to be supported by the boot-loader. I don't know any Android smartphone that ships with such a boot-loader.

Is it safe to follow that article, to flash ROM on device directly?

Changing the device from a factory to a custom ROM means you loose all data. Therefore the major "threats" are that the new ROM does not work as expected or you brick your device. The latter happens very seldom; that you are not happy with the new ROM and wants to switch back to the factory ROM can happen. Therefore make sure you have an original factory ROM image file for your excact device version that you can flash just in case.

source: Stack Exchange

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

sort: votes


text:
Cron job over adb possible?
I'm trying to use my phone less. I've managed successfully to remove apps via adb. My question is if it's possible to have apps disable/remove via their package names over adb, and then reinstated on the device at certain times of the day.
So for say the hours 9am to 5pm Chrome app would be completely removed and not on the device, then after 5 it's there again.
I'm not wanting app timers or the app being disabled but app icon still visible. I'm after the full removal followed later in the day by it's full revival. Thanks :)

https://android.stackexchange.com/questions/128949
https://stackoverflow.com/questions/16747880

IMHO the question is formulated "too specific". You explicitly ask for cron but Android has no cron daemon by default. It would be better to ask how to schedule periodic tasks on Android. In the latter case you would get answers for apps like Tasker.

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


text:
Remove search bar from home screen in Android 9 ("Pie")
I am using Xiaomi A2 Lite and I want to get rid of search bar on my home screen, preferably without and without installing custom launchers (that are likely to be the next configuration time sink).
In case that launchers are only way to do this without rooting phone - is there some good launcher that would allow me to remove this and out of the box is not changing anything (otherwise phone is acceptable and I prefer to avoid wasting day on configuring software)

I found info that in Android 4 it was impossible and that I can install launchers like Apex Launcher or Nova Launcher (not sure is it still going to help and what kind of downsides it will cause).
Nexus 5 also required custom launcher or custom ROM or requires rooting phone, none of which sound like something easy and without negative consequences.
The same answer mentions "long press on home screen on an empty space + toggle the hide/show button of the Google search bar" what is not working for me.
It mentions removing Google Now. The same functionality seems to be now provided as Google app and I disabled it, resulting in less offensive but still present gray rectangle.
Dragging or longpressing this bar has no effect whatsoever.
Xda forum claims that removing Google app is sufficient (what is untrue, it leaves inactive grey bar just to spite people that want to get rid of it). It also mentions launchers as alternative, and problems with launchers on unrooted phones. Xda thread recommends LawnChair launcher for unrooted phones to fix this.

The best thing I was able to do was to

Sign in to the Google app
Go to Settings
Customize Widgets.
Use the colour and opacity options to fit it into your background.

(my wallpaper is that of Earth so I was able to blend in the Search Bar easily)

In my case I achieved similar effect by disabling entire Google app in application settings. It turned search bar into a gray blob that fortunately hides well in my screen. BTW, nice wallpaper. (I am not accepting this answer and only upvoting as unfortunately it is not really a full solution)


text:
Nokia phone has pre-installed survey: how can I remove it?
I just bought a Nokia 6.1 phone. On the whole I like it, but today this popped up:

The app is called "NPS" ("Net Promoter Score"?) version 9.0010.50. I found a discussion of it here, but the only way mentioned to disable it doesn't work (my "User Experience Program/Diagnostic Report" option is already off).
I don't like my time being wasted, but I like even less the idea that the phone is "phoning home" to yet another company.
Any suggestions for how to disable or get rid of this app? (I'm tempted to respond as negatively as possible to every question the app poses...)

If you are familiar with adb and the command prompt you can remove any apps including system apps with this command:
adb shell pm uninstall --user 0 com.evenwell.nps
com.evenwell.nps is the package name, you can see every app's package name with an app like APK Manager or Package Manager, etc
Comfirmed successfully done on my nokia 6.1
I do this for several system apps that I don't have any use for so they don't use my battery unnecessarily, just obviously do not delete anything if you do not know for sure what it is there are things that may look strange or unneeded that are actually there in order for the device to run and you can ruin your phone. Upon factory reset, all things are reinstalled normally.

Thanks for the answer. Does this require a jailbroken phone?

@DanielGriscom in Android world, the term is a rooted phone, not jailbroken. :) And no, the device need not be rooted because of the argument --user 0 which effectively removes the app only for the user account 0 (primary account / administrator), not from the whole device per se. If you factory reset, the app would come back again.

Excellent info: thanks.


text:
Question on installation of android-x86-8.1-r2.x86_64.rpm on Ubuntu 18.04
I installed the android-x86-8.1-r2.x86_64.rpm package on Ubuntu 18.04 using the following commands as suggested by Release Note 8.1-r2 but it didn't add boot entries to the grub2 menu.

sudo apt install alien
sudo alien -ci android-x86-8.1-r2.x86_64.rpm

Question: What are the definitions of the boot entries I need to add to the 40_custom grub file in order to add android-x86-8.1-r2 to my grub2 boot menu?

Based on the answer below I tried adding the following menu entry to the 40_custom grub file. I also tried changing system.img to system.sfs.

menuentry "Android-x86 8.1-r2" --class android-x86 {
        insmod part_gpt
        search --file --no-floppy --set=root /android-8.1-r2/system.img
        linux /android-8.1-r2/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive CMDLINE
        initrd /android-8.1-r2/initrd.img
}

Based on How to Install Android in Dual Boot with Linux I also tried adding the following menu entry to the 40_custom grub file.

menuentry "Android-x86 8.1-r2" {
search --set=root --file /android-8.1-r2/kernel
linux /android-8.1-r2/kernel quiet root=/dev/ram0 androidboot.selinux=permissive
initrd /android-8.1-r2/initrd.img
}

Neither of the two menu entries above work. When I update grub it produces the following output which seems to indicate grub isn't recognizing the menu entry, and my computer continues to boot directly into Ubuntu 18.04.

Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.18.0-25-generic
Found initrd image: /boot/initrd.img-4.18.0-25-generic
Found linux image: /boot/vmlinuz-4.18.0-15-generic
Found initrd image: /boot/initrd.img-4.18.0-15-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done

My computer hard drive has a single Linux ext4 partition, and the contents of /android-8.1-r2 are as follows:

drwxr-xr-x 2 root root      4096 Jul 21 09:40 data
-rw-r--r-- 1 root root   1358699 Jun 13 02:11 initrd.img
-rw-r--r-- 1 root root   7437056 Jun 13 02:11 kernel
-rw-r--r-- 1 root root   1424814 Jun 13 02:11 ramdisk.img
-rw-r--r-- 1 root root 877621248 Jun 13 02:11 system.sfs

I determined that grub was actually configured with an option to boot Android, but I wasn't seeing this option because grub was configured to automatically boot Ubuntu. I added the # to the beginning of the following lines in /etc/default/grub, ran "sudo update-grub", and now my computer gives me the option to boot Android.
#GRUB_TIMEOUT_STYLE=hidden
#GRUB_TIMEOUT=0
I also determined the menu entry I added to 40_custom wasn't necessary as it resulted in a redundant option to boot Android in the grub boot menu, so I deleted this menu entry (which I had manually added as described in my question above) from my 40_custom file.

In your case you must edit 40_custom and write this into the file:
menuentry 'android' --class android-x86 {
        insmod part_gpt
        search --file --no-floppy --set=root /android-8.1-r2./system.sfs
        linux /android-8.1-r2./kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive CMDLINE
        initrd /android-8.1-r2./initrd.img
}

and then update your grub. Maybe you must change paths.

My folder name is android-8.1-r2. There is no system.img file in this folder, but there is a system.sfs file along with kernel, initrd.img and ramdisk.img files and a data folder.

ok then change it from system.img to system.sfs

I tried that and it didn't work as I indicated in my updated question above.

Did you get any error if you start Android?

My problem is I can't start Android. I don't get an option to boot it when I start my computer since update-grub doesn't seem to be recognizing it when I add it to the 40_custom file.

Did you tried 'sudo chmod +x /etc/grub.d/40_custom' and then grub-update?

The 40_custom file was already executable. I resolved my problem as described in the answer I posted.


text:
What is the system app "Bluetooth share" for?
I have a system app on my Android 7.0 android device. The app is called "Bluetooth share".
What exactly is this app used for?

Bluetooth Share does what its name says.
It sends files wirelessly using Bluetooth
Try it out by going to a picture (or file), select Share, Bluetooth, and your recipient bluetooth device


text:
Flashing TWRP to MTK device with SP Flash tool not working
I need to root a custom MTK Android device. This device does not have volume keys at all so unlocking bootloader is impossible.(If anyone knows differently please educate me)
What I did previously that worked was use SP Flash Tool to flash over just the custom recovery. Then I would 'adb reboot recovery' and boom... there's my TWRP and I can easily root. We recently got some software upgrades so I flashed them over (complete ROM), device works great. But now, when I flash over my custom recovery and boot to it I get the native android recovery. It flashes successfully, it's definitely the right recovery.img... how is this possible. Any advice would be MOST appreciated.

Does it reboot straight to recovery or the system first even for second?

When I wrote this, straight to recovery, HOWEVER, just today I noticed it quickly flash the animated android icon (meaning the little green dude) before going right to recovery. I read a post elsewhere blaming the file located in the system files called recovery-from-boot.p however this file cannot be modified without root and when I did modify it (rename) the device is bricked and will not start. I managed to use Magisk to root the device boot img and then flash that onto the device which results in root but there are operation issues. I need SuperSU and therefore a TWRP.

recover-from-boot.p info mentioned above: https://androidforums.com/threads/nexus-6-boots-into-stock-recovery-instead-of-twrp.1129288/

So after you modified the boot.img with magisk you then renamed the recovery-from-boot.p? Renamed it to what/how? Did you do was that before or after you tried to flash TWRP? Since modifying that file is exactly what TWRP does then what went wrong . Can you please explain what detailed steps and order did you take when modifying the boot-from-recovery.p?

That was it! I tried renaming it to "recovery-from-boot-old.p" I did this twice once before I flashed twrp and once after. I also tried deleting it completely without much confidence but ALL resulted in the device not booting. What I JUST did was change it to "recovery-from-boot.bak" and then flashed my twrp after. (I also tried flashing it before with the same result) It rebooted fine and I was able to boot into my twrp after. So that was it. Note that you need to install SuperSU BEFORE uninstalling Magisk otherwise it bricks.

Bo, thank you a million times. This was clearly stated in that link I sent you but for some reason I didn't try it.

When you boot directly into TWRP after flashing TWRP patches the stock system recovery-from-boot.p file by renaming (modifying) it:
rename"/system/recovery-from-boot.p", "/system/recovery-from-boot.bak"h
This prevents the system from replacing twrp with stock recovery.
Simplifying the process there are a couple of files involved. First, the install-recovery.sh is called by the init.rc at boot. If there is an update to recovery or an issue then the install-recovery.sh calls for the recovery-from-boot.p (the patch) to patch the recovery and boot.img.


text:
cannot see option to turn off my google news feed
I am using a Moto G7 Power ,  android phone
When I open the Google browser (chrome I suppose), it says on the bottom
"discover, updates, search, more...".   If I choose "more..." and then 'settings', then it says

I see no news option to turn off

After clicking "more..." on the bottom, and getting that settings page up, as you did..
choose 'general' then see it says
'discover  - you'll see stories related to your interests..'
turn that 'discover' off.
That closes the news feed.


text:
Can I decrease the audio latency of Android (for a Midi keyboard)?
I've connected a MIDI keyboard to my Moto E4 and I'd like to decrease the audio latency.  I've searched online and found that Android OS doesn't do a great job processing audio signals quickly.  Is there something I can do about this?  This is a phone I don't use, so I'm open to anything - I've looked at options involving another OS (haven't found any), or rooting the OS and maybe something then.  I'd like to prioritize the audio signal as much as possible, I need to run one app and then output from the phone.  Thanks for your help!

Android is not a Real-time-OS, and the selected device is AFAIR a low-end one. Therefore I would recommend first to disable all apps that are active by default and that are of no use to you. Especially some of the pre-installed Motorola apps. Alternatively a clean custom ROM may be an option. Anyway do you have a way to measure the audio latency or is everything up to your subjective recognition?

@Robert I'm going by ear.  Do you know a custom ROM that you would recommend for this?


text:
Backup app data from Android 4.1.1
I need to backup app data (some games) from Android 4.1.1 (Xiaomi Mi2S) and than restore them on Android 9 (Xiaomi Mi9T). I have tried using adb backup, but current version is not compatible with Android 4.1.1 (creates 41 bytes file). When I tried using older ADB (as suggested here: link), I couldn't get adb devices to recognize my device.
Is there any way to backup app data without using adb backup? I have access to root on Android 4.1.1 but not on the new Android 9.0

Have you tried using Helium app?

@Firelord Thanks, it actually worked, I had to find APK online, as the one on Play Store won't install on Android older then 5.0, but than it worked flawlessly.

@Firelord one of you two should write up an answer :)


text:
How do I switch from swipe-up to tap in order to answer a call?
I have a UMX phone running Android 8.1 Oreo. For some reason, I can't always answer an incoming call by swiping up. I do it several times, and the little green circle moves up with my finger, but then back down again and the phone keeps ringing, and I miss the call. Then sometimes, it does work, and I swipe up once and I answer the call.
I can't figure out what is the problem if I'm doing something wrong sometimes, or if it is a glitch in the software or a screen sensitivity issue, I don't know.
Could it make a difference if my finger is cold or dry? Sometimes my hands are cold, sometimes dry, sometimes sweaty. Does it matter how much pressure I apply to the phone when I swipe up?
Is there a way to switch from swipe-up to tap in order to answer a call? I could not find anything in settings that had to do with answering a call.

Please mention your device name and android version. If you're using your stock dialer application, it doesn't have any glitches or touch issues as it is mostly bugless. Touch screen with wet/sweat hands, may create a less response with screen. It maybe due to this reason, evenif you answer the call, it will get back and continue ringing.

You can try other dialers from Play Store, but I don't recommend that, because those may have some security issues. If you're trying, you need to set that app as default from settings application.


text:
no more space on device while writing to exFAT folder on MicroSD card
    JasonR:/ $ su
JasonR:/ # cd /stor*/emu*/0/WhatsApp
JasonR:/storage/emulated/0/WhatsApp # cd Media
JasonR:/storage/emulated/0/WhatsApp/Media # ls -al *.jpg
-rwxrwx--x 1 root everybody 506827 2019-02-22 11:42 DSC_20190102_130645.jpg

## I cant' move a regular file in whatsapp Images folder
cp DSC*.jpg  "WhatsApp Images"
cp: cannot create regular file 'WhatsApp Images/DSC_20190102_130645.jpg': No space left on device

## Neither can I create a 0 byte file.
JasonR:/storage/emulated/0/WhatsApp/Media # touch 1.jpeg
JasonR:/storage/emulated/0/WhatsApp/Media # cp 1.jpeg "WhatsApp Images"
cp: cannot create regular file 'WhatsApp Images/1.jpeg': No space left on device

## du command o/p
du -sch "WhatsApp Images"
2.0G    WhatsApp Images
2.0G    total

## Df command o/p. The BindFs between internal storage and SD Card can be seen.More details in Mount o/p below
JasonR:/storage/emulated/0/WhatsApp/Media # df -h "WhatsApp Images"
Filesystem                       Size  Used Avail Use% Mounted on
/mnt/media_rw/76B2-B58E/WhatsApp 109G   65G   45G  60%

## I m listing top 5 elements in that directory
JasonR:/storage/emulated/0/WhatsApp/Media # cd "WhatsApp Images"
ls -al | head -5

   <
total 3962688
drwxrwx--x  5 root everybody  2097152 2019-07-29 14:32 .
drwxrwx--x 13 root everybody    32768 2019-07-29 14:44 ..
-rwxrwx--x  1 root everybody    95402 2019-01-13 01:50 IMG-20150526-WA0005.jpg
-rwxrwx--x  1 root everybody   161097 2019-01-13 01:55 IMG-20150711-WA0000.jpg

## I can move up and restore a file within the WhatsApp Images folder.
/storage/emulated/0/WhatsApp/Media/WhatsApp Images # mv IMG-20150526-WA0005.jpg IMG-20150526-WA0005.jpg.old
/storage/emulated/0/WhatsApp/Media/WhatsApp Images # mv IMG-20150526-WA0005.jpg.old IMG-20150526-WA0005.jpg
/storage/emulated/0/WhatsApp/Media/WhatsApp Images # mv IMG-20150711-WA0000.jpg ../
/storage/emulated/0/WhatsApp/Media/WhatsApp Images # mv ../IMG-20150711-WA0000.jpg .

## Just <16.5K files totally. ExFat Limit is 2,796,202 per dir
/storage/emulated/0/WhatsApp/Media/WhatsApp Images # ls -alh | wc -l
16387
JasonR:/storage/emulated/0/WhatsApp/Media/WhatsApp Images #

## MOUNT command output
mount | grep -i "Whatsapp"                                                     <
/mnt/media_rw/76B2-B58E/WhatsApp on /mnt/runtime/default/emulated/0/WhatsApp type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0006)
/mnt/media_rw/76B2-B58E/WhatsApp on /storage/emulated/0/WhatsApp type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0006)
/mnt/media_rw/76B2-B58E/WhatsApp on /mnt/runtime/read/emulated/0/WhatsApp type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0027)
/mnt/media_rw/76B2-B58E/WhatsApp on /mnt/runtime/write/emulated/0/WhatsApp type sdcardfs

    (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0007)
    JasonR:/storage/emulated/0/WhatsApp/Media/WhatsApp Images #

    .

## Going into Images directory directly without a bindFs link  & creating a 0 byte file Fails
JasonR:/mnt/media_rw/76B2-B58E/WhatsApp/Media # cd "WhatsApp Images"
    touch 1.jpg
    touch: '1.jpg': No space left on device

    JasonR:/mnt/media_rw/76B2-B58E/WhatsApp/Media/WhatsApp Images #

## Now I 'll list some jpg's
    JasonR:/mnt/media_rw/76B2-B58E/WhatsApp/Media/WhatsApp Images #
    ls -al *.jpg | head -5
    -rwxrwx--- 1 media_rw media_rw    95402 2019-01-13 01:50 IMG-20150526-WA0005.jpg
    -rwxrwx--- 1 media_rw media_rw   161097 2019-01-13 01:55 IMG-20150711-WA0000.jpg
    -rwxrwx--- 1 media_rw media_rw   183103 2019-01-13 01:53 IMG-20150711-WA0002.jpg
    -rwxrwx--- 1 media_rw media_rw   170516 2019-01-13 01:55 IMG-20150711-WA0003.jpg
    -rwxrwx--- 1 media_rw media_rw   190117 2019-01-13 01:55 IMG-20150711-WA0004.jpg

## I can move a file inside that folder 1 level up && after moving it , it WILL let me create an additional file
    mv IMG-20150526-WA0005.jpg ../
    touch 1.jpg

## Now with that additional file created I will move back the original file  It will REFUSE this unless I delete the additional file I just created
                                                                       <
    mv ../IMG-20150526-WA0005.jpg .                                                <
    mv: cannot move '../IMG-20150526-WA0005.jpg' to './IMG-20150526-WA0005.jpg': No space left on device
    JasonR:/mnt/media_rw/76B2-B58E/WhatsApp/Media/WhatsApp Images #

    JasonR:/mnt/media_rw/76B2-B58E/WhatsApp/Media/WhatsApp Images #
    rm 1.jpg
    mv ../IMG-20150526-WA0005.jpg .

##sounds like it cares about the #files . Issue is not space related
exFAT
file  system is supposed to allow more than 2 million files per folder.
so just to give you an idea of my situation.

as is well known WhatsApp will not let you specify where to store its huge volume of media and database files i.e.
WhatsApp  folder in  user internal storage. so I have to use a bind approach to link to a folder on my exFAT MicroSD card with the same name.
all was well for almost 2 years and all of a sudden out of Nowhere I had the situation where  WhatsApp images
i.e. the "WhatsApp Images" folder ( WhatsApp/Media/"WhatsApp Images")
will simply refuse to accept any more jpg from WhatsApp
if I un-bind this relationship and have everything downloaded on my internal memory the jpg's & other media are downloaded just fine.  but internal storage is crammed - I don't have space.
binding does not cause this to happen to other media i.e. video documents etc.  this only happens to images folder and presumably that is related to large number of image files already in that folder.  exFAT does not have such a low ceiling for number of files you can put in a folder.   also just to complete the picture, I can write to any other folder on that micro SD card through binding on internal storage
what I did

renamed this folder ( folder.old )and created a new folder and moved  all files into that new folder also called 'WhatsApp images' and after about a week the same issue crept up on this new folder
since most of the space is hogged by videos , I created a bind only for video folder ( WhatsApp videos) everything else could go to internal memory.
 the result was videos could not be downloaded. so I could bind only the parent  WhatsApp  folder lock stock subfolder approach fails

so my questions are:

exFAT  does not have restrictions for such a small number of files in a folder what is causing this issue.
on command line it shows up as no more space available

I have attached screenshots of my terminal emulator
why does in subfolder approach not work. I'd assume that has to do with temp files created elsewhere while you download the video and then they have to be joined some place on the same partition and so the binding does not work  . if at all this is in fact true then where does WhatsApp store temporary files before it joins them so this temp folder can also be linked through a bind relationship

In your screen shots I see mainly the path /storage/emulated/0 which is not your sd-card and therefore not an ex-fat system. Anyway your screenshots are confusing me as they are too large and show only a very small region. Please paste terminal output as text and not as image.

ok I will connect the phone on ADB shell  and then post output. BRB in a few

Ok I removed those obscure screens and added text output with explanation about whats happening at every stage. TY  .

I don't use WhatsApp but this worked for fat32 on android 7.0 with selinux permissive and disabled namespace separation, but maybe WhatsApp Version has "patched" something. do you have maybe disc quota enabled? at least try with ext4 (with Link2SD you can view the paths of cached temp files)

I believe namespace separation is already on on my magisk . there are three options isolated  inherit root from requestor namespace and global namespace. the second option is on. I am using app2sd Mount feature. what the output shows is even if the the folder is dismounted & attempt made to write to the the MicroSD card ( exFAT)  folder the same error  comes.  if I I move one file then I can add additional file and I can always rename files there is no restriction for the latter if you see the use cases above. I Wonder What is causing this because AFAIK remember

if I load that card on my PC and try to write to that folder I will be able to do that. this happens only e on Android

understand selinux has badly bitten you in the past but I do not think it is responsible for these situations because I can write to that folder if I remove files and that is is the irony. about quotas being enabled . that would be for local internal storage folders but for MicroSD card folder which is link by any bind relationship, it happens onone the less

i believe there must be something in dmesg/logcat logs, but you need some expert knowledge for analysis

ok finally some light @ the end of a dark tunnel. The whatsapp setting to make "media visible on device ' was turned on. No sooner it was turned off - the  SD card did permit writing ( but from whatsapp  app ) so I could download images  with the bind turned on. still no explanation as to why 1) it happens just with Whatsapp Images (not vids docs etc ) 2)shell still cant copy to this dir 3)su shell can RW 1 file to dir after deleting existing but no new ones allowed. Prolly all this is part of that 'selinux' sea after all. will Someone complete this last part of the jigsaw for me ?

so I could get it work with the above approach  but falling short of understanding  WTH is happening behind the scenes.So far..so good.

for testing purposes, set namespace separation to global, or set selinux permissive. it may give you a hint in which direction you have to dig in more? can't help you with this, i have no explanation for such strange behaviour

Just for a new SD card and I am using ext4 but mount namespace was already set to global


text:
Create shortcut to Google Location Accuracy setting on Nova Launcher
Is there a way I can make a shortcut on Nova Launcher so I can go straight to Google Location Accuracy setting other than go through a shortcut to location and hit Google Location Accuracy and Flipper switch?

Press and hold on free space on home screen. Then it will display three options, home settings, widget and wallpaper.
Tap on widget, and scroll down to select settings app icon, and drag it to home screen.
It will open a screen which ask for specific settings, select Location from it.

After that you can move to location settings just tap on that widget.

thanks that really helps me out but I needed to go straight still location accuracy (picture)because that's the GPS and I want to be able to turn off the GPS I after say I use Uber or something instead of going through all the settings and you know if you're in a hurry as you're probably geusing. I'm using law Nova launcher so maybe that might give you an idea of where I need to go I found one thing in the settings reset location actor see when I pressed it and creative the shortcut he just went straight to the location so yeah man

HUAWEI P20 LITE NOvA E3


text:
CamScanner: Trojan detected by ESET
I usually use CamScanner to scan my documents. After updating to the last version, ESET told me I have to remove it, because this app has Trojan and it can provide remote access to the infected device. That was strange for me, and I think it's not correct. Anyway, I'm not sure. Shall I really remove CamScanner?

Did you download it from the official website, or from Play Store? (Just a slight curious why they hosted their APK instead of linking it to Play Store...) Anyway, VirusTotal for their latest APK from their site only mentioned ESET, but looks like the bundled ad might contain trojan.

Uninstall the app. Google Play Store has removed it, and the company behind the app itself has accepted that an ad module was acting as a trojan. The latter claims that their new version available from their website is free from that trojan though.

It seems that if you use version 5.12.5, that would be fine and there is no need to uninstall the app. Otherwise, you can update it to the latest version from here.


text:
Having trouble powering up my phone with another power source
I am having a bit of trouble powering my phone I got a Lenovo A7000 plus which is the same as K3 Note version and this phone uses BL243 battery
Here is some information about the battery
Typical Capacity: 3000mAh/11.40Wh
Nominal Voltage: 3.8V
Limited Charge Voltage: 4.35V
and also I have a USB charger 5.0V 1.5A, I used the charger with another K3 Note phone I had, and I used it to power it up (using wires in place of the battery) it looked like it was all fine even after that when I connected the device to my pc it detected the device just fine also the k3 note's screen is damaged soo it won't show anything on it just boots up
so I wanna know is it possible to power my working A7000 plus with that charger using wires instead of the battery without destroying it

Related or possible duplicate: Is using chargers of phone not meant for it harmful to the battery?

@ReddyLutonadio But does that apply to A7000 plus/K3 Note?

@ReddyLutonadio also sorry i missed the most important part i am trying to use the charger as in place of the battery using wires


text:
sim processing error please help
error pops up right before shutdown and right after powerup but only for a second then goes away. phone seems to work okay but what is this? how do I fix this?

You shouldn't worry about it too much unless it was lasting too long. When you switch your phone on or off, the SIM is not detected yet (when switching on) or no longer detected (when switching off), that's why you get the error message. When it is detected and connected to your service provider, the error disappears.
If the error becomes permanent, then you will know that your SIM card probably is faulty and should be swapped to a new one.

thank you for the answer I really appreciate it Reddy

@dustin If and only if the answer is satisfactory, take the tour on how to you can mark it as accepted and/or upvote it.


text:
How to remove/hide "Likee Videos" from imo main menu?
As shown in the picture below, Likee Videos appears between stories and recent chats? How can we get rid of Likee videos, so that it doesn't not appear there?

Go to settings
Then you can see " Function"
Click it turn off likee vedio

I went to setting and i have not seen "Function"


text:
Android twrp; Z5 compact; trying to find the recovery image to backup stock images
I am Trying to backup the recovery image on my phone, before I want to try out twrp and custom rom options. I got adb and fastboot working and the phone is unlocked. I can boot into the TWRP image for the Z5 compact.
now I would expect with running /dev/block/platform/*/by-name/, I would be able to figure out the recovery block, but I get the following output:
[user@dine CustomAndroidRom]$ adb shell
~ # ls -l /dev/block/platform/soc.0/by-name/
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 DDR -> /dev/block/mmcblk0p7
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 FOTAKernel -> /dev/block/mmcblk0p32
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 LTALabel -> /dev/block/mmcblk0p2
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 aboot -> /dev/block/mmcblk0p27
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_aboot -> /dev/block/mmcblk0p28
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_hyp -> /dev/block/mmcblk0p12
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 alt_pmic -> /dev/block/mmcblk0p5
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_rpm -> /dev/block/mmcblk0p26
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_s1sbl -> /dev/block/mmcblk0p20
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_sbl1 -> /dev/block/mmcblk0p16
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_sdi -> /dev/block/mmcblk0p22
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 alt_tz -> /dev/block/mmcblk0p24
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 apdp -> /dev/block/mmcblk0p8
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 apps_log -> /dev/block/mmcblk0p38
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 boot -> /dev/block/mmcblk0p29
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 cache -> /dev/block/mmcblk0p41
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 config -> /dev/block/mmcblk0p36
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 devinfo -> /dev/block/mmcblk0p35
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 diag -> /dev/block/mmcblk0p39
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 dpo -> /dev/block/mmcblk0p10
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 fsg -> /dev/block/mmcblk0p13
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 hyp -> /dev/block/mmcblk0p11
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 keystore -> /dev/block/mmcblk0p34
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 limits -> /dev/block/mmcblk0p6
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 misc -> /dev/block/mmcblk0p33
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 modem -> /dev/block/mmcblk0p3
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 modemst1 -> /dev/block/mmcblk0p17
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 modemst2 -> /dev/block/mmcblk0p18
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 msadp -> /dev/block/mmcblk0p9
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 oem -> /dev/block/mmcblk0p40
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 persist -> /dev/block/mmcblk0p31
lrwxrwxrwx    1 root     root            20 Mar  2 20:57 pmic -> /dev/block/mmcblk0p4
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 rddata -> /dev/block/mmcblk0p37
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 rdimage -> /dev/block/mmcblk0p30
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 rpm -> /dev/block/mmcblk0p25
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 s1sbl -> /dev/block/mmcblk0p19
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 sbl1 -> /dev/block/mmcblk0p15
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 sdi -> /dev/block/mmcblk0p21
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 ssd -> /dev/block/mmcblk0p14
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 system -> /dev/block/mmcblk0p43
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 tz -> /dev/block/mmcblk0p23
lrwxrwxrwx    1 root     root            21 Mar  2 20:57 userdata -> /dev/block/mmcblk0p42

which does not list the recovery drive, is there another name for it? Should I look for another way to find the recovery image?

Xperias have a recovery-in-boot arrangement. The recovery should be within the kernel / boot .img. For which TWRP does not usually utilize.
Source TWRP, pick any Xperia model your device is not officially supported.


text:
Connecting Micro USB keyboard to a Type C device
I've recently purchased a micro USB smartphone keyboard (image below).
The problem is, I'm using OnePlus 5T which has a type C USB port. I've already tried micro to type C adapters, but those didn't work.
Is there any way to make this keyboard work with a type C device?

Have you enabled USB OTG in your settings directly before connecting the keyboard (On the OnePlus it seems to be automatically disabled after some minutes if you don't use it)?

Tried it, didn't work unfortunately (assuming you meant the OTG Storage option)

Just bought the same android keyboard and experiencing the same issue. I tried to connect it to my old tabled which has original female micro USB and it worked on it but with the type c, it does not even recognise it. I'm going to try a couple of other adapters at the tech shop before start thinking about changing a cable on it.


text:
In Google Chrome for Android, how to remove permanently all the visited pages icons - or restore all the removed ones
I want to have a clear new tab page in Chrome so that I don't get suggestions on what to browse. For that reason I pressed each of the icons on it and remove them. However new ones keep appearing all the time.

I looked everywhere in Google and played with the chrome://flags but they keep appearing all the time.
For that reason I would like one of the following options:

make sure I have a clean new tab page with no icons of websites at all. Or in case this is not possible
to revert all the removals so that at least I see the pages I like the most but where removed (I didn't clear my browsing history because I have kept it for years and I'd like to keep it)

Also I've uninstalled the Chrome app but didn't help.

As an alternative, if needed be, you can use Kiwi browser (Chromium based) which doesn't show the visited site icons at all.

I'd like to stick to Google Chrome but if I don't find the way then I'll consider alternatives


text:
How to display truncated text?
Often, a text item is too long to fit the screen, and it gets truncated with three dots (like this: …). How can I access the hidden part of the text?
(I tried turning the phone to rotate the display, but it seems to not be a feature of this phone.)
(Sorry for the newbie post. I searched Google and this forum but failed to find anything relevant.)

Auto-rotation can be enabled in the settings: Settings > Display > Screen rotation. Turning the phone then displays text fully.


text:
Connecting a headphone to an Android via bluetooth
Please excuse a novice if the following questions are too simple are even stupid.
Question#1 As far as I know, *.aac generally achieves better sound quality than *.mp3 at the same bit rate. Even if I have an *.mp3 converted into *.aac, the sound quality will not be better. Is that correct? If it will not, why some take the extra effort in making such conversion?
Question#2 When I rip a CD track, I can choose the resultant format in either .mp3 or .aac. Is that correct?
Question#3 Suppose that both my phone and my headphone support {SBC, AAC, aptX}. How do they match? Do I have a choice to ask for a specific connection? [A simple answer (that does not include too technical info) will do.]

A rather simplified explanation of lossy and lossless conversion.
Images: BMP and PNG are all lossless image formats. JPEG and WebP are lossy image formats. JPEG/WebP discard quality to become smaller. How? say a background is all black lossy duplicates RAW Data over the entire pic once rather than a continuous representation of 9 zeros. Instead 8 are missing but are still represented by the digit 9. MP4, WMA are lossy conversions for film, usually used for the Web, creating a small compact file using the fore mentioned data loss, by replicating the background rather than leaving it RAW.
Audio conversion:
WAV, is a container file often used to contain lossless audio, although it is capable of containing lossy audio.
FLAC is lossless, MP3 is a lossy audio format.
Lossy audio files use the same premise as JPEG/WebP,MP4 WMA image conversion; 9 zeros can be compressed by discarding/throwing out 8,then using the digit 9 to represent all the zeros. Lossless files contain all 9 zeros and fit into the file size with out discarding/throwing out any of the zeros representing the RAW data.
Ex< a FLAC file only supports 24 bit audio conversion. A WAV 32 bit PCM audio file converted to FLAC would result in discard/throwing out some data.
ACC/MP3 like FLAC and MP4/WMA are lossy. No lossy Audio format is great according to my Audiophile roommate, I don't really hear a difference in quality between lossy and lossless other than decreased volume in the prior mention format. In Film it's clearly evident by poor quality in movement/pixilation.
I hope I haven't confused you more, LifeHack or howtoGeek.com have a plethora of info on this one format VS format/conversion.
As for your Bluetooth pairing/compatibility query. 4.0 needs to pair with 4.0 and so on. Follow manufactures pairing instruction. Ex; Its a myth that BEATS SOLO 3 wireless won't pair to Android devices and pair only to iPhone, simplifying it they discover one another because the "pairing Frequency" is the same, as in  4.0 to 4.0
https://www.howtogeek.com/200698/benchmarked-whats-the-best-file-compression-format/
https://www.bing.com/search?q=geek.com+audio+and+film+compression&FORM=AWRE1
https://www.reference.com/Bluetooth Pairing
Author: Chris Hoffman

PS by no means am I an expert, I've researched  the web to provide you with this explanation. Hopefully following StackExchange guidelines.

Though not answered all of my questions, did give an analogous comparative view to clear some of the doubts. (+1)


text:
Change the splash screen on moto e4 plus owens
I was rooting my device and I screwed it up but I got twrp to runs and I installed Lineage OS. But after I restarted my device, there is a tiny n/a in the corner until the Lineage's logo appears. I searched for a while but came up dry. It's not that bad but I would like something else to be shown instead of n/a. Thanks for any help.

So I downloaded the zip file and in the menu selected moto e1/2 and I added an image and I transferred the zip to the phone and then tried to flash it and it spit up error code 6

There are two ways of doing it, but both methods will require some files.
Method 1: fastboot

Aquire a splashscreen file in the format of '.bin'. You can either search for
splashscreen .bin files made for your device, or find a tool that allows you to convert and image to a splashscreen .bin.
Put your phone in bootloader mode manually or with adb:

adb reboot bootloader

Flash the new logo to the device:

fastboot flash logo filename.bin

Method 2: TWRP

Install TWRP as your bootloader (in your case you already have)
Aquire a zip file specifically crafted for your device to flash a splashscreen logo*
Copy the zip to your phone via OTG or SD-card and flash it with TWRP

*Note: as far as I've seen the zip file only needs to contain three files:

META-INF/com/google/android/update-binary
META-INF/com/google/android/updater-script
logo.bin OR splash.bin OR logo.img

But they have to be specifically crafted for your device, and in order to do that you will need a tool. See this XDA thread to find a guide with tools for your device.
Edit: I checked the thread for your phones product line, it looks like the E4 Plus is unsupported, at least nobody has added support for it here. You might need to look elsewhere for a tool that can make images for your phone.


text:
WiFi and Bluetooth not working on android-x86_64-8.1-r1
I have install Android (android-x86_64-8.1-r1) on my HP Pavilion G4 Notebook PC. For few months, it worked very well (except Bluetooth). But now it can't see Wi-Fis around me and the Bluetooth didn't worked from the installation. I have tried a previous version (android-x86_64-7.1-r1) and PhoenixOS (based on Android-x86) but the same problem. Is there any solutions?

A log would help if you could throw the command adb logcat -v long and paste it to pastbin or some other such site and then edit your question with the link.

@BoLawson How can I throw the command? I have tried to executing adb logcat -v long on terminal emulator. But it show a error message /system/bin/sh: adb: not fonud

From a terminal emulator you are throwing commands from a shell. Soo, just remove the adb part and only throw logcat -v long. All should be good and you can keep on trucking.


text:
"Failed to delete" message when deleting files from SD card
I use smartphone with Android version 5.1.1 Whenever I try to delete files (videos, images, ebooks, etc) from my SD card I get the "Failed to delete" message. I looked for the solution to the problem online but didn't find the matching. What I tried was I unmounted my SD card and mounted it to my PC. Then I ran cmd as administrator and tried these commands in order:
diskpart
list disk
select disk 1 (which pointed to my SD card)
attribut disk clear readonly

It didn't work out.
What do you suggest to do?

It happened to me atleast 2 or 3 times alraeady. I did not manage to recover it since it's in readonly. If DISPART did not cut it, there's no other way I think.

It's a very common problem for less reputed SD cards. It can be fixed by doing a full format on the SD card. (Not a quick format because it doesn't check for bad sectors or data redundancy errors). Don't forget to keep a backup before formatting.


text:
how to mount internal NTFS
I have a Chuwi hi10 plus.  It is a dual boot windows 10 / android 5.0 tablet that I put on TWRP 3.0.2 rooted it and a custom Lineage OS  Marshmallow 6.0.1 ROM on from Konstakang.com
Chuwi tablets have a funky inability to boot from USB because have a UEFI boot system....  I need to change the Windows password and there is a sticky keys method to copy cmd.exe over sethc.exe and then use the net user command once the command prompt is opened.
I have installed termux and updated the packages and installed tsu for true root access to the filesystem.  But . . . the termux mount does not produce a string of its version from mount -V and while mount -t ntfs /dev/block /mnt/xxx command does not give an error - where I have done a mkdir /mnt/xxx it does claim "no such device". I have used the exact device I know is the windows partition which is ntfs from a "cat /proc/partitions" command
"ntfs-3g" does  not recognize as a command at all, and I even tried the mount_nfsd_fuse setup from https://forum.xda-developers.com/android/general/guide-mount-internal-windows-partition-t2978679  It must need a touch or something because the file is in /system/xbin but says command not found even invoked as root from that directory
The kernel was compiled from source for the ROM by Konstakang so I do not know if ntfs support is in it ... is there a way to check and / or does anyone have a suggestion how to get that partition mounted rw as ntfs internally ???
The Paragon Ntfs rw mounter that is supposed to work with Total Commander has not appeared to operate as pics show it or once did

How did you place the mount_nfsd_fuse in the/system/xbin folder? Also does the command have the right permissions?

Yes it is in /system/xbin and I changed permissions to 755 using Total Comander

I am wondering if the mount_nfsd_fuse driver is for ARM - and my tablet is x86 Cherry Trail

Did guide did you follow all the steps in order? 1. Download the mount_nfsd_fuse file from the download link provided below or here
2. Place the the downloaded file in the /system/xbin/ folder using a root enabled file manaager, eg. ES File Explorer, Root Explorer and and change to approriate permission.
3. Open Terminal ( If no terminal app installed, download one from Google Play), and obtain Su permission.
4. Mount the NTFS partitions using the code for example :
mkdir /storage/D
mount_nfsd_fuse /dev/block/sda2 /storage/D
format : mount_nfsd_fuse /dev/block/(partition) /(mount point)

Also maybe from a root shell chmod the permissions from the command prompt instead of the file explorer.

Yes I did all of that - I am an old Unixware Engineer and I got to the bottom of this ... see answer below

I gave up on the mount_nfsd_fuse driver because the ntfs-3g driver uses fuse also and has proprietary kernel hooks in it.  It comes installed from I believe the Ntfs ULB mounter
this is a permission and file issue between two different mount files not in the path when the termux tsu command is the root super user command invoked.  termux is screwing the pooch And the help text of the driver is wrong also
Despite what the help text of the tuxera driver says the format is mount.ntfs /dev/block/xxx /mnt/xxx Not ntfs-3g
so after mounting I get "unsupported reparse point" errors but it does mount the partition as rw
see https://bugzilla.redhat.com/show_bug.cgi?id=1377049 and then https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html
See https://groups.google.com/forum/#!topic/android-x86/HyPx8fr_kwc
here is the working one . . .
|root@chuwi_vi10plus:/ # which mount
/system/bin/mount
does work as mount.ntfs
root@chuwi_vi10plus:/ # exit
whereas this below does not work from the termux mount file
$ tsu
which mount
/data/data/com.termux/files/usr/bin/mount
exit
exit
$
which mount
/data/data/com.termux/files/usr/bin/mount
does not work
see again for how I figured this out https://groups.google.com/d/msg/android-x86/HyPx8fr_kwc/k1LDJ9jwBgAJ
Here is how you know it's working but the usage instructions are wrong   OH JOY
oot@chuwi_vi10plus:/mnt/hold/Windows/System32 # mount.ntfs
ntfs-3g: No device is specified.
ntfs-3g 2015.3.14 external FUSE 29 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2015 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage:    ntfs-3g [-o option[,...]]
Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
News, support and information:  http://tuxera.com
Correct Example IS
Example: mount.ntfs /dev/sda1 /mnt/windows

Good stuff unioncos.

It should also be mentioned this driver above is 3.14 which is too old fron windows 10 ntfs which uses compression that causes the reparse erros. A plug in is needed against ver 3.23 or better you may need to build yourself from  https://github.com/ebiggers/ntfs-3g-system-compression but at this writing it is read only at the moment


text:
Gooluck wins app is missing from google playstore
I installed GooLuck Wins on my previous phone but it was stolen. I got a new phone but I can't find the app on Play Store. Even after I signed into my Gmail account, the app is not still reflecting in my Play Store. I tried re-installing but it says 'item not found'. Please what do I do?

According to AppBrain, that app was unpublished from the Play Store on June 9, 2019, so that's why you are unable to find it in Play Store. Also, I couldn't find a trustworthy place to download its APK from, so can't recommend any non-Google app store.
In the future if you ever come across this situation again with any other app, do a Google search and visit appbrain.com links if they are listed in the search. This site is helpful to get status of an app available in the Play Store, including unpublished ones.

I forgot to add that I am not affiliated with the website concerned.


text:
Htc one A9 firmware flashing problem
Htc one a9 (model: 2PQ9100) see the error below i'm facing please help me i am very upset
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.047s]
finished. total time: 0.048s
C:\adb>fastboot flash zip firmware.zip
target reported max download size of 1166400000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
sending sparse 'zip' (1139061 KB)...
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
OKAY [ 53.554s]
writing 'zip'...
(bootloader) HOSD CL#853511
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_z
(bootloader) EOonp
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) end@Done
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 91.572s

Is your bootloader locked?

ye its locked and S on.     i aslo use the match Cid HTC__J15 and version is also not down it upper than previous.

Is fastboot up to date? Also what type of OS is your computer using?

sir my software of mobile is not working only htc logo appear on white (as power on) screen then hide after few seconds. i am using windows laptop window 10.

i tried all  adb, fastboot applications all result's are same

Htc has fastboot bineries on there developers site have you tried those? Oh your .zip file is most likely corrupt with that error 22... "22 RU_HEADER_ERROR: something wrong with your zip; check md5 of download"

i don't have too much knowledge about it i tried so many zip and ruu.exe file but none of them work,, PLEASE give me correct one link that i will do. Ask me if you need any info about HTC ONE A9 to installing stockroom on it.

Make sure that you have the correct MID, CID and version-main and that it matches the ruu.zip. you can get that info from fastboot getvar command. Her is a bunch of ruu's for your device make sure you get the correct MID, CID and version-main from your device and that it matches the ruu.zip.
https://forum.xda-developers.com/one-a9/general/wip-ruu-htc-one-a9-t3240344
Here is htc_fastboot version:
https://androidfilehost.com/?fid=24052804347805953 if successful or whatever I will/can write up an answer to your question and how to do it.

i do it with match MID, CID and main version of it also same HIA_AERO_UHL  with this room (2.17.401.2 RUU HTC Europe
modelid: 2PQ910000
cidnum: HTC__001
cidnum: HTC__034
cidnum: HTC__J15 (for my device)
cidnum: HTC__M27
cidnum: HTC__A07
cidnum: HTC__016
cidnum: HTC__002)

Tell me what should i do now HELP ME PLEASE

Use the command fastboot getvar all edit out the
(Bootloader) serialno:
(bootloader) imei:
(bootloader) mei:
Then edit your post adding the rest of the information from the output and i will give you an answer.


text:
How do you keep Mobile Hotspot on During sleep?
I have a Nokia 3.1a (from Walmart), and it appears to be basically running stock android. Overall it seems to work well other than two annoyances. Can't go back to 3 buttons, stuck with gesture interface. And the annoyance that this thread is for. The mobile hotspot feature works as long as the screen is turned on.
As fun as it is setting the screen to time out after 30 minutes, I would love it, if it would stay on while the screen was off. I thought maybe the wifi chip was turning off. Google has hidden the "wifi on during sleep" setting, so using ADB I can confirm that wifi_sleep_policy is 2 (always on).
Also, under advanced settings, I have the timeout if no devices connected set to "never".
Any help would be appreciated!

And, It looks like I found the solution. It appears that when the screen is off, Wifi was scanning. Since Wifi can't be turned on when the mobile hotspot is turned on at the same time, it would stop transmitting the hotspot signal.
Solution:
Settings>Network & Internet>Wifi>Wi-fi Preferences Turn off Automatic Connection to AT&T Wifi Hotspot.
Settings>Network & Internet>Wifi>Scanning Settings Turn off Wi-Fi Scanning

Thanks for pointing me in the right direction. In my case, I had to also turn on "switch to mobile data automatically" under wi-fi preferences.


text:
Twrp recovery for mtk6763 (a/b) infinix note 5
Please i need help so much.
My device dont have developers, and we don't have any custom recovery for this device, i don't have any idea to port twrp since recovery included in boot.img, also i don't know anything about compiling from source, i finind smaller guide to port but didnt find tool working well.
So please if someone may help to build or port.
There kernel source available for our device but no device tree.
Thanks so much

I recommend following this tutorial to create a ROM dump of your device. Take the recovery.img from that dump and create a TWRP using this.
If you already have the recovery.img you can proceed right to the second link.

please note tutorials are for older devices. i guess the question is more about this
https://android.stackexchange.com/questions/209673
temporary root shell may helpful to get a backup of stock boot/recovery ramdisk from device
https://forum.xda-developers.com/android/development/amazing-temp-root-mediatek-armv8-t3922213

That's true the TWRP Porter only goes up to Oreo. There is further information on what to do if you have a more recent Android version. They also have a great support forum at Hovatek. If it's root your looking for you can root without TWRP. I've done it with Magisk: https://forum.xda-developers.com/android/software-hacking/root-recovery-root-device-magisk-t3779454 but you would still need the boot image. The first link above can help you get that.


text:
Why does an app have a different icon on my actual phone vs on Bluestacks and its Desktop Icon?
Why does an app have a different icon on my actual phone vs on Bluestacks and its Desktop Icon?
The icons do work, and are related to the app they're for.
The app is "Eternal Senia: Hydrangea after the Rain".
It's free, so you can check for yourself if you want.
The icon on my phone is Senia's head, while the one for Bluestacks is Rita's.

There are two main reasons why an app shows a different icon:

Some apps provide different APK files for different platforms. Different APK files means that of course not only the code but also resources like images can be different. However it seems like the app you mention is only available in one version.
An app contains images and icons for different device resolutions. Therefore if the display pixel density (measured in dots per inch - dpi) of your actual phone and the Bluestacks VM differs you may see different images. How much they differ depends on what images has been created by the app developer.


text:
Clock resetting when battery is removed
Every time I turn off my phone and remove the battery the clock on it gets reset and it causes problem for some apps I was wondering if there is some other way to sort out the problem
like is it possible somehow with a script to rewrite the default time/date
or like to set the time/date before any app loads up

Have you enabled Automatic date & time?

@ReddyLutonadio that won't work if your phone is on the flight mode and it takes a while for it to update time and some apps just reset there license


text:
Albums disappears from gallery
Some time back I was asked by the PHOTOS app to move photos to my account. When I confirmed the same I have found to my dismay that they have been removed from my albums in gallery. Now how do I retrieve those photos back to my albums

Please provide more info. Which phone? Android version? Which photos/gallery app?

Sign into the google account that they were synced under initially when they were on the phone, or go to photos.google.com and sign in there to manage them.

Verify the photos are on your google account by going to https://photos.google.com. (sign in if needed) then verify they are there.
If they are then:
Go to accounts and sync.
add account.
allow 5 minutes to sync in background.
open accounts and sync and sync now by hitting menu or 3 lines/dots and hitting sync.
Update/install google photos app and then open it.
change account under the google photos app to correct account if needed.
See if photos are there, if not, after checking wait 3 minutes and check again.
Another option is too use the website to download all the photos to your sdcard by clicking on the "photos" section and then hitting the 3 dot menu in top right and hit "select photos", select the ones you want, then 3 dot menu again and hit download photos.


text:
Android file transfer without USB cable, pulling out the microSD card, or using 3rd party apps
My android phone's charging port died, so I am looking for a semi-convenient way to transfer files without using any 3rd party apps. Is it possible?
I already have an SMB share configured on my NAS, and a couple Windows computers. I have a WiFi network and a Bluetooth radio in my pc, but I'd much rather not use the latter as I've only seen abysmal transfer speeds from it.
P.S. I can still transfer files with the microSD card, but accessing it is onerous.
Fortunately, wireless charging still works on my Samsung Galaxy S8+

You don't want to use ES File exp or any 3rd party?

Bluetooth (Phone to PC)
Enable Bluetooth (BT) on both devices, tick the checkbox on phone to make it visible (Phone BT settings), pair phone to PC (PC BT Settings, add new device).
On Phone, View files in file explorer, if possible zip them, then share, send via bluetooth
On PC, run fsquirt, recieve files
On Phone, select your PC, and wait for the transfer to happen.
Tip: Laptops generally sit on their BT radios
Note: Bluetooth speeds vary depending on devices - a colleague's S10 transfers faster than my J7P
Google Drive (Phone to PC via Cloud)
This involves google drive or any other cloud storage provider as a middleman. Suitable if you have a Hi-Speed internet connection
Files By Google (Phone to Phone)
Note: This requires a second Android Phone, and assumes both came installed with Files (by google) - Mine did
On both phones, open Files, and go to Share
Follow the steps to setup your name and send files!

I've been pretty much using the via Cloud method, but my asymmetric internet connection limits the use cases.

Phone to PC could be FTP which NEEDS third-party apps. Also, you can set up a network and turn on wifi-hotspot on PC. then access the network by entering the PC's IPV4 at chrome and accessing the HDD. you can Also use Upload and Download things like Google drive and Uploadboy. Furthermore, you can use remote control apps like Teamviewer or Anydesk. Bluetooth is not recommended because it is hardly slow and exhausting. Personally I love FTP because it is safe and fast. You can use Easyshare app to Use FTP too.
But The best is to repair your charging socket ;)

Please elaborate on the wifi-hotspot part, and remove the rest.

As I said, turn wifi hotspot on, connect to it on the pc, then go on change adaptor settings and find your PC's IPV4 there (Google it if you don't know how). type the ip in your phone on a browser. And you get access to every folder that is SHARED on your pc. You can share folders by right clicking on them, going to properties, sharing tab and clicking on the share button.

My question specifies the phone needs to be able to send files to the folder on the pc. If would please update your answer accordingly? I know how to configure SMB shares on my pc.


text:
Connect Android to OTG cable and PC
TLDR: I'm wondering if it's possible to connect a android device to a device(lets say usb flash drive) while staying connected to the computer.
I'm developing a app that requires a ftdi chip to be connected to my device via USB. I connected a OTG cable and everything works just fine. The problem is that I want to do some debugging(i use android studio) and i need the PC connected to the tablet at the same time.
I tried multiple ways to connect to a adapter using a otg cable and normal cable
At this point i'm wondering if it's even possible to do that.

See How to debug in Android Studio using adb over WiFi

Thanks for the workaround.


text:
How to reinstall an uninstalled system app through ADB?
My phone is an unrooted Samsung Galaxy S7 Edge running Oreo 8.0. Yesterday when removing bloatware from my phone, I accidentally uninstalled a system app using the adb command:
pm uninstall -k --user 0

I suspect the culprit to be com.sec.factory.camera, as since that unfortunate event, the camera app crashes every time I try to launch it.
I tried reinstalling it using either of these two commands
pm install com.sec.factory.camera
pm install --user 0 com.sec.factory.camera

but they returned a "can't open non-file" error message.
I tried as well downloading the APK on my phone and installing it from Android, but at the end of the installation process, I got a "not installed application" message.
How to reinstall an uninstalled system app through ADB?

The app must still be there somewhere inside /system, so try finding its absolute location and  installing from there.

Technically, the command adb shell pm uninstall -k --user 0 <package_name> does not uninstall an app from the device. Instead, it just removes it from a user.
There are a couple of ways to get the removed app back to the user: one way is through an ADB shell with the command:
adb shell cmd package install-existing <package_name>

Or an extreme way would be through a factory reset of the device.

I get unkown command: install-existing

Depending on the OS/terminal, the command after adb shell and cmd might need to be enclosed with quotes.

I uninstalled the package com.google.android.partnersetup when I was going to uninstall other app. I couldn't recover it with Bo Lawson's method. Instead, I found this way:
pm dump com.google.android.partnersetup | grep Path

This gives us some paths. One of them is the one I'm going to use:
"codePath=/system/priv-app/GooglePartnerSetup"
Finally, I install the app which is in that direction. The app has the same name of the app folder, with ".apk" at the end:
pm install -r --user 0 /system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk

I hope this helps, but I don't know what exactly does this do.
My source: comment from Mac23.

For those circumstances when install-existing solution is unavailable the dandan657's method works. But I've found an easier way to look for the location of the existing APK. In ADB shell type:
pm list packages -f -u | grep <package name>

You will get the result in this format:
package:<full path to the apk>=<package name>

Example:
package:/system/app/Photos/Photos.apk=com.google.android.apps.photos

These are the useful optional parameters that pm list packages command accepts:
-f: See their associated file.
-d: Filter to only show disabled packages.
-e: Filter to only show enabled packages.
-s: Filter to only show system packages.
-3: Filter to only show third party packages.
-i: See the installer for the packages.
-u: Also include uninstalled packages.
--user <USER_ID>: The user space to query.

Tip: Using the above it might be a good idea to have variously filtered package lists saved for the future reference.
Reference: https://android-doc.github.io/tools/help/shell.html#pm

My way

Install Solid Explorer
Open Settings
Enable Root Storage
Back to main
Open hamburger menu
Select root
Go to system
Go to app
Search your app
Install it

I had the same problem with my Android 6 phone. On Android 6, the adb shell cmd ... commands are not available.
I fixed it the following way (needs root or custom recovery with full file system access):

Locate the APK file of the deleted package in the /system/priv-app folder
Move the APK file to a different location (e.g. /data/app)
Reboot phone
Move the APK file back to its original location
Reboot phone

I hope this can help others who also don't have Android 7 or newer.

Bo Lawson's answer has worked perfectly and is the best answer for those without root access, this is what I did:
Install the app again by:
adb shell cmd package install-existing <package-name>

Then uninstall it by:
adb shell pm uninstall <package-name>

Then install the app or its update from Google Play or from your browser.

I accidentally uninstalled the default file manager and then was unable to set shared dirs for new apps and other essential functions.
Once I found out the package name included documentsui, searching for that in App Manager (free, available on F-Droid) allowed me to just click a greyed-out listing, where it then asked me whether I wanted to reinstall it. Full functionality restored.
Hope that helps someone.

As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.


text:
Huawei P20 lite not recognizing external keyboard
I got this keyboard from China that has holder for a phone, but has USB-micro cable.
My phone (Huawei P20 lite) has USB-C, but that's not an issue, since I got usb-micro to usb-C converter. I tried to connect the keyboard through 3 different usb-micro to usb-C converters, but in any case the keyboard didn't work.
A friend of mine tried on Samsung S5(usb-micro) and S9(usb-c) aswell, using another 3 different usb-micro to usb-c converters. It worked well on S5 (usb-micro) but didn't work anyhow on S9(usb-c).
Tried aswell as downloading Swift keyboard (just in case it has any features) and
go to Settings > Language > Default keyboard > Input settings, but there was no options whatsoever.
I can't figure out what could possibly go wrong, while it's totally functionally working on all usb-micro devices and never on usb-c.
How to solve this problem, what to do about this?

I have the same with external keyboard, camera. It looks like the USB C Port does not support the extarnal interfaces, cannot supply. I have a small camera that lights automatically if connected to Samsung, but not on Huawei. Solution is iteressting for me also.
Have fun.


text:
How do you enable MTP on Android 8.0.0?
Developer options on. Select USB Configuration is MTP (Media Transfer Protocol). When I plug the USB into my Windows 10 computer it does nothing.

First of all, I'd check if the USB cable is actually a data cable, not a charging-only cable. Like, can other smartphones/devices be detected?

It had the charging icon while telling me that the usb cable was not connected so I already did switch out the cable to one that I know can handle data. Same thing. That's when I enabled developer options. Now if I do settings > "usb" I can pick between Connected Devices > USB (it's grayed out and says not connected even though it is connected) and Select USB Configuration under developer options, which when I go to that is a very long list of options but MTP is selected. But I still don't see the phone's file system in Windows Explorer.

Hmm, you didn't mention the phone model, but you'll probably also need to install OEM USB drivers for Windows. The Select USB Configuration in the Developer Options doesn't seem to always work though, based on my experience.

I tried it, along with a third usb cable but once they told me to navigate to the usb driver folder in the android sdk I stopped going down the rabbit hole. These are pretty extreme lengths to go to to transfer files. I'm pretty sure it used to work on this phone (motorola e^5). I guess I'll try another way LOL.


text:
My newly updated Droid rings at max volume even when ringtone is muted
I was forced to install a mandatory update (Droid version 9, Kernel version 3.18.91-16068741) for my Samsung Galaxy J7 around 2 weeks ago. Since then, there have been six (6) incidents where my phone rings EVEN IF MY RINGTONE IS SET TO MUTE. Is this a bug with the new update or did the change break a setting? As a last resort, how do I downgrade?

Does it always happens or from time to time?

It seems to happen randomly.

If you were updating from android 8 to 9 than in that case factory reset might be a good option, anyway in case of any update it might be a good to do a factory reset if it causes any problems.

Ugh...Did a factory reset yesterday and it just went off now. That didn't work :(

Did you restore a backup? Does the issue happen with a selected caller? Might be a case of some whitelisted contact that should be allowed to bypass silent mode?

Its most likely a bug, or an app overriding the volume, which can be changed in the apps settings. And if you want to downgrade, you will have to flash the os through adb with root permissions

@Rac3rZer0 flash the os through adb with root permissions - sorry but are you sure? I have never seen a device you could be flashed via adb. Usually this works totally different (fastboot, odin, mtk flash tools, ...)

Try using do not disturb, that usually helps by going to Settings > Sounds and notifications and check that the following are selected to how you want. There are two options:

Volume: To adjust the volume level for music and videos,  system sounds, call ringtones, and notifications.
Do not disturb: Mute incoming call and notification sounds, except for allowed exceptions.

For the Do not Disturb option, check that you are not leaving an exception for incoming calls before enabling because that could be one of the problems too.

Also, as a last resort like you said, you can also flash your phone using this well-explained guide by clicking the link here (don't mind the title, the process of flashing can either upgrade(which you don't want) or downgrade(which, of course, you want) ) which will provide all the resources you need to properly flash your phone.

REMEMBER: I am not responsible if you brick your phone if you follow these instructions incorrectly. MAKE SURE you select your correct device along with the correct ROM you want to use on the SamMobile website, meaning, since you want to downgrade, select a firmware other than the 9.0 Pie firmware, so an older one like one back in 2017. If you don't know how to use Odin, follow this link which will provide you with instructions of how to use it. ALSO NOTE: To avoid the stress of you permanently bricking your phone, install a custom recovery like TWRP, which will make life easier when you have to deal with a bricked phone.

I  hope these instructions were helpful and wish you the best of luck.
Cheers, Joe

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


text:
What is the meaning of "need access to: " in when we want to install an application?
Whenever we want to install an application from Google Play, the application will ask permission to access to some things. The number of permissions are different from one to another application. Below is an example of application that requests permission to access.
Then my question are, how that access work? Is the application will take our data for them? I.e: It ask to access images in the phone, will the application will copy and send all the images to the developer? Or, will the application copy the conversation as it has access to the microphone? And how long it will have the access one we granted and installed the application?

Is the application will take our data for them? I.e: It ask to access images in the phone, will the application will copy and send all the images to the developer? Or, will the application copy the conversation as it has access to the microphone?

There is no authoritative answer to this in the absence of the source code of the software being available for review, and of course, one's ability to review the code themselves. The applications are written by actors, developer(s) technically. That actor may be benign and genuine and minding just their business, literally and figuratively, so they would mention it in their terms of use policy that to what extent and what category of data would be collected.
However, a malicious actor would naturally want to have access to all the private data of yours, so their app may listen to your private conversations, use your camera, upload your photos and so on once you have granted access to the permissions it would have demanded.
Some detection and preventive safeguards can be deployed, but that matter is beyond the scope of this question here.

And how long it will have the access one we granted and installed the application?

Since Marshmallow, a user can revoke or grant certain dangerous permissions later in time even if they had been granted earlier, by going into Settings > Apps. The permissions stay as long as the app stays in the device. Once you uninstall an app, all granted accesses are lost, but not the data that it may have collected and uploaded somewhere else. A reinstallation is no different than a fresh installation in terms of permissions access.

Is Google aware such this access request? Look like not reasonable for remote access Android (AirDroid) request permission to access microphone.

Yes, Google is aware of all Play Store apps demanding X type of permissions and they have a set of rules about what core functionality must be there within an app to use a dangerous (with respect to privacy) permission. It is best if you ask upon Google Forums if you have issues with the permission model of Android or permission accesses demanded by a particular app.

Thank you for your explanation. I will try to join the forum.

It means app requires to use those features of your mobile. For example, app may let you upload a photo from gallery, so for that it requires permission to access storage.

Will it not use the data stored in our phone? I.e: The picture, the sms, etc, will not be sent to them? How about microphone? What for?

When it requires access, it means everything. But it will not mention how the app uses it. For instance, app needs access to gallery. It can do anything possible with the photos. Send, delete, Edit...


text:
Yet another play store df-dferh-01 issue, Pixel 3a
Pixel 3a here.
After a fresh install of the latest factory image, I was unable to download apps from play store.
Searching or browsing apps in the store are without any problem, but once I tapped Install button it shows  Error retrieving information from server [DF-DFERH-01] like other people.
I've tried to clean the cache/storage, uninstall update, re-login Google account, countless reboot between the methods above, but none worked.
One thing I've noticed is that those apps have been installed before, are able to be installed again, and those dont are not.
So I suspect it's a problem related to my account, or their server, any clue helps, thanks.


text:
Capturing internal Audio without loss
Is there a way to capture the internal audio strean directly without loss?
I know there are numerous screen capturer (Mobizen etc), but I only need the audio, not my screen.

The only conceivable way I can think to achieve this would be the use of some kind of external USB DAC (digital-to-analogue converter), which involves routing the audio out through the USB C port
I've successfully done this using a cheap adapter-type "soundcard" (the 'Sabrent Aluminum USB External 3D Stereo Sound Adapter', bought on Amazon), which involved attaching it via a USB OTG cable to my phone and then connecting its headphone jack directly into its mic jack, using a male-to-male 3.5mm TRRS cable. I don't recall the software I used but it shouldn't be hard to find a good app.
I seem to recall the audio sounding decent enough but, as you stipulated without loss, digital audio will only ever sound as good as is allowed for by the processing of the digital signal by whatever DAC is used (along with the quality of the source, for example Tidal Hi-Fi streams are lossless/uncompressed flac files, whereas Spotify maxes out at MP3 320kbs), so another way which I believe is possible - I intend to try it myself at some point - would be through the use of dedicated HiFi separates.
Either a DAC/amp, Audioquest's Dragonfly range and Schiit's Fulla being good starting points if you're new to this sort of thing, or separate DAC and amp components paired, such as the "Schiit Stack" - their complementary and very fairly priced Modi DAC and Magni headphone amp/pre-amp.
For this to work (without using a PC, anyway), you'd have to connect a TRRS jack cable from the amp to your phone's headphone jack, which also acts as a mic and should - as far as I'm aware - be picked up by Android audio recording apps.
Of course if you own a PC that could make things a lot easier, just hook it up to your amp and record with something like Audacity.
Oh and if you go for the second, more expensive/higher fidelity option, I STRONGLY recommend the USB Audio Player Pro app. This allows you to bypass the phone's internal DAC, acting as something of an interface for/with your DAC by directly feeding it the raw audio data/signal.
It's an all-round great audio player and has many great features, especially support for Tidal (the audio stream playing through it rather than having to use the service's own dedicated app) and a few other streaming services
Hope this helps.


text:
How to install a 64bit gsi
I know, to some people, this question may seem illogical, but I have tried every possible solution available. I want to flash a 64 bit AOSP phusson's GSI in my Redmi S2, which has stock 32 bit OS, however, the CPU is capable of 64 bit. I tried directly to install 64 bit gsi but it failed and repeatedly booted into fastboot rather than system. Then I read somewhere that it was so because it'd kernel too is 32 bit. I gathered 64 bit source files for my phone, compiled it and tried to flash it but the kernel was looping over and over in bootloader. What should I do to install a 64 bit ROM? (32BU
It GSI is working in my phone)

You will need to recompile your entire ROM as 64 bit, then flash the GSI
GSIs will need the vendor and kernel and well everything else to be 64 bit
This is not a task for the faint heart,  but I'm sure you can find a guide somewhere. Even so, the source ROM may not have the required 64 bit libraries, so you'll have to include those. Basically the only way to bring 64 bit support is a 64 bit ROM. Not undoablle, but not easy.

Can you please give a link to such guide please?

Thanks for guidance though.

Is it OK that if I flash a 64 bit CUSTOM ROM instead of STOCK ROM and then flash GSI? Like flashing lineageOS first and then GSI: https://forum.xda-developers.com/redmi-s2/development/alpha-lineageos-16-0-ysl-t3936101 like this one?

@ChMuhammadSohaib that should w provided its designed for your device

Yes, it's in development section of Redmi S2. Means it would work for me?

@ChMuhammadSohaib Should work

Thanks @colbycdev

man, you are great! Thanks for guidance! It worked!

@ChMuhammadSohaib don't forget to upvote and accept if this helped you

yeah, of course, I accepted the answer but don't have enough reputation to upvote it.


text:
TWRP Updated version for SM-G530T1?
I have a Samsung Galaxy Grand Prime (SM-G530T1) and I would like to install a version of LineageOS onto it. This is the first time I have ever attempted something like this. I did manage to install TWRP v. 3.1.1 onto my recovery partition. It is able to "boot" into this, but when I go to install the LineageOS .zip file, TWRP says:
Updating partition details...
...done
Installing zip file '/external_sd/rr-oreo-j30_20180804_NIGHTLY-gprimelte.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Warning: No file_contexts
E3004: This package is for device: gprimelte,
gprimeltecan,gprimeltetmo,gprimeltetr,gprimeltevl; this device is .
Updater process ended with ERROR: 7
Error installing zip file '/external_sd/rr-oreo_j30_20180804_NIGHTLY-gprimelte.zip'
Updating partition details...
...done

I have tried Googling everything, and everything I see says to install a newer version of TWRP, but there is none released (that I can find). What should I do?

This basically occurs due to the developer of the custom ROM, and can happen either in TWRP or CWM. It is actually an assertion error, and can be bypassed by editing a certain file. You don't have to install/reinstall your custom recovery. At XDA developers, they have already solved the issue. Have a look here: https://forum.xda-developers.com/showthread.php?t=2522762 The solution is too large to copy and paste here.

You seem to have downloaded the wrong ROM, if you are 100% sure this is the correct rom it might be a bug in TWRP.
You could possibly try to reinstall TWRP like this:

Download latest TWRP for your device (you already have)
Copy it to phone via OTG or SD-card
Select 'install' in your current TWRP
Select 'image' option
Choose the TWRP image file
Select the type 'RECOVERY' when prompted, and flash it.
Power off from recovery and boot it into recovery again and try to flash the ROM again.

Another thing you can try is wiping:

Boot your device into recovery mode
Select 'advanced wipe'
Check 'cache', 'dalvik cache', and 'data'
Wipe

Then after wiping try flashing the ROM again.


text:
How does SuperSU check if a phone is rooted?
I have a rooted custom device (Android 8.0), I can use adb and run su and do whatever I want in the shell. But SuperSU or any other app cannot find root. I have made a symlink from /system/xbin/su to /system/bin/su but it still does not work.

/system/xbin/su is a normal su binary that's shipped with userdebug or engineering builds of ROMs. It gets you root access by making syscall setuid. On the other hand, with SuperSU or Magisk root, a special binary is placed at /system/bin/su (or some other path) which works quite differently. For details see How Magisk works?.
So, with only a working /system/xbin/su executable, your device isn't essentially "rooted". SuperSU or Magisk won't work with this binary. And so the apps cannot get root access.
RELATED: What special privileges “/system/xbin/su” does have w.r.t. root access?


text:
Why can't I change my password in system settings? Nexus 6p Resurrection Remix Pie
After entering the wrong password too many times in VPN settings, I can't enter my password in settings. Whenever I do, I get sent back to the previous page. I can't even change my password!

is it possible to edit VPN profile data? Also please remind that you're on custom ROM and may have such bugs and please contact develping team.

It used to be working and stopped after I screwed with the VPN settings.

Don't worry I factory reset and it started working again!