this post was submitted on 04 Feb 2024
47 points (98.0% liked)

Android

17608 readers
165 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

πŸ”—Universal Link: [email protected]


πŸ’‘Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

πŸ’¬Matrix Chat

πŸ’¬Telegram channels / chats

πŸ“°Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS
 

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.

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 17 points 9 months ago* (last edited 9 months ago) (1 children)

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?

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

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.

[–] [email protected] 15 points 9 months ago* (last edited 9 months ago) (1 children)

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.

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.

Either way I still want the sources to study at least.

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.

As for streaming services I use Jellyfin so its not a big deal.

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.

[–] [email protected] 2 points 9 months ago

I want the source code because it is my right. If you don't use your rights you will lose them. As for the boot loader unlocking I will need to study the device for vulnerabilities to see if I can get around the normal hardware security. With any luck I might just be able to find a security hole.

[–] [email protected] 12 points 9 months ago* (last edited 9 months ago) (1 children)

Ooo. Yes, I expect that'll be a battle. More power to you and I'd love updates if anything happens. (If you can, of course.)

I'm guessing you may already be familiar with a lot of this, but some things to read up on if you're not:

  • The origins of OpenWrt which started from a demand to Linksys for GPL'd source code.
  • The ongoing court case "Software Freedom Conservancy v. Visio" about forcing Visio to comply with the GPL with regard to its smart TVs.

Also I'd recommend watching everything on the SFC's YouTube Channel as well as looking around on their website and maybe also Bradley Kuhn's website. (Bradley Kuhn is "Policy Fellow and Hacker-in-Residence" at the SFC.)

Heck. You might even benefit from trying to message the SFC about it. They might well be able to give you some guidance.

Edit: Ah. I see from another post that you've already been in contact with the FSF. What's the "FSC?" Did you mean "SFC?"

[–] [email protected] 2 points 8 months ago

Awesome recap. Telegram dev channels and xda used to be a place to spread the message so that users would pressure the company to fulfill their gpl duty.

On a side note Fuck Asus for screwing bootloader unlocking for the zenfone.

[–] [email protected] 6 points 9 months ago

I remember way back, around 2013, asking Gigabyte Mobile for the kernel source of one of their devices (Mika M3) via their business support.

Needless to say, they obliged! They uploaded it and then gave a link to an FTP server and credentials to use it.

So sometimes it's just worth asking.

I couldn't compile it fwiw, because it was missing key Mediatek components, but eh, what can you do...

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

Isn't it typically just kernel sources that would need to be released under GPL? A custom kernel is typically a few steps later in bringing up a custom rom for a device. The existing build is probably enough to try and get twrp running if you can get the bootloader unlocked.

Edit: All the same, very noble. Best of luck getting the sources, and making something useful of them.

[–] [email protected] 2 points 9 months ago

There used to be a community dedicated to doing this to Final Fantasy Tactics called Final Fantasy Hacktics but Squaresoft shut it the fuck down with copyright strikes hard core a few years ago and now most of the people that were involved are afraid to share any of the work anymore. One guy made Goku from DBZ a playable character in the game, it was good times.

[–] [email protected] 2 points 9 months ago