text:
Using Moto Droid Car Charger with Samsung Galaxy Nexus
I just upgraded my phone from the original Motorola Droid to the Galaxy Nexus. Both phones use the same micro USB port. Is there any reason I cannot use my Droid's car charger with the Nexus?

It turns out that the car charger I bought for my Moto Droid is unable to charge the Galaxy Nexus. It just does...nothing.

It should work fine -- Micro-USB is Micro-USB.  The only possible caveat is the phone and charger may not negotiate high speed charging.  However, that's unlikely.
My wife and I have shared wall and car chargers between her old Droid, current Droid X, and my Incredible without any problems.

I tried using my wife's Droid car charger with my Galaxy Nexus and it did not charge. (The wall/USB charger works, though.)

Thank you for your response. I was primarily concerned with "blowing up" my phone through a mismatch in voltages or something along those lines.

@AlEverett - Did it not work at all, or did it just provide a weak charge? I know the Nexus is seeing an issue where it can't maintain a charge when navigation is running.

USB is standardized 5v, but some devices may want higher amperage, and fail to charge, for example: http://www.macobserver.com/tmo/article/watt_to_know_about_iphone_ipad_power_adapters/

@NoBugs: There's a USB Charging Standard for going over the standard 500mA max load (900mA for USB 3.0), though Apple is still using their own standard.  Pretty much every other modern smartphone should be using the USB Battery Charging Standard though.

It could be an issue with the actual car socket. Ensure that the fuse is intact, and that the socket is working fine.


text:
2.3.6 update for Samsung Galaxy S 2 GT-I9100
does anybody know how to download the officially released rom from Samsung? I can't see it in the web site and kies does not donwload anything, currently I am using the 2.3.4 updated a while ago. I have the phone in Switzerland (Zurich) and my Phone operator is Sunrise. Thanks!

See also: When will my phone get the Android 2.3 update (Gingerbread)?

Samsung's Kies software is the official way to download and install updates. These updates are released on different dates for different countries and networks and some countries/networks don't have all updates. It may be that your network hasn't tested and certified the update yet, or they might not be releasing this version at all.
This page lists most of the official updates available via Kies for the Galaxy S2 I9100 phone:
Samsung Galaxy S2 Firmware Updates via Kies Official Releases compiled list (2012) | Android Stock ROM BlogPost

source: Stack Exchange

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

sort: votes


text:
Android-x86 not streaming videos in apps
I have installed Android for PC from android-x86.org. The Android version is Pie. It is working fine, but videos are not being streamed. YouTube is working fine when opened in Chrome but no app is streaming the videos.
Android native libraries are also downloaded using settings. The OS is connected to VirtWiFi and LAN and even the YouTube ads also work in the YouTube app but only audio, no video.
Is there a different network route for Chrome and for apps? I can build a custom Android app also to troubleshoot the issue but not sure what to start from?

I would assume that there is a video codec problem if you don't get the video image. The codec support, especially the hardware based codec support is currently very limited. What GPU do you use? For questions on Android-x86 you should use Google Groups list: https://groups.google.com/forum/#!forum/android-x86

Thanks for reply. If it is a codec issue then chrome should also not stream the videos. But videos are not working only in apps. Am I right? Looks like chrome and apps have different way of connecting to internet.

Based on some commit messages it seems to me like Chrome has it's own codecs integrated and don't rely on the platform codecs.

Oh.. any idea how to troubleshoot which codec is missing and from where to download them

Android.x86 is working on the codecs hence I am sure there is not a simple way to just download and install a codec. Check the logs while the playback fails may be this unveils more details and allows you to open a bug ticket on the android.x86 project.

I solved it by disabling the FFmpeg codec in the preferences.
Weird, but it fixed the issue when I was using an old HP Probook 4520s with integrated graphics.

I was using my old 1st gen i7 HP PC (and its iGPU).
What I have done in order to fix this is to install an old AMD card (because Nvidia cards aren't supported), and now it works.
EDIT: This was happening because the iGPU dodn't support HW video decoding, and so it failed and required the external AMD gpu

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


text:
System partition locked to read-only in Android 10
I have a Xiaomi Mi A2 running Android Ice Cold Project (AICP) nightly build 15.0 (Android 10). I don't know what I did, but after installing a custom ROM, I noticed that my system partition cannot be mounted as read/write.
I tried

mount -o rw,remount /system command on a terminal emulator, ADB shell, and TWRP terminal. The command shows no feedback showing failure (maybe I succeeded?)

Mount it using the built-in TWRP mount function. The system check box can be checked out (it doesn't retain its check mark on reboot)

Some apps actually work according to sources and reviews. Some say (Failure to mount..), some say (System mounted as rw), and some don't have feedback. I don't know what to do.
I noticed this when I installed a custom ROM. I tried using another custom ROM but same thing. Also, reformatting doesn't help. I don't know if this occurs on the stock ROM.

Disable dm-verity

Android 10 prevents apps or pretty much anything from mounting system as R/W. Yes, even if you are rooted.
Top John Wu, the creator of Magisk has covered this in a series of tweets. I will link them below for your reference. Your only way of tampering your system now would be using a systemless Magisk module. You can make your own or use some other module and inject files inside its folder before rebooting to apply that module.

Source: https://twitter.com/topjohnwu/status/1169720663201988611

Just confirmed that the inability to remount system (the directory "/" in system-as-root) to rw is something new in Android Q, NOT an issue with the new system-as-root approach Magisk is using in the canary builds. Will have to investigate further to find out how to deal with it.

Source: https://twitter.com/topjohnwu/status/1170404631865778177

I found out that Android 10's system images are formatted with EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS. It will deduplicate blocks in the filesystem to reduce the image size. On my Pixel XL, the partition is physically not large enough to successfully run 'e2fsck -E unshare_blocks'.

Source: https://twitter.com/topjohnwu/status/1170404633371525120

As clearly stated in the name of the feature, that EXT4 shared blocks feature is RO (read-only). The inability to disable this feature due to lack of free space in the partition (at least on my Pixel XL) makes it literally impossible to ever mount the system partition as rw.

Source: https://twitter.com/topjohnwu/status/1170404634604658688

I guess Google's justification to format partitions with this feature enabled is the introduction of overlayfs to "simulate" a writable partition.
RIP to any mods or root apps that modify system. On Android 10 it seems system is either formatted as RO or using logical partitions.

Source: https://twitter.com/topjohnwu/status/1170443615077666816

BTW, just found this tidbit in Android's source code. They call these kind of filesystems "ext4 dedup". Other read-only filesystems they are aware of is squashfs (widely used in extremely constrained devices) and Huawei's EROFS.

So, in short, you cannot R/W the system partition anymore with Android 10. The argument is just rejected.

EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS would be a problem on devices originally shipped with Android 10 (due to Dynamic Partitions and hence small system.img). On devices upgrading to Android 10, custom ROM developers can (re-)build system.img without SHARED_BLOCKS. Or the user may try e2fsck -E unshare_blocks in TWRP. If the shortage of space is a problem, dump system.img to /data partition or external SD card or PC, remove block sharing (by resizing filesystem) and flash back to system partition. ATM I can't think of a reason for this to not work. Bigger problem is dm-verity.

@IrfanLatif my Nokia 8.1 updated from Android 9 to 10 and it had this problem and that's when I discovered TJW's tweets. I tried with a custom ROM and dm-verity was out too. My experience with dm-verity is more about device denying to boot or marking it as corrupt/won't boot types. It shouldn't be the one causing R/W from not happening. But I believe you know more on that topic. I don't know how and in what ways custom ROM devs can sort this out, but the few GSIs I used had this issue and I can't expect many of modifications from a GSI. Let's see what the ROM developers achieve in the future.

I was having similar problems with Android 10 (Havoc OS / TWRP / Magisk 20.4) on an ASUS Max Pro M1. I wanted to remount /system so that I could edit /system/etc/hosts. I couldn't get adb to remount, though, and running adb root wouldn't work either.
Eventually, I was successful, though, doing what I needed to do on the phone in a terminal, rather than using adb / debug mode. Here's what I did, including installing a file editor, since Busybox can't install on Android 10 either:

Install Termux from the Google Play Store.

Run Termux.

Type pkg install vim

Type su, and grant permissions when the Magisk app prompts you.

Type mount -o rw,remount /
mount -o /system doesn't work, so you have to mount the whole filesystem in read/write mode.

If you want to use vim as root, you'll need to do this, too: alias vi=/data/user/0/com.termux/files/usr/bin/vim
It lets the shell know where to find the binaries for vim, since it's installed with termux. You may need to modify the path slightly depending on your phone; check first to confirm that's where it is.

Do your dirty work.

When finished, type mount -o ro,remount / to remount the filesystem as read-only.

That should do it! I hope this works for you as well...

Nope, and I'd be surprised if it actually worked for you. First of all, common sense told me that it should not matter whether you access /bin/sh through adb shell or through termux, but never mind. Remounting / as rw seemed work and it actually showed up in mount as rw. I could edit files under /etc, but: First time mount -o ro,remount / threw an i/o error on dev/block/dm-1, but repeating the command seemed to work and / showed up as ro again. However, after a reboot none of the changes were present. So, no, this doesn't work, since it doesn't survive a reboot, sorry.

Hi, I'm also trying to edit the hosts file! However, when I try to run mount -o rw,remount / in Termux, I get the error '/dev/block/dm-0' is read-only. Do you have any idea what the issue is here?

With my experience (on a dynamic super partition), you need a vndklite image to be able to read/write the system.
vndklite image will mostly work on all devices, but some undergo a boot loop, and then you have no choice except to modify the system image and flash afterward.
This is my experience with GSI system images for VoLTE.

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


text:
Add multiple identical homescreen widgets on Realme devices
On my old phone (Android 8), I used home screen widgets to take notes on the screen, it’s very convenient.

But on my new phone (Android 10, Realme 6 pro), I get the error message “widget added”. It happens with any type of widget.

How can I fix this?
P.S. I'm a Python developer, but I used ADB before for fun.

Is the used note-app the same on both devices? The note icons look very different, hence it may be a limitation of the now used note app.

I use the same app and am able to add multiple notes widgets as in your left screen shot. Android 10,OnePlus 6

In Realme UI. you can only add one widget at a time. The user can't add same widgets multiple widgets.  However there is trick, use Launchers like nova etc. Where you can add multiple widgets.
:)


text:
Do not activate work profile when adding a G Suite account
I have a Samsung Galaxy S8+. I manage different email addresses, one of them is managed from a G Suite account. When I connect this account, my phone is installing a work profile, if I cancel during the work profile installation, I can not use my account. With the work profile, everything is separate (Gmail, Google Drive, ...), this is not really easy to use. I want to have this account as a personal account and not a work account.
I tried to remove it by following Pause or turn on your work profile, but on my phone, going to Settings > Accounts, I only have my personal accounts and can not see "Work profile settings"
I have another account managed with G Suite but I do not have this problem.
I also have access to G Suite if the solution is to deactivate it there.

I found the solution.
In Gsuite console
Need to go in Devices > setup (on the left menu) > mobile device management
And disable the functionality


text:
Removing Do Not Disturb feature in Motorola phone
I am trying to completely eliminate Do Not Disturb on my Motorola phone. If I'm in a doctor's office, I just turn the volume down.
I've tried all the simple settings on the Settings pages.
Is there any way to remove it?

Build a custom ROM with your desired modifications to the source code.


text:
Why Android can't be just mounted?
I read a lot about rooting android, that it is risky, that I can mess all and get my device completely dead and nothing can be done about it. So my question -- why all these phones can't be just mounted? If I mess up my system with root, I always can boot with live-cd or write disk image directly to /dev/sda. After all, I can just mount broken system and repair it.
Why android to not support it? Is it some real technical restriction, related to flash memory or something, that differs between phone and PC/Notebook?

Yes, why I can't mount android like my external hard drive.

My first thought is that it might have to do with the filesystem on Android phones. Are you sure it's supported by your kernel? I don't think they use ext3 or any other vanilla format.

Reverting that downvote (wasn't mine) -- as it is an interesting question. As would be "Why isn't root available by default on Android devices?" -- which is what it all comes back to. Since if it were, you could mount etc. all you like.

The only reason you need to root phones in the first place is that the manufacturer has tried to prevent software choice on the phone platform. The PC design is pretty unique in that it has had a choice of software platform for so long that it's an ingrained feature, although with Secure Boot on Windows 8 devices this is likely on the way out.

You can't mount them because there has to be some software to communicate between the phone and your computer. With the Phone the full software stack needs to be involved as it needs to take into account what happens when you mount the device when it's running. Also there are often multiple partitions on the phones, a raw mount would show up all the raw system files in the computer's File Manager which would be bad and things like Windows would probably try and format the Linux partitions as it can't understand them. On newer devices you can't even do a normal USB Storage mount but you have to use MTP as they use internal storage which still needs to be accessible while mounted. Technically it would be possible for them to make some kind of failsafe raw mount mode when it's plugged in while powered off (or started with some button held down), but they haven't, they do provide other methods of recovery instead. Also the firmware generally needs to be installed somehow, there are scripts and so on that run to set up things. If you have totally bricked the phone then there isn't much you can do.
But having said that flashing modern Android phones isn't too risky and actually bricking it is hard.
Firstly there are actually several images that can be flashed:

Boot loader (HBOOT)
Radio firmware
Recovery Firmware
ROM Firmware

Older devices did have some issue when flashing Radio/Boot. Specifically if you flashed them in the incorrect order and had mismatched versions you could actually brick the phone. But I believe that is mostly a problem with first/second generation Android phones, I haven't seen it being an issue on newer phones (also you probably shouldn't flash a radio of a different region as you might lose special features, like the 'HD Voice' for Australians).
Now days, in order to actually brick your device you would have to be totally unable to enter
HBOOT, Recovery and the main ROM. If you can enter any of those it should be possible to flash firmware from them (although in some cases they might have security enabled meaning you are limited to flash the official stock images, but you can generally break out of them and flash whatever you want). HBOOT allows for fastboot flashing. Recovery and the main ROM both have the flashing binary in them.
Finally if you did totally manage to brick it, you can look at using JTAG to reverse it. That probably does require soldering a cable onto the phones mobo though as well as a (cheap) cable. And some knowhow.

The root filesystem of a typical Android device can't be mounted because there's no way to interface to it in order to mount it.
The root filesytem is typically stored in flash chips soldered to the phone's board. When the phone boots, it runs a boot loader (also out of flash) that doesn't provide any option to run user-supplied software. The flash is software locked from modification, and the boot loader provides no "unlock" option.
The USB port is connected to the CPU, and there's no way to get the CPU to let you run code that mounts the root filesystem. Code loaded by the boot loader will only give you limited access that doesn't include raw read/write to the flash device.
Thus it is necessary to find some way to break this security chain in order to modify the root filesystem.
There are two reasons for this craziness. The primary reason is permit the sale of subsidized phones tied to a single carrier. The secondary reason is to make Android devices more reliable because a user can't, either intentionally or through inadvertent malware triggering, corrupt the device to the point where it can't recover.

I agree that this would be a great idea, but sadly wasn't implemented for security and carier locking's sake.
But do note that most phones have almost the same functionalty. Samsung download mode with odin does pretty much what you want it to do (flash an image directly to the flash device) and it is very hard to break download mode.
It is very much like on the computer: if the BIOS is still working you can boot from a CD and restore an image, here the bootloader is a sort of bios and if it works you can flash an image. If you flashed a custom non compatible bios on your computer you could just as well "brick" a pc.
If you avoid touching the bootloader on an android device you won't brick it, and even then some devices have "usb jig"s that will force restore the bootloader back. Why people are so much more reckless on their phones than on their pc is beyond me.
I think the idea is good but there really is no need for this right now, beacuse in practice the restore options and real "hard brick" possibilities are almost identical to the PC world and noone is complaining about PCs. People just need to be more carefull.

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


text:
SSHFS from Android to NAS
I'm trying to get any folder on the internal storage of a HTC M7 to be mounted via sshfs to a folder on my NAS. The goal would be to have for example the /sdcard/My Documents/My Recordings folder setup like this so it has almost unlimited storage. I've installed EasySSHFS and connected via adb shell. In /data/data/ru.nsu.bobrofon.easysshfs/files are the ssh and sshfs binaries. I exported this folder to $PATH and started trying.
I tried mounting through the following symlinks:
/sdcard
/storage/emulated/0
/storage/emulated/legacy
/mnt/shell/emulated/0
/mnt/shell/emulated/legacy

always trying to get to the My Documents/My Recordings folder.
Depending on whether or not I used su some folder paths worked others don't.
But even if they where mounted the app (I tried with Smart Voice Recorder as it allows you to set the path of your recordings, HTC's builtin Voice Recorder doesn't) wouldn't place its files onto the NAS but instead into the folder. Using a different path I was able to see the files locally.
Without su though I can't sshfs because of a permission problem with /dev/fuse.
I think the problem must be with the way android mounts the sdcard (fuse) but I can't figure out what exactly it is. I also tried mounting something not on the sdcard and symlinking to it but that didn't work either. Im suspecting the fuse mount to prohibit that as well.
Any Ideas?

I had to disable "Mount namespace separation" in SuperSU to get this to work.


text:
LG-P870 USB not detected in Windows 7
I'm trying to connect my LG-P870 to my laptop running Windows 7, so I can drop some music and contacts onto it. My software version is P87010i.
I installed the USB driver (tried two versions) as recommended, but still no luck. I keep seing a reference to the Tools menu and Mass Storage selection but I can't find any Tools menu on my phone. I can find the Settings menu, but no Tools.
Why can't I simply plug my phone in and see it in Explorer? It charges fine with the usb, just no comm.

AFAIK, there is no Tools in Android. What is this reference you are talking about? Can you post the link?

Have you checked if your USB connection on the phone is set to the correct mode (most likely MTP), and not e.g. to "charge only" (the default at least with the P880)? What you mean by "tools menu", from this context, most likely is what I'm referring to as well: When connected to USB, open the notification area and tap the "USB connection" entry. There you can select the connection mode.


text:
Google Now menu flashes quickly
I have a Galaxy Note 2.
When I go to Google Now and use the soft key to access its menu to get to the settings, the menu just flashes. I can't get it to stay on the screen long enough to hit the settings button. I tried to uninstall and reinstall it, but it still does the same thing.


text:
Samsung Galaxy S2 battery gets hot
My Galaxy S2 is less than a year old. The battery sucks! I have to charge it more than once a day.
Tonight, while on the charger, the battery life is actually going down. It's also way too hot to touch. Any inputs?

What did you do with it while it was on the charger? Download HD video from Youtube via 3G while watching it with display brightness set to 100%, while uploading a life-stream captured via the integrated cam? That's the best combination I know to make you need wearing gloves if you want to touch it. In other words: If you run something with a lot of "hunger" while charging, it might be normal for the battery to get hot. And there are components consuming it faster than it charges (e.g. video recording).

take the battery out and put it back in, do you have any shady, recently installed app/service running in the background that can be the cause of this? have you tried calibrating the battery?


text:
Enter fastboot commands from an Android phone
I want to do the following without a PC, just directly from an Android phone using a script / Android Terminal:

Reboot into bootloader, and then enter a few fastboot commands

Is this possible?


text:
Galaxy Note Jelly Bean update India
Is there any Jelly Bean update available for Note N7000 in India?
Any one know when this update is coming?

Not yet available in India.
Here you can see most of the countries are in pending list for OTA update.
If you are impatient for the update, you can grab the Asia or Germany version and manually install using the Odin method.


text:
Why does the "m" key disable my text editor?
Sometimes, it's the "o" key, but lately it's been the "m" key.
When I hit the "m" key, either by typing a message letter by letter or using Swype, my editing stops. I cannot recover without closing my editor and getting back in. Sometimes, I have to completely reboot my phone, and that seems to help. When I get back into the message to try again, I can edit until I hit the "m" key again.

Which app is this?

Some phones allow the user to assign single key presses as accelerators to start applications, dial regular contacts, or the like. Is it possible you set something like this? Check your keyboard settings for a keyboard type you may not use regularly. I think I remember this was a possible setting on the Galaxy Stratosphere, or similar.UPDATE: The Stratosphere has this setting under Applications\QuickLaunch. It can accept a combo key press to start any application at users discretion. Maybe you have 'm' or 'o' set somehow similar.


text:
Is there any way to do a Facebook video chat on Android devices?
Is there any way to do a Facebook video chat on Android devices?

Us the messenger app. It now supports HD video calling
https://play.google.com/store/apps/details?id=com.facebook.orca


text:
Questions on phone contacts and Google contacts
I am using 7562 Samsung S Duos.
I merged all the phonebook numbers to my Google account. Those numbers are not shown in phone book, but are shown in the Google account in my phone.

How do I copy all the numbers to the phonebook?
Where are the numbers actually stored now? Is it in Google server or is it in my phone only?
What will happen to these numbers if I log out my Google account from my Android phone?

Go to Contacts. Press contacts to display, then select which merged contact you want to display. Or, select all contacts. You can also customise the contacts to display.

Remove Unnecessary Contacts, take a backup contacts to SD Card using the
option >> back up to SDCard/Storage or something similar.
Delete all your contacts, then Import form SD Card, you will get an
option to select to which the contacts has to be saved. Select Phone
and you are done.
Your contacts are always stored in your phone, at /data/data/android.providers.contacts a copy of it is stored in your Google Account when you sync. Remember the contacts that are under Google only will get synced.
Nothing will happen when you log out from your Google account. Only Auto Sync is off.


text:
Can I get my phone back, given some information like model, IMEI, etc?
I lost my Android. I have no tracker.
Luckily, I do have some inforomation. I know my model, IMEI, last time used, registration date and more. Can anyone offer advice for getting my phone back?

If you know the IMEI of the phone it could be possible to track it and find it. The problem is that network operators are very unlikely to do this without a police order, and the police doesn't seems to like hunting lost phones very much (unless you are an important person or politician). I read about a stolen Mac case when the police didn't make too much effort for recovering it even after the real owner bought them photos of the stealer.
So, unfortunately, there aren't big chances to get your phone back...

If your phone still has power, you can install and start androidlost remotely.


text:
In Android 10, is there a way to prioritize notifications (i.e. their lockscreen order) WITHIN the alert category?
In Android 7 (Nougat), there was a special option that allowed for improved granularity in managing notification order, see e.g. Android Police - Android N Feature Spotlight: Full Importance Settings Offer Granular Control Of Notification Priority. I made extensive use of this feature but, alas, it has been dropped. Now on Android 10, I only find two notification classes, "alert" and "silent/gentle".
I have a lot of calendar reminders and messages that are both required to be alerted to me. However, I need the messages (Slack, Whatsapp, etc.) to be ON TOP of all the other notifications, especially on top of the calendar reminders, so that incoming messages do not get lost among the many reminders of a day.
Previously, in Android 7, this was readily feasible by giving the messenger apps "highest priority" and the calendar app "second-highest priority". Both generated palpable alert notifications, but the messenger notifications would always be moved to the top and remain there, even as new calendar reminders come in. Currently, the only way to move the reminders below the other notifications is to classify them as silent, which defies their very purpose.
Is there any way to change the order of notifications on a per-app basis within the alert category on Android 10? I looked extensively for an Xposed module or custom ROM that could do that. So far, in vain.

Gravity box "ultimate notification control" may be of some help (it's a pro feature) - not what you are looking for but as an alternative to some extent

The only thing I've found is to scan active alerts for "now" in the time received.  Beware, sometimes there is no "now" item, I have no idea why.


text:
Chrome and Firefox cannot add specific URL to home screen
I'm using Chrome and Firefox on Android 10. I need to add a link to my home screen and I can't find a way to add the specific link.
I know that I can do the following:

Go to the URL
Tap the overflow (3-dot) menu
Add to home screen

However, if I navigate to a specific URL within some sites, like Weather Underground (https://www.wunderground.com/) and follow the above process, it doesn't add the specific URL, it adds www.wunderground.com and doesn't seem to give me any way to edit that URL to reference the specific subpage (e.g. www.wunderground.com/my/specific/url).
Why, and how to solve this?

Have you tried to use a special app like Shortcut To URL to create the shortcut?

I am still having this issue despite @beeshyams fix. Attaching Wikipedia - Mithridatism to my home screen instead creates a link to the home page of the mobile Wikipedia.
Meanwhile, I've found forcing the desktop view of the page, then attaching to home screen works, linking to the correct desktop subpage. (Chrome 83.0.4103.106 on Android 10 on a Nokia 7.2 device)

@D-zap I requested Andrew (who posted answer) to check my solution and he reverted that it didn't work for him too. Hence, deleted my answer// Why it worked for me is still a mystery but that's another question

tl;dr
Using the browsers' "Add to Home Screen" (A2HS) feature may not open the expected link due to the browsers trying to comply with the standard of Progressive Web Application (PWA). Try other approaches instead, like using app widgets or 3rd-party apps altogether (examples below).
Progressive Web Application (PWA), Manifest file, and Add to Home Screen (A2HS)
To put it simply, PWA is an advanced web app that follows some rules. One of them is having a manifest file.

In order to call a Web App a PWA, technically speaking it should have the following features: Secure contexts (HTTPS), one or more Service Workers, and a manifest file.

A2HS is a browser feature to "install" a web app based on the configuration in the manifest file, which is linked on the header tag.
<head>
   ...
   <link rel="manifest" href="link_to_manifest_file">
   ...
</head>

One of the required fields in the manifest file is start_url that will be loaded when opening the "app".

The start_url member is a string that represents the start URL of the web application — the prefered URL that should be loaded when the user launches the web application (e.g., when the user taps on the web application's icon from a device's application menu or homescreen).

If start_url is invalid, it may return the document URL instead (i.e. the exact URL when the page is added to the home screen). However, since the manifest file is configured by the web developer, it might be difficult for end-users to modify/override this value.
In short, when a user adds a web page to the home screen, the browser will check if there is a manifest file, and if there is, it will try to use its value.
Some examples...

Wikimedia (including Wikipedia, Gamepedia, and possibly other wikis) has a mobile front-end extension that will only add the manifest file to the mobile view with start_url always pointing to the Main Page.
The manifest file:
<link rel="manifest" href="/w/api.php?action=webapp-manifest">
The content of the manifest file:
{"name":"Wikipedia","orientation":"portrait","dir":"ltr","lang":"en","display":"browser","theme_color":"#eaecf0","background_color":"#fff","start_url":"/wiki/Main_Page","icons":[{"src":"/static/apple-touch/wikipedia.png","sizes":"160x160","type":"image/png"}]}

This is why adding the desktop version works (and depending on the browser's configuration, it will redirect to the mobile view automatically), but adding the mobile view always returns to the Main Page instead.

Weather Underground always sets the manifest file regardless if it is viewed on desktop or mobile.
The manifest file:
<link rel="manifest" href="bundle-next/manifest.webmanifest">
Containing "start_url": "/", which is basically the domain itself.

Solutions and/or workarounds

Some sites only have a manifest file on mobile view, using desktop mode may mitigate this issue

Some automation apps may allow opening an exact URL. Tasker has "Browse URL" task and users can also add an app widget on the home screen as a shortcut to that task

Some 3rd-party apps can create a home screen shortcut to a URL

Changing user agent may work (e.g. by using XPrivacyLua as mentioned by user beeshyams in the chat room). According to the documentation,

Note: The start_url member is purely advisory, and a user agent may ignore it or allow the user to alter it at install time or afterwards.

(Idea, untested) strip the <link rel="manifest" href="link_to_manifest_file"> tag (e.g. using "ad" blockers) from the HTML when the page is loaded.

Is this behavior intentional on the part of the website, or is this badly implemented PWA standards?

@D-zap It's hard to answer that without knowing the web devs' intent. On one hand, start_url is actually optional for PWA; emptying it will just return the document URL instead. On the other hand, AH2S seems requiring it.

A solution that works for me:

shorten the link with some website like Bitly com
turn off the internet access
paste a shoterned link to your browser and try to reach it
unavailable internet will give you a time to add this "proxy" page to your home screen

Now I have a link, not an in-browser application.

I found that I didn't have to use a link shortener. My use case was going to www.nhl.com/kraken/schedule that would redirect to a particular day's URL. I set my phone on airplane mode, went to the url, then added it to home screen and that worked!

I confirm that the suggestion of @MRSharff works and it is the best one!

Thanks to the link from @Andrew T, this well-reviewed Android app seems perfect for linking to any website (or even Action within an Android app):
https://play.google.com/store/apps/details?id=rk.android.app.shortcutmaker
Just tried it and it did exactly what I wanted with no fuss and some nice options.


text:
Huawei P8 Lite 2015 soft-bricked and won't turn on or charge
I got a Huawei P8 Lite (ALE-L21) model that I received from someone. The issue was that it kept booting into this recovery mode phase that kept asking to flash software update again showing two errors.
At first, the phone would charge perfectly, and as soon as it could power on, it quickly jumped to the recovery mode. After a few days later, I decided to come back to the phone but unfortunately, it wasn't powering on. Every time I put it on the charger, it just shows red blinking light once, then nothing happens. Sometimes it would blink red and green on the LED light, but still nothing happened.
I have the full stock ROM of the phone on a memory card (SanDisk class 10) and it's been on the phone for some time but still no luck. I tried leaving the phone on PC all night but I didn't respond.
Can anyone tell me what I need to do to get this phone powered up?

Easiest answer
https://huaweiflash.com/how-to-flash-huawei-stock-firmware-all-methods/
Basically = press the right buttons to get into bootloader or flash mode.
HiSuite = easiest.
SDCARD FILE MODE = meh...

SP Flash Tool
is the most difficult - But you essentially leave everything as it is, but select the "scatter file"

That file is in the correct firmware for your phone.

Mediatek SP Flash Tool can not flash HiSilicon Kirin chipset


text:
How to decrypt (FBE) file-based encryption Adoptable Storage Android 12
I backed up encrypted data of adopted internal storage on my PC & then Formatted the SD card as portable storage.
But I have not factory reset my android system so the key
for decryption must be inside the Android system internal storage.
Now I have the encrypted data stored on PC & key inside my Android system storage.
If I manage to extract the Key to decrypt the data stored on PC.
Then
How to use that key to decrypt the data?
And where to do the decryption?
On Android or on PC?? And how to do it?

Does this answer your question? How to decrypt Adopted Storage?

please give sample of "encrypted data stored on PC" so we can double check the linked answer applies or is maybe outdated for android 12

Almost all of the backed up data is .jpg files i.e. Images & some of it are Videos (30gb of media out of total 31Gb). Solution linked seems outdated atleast to me on reading it. I am currently on Android 12 with Root access to the device. Can someone help me out here on how to make the backed up data Readable again???

according to documentation if the device is configured to use file-based encryption (FBE) on its internal storage, then adoptable storage uses both FBE and metadata encryption. if you can see plain file names, this leads to conclusion files are not encrypted at all (metadata encryption does not show file names). more likely you faced MTP bug and files are corrupt

This went over the top of my head. Can u explain it in layman's terms? Can the decryption Key present inside the Android system internal storage be used to make the backed up data usable again? Can the Key make the data Readable again? If so, how to use that Key to Read the data or Decrypt the data and Make it usable again?

I said, your files are not encrypted but simply corrupted. yes it's possible to decrypt on PC. but I don't know how to do that for FBE. consult expert for android 12

Is it possible to plug your Android device into your PC and navigate to the files via your Android device and decrypt the files that way?

Try this to retrieve the files: https://forum.xda-developers.com/t/mate-9-how-to-retrieve-encrypted-files-from-a-broken-system-userdata-partition.3894561/

@Lavyansi do you know files are encrypted same way as file on data? guess the key is only for metadata decryption then https://github.com/LineageOS/android_system_vold/blob/lineage-20.0/FsCrypt.cpp#L276


text:
Tecno F1 stuck on boot animation how to fix it?
getting this error.
I'm trying to hard reset my Tecno F1 pro

Clicking through to the tag boot-loop you added opens to a number of similar questions with accepted answers. Did you try any and find them unsuccessful and in what way?

Does this answer your question? E: can't mount/cache/recovery/log on Android Lenovo a1000


text:
Encryption: can't decrypt data after rom downgrade
I downgraded an Android 10 custom rom while I had encryption enabled (rom).
Basically I dirty flashed a previous minor version of the rom via TWRP (with just a simple "wipe cache/dalvik").
After the reboot my pin was not recognized by Android (and TWRP), so I could not access any data.
After a few tentatives I typed "default_password" as pin, when asked during the boot, and there was an important change:

After the subsequent reboot I typed my original pin, and now Android always shows: "The password you entered is correct, but unfortunately your data is corrupt". This happens every time at the system boot, and it won't let me type any pin.
TWRP accepts the original pin, but it's "unable to mount storage". If I type "default_password", or anything else, it's not valid.
In TWRP the system partition's contents are now visible: before they were not showing at all. But the data partition is not accessible (error decrypting…).

I have done a lot of studying to get the phone working without formatting, but I could not solve the issue. I don't think the data is actually corrupted.
I read that there is a Android security mechanism called "version binding": "Version binding binds keys to operating system and patch level version", … "any reversion of the device to a previous release causes the keys to be unusable".
This could explain what happened, but I have many doubts.
Knowing this, I flashed the original version of the rom (the one I had before this issue), but nothing changed.
I took a look at logcats and recovery.log and I noticed the following message: "Error starting keymaster signature transaction: -21".
Here is a extracted part from a recovery log, after I enter the pin in TWRP:
I:Is encrypted, do decrypt page first
I:Switching packages (TWRP)
I:Set page: 'decrypt'
I:Set page: 'trydecrypt'
I:operation_start: 'Decrypt'
D:crypt_ftr->fs_size = 52453304
I:starting verify_hw_fde_passwd
I:Using scrypt with keymaster for cryptfs KDF
I:TWRP keymaster max API: 1
I:Signing safely-padded objectkeymaster module name is Keymaster QTI HAL
keymaster version is 256
Found keymaster1 module, using keymaster1 API.
Error starting keymaster signature transaction: -21
E:Keymaster signing failedE:scrypt failedI:Extra parameters for dm_crypt: fde_enabled ice
I:target_type = req-cryptI:real_blk_name = /dev/block/sda14, extra_params = fde_enabled iceE:test mount returned 0
I:Found no matching fstab entry for uevent device '/devices/virtual/block/dm-0' - add
I:Found no matching fstab entry for uevent device '/devices/virtual/block/dm-0' - change
Data successfully decrypted, new block device: '/dev/block/dm-0'
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
Updating partition details...
I:Can't probe device /dev/block/dm-0
I:Unable to mount '/data'
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done

Could you please point me to the right direction? I am trying to understand what could have gone wrong, and find some possible solution.
How is the pin still accepted as correct, but not able to decrypt the data?
I think that there is something that prevents it from working.
I can recompile the rom with my own modifications if needed, and post other logs. Thanks for any help.

Additional logs.
the partition is still encrypted
hexdump -C -n1088 /dev/block/dm-0
00000000  06 27 35 9d 5e 75 e0 ff  e0 53 2d 23 f4 99 d3 9d  |.'5.^u...S-#....|
*
00000400  8c cb fb 69 ad 08 1f 75  03 b1 4c 51 54 84 c6 b2  |...i...u..LQT...|
00000410  f4 f2 c9 75 b8 72 e5 f4  68 76 81 16 a8 cd 33 c8  |...u.r..hv....3.|
00000420  e4 64 c4 70 5f 56 55 72  24 3c 44 dc 5e f0 4d 9b  |.d.p_VUr$<D.^.M.|
00000430  05 ca 91 e3 52 b2 09 2b  b0 0c 8b 32 13 2c c2 3d  |....R..+...2.,.=|

compared to a ext4 image (magic 53 ef at offset 0x438)
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000400  e0 33 18 00 f3 bb 60 00  00 80 00 00 6c a0 2a 00  |.3....`.....l.*.|
00000410  9c 16 17 00 00 00 00 00  02 00 00 00 02 00 00 00  |................|
00000420  00 80 00 00 00 80 00 00  f0 1f 00 00 bd 76 59 5d  |.............vY]|
00000430  bd 76 59 5d d1 00 0a 00  53 ef 01 00 02 00 00 00  |.vY]....S.......|

just restore the TWRP backup from previous state and encryption is working again

The TWRP log indicates that it is trying to decrypt a Full Disk Encrypted data partition, which would be unusual for an Android 10 device. When you booted (as everything was working) your phone when does the does the password prompt appear, as the very first action before the phone has fully booted up or later when the background and the lock screen are already loaded? If it is the latter the device uses File Based Encryption and therefore the decryption fails.

@Robert I think this rom uses FDE because the phone (Mi5) is not Android 10 native. "adb shell getprop ro.crypto.type" returns "block"

@alecxs I don't have that backup. Anyway I already flashed the original rom via "Adb sideload" but nothing changed.

i think it's a duplicate of https://android.stackexchange.com/q/224440 but the message "Data successfully decrypted" is misleading and your issue is different from mine, answer is invalid. after reading your linked google stuff i guess your keys are already marked as invalid and there is for some reason still anything inside qseecom stuff that a) tells twrp the keys are correct b) but on the other hand garbles decryption because of the invalid-flag (all just guesswork)

@alecxs Thanks, I was also thinking that the key was marked as invalid after the downgrade. But by looking at the error codes (keystore error codes), I think it would use a different one instead of -21 (KM_ERROR_INVALID_INPUT_LENGTH). I am adding the hexdump log in the first post.

inspect the crypto footer with python script you can't decrypt but maybe you will find some flag you can reset to 0 (although i don't believe it's that easy). install python and run this script: 'python.exe bruteforce_stdcrypto.py [header file] [footer file]'

@NikolayElenkov recently we figured out how to reset failed decrypt counter in fde crypto footer. We invite you to join our conversation regarding other flags https://forum.xda-developers.com/showthread.php?t=4168821


text:
realme 3 pro stuck at bootloop (boot/recovery) has been destroyed
Hi my mobile is in boot loop
fastboot not working i have tried every button but none worked
not connecting to pic / laptop as well
any one have a solution please help
i did flash my stock rom with orangefox recovery. then mobile has no recovery after flashing the rom, but fastboot was connecting to pc.
i followed this unbrick guide working fine i perform 8) step did lock bootloader
now its not connecting to pc, booting into fastboot, but when i hold both vol button + power after some time i do hear a noice from pc the sound of connection but not showing in pc that it is connected and i do hear disconnect sound after a minute or so

Comments are not for extended discussion; this conversation has been moved to chat.

https://android.stackexchange.com/q/224131

The only option is service center bro since u locked the bootloader


text:
How can I access my SanDisk sdcard from Linux Deploy
How can I access my SanDisk sdcard
I would like to know how to see it contents and set it RW property, ejected it copy,delete and so on from the command line using JuiceSSH and vnc file manager going though  Linux Deploy on android 4.2.2
Ubuntu 14.04 LTS [running via Linux Deploy]
Last login: Tue Dec 15 16:16:47 2020 from localhost
$ su
root@localhost:/home/android# lsusb
Bus 001 Device 003: ID 0781:558a SanDisk Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@localhost:/home/android#

Thank You

properties - Allow to mount the Android resources
properties - Edit the mount points list

$ANDROID_ROOT
/cache
$ANDROID_DATA
/su
$ANDROID_STORAGE/emulated
$ANDROID_STORAGE/4D47-9860

this result in
ubuntu@localhost:~$ df -a
Filesystem                                                     1K-blocks     Used Available Use% Mounted on
/dev/block/loop1                                                 3030800  1858236    998896  66% /
proc                                                                   0        0         0    - /proc
sys                                                                    0        0         0    - /sys
tmpfs                                                            1010636      740   1009896   1% /dev
tmpfs                                                            1010636        0   1010636   0% /dev/shm
devpts                                                                 0        0         0    - /dev/pts
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system     2483744  2045332    422028  83% /system
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/cache       245679     2165    226311   1% /cache
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/userdata  11608792  8786360   2789664  76% /data
/dev/block/loop0                                                   92656     8064     82628   9% /su
/data/media                                                     11608792  8786360   2789664  76% /storage/emulated
/mnt/media_rw/4D47-9860                                         31150720 25943968   5206752  84% /storage/4D47-9860
ubuntu@localhost:~$

on android 4.2.2 the paths differ
$ANDROID_ROOT
/cache
$ANDROID_DATA
$EXTERNAL_STORAGE
$SECONDARY_STORAGE

this will bind mount all android partitions into linux chroot container
(the latter one is your external MicroSD card)
/system
/cache
/data
/storage/sdcard0
/storage/sdcard1

thanks but that did not work for me or you lost me in your method

have updated the paths according to some old android 4.2.2 device i found


text:
How do I restore a tar Android backup directly to my phone?
Android 11. I made a backup of my Internal Storage using this:
adb exec-out 'tar --create --exclude=data/media/0/TWRP \
data/media/0 2>/backup-errors.txt | \
gzip' | \
dd of=sdcardbackup-$(date +%Y%m%d).tar.gz && \
adb shell cat /backup-errors.txt

But how do I restore that directly to my internal storage after formatting?

https://twrp.me/faq/openrecoveryscript.html

guess something with exec-in - are you running adb from windows or linux host (there might be issue with carriage return \r on windows)?

@alecxs windows...

on windows exec-out always corrupt files this way, the only reason why it works gzip files missing newlines

what do i do???

suggested several alternatives. however on linux this will work: 'adb exec-in "gzip -d | tar -px" < C:\adb\sdcard*.tar.gz'

no way of doing it on windows with .sh ?

what is windows with .sh? from your question can see you are running dd and date from host, therefore i don't think your host is plain windows cmd.exe? is this wsl bash? have you tested?

running it as .sh file

.sh files are linux shell files they can't run on windows by default. furthermore a script is just a substitute for batch processing cmd lines, that still requires all the linux core utils used within script. if the above cmd did not work, how can it work from within shell script?


text:
Pixel 4a : adb detects device but fastboot command doesn't work
This is a self answered question that is different and may save hours of frustration to somebody
Related questions but none that helped

ADB detects my device but fastboot doesn't
Yureka fastboot not detected in LINUX, but adb detects device
ADB detects but, fastboot does not detect device in windows 10
adb can find device but fastboot cannot
fastboot not showing device (nokia 2.1 ) but adb works fine
adb devices show phone in debug mod but not in fastboot mod
Fastboot detects phone in the fastboot mode but not when phone is on

My situation

After more than 6 months I thought of updating security patches on my Pixel 4a Android 11 (stock)  and root it again.

I uninstalled Magisk , applied OTA update , extracted boot image and patched it with magisk (see this). All smooth

Problem
I needed to run fastboot flash boot patched.img to root the device. But when I run the command response is <waiting for any device>, which was strange since adb devices shows device serial.
Things tried, without any luck

Updated adb on Lint Minux, it was latest

Switched to Windows 10 and updated

Andrew in chat pointed to an XDA thread, which was better covered by Izzy here How do I get my device detected by ADB on Linux?. Added udev rule but then no dice.

Firelord in chat suggested it could be plugdev issue so tried the solution mentioned in this Stack Overflow question adb devices => no permissions (user in plugdev group; are your udev rules wrong?), though the problem wasn't similar

Multiple cables , rebooting Android, Windows, Linux when I was at a loss to figure out

Variations of fastboot like fastboot flash boot_a patched.img, fastboot flash boot --slot all patched.img and sudo fastboot devices

Finally, the solution ....

I have now idea why this worked. Before running fastboot commands rebooted device in download mode:

adb reboot bootloader to get into fastboot
fastboot devices shows device serial
fastboot flash boot patched.img works :)
fastboot reboot to get back to normal device state
Device is rooted and I see su permission requests

Note: Some devices of LG and Samsung lack fastboot functionality.


text:
How to prevent applications from discovering my phone as being Rooted
I have to install an application that has discovered my device to be rooted.
So this is a two part question.

How did it discover in the first place that my phone has been rooted
How to prevent the application from discovering my phone as being rooted

To detect rooting status of device, an app issues su command. If exit status is 0, it means device is rooted.. otherwise, not.
To prevent this, you can simply Deny the root access using SuperUser's pop-up (Provided its allowed from SuperUser settings, a pop-up appears when an app issues su command). After this, the app will get non-zero exit status & it can't determine rooting status.
Update:
Some apps can use other ways to check root status (like checking the su binary file existence). I'd like to admit that none are perfect methods without false-positive result, but sometimes they are successful with luck.
The best universal method to prevent detection: Restrict the permission of app's daemon. I can't suggest exact permission limitations because I don't know functions of the app. It can mess up with app's functionalities.
In the last, I'd like to say: Technically, there's no way to prevent detection by 100% success rate. In case of permission limitations, the app can still suspect that something is wrong.

Not to be pedantic or nitpicky, another way is to check on the binary /system/xbin/su if it exists - that is actually a bit "quieter" then attempting to execute su, sneaky I know :)

@t0mm13b Its not a real test because if someone has put su text file at that location by temporary root, the app will tell false result.

@SachinShekhar The application has not requested su previliges as my SuperUser app wuld throw a notification.
is there something I need to do by logging into term on phone and changing something

@user1654218 Make sure Always Allow option of SuperUser isn't active. You can prevent detection by Always Deny or Deny All too (option texts may vary depending on version).

@user1654218 What's the app in the question? Its possible that the app is using wrong method with good luck.

If I were the programmer, I'd simply check possible locations for the su binary, as t0mm13b already suggested. If I cannot find any, there's not even the reason to invoke su: As it obviously is not in the $PATH, the call has to fail. Unless someone set up something more tricky (e.g. using an alias, but that my check could cover as well). I doubt any serious developer would rely on being allowed root access by default on a rooted device.

@SachinShekhar Its a corporate app from my company that is blocked on rooted devices for no gorram reason.. I am simply trying to revoke its ability to detect my root condition. Or does it look for the the Yellow Triangle flag on Samsung devices.

@satts See my answer update...

I use OTA Rootkeeper, which includes a feature to backup su and temporarily unroot the phone. Once temporarily unrooted, it can re-root by restoring the su backup.
(In addition it also attempts to preserve root when you apply an OTA update from your wireless carrier, which is a really nice feature.)

Here is what worked for me:
1- You need to have Xposed framework installed, you can install it from here: http://repo.xposed.info/module/de.robv.android.xposed.installer, Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs.
2- Download the Root Cloak xposed module from here http://repo.xposed.info/module/com.devadvance.rootcloak and enable it.
3- Add the app your trying to hide the root from.
Reboot will be required a couple of times within the process.

Superuser already has a temp unroot tickbox, works fine, tested

Welcome to [android.se]. Thank you for your contribution. It'd be better if you could expand this answer a little bit by explaining where it's located, and whether it needs pro version or not (if available) :)

This question has already been asked and answered:
To summarize, look for the application called "SuperUser" (as one suggestion).
-edit- Per suggestion should the link go down:
How can I disable root on a modded device?

If you install SuperUser you can control which apps are allowed root
  access. By default it blocks all requests and asks you what you want
  to do. You can give an app access indefinitely and revoke it at any
  time, or allow only specific requests with a timeout. Most rooted ROMs
  come with it pre-installed, including CyanogenMOD, and many rooting
  methods will install it for you as well.
As an alternative, you could remove the su binary and Busybox from
  your device to effectively un-root it.

Disabling and hiding roots are two different things. Also answer with only a link is not considered helpful. If the link dies the answer is less than useful.

@Cookster I wanted to prevent applications from detecting my phone as rooted. I do not want to disable root on my customRom phone

"If you install SuperUser you can control which apps are allowed root access." Am I missing something here? Block all applications from accessing root and keep the phone rooted.

Yes, you miss something. The question was not "how to prevent apps from gaining root privs", but "how to prevent apps from detecting root privs might be available.

Rooting is reversible. So if you unroot your phone, the applcation will not see anything.

Not a helpful solution. The questioner and many others rooted their phones for good reasons, and probably need the root privileges for something.


text:
What will happen if I flash a custom rom for GT-I9082 on a GT-I9060c/m/i?
I have a Samsung Galaxy Grand Neo Plus/DUOS (GT-I9060C) and I would like to know what will happen if I FLASH A Custom Rom for the Galaxy Grand Neo DUOS (GT-I9082) Onto my phone (GT-I9060C)
Will it be Hard-Bricked,Soft Bricked or will it work fine
Custom ROM description : Lineage OS (Android 7.1)
Linux 3.0
Supports dual sim
Current rom: Rooted Stock rom 4.4.4 kitkat SuperSU  Pro running TWRP 3.0 For GT-I9060I (idk how gt-i9060i twrp recovery worked on the gt-i9060c
With AKAS security software (idk what that is)

Hmm So if i did flashed the rom and its soft bricked (repairable) will i still be able to use DownLoad Mode because i heard some people said that it will hard brick your phone (unrepairable) if you install roms that wasnt met for your phone. Also im on GT-I9060C not on GT-I9060I because i9060i doesnt have a magnetic sensor
Heres some description about my phone:

Possible duplicate of Can I install a ROM made for a different device?

The similarities of the 2 devices are mostly only in their name. Grand Duos (i9082) is out Jan 2013 and uses a Broadcom BCM28155 SoC, while Grand Neo Plus Duos (i9060i) along with its family are out circa 2015 and use a Broadcom BCM23550 SoC.
Recovery will reject ROMs made for a different device, and even if you manage to flash it in, it won't boot due to the hardware difference (soft-brick in your words).


text:
What exactly does the pop filter in google photo editor do and how can it be applied to videos?
The google photo editor has a "pop" filter (it might be called diferentlly on an english phone)
I would like to know what exactly this filter does and how it could be applied to a video - for example using adobe after effects or a free tool.

Pop filter is used to increase sharpness ( though I can't find official description)
For videos, Adobe Premier Clip does similar job using the highlights function, accessible from highlighted icon in the first screen shot. Subsequent screenshots show the effect
I am not familiar with Adobe after effects, as Adobe Premier let's me edit on the mobile itself and hence is preferred


text:
How to login to resetted phone when verified password not accepted?
I reseted my Oneplus 2 phone with OO3.5 by wipe cache and data because I wanted to set up my business gmail in my phone, not my personal:

Wipe data and cache
Volume down + power > Format phone
Now, welcome screen where it does not accept my personal email account's password now

Status in OO support: unable to access or add on your Google account

Both of the gmail accounts uses my personal phone number as the primary, and in some field my personal email address.
Now, the phone requires after volume down + power for 15-20 seconds - - to use the gmail account (personal gmail) which I used before in the phone (some protection mechanism).
However, it does not accept the password which I enter to my account, although I put the correct password (verified at Desktop).
I am trying to pass FRP (Factory Reset Protection) which requires you to login with a previously synced account on that device and you won't use the device.
I have a Desktop access to my Gmail where I can access it.
I have throubleshooted settings here but cannot find anything relevant there.
I also erased all data in the phone by those settings.
However, I am not sure if it is applied because I wiped the data and cache before that.
I know the threads but they do not help

How can I unlock my phone? I locked it using Android Device Manager, but it claims I entered a wrong password
Android lock screen won't accept password from Android Device Manager

Things which I have tried to do with login unsuccessfully

use 2-step password
use app password for the task
use my own password for the task

Error when entered correct password in Android (password verified in Desktop)

The password is incorrect. Try again.

Troubleshooting in fastboot (volume-up + power) by following the guide here
The command adb devices gave first time the device ID.
So I could do fastboot oem unlock and fastboot reboot.
Result: still does not accept my personal gmail account password.
Trying to get to recovery
Now in fastboot, adb devices gives blank. I cannot get to adb device recovery.
Troubleshooting proposals tested but failed

Keyboard-button-bug (here) fails because the bug has been removed in the keyboard layout.
Other strategies presented in the thread One plus two Google lock frp do no work.

Troubleshooting with OO support

May we know what happen prior to this issue, was your phone recently flashed? And also, what is your current OS version?

No. I upgraded it to OO 3.5 some time ago.
Prior to this issue, I just reseted the phone because I wanted to change my Gmail account and do reseting.
Phone: Oneplus 2
Android: OO3.5, Android 6
XDA thread post about the issue: here #11

You just need to login with an account used previously on that device. I can't understand why the password won't work on the phone while it is working in the desktop. There should be a mistake somewhere, or you are putting the wrong account.

What do you mean

I know that, it's called FRP (Factory Reset Protection) this requires you to login with a previously synced account on that device and you won't use the device, not only for 24h but until you login with a valid account. So, when you say the password doesn't work only on that device but works on a computer, it doesn't make any sense!

Can you upload a picture of the phone with the error?

@esQmo I added it as text in the body. It is just says that the password is incorrect, try again. - - I do not have any camera at the moment because my phone is not working; and my laptop's camera is covered with tape.

@esQmo Is there any google service to troubleshoot this further? - - I really need my phone back. Now, it is a brick which you cannot use to call anything. - - I can only receive calls.

White are you stuck  on? I cant really help with out a precise description  or a  picture

@esQmo There is only text there, nothing else.

this post indicates authenticator password

@beeshyams What is precisely authenticator password?

Sorry, typo , meant password generated by authentior app. I was referring to Is it password or password generated by app when second-step authentication in use?

@beeshyams No, it cannot be password generated by authenticator app. It can be password generated for an app when 2-step verification is in use.

Possibly you are right. Just linked that in case it would help you. All the best

Give this a shot? plus bunch of videos on by passing FRP on you tube. I have no idea if it will work but suggesting seeing desperate situation ( second bounty too)

@beeshyams Sorry, tested already, but all of them fails. There is no bug anymore in the keyboard which could be used to bypass the system. I will add there a link to this thread.

Oneplus support says

Since your account was not recognize you need to wait at least 72 hours to recognize you credential. - - This is between google and OnePlus protocol. - - Make sure not to enter again otherwise it will reset again the waiting time.

So because Oneplus is not Google's, you have worser support. You have to wait 72 h last time you inserted the password as "incorrect".
Option 2

Either a remote session would fix but we only have 28th of this month schedule or wait for 72 hours. - - The remote session is flashing the device but we will wipe all the data. - - But I don't have available schedule until next Saturday .

So they are in under-capacity, and cannot fix the thing faster because of the protocol difference between Oneplus and Google.
Factors

2-step verification on

History of attempts

Sunday, 22nd jan 3 pm, I ordered Google delete data and everything from my phone, but the mechanism never apparently ended because Google's site javascript about the thing just stayed as [trying to complete]
Sunday, 22nd jan 4 pm failed login with the real password
Wednesday, 25th jan 7 pm failed login with the real password
Saturday, 28th jan 2230 failed login with the app generated password
Activate Option 2 with Oneplus support by providing them both IMEI numbers (1 and 2) 29th Jan.
Tuesday, 31th 2330 pm attempt failed with the real password
4.2.2017 attempt fails because no file transfer possible to Oneplus phone

OO Support plan for recovery
I received the piece of advice to flash back to 3.1.0 but no certainty that it will help

Flashing guide for OnePlus 2: Downgrading from 3.5.5 to 3.1.0 - - Steps: 1) Download 3.1.1 Intermittent Version and 3.1.0

I could not complete this stage because I could not transfer the two ROM files to the memory of the phone. There is no memory card slot in the phone.
15.2.2017 session with Tech 2 level
They allow only Windows based system for the recovery with the techincal support of 2 level.
They run some Chinese frontend there so very difficult for me to say what is going on.
They initially shared some links about the data files which download processes were difficult because of interrupted connections with one file.
The session time ended after some initial corrections in the system (not specified).
The result is that the phone starts but does not detect Sim-card and restarts automatically after each 5 minute.
I ordered the second technical session.
Had to be persistent for scheduling 2nd technical support

To schedule a new remote session appointment, kindly contact our live support channel to assist you a new remote session schedule.
Okay thank you. I suggest you to contact the Amazon UK. All devices bought from Amazon UK will go through to their assistance.

This way, OnePlus was going to reject the case. - - Now, they changed their mind (after pressure here), and accepted me to another tech session because they scheduled too little time.
Details passed to the engineer after the first tech 2 support, for the second tech session on 22nd Feb at 1800 PM my timezone

current state: phone starts, but does not detect sim card and restarts itself all the time.

This troubeshoot session also failed in the same condition.
We did second time the restore session with 2nd level tech support of OnePlus.
Final decision
I claimed the warrant and shipped the phone back to Amazon.co.uk.
I will get full refund.

This answer appears to be part of the question, perhaps you should move it.


text:
"Notification ranker" - what does it do, and what happens if I disable it?
After staying for so long on Marshmallow, today I finally made the decision to upgrade one of my secondary devices with Nougat (LineageOS 14.1 to be precise). Everything went smooth and most things stayed familiar... except this weird entry in Settings - Developer options - Running services.

Screenshots (click images for larger variants)
I'd keep the running process list as clean as possible (habit, don't question why), but when I clicked into this "Android Services Library" and tried to stop it, it says it runs a "Notification ranker service" (second screenshot).
Clicking "Settings" there takes me to an app preference screen (third screenshot; likely the same as in Settings - Apps) that contains nothing about the service or the app:
Furthermore, I can't find any reference on how this "notification ranker" mechanism works, or even what it is.
Note that I also flashed stock Nougat on my Nexus 6P before, and from what I remember, that one also has this service running, so it's not specific to LineageOS.
Can anyone with sufficient knowledge tell me what it does, and what will happen if I disable this service via external means, e.g. will notification functions be affected?

From arstechnica:

GoogleExtServices has an app name of "Android Services Library" and
  does actually contain something: an "Android Notification Ranking
  Service." A "Notification Ranking Service" was added in Lollipop, and
  it sorts notifications by "importance" based on things like freshness,
  app type (IM apps come first), and by contact. This seems to be an
  extension to the system that includes support for Nougat's
  "notification bundling" feature. This is a really minor feature, and
  with only this single chunk of code, GoogleExtServices weighs in at a
  microscopic 10KB.

Now for the last part of the question...

...will notification functions be affected?

I just jumped ship to Nougat with my primary device (Nexus 6P), and disabled the service right away, and while I set other things up, all notifications continue to pour in normally, so it definitely does not affect the basics. It will probably affect the fine-grained notification priority in Settings, but since I only use the 2 extremes ("fully on" or "fully off"), this isn't of concern.

I am not sure about lineage OS, but I hope it will be similar to (Show notification - block all - Don't silence or block) which is default in Nougat.
My Oneplus 3 has something similar to this and it has 5 levels. Maybe Notification Controls will something like this.

Indeed I found this toggle soon after, but turning it off does not stop the service from running.


text:
Is recalibrating the battery after flashing a new ROM really neccessary, and if yes, why?
The description of the app, Battery Calibration, claims that after changing ROMs you should recalibrate your battery gauge. It has good reviews so it seems like the general concept is sound and trying the app at least won't cause harm.
What I'm wondering is what the battery statistics have to do with the ROM. My understanding is that the batterystats file contains a mapping of charge values in mV to %, so why does it need to be regenerated if a new ROM is flashed?

This may also answer this Question

No.
This App just removes the file "batterystats.bin" in the "data/system" directory. It has nothing to do with your battery life and also not the status indicator of your system.
It only keeps the Infos in the "Battery Usage" screen. It will also be resetted every time you connect to a power source.
Further Information and Sources:
XDA-Developers and Dianne Hackborn (Google employee)


text:
can sony xperia u(st25i) 's otg be connected to external power?
Can Sony Xperia U be connected to a Y-Cable to provide extra power for OTG to avoid phone battery consumption?
I'm asking this because the phone is already giving power ,will that make a short circuit or it's normal?

You can, but a kernel mod may be required to also keep the host device charging.
However, many devices are already prepared for this, and cables are being manufactured and sold to this specific end, as one can see from this Ebay search, there's already several cables in the market.
To your particular device, the sonic_boom user at this XDA Developers forum thread made a Dock Station to use OTG cable and charging at the same time:

My docking station will work with any 2012 maybe 2011 SONY XPERIA DEVICES with OTG SUPPORT.
I have tested this so far on my XPERIA S and working perfect.

Dock Station

Schematics


text:
Can any Android device be set to not auto power-off?
If I buy any no-name Android tablet from ebay etc, is there a chance it will not allow me to force it to stay on all the time?  In other words, is "never auto sleep" a universal feature of any android device?
If not, how can I tell?

Why do you want your tablet to be always on?

You probably mean the Screen? Because the Operating System never really shuts down on itself. It just stays in Stand-By.

@silent_cookie I think, if does shuts itself down, if you battery charge goes below 2%! :] Which is most likely in case OP is trying to make the screen on all the time, as we all know, that screens consumes enormous (the most) portions of battery charge...

Check out the free StayAwake app

Simple app to toggle a stay awake mode.
enables stay awake,

always
if plugged in to AC/USB


text:
How to disable system autocorrect?
Gboard has a toggle to disable/enable spellcheck completely, but using 3rd-party keyboards such as AnySoftKeyboard or SwiftKey shows this red-underline and suggestion-box that cannot be disabled.

The spellcheck is actually part of the Android system, not part of AnySoftKeyboard.
How can I disable spellcheck for the whole system? Or does the developer of the keyboard app always need to implement this feature?
In case it's relevant, I'm on Android 10, ColorOS 7.

Hi, it seems you accidentally created a duplicate account. Please refer to the help center to merge your accounts and regain ownership of the question.

On Android 8.0+:
Go to System -> Languages and Input -> Spell Checker -> Toggle use spell checker off
Depending on your device the location of that toggle may be different

unfortunately that setting is not there, and searching settings via searchbox turns up nothing, and i found nothing by manually searching settings.

@Keyboardbug I have little experience with ColorOS

@Keyboardbug have you tried https://m.youtube.com/watch?v=JJpcKQt5qEU


text:
Android 9.0 x86 apps keep crashing - no native bridge
So I'm not an expert in Android or in OSes in general although I can make my way around a Linux environment, just to add as a pretext.
I recently installed Android 9 x86 on a Linx 1010b tablet (Intel processor), and I have had many problems launching certain apps that just crash quickly after launching. I have installed and re-installed Android 7 and 8 x86 multiple times and it doesn't matter which version I use, I just have trouble using some apps. I also tend to have a problem installing apps (after about 8 apps installed, play store gets stuck on 'downloading', 'installing', or '95.99 %').
So I did some reading and found it may be to do with something to do with ARM (still not entirely sure what it is), so I decided to enable it, but when I enable the native bridge on my tablet, I get a download manager process, but shortly after stops, and the enabled button switches back to grey 'disabled'. I further found that libhoudini tends to be used for this native bridge, and I searched and couldn't find one for Android 9, and maybe this is why I am unable to enable it. Running /system/bin/enable_nativebridge as a super user in the terminal emulator was also ineffective and resulted in the error 'no such file or directory'.
Does anybody have any advice on what I should do? Is this really the source of my problem — not having a native bridge? Is it impossible to run Android with an Intel processor? Is there an alternative to libhoudini? Are there any versions of Android I can use and guaranteed to work — I basically need a few apps and that's it — Microsoft Office, Adobe, Kindle, Udemy, Coursera, and YouTube.

I think you have installed Android x86 on NTFS file system try with other Android x86 old more stable version like Android x86 7.1
With latest stable release or Remix OS or Prime OS


text:
Need to delete this file to be able to backup data on TWRP
My Xiaomi Redmi K20 Pro is rooted with TWRP as recovery. Unfortunately, after a system update, I became unable to access my system. I was only able to access TWRP and the files through it.
While creating a backup with TWRP, I encounter the following error
I:Error adding file '/data/anr/3i6xjEcwwZbkn6mZ,+ccwD' to '/data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/data.ext4.win000'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/recovery.log

I need to know where this file is. Without it, I can backup my data partition. I've tried OrangeFox and it tells me the same thing.
I've been looking through TWRP but was unable to find such file. In TWRP, I browsed the folder through the install button and it was empty, nothing was showing at all.
How can I find the location of the folder and delete the contents so I could proceed to backup my data?

@RBBE in TWRP mount /data and browse to /data/anr. You can delete all files there as those are just logs of app crashes. Or at least delete those with special characters in their names like the one you mentioned. Isn't that file there in /data/anr/?

I believe the "install" button only shows zip and compatible image files for flashing & sideloading purposes, not showing all other files.

@RBBE from your comments, your actual question is "how to browse to /data/anr/ folder?"

Yeah th original intent was to find the location of the folder and delete the contents so I could proceed to backup my data.

the browser is in TWRP - Advanced - Filemanager and the option menu lower right corner. btw for full backup don't forget 'adb pull -a /sdcard' afterwards (not included in data.ext4.win)

just mount /data and type rm followed by the file name in single quotes. TWRP has a build-in Terminal, but i recommend to do it from adb shell
adb shell rm '/data/anr/3i6xjEcwwZbkn6mZ,+ccwD'

Where can I get ADB shell?

https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads


text:
Android devices don't show up on Chrome's "send to your devices"
I'm trying to share a link between my desktop and Android, I'm using Chrome on both and am fully synced.
On my Android, when I tap the link -> Share -> Send to your devices, I only see my laptop whereas I want to open a link on my desktop.
In Chrome History, under Tabs from other devices, the list appears to be empty.
Why is it not there?

From your desktop's Chrome, browse to chrome://sync-internals/ - Sync Node Browser - Device Info. Do you see your Android device from there? Or, perhaps more simply, are the tabs from your Android's Chrome shown on chrome://history/syncedTabs?

@AndrewT. that's the data in the table in the Device Info row: Device Info | 1 | 1 | Error: WriteModifications@../../components/sync/model_impl/model_type_store_backend.cc:208, datatype error was encountered: Corruption: block checksum mismatch| Failed | Group Passive

Stop sync and Request start didn't change much.

Synced tabs empty

After re-installing Chrome, issue was gone.
But at the uninstallation, I had to check the Also delete your browsing history data? option (I tried without and it didn't work).
HTH


text:
myTv+ app returns error code 101 when running on Android TV box
I have installed an IP TV app, myTv+ (https://mytv-plus.com/mytvws/) on my Huawei smartphone and it worked fine.
I tried to install it on the Android TV box (MXQ Pro 4K), but it's simply not working, just getting error code 101. It appears when running the app. The install just goes smoothly, but the code appears on the splash screen.
I contacted the developer and he said this app is designed only for the smartphone.
Is there any way I can force the app to work with the Android TV box?

Looking at the decompiled code there is some error method that is called with 101. It looks like this code is only executed when the parameters sent to the app on startup are not as the app expects:
On Android TV apps are started using a different "parameter" (android.intent.category.LEANBACK_LAUNCHER) where as a regular Android app is started via android.intent.category.LAUNCHER.
I have not checked it in detail but it looks like the app tries to process the parameters and fails as it does not understand the parameter used by Android TV and then displays the 101 error message.


text:
How to build Android-x86 with VirtualBox guest OS integrations
Androidx86.org says that to use 3D acceleration for my Android-x86 virtual machine, I have to install Linux guest additions. I would like to know how to do that.
I am using a

Ubuntu 20.10 (64-bit)
Intel Core i5 4th gen (@3.1 GHz)
NVIDIA GeForce GT 730
Oracle VM VirtualBox 6.1

I don't think the guest additions that come with VirtualBox can be installed on Android-x86, the list of supported OS can be seen here: https://www.virtualbox.org/manual/ch04.html#additions-linux Therefore you would have to compile a custom kernel(module) https://www.android-x86.org/documentation/customize_kernel.html In my opinion you should just start with VBoxVGA VM setting.

@Robert The vm does not perform well without 3d acceleration.I would like to know how to customise the kernel to include vbox guest os integrations.Or obtain a prebuilt image

To use GPU acceleration for android x86 vm it's easier if you use qemu.Check this out(the method i used and this video are not fully same.i used the latest version)
Linux exclusive-Feel free to comment your questions

Install the following build dependencies(no need to build for arch linux read below) usingsudo apt install -y build-essential libepoxy-dev libdrm-dev libgbm-dev libx11-dev libvirglrenderer-dev libpulse-dev libsdl2-dev libgtk-3-dev libsdl1.2-dev ninja-build

cd into directory you want to download and build qemu(if you use arch linux you don't have to build qemu.just use the package in official repository.also it is not necessary to add your user to kvm group.it just works.)
Download latest qemu sources using git clone https://git.qemu.org/git/qemu.git
run cd qemu
run ./configure --enable-sdl --enable-opengl --enable-virglrenderer --enable-system --enable-modules --audio-drv-list=pa --target-list=x86_64-softmmu --enable-kvm --enable-gtk
run make
run sudo adduser yourusername kvm
run sudo chmod 666 /dev/kvm
run sudo touch /lib/udev/rules.d/99-kvm.rules
add line KERNEL=="kvm", GROUP="kvm", MODE="0666" to 99-kvm.rules
you can do that by sudo gedit /lib/udev/rules.d/99-kvm.rules and pasting the line then saving.
run sudo apt install qemu-utils
cd to the directory where you want create the virtual hard disk.
qemu-img create -f qcow2 Android.img 10G
10G refers to size of hard disk drive,in this case 10 Gigabytes.
Download androidx89.(latest kernel version performed better for me or was it just a placebo?)
cd to directory were u git cloned qemu
cd to directory qemu/build/x86_64-softmmu/ ie cd qemu/build/x86_64-softmmu/
run

qemu-system-x86_64 -boot d \
    -enable-kvm \
    -smp 2 \
    -cdrom "/path/to/android/iso" \
    -name linuz \
    -device virtio-vga,virgl=on,xres=1280,yres=720 \
    -cpu host \
    -device AC97 \
    -m 2048 \
    -display sdl,gl=on \
    -drive file=/path/to/android/Android.img,if=virtio \
    -object rng-random,id=rng0,filename=/dev/urandom \
    -device virtio-rng-pci,rng=rng0 \
    -device virtio-keyboard \
    -boot menu=off \
    -device virtio-tablet \
    -machine type=q35 \
    -serial mon:stdio \
    -net nic -net user,hostfwd=tcp::4444-:5555

smp refers to number of cpu cores given to the virtual machine. -m refers to ram allocated.in this case 2048 megabytes.you can use -display gtk,gl=on also but display gtk does not work nvidia proprietary drivers for some reason.
Use arrow keys to navigate and enter to select.do as follows
Select Installation

Select create/modify partition

dont use gpt

Select new

select primary

press enter

select write and type yes .then select quit

select the partition we just created

select ext4

select yes to format

select yes to install grub

select yes to make /system read write (recommended)

Once all operations are over u can boot into android.
To boot directly to hard disk use

qemu-system-x86_64 -boot c \
    -enable-kvm \
    -smp 2 \
    -name linuz \
    -device virtio-vga,virgl=on,xres=1280,yres=720 \
    -cpu host \
    -device AC97 \
    -m 2048 \
    -display sdl,gl=on \
    -drive file=/path/to/android/Android.img,if=virtio \
    -object rng-random,id=rng0,filename=/dev/urandom \
    -device virtio-rng-pci,rng=rng0 \
    -device virtio-keyboard \
    -boot menu=off \
    -device virtio-tablet \
    -machine type=q35 \
    -serial mon:stdio \
    -net nic -net user,hostfwd=tcp::4444-:5555

to use adb use adb connect localhost:4444
if arm translator does not install automatically do this

instructions to manually install native bridge

Download this file(http://dl.android-x86.org/houdini.php?v=9_y) in your vm.9 refers to android version if you have a previous version change it accordingly.or you can check it here

change the name of the file according to the version of android in my case houdini9_y.sfs.move that file to system/etc/ it can be done using terminal or root browser.

using terminal type mv /sdcard/Download/houdini9_y.sfs /system/etc if you are not comfortable with this method use a root browser app.

now got to terminal emulator type su (if you get a prompt asking weather to give superuser access say yes forever)
then type system/bin/enable_nativebridge
You might get some errors but they are safe to ignore i suppose.(i got two errors but arm translators worked)
Go to settings androidx86-options enable native bridge

Setting up tap networking
For better guest-host integrations i use a tap network.
sudo ip link add name br0 type bridge
sudo ip addr flush enp3s0
sudo ip link set enp3s0 master br0
sudo ip tuntap add mode tap name tap0 user yourusername
sudo ip link set tap0 master br0
sudo ip link set enp3s0 up
sudo ip link set tap0 up
sudo ip link set br0 up
sudo dhclient -v br0

replace enp3so with your network interface.use the following to command to launch the emulator
qemu-system-x86_64 -boot c \
    -enable-kvm \
    -smp 2 \
    -name linuz \
    -device virtio-vga,virgl=on,xres=1280,yres=720 \
    -cpu host \
    -device AC97 \
    -m 2048 \
    -display sdl,gl=on \
    -drive file=/path/to/imgfile,if=virtio \
    -object rng-random,id=rng0,filename=/dev/urandom \
    -device virtio-rng-pci,rng=rng0 \
    -device virtio-keyboard \
    -boot menu=off \
    -device virtio-tablet \
    -machine type=q35 \
    -serial mon:stdio \
    -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no \
    -device virtio-net-pci,netdev=mynet0,mac=51:55:00:a1:11:32

Nice tutorial, but after compiling and configuration I always get this error: qemu-system-x86_64: -device virtio-vga,virgl=on,xres=1280,yres=720: Property 'virtio-vga.virgl' not found I'm on Debian 11. When I omit the virgl parameter it runs, however not sure if with 3d accel. Thanks

@masscream Try virtio-vga-gl,xres=1280,yres=720

Many thanks! Had to replace -device virtio-vga,virgl=on,xres=1280,yres=720 \\  with -device virtio-vga-gl,xres=1280,yres=720 \\  and it works perfectly, awesome performance on Ubuntu 22.04 LTS / i5-6600 and AMD RX550. (Set 4 cores and 6GB RAM for Android).


text:
Intermittent scrambled panels when browsing on Chrome for Android 7.0
The client has intermittent scrambled panels when browsing on Chrome for Android 7.0. They display randomly as pages are loaded.

Image resized. Click for the full image.
The phone in use is LG K8 (2017)
Is this simply a breakdown in hardware or could there be a security issue?

I think this is happening because of a hardware issue. perhaps the screen's IC is broken

Recently started having the same issue, and I'm not the only one, according to Google search. Seems to be a software issue with Chrome. The only solution so far has been to install Chrome beta version


text:
Deleting images from Google Photos without deleting them from the device
I've created a folder in Google Photos with images that were in other folders. I want to delete the images from the other folders without deleting them from the device. But when I delete them, they get deleted from the new folder and the device.
Is it possible to only delete the images from Google Photos without deleting them from the device?

This reminds me that Google Photos is actually a syncing solution, not a backup solution. Anything that is done with it will be synced to the server and devices.


text:
`fastboot oem unlock` results in unknown command (Alcatel 1s)
I have an old Alcatel 1s (5024d) with Android 9 and I wanted to try my hand at rooting it. I've been following a tutorial that's supposed to let me flash a boot.img patched by Magisk Manager.
I've enabled USB debugging and OEM unlocking in the developer options, installed the necessary drivers, and have downloaded the official platform-tools to be able to use adb and fastboot. Additionally, I also have the original cable that came with my phone.
I have zero problems finding my device with and adb with fastboot, but when I try to use fastboot oem unlock (when my phone is in fastboot mode and connected to my PC), it just shows
FAILED (remote: 'unknown cmd.')
fastboot: error: Command failed

I have also tried fastboot flashing unlock, but that shows
FAILED (remote: 'Not implemet.')
fastboot: error: Command failed

There's frustratingly little information about rooting this 1s version, so I'd be grateful for any advice on how to unlock the bootloader.

Try 1. Changing the cable 2. Port

@beeshyams I tried that, but nothing changed.

Try  fastboot flashing unlock_critical, some devices need that. Not sure about your device

Above should be after fastboot flashing unlock

See the second last post here https://forum.xda-developers.com/alcatel-1/help/alcatel-1s-2019-5024d-root-t4104295/amp/

Tried them both, but nothing seems to be working. My boot.img actually comes from this post and it was one of the first things I tried.

Your best bet would be XDA- it's not a very popular device , so unless someone has it here, you may not get help. All the best

https://www.droidwin.com/fix-failed-remote-unknown-command-error/#Check_the_OEM_Unlock_Toggle

Minimal ADB Fastboot
For Alcatel 1S (5420J), the following commands unlock the bootloader:
adb devices
adb reboot bootloader
fastboot devices
fastboot oem unlock


text:
Not able to flash any os on my phone
Hi One day i tried to install a custom OS on my old phone it was already rooted and a custom recovery was also installed (TWRP)
after i booted into recovery i wiped cache and installed evolution x it showed an error Updater process ended with ERROR 7
i tried removing assets line in updater file but the same happen it showed the same thing
then i tried to go back but after a ( SAMSUNG GALAXY J7 PRO powered by android ) nothing showed up i waited hours but still nothing
i tried each and every possible custom rom on the internet but nothing works everything shows the same error i also tried flashing stock rom using Odin but it failed too its 3 days now and i am trying to get my phone back
is there any way my phone can boot into something also i noticed that every thing shows error although some YouTube videos have the same phone and booted correctly i followed them and still nothing even trying to rename files shows error it means there is some other problem plz anyone can help me it is very hard to live without a phone
This is the error from odin
<ID:0/006> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/006> Odin engine v(ID:3.1205)..
<ID:0/006> File analysis..
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> SingleDownload.
<ID:0/006> sboot.bin
<ID:0/006> cm.bin
<ID:0/006> FAIL!
<ID:0/006>
<ID:0/006> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

and on phone it shows SECURE CHECK FAIL (BOOTLOADER)

Does this answer your question? Explain "Don't Downgrade!" warnings when flashing stock firmware

bro you are a legend i got my phone back
whenever i will become rich in my life i will gift u something thanks a lot


text:
Device not detected in fastboot | REALME 3 PRO
I have device Realme 3 Pro. And I am trying to install TWRP. So, I downloaded In-depth test apk and got application reviewed. Then I booted into fastboot and device is not showing in device manager. I tried to add legacy device with google usb drivers. It said drivers installed but device starting failed. Error code 10.

It detected corrupted adb interface. So, I again updated same drivers.

This time device popped up in other devices and showed an error icon. So, I again updated drivers for the device. It says drivers installation successful.

But, when i double click on icon it shows no drivers are installed.

No matter how many time i update the drivers it shows no drivers installed.

Solutions tried

resetted my PC
resetted my phone
tried various ADB drivers for Windows
tried various ADB drivers for Android interface
completely wiped my PC
re-installed Windows (clean install)
updated Windows
updated all drivers present in Windows
updated BIOS
updated my phone to latest version

NOTE: OEM unlocking is ON. And usb-debugging is on too.

The ADB driver is for ADB not for fastboot. For Fastboot you need the driver "Android bootloader Interface".

@Robert I tried to install the bootloader drivers as well while keeping my phone in fastboot. But, It just installs and second after when I click on phone icon it shows no drivers are installed. It gives same result for any driver.

windows driver signature enforcement

@alecxs Ofcourse I tried to install various bootloader drivers while keeping my phone in fastbootboot mode and connected with my PC.

https://www.youtube.com/watch?v=71YAIw7_-kg

you can access your phone with fastboot command.
try fastboot devices in cmd and it will show connected fastboot devices.
you can see full command list with fastboot --help
if you want to install twrp, you need to enter the command:
fastboot flash recovery <your twrp image file>

but i think you need to unlock your bootloader first.

Welcome to Android Enthusiasts. Kindly read the question before answering


text:
Stop the keyboard from suggesting words from all downloaded languages
I recently installed 4 languages on Samsung Galaxy S10+. To my surprise, regardless of the language I choose to write in (= scroll to), it seems to suggest words in all 4 of them simultaneously.

It seems like the system has got all 4 mixed up or together.
Any ideas on why and how to fix this?

You don't specify that you're using the native Samsung keyboard, but it looks as though you are from the screenshot. If you go into the keyboard settings, under "More typing options," there should be a setting for "Multilanguage text prediction," which you can disable.


text:
Emulating Sony devices for Android Studio
I have a project that requires me to test it on a Sony device. Unfortunately, I don't have a physical device.
Is there a Sony emulator for Android Studio?

Sony once had a service where you could run your app remote on a physical Sony Xperia device. The service was called "Sony Remote Device Lab Service" but it seems to no longer exist nowadays.

Android Studio only provides Google phones as a built in  hardware profile. But you can create a new hardware profile and customize it accordingly. In the AVD Manager > Create new emulator, On the Hardware page Clone a device and customize it or to create a hardware profile from scratch, click create hardware profile and there you can create it from scratch.

Android Emulators are based off the Google Android Studio SDK Emulator and don't contain any Manufacturer proprietary code/API.
The general properties to change when creating a hardware profile are screen resolution, screen size and RAM. If needed there are additional hardware properties you can configure.
If there is a particular model you need to duplicate, creating an emulator with the same screen resolution, screen size, RAM and OS version would be a good place to start.