• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

FDR-persistent: The ID survives factory reset.

Hi,
I need a device identifier that persists after the app is uninstalled and reinstalled. I know that UUID class provides an identifier with the method

String uniqueID = UUID.randomUUID().toString();

but Android guideline is unclear about its scope and persistence. In next paragraph it says:

Resettability and persistence

Resettability and persistence define the lifespan of the identifier and explain how it can be reset. Common reset triggers include: in-app resets, resets via System Settings, resets on launch, and resets on installation. Android identifiers can have varying lifespans, but the lifespan is usually related to how the ID is reset:

  • Session-only: A new ID is used every time the user restarts the app.
  • Install-reset: A new ID is used every time user uninstalls and reinstalls the app.
  • FDR-reset: A new ID is used every time the user factory-resets the device.
  • FDR-persistent: The ID survives factory reset.
Resettability gives users the ability to create a new ID that is disassociated from any existing profile information. The longer, and more reliably, an identifier persists, such as one that persists across factory resets, the greater the risk that the user may be subjected to long-term tracking. If the identifier is reset upon app reinstall, this reduces the persistence and provides a means for the ID to be reset, even if there is no explicit user control to reset it from within the app or System Settings.

Please tell me how can I use FDR-persistent: The ID survives factory reset.

Apps Learning about Tabs in Android, have a couple questions

At Developer.Android.com, I've been reading, practicing and trying to learn about Android development. In working with some built-in activity resources available through the Android Studio, I've been trying to learn how to use and code multiple tab activities. I'm sure there is a good resource for these but I just hadn't found it yet.

My question(s):
What is the purpose of PageViewModel class? I assume I build out each UI tab through it's corresponding XML and JAVA class files, but I'm unclear on how I should use the PageViewModel class. It appears that is simply manages the calls to the separate tabs (fragments) and I leave it alone.

The built-in example I have has a "Live Data" feature... I'm not sure if that is something I need or not?

Thanks

Updating from 5.01 to something higher.

As far as I can tell 5.0.1 was the last official release for the S4, so it's probably correct when it says it's up to date. Though I've not gone through all of the many models of S4, as there are too many: if you can tell us which model you have it will be easier to be definitive.

It may be that there are custom ROMs based on later Android versions (though not necessarily using the Samsung user interface). So if you are willing to get into rooting and modifying the phone there may be options.

Help Notifications missing from status bar

I don't use Galaxy S9+, but I think some way bellow from my Xiaomi experience can help you in some way:
- Restart the device:
Old but gold :v you should do it first before coming to the next way.
- Check the "Do not disturb" status:
Most Android phones come with a Do Not Disturb mode. This mode allows your Android device to block all notifications, spam emails, etc. except applications or software that you allow. So please check the Do not disturb mode to turn it off.
Settings > Sound & vibration > Sound. Turn of the DND – Do Not Disturb if it's turned on.
With S9 or some modern Android devices, you can search DND on the search bar on the top in Settings
- Check App notifications:
Settings > Notifications & status bar > App notifications
.Here you select the application to check the notification in the section Show notifications
- Check out the manufacturer's exclusive battery savers:
Some manufacturers have added more battery-saving tools, automatically blocking applications that are deemed unimportant. So you need to check if your Android device comes with any other internal optimization features. You can check it in the Security section os the Battery section.
- Check whether the background data is enabled:
You can restrict applications to access mobile data in the background. This makes the application unable to connect to the internet, thereby potentially not showing notifications on your phone.
Settings > Data usage > Choose an app > Check Background data.
=====
If you can make it, you can reinstall the old version or do a warranty check. Hope you will make it. Good luck!

Mr.M

No, pressing and holding the power button forces a restart, it doesn't put you into safe mode by itself. Try for longer, since it really should be extremely difficult for an app to disable this feature (unless the power button itself is broken?).

To get into safe mode you need to press some other buttons when rebooting. Since you've not told us what model tablet this is there is no way of telling you which buttons (the manufacturer isn't enough, since different models of different ages have different buttons available).

In the extreme you can force a reboot by just not charging the tablet and letting it shut down when the battery runs out. Then when it's recharged you can turn it on, and try to enter safe mode as it restarts.

Can you tell us more about this app? Because that's the other way we can try to learn something about the problem, but all we currently know is that "some app" is blocking the screen.

Unfortunately it's no longer possible to uninstall an app over the internet from the play store website (it used to be, about 5-7 years ago, but not now). If there's really no way of getting past this, i.e. even after powering down it just comes back up with this app, safe mode won't work, and you can't get into recovery mode, you may be able to use Google's "find my device" (formerly Android Device Manager) to factory reset it, but as that wipes everything it's a bit of a last resort.

Apps Android Studio - how to enable code changes button

Hi
I am using 3.5.3 and was wanting to enable the "Apply Code Changes" - (it is greyed out.) the popup message reads: "apply code changes disabled incompatible device api level"
My compile Sdk version is: 28(API 28: Android 9.0 {Pie))
My build tools version is 29.0.2
Is the problem that I need Sdk version 29 to match the build tools version ?
Thanks all
Russell

Help Identify Notification Bar Icons!

So, the phone is not mine. I was sent a screenshot and wondered what these apps were. I did some research and found that VB is a Vocabulary Builder app. and the yellow square was a notification from the samsung watch that person has. I was able to look closer and see WEAR written inside the yellow square. Hope this helps someone else maybe, and thank you for your reply to my question! I think sometimes phones make relationships harder, but we’re more “connected” than ever.

[GAME] [FREE] [IAP] Mystic Escape: Diary of a Prisoner

I would like to introduce you my new game "Mystic Escape: Diary of a Prisoner". It took me almost two years to develop it alone.
Embark on an adventure full of challenging puzzles in a Japanese style setting. Enjoy the new room escape experience on a mystic island by solving difficult puzzles surrounded by beautiful scenery.
Immerse yourself into this intriguing story. Find cryptic hidden objects and clues on the island that will lead you to great escape or, perhaps, to something even more special.

cr9eFJF.png


OZshmnN.png


rJqZIDt.png


Google Play: https://play.google.com/store/apps/details?id=com.sunraygames.mysticescape

App Store: https://apps.apple.com/app/id1474412412

Video:

Root [GUIDE] how to root US LG G Stylo on 5.1.1 and unbrick :) updated on 9/2/2015

yeah sorry, but most root methods provided by the devs can only be used for so long. mainly because the file sharing sites used do cost money to keep files up for certain lengths of time. after a while when supports stops so does the links. hopefully somebody here might have the files still, but that is a very small chance.

plus you are better off getting a phone with better specs. this phone has either 1or 2gb of ram, which these days is not very much. your phone will lag and most apps will not work.

you can find even a cheap phone with better specs.......just saying.

I see. Anyway, i managed to find some tools in XDA forums )
.
You are right about my phone. But i am using it for educative purposes, and for that, it is still not soo bad.
.
Actually, any of the tools i found worked xD (mostly based on mounting a system in other partition, pushing SU, busybox and a SH Root script, for android 5.1.1 and 5.0.2).
My device seems to be blocking the reception of the files i need (maybe this exploit for rooting was patched?)
Now i will go for the method described here
https://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
.
My phone is a LG G4 Stylus H635A, Android 5.0.2, no fastboot mode (just reboots).
Bootloader blocked.
Not button for "OEM unblock" in developer options (but found "OEM MODE button in secret menu "RLZ Debug UI" and turned it On)
.
Any recommendation?

Have you updated to 3.37.617.1 (Pie) on your U11?

I believe that chatting about how good a phone is has become uninteresting and thus forum life is dying. If phones have problems it's way better for chatting.

Could be that's there's only one or two members of AF who's actually got this particular phone, and knows anything about it. Myself, I don't know anyone personally who's got an HTC phone.

There's often plenty of chat on AF about something like new Samsung phones

Filter

Back
Top Bottom