Gen4 GPL Source code: it's there!

Special Developer Edition Firmwares and Hacking on Archos 5 IT, 5/7 IMT, 605/705, with Android, ├àngstr├Âm and other Linux
thinkfat
Archos User
Archos User
Posts: 138
Joined: Wed Dec 06, 2006 10:31 pm

Gen4 GPL Source code: it's there!

Post by thinkfat »

check here
all software sucks equally, but some software is more equal than other software
drwoonzer
Archos User
Archos User
Posts: 54
Joined: Tue Jan 23, 2007 9:13 pm

Post by drwoonzer »

YEEEEES!!!!!!!! :D :D :D :D :D :D :D :D :D :D :D :D
That's what i was waiting for!
maybe soonthe first free programs will come out...
fusen
Archos Expert
Archos Expert
Posts: 223
Joined: Thu Jan 25, 2007 8:56 pm

Post by fusen »

let's see what this actually opens up
Reppu
Archos User
Archos User
Posts: 70
Joined: Tue Jan 23, 2007 11:13 am
Location: Madrid

Post by Reppu »

I hope the programmers on this forum can provide us with a Firmware much more capable than the original. Doesn't seem that complex to achieve.
zachman123
Archos User
Archos User
Posts: 79
Joined: Tue Dec 05, 2006 1:56 am

Post by zachman123 »

I got an email today from the webmaster (really the only archos person I talked to that was hopeful and nice about the source code) that it was up.
THIS IS GREAT!
dm8tbr
Archos Guru
Archos Guru
Posts: 524
Joined: Thu Nov 23, 2006 3:44 pm
Location: openaos.org
Contact:

Post by dm8tbr »

fusen wrote:let's see what this actually opens up

yeah, same thoughts here. I'll have a look this weekend.
openAOS
kawiultraman
Archos Guru
Archos Guru
Posts: 957
Joined: Sat Dec 16, 2006 2:28 pm

Post by kawiultraman »

I just downloaded it and extracted the source files. It looks very complete, including makefiles, documentation, etc.

Edit: Just to clarify the above statement... it seems to be a complete distribution of the Linux OS source used on the series 4 units.
devildriver
Archos Novice
Archos Novice
Posts: 22
Joined: Tue Jan 23, 2007 6:48 pm
Location: Ohio
Contact:

Post by devildriver »

OH BOY OH BOY OH BOY!!!!!

:D :shock: :D :shock: :D
martinjay
Archos Guru
Archos Guru
Posts: 464
Joined: Fri Nov 10, 2006 3:23 pm

Post by martinjay »

Edit: Just to clarify the above statement... it seems to be a complete distribution of the Linux OS source used on the series 4 units.


If it really is the whole OS source, does that necessarily mean one could add apps of their own, repackage it and run a "new" OS? I mean after all those things Archos did, is it really that simple? Maybe the Flash-chip only accepts some sort of encrypted key before it allows the installation of the firmware... :-k
boojay
Archos Novice
Archos Novice
Posts: 29
Joined: Sun Feb 11, 2007 3:55 am

Post by boojay »

martinjay wrote:
Edit: Just to clarify the above statement... it seems to be a complete distribution of the Linux OS source used on the series 4 units.


If it really is the whole OS source, does that necessarily mean one could add apps of their own, repackage it and run a "new" OS? I mean after all those things Archos did, is it really that simple? Maybe the Flash-chip only accepts some sort of encrypted key before it allows the installation of the firmware... :-k


you need a healthy dose of optimism.

if there's a will, there's a cow........wait a sec.
kitty
Archos Guru
Archos Guru
Posts: 281
Joined: Fri Dec 29, 2006 1:13 pm

Post by kitty »

If you're a WIndows person, you can use this freeware to unpack a bz2 file the .iso file contains http://www.iceows.com/Download.htm

You can then use Windows to unzip the zip file.

I could post all 20,166 files on 604wifi.com (I think) if there is great interest....
Kurtis
Archos Novice
Archos Novice
Posts: 19
Joined: Sun Jan 28, 2007 4:12 am

Post by Kurtis »

Downloaded. The toolchain is building now.

I've gotta say: this is a nice source release. The TiVo source releases aren't nearly this well organized.

I'll start poking around looking while stuff builds.
Pingmeister
Archos Expert
Archos Expert
Posts: 191
Joined: Mon Oct 09, 2006 8:30 pm

Post by Pingmeister »

I just submitted this as a news item to Engadget and Gizmodo. My hope is that some tinkerers will be driven to the device now that the source code is available.
RK
Archos Guru
Archos Guru
Posts: 365
Joined: Sun Oct 29, 2006 3:45 am
Location: Canada

Post by RK »

Great news!
I actually like the current firmware, it's just that stupid hard drive lock that doesn't allow me to swap 504 drives thats annoying. Maybe, that can be fixed thanks to this.
on my 605
Kurtis
Archos Novice
Archos Novice
Posts: 19
Joined: Sun Jan 28, 2007 4:12 am

Post by Kurtis »

Well, good news and bad news.

Good news first. This is a good release. Run "make menuconfig" to create some support stuff, then copy in the config from the cofigs directory that matches the archos x04 you want to build for (the 504 in my case) and run make. About twenty minutes (I think) or so later, on my Athlon XP running gentoo, I had two files and a bunch of directories.

The two files? rootfs.arm_nofpu.cramfs and optfs.arm_nofpu.cramfs. There are, more or less, the exact same files we had from ripping the hidden section at the end of the drive. Some things are missing (like /usr/bin/avos) but these things are not GPL; they're internally developed at Archos without relying on linking statically to GPL parts.

Bad news next. The files are signature-less. The rootfs.arm_nofpu.cramfs file doesn't have the leading 256 bytes at all, and the optfs.arm_nofpu.cramfs has them, but they're all zeros. Now, there's a addrootfs.sh script in the arch/compressed directory of the kernel, but it has a different name (root_fs_arm_nofpu.cramfs) so I'm wondering if it is an example from montavista linux or something, or a previous iteration of development, but that script isn't in the kernel distribution from my gentoo box, so I don't think it's in the normal tree. Of course, I could be totally wrong about all this.

My guess is that this development environment is run through a couple more non-GPL tools that do the signing and bundle into the .aos files we download as firmware.

So, it's useful, but unless we can figure out what those signatures are, and how they're used, I don't think this gets us on the box.
gszczesz
Archos Novice
Archos Novice
Posts: 43
Joined: Sun Dec 24, 2006 2:45 am

Post by gszczesz »

Damn, I was hoping the avos code would be available which would allow us to quickly exploit any bugs/weaknesses..... So basically they released what we already grabbed from the extracted directories, but in c++ form...

Ahh well... it did sound too good to be true... back to looking for an exploit...

Greg

p.s. which compiler did you use to compile it with fro the DaVinci chip?
Kurtis
Archos Novice
Archos Novice
Posts: 19
Joined: Sun Jan 28, 2007 4:12 am

Post by Kurtis »

They just build using the standard gcc toolchain with uClibc.

The DaVinci is just a multicore chip on the inside: one core of ARM and one core of DSP (I think...)

Anyway, it's ARM code it compiles. There's no FPU because they farm all that out to the DSP.
bazz
Archos User
Archos User
Posts: 67
Joined: Fri Nov 24, 2006 6:29 pm

Post by bazz »

kitty wrote:I could post all 20,166 files on 604wifi.com (I think) if there is great interest....


I think you should! That way people have more access to it, and more places for people to stumble upon it.
bazz
Archos User
Archos User
Posts: 67
Joined: Fri Nov 24, 2006 6:29 pm

Post by bazz »

kitty wrote:If you're a WIndows person, you can use this freeware to unpack a bz2 file the .iso file contains http://www.iceows.com/Download.htm


Couldn't you just use 7zip?
Tramp
Archos Expert
Archos Expert
Posts: 156
Joined: Sun Dec 03, 2006 8:03 pm

Post by Tramp »

Aww, and I thought this would be amazing :(

Still good of them though.
Post Reply

Return to “Open Development”