maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   What do we know about Diablo (Maemo 4.1) ? (https://talk.maemo.org/showthread.php?t=17727)

Texrat 2008-05-15 18:20

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Aisu (Post 181901)
Does that sound like a lawsuit or what?

No. The "cease and desist" or takedown order comes before lawsuit.

NOTE: that is not an official corporate statement!!!!

qwerty12 2008-05-15 18:28

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Benson (Post 182052)
I'd think using the tools from Fanoush's initfs_flasher would work fine...

I'd copy initfs_flash, and make a modded version that doesn't start with the current initfs, but with the image, and then does the same stuff; while it's stopped waiting for input, you can muck around in the initrd directory, and then it'll jffs2 it back up and flash it.

Am I missing something? Is the initrd in a different format not readily extractable to a raw fs image?

I thought about that but decided it wouldn't work.

initfs flasher grabs initfs from the already flashed initfs. Defeats point when you cant flash image to rip...

Also, loop device doesn't exist on n800 afaik and the modules to emulate an mtd are not available for n800.

Benson 2008-05-15 18:37

Re: What do we know about Diablo (Maemo 4.1) ?
 
Well, I got /dev/loop[0-7] here... BTW, thanks for that kernel info! I grabbed Fanoush's.

qwerty12 2008-05-15 18:41

Re: What do we know about Diablo (Maemo 4.1) ?
 
I don't see no losetup ;)

Besides, you need modules to emulate an mtd device too. Like nokia, I don't see the point in compiling them. I compiled mtd-utils thanks to fanoush's source so you can remake the image at least on the device.
(actually, initfs flasher has tool needed too)

No problems :)

maba 2008-05-15 18:48

Re: What do we know about Diablo (Maemo 4.1) ?
 
I'm running diablo, but I'm running it with chinook's kernel and initfs. When I flash diablo's kernel my N810 won't boot, it just shows the NOKIA image for a while and then it dies (no progressbar or anything).. Also, "About product" in Control Panel shows <unknown> version. If someone would point me in the right direction to get diablo's kernel and initfs working, I'd be very grateful. :)

Benson 2008-05-15 19:50

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by qwerty12 (Post 182060)
I don't see no losetup ;)

Besides, you need modules to emulate an mtd device too. Like nokia, I don't see the point in compiling them. I compiled mtd-utils thanks to fanoush's source so you can remake the image at least on the device.
(actually, initfs flasher has tool needed too)

No problems :)

Hmm... Funny; it looks like mount -o loop used to work (OS2007, PB used it for XFCE at least), but doesn't now. I even tried chrooting to an extracted initfs. Still no good. I'm not sure if mount -o loop uses losetup, or if something else is wrong (perhaps pertaining to mtd emulation; I had thought that was an alternative, not a corequisite). Oh, well, I'll look at it more when I get irritated enough ;). (Maybe it works from Debian... but I probably still need to compile the mtd stuff.)

Be nice if you could post a tar of the initial contents of the Diablo initfs, but I suppose Reggie and Qim would rather you didn't...

Quote:

Originally Posted by maba (Post 182064)
I'm running diablo, but I'm running it with chinook's kernel and initfs. When I flash diablo's kernel my N810 won't boot, it just shows the NOKIA image for a while and then it dies (no progressbar or anything).. Also, "About product" in Control Panel shows <unknown> version. If someone would point me in the right direction to get diablo's kernel and initfs working, I'd be very grateful. :)

You need to get hold of a tar of the Diablo initfs. You can do that any of three general ways:
  • With a Glock (to threaten or barter, your call.)
  • On the device, like I was trying. It seems rather troublesome, but you will be lauded as a hero if you can post kernel modules that let us all tear Diablo initfses to pieces and build them back up our own ways.
  • Or you could do it on a desktop, as Faheem outlined.
Once you got that, it's pretty straightforward; read through the initfs_flash script and you'll see what it's doing. Modify that procedure as needed...
Or do the stripping, bundling and even flashing, if you like, from the desktop.

Dunno about the kernel; the new kernel, I'd have thought, would just work...

gnuite 2008-05-15 20:06

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Benson (Post 182089)
Hmm... Funny; it looks like mount -o loop used to work (OS2007, PB used it for XFCE at least), but doesn't now. I even tried chrooting to an extracted initfs. Still no good. I'm not sure if mount -o loop uses losetup, or if something else is wrong (perhaps pertaining to mtd emulation; I had thought that was an alternative, not a corequisite). Oh, well, I'll look at it more when I get irritated enough ;). (Maybe it works from Debian... but I probably still need to compile the mtd stuff.)

Loopback was the first thing I tried, but I got the same results you did - no dice. It probably needs losetup, which (as qwerty12 observed) is not on the device.

I also tried Fanoush's initfs_flasher stuff, but ran into the same problems qwerty12 mentioned - it operates directly on the device's initfs partition, probably to get around the loopback problem. So that would require flashing the image onto the initfs partition, which (of course) is the whole problem in the first place.

I considered dd'ing the jffs2 file to one of the other partitions (like a memory card), and we'd be able to rip files out (either manually or with a modified initfs_flasher), but then we'd still need mkjffs2 in order to re-jffs2 the contents into a size small enough to fit onto the N8x0's initfs partition.

In the end, it's probably easier to just do it all on the desktop.

gnuite 2008-05-15 20:10

Re: What do we know about Diablo (Maemo 4.1) ?
 
How hard is it to re-partition the device's internal flash to give the initfs partition enough space to hold the larger jffs2 image? It's only around 300k too large; I don't mind sacrificing it. Anybody know how to do that? Do we need an entire Fiasco image for that to work?

Benson 2008-05-15 20:14

Re: What do we know about Diablo (Maemo 4.1) ?
 
Well, if you've got initfs_flasher, it's got mkfs.jffs2 and what-not. That idea of slamming it on a mmc partition... yeah! (I think you solved it.)

(For me, doing it on a desktop's not easier, because my Linux desktop is unfortunately deprived of internet access (and ~50 miles away). LiveCDs aren't fun for that kinda work, in my experience.)

qwerty12 2008-05-15 20:24

Re: What do we know about Diablo (Maemo 4.1) ?
 
Remember, you probably still need something to emulate the mtd device unles mount -o jffs2 /dev/mmcetc works straight.

mtdram is out. johnx with 1gb ram couldn't mount diablo initfs, i could with 2gb ram.
mtd2block sounds like it would work.

fanoush posted me a bug which made his partition start location later but he had to compile custom kernel to point to new place and never fixed it afaik :p

qwerty12 2008-05-15 20:48

Re: What do we know about Diablo (Maemo 4.1) ?
 
Also, remember I've already ripped it. A pm can go a long way ;)

I've also manually added fanoush's bootmenu to the diablo initfs. (diff job, not replaceing job ;))

Benson 2008-05-15 20:59

Re: What do we know about Diablo (Maemo 4.1) ?
 
Yeah, and as one of the Order, I'll probably be sending you such a PM, once I'm decently content with things on a Chinook initfs...

qwerty12 2008-05-15 21:02

Re: What do we know about Diablo (Maemo 4.1) ?
 
Hehe, as much as I sound cocky, conceited and arrogant, I usually am willing to share what I show off (being reasonable of course)

Texrat 2008-05-15 21:02

Re: What do we know about Diablo (Maemo 4.1) ?
 
You guys already have outdated stuff. :p

qwerty12 2008-05-15 21:04

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quick Benson, get the rat poison!

I'll go down to Texas and find out the secret...

Bundyo 2008-05-15 21:07

Re: What do we know about Diablo (Maemo 4.1) ?
 
He's got N1500... or so so.

Texrat 2008-05-15 21:10

Re: What do we know about Diablo (Maemo 4.1) ?
 
I just meant Diablo.

/me burrows down

rcadden 2008-05-15 21:44

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Texrat (Post 182119)
You guys already have outdated stuff. :p

hehe....<filler>

gnuite 2008-05-15 22:14

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by qwerty12 (Post 182026)
That does look like an initfs problem. (the RD mode info is shown by initfs, not rootfs). Incidentally, Nokia logo and RD mode logo and green progress bar is provided by NOLO.

PM me with email or favourite hosting site and I'll email my initfs

(original diablo initfs with testserver removed (useless according to fanoush and I know what he means ;)) or diablo initfs with bootmenu added manually with ssh (no telnet). If you want to add bootmenu.conf, you have to edit initfs image anyway :/)

Thanks for the image, qwerty12, but it didn't work. My device still won't display any initfs information on boot-up. I wonder if I'm missing a step.

When you guys did your apt-get install, was it clean? The one issue I get is that multiple instances of hildon-desktop get started, which looks weird, and my XTerm only gets half the horizontal screen (except when full-screen). Did that happen to you guys?

To re-cap, here are the steps I took in my last attempt (don't try these, people, they don't work for me):
  1. Re-flash my N810 with the latest official firmware.
  2. Put the device in R&D mode (--enable-rd).
  3. Disable the lifeguard reset (--set-rd-flags=no-lifeguard-reset).
  4. Do initial setup (language, table name, etc.)
  5. Remove contents of MyDocs (the pre-installed MP3s, videos, etc.), leaving about 160MB free in the root partition.
  6. Modify /etc/apt/sources.list.d/whatever-it's-called to replace all instances of "chinook" with "diablo" and to add the username/password for the updates repository.
  7. apt-get -d install osso-software-version-rx44-unlocked (download only, at first, just in case)
  8. apt-get install osso-software-version-rx44-unlocked
  9. (Notice another instance of hildon-desktop starting...)
  10. Answer "Y" to a couple of "Take the new version or keep the old version of this config file" prompts.
  11. When the install completes, remove the initfs image.
  12. flash-and-reboot
  13. Wait as my N810 turns off, tries to boot, and fails to boot.

Most recently, after running those steps, I tried to use flasher-3.0 to re-flash the initfs partition with a stripped Diablo version, and that didn't work. I've also tried all of those same steps, except for the flash-and-reboot (thus using the chinook initfs and kernel), with the same effect.

Anything wrong with these steps, guys? Has anyone gotten this working on an N810 yet? Maybe I should try an N800 first....

gnuite 2008-05-15 22:17

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Texrat (Post 182119)
You guys already have outdated stuff. :p

Does this mean that they're not propogating Diablo updates through the repository anymore? Are they avoiding the repository now, thanks to people like us? Need we investigate alternatives for getting updates?

Mara 2008-05-15 23:04

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182158)
Does this mean that they're not propogating Diablo updates through the repository anymore? Are they avoiding the repository now, thanks to people like us? Need we investigate alternatives for getting updates?

No... he means that he has the newer image that was just compiled... and not finished any internal testing yet.

Benson 2008-05-15 23:09

Re: What do we know about Diablo (Maemo 4.1) ?
 
And CRASHES!!!! :D

Well, it makes us feel better to think so.

Aisu 2008-05-15 23:16

Re: What do we know about Diablo (Maemo 4.1) ?
 
No crashes yet.

I can't believe this took me so damned long :cool:

http://tablethacker.com/temporary/Screenshot.png

gnuite 2008-05-15 23:51

Re: What do we know about Diablo (Maemo 4.1) ?
 
Aisu, you got your N810 working on Diablo, right? Did you use the same procedure that I outlined a few posts back (page 50) ? Or did you have to do anything special to get it working on N810?

Aisu 2008-05-15 23:57

Re: What do we know about Diablo (Maemo 4.1) ?
 
I did a clean reflash. (I forgot to disable the lifeguard the first try :()

Then, I changed every instance of Chinook in hildon's list to Diablo, even the extras to be safe... And, that's about it. Oh, and I flashed the kernel afterwards. Mine got caught in a loop, but only needed a good kernel. (I used the one out with rotation support.)

Hope it helps!!!

GeneralAntilles 2008-05-15 23:59

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Aisu (Post 182198)
Then, I change every instance of Chinook in hildon's list to Diablo, even the extras to be safe... And, that's about it. Oh, and I flashed the kernel afterwards. Mine got caught in a loop, but only needed a good kernel. (I used the one out with rotation support.)

You only need to change the tableteer update repo to Diablo. The rest of them can be left as is, though you may or may not benefit from adding a Diablo Extras alongside Chinook Extras (though there's nothing in Diablo Extras worth mentioning at the moment).

gnuite 2008-05-16 01:01

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Aisu (Post 182198)
I did a clean reflash. (I forgot to disable the lifeguard the first try :()

Then, I changed every instance of Chinook in hildon's list to Diablo, even the extras to be safe... And, that's about it. Oh, and I flashed the kernel afterwards. Mine got caught in a loop, but only needed a good kernel. (I used the one out with rotation support.)

Hope it helps!!!

My APT sources list doesn't even list the extras repository. There are only three lines.

Am I missing something?

Aisu 2008-05-16 01:12

Re: What do we know about Diablo (Maemo 4.1) ?
 
No, no. That was just me being paranoid and silly. Extras does nothing.

After changing your repos. Please run

Code:

apt-get install osso-software-version-rx34-unlocked
as root. But DO NOT say yes yet. Just post what it says. You can do that over SSH as long as you DON'T say yes. Oh, if on N810, change rx34 to rx44

gnuite 2008-05-16 01:59

Re: What do we know about Diablo (Maemo 4.1) ?
 
Okay, I ran through my procedure again. Every time I try it, it seems to go differently, which goes against every ounce of common sense in my engineering brain. This time, during the install, I got some strange "cannot remove /usr/share directory - not empty" errors, followed by some "out of space" errors (even though I had plenty of space in my root partition. This stopped the install, and an "apt-get -f install" instructed me to run "dpkg --configure -a", at which point it then resumed.

When it finished, I skipped the flash-and-reboot step, and now it boots fine. I have no idea how "clean" my file system is, and the obsessive-compulsive part of me wants very badly to retry the process from the beginning, but I'm afraid I'll never be able to get it to boot again. So I'll stick with what I have now unless/until I run into issues.

Thanks for the help, everyone.

Aisu 2008-05-16 02:10

Re: What do we know about Diablo (Maemo 4.1) ?
 
I do believe you need a signature reflective of that accomplishment :D

GeneralAntilles 2008-05-16 02:11

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182229)
Okay, I ran through my procedure again. Every time I try it, it seems to go differently, which goes against every ounce of common sense in my engineering brain. This time, during the install, I got some strange "cannot remove /usr/share directory - not empty" errors, followed by some "out of space" errors (even though I had plenty of space in my root partition. This stopped the install, and an "apt-get -f install" instructed me to run "dpkg --configure -a", at which point it then resumed.

Sounds about like it went for me, and my install works fine.

/me shrugs

gnuite 2008-05-16 02:32

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by GeneralAntilles (Post 182234)
Sounds about like it went for me, and my install works fine.

/me shrugs

I wonder why I didn't get that behavior the first four times I tried. :) Ahh, well, if it works for you, I'll stick with it. I love that modest is now the default email client. (Yes, it has its problems, but it works great with gmail's IMAP interface.)

Texrat 2008-05-16 02:53

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182158)
Does this mean that they're not propogating Diablo updates through the repository anymore? Are they avoiding the repository now, thanks to people like us? Need we investigate alternatives for getting updates?

Hang on gnuite!

Even if I had those answers I could not share them, sorry. My teaser was mainly to hint that work continues... so don't make too many hard-and-fast assumptions.

gnuite 2008-05-16 03:49

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Aisu (Post 182233)
I do believe you need a signature reflective of that accomplishment :D

Aisu, earlier you mentioned having problems with the diablo initfs and/or kernel with your N810. I just tried to flash-and-reboot, and the kernel is definitely causing my N810 to stop booting. Have you managed to reflash with the diablo initfs or kernel?

Or do they only work with the N800?

gnuite 2008-05-16 03:51

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Texrat (Post 182249)
Hang on gnuite!

Even if I had those answers I could not share them, sorry. My teaser was mainly to hint that work continues... so don't make too many hard-and-fast assumptions.

If you're going to teaser, you have to be ready to accept the wild misinterpretations that your teasers may yield. :)

Texrat 2008-05-16 03:57

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182256)
If you're going to teaser, you have to be ready to accept the wild misinterpretations that your teasers may yield. :)

Yeah, but I have elected to accept them only begrudgingly. :p

qwerty12 2008-05-16 06:15

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182255)
Aisu, earlier you mentioned having problems with the diablo initfs and/or kernel with your N810. I just tried to flash-and-reboot, and the kernel is definitely causing my N810 to stop booting. Have you managed to reflash with the diablo initfs or kernel?

Or do they only work with the N800?

I was talking to Maba on IRC. His N810 will not boot with the N810 kernel but my ripped Diablo initfs and chinook kernel work together :/

Oh yeah, I've got a static binary of 0xFFFF if anyone wants to dump their clean Diablo rootfs to make a flashable file with flasher-3.0 :/ (not to share it)

Bundyo 2008-05-16 06:47

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182229)
When it finished, I skipped the flash-and-reboot step, and now it boots fine. I have no idea how "clean" my file system is, and the obsessive-compulsive part of me wants very badly to retry the process from the beginning, but I'm afraid I'll never be able to get it to boot again. So I'll stick with what I have now unless/until I run into issues.

If there are no complains when running apt-get -f install, then you have no problems.

Aisu 2008-05-16 22:36

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by gnuite (Post 182255)
Aisu, earlier you mentioned having problems with the diablo initfs and/or kernel with your N810. I just tried to flash-and-reboot, and the kernel is definitely causing my N810 to stop booting. Have you managed to reflash with the diablo initfs or kernel?

Or do they only work with the N800?

No initfs problem. Had some kernel trouble, though.

I just grabbed the kernel from here. Works perfectly with Diablo, and I get a nice new feature :D

Just test it first, like it says there, before you actually install.

Mara 2008-05-17 01:39

Re: What do we know about Diablo (Maemo 4.1) ?
 
Quote:

Originally Posted by Mara (Post 180517)
Interesting... I assume that some AGPS functionality is already built in but it is not yet complete.

That's because there is one application that is in testing, which is basically showing a world map which you should point your rough location at the very first time. (Or after you have moved long distance since last fix.) Also the app asks permission to use packet data (GPRS/EDGE, etc.) for internet connection.

Some updates... It seem that the app uses active internet connection (WiFi usually) to keep AGPS data up to date. If that is not currently available, there is an option to use cell phone packet data connection as a backup.

I did test the fix time today after almost a week of not using GPS: At the very beginning GPS status showed ~10 visible satellites right away. After about a minute of waiting I got a fix. This is indeed promising... :) But need to test more to come into more firm conclusions. :rolleyes:


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8