maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   building an image (https://talk.maemo.org/showthread.php?t=94226)

pmrb 2014-11-28 11:01

building an image
 
Hi,

How is it possible to modify a firmware image please?

For example, how can I open or unpack or mount the image
"DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin" ?

And then replace some files, and in the end rebuild a new image for flashing?

TIA for any hints, Peter

coderus 2014-11-28 12:20

Re: building an image
 
no, please don't do it. everything you can do without flashing.

peterleinchen 2014-11-28 12:24

Re: building an image
 
Unpacking goes with old flasher 3.5 (N900), parameter -u or --unpack.
But getting it together not.

This might be possible with pali's open flasher 0xffff, but I am not sure now. Just go ahead.

--
BUT you know how to deal with AEGIS?

nokiabot 2014-11-28 16:23

Re: building an image
 
You mean a cfw :eek:
coderus was on of the kingpins !

thedead1440 2014-11-28 17:15

Re: building an image
 
Quote:

Originally Posted by nokiabot (Post 1449699)
You mean a cfw :eek:
coderus was on of the kingpins !

Therein lies the main difference between Symbian/Android and Harmattan. You don't need to jump thru hoops to change some system files by unpacking firmware then flashing a cfw.

pmrb 2014-11-28 19:07

Re: building an image
 
Quote:

Originally Posted by peterleinchen (Post 1449678)
This might be possible with pali's open flasher 0xffff, but I am not sure now. Just go ahead.

--
BUT you know how to deal with AEGIS?

No, it seems Aegis is something very complicated. It seems to be difficult to build a cfw for the n9, and I don't want to take the risk to brick it.
I just had a little hope, that there would be something as easy as "make" for building a cfw. (I'm used to OpenWrt.)

(When I bought the N9, I thought, that it would be possible to build a cfw from source ("make world"), just some files would be "binary blobs" from Nokia.)

Thanks for your help, Peter

hedayat 2014-11-29 07:14

Re: building an image
 
Once I had modified (not creating from scratch) harmattan firmware and built a new slightly modified kernel; and you can find the tools to unpack/re-pack firmware in this forum. However, as being said, it's usually better to not do it; unless you are required to.

But, building a firmware from source could have lots of issues that you should deal with yourself, as nobody has done it (at least, publicly!).

pmrb 2014-12-01 15:27

Re: building an image
 
Hi,

Probably the least risky way is flashing original firmware and then modifying individual files step by step. So I only need backups of modified files.

But it seems, that there are dozens of original firmwares and there is no more official download location? I have the firmware for product code 059J228. But can I use it for an N9 with another code?
Or should I buy only a model with same product code?

TIA for any hints, Peter

coderus 2014-12-01 15:49

Re: building an image
 
http://talk.maemo.org/showthread.php?t=82693

pmrb 2014-12-02 20:57

Re: building an image
 
Quote:

Originally Posted by pmrb (Post 1450099)
Probably the least risky way is flashing original firmware and then modifying individual files step by step.

There seems to be problem: I still rely on downloads.maemo.nokia.com to get the developer-mode. What happens, when this site disappears?

Or am I missing something?

Here in detail how I would like to prepare a new N9 (even some years in the future, when there is no more nokia.com):
- flash device with original firmware (I have flasher and the firmware)
- enable developer-mode (here it seems, that nokia.com is needed)
- copy packages and other files from my backups to device with ssh

(Perhaps I really need to switch to uniboot, but I would like to keep it as basic as possible...)

Ok, I've one idea: simulating downloads.maemo.nokia.com on a local server. But other (probably better) ideas are very welcome!

TIA for your efforts, Peter


All times are GMT. The time now is 18:09.

vBulletin® Version 3.8.8