View Single Post
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#1
Starting this thread upon recommendation of javispedro...
The original at FMC has become somewhat outdated, given where everything's at now.
Thanks to wolke for the following summary of how-to's, & qole for modifications:
05/11/12: please also read this, which is not in the info. below
=================================
TO GET THE FLASHER APP:
http://tablets-dev.nokia.com/maemo-d...-downloads.php

grab the flasher for your OS that says 'for Harmattan', e.g.:
flasher_3.12.1_amd64.deb

install it, e.g.:
sudo dpkg -i flasher*.deb
=================================
=================================
TO GET FIRMWARE IMAGE or EMMC IMAGE:
-get your product variant code {most look like 059****} from the sim card tray
{mine, the malaysian 64 GB, is 059J238}
-{you can get NaviFirmEx here: https://code.google.com/p/navifirmex/}
-run:
wine NaviFirmEx/NaviFirmEx.exe
change server to: Nokia Care Suite
phone is n9...
-pick the latest-looking release that has your code
-copy the link location of the large file and wget it
emmc should have the word 'emmc' in it and most are ~1.8GB
e.g.: 2C899062_DFL61_HARMATTAN_20.2011.40-4.SEAP_EMMC_SEAP.bin
flasher is the other one and most are ~1.1GB
e.g.: DFL61_HARMATTAN_20.2011.40-4_PR_LEGACY_005-OEM1-958_ARM.bin
-rename them to firmware.bin or emmc.bin if you feel like it.
=================================
=================================
TO GET OPEN KERNEL:
http://maemo.cloud-7.de/HARM/N9/openmode_kernel_PR1.1/

patched: {you probably want this}
http://maemo.cloud-7.de/HARM/N9/open...dfl61-20113701
unpatched:
http://maemo.cloud-7.de/HARM/N9/open...dfl61-20113701

both gave me the big scary warning on a malaysian n9 64gb.
patched appears to work out-of-the-box {no aegis, real root}.
unpatched wouldnt let me restart sshd.

rename it to 'openkernel' if you feel like it.
=================================
=================================
TO FLASH FIRMWARE, KERNEL and/or EMMC:
1) install the flasher app
2) get the firmware image {i rename it 'firmware.bin'}
you must always flash the firmware first, and then the emmc and/or the kernel.
{you can do the emmc at the same time as firmware}
3) get the kernel {i rename it 'openkernel'}, and/or the emmc {i rename it 'emmc.bin'}
4) turn off your N9
5) unplug your N9 from the usb so you dont start until you are ready
6) run the first firmware command below. wait until it says waiting...
7) plug in your phone via usb to start flashing immediately.
when one command finishes {it will say 'Success'},
IMMEDIATELY run the next flasher command.
if the phone reboots in between commands, start over or you will brick it. {i find that the phone reboots in ~10s}

FIRMWARE + KERNEL
NOTE: deletes apps, and a lot of settings {everything not in /home}.
does NOT delete DCIM, or anything else in MyDocs

*Nokia claims this voids your warranty*
flasher -F firmware.bin -f
flasher -F firmware.bin -k openkernel --flash-only=kernel -f -R

FIRMWARE + EMMC
NOTE: DELETES ALL PERSONAL DATA, ALL APPS, AND EVERYTHING ELSE.
*Nokia is FINE with this.*
flasher -f -F firmware.bin -F emmc.bin -R

FIRMWARE + KERNEL + EMMC
NOTE: DELETES ALL PERSONAL DATA, ALL APPS, AND EVERYTHING ELSE.
*Nokia claims this voids your warranty*
flasher -f -F firmware.bin -F emmc.bin -R
flasher -F firmware.bin -k openkernel --flash-only=kernel -f -R
=================================

2 lists of what's definitely working, & what's not or may not.
Thanks again wolke for this! (headings link to original -potentially more updated- posts)

List of things that definitely work:
the point of this is to illustrate that everything works, except the things that dont. if you havent seen anything that doesnt, dont worry.
01) phone/contacts/conversations
02) openvpn
03) gps/maps/drive/turn-by-turn-directions
04) ssh over wifi/usb/wifi-hotspot as root or user
05) vncserver {vnc-ing INTO the n9, not FROM the n9. havent found a vncclient yet}
06) wifi-hotspot {joikuspot. you have to run a terminal cmd first}
07) firefox {fennec v11~a1, no flash yet, but it could be coming}
08) camera {video, iso, white bal, flash}
09) tklock-both {power button unlocks lockscreen + homescreen}
10) things i compile in scratchbox
11) locally&remotely executable terminal commands to:
+customize launcher-buttons on home screen
+change profiles {silent/meeting/general}
+(un)lock lock/home screens {simulate power-btn short, long, and double press}

+Nokia N9 64GB Black 059J238 {malaysian}
+PR1.1
DFL61_HARMATTAN_20.2011.40-4_PR_LEGACY_005-OEM1-958_ARM.bin
+patched open kernel
zImage-2.6.32.39-dfl61-20113701

Things that possibly aren't solvable, even with open mode:

1) big scary warning
we know about disclaimer-cal and /usr/share/osso/boot/rle, but removing these does not remove it,
inserting modified RLEs does not fix it.
flashing with --suppress-warranty-disclaimer does not fix it, nor does flashing emmc.

2) cannot downgrade firmware
i REALLY REALLY want to solve this problem. i think its worth exploring how to, e.g.: flash the very first version so that any arbitrary version can be installed. from what i can tell, the problem is 100% the flasher app. maybe theres another flasher app already? maybe some reverse engineering could be gotten underway to do so? this is not impossible to do, and theres nothing malicious about wanting to do it {e.g. to test previous versions}.
the sole purpose for stopping downgrades is to patch-up aegis holes, and the sole purpose for aegis to exist is so that businesses dont shy away from 'open platforms'. large corporations dont know how to do business in an environment where they cant abuse the endusers.

3) ~/.profile is read by the thing that starts up the xserver-ish monstrosity, and you can BRICK YOUR PHONE AND LOSE YOUR EMMC {photos, convos, contacts, etc} if you do something stupid to it.
http://talk.maemo.org/showthread.php?t=81813

4) /root/.bashrc is overwritten in a stupid way
silly bug, no lasting damage, easy workaround, what the hell is doing it and why?
http://talk.maemo.org/showthread.php?t=81794

5) chroot!
im surprised this isnt up and working. at least one person has it on an n950.

6) pidgin
libpurple and gtk+ are working, with vkbd support!
so where's ma pidgin. {im occasionally working on this one, but its a pain.}

7) thunderbird, claws-mail, SOMETHING
my only requirement for email be that the whole msg {headers, body, and attachments} of all messages be fetched both on a schedule and by demand, and permanently stored offline.
i dont need my reader integrated with my fetcher.
i dont need my writer integrated with my reader.
fetch/read/write are very separate tasks for me that i only occasionally do at the same time.

8) lock screen customization
you can add an icon by setting a gconf string. im led to believe you can also tweak style.
i want a count of my missed calls, texts, and emails-by-account, and maybe a smaller clock to save battery. i would also like battery percentage and stats

9) making the power button {and vol buttons?} run arbitrary commands for short/long/double
namely, double-press to toggle my flashlight.
it seems you can send arbitrary dbus messages in mce.ini, so this should be doable. however, i dont know how to toggle the flashlight with dbus; i use a closed source 'app' called PhoneTorch; its nice because you can just phonetorch/killall phonetorch from a terminal, which may or may not be necessary for this.

10) full vnc control
i want to be able to simulate touch-screen drags, or at least control the main interface.

soln: netview

Last edited by jalyst; 2013-03-05 at 13:54. Reason: update
 

The Following 22 Users Say Thank You to jalyst For This Useful Post: