text:
Is there a way to create a history of TCP/UDP sockets opened in android?
Is there a log with this info? I know proc shows the ones opened at the moment but I need to see the ones that are already close

I don't think there is a log. Go for packet sniffing instead to create history. What information do you need e.g. port number, uid?

i want to know which socket is being used by a certain port, i want the inode of the network socket of a given port. tcpdump did not provide me this information. Maybe /proc/net/nf_confftrack may do it tho. My problem is that the socket is not displayed in /proc/net/udp but it is displayed in netstat plus as a udp connection in port 5353

thanks for the ss bin btw, unfortunaly there really seems to be no socket for these connections, since confftrack do display info about the connections and sockstats shows 0 sockets inuse. Confftrack displays a weird connection between a google ip with an "unavaliable" one: "100.93.255.67"

I wanted the sockets because with them I could write a code to search for the processes and kill them automatically

I'm not a programmer, so can't get into much details, but in my case results from ss, netstat and /proc/net/{tcp*,udp*} for ipv4, ipv6, listening and connected sockets, all are same as expected.

I actually found the problem, made the code i mentioned, still the payload is adapting

I did the final adaptations on my code. Closed all the doors the payload used to connect to other servers before it had a chance to readapt. From now I'll search for the payload itself and will stop making these confusing topics since i have more time and have my phone under control. Again, thank you very much for every comment/answer you gave me


text:
can't access recovery mode after flashing clockworkmod
I flashed clockworkmod through adb and fastboot but after fastboot reboot my phone goes into boot stuck in the logo. after that I turned it off and go to bootloader recovery mode but after selecting recovery it just starts like normal and stops at logo
-I tried resetting my phone through fastboot and nothing happened.
-Tried flashing the recovery again still cannot access recovery mode
Note** fastboot is accessible when connected to pc

Please Help. I am really new to this and this is the first time it happened

Are you sure you flashed the right Clockworkmod image for your device?

yes i followed the rooting guide for my phone and it is exactly the mode and brand from the guide. right after flashing clockworkmod. it stucked on the logo. and when try to get to recovery mode via bootloader it just starts normally. Do I need to flash the whole stock rom?

What phone model do you have? What clockworkmod file did you flash? How?

its a very uncommon phone model firefly aurii secret lite.. tried to root via fastboot and succesfully unlocked bootloader.. after that i tried to flash cwm via fastboot through this link http://baabebiboobu.blogspot.com/2017/03/having-root-access-firefly-mobile-aurii.html?m=1 and boom. its stuck on the logo and wont boot.

Note: Rooting and unlocking bootloader are two different things. Not sure what's best. Did you try commenting on the website you mentioned?

Sorry.. I have flashed the stock rom and its back. it seems the recovery I flashed is really incompatible. Thanks.

source: Stack Exchange

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

sort: votes


text:
Will google assistant allow the same account in two different phones
I want to know will google assistant allow the same account in two different phones?
Will the messages or any other information will goes to secondary phone where the account is linked

Yes. You can use it on more smartphones at the same time. But you need to connect the other phone with your Google account. And then Google synchronizes everything. Your search history, contacts and more. Hope this helps you.
Sorry for my bad english.

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


text:
Decryption Unsuccessful after data wipe and format
P9 Lite, everything was fine until this evening when I updated from Magisk 18 to 19.1
Got Decryption unsuccessful error, flashed magisk uninstaller, wiped data + cache + dalvik and tried data format from TWRP. Nothing worked.
I'm going on a trip tomorrow so I need to be able to use the phone asap.

I had the exact same issue when I did an internal upgrade from 18 to 19.1 last night on my Huawei Mediapad M3. I wiped the data as was recommended but it keep rebooting into the unable to decrypt storage.
The easy fix is to boot into fastboot and flash your original, non-magisk boot image. I wish I had tried that before actually going through with the data wipe, as I'm fairly sure that was unnecessary.
If you still have your lower version magisk modified boot image, that will work too, although mine was so old I had to use an older version of magisk manager.


text:
I need to relock bootloader
I was trying to unlock my phone, LG Aristo, so that I could sell it. I unlocked bootloader, and now I need to relock it. How do I do that?

The standard set of commands should work:
First of all make sure that your phone is all stock and there's no tampering or modification. Then:
fastboot oem lock-go


text:
Strange status bar icon on Samsung devices after using Developer Options
I have a Samsung Galaxy S8 phone running Android 8.
I have enabled Developer Options today and after I finished with it, I disabled it again.
The problem is that a strange icon has left on the status bar. This icon appeared immediately after I enabled Developer Options.
Here is a screen of it.
What's this icon and how can I hide it?
Thank you very much for your help.

The icon appears to be for when the device is locked to "Portrait" mode. Or in simpler terms, when screen rotation is turned off.
It is most likely inbuilt into the phone and was there before. In case it wasn't, you can disable it from the SystemUI tuner.
Simply tap and hold on the gear (settings) icon which you see when the notifications bar is pulled down. That will enable the SystemUI tuner. In there, select status bar and disable the icon for Auto-rotate screen.


text:
System UI won't start after tweaking Quick Setting with System Ui Tuner
I did a stupid mistake this afternoon. I downloaded the System UI Tuner app and tweak the status bar to only show ONE quick setting tile upon first swipe down (obviously wont work but idiot me still think that it is a good idea to give it a try anyway). Upon pulling the slider to 1, the System UI crash immediately and only show black screen and everything stopped working. I am desperate now and really need kind people here to help me troubleshoot this to reset and get System UI working again. I will list down some background and information below.
Device:
Asus Zenfone Max Pro M2
Just updated to Android Pie today
What is working now:
- Power Menu
- Safe Mode
- Google Assistant
- Stock Recovery
- Fastboot
What is not working (Can't find a way to make it work):
- System UI
- ADB (USB debugging was turned on but I cannot authorize my phone without System UI)
- Unlocking the screen
- Boot loader not unlocked
- Internet (Data was not on before crash and WiFi require me to sign in)
What have I tried:
- Turn it off and on
- Boot into Safe Mode
- Wipe Cache in Recovery
- Flashing the same firmware again with recovery
Kindly request if you need more information.
Of course, the last resort is to do a factor system reset but I really wish I can keep my precious stuff in my phone... and also I've set up my phone to act as 2 factor authentication for my Google Accounts which I might be a problem if I reset my phone.
Thanks In Advance!

Given that bootloader is locked (so no access to a custom recovery) and USB Debugging not working, I see no way to solve this without factory reset. As for 2 factor authentication, if you stored recovery/backup codes as an alternative way to authenticate you don't need the phone at all. See https://support.google.com/accounts/answer/185834?hl=en


text:
Is there a way to turn my phone to landscape mode in the lock screen?
I have had a Motorola Moto e4 for almost 2 years with relatively no problems. A few days ago, my phone's touch screen stops working in certain frequently pressed places on the screen. This proves to be mildly annoying, but manageable as I would just flip the phone to landscape to get past this (especially when typing). Unfortunately, my phone has finally died and after I charged it, it now asks for my password so I can log in. The thing is, I can't press one of the onscreen keyboard keys to enter my password completely, and thus cannot unlock my phone. I cannot use my fingerprint because every time my phone reboots it asks for the password. I know if I can get my landscape mode I can enter in the correct password but all my attempts (notification bar, lock screen camera) have all failed. Any help? :)

Your device seems to support USB OTG functionality. Given that, you can buy an OTG cable and use a mouse (any mouse would work) to control the device, just like you control a computer using a mouse.
Once you unlock the device, attempt to root it, then install Xposed Framework for Nougat, followed by installation of GravityBox [N] Xposed module.
In GravityBox module, there is a setting named Enable lockscreen rotation under Lockscreen tweaks. Enable it and restart the device. The rotation control should work on lockscreen now.

Note: If the device is encrypted, and you reboot the device, the rotation tweak would not work because the apps are not loaded by that time. You would have to use your fingers or the mouse in portrait mode to unlock the device.

I can't unlock my phone so I can't root it.

Read the first paragraph  of my answer please.

If you find a flash tool which allows partial flashing without data loss, you can add these lines in build.prop and flash modified system partition
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true


text:
I am trying to recover a failed posting, just disappeared on Andriod
On my Galaxy Edge 6, I shared a post from Twitter to LinkedIn. The post stopped at 98% and when I checked the phone again it wasn't posted and it had just vanished. How do I recover the post?

If you go chrome at the top push the red dot and go to Hester.And you can clear up to a weeks worth of data .Just hit clear data and its gone.Form the history of the phone

And uou2can get


text:
How can I prevent unrecoverable photo deletions on Android without a cloud service?
I don't want to set up Google photos to back up to the cloud for privacy reasons.
Recently I noticed that with the default Android camera app, and the default Google Photos app, the "Trash" is only used if you have the app set up to sync with your cloud service.
This means that any photo that's deleted from the camera roll—for example, by swiping from the camera to view the photos just taken, and then swiping down—is immediately unrecoverable.  (There is an "undo" button briefly visible, and that's all.)
By contrast, in iOS (which my family members are more used to), any photo that you delete will go to the "Trash" where it will only be actually removed after 30 days, giving plenty of time to recover from any accidents or mistakes.  (And in iOS, this feature doesn't require iCloud use at all.)
How can I set up my Android devices to mimic this functionality, so that photos deleted from the camera roll, or from the photos app, are still preserved for an additional 30 days unless special action is taken?
(I'm running a Nexus 7 with Android 6.0.1, but we have a couple other Android devices in the house that I would probably apply the answers to if I can.)

Is there a reason you want to use Google Photos app when you don't  want to sync your photos? There are plenty of aesthetically and functionally superior  gallery apps in Play Store which offer trash feature. For the Camera, I suppose you either switch to a camera app which offers trash feature, or, you setup an automation app which copies the image, the moment it is captured, to a certain location other than default DCIM folder.

You need to install a separate app to get this functionality. Since you don't want to use cloud services, this app can help you recover your deleted photos: https://play.google.com/store/apps/details?id=com.baloota.dumpster&hl=en

You need a Recycling Bin Application..
IOS uses a Recycling Bin, similar to that of a PC..
Android has no such features..
You can download applications that allow you to use the Share function to Send files to a Recycling Bin...


text:
How to enable usb debugging on bootloop phone(Lenovo tab yoga 8)?
So... I am having a a hard time to pull my file from internal memory on my bootlooped Lenovo tab Yoga 8. I only know that to pull files from adb I need to enable usb debugging. But, because it is stuck in the boot logo I can't go to setting to enable this. Is there anyway to enable usb debug?
And I also doesn't have any of ClockWordMod nor TWRP Recovery, I only have acces to default recovery mode and fastboot.
Right, I also has tried to install driver from device manager on Windows 10 but I can't even see device which corespond to Lenovo Yoga tab 8 or anything like that, which is also needed to do to pull files from adb, or so if I'm not mistaken.
please help!


text:
GS4 - Stuck in a bootloop on stock ROM
SGH-I337 I got recently is stuck in a bootloop. Itll post and then attempt booting and stay on the screen forever. As this phone is completely stock and never touched so usb debugging is not enabled. Factory resetting does nothing, the phone will not wipe the cache (it attempts then errors out and restarts itself). Ive tried flashing TWRP via odin but the bootloader is locked. Trying to use ADB logcat does not seem to work. What route should I take from here?

Run adb logcat during boot, record the output and post it here / try to find the cause of the boot loop.


text:
Recovering deleted Telegram chat
On my new Android phone I accidentally (yes...) deleted a complete chat I never exported before. Looking for ways to recover it I didn't find the ultimate solution. While I could restore the chat pictures (they weren't actually deleted) I couldn't find a way to restore the messages which are far more important to me.
I still have my old Android phone that I used until a month ago that never connected to the Internet since I deleted the chat. So, if the messages are somehow stored locally, it still has the deleted chat (obviously but for the last month, but that would be better than losing everything). I didn't dare to start the device since the chat loss as I want to understand the implications first.

Does Telegram store the chat messages locally or only on the server?
If storing them locally, how can I export them? I guess I need an internet-less solution as a synchronization would obviously delete the chat on my old phone as well. I could only find the Desktop-Telegram-based export, but no other suitable solution.

I'm afraid I guess I'll get a "you're screwed" answer but I want to give the community a last chance to help me before eventually giving up hope.

it is usually stored local and synchronized online. make a full rom dump of your old phone before (download or recovery mode). then switch to airplane mode as soon as phone starts up. If you are paranoid, you can unplug your wifi router and hold phone in microwave oven while doing this


text:
How can I weigh how useful a specific frequency that a network provides is?
I looked up the T-Mobile frequency chart,
Frequency bands
1900 MHz              2    4G LTE; 4G (HSPA+); 3G (UMTS/HSPA); 2G (GSM/GPRS/EDGE)

1700/2100 MHz (AWS)   4    4G LTE; 4G (HSPA+); 3G (UMTS/HSPA)
                      66   4G LTE

850 MHz               5    4G LTE

700 MHz               12   4G LTE
600 MHz               71   4G LTE

I'm evaluating a phone, the Huawei P20 Pro 128GB. This phone isn't sold by T-Mobile but it seems to mostly support the bands, however it's lacking support for Band 71.

How much service-degradation can I expect from lacking a specific band?
Is there any way to weigh the importance of those bands individually?

Making me even more curious, I'm currently using a Samsung S5 which was sold to me by T-Mobile, and it doesn't support 600 MHz -- maybe I'm missing out on a lot, maybe the 600 MHz band isn't actually used anywhere?

It is Mobile Service Provider Specific..
Some service providers May use the frequency and Others may not... It is usually Added so the device can be used with Many Service Providers.
In relation to Missing Out..
The Lower the Frequency, The Further it travels but also the Slower the internet..
The 600Mhz range is most likely Added for Rural area's that get little reception, the speed of the 600Mhz range is a lot Slower than the 800Mhz range, However 800Mhz will Not Travel as Far...
You ultimately are only loosing out on a Slow connection, but also one that travels further..
You will drop in and out of reception slightly More than a device that does support it !


text:
Increase internal memory of Samsung J2 prime
I bought Samsung J2 prime phone. Some details of that phone as follows.
Model - SM -G532G
Android version - 6.0.1
I heard that earlier it came with good feature that allow us to format external SD card as internal storage.
I tried to format my new SD card as internal storage. But it does not give that option in my phone.
Is there anyone who has similar experience to solve this problem?
Thanks

AFAIK adaptive storage for some Samsung models are not available.

Try formatting the sd card as ext2, default sd card storage type is fat32 i think?, the android may not recognize it as a usable sd card, now a notification may appear saying : (SD CARD NAME) is not recognizable, it need to format or something close to that, a option may appear: Format as INTERNAL STORAGE and Format as PORTABLE STORAGE, pick the "Format as INTERNAL STORAGE"
EDIT: I think your android was flashed because of bootloops, i dunno?, It remove the option to format as internal storage

It only show "Format as PORTABLE STORAGE" option.

I formatted it in ubuntu using gparted.

Hmm, strange i have phone that have a 6.0,  it gives me an option that i can format as internal storage, well your phone doesn't support it

I found this article which gives steps to fix this problem. Do you have any idea on this? https://www.techinvade.com/fix-bricked-samsung-galaxy-j2-prime-unroot-stock-rom/#_Fixing_BootLoop_Problem_In_Samsung_Galaxy_J2_Prime_After_Flashing_Stock_ROMFirmware .  Still I haven't tried this yet.

Hey is the problem is now solved? if no i've watch some dude enabling it using ADB it might be helpful to you or others, here's the link: https://www.youtube.com/watch?v=g8j6j__0jxs


text:
How Does Google Maps Detect Compass Accuracy?
Modern versions of Google Maps display a cone of various widths for the compass, depending on how accurate/in need of calibration the compass is.
Given that the compass is simply a magnetometer and could be detecting either real magnetic fields external to the phone or calibration errors/magnetic fields coming from inside the phone, how does Google Maps know how accurate/well-calibrated the compass is at any given instant?

I've been in situations where a nearby strong magnetic field gave me incorrect compass direction. I'm not sure how accurate that "view cone" is on Google Maps beyond a general "the app believes that you are facing in that direction"


text:
Bricked the phone by wiping every partition in TWRP
My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.

If I manage to make my phone work again, I will not flash any other
  ROM, ever.

Just a correction of terms: if you had really "bricked" your phone, it wouldn't boot at all (as a brick doesn't boot anything), see What does it mean to “brick” your phone? Apart from that: the "and so forth" details might give a clue. What else did you wipe? Cache and data is no issue. System isn't if you flash a fresh ROM afterwards. Not sure about vendor – but what else? Like, modem? Obviously not boot or recovery from what you describe.


text:
How to receive call and force that call to ring indefinitely to the caller but not the receiver
My ultimate goal is to handle incoming calls that are obviously robospam, in such a way so that the robocaller cannot detect that this is a valid phone number with a real human at the end (including voicemail). If the robospammer detects that it is a valid number, they will record it for future spams. So I want that number to ring and ring indefinitely, and not go to voicemail.
Most importantly, even if they have prior knowledge that I have picked up and hung up, or they left voice mail in previous attempts at reaching a live human at this phone number, I still want to send the call to the "ring indefinitely" state, and not go to voice mail, such that the caller hears the ringing, but the receiving phone stops ringing. The reason is that eventually the robospam problem has increased to the extent that, by my current practice off simply allowing all of them to go to voicemail (e.g., flipping the phone over to trigger the proximity sensor logic which then pushes it to voicemail), means that I have the ever increasing burden of listening and deleting the voicemails that are obviously spam. And that is a waste of time and distracting.
So, is there a way to configure a Samsung Galaxy Note 8, under the AT&T carrier, to allow me to ring indefinitely, and not go to voicemail, and not be answered with some automated message? I'm not interested in rooting the phone.
Various Contact and Phone Tools - Android App Overview - IzzyOnDroid has a listing of related apps, but none are exactly what I'm after.

What you want is mostly a carrier-specific circumstance, and less of an Android device one.  Though, some OEMs support the ability to turn off call forwarding via Call app settings:
Device > Apps > Phone > More settings > Call forwarding > Voice call.  Then, disable these three things: "Forward When Busy", "Forward When Unanswered" and "Forward When Unreached".  This option may not be available on your device.
If the above option isn't offered on your device, you will have to log onto or call AT&T customer support to turn off voice mail for your account.
See: https://forums.att.com/t5/AT-T-Phone-Features/Turn-Voicemail-On-and-Off/td-p/3606949

Thanks. However, that implies me having to do two operations: One to navigate a web-based setting to enable call forwarding, and then yet another operation to disable it. What I was envisioning was a one-shot button I could press when the phone rings and I know that it is a spam caller, that would then ring indefinitely only for that one incoming phone call, and then reset it self back to normal operation.


text:
I uninstalled an app,but did not clear space
So i am using a Samsung Galaxy Tab 4 and i recently had this game called 'Bully:Scholarship Edition'(got tired a while of the GTAs) and i saw the app was having 5.30GB memory size
I tapped uninstall and the app,the obb(2.5GB) and the data are gone from my device,but i keep having only 500MB free
I do not have any cache to delete
I did restart my device a couple times
Nothing seems to work
Please help me if you can

Use an app like DiskInfo and identify the partition which has only 500MB free (and edit your question and add a screnshot of the partitions). Your device has multiple partitions and the deleted app may not had used space on every of the partitions.

Cleaning apps like Clean Master will find and get rid of residue files if there are any present on the device, you can then uninstall it when your done if you don't want all the advert notifications.


text:
How to move data between 2 Android phones?
I'm trying to move data from a Pixel3 to a Pixel1.
Bluetooth
I am able to pair the devices, but for some reason they are disconnected as soon as I switch to another app (to a Files app to copy data). I'm not seeing any errors.
USB
I am able to connect the devices via USB, but only one way! So I can move data from Pixel1 to Pixel3, but I'm not able to move data from Pixel3 to Pixel1. In settings there is a "USB controlled by..." switch, but when I press it, it tries to switch for 10 seconds and then times out. Again, no error message to tell me what went wrong.
Surely there must be a way to move data between 2 Android phones? I don't want to use a computer/cloud as an intermediary step.

What data we are talking about here? Images videos and documents? However if it is large chunk of data I'd avoid Bluetooth since I find it blantly slow. Try using WiFi direct maybe?

Small data, 2FA secrets.

I doubt that you can move 2FA secrets from one device to another. Those secrets are designed to remain on the device to avoid theft. If you want to use them on a second device use the backup codes/recovery keys and re-register your services.

Some 2FA apps allow you to backup/restore secrets.

For the first question, where you did connect between two devices?
It's highly recommended you to build connection in Service as it can be run in background for long time.
If you're connecting two devices simply in Activity then when it's being paused or destroyed, Your connection will be destroyed either.

I paired the devices in Settings > Connections > Bluetooth. I haven't found any other way to make a Bluetooth pairing.

Are you a programmer? I thought you're coding a feature of connecting devices.

I am a programmer, but I'm not coding a feature to connecting devices. I just want to move data from one phone to another.

Well, If so, That's would be easy... There are many good apps in appstore... Just use apps to transfer your data... If you can't find a good one for your situation, I can make one for you or find one for you...

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


text:
Galaxy S9 + Turn off text notifications while on call
How do I stop getting the vibration notification of a text message while on a call.  I have already turned off "Notify during calls" but the notifications still buzz through.


text:
Unicode chars not displaying despite font updates
Social media users are increasingly using unusual Unicode chars to stylize their display name.

eg ,

On my 7.1.1 device these display as ▯▯▯▯▯ which is a bit of an annoyance.
I've installed the latest 8.1 version of Google Roboto along with other fonts as the system font. The changes apply ok in launcher and apps but the problem chars still appear as the glyph box.
In testing the same usernames on other devices (such as a P20Pro) there is no issue.
Suggestions?

It might help to know which device (manufacturer/model) and which social media / messaging apps you are seeing your problem.

With a problem of this nature probably not, but its a Robin and it will be any app that doesnt bring along its own font store (eg all apps). For example: Keep, Twitter.


text:
How to fix Xperia Z3 Dual flashtool driver too old error?
I'm trying to install .575 firmware on my Xperia Z3 dual D6633 device with flashtool but as  i connected to the pc (with vol down pressed) flashtool says ERROR - Device connected in flash mode but driver is too old. How I can fix this?
I'm on latest Marshmallow update and unlocked bootloader.

Go to drive C and locate C:\Flashtool\drivers.
"flashtool" folder. Open it. Then folder "drivers", open the folder. You will see an application "flashtool drivers". Run this application as admin. Select the flash tool drivers and the fastboot drivers.
Follow the wizard by pressing next.
You must be connected to internet.


text:
Game Servers and ROM
Are there any ways to change the server of a game without flashing ROM, or to keep the same server after flashing a ROM from a different geolocation?


text:
Chrome on Android displays minimalistic list of tabs
For a couple of months now the default Chrome web browser on my Android device has changed the way it displays tabs when thr Tabs icon is tapped. Previously it used to roll out all of my open tabs in mini windows that allowed me to preview the content of the webpage and also had the title of the tab at the top of the window.
Suddenly, however, this changed and at the moment whenever I tap the Tabs icon, I get a minimalistic, text-only list of the tabs:

According to some suggestions in different forums and articles, I tried to wait it out but nothing has changed for months now. I also tried clearing the cache, disabling the application and then enabling it again but nothing has helped.
Some sources say this was a bug in the Beta of a certain Chrome version but I am well past it, currently with Chrome 72.0.3626.96 and Android 8.0.0.
Any help would be appreciated.
Edit: Tabs are diaplayed the old way if I swipe down from the address bar on any tab, but this is not preferable to the normal single tap gesture. However, it is to show that the old way is still present but the functionality seems to be swapped.


text:
Why I can't find Clear Local Search History on Google play store?
The Google support said that it is in the Play Store at the Settings, but there isn't this option.
I can find only these. I tried to delete all upgrades, and I found it at the 6.9.21 version, but not at the latest version.
I have Leagoo M8 with Android 6.0 (literally Freeme OS).


text:
I can't open my apk file
I downloaded an apk from the web that is a paid app in the Play Store, but I can't use the app cause the app knows I downloaded it without paying. I tried it with 2 different apps and these happened:
First worked for a few seconds until it crashed and wouldnt let me open it. When it did open, it asked for a verification through email then crashed again.
Second app isn't in the Play Store anymore, but apk versions still exist. When I downloaded it and opened the app, it asked me to download from the Play Store but it isn't in the Play Store anymore.
I have Lucky Patcher on my tablet too. I was wondering if it could help or is there any alternative. Or its just impossible?

We do not provide support for hacking paid softwares. You should either buy the software or seek solutions elsewhere where such questions are on-topic. As for the one not available in the Play Store, you should seek the assistance from the developer. Ask them how to make it work. If they decline to extend support, we can't help with it either.

May be these reasons for that..

Your app is old or developers stopped publishing
That app not available for your country region
3.They block apps who download without payment (free Apk)


text:
How to transfer video from a smartphone (with microUSB port) to an external portable mini-DISPLAY (AV, HDMI, VGA inputs)?
I'm looking for the best way to transfer the video from a smartphone to an external monitor (used in cars, garages) to get a bigger picture.

I find this useful for dash cameras, and for entertainment with bigger display.

May I accomplish this with a OTG cable?
Your help is welcome.

If you are looking to mirror the display only and don't need touch inputs, I used something like this before to achieve the same via microUSB: Rocketfish MHL HDTV Adapter.  Likely you can find either an HDMI to miniDISPLAY adapter, or maybe a different cable that fits your needs (the one I've linked is the one I purchased and used myself so I can at least vouch for it's functionality; at that time, I believe I used it with a Samsung Note 4 - Android 4.4).
Additionally, I have seen wireless dongles that act as a receiver, but I have not personally tried these before.

I wonder if that MHL cable can work when the smartphone has not such feature in its specs.

@Michael Angelo Just out of curiosity, I did another search.  As your OP did not indicate the device's OS version -- assuming that's a determinant factor for compatibility -- I was surprised I didn't come across an explicit answer to that (example).  There is mention of a power supply adapter for the display end in event of incompatibility though.  Update: before I finished this post, I did managed to find a list of compatible devices on MHL's official site.


text:
ADB Shell command not applied - "am set-standby-bucket" - Android 9
Currently trying to observe the behaviour of my app in different adaptive battery buckets on Android Pie. I was testing it with the command :
adb shell am set-standby-bucket <packagename> <active|working_set|frequent|rare>

(documented here : https://developer.android.com/about/versions/pie/power)
The problem is that the command appear to be ignored by the device as you will see in the actual behavior snippet.
Notice that only one device is plugged during the process.
Actual behaviour :
$ > adb shell dumpsys battery unplug
$ > adb shell am get-standby-bucket <package-name>
> 10
$ > adb shell am set-standby-bucket <package-name> rare
$ > adb shell am get-standby-bucket <package-name>
> 10

or
$ > sudo adb shell
$ > su
# > dumpsys battery unplug
# > am get-standby-bucket <package-name>
> 10
# > am set-standby-bucket <package-name> rare
# > am get-standby-bucket <package-name>
> 10

Expected behaviour :
$ > adb shell dumpsys battery unplug
$ > adb shell am get-standby-bucket <package-name>
> 10
$ > adb shell am set-standby-bucket <package-name> rare
$ > adb shell am get-standby-bucket <package-name>
> 40

or
$ > sudo adb shell
$ > su
# > dumpsys battery unplug
# > am get-standby-bucket <package-name>
> 10
# > am set-standby-bucket <package-name> rare
# > am get-standby-bucket <package-name>
> 40

Here is my configuration :
Android Studio 3.3.1
Build #AI-182.5107.16.33.5264788, built on January 29, 2019
JRE: 1.8.0_152-release-1248-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
MacBook Pro - MacOS Mojave 10.14.3
Here is the device configuration I am using :

Type : Emulator
Name: Pixel_API_28
CPU/ABI: Google APIs Intel Atom    (x86_64)
Path: ..../.android/avd/Pixel_API_28_1.avd
Target:    google_apis [Google APIs] (API level 28)
image.androidVersion.api: 28
tag.id: google_apis

Thank you in advance !

I see the same thing with the Android P emulator.
However, this works for me on a Pixel 2 device with P.
Btw I think you need to use the integer representation when setting:
adb shell am set-standby-bucket <package-name> 40

Not
adb shell am set-standby-bucket <package-name> rare


text:
Is there a way to enable USB debugging from fastboot?
I have a Nvidia Shield Tablet that froze on me. After powering down it hangs on the nvidia boot up screen when I try to boot it up. Nvidia support says it is a 'soft-brick', as I can't get into recovery mode from fastboot. I am trying to get a recovery image on the tablet. However, the bootloader is locked and I'm pretty sure USB debugging was not enabled ahead of time. Therefore, I can't perform an unlock using adb, and so can't flash a recovery image. When trying to access through a platform-tools terminal, it doesn't show in a list of adb devices.
I'm pretty confident I have the correct drivers installed on my windows PC, which is connected to the tablet via USB.
Nvidia Shield Tablet Wifi (2014 version)
Any help is appreciated at this point, I can't think of anything else to try. Sorry in advance for mixing up terms etc. I've just been researching the past few nights and trying to find a solution. I'm far from an expert.
I've tried these links, here and here but they seem to require USB debugging enabled or ability to access recovery mode from fastboot.
Thanks,

Nvidia support is wrong. it is not a 'soft-brick' it is a hardware failure

you have serialno, try to claim the battery maybe you will get a replacement https://www.nvidia.com/en-us/shield/support/tabletrecall/

when your serialno is between 0410215901781 to 0425214604018 you will get a new tablet for free

adb and fastboot are different modes. you can enter recovery without usb debugging. Press and hold Power + Vol Down. This is the bootloader screen. Now navigate to recovery with Vol Keys, Power to confirm. Wait a Moment. When the android symbol appears, press Vol Up + Power to enter recovery. Now do Factory reset.
If device is locked you may not be able to enter recovery. you can unlock it from fastboot and try again. Unlocking will factory reset your tablet. Download platform_tools from google. Enter fastboot mode from bootloader screen. Connect the usb cable. Install the drivers. Open the cmd.exe as administrator. navigate to the folder. check with fastboot if the serialno appears. unlock.
fastboot devices
fastboot oem unlock

then boot TWRP and see if partitions can be mounted. at least /system and /cache should be mountable, otherwise something is wrong. /data is encrypted but should be mountable too. for more info see here. Do not flash TWRP to recovery partition, first backup stock recovery!
fastboot boot twrp-3.3.1-0-shieldtablet.img

in twrp, there is a option reboot recovery which should you bring to recovery mode. if not, you still have to option to backup/wipe partitions from twrp. start with wiping cache. if phone is still not booting, reboot into twrp and format data. if any error occurs, you can pull the log from adb at any time. post the log file in the twrp support thread and ask for help. try another twrp version (3.1.1-0) depending on your android version
adb pull /tmp/recovery.log C:\Users\Admin\Downloads\platform_tools\recovery.log

if you need to enable usb-debugging from recovery, you may modify /system.
(but also the other methods you linked above should work)
pull the /system/build.prop and edit the following lines with Notepad++ (make a copy for backup)
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb

mount /system writeable, then push it back to phone. if you don't want to modify /system you can try to push it /data/local.prop (but i guess it is not supported on this rom) or do create a file /data/property/persist.sys.usb.config (i don't have exactly read this posts above)
adb push "C:\Users\Admin\Downloads\platform_tools\build.prop" /system/build.prop

Now place the RSA-Key somewhere on the phone and merge it into adb_keys
adb push "C:\Users\Admin\.android\adbkey.pub" /tmp/adbkey.pub
adb shell
mkdir -p /data/misc/adb
cat /tmp/adbkey.pub >> /data/misc/adb/adb_keys

if root access is required, you can change ro.secure=0 in build.prop too (but not recommended)

https://youtu.be/V9XpykHyJiA
https://docs.nvidia.com/gameworks/content/devices/shield_flashing_from_image.htm

Thanks very much for your reply. I initially tried navigating to recovery the method you outlined, however the Vol Up + Power has no effect when I'm on the android symbol screen - it just says "No command". I can see the serial number when I run the command terminal and use 'fastboot devices'. 'fastboot oem unlock' actually appears to be doing something. I see... erasing userdata...erasing user data done...erasing cache...erasing cache done. unlocking... but then it just hangs. I've left it go for 10-15 minutes. If I cycle power it's still locked. Appreciate any further input :)

maybe this triggers FRP Lock but this can be solved from twrp

Trying to boot TWRP returns an error: "FAILED (remote: 'Bootloader is locked.'). I admit you lost me a bit with the /system modifying. Not sure what you mean by 'pull'. Is this performed with an adb pull (like you have suggested to do with the log file?). I still can't get the device to be recognized using adb, so I'm not sure this will work. I'll have to read more about it tomorrow. I don't expect you to be too hand-holdy, but I appreciate your help.

You don't need usb-debugging, it is just to fulfil the question headline

Haven't found a solution yet, but here same problem https://forum.xda-developers.com/showthread.php?t=3178865

it should be possible to unlock from linux. but this is for experts only. unfortunately i haven't found a tutorial for this. https://github.com/NVIDIA/tegra-uboot-flasher-scripts


text:
How to prevent external USB HID devices enable without confirmation
Android support USB HID devices like keyboard and mouse.
If you have a USB-C keyboard, or connect via a USB hub. The USB keyboard will have control to the system, without on-screen confirmation.
I see it is a security risk that public USB charger might have potential access. Even the USB connection mode is "charge-only".
A hacker might have a USB hub, and add a HID to control your phone with a idle delay.
Back to by question.
It there a way to disable that at all at OS level?
If there is no way to have a "pairing confirmation" like BT devices have.


text:
Create, edit, and sync-with-PC txt file on Android
There are many apps that allow us to take notes on android.
But just like this thread (Is it possible to create a plain text file in android?), I want to create and edit plain txt file on android.
But moreover, I also want to automatically sync with a txt file in my PC. Ideally, dropbox. So ideally, I edit txt file on my PC then the edit will sync to my Android phone, and vice versa.
But if this ideal solution (dropbox solution) is not available, then I am fine with less ideal solution which will sync txt with PC.

Give Standard Notes a try. Works on multi platform, syncs across all platforms, permits tagging, encrypted, and open source. Don't be discouraged by Beta in the description. It's perfectly stable and I have been using it for nearly two years.
Pro version (expensive) does much more. Sync to Google Drive (also Dropbox if I am not mistaken is a pro feature) but you may not really want that once you see the way app does things.


text:
Google Services Framework repeated pop up and how to stop it?
So my LG Android lite keeps appearing a pop up that says "Unfortunately, Google Services Framework has stopped". I have checked here for solutions but my device has one more issue, anytime I open any of my apps it crashes and says it also has stopped working. This means I cannot even open my settings to uninstall anything or force stop anything. Looking for help as I can't use my phone at all!!!

This is an older device? You may need to see if you can manually update the Google apps. If it is older, you will do yourself a favor by getting a new device. I can't explain any further as I suspect it might get too complicated for you.


text:
Remove pin lock from an old forgotten phone
I broke my current phone so I thought that I would use my old Samsung j1(2016) but it seems that I forgot the 10 digit pin code (10 because the code used all digits including 0). I searched the net but the phone doesn't have developer option activated, custom rom/recovery and wifi/3g deactivated.
Please help me I don't want to delete all my data.

You can Unlock your device using Odin to flash firmware but it can't stop get formatted during flash process.
When flashing a firmware it clear the internal storage.


text:
Can't chown or chmod files on android phone
Hi there i got some files on my android phone and want to make them executable. Permissions are root:sdcard_rw. I cant remove tha sdcard_rw with chown, and cant make the files executable with chmod.

Possible duplicate of Is it possible to change file permissions on Android's internal storage?

I have managed to change the permissions and make things executable by booting into twrp and using its console. Before that i have tried it with termux su and tsu where both had root permissions. Maybe its not a solution but a workaround.


text:
Connect from windows to distant FTP server through the sharing connection
I have a Mi mix 2s phone (good phone) but I have an issue with it.
I'm a webdevelopper and I'm sharing my 4G connection to my computer (Windows 10) but I can not use FTP (to connect to a distant server) on my computer. It's not connecting. I tried it by creating a wifi network and also by sharing my connection through USB and none are working. I never had an issue before with my previous phone, this is the first time it's not working. I think I just have something to activate but I'm not able to find what.
Does anybody had this issue?
Thx,

Is your phone rooted? Are you using some firewall app on phone?

Not rooted and no firewall (And I should not need to)
The phone is straight from the box, I only activated the developper mode.
I had 10 different android phones and it's the first time it's happening...

Anybody?
I'm a bit stuck, I will have to change the phone...

You will have to troubleshoot the issue yourself. Use network tools ping, nmap etc. to find out where the packets get dropped. Are you able to connect to FTP server from phone?


text:
Access file in sdcard from init.rc
I need to copy a file from the external SDcard to a location in the root partition, during the boot process (from init), after /data is mounted. I used Carliv's tool to add the following line to init.rc but it looks like the external SDcard isn't mounted yet at that stage:
on post-fs-data
     copy /mnt/m_external_sd/file /file

It's Android 7. How can I do that?
Thanks in advance.

Use some later trigger like on property:sys.boot_completed=1 instead of post-fs-data. It depends on when you need that file execactly in boot process. Or add wait command. But better is to place the file in initramfs permanently, if it isn't changed on every boot.


text:
How to test emergency broadcasts?
I want to test the emergency broadcast notifications (those for extreme weather and similar) to make absolutely sure that they work and everything is set up correctly.
How can I do this? Google only tells me how to disable them, when test broadcast for the entire USA happened in the past or gives me an app that produces fake alerts that don't use the builtin system.
Fairphone 2, LineageOS 18.1 (Android 8.1), rooted and XPosed installed with Magisk

The tags were just guesses, I found nothing more fitting. Please correct them if you have a better idea.

I guess with the Corona stuff, either my emergency broadcast notifications are not working or whoever is responsible to create these broadcasts didn't do their job very well.


text:
Random touch problem!
Huawei G8
In this phone when i do some heavy stuff like play a game or may be randomly twice in a day my phone touch become irresponsive. Restarting from power button also don't work when i even touch restart!
Swipe on screen don't work like unlocking via swipe or swiping notification bar. although launcher pages do swiped. I go to home screen either via finger print unlock or opening camera and then going to home screen.
It get fixed after force restart.
 So i want to know that what kind of problem is this. Soft or hard side?

If the problem occurs does anything works in this situation (e.g. notification of new message)? If not may be the system has just crashed and you only see the last image before the crash.

yes. i notice that certain operations don't work like pressing power button and then touch on power off or restart don't work although other function like volume control with touch works!


text:
How to limit hotspot's client of an Android?
I would like to make an Android device as hotspot. I will put it in my roof so it will receive vetther signal, and turn in its hotspot. I want to make that hotspot accessable by certain devices only by register their MAC adress at the hotspot device.
How can I do it? I don't see any option in the hotspot setting so I can do it.

Android uses dnsmasq as DHCP server to assign IP addresses to connected devices. You can create /etc/dnsmasq.conf and ignore certain MAC addresses, assign fixed IP for certain MAC addresses,  limit the range of IP addresses etc.

I will use that hotspot in an office, which some people with mobile device will be used to access i ternet. So I will allow certain people only to access. But however, those people will come and go. If I have to assign the IP, will be very uneffective. So, limiting the access by MAC is the best.

Yeah you can do that with dnsmasq.conf, but you need root access to modify /system partition. Also, Android doesn't use dnsmasq.conf by default, instead all options are provided on commandline. So you might need to replace /system/bin/dnsmasq binary with a custom shell script to modify those options because those are hard-coded in netd when building ROM.


text:
How to create a VPN config file for sharing with others?
I've a VPN server and want to let others connect to it.
I'm not sure if it's possible, but I'd like to create a VPN config file with all the necessary credentials so that my friends can simply open it and have a VPN profile set up.
Is it possible to make a config file?

Which VPN (protocol) server you have set up?

@IrfanLatif L2TP

I have never come across a VPN configuration file other than OpenVPN. They have a kinda standardized .ovpn format. I have an OpenVPN server and I create configurations using a shell script. My friends have just to import the file in client app, no manual entry at all. L2TP has very minimal configuration and clients usually (AFAIK) don't support importing saved configuration. Check with your client apps (I suppose on Android) if they have some option to import configuration. Then a standard configuration file can be created.


text:
Device storage gradually increases after Android update for no reason
I have an Android smartphone whose internal storage memory get incrementally bigger after every software update for no obvious reason. I have looked everywhere over the Internet but the answers were pretty much suggestions that I have already encountered and tested.
The phone's memory is around 16 GBs. During each and every of the last four software updates the memory stands at about 14 GBs, leaving room for almost 2 free GBs. As several of my apps in the SD card get updated over the next days, they are normally saved in the phone storage and then I move them to the SD card once the update completes. During the course of approximately a month, as more apps are getting updated and consequently moved the storage gradually climbs up to nearly 15.5 GBs and my phone displays limited storage error and everything else that comes with it (e-mail does not refresh, no more apps get updated etc.). The only solution that seems the erase the memory back to the 14-14.5 GB range is another Android software update.
What I have tried so far (daily basis):

Moving apps and old/unused files to external SD card.
Cleaning cache from Android Settings, cleaner applications and by
wiping the cache partition (blue screen as Android boots).

is it related to also increased data usage?

I don't think so, data usage increases normally according to my usage of the 3G network. Do you have anything in mind?

Nope. My problem is different https://android.stackexchange.com/questions/211929

But you can inspect your phone storage https://android.stackexchange.com/questions/210216


text:
Why camera taking 2 copies at a time?
I'm using Asus Zenfone Max Pro M2 with Android Pie.
So when I take a shot from default camera it does saving two copies at a time. Same for front camera.

Some cameras allow repeated captures if the button is depressed longer. See your manual for settings about the "Continuous Shot" setting, since it may be a form of "burst mode". My Samsung (sorry my experience is not with Zenfone) allows for "burst mode" to allow the camera itself to take a short burst of images, selecting its choice of "best", but keeps the others for any personal preference otherwise. Your phone may do similar.

I disable continuous shot but it is not working. Thanks for your time and efforts.


text:
Does deleting your Android apps data delete your personal files?
I use Redmi Note 3 with Android 6.0.1. Out of 10 GB internal storage, 4.5 GB is occupied only by apps. I see that app data and app cache eat up a lot of free space. I safely delete app cache data.But since that's not enough so I want to delete my app data also. But all my files in my phone are important to me so I want to be sure that deleting my apps data won't delete my personal files. Some of the apps whose app data I intend to delete are Google play services, Google drive, Mi Browser and Google chrome. I am not sure what files does this 'app data' contain and I don't know if there's any method to know that.

To make an example, a browser's app data would contain e.g. your history and login information, among others. In other words, deleting an app's data is the same as installing the app from scratch, from a casual user's standpoint.

Clearing an app data DO delete files from your phone. Becuase those files are associated directly with the apps that you are deleting. Any other files which are not AUTOMATICALLY created by the app being deleted will not be deleted when you clear an app's data.
So, go ahead and feel free to delete an app's data. But be careful deleting an app's data actually resets that app into a freshly installed app state. And if you delete the Google app's data chances are that you might lose some bookmarks, history or any preferences you have set previously.


text:
Can't launch Google Play Store from within other apps
Recently, I am having a problem with my Android phone. Generally, when an app tries to show something in the Play Store, the Play Store app opens up. But, recently I noticed that Play Store is no longer opening up from other apps, instead, I get an app chooser which asks me to choose between the two browser apps installed in the phone.
Screenshot:

When I choose a browser app from the app chooser, then also Play Store doesn't launch.
So, I think that the system can't find the Play Store app. What to do?
I have Micromax Q437 mobile with Android 7.0.

Check open by default setting for Play Store under Settings > Apps and tell us what is mentioned below Open Supported links entry. If it is Don't open in this app, than you know the problem now.

No, that's not the case. Under the Open supported links entry, Open in this app option is selected.


text:
Will android background execution limitation issue affect Android notifications in 8.1 + devices?
Recently i have updated my device from 7.0 to 8.1 .
Will android background execution  limitation issue affect Android notifications in 8.1 + devices?
Some of the app's notifications are not showing after the update ?
IS this due to background execution limit ?


text:
Is there a way to enter recovery mode without using home and volume keys?
I have a Samsung device and i need to use the Android recovery mode for some reason.As for Samsung, i have to use the volume-down and home key to enter recovery mode
But the problem is, my home key is broken and as a result, I can't use the normal way to enter recovery mode.
I can use ADB to do that with my PC but i can't do that every time when i need.
So, is there a way to do that without using the home key?

Note: My phone is not rooted and i know that i can change the recovery mode entering configuration easily if i root my phone but i don't want to root my phone.

If your device boots fully, adb reboot recovery should take you there. However, if your device is rooted, then you can use Quick Reboot in the Play Store will get the job done.
UPDATE: Due to a change in the question, the answer would be that this is not possible without root access or being able to use the buttons on the phone.

This does not answer the question, he does not ask for (pc) adb or root

@alecxs The question's parameters have changed since my answer... The answer on an unrooted device is that outside of using adb, there is no way to enter recovery on this device without use of the keys. I will update my answer.

i didn't know that, because the question has no edited state. Anyway i wouldn't say impossible, maybe there is a way with short circuiting pins via usb dongle, who knows? afaik Samsung has USB OTG support, this means it might possible to run automated adb commands from Hak5 Rubber Ducky

@alecxs True... But if the user isn't willing to root, I find it unlikely they would want to use a 3rd party piece of equipment or disassemble the device to access any contacts. I made the assumption since they did not want to root, that they wanted to do it on the device itself, in which case I stand by my answer.

@acejavelin, i didn't change my question parameters, you didn't notice that i told in my question that i know i can use pc to do it but i want to be able to do without pc.

@shiro13 Your original question did not note that root was not an option, so my original answer gave you your options. You added the part about you not having root, and not wanting to root either, after the fact. I still stand by my answer, reboot into recovery requires a privileged user account that applications cannot access directly from the device without root.

only for Download Mode, unfortunately https://www.amazon.com/Download-Samsung-Android-Smartphone-Unbrick/dp/B01HQ0DJR2

install Terminal Emulator
http://play.google.com/store/apps/details?id=jackpal.androidterm
type from terminal
reboot recovery

this one should work without root

That terminal app would provide shell access with unprivileged abilities. You need a privileged user, such as shell (user 2000), system (user 1000), or root itself.

at least, it works for me with explicitly rejected su permissions

@alecxs i want to inform you that the command didn't work.I did some digging and found that the command is actually 'su -c reboot recovery' but as you can see, it's a superuser command and i can't use that.

have tested on my mothers phone, it says permission denied. must be a bug in SuperSU or something messed up on my phone

@alecxs SELinux would be permissive on your phone when you tested but enforcing on your mother's. It's only SELinux which restricts apps from setting properties.


text:
Not seeing Assistant icon in search box
I have two phones. Both are Moto X4 running Android 9, with the same variant and security updates.
One shows the classic Google microphone icon in the search box. The other shows the Assistant icon.
All apps are up to date via the Play store. Both accounts have the Google Assistant enabled, and it displays when the home button is long pressed. The only difference I see is in the Google account to which each device is registered.
How can I get the Assistant icon on the top device?
Note I have also tried clearing data for the Google and Google Play Services apps, to no avail.

Does the location (country) of Google account is same on both devices? Also Google app version. Moto X4 has android one and regular android devices. Check whether both are same. Android one has more stock Google features, that it may be with assistant I think.

@RahulGopi Yes. Both are US and US English. Both devices are the same Android variant, neither is Android One.

And service provider?

@RahulGopi The phones were both purchased unlocked.


text:
Can I change the icons used in the quick settings?
I have a new phone, and the icons in the quick settings are ugly in my opinion.
Can I change the icons used here easily, and if so how? (I see similar icons in the normal settings, i am happy if those change as well).
Andoriod 7.0

You can find a substratum theme with your choice of icons and use it. Search them on Play Store. Requires a rooted device though.

Not got a rooted device, and it sounds like more effort than its worth for changing those icons.


text:
How do I set up erase and secure?
My phone was stolen so I tried to erase from Samsung Device Manager but it just sends an erase instruction which I don't know whether the person who turns my phone on will be able to just stop from the device or not :(
Also the erase button on google device which sends a notification to the stolen phone to set up, the friendly thief ;)
So I'm trying to not be in the same position again, I don't understand how to set up erase and secure from my new device.
Please help, Thanks

Remotely find, lock, or erase an Android device:

Go to android.com/find and sign in to your Google Account.

If you have more than one device, click the lost device at the top of
the screen.
If your lost device has more than one user profile, sign in with a
Google Account that's on the main profile. Learn about user profiles.

The lost device gets a notification.
On the map, see about where the device is.

The location is approximate and might not be accurate.
If your device can't be found, you'll see its last known location, if
available.

Pick what you want to do. If needed, first click Enable lock & erase.

Play sound
Rings your device at full volume for 5 minutes, even if it's set to
silent or vibrate
Lock
Locks your device with your PIN, pattern, or password. If you don't have a lock, you can set one. To help someone return your device to you, you can add a message or phone number to the lock screen.
Erase
Permanently deletes all data on your device (but might not delete SD cards). After you erase, Find My Device won't work on the device.
Important: If you find your device after erasing, you'll likely need your Google Account password to use it again. Learn about device protection.

More informations: support.google.com

Thank you I've done that but I was more concerned that a) it will only erase if the phone is turned on within the next year and if the thief turns it on will they be able to stop the erase from the device. Also b) how to set it up on my new device to gain more control in the event it ever happens again.


text:
What is the difference between NB and WB entries in mixer_gains.xml?
LineageOS for my phone has these sections with entries in the mixer_gains.xml file:
<path name="gain-incall_nb-handset-mic">
<path name="gain-incall_nb-handset-mic">
<path name="gain-incall_nb-speaker-mic">
<path name="gain-incall_nb-speaker-mic">
<path name="gain-incall_nb-dex-speaker-mic">
<path name="gain-incall_nb-dex-speaker-mic">
<path name="gain-incall_wb-handset-mic">
<path name="gain-incall_wb-handset-mic">
<path name="gain-incall_wb-speaker-mic">
<path name="gain-incall_wb-speaker-mic">
<path name="gain-incall_wb-dex-speaker-mic">
<path name="gain-incall_wb-dex-speaker-mic">

But I can't find what NB and WB stand for, or their difference, which makes it hard to know which to alter.
(I'm guessing they could stand for "no <something>" vs. "with <something>" but that doesn't help much)

The abbreviations here stand for narrowband (nb) and wideband (wb).
You can see the list of supported media formats, including the supports audio codecs here:
https://developer.android.com/guide/topics/media/media-formats
For example, the quite common AMR-NB codec.

Can the answer be expanded a bit, as right now it unfortunately answers the question asked, but in a way that isn't usable information :) I now understand the abbreviations, but still have no way to know which of these to modify for a given type of audio output which I figured I'd learn, given the abbreviations. For example,.which codecs are WB vs NB isnt stated, nor is is clear which codecs are used in a phone call (always gsm, or others too?)


text:
Ignore all those "free" wifi access points
This has probably been asked before but I was unable to find anything relevant with searches.
My problem is, I can be using my phone with my almost unlimited 4G data, quite happily, but if I pass too close to a place offering "free" wifi, or if a bus with "free" wifi on board passes me, all of a sudden I get redirected to  a "You must sign in.." page.
I don't want  to sign in, I don't WANT to use their "free" wifi. I want to continue using my 4G data, without having to go through the rigamarole of disabling wifi every time I leave the house. I want it to IGNORE those "free" wifi things.
Can this be achieved in any meaningful way?

Which Android version? Check your Wifi settings (disable notification for free Wifi networks) and delete all saved Wifi networks you don't want t connect to.

Not exactly what you want, but if you don't mind keeping location enabled all the time, you may set up a Tasker profile to disable wifi when you leave the house.


text:
How do I go back to the old tab switcher on Chrome?
I don't know when this happened but in the latest version of Google Chrome for Android, I can't swipe down from the 'open tabs' button to get the card UI of all open tabs and switch to or close the tab I want.
What I see now when I swipe down from the 'open tabs' button is an ugly list containing a list of all open tabs and it always starts at the top so I have scroll all the way down to close the most recently opened tab.
Does anyone know how to go back to the way it was? Maybe there's an experimental flag I could enable or disable?

Found the answer: Disable 'Simplified view for open tabs' in Chrome settings -> Accessibility. Source: Reddit


text:
Illegal option -o pipefail
I'm using termux and a git project to compile a git android apk source code the code is in bash command when i run the following command it says illegal option -o pipefail.

You're using the fast shell interpreter, sh, while apparently, as the file name suggests, that it's made for Bash. (In fact, set -o pipefail is a Bash-specific option).
To run that script properly, use bash as the "launcher":
bash buildOne.bash


text:
Pushing a directory of code to GitHub from Android
I have a directory structure containing code on my Android phone. I would like to push the code to GitHub. I have downloaded the FastHub app and tried the mobile and desktop versions of my GitHub account but am still unable to do it because I want to upload everything in one go.
Perhaps I need a shell client with git installed or added on on Android.
Can someone please tell me how I can accomplish my task?
Thanks.

FastHub is just a GitHub client, so it's of no use where Git is needed. As you suspected this requires a Git client, though it doesn't need to be run in a shell.
Up to at least Android 10 MGit is one useable option.

GitHub: When starting a new repo, create a repo with a readme so it can be cloned immediately. Copy the URL to the repo, e.g. https://github.com/username/reponame.

MGit: Go to Settings and set the storage location for repos if the root of emulated external storage isn't a good spot.

MGit: Press +, paste the repo URL into the "Remote URL" field, check "Clone recursively" if necessary (no idea if that works), and press "Clone". It should quickly start the process, but it can be slow if it's a huge repo.

Copy and paste the files with your code into the repo directory using a file manager. Recommend copying so there's a backup in case something goes wrong while still learning this process, but users choice.

MGit: Go into the repo and move over to the Status area to confirm your files are being detected.

MGit: Open the menu by pressing the hamburger or swiping from the right, press "Add all to stage", and then "Commit", and enter your commit info. Recommend filling the optional Author field so it doesn't use a default, which looks odd on GitHub. Press "Commit" to finalize it.

MGit: Open the menu and press "Push" and then "origin". Now the login..

GitHub: Go to Settings -> Developer settings -> Personal access tokens (easy link). Press "Generate new token" and confirm password if necessary.

GitHub, PAT: It's good to add a note specific to the app + repo as it's easy to forget what each is for, and the note apparently can't be changed after. For the scope select "repo", then scroll down and press "Generate token". Make sure the token is copied before leaving the page.

MGit: Enter the PAT you just created as the password on the login. Now it should successfully push.

If a shell client is preferred Termux may work. If a real shell client is preferred a Linux chroot environment like UserLAnd is the way to go, as it's almost a real Linux install. Beyond Android 10 this will all probably fail because of storage permission changes.


text:
Google Photos search to show only local photos
On my Android phone in Google Photos, I want to select and perform an operation only on photos which are actually stored on the device.  I tried a couple of search terms such as "local" and "local:" but I am really shooting in the dark here.  Is there a way I can filter or search and only show images which are on the phone, so I can then do normal operations on all of them at once?
There are several pre-defined searches available like "Videos" but I don't see any which do what I want.

perform an operation only on photos which are actually stored on the device.

If this "operation" is outside of the "Google Photos app" you can install an other gallery app that can search local photos, has "multi-selection" and "send"
Example:

find local photos with alternative-gallery app
select the photos
send selected photos to "scrambled-exif-app" (= remove exif data from seleted photos and re-send)
send result via email

A Photo Manager (where i am the author of) is a gallery app with powerfull search functionality.
I am shure that other gallery apps can do this, too

Actually, the reason I want to do this is that I want to rename the images.  I can do this outside the app, but then in order to sync the changes to Google Drive I have to delete the photos and then re-upload them.  If I rename all the images locally in a single batch, I want to then select all the images renamed (either before or after the rename) and then "delete" them after I rename so Photos will think the renamed photos are new and re-upload them.

And yes, the fact that Google provides no native way to simply rename images is idiotic.


text:
No one can hear me on my Galaxy Note 8 Edge! How do I fix?
No one can hear me on my Samsung Galaxy Note 8 Edge when they call me or I call them.  I hear them clearly, but I have to race to turn the speaker on before they hang up.  How do I fix this problem when it seems my mic works fine when I use an app to record myself

Most apps use secondary source to capture audio when the primary source is down. The source switching is automatically done and, in a phone with good memory, might be seamless.
It is highly probable that your Mic (primary audio source) is down. When recording, the app might actually be switching over to secondary source for audio (which might be the loudspeaker). My advice is that you change the Mic of your phone.


text:
Why does npm fail in termux?
I have an Acer Chromebook 13 with Termux installed. I've run termux-setup-storage and I have nodejs installed (no errors). I'm trying to make a small node app under the downloads directory -- as termux references it: /data/data/com.termux/files/home/storage/downloads/_dev/base_app/api
I have created a package.json file there, and when in that directory, I ran npm i -s express
this seemed to run ok, but it didn't update the dependencies in the package.json file.
npm install express --save produced a long list of warnings (the same one over and over - tar EPERM: operation not permitted, futime) and then an. I failed to copy the error at that point.
then I tried running npm install mongoose --save had similar behavior. The error I got then was
npm ERR! path ../semver/bin/semver
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../semver/bin/semver' -> '/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver'
npm ERR!  [OperationalError: EACCES: permission denied, symlink '../semver/bin/semver' -> '/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver'] {
npm ERR!   cause: [Error: EACCES: permission denied, symlink '../semver/bin/semver' -> '/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver'] {
npm ERR!     errno: -13,
npm ERR!     code: 'EACCES',
npm ERR!     syscall: 'symlink',
npm ERR!     path: '../semver/bin/semver',
npm ERR!     dest: '/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver'
npm ERR!   },
npm ERR!   stack: "Error: EACCES: permission denied, symlink '../semver/bin/semver' -> " +
npm ERR!     "'/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver'",
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',
npm ERR!   path: '../semver/bin/semver',
npm ERR!   dest: '/storage/emulated/0/Download/_dev/base_app/api/node_modules/.bin/semver',
npm ERR!   parent: 'api'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2019-05-27T01_18_24_536Z-debug.log

side note: tsudo doesn't work. ANy command I run with tsudo tells me Permission denied.

It tries to create a symlink and fails – as symlinks are not supported by VFAT (internal SD card is presented as VFAT, via FUSE, despite of the underlying system being something else, usually ext4 nowadays).

does that mean a node based dev environment is going to be impossible without linux/crostini?

I cannot tell, I've null experience with NodeJS. That question is better asked in a NodeJS community. One possible solution I could think of is creating e.g. an ext4 volume (on a separate partition of the external card, or in a "container" – I've no idea on details for the latter, though), and locate your NodeJS stuff there.

Does this answer your question? Unable to install express ( of node.js) in Android termux using sdcard0 as directory

Related: Insufficent rights for npm install in Termux on Android


text:
How to disable "save password to Google?" prompt?
I am currently using a Galaxy Tab A 2016 on Oreo and the above prompt pops up everytime I log in an app. Is there a way to disable this prompt?
Thanks.

FYI, for future readers, I believe the correct way to disable this feature is by going to:
Settings > General management > Language and input
Then, under "Input Assistance," set "Autofill services" to "None."

This is the correct answer post 2019. However, the path to "autofill services" can vary. If a person cannot find the service, try using the searchbar in settings to find "autofill services".

This answer addresses keyboard autofill features, but does not answer the question regarding the prompt as described. YZN3RF's answer is correct. https://android.stackexchange.com/a/233168/158516

For me on a Moto G9 with Android 10, the following worked:

"Settings" > "Accounts"
Tab the main account for the phone
"Google Account (Info, security & personalization)"
"Security" Tab > Scroll all the way down > "Signing in with Google" > "Password Manager"
Tab the cogwheel in the top right > Disable "Offer to save passwords"
Voilà

In my special case I had some extra steps, because I was not able to access the "Password Manager" because I apparently used it at some point and would have needed my "Google Sync Passphrase" to get to the password manager.
Therefore I first had to head over to https://chrome.google.com/sync in Chrome, login with  my Google account, scroll all the way down and hit "CLEAR DATA" (which does reset all sync data, including bookmarks etc.).
Edit:
Discovered another setting! Right above "Password Manager" there is "Signing in with Google" which has a "Google Account sign-in prompts" setting ("Allow Google to offer a faster way to sign in with your Google Account on supported third-party sites").

On Android 11 devices method to disable saving user/password autofill prompts:
System settings -> General Management > Autofill service -> None


text:
"Mark all as read" in Messages... doesn't mark all as read?
I've asked the Microsoft Launcher to add a badge (unread message count) to the Messages app's icon
The badge always shows "34" even after I've done "Mark all as read" in the app.
Any clue as to how getting the count to 0 so that the badge disappears when I have no unread text messages?

What phone do you use (Phone model and Android version)? App icon badges with numbers are supported since Android 8. Some device are able to show them before 8 but these devices require a non-standardized way.

Oops... I must confess I didn't provide much information about my setup... My Nokia 7.1 phone runs Android One 9 with the Microsoft Launcher.


text:
how to replace android system.apk with one custom made version of it
I have created a copy of one of the main system apps(android system.apk) in which i have replaced some files to improve graphical view of my phone. is there any way to replace the two files or any other way to make changes directly to the application installed?
any advise will be appreciated.

Do you have root on your device?

yes i do have root on my device

You can copy the new apk file directly on the folder where the old apk is located.
I advise to copy it via recovery. If both apks have the same name, just replace the old one. If not, rename the new apk to have the same name as the old then replace it.
When you finish will need to clear the cache to avoid mixing up the old data with the new.
Important: Before processing with the copy/change operation, Do a backup of the old folder. It will be helpful to restore the old apk if things go wrong.


text:
android notification repeat
I'm using Google Pixel XL (OG) w/ latest Android OS w/ latest security update, yet noticing that Android sometimes shows me exact same notification as it showed me recently and I already swiped it out(
Please advise.

@ShubhamPanchal notifications repeat happens without reboot, just after I swipe out notification, exact same notification appears.


text:
How to keymap the key for moving to end of text file?
How to keymap the key for moving to end of text file?
Hi,
My keyboard is broken so I am remapping the keys with the otherwise interesting KeyMapper app.
However I cannot find the code for moving to the end of a text file. My text files are huge so I want to go directly to the end. Anyone know the keycode for this key? It's not just KEYCODE_MOVE_END, I have tested that and it only takes me to the end of the line, not to the end of the file.

Try to combine KEYCODE_CTRL_LEFT and KEYCODE_MOVE_END

I think the app does not allow combining.


text:
How to turn off ultra power saving mode that was enabled for Huawei Android while it was on low power?
My Huawei Android was on low power and it proposed to turn on ultra power saving mode. I accepted it. Now I have connected the phone to the charger but I can not enable other power modes. I am going to "Settings - Device - Power Saving" and there 3 modes are presented to me: 1) Ultra; 2) Smart; 3) Normal. The Ultra mode is enabled and I can not enable the other modes. When I try to enable other modes, the message appears and nothing happens:
This function can not be used in ultra power saving mode

So - is there way back to the normal power saving mode? I tried to Google this and some suggest to reset the phone to the factory settings. It is something incredible. There should be simple way out of this!? Why the ultra power saving mode is so protected?

Simple restart of the phone automatically brought me back to the normal power saving mode. It was that simple. That is why, possibly, no further explanation is given on the net about turn of the ultra power saving mode.


text:
Should I be worried about a security breach if Google Maps incorrectly shows that I drove over 650 miles from home?
I was shocked to discover that this past month Google Maps shows that I was home one day, drove from a neighboring location over 650 miles to Chicago the next day, and was home the following day.
Could this indicate that someone cloned my phone?
I know that inaccuracies can occur locally, but 650 miles? And Google Maps even shows the route that I allegedly took.
I searched for similar questions. Either they did not address this particular question or they were tagged as having already having been answered. If someone thinks that this question has already been answered, then please have the courtesy of providing a link in the comments.

You don't really need someone to clone the whole phone to make this, only your Google account is needed. So, the question is, was someone logged in with/using your Google account on that day and driving through that route? Is your car (Android Auto) logged with your account and someone drove it?

The only connection between my phone and car is via bluetooth. I have concluded that my Android tablet, which only connects via AT&T fixed wireless internet caused the event. Google Maps currently thinks that my desktop computer is 400 miles away in Summit, MS. Tomorrow, it may think that it is in Colorado. So I suspect that Google Maps picked up a location of Chicago and constructed a hypothetical route that I would have taken to get there. So now, I am less freaked out.

Recently, I read of an incident in which someone's phone had been temporarily transferred to different SIM card by a scammer. The person contacted his carrier, thinking it was a technical problem. But when he got his phone working again, he discovered that his investment account had been emptied by a six-figure amount. So when I saw that Google Map route from near where I live to Chicago, I kinda freaked.

In my case, the solution was to turn off location services on my Android tablet. Google Maps was using my ISP to guess my location.
Although I was in Alabama, my ISP was reporting my location as Chicago, so Google Maps assumed that since I was in Alabama one day (according to my cell) and in Chicago the next (according to my Android tablet), then I must have driven to Chicago (even though my cell was still in Alabama). Then it produced a likely route that I would have taken. Note that I seldom use my Android tablet and that the Chicago thing occurred when I first turned it on after changing ISPs.
This is the best explanation I can come up with.
So if your location service comes from your ISP rather than your cell provider, make sure that your ISP gives an accurate location for you.


text:
Android TV showing "There was a problem communicating with Google servers, try again later" error
I just got a new Android TV box and am trying to sign into Google play store but every time I put in the information and hit enter the error "There was a problem communicating with Google servers, try again later" pops up. I have cleared the data on Google play store and Google play services and have restarted my TV but nothing works. What should I do? How do I solve this problem?

Perhaps there's an update available for your TV?  Have you tried navigating to Settings and finding a System Update page?

I checked. There's no update. My system is up to date.


text:
Recover manually deleted call history
I was looking for an outdated third party call backup app which does not update instantaneously at the deletion of logs via the default phone app. Would that be necessary or is there any other way I can save the said deleted history?
If yes, could anybody suggest such apps? Thanks!

there are no apps (as in an android app) to my knowledge but you can look at the binary data because what youve done is a soft delete and you need a hard delete to erase that information off the physical memory..
long to do and could be draining since you have to translate the binary also into higher level form .... you need a compiler for this. thats AFTER you find the location of the binary anomaly youre looking for (you can do this after too, thatll be easier, but youd have to decompile alot more code)
as long as your computer (in this case android) hasnt replaced that unused space (ie you havent downloaded too much information since) then its possible
im sure there are programmes to recover your code as i used to use these kinds of programmes since like 1997.
good luck finding that in 2019
but if you do btw... let me know.. thanks

This is unlikely to be possible. Disk recovery software requires raw disk access which is only possible if your device is rooted.
Moreover, unlike regular desktop computers, your Android device is likely using SSD instead of hard-disk. Data recovery in SSD is a lot trickier than hard-disk due to wear balancing. However, the killer here is that your SSD device is likely TRIM-enabled, unlike with hard-disk where deletion simply marks the space as unused, TRIM will wipe the space moments after deleting the file.


text:
How to fix “fastboot FAILED (command write failed (No such file or directory))” error?
I was trying to flash TWRP recovery image in my MI 8 SE on my windows 10 laptop. I can detect my device in fastboot mode, but when i try to flash the image i get this error
target didn't report max-download-size
sending 'recovery' (25668 KB)...
FAILED (command write failed (No such file or directory))
finished. total time: 0.008s

My phone then exits from the fastboot mode and i get a black screen with a tiny text at the top left corner of the screen "Press any button to exit" or something like that. When i try to flash the same recovery imaget on my windows 7 pc it flashes without any problem. Not sure what the problem is i've tried installing drivers for the phone and trying different usb ports but nothing help. I can detect the phone when it's turned with no problem.

fastboot oem device-info

sorry did not read. this question is not related to android

maybe you should use fasboot from cmd.exe instead of powershell


text:
hard factory reset when partitions are messed up
I have a Google Nexus 7 (2012) which for no apparent reason entered an endless reboot loop. Trying to fix it with a fresh install of the OS via TWRP, I unintentionally messed up the partition table.
Now the device doesn't even show the Google startup screen. The screen stays bare dead whatever I try (power + volume down, up, upsidedown, usb plugged in, immersed in Coke, boiled...).
Is there a relatively inexpensive way to interact with an android device that has its partition table damaged?
(Of course, it is not detected by adb.)
details
Probably they don't add much to the description of the problem, but for the sake of completeness, here are the latest steps of this tragedy.
Connected as root via adb I used parted to try and enlarge the size of the system partition (because the OS image didn't fit the system partition). It returned an error saying that it did not recognize the disk label.
/system/bin/sdparted # ./parted /dev/block/platform/sdhci-tegra.3/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0: unrecognised disk label
(parted) quit
quit

So I reverted to fdisk, not really knowing what I was doing. It asked if I wanted to write a new label and it seemed a good idea to me to do so and I persisted the change. (In retrospective I see it wrote a DOS partition, which doesn't sound as good)
/system/bin/sdparted # fdisk -u /dev/block/mmcblk0
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.

The number of cylinders for this disk is set to 481024.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): write
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy

Then I switched back to parted, which had an apparently nicer output:
/system/bin/sdparted # ./parted /dev/block/platform/sdhci-tegra.3/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC HAG2e (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags

(parted) quit
quit
/system/bin/sdparted # exit

I rebooted and from that moment on the tablet shows no signs of life.

you probably don't read the disclaimer "Warning: Re-partitioning your Android may lead to a complete breakage of your device software and may render it unbootable!"

try to get it in bootloader mode with the proper key combo. try to flash from fastboot https://developers.google.com/android/images

Extending the partition seemed to be my only option, because for some reason the system partition was a few MB smaller than the (original!) image I was trying to reset to.

And it doesn't get to bootloader mode, the screen looks dead. And the usb port doesn't respond well. Even if the OEM driver is up to date, Windows 10 returns a device descriptor request failed error. Playing with partitions I may have messed up things at a rather  fundamental level...

maybe you can use the tegra-uboot-flasher to get bootloader mode back, but this is out of my knowledge and just speculation https://android.stackexchange.com/questions/212832/is-there-a-way-to-enable-usb-debugging-from-fastboot/212838#comment272476_212838

Thanks for the hint and sorry for the late reply. I had no idea that fastboot can connect in cases when adb can't. I spent these days trying to let it connect with fastboot but with no success, the tablet doesn't even enter in bootloader mode.

you need to flash/or exec U-Boot from tegrarcm via tegra-uboot-flasher-scripts

thanks, I thought a prerequisite was entering in bootloader mode (which I can't). However, even if was able to do so, I have a Windows host (not Linux), and on top of that tegra-uboot requires a few dependencies which makes it a bit harder. I might use a virtualized Linux but my (poor) understanding of the situation indicates that the essential problem is the inability to connect via usb in any way. The device doesn't respond to my pc driver's request. I was able to put the table in APX mode so its driver deviceid is USB\VID_0955&PID_7330, but I cannot find any official APX driver for Windows.

nope, you don't need bootloader mode. consider UNetbootin (bootable USB flash drive) https://unetbootin.github.io / here is a linux tutorial for nvflash: https://forum.xda-developers.com/showthread.php?t=1879228

ok, thanks. So no need for bootloader mode. I understand nvflash is not so straightforward. The XDA-developer's post you pointed at seems to fail in the end. Before flashing one need to have exported a few crucial files. I understand it is at the very least the BCT, a segment of code that enables the chipset to run the bootloader code. And I cannot find official Windows drivers for APX mode, which is the only way it promises to connect to my PC. (I'd rather not install unofficial drivers, for my PC's and tablet sake).

you can set up a sandbox PC if you are afraid about unofficial drivers, or Xubuntu 18.04 live distro (via UNetbootin, as i wrote)

Ok, I may use a "disposable" OS to help prevent malicious code from hacking my PC (and it is handy  the UNetbootin you suggested), but what about code potentially injected in the tablet by the driver? Also, I am rather surprised that Asus or NVidia do not offer any easy-to-use solution to factory reset the device (at a level lower than fastboot and adb). But I see it is my fault in the end, I entered an area of which I have no clue...

the default easy-to-use solution for factory reset is: complete bootable system image (read-only) = ROM / compared to a computer this is similar to BIOS. All apps and user content on userdata partition (wipe-able), similar to hard drive. You can expect the same support for bricked rooted phone, as you would expect for bricked mainboard with self-written BIOS. Thats why bootloader is locked

Maybe this will help you a little N7 Unbricking Information here the link to the links (scroll down)
https://forum.xda-developers.com/showpost.php?p=53554719&postcount=3

thanks, it turned up so complex... I feel I must me a firmware hacker to solve this.


text:
bricked mi a2 lite
Today I had a bad idea and decided to try to install Gcam on my A2 lite. So I installed ADB and Fastboot on my PC (linux), then flashed TWRP with the aim of later installing Magisk.
However, something went wrong: whenever I switch on the phone, the phone has consistently not booted to Android, but only to TWRP (which however was working). So I panicked and tried to fix this issue via fastboot, but things did not improve; in fact, they even got worse, as now the phone is unresponsive after TWRP's splash screen.
The only things I can still actively do are shutting the phone on or off, and starting fastboot instead of booting the system (which amounts to booting TWRP after all). Once connected the phone to my PC with a USB cable, ADB does not see the phone, but fastboot does.
I've tried a few things already, including flashing TWRP again and flashing a new system.img I've downloaded from the Xiaomi page, but with no success; Is there any chance to save my phone?
(I've tried to use a Linux porting of MiFlash, but with no success, either).

May i know how you tried to flash system.img

I got the file from the rom offered by Xiaomi.

but how did you flash it? did you use fastboot?

Yes, I did so. But with no effect, seemingly.

Did it report any error after your fastboot flash command?

To be hones, I can't remember. But I've to do it once again, right now, and the outcome is:
...
FAILED (remote: unknown command)
finished. total time: 0.020s

please try running fastboot reboot

Let us continue this discussion in chat.

@helper so finally it was your solution: "did you get your system.img from here: http://en.miui.com/download-354.html"

Good it worked.

Get the system.img from here: http://en.miui.com/getrom-354.html  and flash it


text:
How to disable android phone's display?
Hi im looking for method to disable my android phones display running on pie. I don't want to use tap to sleep, power button or simulate that option but I want to simply disable display completely and then turn it back on when I need it. I have rooted my phone already.
Example: I want to watch a YouTube video with only audio. So if I disable the display it can save my battery but pressing power button stops the buffering.
it's just an example for what I want to do this. I don't want it. I'm aware of youtube vanced..

Do you want to hear only a limited number of YouTube videos I would instead download and convert them to an audio track (using e.g. ClipGrab for PC). This would also save the power to decode the video.

I do not want it for youtube video. It's just an example of what I mean by disabling display panel and not pressing power button. Thanks for you reply btw.

Check your Wifi settings, usually when the screen goes off Wifi will be automatically disabled. This may be the reason for the "stops buffering".

I'm sorry maybe due to my English I am not able to convey what I want. I want to disable the display panel and nothing else. 'YouTube' was an example. All I want is to disable my display panel.

What you want is now clear, however Android is not designed to only switch off the display. Doing so changes the system state at various places and therefore can affect Wifi and other power saving features. AFAIK the power button simply switches off the display, the "unwanted rest" happens automatically because the display goes off, not because you pressed the power button.

You may try some stuff from my question, which is somewhat similar. https://android.stackexchange.com/questions/204305/how-to-make-an-app-behave-the-same-way-with-screen-off-as-with-screen-on

Thanks @mnd. it worked!

Thanks @mnd I found solution for the problem.
The following app works smoothly. It disables only display
https://forum.xda-developers.com/android/apps-games/app-screen-backlight-off-xda-exclusive-t3037380
Thanks stackexchange family.
Source: How to make an app behave the same way with screen off, as with screen on?


text:
Desyncing android phone from google
We set up our daughters new phone using my husband google account. He turned off the sync for contacts on just her phone because she doesn’t need all his contacts. Several days later most of his contacts were deleted and ones that he had deleted off his phone were now back on his phone. How can he keep his contacts on his phone and not on our daughter phone

The easiest way to do this is open a new account for your daughter.
If you want your daughter to have access to apps puchased by your husband, have a read on how to share the apps with family here:
https://support.google.com/googleplay/search?hl=en&q=Family&from_promoted_search=true


text:
OTG Android Wifi dongle
I need your advice.
I have a Nexus 5x.
I'd like to connect Wifi dongle with Nexus 5x to use larger antenna for wifi.
Example product
[Nexus 5x]--[Otg cable]--[USB wifi product]
I tested with a usb-wifi module.

My nexus 5x recognize my usb-wifi device as "Ralink 802.11 n WLAN".
I used "Easy Otg Checker" app to check device name.
but. I do not have confident whether Nexus can use dongle as wifi.
Is there any way to use wifi dongle on Android smartphone ?
I saw a Youtube video. but I do not know...How to...

Is your device rooted?

No. it is not rooted.  Should I do rooted ?

With root access you can manually create and configure network interface. The problematic part is if kernel doesn't have driver for the dongle, which is not your case.


text:
Android Q Desktop Mode - control secondary display
I tried new Desktop Mode on Android Q Beta 3. The problem is that I'm not able to move mouse pointer to second display, so I don't have any way to use Desktop Mode.
Google Pixel XL, display is ASUS ZenScreen MB16AC, connected throught HUB via DisplayLink presenter (with USB-A)
Question: How to move mouse pointer to secondary display?

What phone are you using?

@ShaunRoselt I'm using Google Pixel XL

You should keep in mind that Android Q with it's Desktop Mode is still very much in beta and not a finished product at all.
There's still lots of bugs and problems with it.
The best you can do is wait for the official release later this year.