Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add android support using getprop ro.boot.vbmeta.digest and ro.build.display.id #53

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mooring
Copy link

@mooring mooring commented Mar 3, 2021

why

Using Termux on Android, it acts the same as linux in most scenario, adding android support would be a must practice.

how

getprop command exists on every android device, so it would be most compatible on other android devices.

ro.boot.vbmeta.digest exists on recent android devices with version 10, 11

ro.boot.serialno on early android devices with 4.x, 5.x, 6.x .eg

ro.build.display.id works on android 8.x , 9.x but return empty string with ro.boot.serialno

ro.build.display.id works on 4.x to 9.x, so finally ...

Tested on

  1. OnePlus8Pro Android 11
  2. Google Pixel 3 Android 11
  3. Galaxy A6+ Android 10
  4. Vivo S1 Pro Android 10
  5. OnePlus 7T Android 10
  6. Huawi Honor 9X Android 9.1
  7. Vivo Y3 Android 9.0
  8. Galaxy S9+ Android 9.0
  9. REDMI NOTE 7 Android 9.0
  10. OPPO R17 Android 9.0
  11. Google Pixel 2 Android 8.1
  12. Samsung SM-J710F Android 8.1
  13. motorola Moto Z(2) Android 8.0
  14. Galaxy J2 Pro Android 7.1
  15. Huawei HONOR 8 Android 7.1
  16. XiaoMI 5s Plus Android 7.0
  17. Nokia 6 TA-1000 Android 7.0
  18. Metu V6 Android 7.0
  19. HONOR 6X Android 7.0
  20. vivo Y66L Android 6.0
  21. OPPO R9st Android 6.0
  22. HUAWEI RIO-AL00 Android 6.0
  23. VIVO/XPlay5A Android 5.1
  24. OPPO/A59m Android 5.1
  25. OPPO/R9PlustmA Android 5.1
  26. vivo XPlay5A Android 5.1

@mooring mooring closed this Mar 3, 2021
@mooring mooring reopened this Mar 3, 2021
@mooring mooring changed the title add android support using getprop ro.boot.vbmeta.digest add android support using getprop ro.boot.vbmeta.digest and ro.boot.serialno Mar 3, 2021
@mooring mooring changed the title add android support using getprop ro.boot.vbmeta.digest and ro.boot.serialno add android support using getprop ro.boot.vbmeta.digest and ro.build.display.id Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant