Android Device ID Changer shell script

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

-------------------------------------------

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
######

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

```text
 and 
```

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

1 Like

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.

1 Like

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

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