Have any of you guys gone though the process of getting source code for a device in order to make custom roms?
Have any of you guys gone though the process of getting source code for a device in order to make custom roms?
I recently bought a Onn 4k TV box and am trying to get the GPL source code. Wish me luck as it may be a battle if I'm unlucky.
Getting the source code is only one piece of the puzzle, before you do that, have you checked if the bootloader is unlockable? Because if you can't unlock the bootloader then there's no point trying to get the kernel sources.
You should also bear in mind that if you unlock the bootloader, you'd be degrading Widevine to L3, which means the video quality of Netflix and other streaming services would be downgraded to SD. One of the main reasons why people buy these TV boxes (instead of using a Raspberry Pior something) is to watch streaming services - but unlocking the bootloader breaks the DRM, which would defeat the whole point (IMO) - unless you don't plan on using those services?
The ability to unlock the bootloader is actually irrelevant in this case. I want the source code because it is my right. I might find away to boot custom code or I may not. Either way I still want the sources to study at least.
As for streaming services I use Jellyfin so its not a big deal.
And what will you do with it exactly? Without unlocking the bootloader, it's basically useless. You should concentrate your efforts on seeing if you can unlock the bootloader first.
There wouldn't be anything interesting about those sources, except the binary blobs/DTB. Unless you're expecting to find some malware or something. If you're really interested in studying the kernel/Android sources, you can always head to https://source.android.com/ or https://kernel.org/. There are also more interesting sources over at LineageOS and GrapheneOS.
Then why did you even bother buying this box? You'd have been better off using a Raspberry Pi or some HTPC, where you could load any opensource distro or even easily compile your own, and have a far greater deal of flexibility and freedom.