[Q] Changing Device ID using update script - Android Software/Hacking General [Developers Only]

I want to write an update script that will change the device id. I have a generic android tablet that has a device id that isn't unique (which I think it's causing the Market not to function properly)
I need it in an update script so I can set it for other devices, so an apk like Android Device changer wont serve the purpose here.
I found this link that shows how to change it using adb, I guess my questions are:
1- Can use these adb commands in an update script?
2- How can generate a unique id using update script?
Thanks in advance!!

Anyone?!
Anyone with any hints?!

Related

ADB Help

Hi,
I have a Yarvik Tab250 and I want to modify the build.prop so i can install any app I'd like to. I've found the info i need to do here:
w w w.hembrow.eu/personal/yarviktab250.html
But I can't get ADB to list my device, my device is on, and debugging is turned on, and it can't list it under "adb devices". I know on linux you have to make a specific folder or something like that, do you have to do anything special in Windows? I only really have access to Windows, and limited linux knowledge.
As mentioned above, Also, if anyone can help with flashing a working play market on my tablet, i'd very much appreciate it!
Thanks!
You need to have the android SDK installed properly on Windows. The path stamemt must be correct for ADB to function properly.
Sent from my LG-P500 using XDA
Do you have the proper drivers for it installed
Sent from my HTC One X using Tapatalk 2
adb is an application that is part of android SDk and can be run from the command prompt in Windows. There is a windows application Android Commander that uses a gui to issue adb commands, it is very powerful program and I recomend it. you will be able to use it to pull the build.prop file edit it with a text.editor and push it back to the Phone. It can connect to the phone by wifi or with the usb cable. Of course android bebugging must be enabled on the phone. you can find it here. http://androidcommander.com/
I hope this helps.
ADB for dummies
http://forum.xda-developers.com/showthread.php?t=502010

[Q] Reset Bluestacks Device ID

I have a rooted Bluestack 8.11.3116 (thanks to codelover). However I want to assign new values to each of the following parameters: GUID, MAC Id (Wifi & Ethernet), Devide ID (IMEI), Android ID. Note that these IDs can easily be found out by Android Device ID app. I want to change all of these (its like I install a completely new Bluestacks). Plz reply ASAP.

[Completed] Change Android Device Name?

Hello guys, how are you?
I am having a problem ... how can i change an android device name?
For comparison, when you set up a computer you need to give it a name ... i want to do the same on my android.
how can i do it?
I ask this because i am using Remote Desktop App from Microsoft, to do a Remote Desktop Connection to a Windows Server.
But, i have a program installed in that windows server that needs to pre-authorize the device-name in order to acess that program. At the moment whenever i try to open that program i get the message "unable to open because D5803-4.4.4" it's not authorized. (D5803-4.4.4 i assume it's my android device name), so i need to change that D5803... to an authorized name.
I found that if i run a terminal emulator and do:
> su
> getprop net.hostname
> setprop net.hostname <new_hostname>
this changes the hostname ... but the results are the same, my device name stays the same.
help?
thanks!
anyone?please help its urgent
Hi
Thanks for writing to us at XDA Assist. I don't think the device name is actually the root of the problem that you're experiencing, I'm pretty sure merely changing it won't fix your problem. Anyway, it's been a few days since you posted, have you fixed the issue?
PS. Please don't bump a thread any more than once in a 24 hour period, refer to the XDA Forum Rules for more information.
No response in two days, thread closed.

[UPDATE] Hiliti PD-C Laser measuring device

Hello Guys,
I have a Hilti Laser PD-C device that runs:
android: 4.1.2
build: sparky_silver_2.3.15
I want to note that all apps should be arm not x86 but Im not sure of the DPI.
This runs a special modified Hilti rom. I would love to be able to get a custom rom and add more apps. I am willing to toss some donations for this. Has anyone done anything with this device before?
**** Update: ****​
I was able to get root access via PC version "KING_ROOT"
http://king.myapp.com/myapp/Kingroot/kingroot_pc/KingRoot_pc_en.exe
1. I downloaded the most current sdk for ADB
2. I also downloaded the Hilti update app.
www.hilti.com/updatepdc
3. I was able to use King_Root even while the app didnt see the device and it recognized the device after I clicked connect.
4. The main ROM is very difficult to get around. You cant just click an app you side-loaded. Download a launcher that matches the android version. I used smart launcher, no reason, just the first I found. Use ADB to sideload on to the device.
(adb install "app name") https://www.apkmirror.com/apk/smart...1-build-054-android-apk-download/#description
5. From here I got full control to the apps I sideloaded. I am still having issues with connecting to BT on my note9 for the internet.
It is what it is... But thanks for the help. I hope anyone else looking finds this.
https://www.hilti.com.qa/media-cano...rating Instruction PD-C , PD-CS (01) (ENEN-US)

[Solved] Control App (jp.pioneer.avsoft.android.controlapp)

Hi,
I'm still using CD Receiver XC-HM82. There is a dedicated, quite old, application Control App which Pioneer released some time ago. After installing the app, when a CD receiver is discovered the app unfortunately downloads some data needed for managing this particular model.
Recently I reinstalled android system and when I try downloading those data it says "download failed". The reason might be that there are some issues on Pioneer server side or they've simply stopped supporting this device.
I have still one phone where this application is fully installed and working fine. I think that the data (downloaded from Pioneer servers to manage XC-HM82) are being store at: /data/user/0. However, I haven't rooted this phone.
The question. How can I retrieve data from /data/user/0 and what's maybe even more important can I create APK which will include all data needed for managing XC-HM-82 so I could still use this application to manage my CD receiver?
Thanks for any tips
I'll answer to my own post for users who might use it.
1.Turn on Developers option in your phone
2. If you use Lineage OS allow Debugging as Root or Root via ADB
3. Check all aps you have installed
adb shell pm list packages -f -3
4. To backup base apk (in my case)
adb pull /data/app/jp.pioneer.avsoft.android.controlapp-PIpLM2ikeE7WRs7X2TlOFg==/base.apk pioneer.apk
5. To backup data of the application (including packet for controlling particular model)
adb backup -f pioneer.adb -apk jp.pioneer.avsoft.android.controlapp
Please note: you'll have to accept this action in Android
6. You should received two files: pioneer.apk and pioneer.adb
7. To restore base apk (in my case)
adb install pioneer.apk
8. To restore data of your app (in my case)
adb restore pioneer.adb
Please note: you'll have to accept this action in Android
Eventually, you should have a feel backup of you app with data folder.
This procedure has been created based on this source page:
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1 \
Thanks to "@AnatomicJC"
gregory_cooky said:
I'll answer to my own post for users who might use it.
1.Turn on Developers option in your phone
2. If you use Lineage OS allow Debugging as Root or Root via ADB
3. Check all aps you have installed
adb shell pm list packages -f -3
4. To backup base apk (in my case)
/data/app/jp.pioneer.avsoft.android.controlapp-PIpLM2ikeE7WRs7X2TlOFg==/base.apk pioneer.apk
5. To backup data of the application (including packet for controlling particular model)
adb backup -f pioneer.adb -apk jp.pioneer.avsoft.android.controlapp
Please note: you'll have to accept this action in Android
6. You should received two files: pioneer.apk and pioneer.adb
7. To restore base apk (in my case)
adb install pioneer.apk
8. To restore data of your app (in my case)
adb restore pioneer.adb
Please note: you'll have to accept this action in Android
Eventually, you should have a feel backup of you app with data folder.
This procedure has been created based on this source page:
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1 \
Thanks to "@AnatomicJC"
Click to expand...
Click to collapse
Gregory, thank you very much for your post!
First of all, I learned that I could stop checking my home network/router/settings etc.. to find the cause of the failing download.
I have the bluray player Pioneer MCS-FS232, with the controlapp working on my tablet.
I want to transfer the app to my phone.
I followed your steps:
Pulled the apk and backed up the data
I re-installed the app with adb install, and I restored the data with the commands above. Device report success after restoring data.
Unfortunately the app persists in asking for a download (also after restarting device). I tried also on another device, same result.
Could it be that the data restore command do need more specifications?
Thanks in advance for your reply...
Ptr
PS: the full command for step 4 would be (in my case)
adb pull /data/app/jp.pioneer.avsoft.android.controlapp-HjWUmVnui7FpTk0qKpQ3Ow==/base.apk pioneer.apk
you might want to add
adb pull
to your text in step 4
Thanks PtKt for your post and correction regarding "adb pull" missing.
There's no problem with base apk:
Pioneer ControlApp for Android - APK Download
Download Pioneer ControlApp apk 4.1.0 for Android. ControlApp is an application for corresponding Pioneer Products control.
apkpure.com
The thing is the data files (downloaded from Pioneer servers when it was still possible). What's the version of system: on a tablet and phone?
Recently, I realized that this method works on Android 9-11 but not on Android 7 cause there's a different folder structure. It recognized CD receiver but crashes when trying to connect to it.
Hello Gregory,
1. first tried it on my phone (where I had the app, but deleted it ( ). Android 11. This is the taarget-device. Not rooted. APK file installed with adb succesfully
2. when this did not work I tried on a tablet (rooted Asus transformer tf701t with timduru android 7). installed APK, date reports succes, but no working app.
3. device where the app works is Huawei tablet with android 10 (not rooted)
4. My computer is an old IMAC with Ununtu 20.4 lts
I tried to open the pioneer adb file, only partly accessible and only 5 lines.
I checked Androi/data/jp.pioneer.avsoft (etc), on my android 7 tablet, there is a map ' files' but without files.
tbc, Ptr
I'm not so advanced in this matter, but up to Android Version it's about folder /data/data/jp.pioneer... (and so on). You can't access it without root. Maybe you can do that via TWRP on Android 7 on later version it's an issue in easy way. Other solution is to use Magisk to manually copy needed files.
I'm not sure if referring to the system version different files were downloaded from Pioneer's serves. Unfortunately, I don't know.
gregory_cooky said:
I'm not so advanced in this matter, but up to Android Version it's about folder /data/data/jp.pioneer... (and so on). You can't access it without root. Maybe you can do that via TWRP on Android 7 on later version it's an issue in easy way. Other solution is to use Magisk to manually copy needed files.
I'm not sure if referring to the system version different files were downloaded from Pioneer's serves. Unfortunately, I don't know.
Click to expand...
Click to collapse
Aiai.... after a few days of efforts my conclusion was that you need root access to your source device.
And then I re-read your solution and I saw that I overlooked the last part of point 2 of your solution....
"2. If you use Lineage OS allow Debugging or Root via ADB." I did allow USB debugging but I missed 'as Root or Root via ADB'
OK, it is a pity, I'm not going to root my Android 10 tablet where the working app lives. Meanwhile I learned a lot and that's always fun....
Thank you very much for your work, if I come across another solution I will report here.
Ptr
Great. You're very welcome.
Hi guys. I have problem with this Control App from Pioneer too.
On my Android 11 phone is after starting the app visible only the loading screen or a black screen and nothing happend more.
On the old tablet with Android 5 run this app, but it want to download more files from the server, but that is not possible yet beacuse of severs shutdown? (it works well two months ago).
Can you please give me a advice how to run this app on Android 11 and share the downloaded files for my Android 5 tablet.
Because of this is using of my XC-HM72 very limited.
Thank your for every advice (My devices are not rootet).
Rdbc26 said:
Hi guys. I have problem with this Control App from Pioneer too.
On my Android 11 phone is after starting the app visible only the loading screen or a black screen and nothing happend more.
On the old tablet with Android 5 run this app, but it want to download more files from the server, but that is not possible yet beacuse of severs shutdown? (it works well two months ago).
Can you please give me a advice how to run this app on Android 11 and share the downloaded files for my Android 5 tablet.
Because of this is using of my XC-HM72 very limited.
Thank your for every advice (My devices are not rootet).
Click to expand...
Click to collapse
Hiya,
You won't download needed files (graphics or some scripts customized particularly for your XC- HM72) because there are no files on Pioneer's servers, anymore. If you don't have any device with fully working app you have to ask anyone who has it still working to export needed files (usually as "adb" file) for you then you just import it by a command:
adb restore exported_file_name.adb
Click to expand...
Click to collapse
and that's all.
Nevertheless, since Android 8 I think that the folder with user data files has a different location, so mentioned method should work for Android 8 - 11 (I haven't tested it on 12). That's all what I can suggest you.
gregory_cooky could you please share you date with adb file?​Thank you​
Rdbc26 said:
gregory_cooky could you please share you date with adb file?​Thank you​
Click to expand...
Click to collapse
There you go. Please unzip it and good luck!
Thank you for the file, but still without success. I tried adb restore pioneer.adb and on my android 5 tablet and still want to download files from innactive servers. The same I have done on my phone with android 12 and there is still the freeze or black screen :-( What now? Thanks
Rdbc26 said:
Thank you for the file, but still without success. I tried adb restore pioneer.adb and on my android 5 tablet and still want to download files from innactive servers. The same I have done on my phone with android 12 and there is still the freeze or black screen :-( What now? Thanks
Click to expand...
Click to collapse
I'm not much surprised about Android 5 cause it mightn't work. Unfortunately, I don't have any other news for you. I'm not even sure if my files were suitable for the model of yours. Further steps you should do by yourself. Maybe you'll find a solution and provide it for someone else who has the same CD Receiver as yours.
I've spend a lot of time trying to run the app for my old, but still well performing XC-HM71.
Luckily I've found old Titanium Backup (playstore) backups from 2015 and 2017. I successfully restored the app and settings on my forgotten redmi note 3 pro as root and old android were needed. If anyone is interested and want to try again, both backups are attached. Older app version is 3.5.0, never is 4.1.0. I'll recommend to start with older version, then restore just the newer app without data. It worked for me. Good luck.
But I've remembered the app a bit differently. Seems to be a bit useless, same can be done with remote itself.
Its just a bit faster to add internet radio stations, as browsing on unit itself is a bit pain in the backside.
XC-HM71 is a base version, no Bluetooth, Spotify or other currently standard addons, so really the Pioneer app do not have any real advantages.
Btw, I've had no luck with adb files from @gregory_cooky.
How to control my vsx 527 with control app? Can someone please help
Hi
I need files for Pioneer XC-HM81.
Can someone please help.
Good news!
I finally managed to transfer the needed Pioneer ControlApp data from my -non rooted- tablet (Huawei M5, android 10) to my -also non rooted- telephone (Samsung Galaxy A40, Android 11), based on gregory_cooky’s procedure in post 2 of this thread.
I tried it half a year ago (see above, my post 3) and gave up.
But a renewed attempt this week, learned me that I overlooked a crucial element: both devices need to have “USB debugging enabled” to operate the adb commands from my computer successfully.
Obviously, I misinterpreted step 2 in gregory_cooky’s procedure.
After enabling ‘developers option’ on both devices, you need to go to enable USB debuging . Without that, your devices are only partly accessible from your computer and adb commands will give error messages.
In detail: go to settings, scroll down towards about tablet or info telephone, look for software and then ‘buildnumber . Tap 7 times on buildnumber. this activates developers option. Go back to settings, you can now find developers option as the last point under settings. Tap developers option, enable it, look then for USB debugging and enable it. Do this on both devices.
Connect your source device (=device with a working ControlApp) to your computer. Open a terminal screen on your computer and type adb devices.
[email protected]:~$ adb devices
List of devices attached
P15YC3E10080000000007FC1881C0 device
Then proceed as described by gregory_cooky in post 2.
Be sure to have your source files (ControlApp apk and data) in the root of your home directory, otherwise adb cannot find it. Be aware this type of commands is capital sensitive, so if you ask for Pioneer.adb but the name of the file is pioneer.adb the computer comes with No such file or directory.
I use the ControlApp for my Pioneer MCS-FS232, which I can now easily operate from my arm chair. Volume, switch from CD to Aux or FM, etc.
Peter
It appears ControlApp has finally given up.
Looking if anyone has perhaps a copy of the source files.
ControlApp downloads the files from the following URL: http://www.pioneer.eu/files/support/Wr5Ch9makajA/smartphone_app/common/controlapp/sma/SmaHtml_14.zip
Note that this is a HTTP URL, so can easily be faked for the device, however need the ZIP. Used to have it, now it's gone
hello,
would anyone have a working adb for Pioneer X-HM72 please?

Categories

Resources