ImjTool is very handy for working with firmware images
The Android Device Database aims to capture shell command output from representative Android devices, so that researchers will be able to get an idea of device and vendor idiosyncrasies even if they don't have the actual device for testing. The idea is to run a few common commands and a few tools of mine, capturing the output. This will take 2-3 minutes if you have a device, and will benefit many others who don't. I will add the firmware images so as to help static analysis.
This is a work in progress. Check Pixel 4 or Fire HD 10 for a sample
Now with rooted images:fastboot boot ...img
rather than fastboot flash....
if you want to be able to go back to a non-rooted config at will, after reboot - note that fastboot
might need to be run as root
SoC | Phone model | Rooted image |
---|---|---|
Tensor | Pixel 6 (Mine, rooted) | Rooted boot.img vbmeta.img |
Pixel 6A | ||
Tensor 2 | Pixel 7 (Mine, rooted) | Rooted init_boot.img |
Tensor 3 | Pixel 8 (Mine, rooted) | Rooted init_boot.img |
Tensor 4 | Pixel 9 (Mine, not rooted yet) | Rooted init_boot.img!--> |
SoC | Phone model |
---|---|
EXYNOS 850 | A13 (4G) (GSMArena) |
Exynos 9611 | A51 |
Exynos 1280 | A53x |
Exynos 9810 | Galaxy S9 (non-US) |
Exynos 9820 | Galaxy S10 (non-US) |
Exynos 990 | Galaxy S20 (non-US) - Mine, rooted |
Galaxy S20/S20Ultra (non-US) - Many thanks to A. Thomas!! | |
Exynos 2100 | Galaxy S21 (non-US) - Toda Raba, Keren!! |
Exynos 2200 | Galaxy S22 (non-US) - Thanks @never_released |
SoC | Phone model |
---|---|
Kirin659 | LLD-L31 (Honor 9 lite) |
Kirin820 | Honor 30s |
Kirin970 | P20 Pro |
Kirin980 | P30 Pro |
SoC | Device model |
---|---|
MT6580 (lowly 32-bit) | "S20" knockoff... (partitions) |
... | Amazon Echo Dot (1st Gen) |
MT6757 (P20) | Sony Xperia A1 Ultra (Thanks, Dmitry!) |
MT6765 (P35) | Vivo Y83A (Partition images) (Mine, rooted thanks to Diplomatic's excellent mtk-su root!) |
MT6877V | Samsung Galaxy A34 (.ae :-) |
MT6889 (Dimensity 1000) | Vivo iQOO Z1 5G (mine, not rooted yet) |
MT6893 (Dimensity 1200) | RealME GT Neo (mine, not rooted yet) |
MT6886 (Dimensity 7200) | Vivo V27 (GSMArena) |
MT8183 | Amazon Fire HD 10 (2019) (mine, rooted, Partition images) |
MT8781 (Helio G99) | Samsung Galaxy A24 4G (GSMArena) |
SoC | Device model |
---|---|
SC6820i | Samsung Galaxy Star Plus (Thanks, Dmitry!) |
SC9832e | Alldocube iPlay 7T |
ums9230T (T616) | RealMe C35 (mine, not rooted yet) |
(T612) | RealMe C53 (not mine, but .my...) |
Get adb shell to a (preferably rooted) device with a chipset not listed here, and run the following commands:
cat /proc/cpuinfo
: To get the CPU architecture and detailscat /proc/version
: To get the running kernel versioncat /proc/partitions
: To get the partition map (might need root)mount
and df
: To get the mounted partitions statsls -l /dev
: To get a list of all device nodes (useful for determining standard Linux, AOSP and vendor/BSP additions)ls -l /dev/block/platform/*/*/by-name
: To get the partition names (might require root. As of Android 10, dumpsys
: For a dump of all servicesgetprop
: To get all the properties set on the devicegetevent
: To get a list of input devices (after which you can press CTRL-C)service list
: To get a list of all binder servicesps -Zefw
: To get a list of all processes and kernel threads on your device (w = boundless width)ls -l /sys/module
: To get a list of all modules, compiled in or loaded. lsmod
would also be appreciated if you have loaded modules.lshal
- to list HW HALsbindump users all
and bindump vndbinder users all
.lsof
- this really helpsls -lR /
root (otherwise all the good stuff is denied..). This will be a huge file of O(60M), so please gzip before submitting.The easiest way to get all this output is by running "script" on your MacOS or Linux host before "adb". this logs everything you do (until you type "exit") into a file called "typescript" - which is what I need. Thank you!
If your device identifies as a known chipset listed here, it probably doesn't make sense to list it here unless the outputs of the above commands greatly differ (e.g. service list
) or are from some esoteric brand.
If you can help, feel free to email me - ddb@... And I thank you in advance.