Android Device ID Changer shell script


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Android Device ID Changer shell script
# 1  
Old 09-13-2019
Android Device ID Changer shell script

this is worked "ANDROID NOUGAT" how can i use it for "ANDROID OREO"
-plz help me...
Code:
-------------------------------------------

echo "                       Ã-~-DEVICE ID CHANGINGÃ-~-"
sleep 2
echo "
"
COUNT=1
while
do
[ $COUNT ];




echo "settings put secure android_id " | tr -d '\n' > X1
od -x /dev/urandom | head -1 | awk '{OFS=""; print $4,$7$8$9}' > X2
cat X1 X2 > /system/bin/aaaa

rm -rf X1
rm -rf X2

chmod -R 777 /system/bin/aaaa

sh /system/bin/aaaa

rm -rf /system/bin/aaaa


########################
awk -v min=1111111111111111 -v max=2999999999999999 'BEGIN{srand(); print int(min+rand()*(max-min+1))}' | tr -d '\n' > id
awk -v min=6500000000 -v max=6509999999 'BEGIN{srand(); print int(min+rand()*(max-min+1))}' | tr -d '\n' > idd
cat /dev/urandom | tr -cd 'a-f0-9' | head -c 9 | tr -d '\n' > name
######
cat /proc/sys/kernel/random/uuid | tr -d '\n' > device_idB
od -x /dev/urandom | head -1 | awk '{OFS=""; print $2$3,$4,$5,$6,$7$8$9}' | tr -d '\n' > device_idD
od -x /dev/urandom | head -1 | awk '{OFS=""; print $2$3,$4,$5,$6,$7$8$9}' | tr -d '\n' > device_idF
######

Moderator's Comments:
Mod Comment Added code tags. New Users..... Please read forum rules before posting.
# 2  
Old 09-13-2019
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

See outdated video (sorry, we need to replace this very old, dated video):



Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
This User Gave Thanks to Neo For This Post:
# 3  
Old 09-13-2019
i'm really sorry for forum rules...
i'm new from here... And next time i will follow forum rules...
and Thank you for kindly cooperation...@Neo
# 4  
Old 09-13-2019
Quote:
Originally Posted by f4is4l
i'm really sorry for forum rules...
i'm new from here... And next time i will follow forum rules...
and Thank you for kindly cooperation...@Neo
No worries at all.

It's best for new users to read the forum rules before posting as the rules (well established) are not to make your life here harder; but to make everyone's life here easier.

Especially important is to search the forum before posting a question. Chances are your question has been answered as we approach 1 million posts over the years.

Second, forum your posts properly and do not just cut-and-paste into the forums without formatting using or code tags and icode tags.

Normally code tags are used for any code, sample input, output, error messages, log messages, files, etc.... all computer output. You can use icode tags for small fragments like a command name or file name in a sentence, because icode stands for "in-line code tags" which means "in a sentence"

Honestly, I need to both rewrite the rules and update the code tags video.

Welcome and take care.
This User Gave Thanks to Neo For This Post:
# 5  
Old 09-13-2019
Android Device ID Changer shell script

this is worked "ANDROID NOUGAT" how can i use it for "ANDROID OREO"
-plz help me...

Code:
echo "                       Ã-~-DEVICE ID CHANGINGÃ-~-"
sleep 2
echo "
"
COUNT=1
while
do
[ $COUNT ];




echo "settings put secure android_id " | tr -d '\n' > X1
od -x /dev/urandom | head -1 | awk '{OFS=""; print $4,$7$8$9}' > X2
cat X1 X2 > /system/bin/aaaa

rm -rf X1
rm -rf X2

chmod -R 777 /system/bin/aaaa

sh /system/bin/aaaa

rm -rf /system/bin/aaaa


########################
awk -v min=1111111111111111 -v max=2999999999999999 'BEGIN{srand(); print int(min+rand()*(max-min+1))}' | tr -d '\n' > id
awk -v min=6500000000 -v max=6509999999 'BEGIN{srand(); print int(min+rand()*(max-min+1))}' | tr -d '\n' > idd
cat /dev/urandom | tr -cd 'a-f0-9' | head -c 9 | tr -d '\n' > name
######
cat /proc/sys/kernel/random/uuid | tr -d '\n' > device_idB
od -x /dev/urandom | head -1 | awk '{OFS=""; print $2$3,$4,$5,$6,$7$8$9}' | tr -d '\n' > device_idD
od -x /dev/urandom | head -1 | awk '{OFS=""; print $2$3,$4,$5,$6,$7$8$9}' | tr -d '\n' > device_idF

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Android

Problem with torrents and bash script on Android

Please disregard this post (0 Replies)
Discussion started by: johnnybopper
0 Replies

2. Android

Running only the Linux kernel of an Android device

I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device. The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Discussion started by: raoulney
0 Replies

3. Android

Device Names on Android

Hi, I have a program that logs serial port data. In order to do so it requires the full device name in linux (e.g. /dev/ttyUSB0) and a baudrate. Does anyone know how I can find out the device name in the terminal? I am trying to port this application to Android and cant figure it out. ... (22 Replies)
Discussion started by: fedora18
22 Replies

4. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

5. Solaris

Medium Changer not detected.

Hello Gurus, We are in the process of configuring SAN based backup for our DB hosted on Solaris 10 (SPARC and X86) Servers. But the Robotic arm (Medium Changer - HP) is not getting detected on the server. Need experts help in checking this from the host (Solaris Server) end. Thank You. (0 Replies)
Discussion started by: EmbedUX
0 Replies

6. Shell Programming and Scripting

GPS-Tracker script [Android]

Hi UNIX-Forum! I don't know if this is the right Forum for my question, but since Android technically is a UNIX-based system... I have a rooted Android and a Terminal emulator and bash installed. I wanted to write a little script for my android that activates GPS, gets the location and sends... (3 Replies)
Discussion started by: al0x
3 Replies

7. Android

Android Scripting Environment: Shell Scripting and Android

I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies

8. Shell Programming and Scripting

Running a shell script on device mount

Something I have always wondered but never had any luck finding information on is running a shell script when a device mounts... Lets say I have an external hard drive as a back up, every time I plug the device in I want to launch a shell script to rsync a few directories. How would I do... (4 Replies)
Discussion started by: d3mcfadden
4 Replies
Login or Register to Ask a Question