Based on which value(s) does Google recognizes an Android device? - Android Q&A, Help & Troubleshooting

Hello everyone
I'm switching from an Android emulator to another and want Google to recognizes my new emulator as the same device, and I was wondering which value(s) do I have to copy from my current emulator to the new one in order to accomplish that.
I looked into it and found that there are a lot of values that differs devices from each other like Android ID, GUID, UUID, fingerprint, etc, and of course brand and model. But I'm not sure which value that makes Google see a device as a specific one.
And help is appreciated.
Sent from my LG-D838 using XDA Free mobile app

Aserar said:
Hello everyone
I'm switching from an Android emulator to another and want Google to recognizes my new emulator as the same device, and I was wondering which value(s) do I have to copy from my current emulator to the new one in order to accomplish that.
I looked into it and found that there are a lot of values that differs devices from each other like Android ID, GUID, UUID, fingerprint, etc, and of course brand and model. But I'm not sure which value that makes Google see a device as a specific one.
And help is appreciated.
Click to expand...
Click to collapse
Maybe fingerprint? Like the Android certification check with Android ID, which takes access from playstore, if you are on custom rom without registration.

Related

[Q] How to configure and deploy a large scale android installation (2.3.3.)

Hi,
I am about to assist in deploying a large amount of android device. The requirement is, that the devices (700+) need to be charged, configured and provisioned with the relevant applications for the end-users before delivery.
Device info:
Android 2.3.3
Samsung Galaxy SII
This is not windows mobile, so I am unsure if I can code/design a solution to avoid this enormous manual task.
Is it possible to code something for an sd-card that will be automatically triggered on insertion (as on WM)? This would then provision the device etc.
Is it possible to bypass the initial prompts - To my knowledge you will be prompted for entering the info for your google accounts?
If above is not possible, do I then need to create 700+ google accounts?
Hope someone can help
Brgds
It can also be via an active sync (ish) connection using a computer du provision the device?
A suggestion I received from another forum, was that I could: Make an update.zip for apps .Copy on SD card .Boot in recovery . Apply update.zip.
Would this be a feasible way to go?
odaugaard said:
A suggestion I received from another forum, was that I could: Make an update.zip for apps .Copy on SD card .Boot in recovery . Apply update.zip.
Would this be a feasible way to go?
Click to expand...
Click to collapse
We just deployed 100 EVO 4G's prior to the deployment we sent a mass email requesting the users create their own Google account and email us the info so we could setup their new phone with email and corporate email access. It took awhile to setup 100 android devices but it went smooth.
Sent from my PC36100 using Tapatalk
You can use SureMDM from 42Gears for mass provisioning, application deployment and password policy enforcement on Android devices, including smartphones and tablets.
It does not require Google accounts. Install the agent directly on the devices and then use the web-based console to perform all of the above actions from one place. For e.g. you can push an apk on hundreds of devices with a single click.
On non-rooted phones installation of .apks will prompt the user to continue the action.
Free trial is available on the website 42Gears dot com
Similar situation here and am fielding any suggestions or ideas if things have changed in the last several months regarding deployment.
Scenerio:
Deploying approx 200 Asus Transformers in an educational setting
Wish List:
Setup all units using the same Google account, populate static name on the lockscreen, install 3 specific apps on each and the ability to identify each one individually on the market for individual app install by an "administrator".
Currently we are doing each unit manually and then having to wait a few minutes for the Market to populate the new unit and then changing the nickname to the bldg/room number. If we don't wait for the Market to refresh for the new device they will all show as Asus Transformer TF101 and obviously we will not know which device to send specific apps to when they are requested.
There just has to be a better way! I checked out SureMDM and it has a lot of features that we really don't need and it doesn't appear to accomplish what we do need.
Any suggestions or comments would be greatly appreciated!
I know this is an old thread, but what about rooting and building a custom ROM for each unique device to let it do what you want? I'm thinking of doing something similar at the moment.
stephendt0 said:
I know this is an old thread, but what about rooting and building a custom ROM for each unique device to let it do what you want? I'm thinking of doing something similar at the moment.
Click to expand...
Click to collapse
Probably would work although Google now has a way to streamline deployment:
unfortunately I cannot post the direct link but goto developer dot android dot com/edu

App not allowing me to sign in due to custom rom

Hi everyone,
So the company that provides the TV channels in my country (like the cable companies in the US) has a streaming service that streams most of these channels online to phones, tablets, computers.
The problem is that their app is, according to them "not supported on hacked devices". Just so we're clear, we're talking about Android here, and hacked = root/custom rom, which this stupid company considers illegal. In some devices, they check both root and custom rom, in some only one of them, and in some the app will work even if you have both. For example, on my Nexus 4 the app worked with stock rom that was rooted. Now that I am running a custom rom, trying to hide root using various apps does not work. So obviously the problem, with my device at least, is running the custom rom.
I'm currently learning Java & Android development and have decided to use the little knowledge that I have to try to find the lines of code responsible for this idiotic check.
I looked up many tools for decompiling apps and have finally found a good one, called JadX.
http://androidcracking.blogspot.co.il/2014/03/jadx-dex-to-java-decompiler.html#links
This decompiler is excellent, but gives me a scary amount of code files to look. Even so, trying to search all of them (JadX has that functionality) for the code that checks for root/custom rom has turned up nothing. I have also tried to search for the message they give me when I open the app (about hacked devices not working) but I found nothing, again.
One more thing - a developer that also tried to solve this problem said he traced the problem back to DxDrmDlcCore. I searched it, found it a some class, but not sure what to do now (delete the entire class and recompile?)
Can someone here direct me towards what I need to be looking for?
OR
Is the solution really simple, such as editing my build.prop? Someone suggested it once, but did not know what lines to edit.
If someone is ready to step up to the challenge, I can upload the apk.
Thank you!

Android - root to run one program

How would it be possible to make an android phone run my app on startup and not let the user out of the app unless they use a password
The device is created for our app.
Not sure about from start up, but you can use the screen pinning function in Lollipop or if it's running an older version of Android then you would need to create a kiosk type app.
Good luck!
There are 3 well known 'kiosk' apps available. They are all capable of doing what you want to a greater or lesser degree. (Kioware, Mobilock and Surelock ....others are available). The problem for you is the cost, if you intend to scale up your devices. If you are putting your app on a $20 Chinese tablet, then these apps listed above all want another $15 or so to install, which doubles your costs!
I'm looking at a similar problem, and I think the true answer is a specialist ROM with most of the opsys actually stripped out. Only problem with that is...... that it is WAY beyond my talents and abilities! I would be enormously interested in how you get on (without needing to know your application specifics). Keep in touch?
Paul

S9+ Rooted (TWRP) / How to change android ID ? Bypass Uber Device Ban

I rooted my S9+ SM-G965F/DS (Pie version) with TWRP recovery.
I was wondering if there was an easy way to change my android ID(that could possibly be repeatable in the future) so I can bypass a ban on Uber that stops me from using it. Or if anyone knows of a simpler way to bypass that ban it would be helpful as well. I already created a new account for Uber on a new device and can use it normally, I just want to be able to use it on this one instead (S9+) and I heard changing android ID would do the trick.
Thank you in advance.
Pamperz said:
I rooted my S9+ SM-G965F/DS (Pie version) with TWRP recovery.
I was wondering if there was an easy way to change my android ID(that could possibly be repeatable in the future) so I can bypass a ban on Uber that stops me from using it. Or if anyone knows of a simpler way to bypass that ban it would be helpful as well. I already created a new account for Uber on a new device and can use it normally, I just want to be able to use it on this one instead (S9+) and I heard changing android ID would do the trick.
Thank you in advance.
Click to expand...
Click to collapse
You might try Magisk hiding the app, but I have had S9+ for some time and rooted thru all of it and never had an issue with Uber - use it all the time.
Sent from my [device_name] using XDA-Developers Legacy app
gaww said:
You might try Magisk hiding the app, but I have had S9+ for some time and rooted thru all of it and never had an issue with Uber - use it all the time.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
My issue isn't with the root, I rooted specifically to fix the issue but I still don't know how I just know it's the first step. I'm just trying to bypass a device ban by changing android ID which Idk how to do.
How to change Android ID ? ^^
try running uber app inside secure folder. its a container with, in theory, a different ID.
Also, did you try to factory reset?
create a different gmail account? many apps let you choose which gmail account you want to associate with it if you have more than one on your phone. Not sure if itll work, but worth a try. Also not sure is this topic is kosher as its specifically trying to circumvent a ban that was placed on the user, probably for a reason or 2
Forget about Uber, how do I change android ID for my device ? I cant use secure folder as its not available once you root your device. Also I need to repeat the process in the future so even in that case secure folder would only allow one different ID.
Pamperz said:
Forget about Uber, how do I change android ID for my device ? I cant use secure folder as its not available once you root your device. Also I need to repeat the process in the future so even in that case secure folder would only allow one different ID.
Click to expand...
Click to collapse
not related to your post, but why is your device id banned?
Hangoverr said:
not related to your post, but why is your device id banned?
Click to expand...
Click to collapse
To be clear this isn't related to the question/thread in any way, but since you asked.
I'm not sure, I bought some vouchers(Promotions to be exact) online for very very cheap and was using them for my trips. One time I decided to give them to an Uber driver who I thought was incredibly nice and thought he'd needed them more than me. So I gave him around 40$ of trips divided into multiple trips so I had to re-order him after each trip consecutively in a short period of time. I'm not sure if that's what did It but it sure stopped my ability to pay Cash on that account, I created a support ticket and after reviewing the ticket they just banned the account for "Fraudulent Activity". I believe they thought I was the driver somehow and was ordering them for my self, I know this because the driver contacted me a few days later (we exchanged numbers) and told me he received a warning(nothing more) for suspicious activity. And If that's not what did it then maybe it was because I was sharing my account with my sister and she would regularly cancel orders or not end up finding the driver (Poor gps routes in my country).
Did you try VPN or modifying build. prop?
dedq said:
Did you try VPN or modifying build. prop?
Click to expand...
Click to collapse
VPN doesn't do it as it's not related.
Any free apps you can recommend that change build prop?
If you tried VPN then ok.
You can find them on Google Play Store or edit it yourself by finding its location which I do not know by heart.

How to protect an APP from Piracy/Illegal Copy

I am building a webapp for android TV. It not need internet. It is a niche market. So I will not publish it on google play, but I will put a demo version on a website, and I will send by email a full features version after a payment. It will cost about 30-40 dollars.
How can I protect my full version webapp from illegal copy and piracy?
I am thinking about check the mac address of the android device, but I do not know how to from a webapp that use a simple HTML, CSS and Javascript.
What is the best solution?
get a lawyer for that legal stuffs
The way I've done it with a few of my windows apps is to have the user login, and check that it is the only device currently logged on with that username/password. This requires internet though.
The Mac address is a good idea. I switch my Mac on my PC a bit depending on my work settings so it seems a little off too me, but I most people don't spoof their mac that often. I can't see a reason people would be doing it on an Android TV.
You could go with the classic serial number approached, but that is easily shared. Although the reality is no matter what you do there is always a chance that somebody will reverse engineer it. There are some dedicated hackers and crackers out there, and android apps are easy to modify code so the chance is raised a bit there. So weigh the options of how much effort it is for you, and how tedious you want it to be for the end user, verses how many will actually copy it. Is it worth building something more technical for the 5-10% of users that will manage to use it for free? I just pulled that number out of nowhere, different apps have higher potential so there is that factor too, and that's a question for you to answer not me. Just somethings to think about.
---------- Post added at 07:07 PM ---------- Previous post was at 07:06 PM ----------
The way I've done it with a few of my windows apps is to have the user login, and check that it is the only device currently logged on with that username/password. This requires internet though.
The Mac address is a good idea. I switch my Mac on my PC a bit depending on my work settings so it seems a little off too me, but I most people don't spoof their mac that often. I can't see a reason people would be doing it on an Android TV.
You could go with the classic serial number approached, but that is easily shared. Although the reality is no matter what you do there is always a chance that somebody will reverse engineer it. There are some dedicated hackers and crackers out there, and android apps are easy to modify code so the chance is raised a bit there. So weigh the options of how much effort it is for you, and how tedious you want it to be for the end user, verses how many will actually copy it. Is it worth building something more technical for the 5-10% of users that will manage to use it for free? I just pulled that number out of nowhere, different apps have higher potential so there is that factor too, and that's a question for you to answer not me. Just somethings to think about.
irresistiblecam said:
I am building a webapp for android TV. It not need internet. It is a niche market. So I will not publish it on google play, but I will put a demo version on a website, and I will send by email a full features version after a payment. It will cost about 30-40 dollars.
How can I protect my full version webapp from illegal copy and piracy?
I am thinking about check the mac address of the android device, but I do not know how to from a webapp that use a simple HTML, CSS and Javascript.
What is the best solution?
Click to expand...
Click to collapse
Android 10 came up with the default "randomized MAC address" feature. For anyone who is serious about mobile security, this feature is a must-use, should never get disabled, IMHO.
jwoegerbauer said:
Android 10 came up with the default "randomized MAC address" feature. For anyone who is serious about mobile security, this feature is a must-use, should never get disabled, IMHO.
Click to expand...
Click to collapse
thank you Danksh you was very helpfull.
jwoegerbauer, I didn't known the randomized function on android 10. But what is the default settings when a phone or tv is selled?
irresistiblecam said:
jwoegerbauer, I didn't known the randomized function on android 10. But what is the default settings when a phone or tv is selled?
Click to expand...
Click to collapse
Told you that default setting is "randomized MAC address".
FYI:
You must distinguish between MAC address, IMEI and Device ID, which are 3 completely different things: And, these can be changed by the Android user at any time - or will automatically get changed by Android OS itself.
MAC address - read: Wi-Fi MAC address - is used for networking, normally over the Internet
IMEI is a unique manufacturer-assigned number that is part of the Android phone and identifies the handset itself. The identifier that is really used to connect your phone with a phone number is the SIM ID which I believe is the ICCID. This is pretty much what identifies your phone to the tower.
Device ID ( often refered to as Android ID ) is generated when you boot your Android phone first time and will be there forever. When you format everything and factory reset your device then this device ID is overwritten and re-generated and stored again. Similarly, if you ever install a new ROM on your Android device, then this device ID will be overwritten and re-generated when you boot the device first time.
Knowing this you can see that none of the 3 mentioned numbers is unchangeable.

Categories

Resources