Reply
Thread Tools
Posts: 29 | Thanked: 15 times | Joined on Jun 2013
#1
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's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#2
no, please don't do it. everything you can do without flashing.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#3
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?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#4
You mean a cfw
coderus was on of the kingpins !
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#5
Originally Posted by nokiabot View Post
You mean a cfw
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.
 
Posts: 29 | Thanked: 15 times | Joined on Jun 2013
#6
Originally Posted by peterleinchen View Post
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
 
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#7
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!).
 

The Following 3 Users Say Thank You to hedayat For This Useful Post:
Posts: 29 | Thanked: 15 times | Joined on Jun 2013
#8
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's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#9
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 29 | Thanked: 15 times | Joined on Jun 2013
#10
Originally Posted by pmrb View Post
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:45.