maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Nokia & AEGIS open-mode (https://talk.maemo.org/showthread.php?t=81579)

marrat 2012-01-19 10:14

Re: Nokia & AEGIS open-mode
 
I like it!


Current mode: open
IMEI: xxxxxxxxxxx
Credentials:
UID::user
GID::developer
CAP::chown
CAP::dac_read_search
CAP::fowner
CAP::fsetid
CAP::kill
CAP::linux_immutable
CAP::net_bind_service
CAP::net_broadcast
CAP::net_admin
CAP::net_raw
CAP::ipc_lock
CAP::ipc_owner
CAP::sys_chroot
CAP::sys_ptrace
CAP::sys_pacct
CAP::sys_boot
CAP::sys_nice
CAP::sys_resource
CAP::sys_time
CAP::sys_tty_config
CAP::lease
CAP::audit_write
CAP::audit_control
CAP::setfcap
GRP::root
GRP::dialout
GRP::video
GRP::pulse-access
GRP::users
GRP::metadata-users
GRP::calendar
AID::.develsh.
Cellular
TrackerReadAccess
TrackerWriteAccess
Location
FacebookSocial
tracker::tracker-extract-access
tracker::tracker-miner-fs-access
libaccounts-noa::accesssvt
package-manager::packagemanager_limited
package-manager::packagemanager_private
icd2::icd2-plugin
develsh::develsh

Even develsh without installing anything other than dev-mode

My Nokia, Facebook, Twitter Accounts are working. Installing apps from Store is working.

wolke 2012-01-20 02:14

Re: Nokia & AEGIS open-mode
 
had to scour the internet to write this informal guide for myself to occasionally reflash as i try dangerous(?) things like mounting the entire mmc as ext4 or btrfs on /home/user {btw any one do this?}

perhaps this is the place to record it?

=================================
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
=================================

qole 2012-01-20 02:42

Re: Nokia & AEGIS open-mode
 
The next thing we have to do is find the location of that Big Scary Warning and change the image to a big friendly welcome to Open Harmattan.

marrat 2012-01-20 08:46

Re: Nokia & AEGIS open-mode
 
What I can say after the first 24 hours in Open Mode: In normal day use I didn't feel any difference to my other N9 in normal mode.

All accounts are working (Nokia, Facebook, Twitter, Skype), Store is working, Maps and Drive is working. No password re-enter needed after reboot. What I didn't try though is lock code.

Only differences are big scary warning and devel-su; develsh grants me everything :)

rafael2k 2012-01-20 13:17

Re: Nokia & AEGIS open-mode
 
People, I flashed my N950 with the patched kernel which enables the open mode for more then a week.
I'm really happy about been able to run debian in a chroot, use the mount command and so on!!
Also, I had no other problems beyond having to retype each reboot the passwords of both skype and nokia account.
OpenMode rulez! I'll never get back to aegis protected mode.

rlinfati 2012-01-20 14:25

Re: Nokia & AEGIS open-mode
 
Quote:

Originally Posted by qole (Post 1153080)
The next thing we have to do is find the location of that Big Scary Warning and change the image to a big friendly welcome to Open Harmattan.

/usr/share/osso*....

( is not my n9 here )

nieldk 2012-01-20 14:31

Re: Nokia & AEGIS open-mode
 
Quote:

Originally Posted by rlinfati (Post 1153296)
/usr/share/osso*....

( is not my n9 here )

/usr/share/osso/boot/rle/disclaimer-openmode_(lang).rle (lang is your current language, eg en=disclaimer-openmode_en.rle)

But will need to dissassemble those resource files and replace the images contained within, then assemble, and replace original one(s)

rafael2k 2012-01-20 16:09

Re: Nokia & AEGIS open-mode
 
People, are there any difference between this kernel:
http://mail.pdaxrom.org/~sash/N9/
and this one:
http://maemo.cloud-7.de/HARM/N9/openmode_kernel_PR1.1/

ps: I'm using the latest.

qole 2012-01-20 21:33

Re: Nokia & AEGIS open-mode
 
So the Nokia policy going forward for releasing the source code for the kernel looks like it will remain as it is now. I asked if they would release the source for the new PR1.2 release candidate on this blog post, and the answer was sadly predictable:

Quote:

@qole: Source code is available upon request as stated in your PLA.

qwazix 2012-01-20 22:04

Re: Nokia & AEGIS open-mode
 
question: Does the disclaimer remain forever or it returns to normal if you flash again with the official kernel?


All times are GMT. The time now is 07:27.

vBulletin® Version 3.8.8