text:
Is my battery damaged?
I have an HTC 10 running stock Oreo with Sense, not rooted and S-ON. I bought this second hand and don't know whether the issue came up as the phone was upgraded to Oreo, or whether it had always been an issue (which would solve my case).
The issue is that the battery seems to work fine, although mobile network standby appears to take an uncomfortably large amount of power, however when it gets to a lower percentage, it shuts off unexpectedly then bootloops when you try to turn it on again. When you plug it in, it shows that the battery is at about 1%, but in a matter of minutes, it charges up to around 40% - this is on a 1mA 5V charger - and then proceeds to charge normally.
I can temporarily solve the issue by calibrating my battery, and that makes the mobile network standby drop back to normal, and my battery works fine, and the phone shuts down as expected when it reaches 0%. The problem is that the next time I charge the battery, no matter whether I charge it from nothing to 100% or from 65% to 85%, the problem gradually comes back, and I have to once again drain my battery to calibrate it properly, then wait for it to charge up to 100%.
I've heard online that many other HTC 10 owners have experienced similar issues with their device, but the fixes only work for some people sometimes, so this could easily be a software issue or a problem with the battery itself. Which is it?

Pretty much.
Smart phone batteries last around two years of normal use. Once the 80% capacity is hit, batteries lose their charge quickly.
Even worse, the voltage decreases which causes unexpected shutdowns. Apple tried to solve low voltage with throttling but never informed the customer. Apple is now hit with plan obsolesce lawsuits.

https://qnovo.com/what-happens-after-80-percent/
https://www.businessinsider.com/how-apple-slows-down-iphones-old-batteries-explained-2017-12
https://support.apple.com/en-us/HT208387


text:
App says its uninstalled but I can't reinstall it
I downloaded minecraft from the Amazon appstore and installed it to my sd card. My brother removed my sd card, formatted it, and put it back in as a prank. Minecraft said it was still installed, so I uninstalled it. I tried to reinstall it through the Amazon appstore, but the only option was to open the app, which didn't exist. I waited for an update to roll out and clicked the update button. Every time I do this, as soon as i click update the Amazon app crashes. I've checked in the apps section in settings, I've uninstalled and reinstalled Amazon appstore, and I've even tried clearing the data of the app. None of this works.

Try through cmd line
adb install -r yourapp.apk

source: Stack Exchange

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

sort: votes


text:
Can't install Google USB driver
I have been trying to install the google USB driver so I can use Unity Remote 5 on my phone. I needed to force install the driver because Windows was being weird, but, when I did, I got this error: "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows x64-based systems."
I am using Windows 10 and I have an LG k30.
I used this guide to force install the driver: https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/how-to-force-install-a-driver-on-windows-10/b72ef97f-7aee-4fb5-9acb-6e86122a8306

Android SDK ( Software Development Kit )
According to the vague documentation on the link you provided, it requires the Android SDK because this will install a system-wide ADB.exe program that can be accessed via the command adb ...
Using ADB ( Android Debug Bridge ) you can run your software on any supported Android device that has USB Debugging enabled.
You must install a system-wide ADB, many custom built installers have been made for this, so many that Android ( Google ) - ( NASA ) Has released an ADB installer of their own, so I'm sure that using the official installer would be the recommended way of installing ADB.
After installing ADB on your development machine, you can now connect to Android device's using USB Debugging ( Testing and debugging your apps in Android Studio or another IDE like Unity via USB - { Universal Serial Bus } )
To accept ADB connections on your test device, you'll need to enable USB Debugging in Development Options.
To do that,

Open Settings
Open About ( or More -> About )
Find Build Number ( Sometimes in a sub directory )
Tap ( Build Number ) 7 times - You should see it confirm the process to enable Development Options.
Navigate Back to Settings
Navigate to Development Options
Find & Enable USB Debugging

P.S, if you don't have a correct installation you'll get ( Device Not Found - or Similar )
After enabling USB Debugging open a command window on your development computer and test the ADB install by running adb devices
Windows
Hold Shift and right click on a blank space in any folder or on the desktop, it should say "Open a command window here", click on that.
( Search CMD and open it, Right click start, etc.... )
Mac - Not sure, I use PC.
After you have run adb devices you should see either a found device, or a message to indicate otherwise.
If your device returns ( offline ) you'll need a different ADB installation that has the configuration files alongside it, it'll ask for authentication and you'll have to accept it on the device screen, after you have an Authorised connection to the device via ADB you can test the remote software in Unity.

SO THAT'S A.D.B INSTALLED
If you don't find your device after you are sure you have a successful installation ( the ADB files might be accessed from a specific location or subdirectory of the Android SDK installation, and might not be system wide.. You need to place the ADB files inside the correct installation directory of the Android SDK, as-if it was installed by the Android SDK installer.
If not, install the entire Android SDK ( 1-2GB  )
After you've completed the Android SDK installation you need to be sure that you have installed the ADB driver for your device, to handle USB Debugging via a USB Cable or ( Network ADB is another option ) .
Usually you can select the option to install your driver on Windows by setting the connection method on the Android

It should load as a CD-ROM and have the software you need to install ADB Driver's on your machine.

...
After installing the ADB driver once, it seems to work on nearly all Android device's when they're connecting via USB Debugging ( so I'll call it a universal driver for all Android device's )
Once you've successfully installed ADB Drivers and ADB . .

Enable USB Debugging in Development Options
Connect your device via MTP or USB Storage, charge only will not use ADB, neither will PTP... Test a few.
Authorise the computer to connect
Open Unity
Test the Remote Software

For my LGK100.AGBRKU only the drivers from official source worked.

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


text:
Turn off TalkBack/double tap on Samsung Galaxy Tab A 10.1
On the Samsung Galaxy Tab A 10.1, after downloading the latest OS, some settings got changed and the TalkBack comes on. However, I cannot find a TalkBack accessibility item to turn off.
What's the workaround to shut this off/remove it?

The TalkBack feature is now called "Voice Assistant" and accessible through Settings > Accessibility > Voice Assistant. From there, you can turn it off.


text:
Infamous Nexus 5x bootloop: why does heating or battery drainage allow it to boot?
I have been tinkering with my good old bootlooped Nexus 5x (how I wish there was an affordable Pixel these days!) and after naively thinking it had recovered spontaneously (it seems to have booted because drained battery?) I gave up on it. Then I saw it come to life again as it was bootlooping on top of a hot laptop. I now boot it at will by placing it on my espresso machine's cup warmer!

Why does this happen? What component needs to heat up in order
for the system to work? Before the bootloop, why did it work at
'normal' operating temperatures? What changed after the bootloop?
Why would a drained battery also do the trick?

So, just to be clear, are you saying that "at present" your device boots normally only when warmed up, and goes into a bootloop without sufficient warmth?

@Firelord Yes, that is the behavior so far.

you should try the 4core fix.
If you can boot your phone and enable oem unloock you are good to go.
Visit this post, there is everything you need.
https://forum.xda-developers.com/nexus-5x/general/tool-bootloop-death-blod-workaround-t3819497
Hope it helped.
Manuel.

Can you describe in your answer the steps from the link in case it is no longer available?

Thanks; I don't know how to flash a ROM but might give it a try. My question was more electronics related, though.


text:
How to move navigation bar to the right in landscape mode?
I just got a Pixel 2, running Android 9. I've noticed that when I turn my phone landscape, the soft keys always go to the "bottom" of the phone, which is sometimes on the left of the screen. I'm used to the behavior of the soft keys orienting themselves on the right side of the landscape, no matter which way is up, like on Android 7 (I was using a Nexus 5 before this). It's hard for me to use my left hand on the keys as I am not used to it, and I'm used to swiping in from the right to bring them up as well.
Is there a way to adjust this setting?

This is something I've accomplished via modifying the source code, but frankly I'm not sure if it can be done in another way...

@AndyYan is it possible for you to teach me how to do this? I've been meaning to learn small UI tweaks for a while (like having a battery bar for Bluetooth devices) but never really got around to it. I have experience in programming android apps in Java, as well as C++ and Kotlin

Can you build the ROM you're running in the first place? If you're using the stock ROM then the patch won't work (as said, I work on the source), and some sort of decompiling/recompiling needs to be done, but I don't know of a way to reliably decompile/recompile Pie stuff as of yet.

Alright, I'll look into learning to build my own ROM first then

In the meantime I'll try to figure out apktool on Pie, if that works then I might have an answer for you :) Just don't expect it to come soon.


text:
Free up space by only deleting older photos past a chosen date
Google photos app has a "free up space" option where it will delete all photos that have been already backed up to Google photos from the local device folders.
The problem with this is that the recent photos I need can be accessed faster so long as they are on the local device. Eg. No internet access needed unlike from Google photos.
Is there a way to only delete those photos (which have been backed up to Google photos) but are older than a certain date?
That way, say, photos more than a month old can be deleted ( this freeing up space) but the current photos stay available on the device  for me to use easily.
Any way to achieve this?

Have you looked into using an adb command for this yet? You could author a shell command like this one: https://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/

I suppose you could make a point of connecting your Android to your computer and sitting down monthly to delete everything over a month old. This isn't the automated solution you or I would hope for, and maybe you've already rejected it as a bit too fiddly long-term, but it's the good enough one I'm using until I find something better.

Thanks! But that doesn't achieve the goal. It will back up all photos to date while I want it to leave the most recent say 60 days on the device. I don't mind a manual solution but  I want to have the convenience of retaining the recent photos on the device

Connect you phone to the computer via USB cable and use your favorite files management tool.

I've been using an Android app for 4+ years called Sweet Home WiFi Picture Backup that provides this functionality-- copies pictures to NAS, then allows delete if older than 3 months, but only after confirming the pictures exist on NAS.
However, recently, I've found that the photos on phone are not actually getting deleted (appears the app sees them as deleted, but the Android OS and file explorer show them as still there). Your mileage may vary.

Welcome to Android Enthusiasts! If you have another question, please ask it by clicking the Ask Question button.


text:
How can I modify serial number on an off brand tablet?
I am trying to connect to a tablet with Android Studio.  The tablet is a Fusion5 Tablet F704B.  It's a low cost tablet with Oreo 8.1 OS.  I only have this tablet connected to my PC.   Android Studio does show 1 connected device, but it is labeled only as "Unknown"

When I hit the run app button in Android Studio, the gradle builds fine and then I see a "Error Installing APK"

I do more debug and run "adb devices" I see:

Note:  On the tablet, I do have developer mode enabled and have USB Debugging enabled.  I have tried USB Configuration to Charging, MTP, PTP, and USB Ethernet and nothing allowed allowed adb devices to see the tablet serial number.  I have also tried Multiple USB cables to connect the tablet, and that did allow the tablet serial number to be shown.  I have also connected other tablets I own, and they all show a serial number correctly.  I can run my app via android studio on 4 other tablets that I own.  Just not on this Fusion5 tablet.
I believe the lack of a serial number in this Fusion5 tablet is causing my issue with Android Studio.  After some research, I found that the serial number is contained in the tablet OS at /sys/class/android_usb/android0/iSerial.  This file needs root access to edit.  Using "adb shell", I can navigate to the directory, but can't view the file contents without root access.  I believe the file is has no content.  I believe this because the value iSerial shows as blank when I do a "lsusb -v" on my computer.
I have spent many hours researching how to give my tablet root access, but the first step involves loading the TWRP recovery image.  The twrp recovery images exist for many phones/tablets, but not for this odd offbrand cheap tablet.
I have also tried to bypass TWRP and perform an adp sideload , but fails with the default recovery routine that comes with my tablet.
Does anyone know of a way to edit the serial number field without root access?
Or is there some other clever way to get me root access I am missing?

Here is a way to change the Serial Number on an MTK device Change Wifi , BT , IMEI , Serial Number of any mtk android phone. I haven't tried this yet. If you try it please let us know how it went.

Maybe this can be helpful: https://android.stackexchange.com/questions/209020/serial-number-got-changed-after-factory-reset


text:
Is there a way to make an app executable only by the system on android?
I'm trying to make an app executable only by the system or by root on android so that when the user tries to open it (for example, by tapping it) he gets permission denied. Is this possible on a rooted android device?

Do you have an app which you want to modify for your goal or do you want to develop one? Latter is off-topic here.


text:
Android 8.0.0 settings remove suggestion
I am using Nokia 3 with Android 8.0.0. Whenever I open settings option, suggestion option display first, so every time I have to swipe and remove it. Is there any settings, that removes suggestion in settings option.

Please check screenshot and see what am I want. I am asking about in Settings App, not about top of menu which shows most used app.

what will happen if you tap on up arrow near the text named "suggestions". Is the same item repeated again? Otherwise go to that settings, once by tapping on "On body detection". May be it will not show again.

on arrow tap, suggestion collapse highlighted options. I had to swipe to remove  highlighed options to remove suggestion. but after some time it comes again.!

One method described here, please go through : https://forum.xda-developers.com/nook-tablet/help/off-suggestions-settings-nougat-t3603249

Thanks @RahulGopi . I  will try it but need some time to reappear. I just swiped.

Related and unanswered: How to disable dashboard summary in Settings app?


text:
How can I merge my friend's new phone number in WhatsApp without losing all the chats history (merge chats from two different numbers to one number)
I've been using WhatsApp with my best friend for years and he swapped his prepaid simcard (old phone with with number = X) with a new prepaid simcard (new phone with number Y) recently.
When he sent me the first message using the new phone with number Y, I received a new chat window because his number Y was not registered on my phone contact's list.
When getting this new chat, I blocked the number because it was unknown to me.
When he gave his new number Y, I added it to his contact record on my phone but chats didn't merge together and this is not what I had expected, because now I have our two separate chats: the old one and the new one.
How can I merge the 2 chat windows together and keep only the one with the whole chat/calls/medias history?
Thank you,
Bruno
Summary : Is there any way to Merge two different WhatsApp chats into one single chat ?
Practical issue being someone used two different numbers to text.

You can't. Accounts are mapped to numbers. I have heard of rooted means to achieve this but not always successful


text:
How to get F-Droid to detect updates of itself - how to remove "ignored updates"?
I'm using F-Droid and noticed that there are newer versions of the F-Droid app available that are not shown when F-Droid checks for updates.
I found that when looking at F-Droid's options > installed applications that F-Droid is listed there, but with a note "ignored updates" (maybe the wording is different, I'm using a translation).
On the App page, there is no "update" button, but just "start".
Is there a way to indicate that F-Droid also looks for updates of itself?
F-Droid came pre-installed with my Shift phone, so maybe, that's the reason why there is this setting.

Have you tried the settings from within F-Droid? From the "hamburger" menu (the three dots) in the header when F-Droid is started, do you have "Ignore All Updates" unchecked?

Yes, thank you! I didn't check the options there, only the general options. Ok, now I feel kind of stupid ... If you write an answer, I can accept it.

The F-Droid App controls its own updating through an option within the app. When you start F-Droid, visit the internal settings in the "hamburger" menu ( the three dots). It can have its own updates restricted if the setting "Ignore All Updates" is checked. Uncheck this setting to allow F-Droid to maintain itself.


text:
Apps background data consumption notification?
Details: Samsung Galaxy On Max
Android: 7.0
Carrier Network: Airtel
Country: India
I am using my device normally and suddenly when i saw message icon, i dragged down notification panel and it looks very weird.
Screen got freezed after dragging notification.

I noticed two icons at the bottom one is of tunnelbear and second is unknown. I uninstalled tunnelbear immediately but problem still persists.
Reboot helps device to get normal but then i checked that message and it is that " You have used 90% data of daily limit."
I frequently use around 1GB a day but today i didn't use my device so checked for 'data usage' of today under settings but there is no option or info.

It is showing only for month usage.

What causes my device to react abnormally ?
How can i check for where data was consumed ?
How can i set notification if any app uses a chunk of background data ?
What is that '????' Next to tunnelbear ?
I know that's a lot of questions but this is very weird behaviour of the device.

The ???? with a cat face is an easter egg. This one specifically is Android Nougat Easter Egg, called "Android Neko" which is a simple mini game. :) It is activated by long pressing the Nougat logo that pops up when you press "Android Version" in Settings several times.

Oh it's  great to know :), but what causes all these things ?


text:
Malicious software runs on the background of Android phone, but I cannot see it - how to find and remove it?
I know that a malicious malware/spyware has been installed on my Samsung Galaxy S3 phone and I constantly get the message to close apps not in use because they drain my battery. But I do not have anything running. I have about 3-4 apps, others were turned off/updates uninstalled a long time ago.
So the questions are not if my phone is infected - I know it is. The question is, how to find and remove it?

It's not clear how do you know that a malware / spyware has been installed on your phone. I'm afraid no one will be able to help you. Please add necessary details to your question.

You can try using AVG Antivirus or maybe Malwarebytes' Antimalware which I use a lot and it's really a good app.

The app List My Apps lists all the apps installed on a device (including malware). Use this to identify the suspicious app and try to uninstall it from system settings.


text:
Where's my status bar on the S8?
I've just upgraded to a Samsung S8, and the status bar at the top keeps disappearing! How do I get it to always be displayed when I'm on the home screen?

Well, this is embarrassing. When I first got my phone, google restored my previous desktop wallpaper, which is white at the top (it's a cloudy day photo).
On the S8, the status bar has no background, so I had white icons on the white wallpaper. This seems a little silly to me!

Note if I reset the wallpaper back to the same picture, it's clever enough to change the icon colours. So it's just an initial restore issue.


text:
x88 Max+ Android Hide On Screen Keyboard
This little box is so close to replacing my PC but it has a number of frustrating issues that I would like to fix (it's running Android 9.0).
The on screen keyboard won't go away. I have show virtual keyboard turned off in physical keyboard settings but it still appears.
The enter key enters the currently selected key on the physical keyboard instead of enter. I know how to fix this by rooting the device but I don't know how to root the device (and I'd rather not root the device if I can avoid it).
The cursor keys control the selected key on the on screen keyboard instead of the cursor position on the screen.
Selecting a suggested search term in Google Chrome with the mouse while typing in the URL/Search bar doesn't work (does nothing).
If I can fix the on screen keyboard issues this box will be good enough to replace my PC! Any help appreciated.

You can use External Keyboard Helper Pro app to do this on the T95Q, I assume on the X88 MAX Plus too (I got rid of mine as it cannot do VPN over Ethernet).


text:
How can I identify the cache if I see its name? One name is suspicious
If Device maintenance app is launched in Samsung S8, after pressing Clean Now button, storage cleanup briefly shows different apps, storage space of which is being cleaned:
System cache
OneNote
TopBuzz

Actual view visible for about 2 seconds:

I know that the last one is not among installed apps (when checking by name) so it must be part of some other app, but how can I find out to which app it actually belongs? No antivirus which I tried so far reported this as the malware. But maybe there is some system analyzer which shows similar cache ownership like the above app, but with more details?
(Or maybe there is another method how to find origin of that TopBuzz symptom.)
The phone is not rooted.

First, I have no affiliation with the app SD Maid.
Without root the app SD Maid can show you the emulated path and name of its public cache of user installed apps.

Within the apps settings menu
Go to AppCleaner
then press the green circle at the bottom right corner to start the scan.
Next press the circle on the right with the i in the center of it.

This will show the path and name of the apps public cache.

Edit: Thanks to darken who is the app developer whom suggested:

"Enable 'Show Systemapps' within in SD Maid's AppControl settings"
"After a scan just search for "buzz", if it is a distinct app it should find something."
"The search will look for both packagenames and app names of all types of apps except maybe instant apps if you don't have root."

I was also playing around with settings.

within the AppCleaner settings select show inaccessible items
next start a scan within the AppCleaner
scroll down and select the i if suspected app shows up

This will broaden the scan to show inaccessible app caches. This possibily will help narrow down the probable malicious app.
That is about the best you are going to be able to get without root.
Root access is need to access the apps private cache which is stored within /data/data/.

Thank you. At least I can see the cache is not there. Perhaps the Device Maintenance app has access to /data/data you mentioned.

Note: SD Maid app currently crashes on longer scanning process. A workaround is to switch to another app after starting the scan and then the scan is able to finish normally.

Further research: identical symptoms are present also in the safe mode. After all, can TopBuzz be a built-in thing?

Enable 'Show Systemapps' in SD Maid's AppControl settings and after a scan just search for "buzz", if it is a distinct app it should find something. Search will look for both packagenames and app names of all types of apps except maybe instant apps if you don't have root. (sd maid dev)

@darken – perfect tip... you probably meant Settings > AppControl > Include System-Apps ...and the "buzz" was not found. I wonder what tricks are played here by system.


text:
How to line in 1/8in cable on Samsung Galaxy 7
So, my end goal is this: I want to take audio input from a 3.5mm audio cable, which is outputting sound, send it through the headphone plug into a phone, and transmit to a pair of bluetooth headphones. The phone is a samsung galaxy 7, the headphones are a pair of JBL Free, and I can't remember if the 3.5mm has 3 or 4 poles. Does this sound doable?

@NordlysJeger That's strange. When making the stackexchange account, I clicked the option that said 'Software or hardware issues' and it directed me here. I'll check out the android SE

maybe I just misunderstood and your question is actually about Computer hardware which would be the right place here. Maybe you could explain what exactly you tried and which hardware/software you used to do that

Is your cable the standard 3.5mm four-connector plug ? https://static.rapidonline.com/catalogueimages/product/s51-5131p01wl.jpg Or, is a three pole plug?  https://www.canford.co.uk/Images/ItemImages/large/43-288_01.jpg 2) Is the output from your audio source into the phone line, or microphone, level? 3) Are you able to record a clean signal on your phone once connected with a recorder app? Please click on [edit] and add the answers into your question.

@NordlysJeger Done. If you have any more questions, please lemme know

The biggest issue you'll encounter is that you have stereo output but only mono input (on your phones side). Source

As you can see, your phone has two speaker/audio out contacts (used to stream sound e.g. music to another device e.g. speakers) no matter what type of headphone jack you plug in, but only one contact for microphone/audio in (needed to stream music to the phone).
If you plug in your typical headphone cable you only connect to the speaker connectors and not with your microphone connector.

I want to take audio input from a 3.5mm audio cable, which is outputting sound.

If your audio source outputs only in mono you could simply dismantle a four connector cable and remap one of it's speaker contacts to the input contact.
If you want something more refined you could try something like this headphone jack to Bluetooth transmitter which is able to stream stereo to your headphones and probably in a much better quality.

Thank you for the thorough answer. I did know about the bluetooth transmitter, and was considering getting one. But if i can use my phone instead, it saves me $20 and 4 days in shipment time. But by the looks of what you've shown me, it doesn't seem all that practical. Again, thank you for the answer.


text:
How do I verify my second-hand phone is 'clean'
I have just bought a second-hand Android phone (Samsung) and would like to check that there's nothing nasty on there before I start using it in earnest. It's my first smartphone! I have some experience with Linux Mint, but not a lot.
I've compiled a list of the apps installed (not system apps) and I would like to understand the origin of each and, on a superficial level at least, the purpose of each. I'm finding it hard to find some of this info, e.g. what is 'OM Customize'. Is there a good encyclopedia of Android apps out there that I've missed so far? I could post the list here if anyone can help?
The phone was very cheap, and I'm wondering whether there's some security tool I should use to check it, and potentially whether I should look at rooting it. My main usage at the moment is actually just going to be as a GPS tool and note-taker, so not particularly interested in the 'normal' bells and whistles applications.

If you're afraid of "left-overs", I'd simply flash a fresh ROM (stock or custom). Though there could be things in the underlying, closed-source levels (e.g. baseband), those are rather "rare" (and hard to achive by a user, and unlikely to happen in drive-by mode).

I have worked in networks and security for a telephone company for a long time, one of the things we deal with on a regular basis are cell phones... In all my years of experience, we have never seen someone buy a phone deliberately tampered with to do anything for the new owner, nor I have ever heard that story from any other associates I have in this business in North America. The very few stories we have heard of this happening have all been based in Asia. My advice is perform a factory reset prior to setting it up, even if the previous owner did that, and you are 99.999% likely to be fine.

Thank you both, and I guess you saw nothing of concern in the app list above either. My mind is at rest. Any recommendations for Package Disabler or similar, more now that I want to cut down on traffic than the security aspect?


text:
Send data via Bluetooth to Serial
I have an application running on Win that the JavaScript would capture the string from a webpage and wake up the cmd, cmd would have the parameter as below.

bridgetool.exe -c serial -p com1: -b 384000 -s string_from_webpage

bridgetool.exe is software that transfers the string into the RS232 String and sends the string via comport which defined in the CMD line.
-s is the string parameter from the webpage.
I want to do the same thing on Android. But instead of sending it via Serial, it would send the information via Bluetooth. And use a Bluetooth to the serial module to transfer this order.
I am not an Android programmer so before I start to work, I want to make sure that Android can do:

Is it possible to call terminal and pass the parameter in Android?

I understood that I can use some app to run a terminal command and send information via Bluetooth. But is it possible that an APP/Script can call the Terminal APP and pass the parameter? Like what I did on Windows. So the Terminal can transfer the parameter into an RS232 String and send it via Bluetooth?

No.  Android does not really have a commandline environment intended for use by Apps.  There is to a limited extent one available for development, and launching subprocesses from an App is highly discouraged but technically possible, however applications run under highly restricted user accounts which cannot do much on their own, and most systems services are only provided by Java APIs that make requests through interprocess communication.
So you'll basically have to do this in the Java-level code of an application.
A little web searching will find you examples for how to interact with bluetooth devices from Android application code.  Do note that there are many varieties of
bluetooth target, so that aspect of your question would be too broad, but additionally stack exchange sites are not a code writing or code finding service - you will have to do your own research there.
Android does often utilize a principle of delegating tasks to something else, but the utilized mechanism is not invoking a subprocess as a terminal command would, but rather sending an "Intent" - an Android-unique mechanism for making a request for a particular action, which Application components can either make, or register their ability to handle if made by other components.  There are no standard Intents for doing what you want to do, but it would be possible to create a component which sends bluetooth messages upon receiving an Intent request to do so, and then utilize that either within the same Application or in a different one.


text:
How do I spell out period using Google voice recognition?
While using voice-to-text to transcribe notes to Google Keep, I realized whenever I said "period" it would put out the punctuation mark. This is great 99% of the time, but sometimes I need to say period, e.g. "3rd period," or even "comma."
While a relatively easy workaround is to use the plural form "commas/periods" and edit things later, I'm wondering if there is something in the settings that I missed that can be tweaked. Settings::Language and Keyboard::(Google voice typing or Text-to-speech output) are the two places I looked.

What about spelling out the word "P-e-r-I-o-d" it works for my. Android nougat 7.0. Also maybe use the UK English version with full stop for period instead. Are any of those acceptable?

These both work for me as well. It works for slash, too. For some reason, Android puts the spaces if you try to spell out comma. So it can't be 100 % perfectly generalized. But it works for the two most likely words that voice to text might see as a command. I had tried this for some weirdly spelled words, but I never thought to use it for common words. Thanks so much!


text:
USB tethering without a SIM card
Why isn't this allowed? I'd like to use my brother's old phone to get on the Internet. It's the same model as mine (ZTE ZMAX PRO). He just recently passed away, and his last phone is being returned to the carrier.

And if not is there an app that will do it? I've tried a couple but all of them enable via the standard settings, which gets me nowhere.

Possible duplicate https://android.stackexchange.com/q/111456/116800


text:
While using CWM recovery on my nook touch I foolishly used a tool that wiped my entire partition, how do I fix it?
My nook simple touch has been bricked by a tool designed to wipe all partitions that I found on a deep google search.
I can still boot up into CWM and attempted to use the backup to restore my nook to previous conditions.
Its obviously a vain attempt at this point to try anything else as I was capable to mount my internal nook partitions onto my ancient laptop.
The nook's partitions show up as unallocated on gparted.

Nothing there to revert to (factory reset doesn't restore anything, it just deletes user data). Only thing you can do is locate a matching ROM and flash that.

I fixed my problem by downloading a tool called noogie. You burn it onto the sdcard and on bootup you connect your working nook to a computer; preferably a Linux environment like Ubuntu and go to a program called Disks.

You create a disk image file saved to your preferable location. After the image is complete you safely disconnect the nook and boot up onto noogie on the bricked nook and flash the image with the dd command. Using gparted or disk will pinpoint the location necessary for the text command. I would not recommend using the burn image option on the disk program as it will launch errors.
After the image is complete use the dd command to burn the image to the bricked nook's location.
sudo dd  if=/location/restore.img of=/dev/nook_location

The link below will give you the recovery tools needed.
https://code.google.com/archive/p/nst-recovery/downloads


text:
Ant+ hardware support broken in Android 9?
Recently, my Xiaomi Mi A1 received an update to Android 9, and since that I figured out that Ant+ is not working anymore (which did work pefectly using Android 8).
Ant Radio tester from the Google playstore says that no built-in ANT was found, the services are all installed correctly however.
First I thought this is a problem only related to this Xiaomi model, but in the meantime I am convinced this must be something related to Android 9, since also users of other brands (including Nokia and other Xiaomi phones) report the same after updating their phones to Android 9.
So the questions simply are:
1.) did Google break Ant+ support in Android 9?
2.) How can this be fixed?

I believe this is the case based on two other devices, a OnePlus 3 that worked before an update to android 9 pie and didn't work afterwards and a Moto g7 power, which came with pie and doesn't work. I've not found any official confirmation or solution yet.


text:
Disabling sms delivery report globally in android
I know we can enable/disable the sms delivery report in the messaging app.
But is it possible to disable it for all apps?
I use an app that sends sms to control a device and I guess it's using the delivery report and does not have anything in its settings to disable the usage of the delivery report, which gets charged additionally by the mobile operator. I would like to be able to deny the app to use the sms delivery report by using android settings or some additional tool(s).

well, I guess my problem was solved by contacting the operator and disabling the reports on the operator side. But this question might still be useful for users who would  like to control the delivery reports per-app, I think.

What android version are you using?

Currently - 5.1.1., but a universal solution would be more beneficial, because people change devices and android versions sometimes.

The path to a possible solution maybe different per android version and/or device manufacturer. One thing may be revoke sms permissions of the app.

Well, I will not be able to test that anymore, sorry. Since the reports are blocked by the operator.


text:
Can we remap the keys when using an external keyboard?
I'm using my physical keyboard on my tablet with Android. The Brazilian keyboard works fine for me, there are only two problems:

The right-shift is "/" instead of shift.
The "ˆ" is different and is not accepted by LaTeX. (In LaTeX, we use aˆb for exponetiation and this one doesn't work).

One possible fix is to be able to remap the keys, Is this possible? Is there some app that allows me to remap the keys?

There is a similar question: https://android.stackexchange.com/questions/48837/use-bluetooth-keyboard-with-a-different-layout

Though you didn't specify "Bluetooth", the linked question fits precisely (including its answers).

FYI, I'm looking to remap the right windows key to be Ctrl (since there is no right Ctrl key on my bluetooth keyboard). This question has already been asked; so, instead of asking another one, I figured I'd let people know other kinds of answers (besides changing the whole layout) are in demand.

Use GBoard (the Google Keyboard), it should be very easy.  Install this then when you are connected with the external keyboard, change the keyboard to Brazilian Portuguese and you shouldn't have any issues.

I'm confused, do I "pass the keyboard keys through gboard"? I thought that when using external keyboard, the keys would go directly.

Not sure exactly what you are saying.    Once you are connected with the external keyboard, go to the phone input settings and change the default keyboard to the one you want and the keyboard will type with that layout.

It didn't work. I changed to my language and Shift is still "/". I used multiples keyboard layouts and it didn't work.

What kind of android and hardware are you using?

Nevermind. I fixed with the link in the duplicate post. It's perfect now!


text:
How to maintain the gateway IP of the Android access point?
I realized that the IP address of the access point router changes every time (Android 9).
I have to change the routing table of my device connected to the AP every time
How to freeze the IP of the AP gateway ?
Thx
EDIT:
I use my android phone as hotspot.
I connect to it from my PC equipped with a wifi key.
From my PC, my routing table for this network interface is:
Net. Dest   Netmask    Gateway          Interface         Metric
0.0.0.0     0.0.0.0    192.168.43.166   192.168.43.102    600
192.168.43.102: Is the IP address of the wifi key of the PC connected to my Android hotspot.
192.168.43.166: The gateway changes, it's never the same with each new connection to the Android Hotspot

What type of access point are we talking about? Some DSL or cable router, a Wifi bridge or a access point that connects to a mobile cellphone system?

Question is unclear if the Android device is AP or the connecting device. Android doesn't change gateway IP and even if it changes, it's communicated through DHCP to connected devices. Why do you change routing table manually? Do you use static IP configuration on connected devices? Please edit your question to add more details.

It seems that you have lost access to your account. To regain access or to merge your multiple accounts, please follow the link here.


text:
Changing app permissions
I am using Bluestacks to play a game.But every time i try to play game "Mini Motor Racing" it shows;

I also went to settings >Apps >Mini Motor Racing > but there is no selection of permissions so i can't change permission.I also search for it on google but nothing helped. Plz guide me if u can thanks bye.

These permissions handling are available in Android version 6 and above. I think it's most likely a bluestacks fault (It doesn't seem you are running this Android Version)

Please edit your question and info on the Android device do you use: manufacturer, product name, Android version?


text:
"Could not load library WinHvPlatform.dll" when running the Android SDK emulator on Windows 10
When I run the emulator on Windows the following error appears:
1:58 PM Emulator: C:\Users\KotlinPc\AppData\Local\Android\Sdk\emulator\qemu\windows-x86\qemu-system-i386.exe: Could not load library WinHvPlatform.dll.

How can I solve this error?

Given that I tried all possible answers in stackoverflow but not working for me.

Not sure what the results of this were, but have have run a Windows update of late? What output are you getting when you run this: ANDROID_SDK\emulator\emulator.exe -avd AVDNAME -verbose ?

Does the file WinHvPlatform.dll exist on your system. It should be present two times in the Windows folder (C:\Windows\System32 and C:\Windows\WinSxS\amd64...

I think you are using a copy of WinHvPlatform.dll or it is not compatible with the later or earlier versions you are using (binary decoding error may resemble this symptom). Try going to the original git code and download this DLL file.
Hope it helps.
Arie

where can i download it?


text:
Is the Encryption Key for Adoptable SD card included in manual backup done over MTP?
I did a factory reset and then realized that I didn't decrypt my SD Card. I know that the data is probably lost, but I made a complete copy of the Internal Storage connecting the Samsung J5 mobile to a PC (drag and drop, i know this is not the good way). Now I can't find /data/misc/vold to locate the encryption key file like i read in other posts.
Is there a posibility to read this folders with a linux virtual machine installed in the PC and recover the encryption key file, or it has dissapear forever?
A use MTP for file transfer

Please edit your question and describe in detail how you performed the "copy of the Internal Storage".

Related: Does “adb backup” also backup /data/misc/vold - the Encryption Key for Adoptable SD card?

Unfortunately, what you have so far considered as the complete copy of Internal Storage is not true. You only copied (I suppose using MTP - "transfer files" option) your files which you had created or downloaded in that storage since last factory reset. The app and system specific private files are never copied in this fashion. /data/misc/vold cannot be copied directly using MTP. A user needs root access to access that file (includes copying it).
In conclusion, you have hit a dead end on this part.


text:
Android OS (Phoenix OS) restarts when i insert headphone in 3.5mm jack
What I have tried:

I have tried USB earphones and mic, both works perfectly, So it should not be Sound/Audio issue in Android.
If I keep earphones plugged in during boot, PC shuts down at "Initializing" Step. So I think it's a kernel issue. But there is no stacktrace in last_kmsg.
I have tried logcat and bugreport to get some information about this. Logcat has no error or even output between inserting jack and System crash.Bugreport have too much information and I am not able to find anything about crash.
/proc/last_kmsg doesn't exist. /dev/kmsg has output regarding other usb devices/apps. But, it fails to show/save anything in the output after connecting jack. It just shuts down.
It is not a hardware issue, because both windows 8.1 and xubuntu 18.04 are running without any mic/audio problem in same laptop.

UPDATE 1:
It is now confirm that the issue is in android 7.1.1 x86 build, Specificaly with kernel.
I tried Default Androidx86 7.1.1 build, redmi os, prmieos. All are based on 7.1.1 (nougat) and had this bug. But Android x86 8.1 oreo builds seems to have resolved this bug. Now, I need to wait for phoenix os to upgrade.
One thing i tried is to replace the phoenix nougat kernel with android orea kernel and it booted fine, but no drivers compatibility. Graphics, audio wifi didn't work. I need to replace files too, but i have no idea which one.
People on XDA forums has done it, But I couldn't achieve that possibly because I don't have that much Knowledge about this.
How can I succesfully update kernel and drivers?

You only considered software problems, may be it is a hardware problem (static discharge causing reset)? As we are talking about an x86 system try to boot a live CD like Linux and test your headphones again.

No, I am runninng Windows 8.1, Ubuntu 18.04 in same laptop and It works flawlessly in both OS. I think it might be a driver issue. I have tried Default Androidx86, Remix OS, Prime OS other than this. They all had boot/grub issues which I couldn't resolve. I should have added that in question itself.


text:
How to uninstall an app which restarts the phone when uninstalling it?
This app named Handwriting Fonts for Samsung, Oppo and HTC phones is acting like a malware. Whenever I try to uninstall it, my phone restarts (or probably reboots) and the app doesn't get uninstalled. When I checked the reviews, there were other people too having the same issue.
I have tried uninstalling it from Google Play also. I have tried forcing stopping it; clearing data and then uninstalling it; using safe mode to uninstall it. No progress.

Enable Developer mode and Android Debug Bridge (adb) on your device and connect to to a PC with adb tools installed. Then use adb logcat to see if there is a log entry that explains why the device is rebooting.

When using ADB, you could also try adb uninstall com.monotype.android.font.glad.handwritten. As ADB has "elevated privileges" (not quite root, but still more than "average"), this might have a chance. Apart from that: Have you installed the app, or did it come pre-installed on your device?

I have installed it from Google Play


text:
Delete file with special characters from un-rooted device
How can I delete a file with special characters from an un-rooted Android device?
I used a web site to download a YouTube video to my mobile phone. The video name contained special characters (emoticons and alike) and the Android browser downloaded the file right away, so I could not rename it.
Now I'm stuck with a file that I cannot delete with the stock file manager of my phone. It is a Wiko device with some shady file manager app. I also tried AndroZip, which is usually more reliable.
However, the file has a size of 0 bytes and I can neither delete, nor rename or move it. I do not get any error message, simply nothing happens. In AndroZip the file does not even show up, so I'm not sure whether the Wiko app cached the file name somewhere and, in fact, it does no longer exist, or if AndroZip cannot display the file due to the special character, even though it exists.
Long story short: The device is not rooted and I want to get rid of that broken file. What can I do without resetting or rooting the entire device? Is there any helpful app that can handle special characters? Is there any safe mode option that would be of use?

I converted the file into a 240p MP4, downloaded it using Chrome, and I was able to delete the file using Solid Explorer easily.
I was also able to  delete it using Termux. I installed it, enabled Storage permission for it from Settings app, launched it, and used these commands:

cd /sdcard/Download/   #I had downloaded it in Download folder.
rm FILE_NAME           # to type file name, I didn't actually type it. I used Hacker's Keyboard which comes with Tab key for auto-completion. I typed JER and pressed tab key to automatically load the full file name including emoji (which actually renders as a flame in Termux).

If you wish to keep your default keyboard, Termux provides two more means to use Tab autocompletion. Either use Volume Up + T to send a Tab to the shell, or use Volume Up + Q to display an additional button row on top of your keyboard, which contains frequently used commands such as Esc, Ctrl, Alt and Tab itself.

Does Termux require rooting? It looks really promising, if it doesn't. I'll check it out, as soon as I'm home.

@user1438038 no, Termux doesn't require root access. Just make sure to give storage permission first before using it and also try Hacker's keyboard or you might not be able to type the full file name at all.

Worked like a charm. Using Termux, I could easily delete the file. There was no need to enter the entire file name, I simply used the wildcard operator *.

I just did it thanks to Firelord's answer: use Termux. Here is how to do it though:

First, type this to be able to use the DIR (pwd) command:
termux-setup-storage

To show the current dir, use:
pwd

To show the current dir's contents, use:
ls

Change the directory to the folder you need to be deleted:

to go up one level, use
cd ..

to go into a directory, use
cd yourdirnamehere

Browse to the folder where the file you need to be deleted is located, e.g. mine was in /storage/emulated/0/Download

Delete

the file using
rm -rf yourfileorfoldertobedeleted

or the whole folder using
rm -rf *

Just be careful not to delete something essential.

I fixed it by transferring that 0-byte special character file to any /android/data folder and clearing that app's data. Then the files are gone.


text:
Disable star button in chrome address bar
On some websites the chrome browser on Android shoes an icon with an open circle and some stars

Is there any way to remove this?


text:
Can't unlock screen after changing password
So one night i was using my Galaxy Tab A and realized that someone had taken my screen lock off, so every time I had opened my screen cover it would just automatically unlock my screen. So I decided to put a lock back on it and the password type that I was using previously was the "Direction swipes" lock and the combination I thought was just way too easy, and I really liked this type of screen lock. So I came up with an even harder combination and after awhile I had pressed the power button to lock the screen, and when I tried turning it back on I didn't even swipe up on the screen to unlock it and instantly realized I had already forgotten the new combination. So I've been using the guest user on my tablet.
So my question is, how do I get back into the main users screen without having to factory reset the whole device? Is there any chance of that?
Please help me somebody, anybody!!!

Check this link, for solved you not need enable debuging and root:
Why does Android Device Manager not changes my password?


text:
How can I control which messages are considered focused, and other in Outlook?
The Focused inbox is handy in Outlook for hiding out all the dross emails like marketing emails, but some emails that require my action are ending up in there, and being missed until I read my email on a desktop PC.
How can I train the system to understand what emails I want to focus on (like invoices due payment) vs. those I don't (like an email inviting me to go to a meetup)?

Love to have some feedback on how this question could be improved by the person that chose to downvote

Someone had twitchy fingers ;-) not me

You need to move the messages (that are important to you) from Other inbox to the Focused inbox. Doing so will allow them, in the future, to be placed in the Focused inbox instead of the Other inbox.
To move a message from the Other inbox to the Focused inbox:

Select the Other tab, then long-press the message you want to move.
Click the 3-dot on the top right, select Move to Focused inbox

Ah, I'd tried the three dots on the message, and looked for options in the folder view, and didn't appreciate the second menu on the message


text:
Javascript not loading in browser(Miui10 Global8.9.6 beta_Redmi note4)
I had written a custom HTML/javascript application and wanted to run it in a android browser on my Redmi Note4.
Firstly I activated javascript in all the browsers (MIUI default browser,chrome,firefox).Then,I tried opening the file directly from the file manager,but it only loaded html but not javascript.
Afterthat ,I pasted the file path

content://com.mi.android.globalFileexplorer.myprovider/external_files/...

in the browser but even in this case only html was recognised but not javascript.However as seen from this forum thread here,this solution has worked on other phones.
Is there any way to detect javascript in MIUI10 OS?

Apparently,the Redminote4 file manager doesn't recognise the link between separate html/css/javascript files(even though it get's perfectly recognised in a desktop environment).
The only option left is to embed all your html/css/javascript code into one large html file(not a good practise!) and open this file directly from the file manager.


text:
How can i change default user of ADB daemon
When i use adb shell i am logged in as user shell who is in lot of groups and have a lot of permissions. My question is if i can change default user which ADB daemon use to have less permissions. For example to use application user. Is this possible without rooting device?

Any particular reason you want to do this? Misuse of adb is near impossible if the device is protected by some lock screen and programs can't get access to shell user's privileges without explicit authorisation by the user.

I am using ADB over TCP and i need it because of security reasons.

You need to modify adb daemon source code and recompile. See this: http://androidxref.com/9.0.0_r3/xref/system/core/adb/daemon/main.cpp#126 But might be you can drop some groups shell user is member of by modifying files /system/etc/permissions/*platform.xml. See this: http://androidxref.com/9.0.0_r3/xref/frameworks/base/data/etc/platform.xml#139 You can also consider using ssh for dropped privileges. With root, you will be able to get desired groups and capabilities from remote shell.


text:
"Please sign in using one of the owner's previous accounts for this device."
After resetting my Huawei Honor 8 I'm asked to log into a previously added google account.
I clicked on "I forgot my email" and added my phone number. After this google showed me all the email accounts attached to this phone.
I then tried to log into the account with all of those accounts but I always get the same message: "Please sign in using one of the owner's previous accounts for this device."
This phone has always been mine so the account can't be someone elses.

I am still unable to  log into my phone. I have tried every single account I own to log in. At this point it seems more that the problem is on googles side. The answer below also didn't work.

If for sure you have forgotten your primary mail, for as far as I know, there's no guaranteed way of knowing the mail, you should rather prefer bypassing the lock instead of trying to get to remember the mail, here:
At the very beginning from the Welcome panel choose appropriate language.
Afterwards connect your device to one of the available wifi networks.From the Verifying your account panel active the keyboard to input the email.
In the next step press and hold the icon from the left-down corner of keyboard.
 As soon as Huawei Swype menu appears on the screen choose the Help.
After that tap Version and the select Swype.
From the text in front of you click the first link and choose Browser.
You can now use the Internet browser. Type in the following phrase in the searcher: download.hardreset.info
Next choose Huawei folder and download Huawei Bypass Google file.
 Open the menu of the browser by tapping the Middle key.
Then select Download options.
In the next step open the Bypass application.
When the Install blocked screen appears on the screen choose Unblock.
Afterwards tap Install and accept necessary conditions.
Tap Open icon and Cancel for the Delete installation package.
Excellent! You are right now in the Main screen of your phone.From the main menu choose Settings .
In the next step tap Backup & Reset and select Factory data reset.
Then choose Reset phone, and confirm the whole operation tapping Reset phone again.
Good job! Wait to accomplish the process! This operation removes your Factory Restet Protection.
If incase you switched to another input method. Hard reset the phone again as below:
First of all, hold down the Power key in order to turn off the device.
Next, press and hold the Volume Up + Power button at the same time for a few seconds.
Let go of held keys as soon as the Huawei logo appears on the screen.Then select by using Volume buttons option "wipe data/factory reset", and confirm that with Power button.
Once more choose "wipe data/factory reset"  from the menu, and accept it with Power key.
When the Recovery Menu pops up accept option "reboot system now" by using Power button.
Congratulations! You have just performed the hard reset operation
Boot it up and try again the previous procedure to bypass the verification

Do you know if there's any way to find that mail?

Finding the mail is not the only way to bypass that verification since your primary concern is getting the phone to a useable state. You can do this to get it working again since there's no way of knowing that mail that may be straight forward. Check the edited answer

What way would you recommend to bypass it?

I have just updated the answer

Hard Reset it again

Yeah I just did that but now when I hold the icon the keyboard just disappears. It doesn't open huawei swype.


text:
Bug: Oreo keeps changing the notification sound for all apps instead of just one
When I try to change the notification sound for an app (e.g.: WhatsApp), Oreo (Android 8) sets the new sound as the default notification sound (changes the default notification sound for the device). What should I do to surpass this problem?
I have already tried a hard reset.

Please do not post duplicate questions.

Ok, Firelord. How do I bump up the question instead?

You can edit it with new details or fix it if there are some errors in it. Editing bumps it. You can also earn some reputation points here by answering or editing  other users' posts. Once you get 75 points, you'd be able to start a bounty on your post to highlight it to other users for a week. I suggest you follow our [help] for more info.


text:
OneNote app -> Save images from Notebook to local storage
is there any way in the Android App to save an image from a notebook to local sdcard except for taking a screenshot which in fact gives me a quality loss, especially on detailed high-res pictures?
Thanks!

On my OnePlus 6 running latest OneNote from Play Store, when I long-press an image, Gallery is listed as an option. From Gallery you can really do virtually anything, specifically, "sharing" to another app. Then you can find a way to save the image.

Very strange, when I longpress an image, a circle with a arrow-cross appears and the image is selected, but it only says: copy, cut, paste, select everything, alternative text. Any ideas? EDIT: I've put the image into the notebook from the browser on my computer. Now I just tried to put an image from my smartphone into a notebook - and yes indeed, I can open it afterwards in my gallerie. VERY STRANGE!


text:
Is there a reasonably straightforward way to download videos from proprietary web browser players?
I have a Samsung SM-P900 tablet that I bought specifically to watch professional education videos during a long commute. Unfortunately almost immediately after that the videos I want to watch the most, generally relating to statistics and R programming and hosted on the RStudio website, switched from an easily downloadable format to hosting via the Wikia media player. I have been able to download a handful since then by looking at the page code, but it is a lot of work and the rules keep changing, and I have not been able to download the more recent videos to either my tablet or Windows machine with any amount of effort. I've faced similar problems with the JW Player and a few others. All of these videos are free and I want to download them solely for my own use.
My question: Is there a reasonably straightforward way, perhaps involving an app, of capturing such videos that works consistently over time and across  players? It seems like there's got to be a way to interpose a (software) recording device between the player and the screen, but I have not found it. It might need to reassemble streaming video from the pieces that arrive.
My OS is the Resurrection Remix versin of Android 7.1.2.

'Easier' solution: have you tried Firefox on Android and the myriad of video downloader add-ons you can get there? One of them might work. I don't have the time to test them all now but let us know if one works.
'Harder' solution: I tried digging around on that site you gave, on a desktop you just need to fire up dev tools and look for the first .bin file in the network tab (once you start playing the video) then throw it into youtube-dl [url]. Tip: use the search filter to find it. I feel there might be some way to automate this with a Python script or similar.
https://rg3.github.io/youtube-dl/


text:
How do I figure out which version of Android is supported on my device?
I am a Pixel 2 that is running Android version 9.
I also have a much older Nexus tablet.  I get an update on my tablet almost every day but it is only for Androids version 5.1++.
Why can't I upgrade to version 9 on my tablet too?
Is there some sort of hardware limitation and if so, how do I figure out what the latest supported version for my device is?

Nexus tablets are not going to run P. They could barely run L or M.

Why is this? What is imposing this limitation?

OEM's don't want to maintain older hardware. Older hardware isn't suitable for running newer software. CPU speeds and RAM requirements not met by latest OS. So, yes, there is a hardware limitation. But there is a limitation because of window of support only being a couple years.

@SiXandSeven8ths define older it is not the case for all devices. Take flagship phones they are more than capable of running the newer software after the OEM update policy ends. However, OEMs new device release schedule spreads out The corporations resources. Some OEMs also release more than one device  Samsungs flagship device has a 10 month release schedule as an example.. Also adding samsung releases several models that all need resources allocated to them. Updating a device software involves a lot work that is just not worth it When the finacial gain does not support the resources expended

It is not a hardware issue but rather a resource management issue in maintaining a device. Which is evident through custom ROM's they are able to maintain updating Android devices to the current Android version.
Since your device's are maintain by Google you have you recieve the most dependable update schedule with a straightforward device update policy.
Nexus policy:

Nexus devices get the latest version of Android directly from Google.
If you bought your device from the Google Store, updates will typically reach your device within 2 weeks. If you bought your device elsewhere, updates can take longer.
Nexus devices get Android version updates for at least 2 years from when the device first became available on the Google Store. After 2 years, we can't guarantee more updates.
Security updates
  Nexus devices get updates for security issues documented in our Public Android Security Bulletins.
Nexus devices get security updates for at least 3 years from when the device first became available on the Google Store, or at least 18 months from when the Google Store last sold the device, whichever is longer. After that, we can't guarantee more updates.

({Device then end of update guarantee date}
The first date is:
No guaranteed Android version updates after.
The second date is:
No guaranteed security updates after.
The third date is:
No guaranteed telephone or online support after)

Nexus 6P
September 2017 -
  November 2018 -
  November 2018
Nexus 5X
September 2018 -
November 2018 -
  November 2018
Nexus 9
October 2016 -
  October 2017 -
  October 2017
Nexus 6
October 2016 -
  October 2016 -
  October 2017
Nexus 5
October 2015 -
  October 2016 -
  October 2016
Nexus 7 (2013)
July 2015 -
  August 2016 -
  August 2016
Nexus 4
November 2014 -
  November 2015 -
  November 2015
Nexus 10
November 2014 -
  November 2015 -
  November 2015
Nexus 7 (2012)
June 2014 -
  June 2015 -
  June 2015

How do I figure out which version of Android is supported on my device?
One of the benefits of owning a Nexus and/or Pixel is the fact that it is maintained by Google and all firmware is freely available. You can verify what official Android version you device can be updated too by simply go to Googles developer factory image repository.
Why can't I upgrade to version 9 on my tablet too?
After your nexus stops recieving official Android updates it does not mean your device cannot be upgraded to a newer android version. The great thing about open source is anyone can utilize the the source code to develope updated Android version devices that are no longer officially supported by the OEM.
The Nexus is a very developer friendly device. The possibility of getting the up to date Android version are higher through a custom ROM.
For example I have a nexus 7 (2013) Flo. I am running a custom Android 8.1 ROM. Iin the process compiling and  updating things. Trying getting things to hopefully work with android 9 pie for my nexus.


text:
Application loss problem
Why are applications lost when rebooting?
In every reboot this happens
Note: The LG G4 suffers from other problems such as the sudden stop of the Power button and also the high brightness ratio at reboot, which requires manually resetting the automatic light

Divce name : LG G4 H818P
Processor : Snapdragon 808
Version year : 2015
Version system : 6.0 marshmallow

Could it be those are installed on SD card?

@Izzy All applications installed on internal memory

Strange; then I have no clue, sorry. (With apps on SD card this can happen if the launcher starts a bit too early, i.e. before the card is mounted. That was a problem in the past, though I have long time not heard of it. Reason behind that is that the card is mounted only after the BOOT_COMPLETED broadcast – which also triggers the launcher to be started – but that does not apply to internal storage)

@Izzy So what is the solution to this problem ...

@Izzy well I had problem with apps on SD card but not that only icons were set to default but I needed to install app from play store because they disappeared from there as well, is that a problem you are talking? What is workaround for this?

To the two of you: As I pointed out at the start of my previous comment, "I have no clue".

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


text:
Android Terminal does not work immediately after reboot
jackpal.androidterm  does not work immediately after starting the phone.
Instead, it first just shows a blank screen. Then I need to wait around 20 to 60 seconds. Then, the terminal's prompt is enabled.

Please don't post exact duplicate questions. Instead, [edit] this question to add more info and context as best as you can, like the device model and Android version, are you using custom ROM or not, etc. Also, you might be interested in reading What should I do if no one answers my question?


text:
Downloads start minutes after clicking the button
Recently I've been getting an issue that when I start any download from an app such as the Play Store or Google drive, when I click the download button I get a indication that the download has begun but the actual download starts minutes after the button has been pressed. For example, if I try to download a file from Google Drive I get the snack bar stating "File will be downloaded, check notifications for details" but the actual download starts after a few minutes. The Play Store starts downloads after a few minutes in which the notification indicates that the download is complete, but when I go into the Play Store's Installed tab the app download is stuck at around 25%. I haven't faced a problem like that before. Chrome downloads are working fine.
Things I've tried,
1) Deleting cache and data of Play Store, Drive and Downloads app.
2) Uninstalled updates of the above apps.
3) Wiped Cache from Recovery.
4) Tried downloading from Safe Mode.
5) Did a factory reset.
Specs:
Model: OnePlus 3
Android Version: 8.0.0
OxygenOS Version: 5.0.8
Any help regarding this would be great!

A logcat would help in this situation. You can do it through an app from the play store like matlog. Another option is from a computer with adb. Just open an elevated terminal and throw the commanf: linux: adb logcat -v long > ~/Desktop/logcat.txt ---------- windows: adb logcat -v long > %userprofile%\desktop\logcat.txt ---------- this will put a logcat.txt on your desktop. Then just paste it to a site like pastebin or whatever then link it to here or your post.

I've pasted a snippet of the log when I initiated a drive download.
https://pastebin.com/QBYhSrtP

Things definitely are not going smoothly, the download is getting quewed starting the process before it gets its mojo it stops, cleans ups after itself, and restarts, the downloadmanager is lost thinking the path is invalid then goes ahead and adds a new path then continues on Just to add to things there is also a http 404 within there. This more than understandably is creating the lag you are experiencing. I have a good idea of what's going on. There is also a lot of possibly helpful information being suppressed within the log due to so much going on and the apps being so chatty.

I am a huge fan of logcats but I will limit my request to just hopefully two more. It would be super helpful by giving a bit more insight into the issue. First, one will white-list a process to not be suppressed and blacklist a process to not interfere. -----  adb logcat -P '"/10061 20968 ~/10141 22612"' ------ if your device is rooted this one is helpful: --- dumpsys activity broadcasts

Sorry for being a little uninformed, but when I try to enter this command ----- adb logcat -P '"/10061 20968 ~/10141 22612"' ------ the terminal appears to be accepting the command but I get no output. And when I try to print the log to a file it comes as empty.

Oh man, I may have mixed up the pid and uid order. What that command does is white list and black list things. You can verify if the command did its thing with this command adb logcat --prune which will out put a list of the white and black list. Which can be differentiated by the ! next to one set representing the bad or unwanted voices in the log. If present in list just run the first logcat command: adb logcat -v long if not present then try: adb logcat -P '"/20968 10061 ~/22612 10141"'


text:
problem opening normal boot after TWRP install on nokia 3
by using sp flash tool i installed TWRP on nokia 3 phone and using fastboot loader i can open TWRP but i can not normal boot , when trying to boot normally only android logo appears.
Is it possible to open in normal boot.

Have you wiped any partitions(example like /system)? Please check whether it is the latest TWRP version for the device.

As you have install the custom recovery following reasons may cause problem-

Wrong version of twrp.
Wrong size of twrp recovery because some mediatek processors support 7mb of recovery.

So as you mentioned after installing twrp recovery device won't boot into system and it stuck on boot logo see the following guide to fix-

download stock rom of your device.
flash recovery.img from stock rom with sp flash tool as you flash twrp recovery.
This will return your device recovery mode to stock recovery form.
Now you can perform normal boot and your device won't stuck at logo.

Extra tips-

try to find the right version of twrp recovery, unlock the bootloader and if won't find the twrp recovery for your device just build it yourself take help from Google hope it helps good luck.


text:
How can I tell if my Samsung S7 supports connecting to a wired ethernet via a usb OTG cable?
I want to connect my Samsung S7 to a wired ethernet connection using something like this usb micro > Ethernet hub
Their instructions say to look for Ethernet option under Settings> Networking
But I see not such option.
Folks are reporting that the Samsung does not support wired connections

How to make Ethernet work on Android over OTG?

Like any other computer system Android also requires a driver for talking to a device.
However unlike regular PCs you can't just install a driver, instead you only have the drivers the manufacturer included when building the Android system.
In a terminal or on an adb shell you can list all the drivers that were included in your kernel:
ls /system/lib/modules

If the list contains for example the driver usbnet there is a chance that an USB Ethernet adapter may work.


text:
Listening to in-app triggers
How can we listen for and record in-app events? I've been searching the net for some time without the slightest hint. Bellow are my case specific details for clarity, (though maybe I should be ashamed).
The reason I ask is because I want to create a macro bot that would play a complicated mobile game or at least automate it further. (I am new to scripting with basic knowledge of Java.)
This mmorpg is very much automated. However too much choice is in the hands of the player in order to use user prompts (like touches, swipes and time intervals) for triggers. The conditional clauses must depend on the dynamic state of the game server if the script is to be "smart."
So the question is how to listen for in-app events? How do we pick up the important triggers (timers, health bars, presence of NPC or player) from the noise in order to model the gameplay?
(This should be possible since people sell successful bots, nicely packaged, linked to a license server and with an intuitive front end.)

There are some possibilities, however both a far beyond scripting and falls more into the development section:

Check the network traffic. If it is an online game it has to receive and send data to the server. If you can sniff that data you know in what state the game is
An app with root permission can get access to the memory of another app. If you know where to look you can find all the data the app contains in it's memory and therefore get info on the game state.

Thanks, I was afraid this is the case. And if I manage to sniff the data, I need to categorize it through itterative playing, right?

You need to reverse engineer the data until you understand which bytes what meaning have.


text:
How to AutoRotate in LineageOS With ADB?
I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly?
I added these to my build.prob with adb.
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true

And I've set permission of build.prop like this.
chmod 644 build.prop

Then rebooted to System.
I tested AutoRotate and it is working good even if i am in main (lock) screen. 2-3 days later i realized it is not working anymore mysterious. In the meanwhile i rebooted the device 1-2 times within 2-3 days. I started to look for a new fix and found this command.
ro.sf.hwrotation=360

I deleted first two (2) commands and added this command to the build.prop with adb and set the permission like that.
Rebooted to System and tested. It is working good and today i realized it is not working again.
I started to think what is the problem? It is working some and not working anymore.
I need your ideas and experiences.
P.S: I don't want to use an app always for this.
EDIT: I had edited and pushed build.prop 1 hour ago and had tested, it was working.
I can enable user_rotation to 0, 1, 2 and 3. It is working good but as you know rotating in every app even if in Settings or Phone (Calling). But Auto Rotation is not working.
EDIT2: I enabled Auto Rotation with this command, didn't work.
root@kali:~/Downloads/platform-tools# adb shell settings put system accelerometer_rotation 1

I enabled user_rotation with this command, it is working.
root@kali:~/Downloads/platform-tools# adb shell settings put system user_rotation 1

Results of rests:
Disabled Accelerometer, enabled user_rotation=working
Enabled Acceleremoter, configured user_rotation with 0=not working
Enabled Accelerometer, configured user_rotation with 1=not working

As a result when i enabled Auto Rotation, is not working
EDIT3: I installed this app and tested Accelerometer. I can rotate my phone 360 degree without enabling AutoRotate feature. I had thought my phone's accelerometer is broken, but not.

Android 4.2
Auto rotate on:
adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1
Auto rotate off:
adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0
Landscape:
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1
Portrait:
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
Android 8
Auto rotate on:
adb shell settings put secure show_rotation_suggestions 1
Auto rotate off:
adb shell settings put secure show_rotation_suggestions 0
introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:
adb shell settings put secure num_rotation_suggestions_accepted 0

Thank you for your interest. I have Nougat 7.1.2 and as i mentioned i can rotate my phohe but just 5-10 minutes. I am rebooting my phohe with enabled AutoRotate feature. I can rotate my phone 360 degree. But when i try again after 30 minutes, it is gone. I can't. I guess something is overriding this but what overriding i don't know.

Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw.  Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble.
Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP.


text:
Clone userdata from xcover-3 to xcover-3ve g388f -> g389f
I have some very special questions for you.
My friend gave me a broken xcover-3 g388f.
He wants the data on it, so I "Chip off" the internal memory and read it out with a  chip reader. Now he came to me with a newer Xcover-3 model, the g389f and want his data on it. Is there a way to copy the userdata like phonecalls, adressbook and aps from the imagefile of the userdata area on the new model?
I´ve made a backup from the newer phone with twrp an if I compare the two userdata partitions the newer has a smaller size than the older g388f.
Is there a way to mount the backup from the g389f in linux and copy files into it from the chip-off image and write it back to the phone?
Thanks in advice, hope someone can give a good answer.


text:
Bypassing VPN restriction in another app
I want to know if its possible to trick this app "Diitalk" into either thinking I am in US or blocking it from knowing that my VPN is working cuz if I dont have a US based IP, it wont let me use the US based number.

(Click on image to enlarge)
Can this be done on the android device itself without having to use a VPN router or any other device?

(Click on image to enlarge)

Robert has explained it thoroughly. I have gotten similar experience before. While using LetsVPN I get restricted by most apps but then I switched to OpenVPN and boom, problem solved. I think you should also try a new VPN instead.

VPN detection is usually done on server side.
Diitalk simply has to check your IP and compare it to a list of IP ranges by common VPN providers. If the IP is in the IP range of a known VPN provider it blocks you. This is known as blacklisting.
Therefore the highest change to bypass such a VPN check is to use a custom server and install your own VPN on it. If the server's IP is not in a range used frequently for VPN your VPN may stay undetected.
However the service you are trying to use may use a different VPN detection technique, like whitelisting. The IP ranges from US telecomunication providers are known and one can simply check if the IP is within a range or not. In such a case any VPN provider or self-installed VPN will fail.

Is it possible for me to obtain a US based IP without having to use VPN?

The only chance I see is buying a SIM card from a US mobile network provider and then use it where ever you live. Using the mobile network roaming you should get an IP from the MNO home network (which is in the US as it is an US provider). Note that with an "US MNO" am not referring to an MNO of the same name in your country. You have to buy it directly from the US MNO!

I dont know if its allowed to be humorous here but...

Wouldnt it be odd if I purchase a US based SIM to get another virtual number

Your question was about VPN, not about phone numbers...

Thats true sir.

Any luck you would tell me about them as well

If I would know one, yes. May be someone else has a different idea, but these are the options I know.

I think the app is able to assess that a VPN is in use through the VPN network setting. Can I stop that?


text:
How to Set App-Specific notifications/vibrations?
I recently switched from an iPhone to a Galaxy S8, and with the iPhone I was able to set app-specific notification sounds and vibration patterns (1 for texts, another for email, another for group messages, and so on).
Is this possible within the Android OS?

You can go to Settings→Notifications→App from List
Be sure not to press the slide check, otherwise that turns off notifications.
If the notification has a sound, it will say something like "Make sound", then you can change it from the default. If not it will say "No sound".


text:
Seeing nested folders from a dlna server?
I am running Gerbera as a dnla media server on my Linux box. I have 100s of files, both music and video organized in nested folders.
I recently acquired an Android box, X88 Max+
I connect through my home network and can select music or video. I see the entire libraries but there is no structure. Just everything presented in alphabetical order.
I do see music albums, and then I can select and see the individual tracks. But I do not have a higher folder grouping all my, for example, Beatles albums together.
When I connect my blu-ray player to the dlna server, I do see the structure.
Is there a way to see the structure on the android box?
I checked with an app called BubblePnP on my android tablet, and it retains the structure.
I will try to install on my android box.
And help is most welcome.

I managed to register my Google account in this box. It was difficult with the very limited remote.
I installed BubblePnp from Playstore. I could not get it to play my media because the remote is so limited in function.
I have ordered a keyboard/mouse USB wireless to use. That should solve the issue.
But to my surprise, and delight, the standard media player now shows one level of folders. Not a complete solution but a big improvement.


text:
How can I make my Google Calendar make sounds when an event is about to begin?
I have OnePlus 3 running Android 8.0 (OxygenOS 5). It currently just shows one notification for every notification I add in the app for an event.
How can I make my Google Calendar make sounds when an event is about to begin?
This is the notification settings for Calendar notifications:

You can add additional default notifications in the Google Calendar app.
Inside the app, open the Settings menu. Then tap on the calendar you want to add more notifications to. You'll see a screen like this:
(this is for my calendar named "Events")

If you tap on "Add another notification" there you can add as many notifications as you'd like, up to one minute before the event starts.
This will result in changing the defaults for every new event you add - for existing events, you'll have to edit them individually to add more notifications.


text:
Have oem unlocking option available in nokia 3 ,do i have to unlock bootloader?
there are guides on rooting and it first requires to unlock bootloader on nokia3, at first i did do it but due to some issue i had flash firmware ,after flashing back there was a option available of oem unlocking .
So do i have to unlock bootloader even if i had oem unlocking option available in settings and also can you tell on starting device i get red state warning is it a big issue or should i ignore it.

That option does not do the unlocking itself – it just prevents it (when toggled off) or permits it (when toggled on). So yes, even with this option present, if you want to have the bootloader unlocked while it isn't, you will have to run fastboot oem unlock – after permitting it here.


text:
How to record High quality audio in android?
I have tried many android application to record voice, but they're quality is not great, often it muffles the sound, as a result of forced noise removal.
But surprisingly, the video recorded from the stock camera records much much high quality sound(no distortion).
So is there is anyway to utilize this fact?
The device is a Asus Zenfone Max pro M1 (ZB601KL-4H070IN). Android Version: 8.1.0

What is the model of phone? Android version?

Asus Zenfone Max pro M1 (ZB601KL-4H070IN). Android Version: 8.1.0


text:
TWRP loop on booting nokia 3?
i successfully installed twrp but on twrp reboot i selected system and now on opening nokia 3 it goes to twrp.
Only twrp can be opened not the OS (normal boot) of nokia 3.
I tried flashing stock rom of nokia 3 with sp flash tools but on starting or booting phone , it will not detect nokia 3 and red and yellow bars does not appear.
so how to flash stock firmware when i am stuck boot looping in to Twrp.
Any other way if possible please describe.

As your question you install twrp recovery and did you perform wipe after that ? If not try this might work or try the following

Turn power of your phone in twrp recovery option by reboot\power off or hold the power button till it shuts down.
Now load stock rom in sp flash tool.
Now click on download button.
it will dectect your phone if your phone is power off and if battery is removable please remove it before connecting
now connect your phone with usb in one end and to other end with pc.
if it didn't dectect install the right mtk drivers.
after successful install your phone turns to stock os with stock recovery and will boot normally.

Alternative

Find custom os for your device.
move it to sd card.
flash it through twrp recovery.
then perform wipe and clean cache and boot normally.

Hope it works.

in twrp i clicked on reboot =>system and after reboot it shows android logo with orange state and then goes to twrp again .                    On trying to flash stock rom and clicking download nothing happens no red bar or yellow bar which gives tick pop up.               when will sp flash tool shows red or yellow bar.

Click on reboot/power of instead of reboot/system because your rom might be having problem after flashing wrong twrp recovery or your bootloader is not unlock.

You can just copy recovery.img from stock rom and past it to sd card and flash it with twrp recovery and it will overwrite it then you will get your stock recovery back and just perform wipe,reset with that recovery and it will work fine.

bootloader is unlocked thats why it is showing orange state and i have three options in twrp when rebooting.                         1) system 2) recovery 3) fastboot mode   and on system and recovery rebooting only TWRP appears that means    phone is not booting normally and it goes to twrp instead.And i amtrying to flash with spflash tool but spflash tool does nothing .

how to flash it with twrp recovery , i have recovery.img in sdcard and i click on install but it does not detect rom or img files.

Flash it with adb fastboot if isn't flash directly from sd card and normally there are four option in reboot of twrp 1.system 2.reboot 3.power off 4.fastboot and please mention your twrp version with kernal version of your phone and hold down the power button till it power off and  then connect to pc and flash rom with sp tool.

it was not booting and sp flash tool didnt work , and in fastboot mode no fastboot commands were working or on connecting it says waiting for device as it did not detect device.But how to use adb commands it only works when your device is opened.twrp 3.2.1.0 and kernel i dont know.

i didnt know kernel because it had gone for repair , now it is working.now i have 7.0 version and kernal is 3.18.35+

It may because your usb cable is damaged try to change it with another one and reinstall mtk drives may it will fix your problem.

tried it now i have a working phone and i went to the shop to repair.

As You said when you installed TWRP on your Nokia 3. So, Its ovious Your phone can't boot into os. In TWRP Installation Guide Its Says "After Installing TWRP on your Phone your phone will not boot. it stuck in bootloop".
For this You Have to flash a file called "encrypt.zip" through TWRP to Your Phone. After This Your Phone again bootable to OS. and You don't need to Flash it. If you tried to Flash then, you are in big problem.
Thanks!


text:
LTE doesn't work after attemp of fixing hotspot using ADB
I had problem with hotspot in Xiaomi Mi5s Plus after updating to MIUI10. I used ADB:
settings put global tether_dun_required 0

Unfortunately, after that mobile data and 4G network stopped working. Changing back this setting to "1" or "null" doesn't give any resoult.
2G and 3G network works (calling only, mobile data doesn't), I tried default settings, I tried restarting APN - no resoult. I got only notification, that system cannot install SIM Card.
I already reinstalled my system - also no resoult.
//Small edit:
I partly solved the problem by changing SIM port (my phone has dual-sim), but when I put SIM card to sim1 again - problem still exists.
When I put card to sim2 slot it says that it uses "default settings" and it works as should. What can I do to reset settings of sim1?

Try resetting your APN first
You can revert your APN type to default to remove the dial up networking feature i.e (dun) by this method:

On your phone, go to Settings → SIM card and mobile networks
Tap the entry for your carrier (or SIM card in question) → Access point names.
Scroll down to APN Type and replace,dun at the end (so the it should say default,supl,mms, or whatever was there).

Or just tap on your SIM card option → Access point names → Reset to default
If you do not see a change, then I'd suggest you reset Network settings:
Settings → More → Network settings reset

Already tried, didn't change anything.


text:
I am trying to move a file from sdcard to another device folder and it fails with error that file is not there, but it is!
I am trying to move a file from /sdcard to another device file and I am getting the following:
mv: bad 'xxxxxxxx.0': No such file or directory
while ls -l shows the file in directory.
The device is physical one, not an emulator and it is rooted.
Why is this happening?
file <file> confirms this is an ASCII file. I know cases that this was happening when someone was trying to move 32bit binary to 64bit device, but this is just an ASCII text file.

Answering to my own question, the reason for that error is that I tried to move the file from an absolute path instead of a relative one, /sdcard instead of sdcard.
Using relative path worked.


text:
My locations on my google timeline are showing places i never been,and now my bf thinks im cheating
My bf went on my locations timeline and its showing I been to places when I never left the house and it says i drove this long and how long it took and shows a map of the streets I took but I never left the house and they are all in different cities. How is this possible also my ex and I had our emails hooked up so I thought that could be a reason but then seeing it was my house as the start location or the end kocationt I was so confused because once again I never left the house to go anywhere. Someone please help Im sick and tired of telling him I went nowhere.

It maybe cause because your Gmail account is signed into the multiple devices may person from those who have logged in with your account cause for this misunderstanding that he went  somewhere and his device is tracked with it or it might be some misunderstanding that he had seen someone likes you and followed her as he was thinking that she was you in relationship their are lot of factors like this and it might not technical questions.

Is there a way u can see what device was going to these locations?

Login with your gmail account on gmail.com and see which devices are logged in with your account.


text:
Android Studio: Can't add sdcard to AVD using external file
I've just recently moved to a new laptop (Migrated from Windows 7 to 10) and I'm now setting up my development environment for android. As such, I've created a new AVD using Android Studio. However I can't add an SD card using external file, as the option is greyed out. I'm using the same AVD Setup as in my old environment (except that it's newly created).
I've read that for some people the option remains disabled until they've run the mksdcard tool, I've done this and restarted however I still can't add the SDCard of my old device.

Also tried creating an AVD with different settings, no changes. Any ideas?
Excuse me if this post is more in-scope for stackoverflow or superuser!


text:
ADB no device Nexus 5
On my Nexus 5 (LineageOS 15.1 / Android 8.1) i can't see my device when typing "adb devices" (manjaro with Android SDK 3.2.1). What I tried:

root access: "ADB only"
android debugging: "on"
revoked usb authorizations
usb configuration: "MIDI"/"AUDIO"/"Charging"/"MTP"/"PTP" (tried each)
restarted device connected and also connect after restart was done
changed USB Cable
inserted udev rules (like on arch wiki)
all of this in a root shell

"lsusb" is not listing the device if I have android debugging on. If it's off i see it. (as soon as i switch it on it disappears).
I don't have Windows at the time, so would this help?
What can I try next?
My goal was to install ubuntu touch in dual boot mode.


text:
iPhone/Android Nearby Filesharing Systems Across Platforms
In the past, I have been excluded from group chats, denied entry into groups and overall discriminated against because I have an Android while almost everyone I know has an iPhone. I have been trying to find ways to integrate iPhone and Android functionalities, to bring the two platforms closer together. I had found the app "WeMessage" that would allow an Android user to use iMessage, but I haven't set it up yet. Next, I wondered if there was a way to send and receive using the iPhone's AirDrop functionality on an Android. My phone, a Huawei Mate SE, has a function called Huawei Share, but it only works with other Huawei phones. So does anyone know how AirDrop works or how one could use a nearby filesharing system across platforms?

I think you can get your answer by this link : https://stackoverflow.com/questions/51202398/android-to-ios-airdrop

Currently, it is not possible as AirDrop uses Bluetooth to create a peer-to-peer Wi-Fi network between the devices.
But here are some ways Android and iPhone/iOS users can share files with each other:
1.Use email
2. Use an app to share locally Like Zapya or Shareit
3. Use an app to share semi-locally
4. Use an online file-transfer service

Or you can jailbreak you i-device then use your Bluetooth connection to share data between i-devices and  others.


text:
Unable to Decrypt SD Card after reboot my Samsung s7 Edge?
I moved my important files in Encrypted SD card from my Phone & removed SD card for reboot the phone. After complete the reboot i am unable to find my files in encrypted SD card. When i put my SD card in same mobile which i use for encrypt SD card so it says
" This SD card can't be decrypted because it was encrypted in other device. SD cards can only be decypted on the device used to encrypt them. Decrypt the SD card on the device used to encrypt it, then reinsert in this device, and try again."
I have too much important data if anyone can help me to come out from this problem then kindly let me know.
Thanks.