This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the name
#1
Question 
hello, I would like to know how do you change the name of the system? Example when I connect to playstore I receive an email saying that the tinker board is connected to my account and I would like to change the name
 I'm french

Reply
#2
Hi Leskriimm

The model name is read from property "ro.product.model".
You can check the property value by command:
Code:
adb shell getprop ro.product.model

Unfortunately, the property value changes with /proc/board_info which is set by hardware ID.(Tinker Board or Tinker Board S)

If you really need to change model name, recompile and flash kernel image is a way.

  1. Modify "Tinker Board" to any name you want.
    https://github.com/TinkerBoard/android-6...info.c#L77

  2. Follow the step to recompile and flash kernel image.
    https://tinkerboarding.co.uk/wiki/index....0.1_kernel
 
Thanks,
Sam
Reply
#3
thank you very much, I hope it does not bother me as I erase the identity of the machine in a commercial setting
 I'm french

Reply
#4
hello Leskriim..
I'm using TinkerOS_Android V13.14.0.95..
If you enable Bluetooth.. them click on the three Dots..
for menu.. you should see [Rename this device]..
click and enter the device name you want ;-]..
hope it works,
k.
Reply
#5
I have already done but it's something else, in the information on the tablet ya wrote tinker board but thank you anyway, anyway I will follow the tutorial indicate by SamHsu ^^
 I'm french

Reply
#6
hello Leskriim..
so.. if you Factory Reset the tinker board..
then change the device name from the Bluetooth menu..
then click on [Settings].. [Accounts].. and [Add account].. [Google]...
reboot.. and then click on the [Play Store]...
this didn't work? :-[...
Reply
#7
Property ro.product.model is changed by kernel with hardware GPIO .

1.  https://github.com/TinkerBoard/android-6...info.c#L77

2. Below commit read the 1. board type  (Line 77: board_type = "Tinker Board";)


Quote:commit a819771f8827029fcc0957e2a699fb54792b449f
Author: Lyle_Lin <Lyle_Lin@asus.com>
Date:   Wed Sep 27 15:22:58 2017 +0800

    Dynamic modify model name (ro.product.model)

    modify ro.product.model read from /system/build.prop

    Change-Id: I06c117f4f9f2f66887856a902513a9a39d80b54f

diff --git a/init/property_service.cpp b/init/property_service.cpp
Big Grin  I'm Lyle. 
Reply
#8
(08-27-2018, 02:26 AM)lsb Wrote: Property ro.product.model is changed by kernel with hardware GPIO .

1.  https://github.com/TinkerBoard/android-6...info.c#L77

2. Below commit read the 1. board type  (Line 77: board_type = "Tinker Board";)


Quote:commit a819771f8827029fcc0957e2a699fb54792b449f
Author: Lyle_Lin <Lyle_Lin@asus.com>
Date:   Wed Sep 27 15:22:58 2017 +0800

    Dynamic modify model name (ro.product.model)

    modify ro.product.model read from /system/build.prop

    Change-Id: I06c117f4f9f2f66887856a902513a9a39d80b54f

diff --git a/init/property_service.cpp b/init/property_service.cpp

Correct me if I am wrong, or if this is a bad idea (and why), but you could also see here:

https://bitbucket.org/TinkerBoard_Androi...ce.cpp-416

If you comment out this block or just line 429, it will stop overriding the property and will use the one from build.prop. This is a simple solution that does not touch kernel and happens after android has already booted into android (or as it boots into android). Then you are free to set your product name in system/build.prop. Smile
Reply
#9
(08-28-2018, 09:50 PM)kbungo Wrote:
(08-27-2018, 02:26 AM)lsb Wrote: Property ro.product.model is changed by kernel with hardware GPIO .

1.  https://github.com/TinkerBoard/android-6...info.c#L77

2. Below commit read the 1. board type  (Line 77: board_type = "Tinker Board";)


Quote:commit a819771f8827029fcc0957e2a699fb54792b449f
Author: Lyle_Lin <Lyle_Lin@asus.com>
Date:   Wed Sep 27 15:22:58 2017 +0800

    Dynamic modify model name (ro.product.model)

    modify ro.product.model read from /system/build.prop

    Change-Id: I06c117f4f9f2f66887856a902513a9a39d80b54f

diff --git a/init/property_service.cpp b/init/property_service.cpp

Correct me if I am wrong, or if this is a bad idea (and why), but you could also see here:

https://bitbucket.org/TinkerBoard_Androi...ce.cpp-416

If you comment out this block or just line 429, it will stop overriding the property and will use the one from build.prop. This is a simple solution that does not touch kernel and happens after android has already booted into android (or as it boots into android). Then you are free to set your product name in system/build.prop. Smile

Yes, you can comment out the block and system/build.prop ro.product.model will be load.

File system/build.prop is generated by build/tools/buildinfo.sh.
Big Grin  I'm Lyle. 
Reply
#10
modify the build prop does not work ... I test on the odroid xu4 and it works what to do?
 I'm french

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)