narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
kilobyte_ch has quit [Ping timeout: 250 seconds]
kilobyte_ch has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
kilobyte_ch has quit [Ping timeout: 264 seconds]
kilobyte_ch has joined #linux-amlogic
luka177 has joined #linux-amlogic
kilobyte_ch has quit [Ping timeout: 264 seconds]
kilobyte_ch has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
kilobyte_ch has quit [Ping timeout: 250 seconds]
kilobyte_ch has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
ccaione has quit [Server closed connection]
ccaione has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
JohnnyonFlame has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
naoki has joined #linux-amlogic
JerryXiao has quit [Ping timeout: 258 seconds]
JerryXiao has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
ndufresne has quit [Quit: The Lounge - https://thelounge.chat]
ndufresne has joined #linux-amlogic
ndufresne has quit [Read error: Connection reset by peer]
ndufresne has joined #linux-amlogic
f_ has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
<f_> Hi. Just curious...is Amlogic's Android fork that bad?
<f_> Seems like all chinese Android set-top boxes which run a fork of it have the same weird "MBOX" boot animation.
<f_> (and LaFrite seems to have that as well?)
<lvrp16> We have our own build.
<lvrp16> The fork is pretty bad.
<f_> Yeah..that's what I've been thinking. =)
<f_> So bad that most Google-certified set-top boxes don't have it I guess?
naoki has quit [Quit: naoki]
<f_> Would be nice to have stock Android running, but it's something that's "nice to have"
<f_> and tbh I'm very happy with having a fully-fledged GNU+linux or Busybox+musl+linux running on those.
<f_> although my KII Pro just so happens to be compatible with a modified Android TV 5 ROM..but it's literally just stock converted to ATV and so the bloatware is included, too.
<f_> And..as said above I'm very happy with mainline linux.
<f_> Enough talking, let's get back to reverse-engineering! :D
<f_> I think I'll finish pctl init today (will have to clean up later) and test.
<f_> I highly doubt it'll work, but we'll see!
<f_> Still funny about the fact that Amlogic's Android fork is that bad..
<f_> >android TV: exists
<f_> >amlogic: "let's create our own Android fork for tv boxes"
<f_> Although I think (not sure) that newer versions of their fork are based on ATV
<f_> ¯\_(ツ)_/¯
<exkcmoeadmin[m]> Ah
<exkcmoeadmin[m]> u know what
<exkcmoeadmin[m]> a lot of tv box that run android tv
<exkcmoeadmin[m]> has two setting
<exkcmoeadmin[m]> android tv box setting
<exkcmoeadmin[m]> * android tv setting
<exkcmoeadmin[m]> * aosp setting
<f_> settings??
<exkcmoeadmin[m]> yes
<f_> Thought most popular Amlogic set-top boxes came with Android TV??
<exkcmoeadmin[m]> well
<f_> Are there e.g. Mi Box S boxes running AOSP from the factory??
<exkcmoeadmin[m]> non only tv
<f_> Didn't completly understand what you meant by "non only tv"?
<f_> Sorry
<exkcmoeadmin[m]> *not only tv box
<f_> TVs?
<exkcmoeadmin[m]> mi box * is google certied so they run the os that from google
<f_> I don't think so
<f_> they run ATV, but with Amlogic stuff nontheless.
<exkcmoeadmin[m]> well
<f_> Look for "droidlogic"
<exkcmoeadmin[m]> yes
<exkcmoeadmin[m]> yes
<f_> Either way I like seeing mainline linux running on all those Amlogic-powered devices.
<exkcmoeadmin[m]> google 's android has less Amlogic stuff
<f_> exkcmoeadmin[m]: Don't think so.
<f_> As said before, look for "droidlogic"
<exkcmoeadmin[m]> *nonsence
<f_> and look for "Advance settings"
<exkcmoeadmin[m]> i should say nonsence
<f_> exkcmoeadmin[m]: What? nonsense?
<exkcmoeadmin[m]> yes
<f_> What do you mean? What's making no sense?
<exkcmoeadmin[m]> two setting
<f_> Yeah never seen that before..
<exkcmoeadmin[m]> i think amlogcg atv have three
<f_> waht???
<exkcmoeadmin[m]> google one dont
<exkcmoeadmin[m]> *i think amlogcg atv have two setting
<exkcmoeadmin[m]> *google one dont
<exkcmoeadmin[m]> f_:
<f_> No I don't think so
<f_> my KII Pro came with AOSP. I couldn't choose between ATV and AOSP.
<f_> Despite ATV being available at the time.
<exkcmoeadmin[m]> Ah
<exkcmoeadmin[m]> *stock rom
<exkcmoeadmin[m]> see all the link are from google
<exkcmoeadmin[m]> so the os is from google
<exkcmoeadmin[m]> Also
<exkcmoeadmin[m]> useually u will see three settings
<exkcmoeadmin[m]> on non google certied atv box
<phh> ATV cost much more than AOSP, and those companies target CN mainland first, which doesn't have ATV
<f_> If the links are from Google that doesn't mean the OS is from Google.
<exkcmoeadmin[m]> yeah
<exkcmoeadmin[m]> phh
<f_> it's as if I link to a Google drive file and say it's from Google because it's hosted at google
<exkcmoeadmin[m]> but i did see some non google certied amlogic running atv
<phh> exkcmoeadmin[m]: i've seen it here and there, but it's a very annoying cat and mouse game for oems and is a bit dangerous
<exkcmoeadmin[m]> yesh
<exkcmoeadmin[m]> also that isnt happented only on tv box
<exkcmoeadmin[m]> a lot of manufacturer ( tv box , phone ,etc) has a cutom settings that replace the aosp setting but for some reson some manufacturer still keeping the aosp setting and atv setting when the have the cutom settings (ofc those setting is hidden in some way but u can easilly open them via shortmarker)
<phh> their custom settings are never complete, it only does the more common stuff, that's why they include more settings
<exkcmoeadmin[m]> yeah
<exkcmoeadmin[m]> but why two setting
<exkcmoeadmin[m]> Ah
<exkcmoeadmin[m]> have u herd of digital whiteboard
<exkcmoeadmin[m]> my school has one
<exkcmoeadmin[m]> i digged a bi to it
<exkcmoeadmin[m]> it run atv
<exkcmoeadmin[m]> with three settings
<exkcmoeadmin[m]> *i digged a bit of it
<exkcmoeadmin[m]> it likly use amlogic t***
<exkcmoeadmin[m]> it has 4x contex a55
<exkcmoeadmin[m]> it run android 11
<exkcmoeadmin[m]> Ah
<exkcmoeadmin[m]> it come will root
<exkcmoeadmin[m]> (that only usable in adb)
<exkcmoeadmin[m]> (yes i hacked my school)
<f_> exkcmoeadmin[m]: hacked or cracked?
<f_> Was curious about if my homemade acs.bin worked and wow
<f_> Despite a few differences(?) it works!!!!!
<f_> I booted to linux and it works!!!!!!!!
<f_> narmstrong: So ACSBaby might be interesting to you. With it we can now generate multiple ACS binaries from binaries!
<f_> s/binaries/sources/
<f_> Still have to add support for u-boot.bin and bl2.bin but otherwise we're all set!!
<f_> Would need further testing before I'm fully trusting this but I call that a win!
<f_> If anyone's interested you can compile an acs.bin for e.g. ODROID-C2 (anything gxbb), replace timing.c with the one generated by ACSBaby, recompile, and compare!
<f_> (both the sources and the binaries)
<f_> I think it's reliable enough to have an idea on how BL2 is working.
<f_> Seriously though, ACSBaby helped me quite a lot when looking at Ghidra's decompiled output.
<f_> ..as well as the old U-Boot sources.
luka177 has quit [Ping timeout: 246 seconds]
<narmstrong> f_: nice work !!!
<f_> Thanks!
<f_> All that's needed is to add support for other binaries with an embedded acs.bin and test on eMMC dumps!
<f_> Could be nice to have a new build system for acs.bin..would make compiling acs.bin easier and we won't have to deal with Amlogic's U-Boot fork anymore.
<f_> Ok. Now that my homemade acs.bin somehow works, I can continue on with reverse-engineering.
<f_> Of course everything is at your own risk.
<f_> wow my KII Pro can power off
<f_> (that's actually something that happens quite rarely..most of the time it would reboot instead of powering off)
<f_> (unless I keep it on for enough time)
<f_> https://git.vitali64.duckdns.org/utils/acsbaby.git source is here BTW for those interested
<f_> To compile just run `make`.
<narmstrong> cool, it's good to have an opensource way to boot the board
<f_> Yeah, without needing to rely on random acs binaries =)
<f_> Now..having a TF-A BL2 upstream would make things way easier!
<f_> You'll be able to just drop a device tree somewhere in the FIP and have BL2 take care of the rest.
<f_> that is, if I configure FCONF :P
<exkcmoeadmin[m]> maybe both
<exkcmoeadmin[m]> hacked n creaked
<f_> hm
<exkcmoeadmin[m]> if it atin created it will no has root
<exkcmoeadmin[m]> *not
<f_> But if I manage to make use of FCONF you'll just be able to drop in a DT and be done with it.
<f_> (the device tree will contain RAM timing data)
luka177 has joined #linux-amlogic
Daanct12 has quit [Ping timeout: 246 seconds]
luka177 has quit [Ping timeout: 250 seconds]
<f_> Could make another util that converts an acs.bin to a valid device tree after some time..
<f_> ¯\_(ツ)_/¯
<f_> We'll see!
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 258 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 252 seconds]
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
Cheaterman has quit [Remote host closed the connection]
vagrantc has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
Cheaterman has joined #linux-amlogic
f11f12 has joined #linux-amlogic
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
jacobk has joined #linux-amlogic
f_ has quit [Quit: I'm fading away.]
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
f_[xmpp] has quit [Ping timeout: 260 seconds]
f11f12 has quit [Quit: Leaving]
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
BlueMatt[m] has joined #linux-amlogic
naoki has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]