text:
Fix null IMEI on rooted phone without pc
So, the biggest drawback is I can't connect phone to PC (drivers not installing on Win 10, separate issue). And in my current ROM, I have already got root setup. Problem is I am getting null imei.
As you understand, I cannot go back to stock, or make any changes in this setup. Because if I mess it up, I can't connect to PC to fix it. I can however copy files to sd card and fix the imei that way.
How can I add the imei info using rooted phone, without a pc?
Edit:
I tried MTK engineering mode app as well. But the engineering mode contains no option for radio information.

Have you tried xposed imei changer? https://play.google.com/store/apps/details?id=com.vivek.imeichanger

tried it just now. app keeps closing. tried chamelophon, and for that changes are not sticking. after reboot, imei becomes null again and again

Your phone's EFS partition(s) is probably damaged. You may want to download the stock ROM and flash that partition.

Okay, I tried that too. After starting from scratch, same issue. But funny thing is a specific rom works fine, the one I was using earlier. Any other rom gives me this problem.


text:
Can't share in Google Keep via the app, only via the webpage
As you know, since late 2014 Google Keep allows sharing notes with others.
But I've noticed I can't share in Android (tried in Samsung Galaxy S4 mini GT-i9195i) with another Gmail account. There's a save confirmation with a "viewing shared note" message, but it doesn't actually share. As if I never shared in the first place. It also doesn't auto-fill when I start typing the other Gmail account.
As soon as I try it via Google Keep's webpage, it works flawlessly. It auto-fills the other other Gmail account and actually shares with it.
Any idea why?

Is the Gmail sync on?

I mean check the Sync settings within Gmail app

If you mean Google (Gmail is not related to Keep), than yes.

source: Stack Exchange

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

sort: votes


text:
"Unknonwn Artist" only on Google Music with corred ID3 tags
So, before you dismiss this question please continue reading for all the details.
I have my music collection on an SD card on my phone. All my music is very well organized, I'm almost OCD about it. All my music is properly named: AlbumArtist/Album/track# - title.mp3
All my files are mp3s, all of them are using only ID3v2.4.0 with no ID3v1 (some people use both [itunes?] ID3v2.x and ID3v1, not me). Every single tag field is using UTF8 encoding. All my music has an Artist and an Album Artist field, genre, track number, album art (properly encoded), date, and album, strictly no other field. None of my file-names contain special characters either.
I've gone even to the extreme of creating scripts on my computer to make sure that every single mp3 file on my collection is stored with the previous parameters.
Now, there are a couple of songs the Google Music keeps showing as "Unknown Artist", no track-number, no album art, etc. even after all the previous efforts. Other music apps (i.e. Rocket Player) show the correct info without a problem.
I've clear Google Music data, reinstall it, reboot phone, but nothing fixes this issue.
I've searched online and this forum. There are two other questions related:

'Unknown Artist' in Music Player.
Google Music 'Unknown Artist' only in Android App

The first is totally the opposite of me, where I'm very knowledgable of the ID3 tag standard, how to edit it (I've created Python scripts to automate the process) its version, encoding, and fields.
The second is related to FLAC and none of my files use any other format besides MP3 (with ID3v2.4.0 and UTF8)
Does anybody have any idea of what's going on? Why doesn't Google Music want to read the ID3 from the files? It feels like it's getting its info from an old database and not the files themselves.
PS: I'm using Android 7.0 and latest version of Google Music at the time of writing (v7.10.5022-1.T4178353)

Bit late, but maybe I can help someone else who finds this.
I also had this apparent problem and in my case it seemed to be related to album art. I managed to fix the relevant files by re-saving the album art in GIMP (without changing it) and embedding it back into the MP3 file. I had to do this for four files in my library (all of which used jpeg for the album art).
Files with these particular images embedded in them seemed to completely break ID3v2 parsing. Could also be a file size thing, more testing required. Here is one image that gave me some trouble.
The music apps could however, read an ID3v1 tag if it was present, regardless of the image.
This was a problem across the built in Xperia music app and Google Play Music (I'm guessing they use the Android API to enumerate music?), however Poweramp and Rocket Player didn't seem to care, nor did anything on my desktop.
Hope this is of help to someone.
Cheers.

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


text:
How to stop web page from opening Android Instant App?
For example, this very site, when I click on a notification, it opens the page in the Android Instant App.
I normally browse Stack Exchange sites on mobile web (mobile web version is great!).
Ever since it prompted me to try the instant app, I haven't been able to make it stop using the instant app.
The only workaround is to long-press a link then open in new tab. Then I can navigate to the new tab to see the web version.

The sure way is to disable the whole instant apps feature.
From Google Play Help,

Change how you open instant apps from links
You can change your settings to open links into instant apps or websites. If you turn on “Upgrade web links,” and click certain links, the instant app may open and you’ll be able to use some of it’s features, without actually installing the full app. If the setting is turned off, the link will open in a website. Learn more about instant apps.

On your Android phone or tablet, open the Google Play Store app .
Tap Menu  and then Settings.
Select Google Play Instant.
Turn on or off Upgrade web links.

Even when this setting is turned off, you can always continue to try instant apps by clicking on links that are Google Play branded.

Previously, disabling/enabling it per-app doesn't seem to possible as have been proven with Stack Exchange Android app. Now that I've Instant Apps on this device, looks like there's "Manage links" in the settings from above. However, I still couldn't find any example links to try if it's possible disable/enable per-app.

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

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


text:
How do I get Google Now to report correct season-related information?
At time of writing, it's mid-summer (July 27, USA). On my Galaxy S7, when I activate Google voice search and ask it how many days until fall, it tells me 217 days, which I know is wrong.  When I ask it how many days until winter, it says winter started 56 days ago.
Does it think I am in Australia or something?  How do I fix this?
Note:  My Google search region is set to United States and my location is set correctly.

It seems to be a bug, not yet fixed

@beeshyams Well that's a shame.  Can you tell me where you found that information?  I'd like to look into it more myself.

Click the link above ! That's why linked it. And if you want that as an answer let me know

@beeshyams facepalm DOH!  I didn't even realize that.  Sorry!  Thanks!

It basically talks about Google news, but in the same thread you find referred to Google weather too. And it's dated a month ago

I just wanted to add here that it turns out this problem isn't related to my mobile device.  It seems to be a Google-side issue because I get the same result on multiple devices, including desktop PC in multiple browsers.  I hope it gets fixed soon.


text:
Redirect calls from hidden numbers before I pick up
I'm getting calls from a hidden number. Since the first call I've set up a blocking rule for hidden numbers, but they haven't stopped. I want to get a little more creative.
The next time they call, before I pick up, I want to redirect the call to the Dutch embassy in Dubai. I did some googling and Dubai numbers are the most expensive to call where I live.
Ideally, this will be automated, but I'm happy to do it myself the first few times. Is there a way to do this? I'd be happy to pay a few bucks for a third-party app.

Call forwarding
is a carrier function. It's enabled by your carrier on request or by punching codes and may be a paid service. Contact them.

Deleted my answer , since it didn't address what you want and is only to reject for which many apps are also available on PS


text:
How can I see the upcoming calender event in the always on display?
I have a Galaxy 8 phone that I can customise the content of always on display in some limited way. I could not find any option to add the upcoming calender event to it. Is there any way to do that?

Did you choose display calendar option ?

@beeshyams yes, I did.

Go to settings. Then Lock screen and Security. Scroll down to Lock Screen and Always on Display. Select Information and FaceWidgets. Then select FaceWidgets. From there you can select "Today's Schedule" as a screen on Always on Display. (I have the Note 8, but I would imagine you'd do something similar or the same thing.)

There is no "Information and FaceWidgets".


text:
does my zte model n817 have a built in IR blaster so I can use it as a tv remote for my Sony tv
I have a ZTE model N817 android smart phone.  Does it have a built in IR blaster? If not, what do I need to do so that I can use my phone as a remote for my Sony flat screen TV.

check your phone's specifications online, because, each region may vary with some specifications.

According to the spec sheet at http://mobilespecs.net/phone/ZTE/ZTE_Quest_N817.html, it says IrDA = no which means it doesn't have an IR blaster.
As for using it as a tv remote, you can always get an 'ir blaster dongle' - there are various types, if you don't use the headphone port there are convenient ones that will go into the 3.5mm headphone port and not hang around as wires etc. (easier to carry in pocket).
However, you should check the TV as well; if its a newer tv with bluetooth remote then you just need a bluetooth remote control app.


text:
How to retrieve an app that's already removed from the play store before factory reset?
I had my phone undergo factory reset because there was some kind of malware and worms but it didn't work so I had it professionally fixed. And when I was going to re-install an app but it's already removed from the play store and I don't want to download from unknown sources. Is there a way to retrieve this? If there's none, what could be a good alternative for Google Play? I'm scared from unknown sources because of what happened to my phone before it was fixed.

Search here https://android.stackexchange.com/q/216/131553

Or here https://android.stackexchange.com/q/135711/131553

I think you just type the App name on play store and search. That has been removed or couldn't search, there is nothing you can do. Google play store's Apps are always update with new versions because the security reasons. But you don't worry. Apkpure is the one of large App store similar Play Store and you could search that app on it. It is fully trusted and they are always checked with Apps for worms, and malweare. Here is the link https://apkpure.com

The "Library" section of "My Apps and Games" lists all apps that you have downloaded in the past, even if they have been removed from the Play Store.


text:
Bulk add words to the user dictionary in Android 7.1.1 without root
I'm aware that since Android 6, Google doesn't allow apps to access the user dictionary anymore.
I have a user dictionary of about 500 words, which would be an incredible pain in the back to insert manually, so I'm looking for a viable method.
Previously I had a rooted Android 6, where I copied, modified and replaced the SQLite database on the phone. See this answer.
My current phone is not rooted, so I have no access to said database via adb or on the phone directly.
Is there no way to bulk add or copy/paste the user dictionary of the phone without rooting it?

There's a (paid) app which let you backup/restore and bulk add words to user dictionary:
user dictionary plus app


text:
Mobile Network Problem
I am facing mobile network issue in my office only. When I enter in my office my mobile signal problem arises, Is it due to the router or some other electronic devices? And when I go out from my office I again got signal into my mobile what exactly the issue is. I am not getting.

Although I am voting to close this as off-topic (not Android dependent), this is common issue. Carriers use different frequencies and those radio frequencies penetrate structures differently. I guess the frequencies your carrier uses don't penetrate your office building very well. I think it is unlikely that your poor signal is caused by interference from some other device.

If I understand correctly, you are facing signal loss when inside a building?
If so then that is normal. Indoor areas suffer from lower signal reception due to the having to pass through the walls. Whilst modern signal transmitters and phones are usually only marginally affected, all sorts of factors can affect this including how "deep" into a building you are, distance from transmitter, building materials etc.
If you are only facing this issue inside a particular room then perhaps the room is specially screened? You may also be in a signal dead-spot where you just have little signal.
Whilst WiFi and other common wireless systems are on frequencies that should not interfere with your phone signal, you may have some specialist kit in your office however this is very unlikely.
If you'd like to track your signal strength as you move between locations you can use the phone status option in settings.

Mobile network problem is coming from  last 20 days only. Previously there were no such problem inside the office. Problem is coming only when we are inside the Office now days.

How odd. No way that anyone could really know in that case. Perhaps your previous transmitter no longer works and you are using another one, or your network is having issues. Alternatively you could always ask your local IT team if they had any boosting equipment that no longer functions? At our office we have signal boosters and when they broke lots of people had reduced signal.  Either way, unless you have modified your phone, I don't think this is quite suitable for this S/E. Good luck!

The problem is not only with a single mobile. People have different mobile sets. Everybody is facing the same problem.
Which device can be the cause of this? Router,Computer,Laptop or something else?

There is no guarantee that it is a device interfering with signals. It could just be that your signal in that area is now worse due to a transmitter error. In the first instance I would try and contact the network provider and your local IT team to see if any local changes have occurred. This doesn't sound like something that can be solved on here. Best of luck.

Ok thanks, It means first i need to talk with my IT team and my network provider. Thanks budddy for your suggestion :)


text:
What is this icon that showed up on my android?
Any one has any idea what this notification icon means?

Thanks

https://android.stackexchange.com/questions/169883/3-4-circle-with-plus-in-it/170034#170034

That looks like the Data Saver Icon, a feature used to reduce your mobile data usage. Note that this is not set by your network provider but by the user (although there may be a default). Go into settings to check!


text:
How to re-login on android phone after Google Account email changed
What has changed
I have recently changed the master email address used for my Google account. My issue is that my phone (Nexus 5X) is requesting I re-sign into my account, however it is specifying my old email address, and not letting me change it to the new one.
What I have tried

I have tried adding a new account to my phone and logging in with my new email address, for some reason the new account has not got my apps, folders, preferences, background, fingerprints, android pay e.t.c. settings, despite apparently having finished syncing with my google account. The new account is the same account that was logged in previously, so now I have two accounts on my phone for the same account, the old one with all my settings but the wrong email address and log in issues, and the new account which is logged in but has none of my user data/settings. This question suggests doing this.
Turning it off and on again (it was worth a try!)

What I haven't tried

I could add the old email address to my Google account as an extra address, though the email account doesn't actually exist anymore and I'd be left with a phone logged into my account with an invalid email adress, so I'd still need to update it and be asking this question.

Related Questions

This question has an answer suggesting what I tried above, claiming "You don't risk any data loss by doing this" however none of my data synced so that clearly wasn't what they meant.
This question has an answer claiming that if I change my account I cannot avoid a factory reset, though this question does suggest a way around it using 3rd party tools (which I'd like to avoid).
This question and this question suggest updating individual apps, though I have no idea how that would help change the actual email attached to the account in settings.

TL:DR
The main email of my Google account has changed, my android phone insists I log back into my account, but insists I use my old email address (which doesn't exist anymore). What do I do?

Can you not just backup the information and remove the Google account from the phone, then add the "new" account? I would not suggest the factory default since the introduction of Factory Reset Protection, if that Google account email address doesn't exist you could be permanently locked out of your phone.

@acejavelin How would I do that? Is there something Google based approach or will it require 3rd party software?

Can't you just go to Settings - Accounts and tap the Google Account and then the 3-dot menu and select Remove Account?

Remove account? How does that help me maintain my apps and settings? Seems a little extreme! If adding a new account cannot maintain two years of settings, how will remove account help me?

@acejavelin it seems to have sorted itself out overnight, the original profile is gone and all my settings have remained with the new one, I'm not sure how it happened or when...


text:
Disable wake on fingerprint sensor
I've spent a lot of time editing /system/usr/keylayout/Generic.kl in trials to disable waking on sensor touch.
What I've learned is that MENU and SLEEP "buttons", when assigned to key 353 (which is my sensor) don't wake the device up, BUT they work as actual keys, which is unwanted.
So, what key should I assign to the sensor?
I've tried avr, dvr, virtual, forward, media_close, meta_left, shift_left, escape, insert, button_l and a lot of other things. All of them wake the device, unfortunately.
P. S. Commenting or removing the line doesn't work either

On-device keys like MENU, VOL and POWER usually aren't defined in Generic.kl - try finding another .kl file which should only contain those definitions.

@AndyYan what do you mean? Usually? I described you HOW modifying Generic.kl affects sensor's behavior and you're telling me about other .kl files... FYI, none of other .kl files contain key 353, which makes me think they're not overriding generic one, at least not in my case


text:
Continually scanning for network drains battery, but I've got network?
My Google Pixel's battery has been draining rapidly the last few days. When I look at the battery usage chart, it shows almost-entirely red for "Mobile Network Signal".
That makes sense: scanning for mobile networks uses a lot of power.
When I open the lock screen, it says "No service". When I pull down the notification icon panel, it shows "No service".
If I open the About / Status / SIM Status page, it shows "Network: Unknown", "Signal Strength: 0", "Network Type: 4G", "Service Status: Out of Service".
Except I've got signal. I've received a couple of calls, I've got 4G connectivity, I can upload photos and check in on Facebook. The phone shows full (or almost full) signal in the status bar.
The only thing I can think of is that I'm roaming from the UK to Australia, and my network provider (or the local provider) has screwed something up. Hopefully it'll sort itself out when I return home.
The problem I have right now is that I'm going to be here for another week or so, and the battery life of my phone is hosed.
I've restarted the phone; I've turned on/off Aeroplane Mode; the phone's been turned off and left for a while. Nothing seems to help.
What else can I do?
(Google Pixel; Android 7.2.1)

Setting the "Preferred network type" (under Settings / Wireless & Networks / Mobile Networks) to "3G" (instead of "4G (recommended)") causes the phone to report a valid network connection and seems to solve the battery issue.
In Android 9, this setting is under Settings / Network & Internet / Mobile Network / Advanced.
Remember to change it back once you're home.


text:
How to add new contacts to an outlook.com account in an Android device?
My contacts are all stored in an outlook.com account and I would like to continue storing them there. To access and use these contacts (say to make a phone call), from my Google Pixel device, I have my outlook.com account added to the phone settings > accounts.
This works as it should. All my outlook accounts are accessible from my phone.
When I want to create and save a new contact, the options exist to create the contact from Google's Phone App and the Contacts App. When I click save, to save the contact, the contact doesn't get saved. No indication is given that the contact is not saved. Only when I check my list of contacts do I know the contact is not saved.
Is there any other way to save a contact to outlook.com from an android device?
Alternatively, does the above method I use to save contacts from Google's phone or contacts app work for any one else?
The current workaround I use is to visit the outlook.com website using a web browser, and then create and save new contacts. When Android periodically syncs the contacts, I get to see the new contacts on my phone. This workaround usually works better if the desktop version of outlook.com is used. The mobile version is not very friendly for saving new contacts to outlook.com.

There is another workaround which involves a handy third-party tool- Contact Editor Free.

This editor is a replacement/alternative for your native editor and
  it's invoked in the same way. It will be started whenever you try to
  edit or create a contact (and you select "Contact Editor Free")

When you use the regular Contacts app to create a new contact, it gives you the alternative option to use this application, which gives you the option to add either a gmail.com or outlook.com contact essentially overcoming android's limitation to add outlook contacts.
One user mentions a minor drawback:

The only drawback to the Contact Editor Free solution that I've found
  is that I can't delete contacts from the outlook.com account this way.
  That's a pretty minor problem, however, since deleting contacts is
  something I do a lot less often than adding them.

Acknowledgements

How to add contacts to my outlook.com account

Did the workaround solve your issue?

I'll try it over the weekend. The app seems promising. Although its interface is quite dull. Thanks for your help.


text:
Mount /data partition without losing data
In some new models, when installing a custom recovery, /data partition won't mount. To fix that I need to wipe partition. How can I fix without losing data?

Android M added support for /data encryption, and Android N made it mandatory.
Old custom recoveries' having trouble mounting /data is primarily because they aren't capable of decrypting it. Newer recoveries will prompt for a password (or pattern) before they attempt to access /data (or nothing if you don't have a locked lockscreen).
Solution: Give up that recovery and get another one, but this time make sure the recovery you're installing supports /data decryption (like TWRP).

I'm using the latest version of twrp but it won't ask me for a password.  My data partition shows as 0mb and acess to the partition is denied.  My device is soft bricked so only have access to the download and the recovery at the moment.


text:
How to stop annoying big Notifications
I use a Samsung Galaxy 7. OS is Nougat.
Previously notifications used to be small texts in notifications area.
Now I get an annoying small popup window for every app upon notification.
Any ideas how to stop this?

If you are describing what I think you are, swiping either up, left, or right on the pop-up will clear it.

I have no issue clearing it. I just want to know if I can totally stop the popup behavior of the notifications.

I'm so fed of this behavior that I'm thinking to root my phone if that helps.

can someone with the same OS, or phone please let me know if the similar issue exists for you or not?

I think you're referring to Heads-Up notifications (those notifications which pop up on the top of your phone's screen).
The following methods have shown to completely disable them for all applications while maintaining regular notifications in the status bar. All of these methods are free. Some require a rooted device and some don't.
Non rooted devices

ADB method

Firstly install minimum ADB/Fastboot setup. You can find more instructions here: New To Adb And Fastboot Guide.
After enabling USB debugging, connect usb cable from device to computer.
Open command prompt (right click + shift) and enter the commands:

adb devices

Check if your device is listed in output, then proceed
adb shell settings put global heads_up_notifications_enabled 0

reboot device and thats it!

Rooted devices

Using terminal

Install Terminal  for Android.
Open the application. Use the following commands:

su
(The indicator should change from "$" to "#"). Next enter
settings put global heads_up_notifications_enabled 0
Using heads app switcher app

One XDA developer has generously shared thier 50 lines of code embedded in this app to switch on/off Heads-Up notifications from quick settings for Android N
Root required. Reboot not required
Download here

Acknowledgements:

Official Nougat - turn off Peek Notifications?

Sounds very promising. I will try when I get home.


text:
What is this circular icon in my Android status bar?
I'm getting the circular symbol to the right of K/s on my status bar since last few days:

Does anyone know what it is?

It's a GPS in use icon
From MI forums translated using Google

This icon indicates that the phone is using the GPS signal, and if you are using the phone navigation it is not wrong. Otherwise it is recommended as soon as possible to close the power consumption, so that mobile phone power consumption too fast.

Someone who can read original can point out errors .
Edit From Mi Forums in English

Google's locator icon, which uses wifi, cell and GPS to locate you. To turn off, go to settings>Google>location> untick Access to my location.
It appears when one or more apps [you gave permission to] is asking for your location, hence your phone is transmitting.

OP has provided additional information on getting rid of the icon, which may help others

What solved for me was that Go to Settings > Additional Settings > Privacy > Location > Location access. Then in app permissions for each app I disabled Location. Then restarted the phone. The icon was now gone. Then enabled the location for all apps that previously had it enabled

Thanks. But how do I make it disappear?

Thanks! What solved for me was that Go to Settings > Additional Settings > Privacy > Location > Location access. Then in app permissions for each app I disabled Location. Then restarted the phone. The icon was now gone. Then enabled the location for all apps that previously had it enabled. You can add this to your answer and I'll accept it. Add a comment once you edit your answer


text:
Unable to remove encryption
I have a galaxy note 4 that isn't rooted but has TWRP 2.8.5 installed. I wanted to factory data reset the device, however, I was getting the error that it was unable to mount /data. I read on XDA that I had to format data. I clicked on format data and typed in yes.
I got the message "Formatting Data using make_ext4fs function. You may need to reboot recovery to be able to use /data again. Updating partition details ... done". I see the status as "Data Format Complete Successful".
I rebooted the device, and I know the OS loaded, but I was greeted with the error "Encryption failed, cannot decrypt your device storage. You need to reset your device to factory default settings". And a reset device button. I click on the reset device button, it boots me to recovery and runs a script and again reboots to the previous error.
I tried to factory data reset it now, although it showed as successful, I was directed to the same error.
Can you please advise what should be done?
Thank you

You may want to flash a "Forced Encryption Disabler" package, which also disables DM-Verity (if present).

I get an error when trying to flash this - http://imgur.com/CNoX871 "error flashing zip"

I see people on XDA Developers succeeded after flashing SuperSU. You can acquire SuperSU here.

I don't think flashing SuperSU will help as I cannot access the GUI after booting. It immediately prompts me with the error as before.


text:
How to lock/unlock recovery?
If I lose the phone, someone may find it and try to reset the security pattern via recovery. How can I lock / unlock recovery via terminal?

You can't lock or unlock recovery via a terminal, or any other way, that would defeat the entire purpose of recovery... But Android has what is called Factory Reset Protection in newer devices (you didn't state what device specifically or Android version) that prevents accessing a device even after a factory reset without knowing the Google account credentials. https://www.androidcentral.com/factory-reset-protection-what-you-need-know

@acejavelin This level of protection assumes that one has a Google account, though.

@DeathMaskSalesman True... It doesn't accommodate all situations.

You cannot lock the recovery. That's not recovery is intended.
The only chance to do so is locking bootloader.
However, if the bootloader on your device is not locked when it's out-of-the-box, then it can't be locked. Factory Reset Protection won't have much effect in this case.


text:
How do you install your Android Studio app onto an LG Smart Watch Sport?
I am building an application to run on a smartwatch using Android Studio, and I want to install it onto my LG Smart Watch Sport, but I do not know how to do this with this watch. That's because you can't connect it to a computer; the watch itself is charged by placing it on a charging stand, but I don't see any outlets on the watch.
To debug using wifi, all the sources I have found say you need to connect it via USB, and I can't connect it via bluetooth. Does andybody know if it is even possible to install your own Android Studio apps onto the LG Smart Watch Sport? Thanks!

To install your application onto an LG Smart Watch Sport, you must do it either via WiFi or Bluetooth because the watch doesn't have a Micro USB port or any port at all. That is why I did it via WiFi.
How to do this on a Mac

Enable WiFi debugging on your device, using the same WiFi as your machine. Keep in mind the IP Adress of the device.
Type cd Library/Android/sdk/platform-tools in Terminal to acces the platform-tools directory.
Now type in ./adb connect your.ip.adress.here:5555

The problem for me was that I was always told to type in adb connect, and not ./adb connect. For some reason, that is the only way it works for me.

Check this Creating and Running Wearable Apps
From The Google Android Developers website .  It provides a walkthrough on how to do it


text:
Unable to adopt SD card as internal storage on my j7 prime with android marshmallow
I recently upgraded to 6.0.1 Marshmallow on my Galaxy J7 Prime and I would like to adopt an SD card as internal storage. but it doesnt give me an option to this
I formatted the SD card, there is no "Internal" option, only a "Portable" option.

Samsung has that option disabled in all of it's phones, like many manufacturers, because it turned out to be terrible and caused all kinds of data loss due to SD cards not being able to handle the exponential increase in read/write operations, leading to catastrophic data loss... In encrypted storage if a single bit is incorrect in the wrong spot all information on that card is permanently unrecoverable.

@acejavelin It's not actually disabled, there is just not in GUI option for that. Adoptable storage is Android feature and like that can't be disabled by OEM's.

@ЈеднорукиКрстивоје I understand that... but I still don't recommend using adopted storage, I have seen more failures than successes over time it seems like. Even with high quality SD cards, it seems to just destroy them and at random with no warning and due the encryption typically no data is recoverable at all.

@acejavelin Yeah I know that it killed my few cards r/w speeds, fortunately didn't lose any data. However I think every user with 8GB phone is forced to use adoptable storage in my case I wouldn't be able to install half of apps I have and couldn't download much because it goes to internal storage by default, fortunately there is less and less 8GB phones

@ЈеднорукиКрстивоје So what should I do? I only have 16gb memory thats already filled and I have 64gb of external storage lying there. I have tried moving the apps that can be moved to the Sd card

@acejavelin So what should I do? I only have 16gb memory thats already filled and I have 64gb of external storage lying there. I have moved the apps that can be moved to the Sd card but the still have to delete some apps. its so frustrating. to thing that I switched from a phono with 32gb internal storage to this.

I didn't say don't do that, if you need more storage for apps than you adopt it, but keep in mind that storage will be encrypted. However if storage is needed for photos and such media then simply move media to SD card. Also make sure that your SD card is at least class 10 or UHC I.

Most of OEM's doesn't offer in gui option for adoptable storage. So you have to do it via ADB. Here is how click
Here it is:
NOTE  all data on your SD card will be lost.

Make sure USB debugging is enabled in developer options under settings and then connect your phone to PC via USB cable.
Open terminal or command line on PC ( make sure you have ADB installed if not then download minimal ADB and fastboot, you can find it on Google click ) type command "adb devices" to make sure phone is detected, then type "adb shell"
3.Type 'sm list-disks' to list the disks available, the result should be something like "disk:179:160"
To make SD adoptable use command "sm partition disk:xxx:xxx private" where xxx:xxx is replaced with result from previous command, in some cases there is _ instead of : so watch out for that. If you want to use only half of SD as adoptable then use this command "sm partition disk:xxx:xxx mixed 50" and that's it.

If you want to move your data (pictures, videos etc) you can go to settings>storage>SD card>more and you will have there option "migrate data" hit it and let it go.

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


text:
Explain "Don't Downgrade!" warnings when flashing stock firmware
I have a few devices I want to put back from custom roms to stock. On almost every stock rom source, however, there are dire warnings for some devices not to downgrade to stock versions from before your latest installed rooted rom version. For example, from Androidayos:

UPDATE: DO NOT DOWNGRADE back to the old stock firmware version. Once your Galaxy Note 2 already runs on 4.4.2 based rooted ROM you should only revert back to 4.4.2 stock firmware, same as it goes if you are on 4.3 you may install and stay on 4.3 and then  upgrade to 4.4.2 KitKat but do not ever downgrade to 4.1.2 or 4.1.1 due to the current secured bootloader on every update.

I wish to really understand that warning. For example, if the bootloaders are secure, how is it so easy for people to flash custom roms for the first time, coming from those 'secure bootloader' stock firmware versions? What would actually happen and what problems would arise if one did downgrade just as is proscribed in the warning? If there's a "current secured bootloader on every update," why is it safe to flash the same version that one is currently running rooted, but downgrading is not? And so forth…
I'm doing this to several devices, but the best is example is a Samsung Note II currently running Cyanogenmod 12.1, which is 5.1.1 Lollipop. In that device's case, every stock firmware is an older Android version than Lollipop, since no brand pushed OTA updates beyond 4.4 KitKat. If I go back to stock 4.4.2 KitKat, I'm going 5.1 to 4.4—doing what they're warning against. How do warnings like that pertain to devices in this state, and what should I expect?

Bootloader itself will get updated with some firmware updates. Take the Galaxy S6 as an example - the firmware G920FXXU4DPJN comes with bootloader level 4, while G920FXXU5EQF1 comes with bootloader level 5. Samsung has made it so you can only flash the same or a higher level of bootloader by official means, so as to prevent downgrading and exploiting vulnerabilities in older ones to achieve modifications such as rooting.
This bootloader level is not necessarily tied to the Android version of the firmware it comes with, although on older devices it tends to be the case - every major Android version bump comes with a new bootloader.

...why is it safe to flash the same version that one is currently running rooted?

Since bootloader is a rarely updated part, a series of updates will share the same bootloader level. Allowing the same level will let these updates through.

What would actually happen and what problems would arise if one did downgrade?

Attempting to downgrade will either stop halfway when flashing, or result in an unbootable phone (until you return to a firmware of the original bootloader level).

...how is it so easy for people to flash custom roms for the first time?

Bootloader has been unlocked by default on most Samsung phones (except AT&T, Verizon and a few other examples) up until Android 5.x, where the "OEM Debugging" switch has been added in the OS to ask for explicit user consent when they attempt to flash anything. Flashing under unlocked bootloaders are almost always easy and safe, but of course with the price of warranty void.

a Samsung Note II currently running Cyanogenmod 12.1

By definition you know that's not a stock firmware. In fact you probably shouldn't even call it firmware, since it only contains updated /boot and /system partitions - no userdata, no modem, no bootloader. Custom ROMs don't depend on bootloader level as strictly, and when they (rarely) do, they simply halt installation if the check fails, leaving you with an untouched system. More importantly, the bootloader itself is never modified or overwritten, so stock ROM compatibility stays the same - you still can only flash ones with the same or higher bootloader level.
TL;DR - bootloader level matters, Android version doesn't.

The part of the PDA that you show U4D (these three digits) is the version (I know the version is 4 but the letters belong to the version)


text:
Where there are attempts to enter a password for unlocking operator sim lock?
My phone (Micromax Q415) attached to the SIM card operator megaphone. If I insert a SIM card of another operator, the phone will ask for the unlock key. I found an application that shows this screen and decompiling it. I want to modify this application so that it performs a brute force attack locally. Each entry attempt occurs with a fake delay, which I already lost. Now you need to know where are the attempts to enter the NCK password. I tried to backup the entire system, spent one try, performed a backup restore. But the attemts can not be restored! Where are these attempts? In the course of this application I saw that the number of attempts is taken from the telephony-common.jar. But I did not find where this request goes.

Just a guess -  there's more partitions than what you touch with a file manager. If it's in modem (firmware) or EFS then you're pretty much screwed - and I don't see why they wouldn't do so.

@Andy Yan, very interesting :) The number of attempts can be in the "dev" directory?

I very much doubt that, Sergej. /dev is using the devfs file system and is not permanent, but "re-created" at each boot.


text:
Kindle fire 5th gen root
Hi I have a kindle fire 5th gen that is on 5.4.0.0 fire os is there any way I can root or downgrade to a rootable version?

I've been researching this for a long time now and as of yet there doesn't appear to be any way.
I tried doing a LOT of outside-the-box research using info from other android devices that operate in a similar way.
I've tried unlocking the bootloader by compiling my own unlock file using cuber_unlockbl, I've tried the old psneuter method. All to no avail.
Unfortunately this seems to have been on-going for some time since update 5.3.2.1 and with the new 6th gen Fire released it seems interest in breaking open the newer firmwares has dwindled in the communities. Most answers on xda just forwards people to the main page where it is stated that nothing can be done.
You have probably already done this, but you CAN install the Play Store on 5.4.0.0 That seems to be the best there is.
It's a shame. I bought my first fire 5th gen tablet new and installed a custom rom on it. I liked it so much I bought this one, but they were no longer available new and I had to get this one refurbished. It came on 5.3.2.1, and upon enabling WiFi it almost instantly updated to 5.4.0.0.
I actually had told it to disable updates, but aparrantly there is some OTA update method Amazon use and it just updates anyway...
Very poor from Amazon to be honest. Since they are discontinued it would be nice if they released an update and unlocked the bootloader. But that is NEVER going to happen.


text:
Can apps track visitors to your WhatsApp profile?
There are apps called "WhatsApp Tracker" or "Whats Tracker" that claim to display new visitors to my WhatsApp profile.

I tried those apps and turned out the apps didn't do what they claim. I am not sure about the logic behind the design for it to accomplish this function.
In my humble opinion, it is not possible with the current WhatsApp infrastructure to track down visitors who have been specifically seeing your WhatsApp profile (for example: looking at a display picture, watching status updates)
Is this really possible? Is the above-mentioned app genuine? I did not find it so... But if it is even scarcely, then what logic helps to track down visitors?

Even if WhatsApp (owned by Facebook) have this mechanism to harvest information, you can be sure that it will not be exposed for others to use. That app and another app which claims this capability appear to be fakes and installing such apps is rather a risk

just as I remarked in the question...yep.. those are fake apps that claim to track but do nothing except track your private information... and sell it to ad agencies.

Whats Tracker is false. it doesn't do what it says. its not even in real time


text:
How can I see all installed packages, including those that have been hidden?
Recently I used ADB to hide a bunch of packages on an old phone (Verizon 2013 Moto X) I intend to use for development. I hid most of the phone-related packages, including the SIM Toolkit and the telephony service, but now a dialog saying that "Phone has stopped" shows up continuously whenever I try to use the phone. I've tried to unhide most of the ones I hid, but hidden packages don't appear in the output of pm list packages. Is there any way to see all of these packages and/or unhide them? I'd rather not have to factory reset it.

Additionally, I've tried to unhide com.android.services.telephony but pm unhide's output seems to suggest that the package doesn't exist.

Turns out the name of the package causing the issue was com.android.providers.telephony, so this is no longer an issue.

How did you "hide" the package? By pm hide?

@AlexDueppen What was the output?

Related: https://stackoverflow.com/questions/32271655/android-apps-not-included-in-adb-list-packages-command

If you run adb shell pm you would find many options and parameters for pm. One of the parameter is -u to show uninstalled packages. (Hidden packages are treated as uninstalled packages.)
On an unrooted device, make a list of all the packages and then all the packages plus the hidden ones. Compare them and the uncommon entries in the second list would be the packages you are looking for.
adb shell pm list packages
adb shell pm list packages -u

As for rooted devices, search the string hidden="true" in the file at /data/system/users/0/packages-restrictions.xml. You would see the corresponding package name.
Tested with Stock Android 6.0.1.

Does not work properly for N. You may want to switch to cmd packages instead of pm list packages.

I don't have to since it works well until Android 6.0.1


text:
Turning on the flashlight does not keep the brightness
I wrote a command to turn on the flashlight
echo 255 > sys/class/leds/flashlight/brightness

The flashlight turns on but after a second it shines darker. Why?

Did you mean echo 255 > /sys/class/leds/flashlight/brightness?

@iBug, oh, yes.. Sorry, command wrote correctly, but in question  not valid. I edit it

As @iBug pointed out the leading slash before sys?

@beeshyams Impossible to be the cause, since the OP managed to turn the flashlight on without the leading slash.

@iBug, yeah, managed

What happens if you read brightness after the LED brightness decreases? If the reading is no longer 255, then the driver might have been coded so as to disable maximum brightness (probably to prevent overheating).


text:
How does Samsung Pay work?
Does it actually activate a magnet field that the payment card terminal reads? It seems like it doesn't use the chip but what are the details?

Samsung pay uses NFC or Magnetic Secure Transmission, whereas Android Pay uses NFC only and that's supposed to be the edge Samsung offers to users as also retailers who don't need to invest in NFC hardware
Magnetic Secure Transmission from Samsung website explains

Magnetic Secure Transmission (MST) is a technology that emits a magnetic signal that mimics the magnetic strip on a traditional payment card. MST sends a magnetic signal from your device to the payment terminal's card reader (to emulate swiping a physical card without having to upgrade the terminal’s software or hardware). MST technology is accepted at nearly all payment terminals with a card reader. ...
Your transaction and payment information will be kept private and secure with the use of tokenization. MST is more secure than using a traditional payment card and is as secure as paying with Near Field Communication (NFC).


text:
Rooting multiple devices
let's say I have about 100 old kindle fires to root (or other android devices). Of course I don't want to waste days to root them one by one, is there any way to optimize the process?
Thanks

Please view this similar question in superuser: https://superuser.com/questions/833021/is-there-a-way-to-root-multiple-android-devices-at-the-same-time  (I think this is not an expert solution as the comments on the above link says, just wait for a better solution)

Write a script to do that, then root them one by one. A huge hub will significantly help the process.

Thanks, I know for sure that a company has done this, and they need more than 400 devices... I need to set an app as launcher on those tablets, is rooting the only way? In this case I think I'll need a better solution to save me some time

Otherwise, I could have some people do it for me, but none of my coworkers are... let's say tech friendly, they have never seen a terminal, can I find a more "user friendly" way to make them root the devices?

The first step must be done manually, and one extra tap (confirm a prompt) for each device is required.

Enable USB debugging (after unlocking Developer Options) for every device
Prepare the files. A custom recovery (you should find it by yourself) and a SuperSU flashable ZIP
Prepare a script and place the downloaded SuperSU ZIP and recovery IMG in the same directory. Rename the SuperSU ZIP file to SuperSU.zip and your recovery image to recovery.img
Plug in one device and run the script. Tap "Authenticate" if it prompts for USB debugging. It will reboot several times. When the device shows the normal operating system, unplug it
Repeat step 4 until all are finished.

Script (Unix version):
#!/bin/sh
echo "install /sdcard/SuperSU.zip" > openrecoveryscript
echo "cmd reboot" >> openrecoveryscript
adb wait-for-device
adb reboot bootloader
fastboot wait-for-device
fastboot flash recovery recovery.img
fastboot boot recovery.img
adb wait-for-device
adb push SuperSU.zip /sdcard/SuperSU.zip
adb push openrecoveryscript /cache/recovery/openrecoveryscript
adb reboot recovery
# You're done!


text:
Permanently setting launcher in Nox
In Nox (3.8.1.1) running Android 4.4.2, I'd like to change the launcher from Nox Launcher to Smart Launcher. I set the default home app through settings, but every time I restart Android in Nox (or sometimes randomly), the setting doesn't stick and it gets switched back to Nox Launcher. Nox Launcher apparently likes to reset the default app to itself on boot. Also I can't uninstall Nox Launcher, nor can I disable it in settings:

Is there a way to make the home app setting stick?

You can't uninstall Nox Launcher but you may disable it in Settings.

@iBug Good idea, but unfortunately, looks like I can't; see edit.

You likely have to disable it through ADB, but you'll want to figure out how to get the default launcher configuration to persist prior to doing so.  Here's a great resource on debloating Nox

I found the answer in the video beeshyams posted in a comment. There's actually a much more concise video here. I've confirmed that it works correctly in Nox 3.8.1.1, so here are the instructions, which basically just involve disabling Nox Launcher by "removing" the app directly:

Make sure you have an alternate launcher installed first! I don't know what will happen if you try this without having another launcher installed. You're welcome to find out, but I didn't want to test it.
If not already set, enable root mode in Nox (Settings → General → Root) (note I mean the actual NoxPlayer settings in the title bar, the little gear, not the settings in Android), then restart Nox to apply the change.
Open File Manager then navigate to the folder /system/app.
Scroll down until you find one named launcher_1.7.1_en_signed.apk (version number / language code may be different in older or newer versions of Nox so your filename may vary slightly).
Rename it to launcher_1.7.1_en_signed.apk.bak (Long Press → Rename).
Now you're ready to go. Go to the Android Settings → Home and make sure your launcher is selected there just to be safe, and it should be good.
Disable root mode in Nox if you want then restart it.

To restore the Nox Launcher, just undo the filename change in the same way. If you'd rather see this all visually just watch the "concise" video linked above.

Here's a shorter way to do it:

Enable root and install any launcher you wish.
Use this app to uninstall the Nox launcher (show system apps, and allow in settings to uninstall them):

https://play.google.com/store/apps/details?id=com.lb.app_manager
And that's it.
Disclosure: I made the app.


text:
Installing .apk as system app directly (with root)
I'm wondering is it possible to install .apk file as system app directly (with root)? Without converting user app to system app.

You can simply copy the apk (its name not relevant) into /system/app or /system/priv-app, set the appropriate permissions (rw-r-r, root:root) and then do a reboot. That's it.
Works well on Android 6.0.1.

Can you delete the apk from /system/app folder after reboot, once it's installed?

The presence of an APK is necessary for the app to be functional, otherwise, after removal, the app won't run, although you would continue to have the app icon in your launcher until you reboot the device.

How exactly do you "simply copy the apk" ? And what if the app is already installed?

Use a file manager app such as Solid Explorer to copy the Apk to the location and to set permissions. If the app is already installed move (not copy) its apk from /data/app directory to the location I mentioned in the answer. A reboot would fix things on its own. @androiddeveloper

Solid explorer wrote that it can't copy/move the folder of the APK file. Also tried to do it for the file. It failed. Also tried to either /system/app or /system/priv-app . Tested on rooted Pixel 2 with Q beta 5. Reboot also didn't help, of course.

@androiddeveloper when I wrote this answer I tested it on a stable release of Nougat, so I suggest you ask a new question for your issue.

@Firelord Maybe things changed since N ?

I've now tried the "/system/app mover" app on Nexus 5 with Android 9 (custom rom of course) and BusyBox which it requires for some reason, and it converted an app to be a system app without any issues. Tried again on my Pixel 2 with Android Q, and it still showed an error that it can't do this "could not mount /system" .  Odd

I also have the problem of the mounting the system partition as rw, but still was unable to. Android 10 is having something called overlay filesystem to do something like this, but still not succeeded on it.

Via ADB: (Copy apk to phone via usb/My computer first)
Example:
adb shell                                           (Get into shell to run beow commands)
su                                                  (Run as root)
mount -o rw,remount /system                         (Mount system read/write since default it read-only)
chmod 755 /system/priv-app/Messaging_SEP81          (Set permissions on folder)
chmod -R 644 /system/priv-app/Messaging_SEP81       (Set permissions on apk file)
ls -l /system/priv-app/Messaging_SEP81              (Check permissions - Should be: -rw-r--r-- 1 root root - not sure what 1 & 2 is)
ls -l /system/priv-app | grep "Messaging"           (Check permissions - Should be: drwxr-xr-x 2 root root)
reboot                                              (Reboot device)

What if after mount -o rw,remount /system , it shows /dev/block/sda43 is read-only ? Also, what's "Messaging_SEP81" ? How can I convert an existing app to be a system app?


text:
is it possible to flash supersu on my phone with twrp without unlocking bootloader
I was wondering if you could get supersu somehow on my device, also what is the difference between not flashing supersu and downloading it, becuase I think I saw a article about being able to flash supersu without unlocking the bootloader.
Also if you say just to unlock the bootloader and flash supersu, but I like my phone with everything and I don't want to wipe it.
Also I am on marshmallow 6.0.1

There's no chance that you flash TWRP before you unlock your bootloader, not even SuperSU.
A recovery can only be flashed from an unlocked bootloader, or a rooted system. But as you have neither, you can't flash TWRP, which is required for flashing SuperSU.


text:
Undo or reverse YouTube update on my Samsung Galaxy S4
I recently updated YouTube on my Galaxy S4 and I don't like the changes. Can I undo the update or return my android to a couple of days ago? Or do I have to live with it as it is? Thanks for your suggestions. BTW, please give me directions step by step. I'm technologically illiterate.

If it's a system app, you should be able to uninstall updates by long pressing the icon, dragging it to "App Info", tapping the overflow menu at the top right, and tap the "uninstall updates option"
Next, go to settings>security>unknown sources and check the box.
Finally, go to APK Mirror, search for YouTube, and download the 2nd most recent apk (choose ARM Varient) and open it.
Enjoy the older YouTube version.


text:
Samsung Note 3 storage looks full
I have a Samsung Galaxy Note 3.
The system claims that the storage is almost full. Out of 26 GB, it show only 600MB as free.
In practice, all my pictures/videos/music/whatsapp-media sums up to about 6 GB.
Where are the other 20 GB?
Apart from resetting the phone to factory default, is there a way to fix this?

Use an app like Disk usage which shows graphically what's occupying space. Clear what's not needed. Also see the questions in insufficient memory tag, just added to your question

I am pretty sure that WhatsApp media exceeds your estimate.

@beeshyams Diskusage only scans the sd card.

No no. It scans internal and external but for external I think it needs root

Disk info is another app that gives complete info about your memory

@summerbulb Yeah, add screenshots of disk Info app in your question as beeshyams said..

@GokulNC, I don't feel comfortable loading screenshots from my phone showing my file-system. I used Disk-Info, and it shows that the /data directory if almost full (20 of 26 GB). Plugging the phone to my PC and summing the entire whatsapp media yields about 6 GB. What is taking the other 14 GB?


text:
Phone stucked while booting with moto logo
After all for a game, I've done all the stuff that gets it to play the way i love.
I did the following in the order as it is.

Backed up my contents
Unlocked the bootloader
Flashed TWRP recovery
Installed elementalX-G4-1.04
Flashed SuperSU-2.82
Wiped cache partition

Now my phone was rooted and I restored all the contents and data. All of a sudden Pokemon GO is not working and I got to know that it won't work in rooted devices since it's failing Safety Net tests. After going through some threads, I get to see that installing suhide might bring back life into the game.
I downloaded suhide0.54 and booted into recovery mode, flashed suhide0.54 and tried rebooting. Phone got stuck at Moto logo for a long time. I tried wiping cache and rebooted but still the same.
Tried flashing suhide-0.55, wiped cache partition and rebooted system. Still the same condition. Please help me out on how to get out of this situation.
Model : Moto G4 Plus
Version : Android 7.1.1

You need to uninstall suhide. There is an uninstaller.
Check this post:
https://forum.xda-developers.com/apps/supersu/suhide-t3450396
And scroll to the downloads section. Download the file with 'rm' in the name. Transfer it to your phone and flash it in TWRP. Make sure you have the latest version of TWRP. Reboot.
I would suggest buying a cheap phone and experimenting with that. Unroot the G4 plus and do all the stuff with it that you can do unrooted.
In terms of the phone to buy to root etc, I would suggest either a used phone (make sure you can unlock the bootloader before buying) or a new moto e, maybe. If you are in the UK, I would suggest buying a used phone. You can unlock the bootloader on an HTC One M8, which you can pick up for about £90.
https://htc-one.gadgethacks.com/how-to/unlock-bootloader-root-your-htc-one-m8-0154444/
In the US, the new Moto E is $99 on Amazon Prime or $129 normally on Amazon.
Hope this helps!

Thanks for the link though. I flashed suhide-rm file and my phone booted perfectly. I am not experimenting with root. All i did was to play pokemon go as the march security update messed up with the gameplay i used to .

Oh, ok. I thought you rooted it in the 1st place for experimenting. As long as the Suhide rm file worked, that's good.

You got bootloop for SuperSu may be.

Remove SuperSu. You will find super su uninstaller on internet. Flash Magisk.
You can hide supersu in magisk menu.


text:
A fully featured floating video player which can be minimized to an icon?
I am looking for a video player which has floating support and can be minimized to a floating icon. Ideally it should also have the option to rotate the video.
Does anyone know of something that might be suitable?
 I should add that I am aware of the video player provided in the floating apps collection. However, this video player is rather basic. (https://play.google.com/store/apps/details?id=com.lwi.android.flappsfull&hl=en)

Questions asking us to find or recommend an app, device, ROM, accessory or off-site resource are off-topic for Android Enthusiasts as they tend to attract opinionated answers and spam and become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve.

Try the app Float Tube Video Player or Floating Video Player or GPlayer or FVPlayer-floating video player or any other similar app from Play Store.
(All I did was a simple Google search)


text:
Unable to install .apk from /system/priv-app
I moved my apk file to /system/priv-app just as you adviced me in this thread. When I'm trying to install it through clicking this .apk, Android said me that "The application has not been installed". I tried to use adb install myapp.apk for this purpose but again ADB  gave me an error: Failure [INSTALL_FAILED_POLICY_REJECTED_PERMISSION] and I suppose that app requires permission which can be granted only by root. So the only way I see now is to run adb shell later su next cd /system/priv-app and install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST and that's a point because I totally don't understand this legend:
    Copy files and set attributes
    -c      Just copy (default)
    -d      Create directories
    -D      Create leading target directories
    -s      Strip symbol table
    -p      Preserve date
    -o USER Set ownership
    -g GRP  Set group ownership
    -m MODE Set permissions
    -t DIR  Install to DIR`

How to set attributes to install this apk as system app?

Because this install is not a command for Android. It's for Linux.

I think you misunderstand the whole process. You are not supposed to use install command or the likes of it anywhere in the process I mentioned. You simply:

mount the system partition in rw mode
copy-paste the apk into the location,
set the appropriate permissions using busybox's chmod and chgrp or through inbuilt tools:
adb shell su -c chmod 644 APK    # replace APK with your apk's absolute location, such as /system/priv-app/xyz.apk
adb shell su -c chown root:root APK   # replace APK as said above

do a reboot.

Follow those instructions religiously. You can altogether avoid the commands using a file manager app such as Solid File Explorer, ES File Explorer, etc.
During the following boot the Android would detect the apk and install it automatically.

Can a fact that this APK haven't got a signature be the obstacle to this automatical installation?

Yes. An APK without a valid signature can't be installed normally.

Ok. I understand.

As suggested by @Firelord, you can eliminate the hussle of entering commands (and possibly reduce the likelihood of errors) using a file explorer such as the one mentioned already.
For instance with ES explorer, simply long press the target .apk file and choose properties then edit:

Afterwards you get proper permissions i.e -rw- r-- r-- and owner i.e root:

Disclaimer: the app used above in example is my own-made app, so you won't find it in playstore

You should move the APK file to /system/priv-app, then change its file mode to 0664 (-rw-r--r--) and change its owner to root:root.
chmod 0644 your.apk
chown 0.0 your.apk

Then it should be fine.


text:
How can I restore /system/bin/toolbox?
I accidentally removed /system/bin/toolbox on my Android 5.1.1 tablet. Right now I have temporarily replaced it by a busybox binary I had at hand, so the system is somewhat usable but not completely functional (e.g. no network connection).
I have tried to pull the toolbox binary from other devices I have, but those are either Android 4 or Android 6, so it didn't work due to unresolved linker symbols. Is there a place where I can get a binary for a specific Android version? Or is there a place on my device where a backup is kept?

You can download the stock ROM (or any ROM, but not preferred) for your device. For most brands you'll see a system/ folder in the ZIP. Now you can take the toolbox file and send it to your device. Files taken from ROMs for other devices may work, but there's no guarantee.
If unfortunately you've found a system.img file in the ZIP, you should convert it first before attempting to extract any files from it. Tools involved are simg2img and gzip, which either comes with a Linux system or available from the Linux's default package repo (apt-get install simg2img or yum install simg2img).


text:
Are lock screen pattern and system start pattern the same?
I have recently bought a Nokia 5 and I am quite new to Android.
I have entered screen lock/and or start lock and entered a pattern. Acutally, I don't know if I did that one or two times but then I was very new to Android.
After some time, I have changed the lock screen pattern. Now I enter that pattern daily many times, but I didn't turn it off for, say, two weeks.
Now, after the installation of an update, the phone restarted and asked for a pattern to start Android. The lock screen pattern did not work.
Since I entered the pattern too many times wrongly, the phone erased all data and I was forced to reinstall everything. Now I have entered a pattern (for lock screen) once again, and upon restarting the phone, the same pattern unlocked the phone.
So the question: Are lock screen pattern and system start pattern always the same or can the be different?

There is only lockscreen pattern that locks the phone for authentication. You don't have a system lockscreen separately. Same applies whether you are using numeric PIN as password based lockscreen.
If your device is encrypted, the pattern or PIN is the basis for encryption of key generated by system

The last word is wrong. The encryption key is generated randomly and is only encrypted again with PIN.

@beeshyams: so basically this means either I have really forgotten that pattern or that was a bug (or malware)

More likely that you would have forgotten. If it was a bug, it would have been widely reported on your device forums


text:
Android virtual device 7.1.1 stuck on logo screen after root
I just rooted AVD following the procedure described here.
everything goes fine and the AVD is being rooted and i can access system folders, but as soon as i restart the emulator, it will not boot up and stuck on android logo screen.
anybody knows the solution to solve the problem?

I suspect the system images are corrupted, have you updated the su binaries correctly? Try replacing with fresh system images

Thanks for reply. Yes, i am sure that the su binaries are updated correctly. i pressed "normal" when su asked for update and it prompted successfull update. i dident restart and checked for root. root was ok. replacing fresh copy of system image makes emulator run again, but unrooted and needs to root again, which the problem arises after first restart

Ok I understand, to preserve root try copying the system image from temp directory (AppData\Local\Temp\AndroidEmulator), rename it system.img and replace the default

Please follow-up the updates of the solution here: Android Emulator: How to avoid boot loop after rooting?

Thank you so much for hard work on solution. i will test it and send feedback


text:
How to launch any activity?
Activity Launcher from Google play doesn't see all activities. MyAndroidToos can see all, but can't launch it. I need easy way to launch any activity of any app.

Some activities are not launch-able. All activities are launch-able, but some of them may not have any effect when launched directly. They may be a window overlay, a notification, or even a simple broadcast listener.
Copying beeshyams's quotation:

An activity is the most familiar type of component: it's a window you can see: either full-screen or dialog-sized. An activity only runs while it's displayed on the screen. Once you leave the activity, Android will keep that app in memory ready to be started again, but the activity won't run, meaning it won't use battery or network. An app starts an activity using an intent. The intent can specify explicitly which activity to start, or it can specify an action to perform (such as opening a particular file). If more than one activity can "handle" the intent, you see the dialog asking you to choose one.

If you insist on attempting, you may want to explore am start command. It can start any activity supplied as arguments. Root is required in most cases.
# am start com.android.vending/com.google.android.finsky.billing.acquire.AcquireActivity
Starting: Intent { act=android.intent.action.MAIN cat=android.intent.category.LAUNCHER cmp=com.android.vending/com.google.android.finsky.billing.acquire.AcquireActivity }

Well, the above command gave no visual responses other than am's output.
You can specify another action with option -a and another category with -c, to pretend you're another app rather than a command line. However I'm not a developer, so you should work things out further on yourself.


text:
Windows sees broken Android phone, no directories
So a friend brought me their Samsung Galaxy S7 phone with a broken screen, the phone does boot and my Windows 7 machine recognizes the phone however there are no directories or files listed. Edited screenshot:

I've spent an excessive amount of time searching for anything relevant and there are no directories or files on another person's Windows 10 laptop.
How do I force the phone to reveal the files so I can cover them for my friend? Critical note: please only answer if you're willing to provide sufficient steps without skipping anything critical (as 90% of tutorials and videos have failed miserably at this).

Did the device have a secure lockscreen (pin, password, etc) configured? By default many devices will not give access to their storage over USB unless they are unlocked, in an attempt to prevent drive-by file theft.

Like eldarerathis said maybe is problem there. And maybe it's problem with that, that you need to allow access after phone is connected via USB to PC that is also anti theft feature, because of some incident were airports or someone else were collecting data via wall USB sockets. What is the device?

Have you cleared cache for "external storage" and "media "?

@ЈеднорукиКрстивоје No idea if I hooked it up to my computer; there is definitely a way to override this security mechanism; the question is how.

@xavier_fakerat No idea what that is or if that is relevant. I can't do anything with the phone directly except turn it on after the battery drains and adjust the volume while it is turned on. The data cable between the screen and the motherboard was completely severed because you know, why not.

Even my phone on 4.2.2 can't be accessed until you confirm the prompt which you get when connect to PC or at least it prompt a window to choose type of connection. What I can see that is phone Galaxy S7 and mtp connection, so as I said you can't access storage until confirm "allow this computer to access phone data" I doubt there is a way to recover data on broken screen phones, at least for us mortals. Maybe there is some paid software to access storage in this situations but I don't think it will work if encrypted and most phones are encrypted by default.

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


text:
How to disable App Sugestion bar in my App menu?
I searched in lot of places but there are only solution for Marshmallow or lower SDK, I'm looking a solution for 7.1.1

Are you running stock? If yes go to Google app -> Settings (left panel) then at the bottom there's an option for turning suggested apps on or off.


text:
Can I delete .com.google.Chrome files?
There are many .com.google.Chrome files in my Download folder (How do you want to open this file?)  Is it okay to delete them?

It's safe to delete them. They are caches or incomplete downloads from unknown versions of Google Chrome (judging by name).

yes, you can delete com.google.chrome files they are just caches file or sometimes some are files are also present. but you can delete them. They doesn't creates any problem.
Personally i also delete many of com.* folders. It doesn't create any problem for me till now.


text:
Google restore after reflash to fix bootloop ends in bootloop
I have an S3 Duo+ (s3ve3g) running CM12.1. Phone suddenly went into a boot loop, could boot into safe mode ok but not main. Cleared the dalvik and let it rebuild with same result.
Booted into recovery, did a TWRP backup then cleared data, cache, system, dalvik and installed the CM ROM plus GAPPS. Booted ok, logged into google and let it download its recovery. And we're back in the bootloop.
Does this suggest that the bootloop is being caused by a recently updated program, or does Google restore settings and/or data that could cause this?
Any suggestions on how best to proceed would be really appreciated.

No answers, so this is what I did: selectively restored parts of the google restore to identify the rogue application, then did a google restore of every but that.
The first part took about a week, the final restore took 2 1/2 days.

So, I take it the Google Backups do not happen in the matter of a couple of hours?


text:
Settings > Display > Navigation Bar > Background Color Options Suddenly Limited
Shortly after buying my Samsung Galaxy S8, my Settings > Display > Navigation Bar screen looked like this:

I retrieved that image from Android Central.  Now, it looks like this:

Notice the significantly limited color selections in the "Background Color" section.  Also, the first image has a color picker, but the second image does not.  I'm wondering if a recent update eliminated these options.  Could any Galaxy S8 owners tell me if their settings are more similar to the first or second image?  Also, does anyone have a suggestion how I could bring back the color options from the first image?  Thank you.

I don't own a Galaxy S8 device, but it seems the recent update has removed or limited the background colours option. From this article it is certainly the case:

Samsung is pushing out a new software update for the Galaxy S8 and
  Galaxy S8+ right now, and it looks like the company has decided to
  limit the customization options for the navigation bar. Well, at least
  when it comes to the choice of color for the navigation bar’s
  background, as there is no longer an option to choose a custom color
  from an RGB scale. In fact, Samsung has switched up the available
  background colors, and the worst of it is that you can no longer use a
  fully black navigation bar background.

Again here is the changelog of the update:

You could try other workarounds using apps to extend the range of nav colours as suggested with this app from play store. (NavBar App)


text:
Can I open Whatsapp backup messages from Nokia C7 on Android phone?
I have a backup files from older phone (Nokia C7) where Whatsapp is not supported anymore. These files are stored in data/wa: MsgStore.bak.1, MsgStore.bak.2, MsgStore.bak.3, and I have there very important message which I would like to open it again. So I was thinking if it's possible to install Whatsapp on Android phone, add those backup files in storage and recover it back to readable state.

It's not possible as explained here Whatsapp backup: Unable to move from windows phone to android
You can try the PC software or other methods mentioned here 4 Ways to Transfer Data from Windows phone to Android for Free

As a fellow (die hard) veteran user of Symbian OS, I can tell there is a solution (or a trick) to log in back to WhatsApp in order to access your messages.

Simply change the date to 1/6/2017 on Symbian phone which will allow it to run WhatsApp without that pop-up.

As we can expect this trick won't last long, so as soon you you log in, get your classified chats send them (or forward them to android device, and save them there.  All the best :)

Ok, that phone is not with me right now but it is has it my friend, so basically he should just change a date in a settings, reboot a phone and that's it, yeah?

No need to reboot, he should change date in Settings, and opening WhatsApp he should instantly access old chats. I tried and tested and confirmed   it to be working :)

I'm one step further so now it will open whatsapp and prompt to enter phone number to register an account, but it will stuck at 'initializing'...

Try restarting your device, AFAIK you should access your old messages without having to verify your number again, at least thats how I did it on my device, I think for your situation after restarting you should prevent a data connection, so this way you go straight to old chats


text:
Read sim data in airplane mode
If I activate airplane mode, then put a sim card in my cellphone. Can system apps and other apps read data from my sim card, like phone number or network provider?

Yes.
Aeroplane mode is to only deny access to network. System apps  can access SIM information when in aeroplane mode. So can installed apps, if they are granted permissions to access SIM. For instance, install this app SIM card contacts , put your phone in Aeroplane mode, grant  permissions to this app and you can transfer information from SIM to phone and vice versa


text:
Enable Google Photos Android backup from web
I'm trying to enable Google Photos backup from web like accessing to my account in photos.google.com and switching somewhere the backup to ON but there's no such "switch".
Anyone know how can I turn on the backup on my Android device to Google Photos without access to the device, only from web? I think i can send an app from play.google.com to the device and that app enables me to turn on that "switch" remotely but I don't  know if it exist.
Any help will be appreciated.

You cannot turn it on without having your device because if you try to turn on from the web, Google will not be able to know which device to be backed up. So you have to download Google Photos application from Google play store and it will automatically turned on when you download and install it.


text:
What config files are involved in master volume levels?
I recently took the plunge and installed LineageOS on my Nexus 5X. My hope was that this would allow me to increase headphone volume as my favourite headphones are not loud enough with the stock volume controls.
After much googling and trying of apps pre-root, I concluded that I would need to delve deeper. I've now tried a couple of methods touted as solutions, namely editing build.prop and mixer_paths.xml but neither of these approaches has influenced volume levels.
I would like to know:
Is this technically possible by editing config files?
Why don't apps claiming to boost volume on the play store actually work?
What settings/files do those apps try and alter?
Although I am specifically looking for information for LineageOS 14.1 / Android 7.1, this information might be useful to a broader audience.
I have tried:
Manually editing mixer_paths.xml and adjusting Headphone volumes in <path name="headphones"> and also editing earpiece and headset values in build.prop.
N.B I am not looking to increase the granularity of control over the volume but to boost the volume level beyond the loudest setting in stock Android

I don't think you have a universally fitting answer. I have modified volume on three devices , Note 2 on Kit Kat, Honor 6 on Kit kat and Moto X Play on Marshmallow. In all the cases, the files were in a different location. It depends on the ROM, is my conclusion

Thanks. Do you remember which files?

For Moto X. Best is to search on XDA or if you are using custom kernel apps like kernel aduitor can help

Or search on reddit


text:
The Android OS is being updated with Internet turned off - how can it be?
A phone has mobile data turned off.
No wifi antennae is connected. We were in the wood, on the hill, minimally 3 km from the nearest village. The nearest, higher hill, has a mobile antennae. So, the mobile signal was on. Even if there was a wifi antennae, I hadn't connected to it.
So, obviously, no Internet connection was active.
But the phone suddenly decided to update the Android OS. And started to download the update. It was even finished - in 5 hours - without internet being on. How could it be downloaded? Will I have to pay for those data? (the phone has no prepaid Internet)
The device is ASUS ZenFone 3 Max.

Can you see the update download progress percentage?

You can check the OTA updates location and see the time https://android.stackexchange.com/q/32205/131553

@MANI Yes, I have seen that progress (about 5 hours), and it was even finished - without internet being on.

@beeshyams The phone was(and is) apart from Internet for 2 weeks uninterruptedly.... I will try to check.

I honestly don't see how this is possible if you had mobile data turned off (meaning actually disabled, not just not paid for) and WiFi off. If mobile data was on it could have downloaded the updated on 2G (which would also explain the 5 hours time). Does your Data Usage in Settings show anything recently for WiFi or Mobile Data?

@acejavelin I thought that is impossible too, intil I saw it by my own eyes.

OK, but did you look what it actually used? Your Data Usage in Settings should give you some idea of what used data (and what type) recently.

@acejavelin Data usage is off. Any try to reach the Internet results in message, that there are no Internet connection. I think,  beeshyams gave an interesting idea - downloaded somewhen before, but installed now. But then I don't understand the 5 hours installation.

I would agree with beeshyams, that makes the most sense... but I still would check your Data Usage in Settings, the fact your are saying it's off is telling me you don't understand what I am asking. On a "normal" Android device in Settings - Data Usage there is a graph and list of apps that have been using Mobile Data (and WiFi if advanced is turned on), you should be able to see if data was used during the last few days (or that window of time).

@acejavelin Oh, thank you. The problem though is that I will have the phone in my hands on Saturday only. :-(... - It is one of my daughter's and she is in the country now. But we'll try.


text:
Can anyone identify this app notification
I have been searching a lot, and, I am unable to identify this app on the notification bar as showed in the image. The icon with a blue circle and a rabbit on it. If anyone can recognize it, that will be very helpful.

If you pull the notification bar don't you see which app ?

Its the Notification for the app named Turbo VPN - Unlimited Free VPN.

VPN proxy
unblock sites
WiFi hotspot secure
protect privacy.


text:
How to determine which application is blocking microphone usage?
Is there a way to determine which currently running application is using the microphone? I suspect the arrow launcher but would like to try and confirm this. I'm looking for a method which would provide logs / debug info to add to a bug report.
Android version 7.1. Rooted Nexus 5x.
I am not looking for another app to provide this functionality. I am a developer (though not Java) and would like to understand the processes involved in gaining access to and blocking the microphone.
here's the dump from dumpsys audio as requested by first answer:
 adb shell dumpsys audio

MediaFocusControl dump time: 12:43:52 pm

Audio Focus stack entries (last is top of stack):

 Notify on duck: true

Stream volumes (device: index)
- STREAM_VOICE_CALL:
   Muted: false
   Min: 1
   Max: 7
   Current: 1 (earpiece): 5, 40000000 (default): 5
   Devices: speaker
- STREAM_SYSTEM:
   Muted: false
   Min: 0
   Max: 7
   Current: 1 (earpiece): 5, 2 (speaker): 4, 40000000 (default): 5
   Devices: speaker
- STREAM_RING:
   Muted: false
   Min: 0
   Max: 7
   Current: 1 (earpiece): 5, 2 (speaker): 4, 40000000 (default): 5
   Devices: speaker
- STREAM_MUSIC:
   Muted: false
   Min: 0
   Max: 15
   Current: 4 (headset): 5, 8 (headphone): 5, 40000000 (default): 11
   Devices: speaker
- STREAM_ALARM:
   Muted: false
   Min: 0
   Max: 7
   Current: 40000000 (default): 6
   Devices: speaker
- STREAM_NOTIFICATION:
   Muted: false
   Min: 0
   Max: 7
   Current: 1 (earpiece): 5, 2 (speaker): 4, 40000000 (default): 5
   Devices: speaker
- STREAM_BLUETOOTH_SCO:
   Muted: false
   Min: 0
   Max: 15
   Current: 40000000 (default): 7
   Devices: speaker
- STREAM_SYSTEM_ENFORCED:
   Muted: false
   Min: 0
   Max: 7
   Current: 1 (earpiece): 5, 2 (speaker): 4, 40000000 (default): 5
   Devices: speaker
- STREAM_DTMF:
   Muted: false
   Min: 0
   Max: 15
   Current: 1 (earpiece): 11, 2 (speaker): 9, 40000000 (default): 11
   Devices: speaker
- STREAM_TTS:
   Muted: false
   Min: 0
   Max: 15
   Current: 4 (headset): 5, 8 (headphone): 5, 40000000 (default): 11
   Devices: speaker

- mute affected streams = 0x2e

Ringer mode:
- mode (internal) = NORMAL
- mode (external) = NORMAL
- ringer mode affected streams = 0x1a6 (STREAM_SYSTEM,STREAM_RING,STREAM_NOTIFICATION,STREAM_SYSTEM_ENFORCED,STREAM_DTMF)
- ringer mode muted streams = 0x0
- delegate = ZenModeHelper

Audio routes:
  mMainType=0x0
  mBluetoothName=null

Other state:
  mVolumeController=VolumeController(android.os.BinderProxy@2e64f54,mVisible=false)
  mSafeMediaVolumeState=SAFE_MEDIA_VOLUME_INACTIVE
  mSafeMediaVolumeIndex=50
  mPendingVolumeCommand=null
  mMusicActiveMs=1500001
  mMcc=234
  mCameraSoundForced=false
  mHasVibrator=true
  mControllerService={mUid=0,mComponent=null}
  mVolumePolicy=VolumePolicy[volumeDownToEnterSilent=true,volumeUpToExitSilent=true,doNotDisturbWhenSilent=true,vibrateToSilentDebounce=400]

I have also tried:
adb shell dumpsys activity broadcasts | grep -i microphone

This gives no output.

Using logcat extreme and monitoring per app set to WhatsApp , it shows
mediaFocuscontrol: Audiofocus*request*Audiofocus() from Android.media.audiomanager when microphone is activated
And
mediaFocuscontrol: Audiofocus*abandon*Audiofocus() from Android.media.audiomanager when microphone is de-activated

I'm not sure how installing another app which blocks the microphone is going to help in this situation. It is already blocked. But thanks for the suggestion.

That app was to give an alert when mic activated. Posted logcat approach -not sure if that serves your purpose fully

I'm unsure about Nougat but this works for Android 6.0.1. Run:
adb shell dumpsys audio

In the output look under Audio Focus stack entries (last is top of stack). E.g., when I had an audio recorder app using microphone, the output was:

Audio Focus stack entries (last is top of stack):
  source:android.os.BinderProxy@a60844c -- pack: com.sonymobile.androidapp.audiorecorder -- client: android.media.AudioManager@a251d71com.sonymobile.androidapp.audiorecorder.shared.media.VolumeControl@72c2756 -- gain: GAIN -- flags:  -- loss: none -- uid: 10108 -- attr: AudioAttributes: usage=1 content=2 flags=0x0 tags=

Here the package using the microphone is com.sonymobile.androidapp.audiorecorder.


text:
How should I disable wave animation
I have seen in my device running Lollipop that, when charges get below 15% the device get into Battery Saver mode, in which all the animation of the Android get disabled (like, Wave animation).
So, I just wanted to disable that animation manually, how can I do that, anyone know please share it.

Note:  I have rooted phone

You could try  setting the animation scale to 0% (in developer options)
If it is not enabled already, go to Settings > About phone and then tap Build number seven times.
After that Settings > Developer options will be available.
In the developer mode and set animation scale to .0% (or off)
Credits:  Disable Animations on Lollipop


text:
Fix a system error after UnTar in /data/data partition
I made a backup of app data in a rooted device with
tar -czvf example.app.back.tar.gz /data/data/com.example.app/
And after decompress the tar in other rooted devices with
cd /
tar -xvf example.app.back.tar.gz /data/data/com.example.app/

The app get this data working after I did
chmod -R 777 /data/data/com.example.app/

and when I reboot its like  a factory reset ,all the app data is gone and the apk that can be installed only in sd and when reboot again the app are deleted and the start wizard appears agains
I think that the tar command create a /data folder or mess in some way the mount points
Maybe I omit in the example some flags in the tar command that i originally typed
The destination device have Android 4.1.1

You didn't take care for the permissions. The app might have been assigned a different userID on the other device. No idea why you backup/restore like that – where adb backup -noapk (and its restore) would have addressed the same action in a more safe way.

Umm, isn't the title misleading? The body doesn't explain how the data partition became read only.

@Firelord that rigth I will change the title

@Izzy  How I fix permisions , i think I mess with the full /data

If it was just that single app: Uninstall it, remove that data folder (in case it remains). Then repeat backup/restore in a proper way: First install the app on the target device, then adb restore it's data from what you captured with adb backup -noapk -f app_data.ab com.package.name (where com.package.name is the app's package name – usually the same as the directory name you've dealt with before). If it broke more, factory-reset will be a last resort – especially if you really dealt "with the full /data".

@Izzi  I factory reset any times, when the table boots i install some apps and if i reboot this app are deleted, only let me install in the sdcard , app that can't be instaled in the sd  say that i have not space

What's your Android version? It's important.

@iBug The device have Android 4.1.1

What's your actual question? What is the desired end state?

Well, good job for running chmod after untar-ing. You, however, missed the most important thing: file owner/group.
If you look into /data/system/uiderrors.txt, you'll find a bunch of information like this:
1970/01/01 00:00: Package jackpal.androidterm uid has changed from 0 to 10001, old data erased.

I've already answered a question before about Android applications' UIDs. A factory reset would have made you lose more data than you have already lost now. As Izzy pointed out, you didn't take care about file permission owner/group, as the app might have been assigned a different UID on the other device, and all its data were erased by Package Installer.
You may want to take a look at my answer and restore file owner from /data/system/packages.list manually. As far as I can tell everything will be fine after that.


text:
Can I dismiss an upcoming alarm on standard Samsung S7?
On a Samsung S7 (running 6.0.1) with standard apps, is there a way of "pre-dismissing" the next occurrence of a repeating alarm without turning the alarm off altogether?
I have a regular alarm set to wake me up in the morning. Sometimes, I'll wake shortly before the alarm is due to go off. In effect I want to say "I'm up, don't sound the alarm this morning" without turning it off completely and having to remember to turn it back on again before I go to sleep.
Note, this question "How do I dismiss just the next occurrence of a recurring alarm?" and its answer concern the stock Nexus clock app. However, I'm asking about whether this can be done using the Samsung stock app.

This feature is not there on Samsung devices

@beeshyams Thanks. I suspected not, but just in case I'd missed an option somewhere...

I don't own a Samsung device but that's what a fairly thorough Internet search tells me, including features of latest models

Timely does that

You can try Recurring task reminder FREE
It has more recurring reminder, filter & customization options than other apps in play store.

Your other answers makes mention of this same app but they do at least note that you are its owner. You did not do so here which may be treated as an attempt to SPAM the site. Moreover, all of them are just link-only. Please provide some details, such as how to achieve the objective in question.

Replying to @Firelord I acknowledge I am the app owner & apologize for being too brief. My app has a "skip next" feature for recurring alarms, using which an upcoming alarm can be skipped without dismissing the alarm altogether.