how to keep MAC address after upgrading to 9 ? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Android on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=87) +--- Thread: how to keep MAC address after upgrading to 9 ? (/showthread.php?tid=7629) |
how to keep MAC address after upgrading to 9 ? - AlexS - 06-24-2019 Dear friends, After flashing eMMC with new android/tv image i noticed the MAC address changes every time. How can i keep it unchanged or set to the old value after flashing new image? This is necessary to keep some payed applications working. RE: how to keep MAC address after upgrading to 9 ? - AlexS - 08-07-2019 Do anyone understand what and where is written to set the MAC address in the procedure described in https://wiki.pine64.org/index.php/Set_MacAddress_on_ROCK64 ? How can i do this with linux machine with adb/rkdeveloptool/rkflashtool/etc...? RE: how to keep MAC address after upgrading to 9 ? - hmuller - 08-07-2019 I don't really have a clue as I don't own your hardware. But If it is using uboot to load Android, perhaps it is the same answer found in this post: https://forum.pine64.org/showthread.php?tid=743 Look forĀ /boot/uEnv.txt in the filesystem. If it contains that file, open it and add 'mac_addr=00:06:dc:8b:75:26' to the end of the line that has 'console' in it. Obviously change the mac address to the value that you desire. And the single quotes were only added for clarity of this message, you would not add them in uEnv.txt file. HTH RE: how to keep MAC address after upgrading to 9 ? - AlexS - 08-08-2019 Thanks for your suggestion, but i do not see /boot on the device. Even with 'find / -name boot' 2|rk3328_box:/ $ ls -la / total 2128 drwxr-xr-x 18 root root 4096 2019-07-25 13:17 . drwxr-xr-x 18 root root 4096 2019-07-25 13:17 .. dr-xr-xr-x 57 root root 0 2016-01-21 11:50 acct lrw-r--r-- 1 root root 11 2019-07-25 13:17 bin -> /system/bin lrw-r--r-- 1 root root 50 2019-07-25 13:17 bugreports -> /data/user_de/0/com.android.shell/files/bugreports drwxrwx--- 6 system cache 4096 2016-01-21 11:57 cache lrw-r--r-- 1 root root 13 2019-07-25 13:17 charger -> /sbin/charger drwxr-xr-x 4 root root 0 1970-01-01 03:00 config lrw-r--r-- 1 root root 17 2019-07-25 13:17 d -> /sys/kernel/debug drwxrwx--x 37 system system 4096 2016-01-21 11:57 data lrw------- 1 root root 23 2019-07-25 13:17 default.prop -> system/etc/prop.default drwxr-xr-x 18 root root 1480 2016-01-21 11:50 dev lrw-r--r-- 1 root root 11 2019-07-25 13:17 etc -> /system/etc -rwxr-x--- 1 root shell 2079384 2019-07-25 13:16 init -rwxr-x--- 1 root shell 1100 2019-07-25 13:16 init.environ.rc -rwxr-x--- 1 root shell 29531 2019-07-25 13:16 init.rc -rwxr-x--- 1 root shell 7690 2019-07-25 13:16 init.usb.configfs.rc -rwxr-x--- 1 root shell 5646 2019-07-25 13:16 init.usb.rc -rwxr-x--- 1 root shell 511 2019-07-25 13:16 init.zygote32.rc -rwxr-x--- 1 root shell 875 2019-07-25 13:16 init.zygote64_32.rc drwx------ 2 root root 16384 2019-07-25 13:17 lost+found drwxr-xr-x 12 root system 260 2016-01-21 11:50 mnt drwxr-xr-x 2 root root 4096 2019-07-25 13:16 odm drwxr-xr-x 4 root root 4096 2019-07-25 13:16 oem dr-xr-xr-x 247 root root 0 1970-01-01 03:00 proc lrw-r--r-- 1 root root 15 2019-07-25 13:17 product -> /system/product drwxr-xr-x 3 root root 4096 2019-07-25 13:16 res drwxr-x--- 2 root shell 4096 2019-07-25 13:16 sbin lrw-r--r-- 1 root root 21 2019-07-25 13:17 sdcard -> /storage/self/primary drwxr-xr-x 4 root root 80 2019-07-25 13:17 storage dr-xr-xr-x 13 root root 0 2016-01-21 11:50 sys drwxr-xr-x 16 root root 4096 2019-07-25 13:17 system -rw-r--r-- 1 root root 5272 2019-07-25 13:16 ueventd.rc drwxr-xr-x 8 root root 4096 2019-07-25 13:16 vendor |