[Upgrading, Modifying and Unlocking] Barkuti:
RedScorpioXDA,

During the previous month, and weeks ago, I had to deal with two useless TV boxes which had the bug described here: https://www.novisign.com/blog/tech/x96-tv-box-issue-how-to-fix-it-when-enter-key-interprets-as-q

The actual described problem is a bug in the “Generic.kl” file which makes the Android system incorrectly assign the wrong keycode to it (DPAD_CENTER instead of ENTER), so when Enter is pressed on or sent by an external keyboard or USB device which is handled by the “Generic.kl” file (the majority of them), a DPAD_CENTER keycode is handled instead of ENTER. With an onscreen keyboard active, DPAD_CENTER causes the selected key to be pressesed on the onscreen keyboard (which by default is “q”, but this can change using the arrow keys, for example).

As far as my knowledge, intuition and light goes in this respect, the real problem with these devices is that at least most (or even all) of these TV boxes are bugged. I think the problem goes as far because the manufacturers of these devices are small and ignorant companies which invest little in software testing or development, and they order and request the Android firmware files for their boxes to some external company or development team which is making a poor and bad job.

I know this well, because I contacted Peter Lee from Shenzhen Amedia Technology (links: http://www.amediatech.cn/, http://www.amediatech.cn/index_en.html) via Alibaba, and after a long conversation in which he shared with me a video in which he is seen using an external keyboard with the box, typing words in a browser's search bar, pressing the Enter key (which fails to work) and retardedly resorting to selecting a onscreen search suggestion with the mouse instead… wellp, all I can say is that they are incredibly stupid, ignorant, unaware. How can they think that is right? There is a problem, there is a BIG PROBLEM there!!!

The guy stupidly ended up telling me which he was not going to share with me any more information because I didn't buy any TV boxes from them, and correspondingly I ended up telling him to fu ck off (he deserved it LoL). They are selling broken devices to their customers, which is insane! This is the main problem with these devices and companies: lack of proper firmware software, unawareness and lack of communication.

This was the long story.

The short story is that the boxes are unproperly rooted, as I could not edit and fix the “Generic.kl” file while running the device due to stupid Android security restrictions (SELinux enforcement?) which prevented saving the modified file and even caused the file to be emptied. I also thought it could be an easy job to unpack the firmware files, modify the “Generic.kl” file or whatever in them and then flashing the firmware in the device; but many problems arise, and I have to admit that I am not knowledgeable enough in these matters.

There is someone which is working on this, he is user imaHabbaProblems. I had a long private chat with him weeks ago, so if interested ask imaHabbaProblems to send you an invitation link to that chat (ayup pal) if needed, although I can see that imaHabbaProblems already told me he contacted with you in that chat. 🤔

Wellp, that's all folks.