Author Topic: [Tutorial] Clean install NITDroid on Nokia N9/50  (Read 174192 times)

Offline coderus

  • NITDroid <3
  • *****
  • Posts: 319
  • N9
[Tutorial] Clean install NITDroid on Nokia N9/50
« on: April 10, 2012, 08:58:30 pm »
First read A, B, C, choose your situation, then continue.

  • A. You have vanilla device with ORIGINAL firmware
    • Preventing display Scary Warranty Void message

      - run following command in shell (as user):
      disclaimer-cal remove View-openmode

    • Prepare for NITDroid
      You should disable SIM code request, NITDroid doesn't support it yet

    • Prepare for openmode
      You should remove accounts (will remove all setted accounts from device, you should create them again after reflashing)
      run following commands in shell (as user):
      rm -rf /home/user/.accounts
      rm -rf /home/user/.activesync
      rm -rf /home/user/.aegis


    • Flashing to dualboot kernel
      Before you proceed make sure that "Device lock" is not enabled in Harmattan (In Settings \ Security \ Device Lock \ Autolock: off). If you have an Mail-for-Exchange account configured, you may need to delete it before you can disable device lock.

      If flasher bombs out with "Devicelock ON: cannot flash unsigned image", then you didn't, go back and disable it.


      - Download flasher for Harmattan for your OS from here: [tablets-dev]
        (scroll down to "Maemo Flasher-3.12.1 Tool for Harmattan for your_favorite_OS"). Install/or/unpack it.
      - Download [dualboot kernel zImage]
      - Download Harmattan FIASCO image using [NaviFirm+] (in wine on Linux you can use [NaviFirmEx]), only one file, filename looks like DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin (for N950 you should extract img.bin from [here])
      - Check checksums of images. DFL61[..].bin image crc32 can be found in .vpl file, in NaviFirm images list. zImage md5 at the bottom of instruction.
      - Connect device to PC (if not connected), and select Synchronization mode for USB.
       For Windows OS-es
      • Copy both images to flasher directory
      • Type in command line (cmd.exe):
        cd path_to_directory_which_contains_your_flasher
        flasher.exe -a DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin -k zImage.pr13 --flash-only=kernel --suppress-warranty-warning -f -R
      For Linux OS-es
      • Type in terminal following commands:
        cd path_to_directory_which_contains_your_downloaded_images
        sudo flasher -a DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin -k zImage.pr13 --flash-only=kernel --suppress-warranty-warning -f -R
      >> Phone will be flashed to Dualboot kernel, and then rebooted.

    • Unpacking NITDroid archive to device
      - download archive: [nitdroid_n9_ics_alpha4.tar.bz2] (place it into /home/user/MyDocs folder, for example, it's root of N9 drive in mass storage mode)
      - run following commands in priveleged shell (devel-su):
      mkdir /home/nitdroid
      tar xjvf /home/user/MyDocs/nitdroid_n9_ics_alpha4.tar.bz2 -C /home/nitdroid


    • Unpacking Sillyboot menu for dualboot to device
      - download archive: [sillyboot_2.tar.bz2] (place it into /home/user/MyDocs folder, for example, it's root of N9 drive in mass storage mode)
      - run following command in priveleged shell (devel-su):
      tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C /
      *you can use Sillyboot2 mods with another graphics: [Sillyboot v2 multiboot mods thread]

      Reboot phone. Push "Volume Up" button when message "Press VolUp to boot alternative OS" appear . Wait a little, pray a little...

  • B. You using other openmode kernel and DON'T WANT to disable Scary Warranty Void message
    • Do only 2. 4. 5. 6.

  • C. You using openmode kernel and having Scary Warranty Void message and WANT to disable it
    • You should do FULL REFLASH to original firmware, and do all. Reflash to original image, without extra options, kernels, etc. Just:
      flasher -F DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin -f --suppress-warranty-warning -R

Known limitations:
  • OpenMode. Device Lock Code wouldn't work.
  • SIMLOCK. Sorry, you are out of luck, seems to be your device is locked by operator (do you have any obligatory contract?). Please, contact Nokia or operator representatives/support for more information..

*dualboot zImage.pr13 md5: 3f354a2b48a0b571ca32d6082391108a
*nitdroid_n9_ics_alpha4.tar.bz2 md5: db5c463710627d038fe7e5846dbb8956
*sillyboot_2.tar.bz2 md5: ffb0ce629a464489da0250bc4273de4f
« Last Edit: July 20, 2012, 04:50:31 am by coderus »

Offline thengkhai

  • NITDroid novice
  • *
  • Posts: 1
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #1 on: April 11, 2012, 12:28:21 am »
  • A. You have vanilla device with original firmware
    • Unpacking NITDroid archive to device
      - download archive: [nitdroid_n9_ics_alpha2_f.tar.bz2] [mirror] (place it into /home/user/MyDocs folder, for example)
      - run following commands in priveleged shell (devel-su):
      mkdir /home/nitdroid
      tar xjvf /home/user/MyDocs/nitdroid_n9_ics_alpha2_f.tar.bz2 -C /home/nitdroid

      *archive already contain [clean install] fix

    • Unpacking Sillyboot menu for dualboot to device
      - download archive: [sillyboot_2.tar.bz2] (place it into /home/user/MyDocs folder, for example)
      - run following command in priveleged shell (devel-su):
      tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C /
      *you can use Sillyboot2 mods with another graphics: [Sillyboot v2 multiboot mods thread]

    • Preventing display Scary Warranty Void message

      - run following command:
      disclaimer-cal remove View-openmode

    • Prepare for NITDroid
      You should disable SIM code request, NITDroid doesn't support it yet

    • Prepare for openmode
      You should remove accounts (will remove all setted accounts from device, you should create them again after reflashing)
      run following commands in shell (as user):
      rm -rf /home/user/.accounts
      rm -rf /home/user/.activesync
      rm -rf /home/user/.aegis


    • Flashing to dualboot kernel
      Before you proceed make sure that "Device lock" is not enabled in Harmattan (In Settings \ Security \ Device Lock \ Autolock: off). If you have an Mail-for-Exchange account configured, you may need to delete it before you can disable device lock.

      If flasher bombs out with "Devicelock ON: cannot flash unsigned image", then you didn't, go back and disable it.


      - Download flasher for Harmattan for your OS from here: [tablets-dev]
        (scroll down to "Maemo Flasher-3.12.1 Tool for Harmattan for your_favorite_OS"). Install/or/unpack it.
      - Download [dualboot kernel], Harmattan FIASCO image using [NaviFirm+] (in wine on Linux), only one file, filename looks like DFL61_HARMATTAN_30.2012.07-1_PR_LEGACY_001-OEM1-958_ARM.bin
      - Connect device to PC (if not connected), and select Synchronization mode for USB.
       For Windows OS-es
      • Copy both images to flasher directory
      • Type in command line (cmd.exe):
        cd path_to_directory_which_contains_your_flasher
        flasher -a DFL61_HARMATTAN_30.2012.07-1_PR_LEGACY_001-OEM1-958_ARM.bin -k zImage --flash-only=kernel -f -R
      For Linux OS-es
      • Type in terminal following commands:
        cd path_to_directory_which_contains_your_downloaded_images
        sudo flasher -a DFL61_HARMATTAN_30.2012.07-1_PR_LEGACY_001-OEM1-958_ARM.bin -k zImage --flash-only=kernel -f -R
      >> Phone will be flashed to Dualboot kernel, and then rebooted. Push "Volume Up" button when message "Press VolUp to boot alternative OS" appear . Wait a little, pray a little...

  • B. You using other openmode firmware
    • Do only 1. 2. 4. 6.

  • C. You using openmode kernel and having Scary Warranty Void message and want to disable it
    • You should do FULL REFLASH to original firmware, and do all.

Known limitations:
  • OpenMode. Device Lock Code wouldn't work.
  • SIMLOCK. Sorry, you are out of luck, seems to be your device is locked by operator (do you have any obligatory contract?). Please, contact Nokia or operator representatives/support for more information.

*dualboot zImage md5: 94d796f63b7c66ef796fce5209134e05
*nitdroid_n9_ics_alpha2_f.tar.bz2 md5: a36c28a8de40d23f3fd9743da2b71677
*sillyboot_2.tar.bz2 md5: ffb0ce629a464489da0250bc4273de4f
The link that you provided(nitdroid_n9_ics_alpha2_f.tar.bz2) had to solve all problems?
etc: Hypersensitive Accelerometer problem,Wi-Fi problem
sorry for my bad english... hope you understand~

Offline coderus

  • NITDroid <3
  • *****
  • Posts: 319
  • N9
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #2 on: April 11, 2012, 04:11:00 am »
don't make so big quote :D
and no, accelerometer i forget to include..i will do it soon. and wifi unsolvable yet. isn't it?

....
done, accelerometer fix included
« Last Edit: April 11, 2012, 04:31:27 am by coderus »

Offline Dousan

  • NITDroid user
  • **
  • Posts: 44
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #3 on: April 11, 2012, 05:35:13 am »
Yeah wifi 'fix' is different for every one as it's your wifi name and login code you write in the 'fix'. So as of now couldn't be made as a common 'fix' in alpha 2.

Regards Dousan...


Offline coderus

  • NITDroid <3
  • *****
  • Posts: 319
  • N9
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #4 on: April 11, 2012, 05:46:27 am »
And all secure wifi stations i used worked fine. Again and again and never forget pass. Aura =)

Offline miteka

  • NITDroid pro
  • ***
  • Posts: 143
  • N9 is a prize from God
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #5 on: April 11, 2012, 06:45:41 am »
Where the zimage file link?
N9 is a prize from God

Offline coderus

  • NITDroid <3
  • *****
  • Posts: 319
  • N9
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #6 on: April 11, 2012, 06:49:42 am »
In text =)

...
okay, made it more bright for blind people.
« Last Edit: April 11, 2012, 06:53:21 am by coderus »

Offline miteka

  • NITDroid pro
  • ***
  • Posts: 143
  • N9 is a prize from God
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #7 on: April 11, 2012, 07:01:13 am »
sorry :D
N9 is a prize from God

Offline dougian

  • NITDroid novice
  • *
  • Posts: 5
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #8 on: April 14, 2012, 10:38:21 am »
Upon executing tar xjvf /home/user/MyDocs/nitdroid_n9_ics_alpha2_f.tar.bz2 -C /home/nitdroid i got the following:
Quote
tar: can't remove old file system/lib/modules/current: Is a directory
also after tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C / i get :
Quote
tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C /
sbin/preinit
tar: can't remove old file sbin/preinit: Permission denied
:( . I'm working on a stock n9 with pr1.2  under devel-su. Any thoughts? (also can't rm -rf the accounts)

Offline miteka

  • NITDroid pro
  • ***
  • Posts: 143
  • N9 is a prize from God
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #9 on: April 14, 2012, 11:00:15 am »
Upon executing tar xjvf /home/user/MyDocs/nitdroid_n9_ics_alpha2_f.tar.bz2 -C /home/nitdroid i got the following:
Quote
tar: can't remove old file system/lib/modules/current: Is a directory
also after tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C / i get :
Quote
tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C /
sbin/preinit
tar: can't remove old file sbin/preinit: Permission denied
:( . I'm working on a stock n9 with pr1.2  under devel-su. Any thoughts? (also can't rm -rf the accounts)
i suggest to you to backup all of your data to computer and clear your device, after that you can reiinstall the kernel, sillyboot and nitdroid, i am sure that will be success
ps : i do that step and i  succes
N9 is a prize from God

Offline dougian

  • NITDroid novice
  • *
  • Posts: 5
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #10 on: April 14, 2012, 11:04:02 am »
i've already backed up my contacts and conversations.. What do you mean by clear? from within harmattan? Flash a new kernel? what? :/

Offline miteka

  • NITDroid pro
  • ***
  • Posts: 143
  • N9 is a prize from God
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #11 on: April 14, 2012, 11:05:51 am »
i've already backed up my contacts and conversations.. What do you mean by clear? from within harmattan? Flash a new kernel? what? :/
harmattan
setitings
reset
clear device
if your phone isn't clear, try to flash first, then clear device

ps : backup you music, video, picture, etc too
N9 is a prize from God

Offline n9durdin

  • NITDroid novice
  • *
  • Posts: 6
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #12 on: April 14, 2012, 11:36:13 am »
  • Preventing display Scary Warranty Void message
    ...
    - run following command:
    disclaimer-cal remove View-openmode
Did anyone tried that? I've ran this command as root but it shown me only this error:
Code: [Select]
CAL ERROR: nand_write: write (4096 bytes at around 001c1000): Input/output error
disclaimer-cal: Failed to write CAL

Offline Sniper_swe

  • Administrator
  • I know all there is to know!
  • *****
  • Posts: 264
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #13 on: April 14, 2012, 11:44:09 am »
run as user

Offline miteka

  • NITDroid pro
  • ***
  • Posts: 143
  • N9 is a prize from God
Re: [Tutorial] Clean install NITDroid on Nokia N9
« Reply #14 on: April 14, 2012, 11:50:09 am »
thanks sniper, i forget it, ;D
N9 is a prize from God