nohajc / termux-adb

Run adb in Termux without root permissions!
MIT License
391 stars 37 forks source link

Incorrectly displayed output: termux-fastboot devices #9

Open BlueAction opened 1 year ago

BlueAction commented 1 year ago

Hello, I am using a Huawei device to connect via OTG to another smartphone which has an unlocked bootloader status. In order to display the output of termux-fastboot devices

~ $ termux-fastboot devices && termux-fastboot devices && termux-fastboot devices && termux-fastboot devices && termux-fastboot devices d3d59b1b/|�� v}�0�E� �y�0�E�<��� d3d59b1b�l� �m�0�� mj�0��� d3d59b1b_�B ��0��� -�0������ d3d59b1bߤ�g &��0�d� ���0�d�L7�� d3d59b1b�0� 2�0��� �.�0����� ~ $

Screenshot_20230228_174926

Output fc-list output for displaying the installed fonts 230228-183737

I'll also add architecture and kernel Screenshot_20230228_184532

nohajc commented 1 year ago

If you connected the device to a PC and used fastboot devices instead, what would the output look like?

nohajc commented 1 year ago

I suppose it will be just the first eight characters because the rest keeps changing. Looks like a missing null terminator of the serial number string. I'll try to find where the problem is.

BlueAction commented 1 year ago

Without alternatives for debugging via fastboot / adb I only use the smartphone device. As a substitute for termux, I run the bugjagear application whose output is correct. But I prefer to use your tool because it has adb support, which I have difficulties with in bugjaeger. Screenshot_20230301_190720

nohajc commented 1 year ago

Thanks for the report again, I will look into it.

balaji128k commented 4 weeks ago

I had the same issue with my host device armv7 tv running 4.9 kernel version on android 9, I thought it was a comparability issue or architecture issue. I can't use mitool too. Maybe the problem not from your side. You can report or discuss the issue maybe from termux api.