maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   [HOWTO] Comprehensive Firmware Flashing Guide for Jolla (https://talk.maemo.org/showthread.php?t=91885)

djselbeck 2014-08-28 17:03

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
This was basically what I have done, when Jolla themself hadn't provided the recovery. Own kernel with network. This works as long as you have your bootloader unlocked.

If you tamper with your device and have it still locked, you are well, you know ... :)

javispedro 2014-08-28 19:46

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Quote:

Originally Posted by djselbeck (Post 1437291)
If you tamper with your device and have it still locked, you are well, you know ... :)

That's why I was trying to figure out if flashing using fastboot has any benefit over booting via fasboot..

But fastboot flashing is also closed when the bootloader is locked, so it has no benefit at all.

nieldk 2014-08-28 19:55

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Quote:

Originally Posted by javispedro (Post 1437334)
That's why I was trying to figure out if flashing using fastboot has any benefit over booting via fasboot..

But fastboot flashing is also closed when the bootloader is locked, so it has no benefit at all.

Well, there are enough users to what I have seen, having difficulties using recovery.
Providing a flashable image that can be restored with fastboot simplifies this.
Not different than what is done on all Android devices which also uses fastboot protocol.
Yes, recovery is fine and can do the same with dd.
However, using dd greatly increase the risk of erasing the wrong partition (for example bootloader)

djselbeck 2014-08-28 20:14

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
But android just needs to flash the system/boot partitions which are small compared to sailfishs structure. So I think this is the biggest problem. I don't know if there is a way around other than small recovery image with USB support.

What probably should work is to create an image file without the whole free space at the end. I don't know if that was your plan?

salyavin 2014-10-20 19:40

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
http://www.jollausers.com/2014/10/fi...recover-jolla/

looks like it might help recover.

veeall 2014-11-06 05:05

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
hi!
I have created dd image from my mmcblk0p28 partition, recovered from it, but have been striken with btrfs problems (i guess) and frequent app crashes which were basically limiting my multitasking to just two simultaneosly opened apps.

Now i have a new install and i would like to transfer files from the home directory of the dd image to a phone, but there are no /home/nemo directory in dd image when mounted.

How to properly mount this dd image to access personal files from /home/nemo directory? Please help!

nieldk 2014-11-19 13:28

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Quote:

Originally Posted by veeall (Post 1446090)
hi!
I have created dd image from my mmcblk0p28 partition, recovered from it, but have been striken with btrfs problems (i guess) and frequent app crashes which were basically limiting my multitasking to just two simultaneosly opened apps.

Now i have a new install and i would like to transfer files from the home directory of the dd image to a phone, but there are no /home/nemo directory in dd image when mounted.

How to properly mount this dd image to access personal files from /home/nemo directory? Please help!

Copy the dd image (lets name it backup.img in the example) to a linux maschine, mount the dd image and then kust copy the files from the mounted location (backup in example)

Code:

mkdir /backup
mount -o loop backup.img /backup

You should now find all the files from sailfish partition in /backup folder. Including home/nemo and you can just copy from there.

You should also be able to mount the image on-device, allthough more safe to work with a copy, on the linux box.

szopin 2014-12-17 18:56

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
from latest posting on blog.jolla.com:
Code:

We already know that it is possible for us to build a signed Linux boot loader that will load unsigned boot images and we’ve tested this already. But a boot loader that loads unsigned boot images can have other consequences in terms of security.

Here are the technical basics:

    It should be possible to enable or disable entering UEFI settings/UEFI shell at boot-up through a key combo – in there you can supposedly set up your own UEFI PK/db/dbx etc. keys
    It is possible to reboot into UEFI settings from Sailfish OS
    efilinux is used and has to be signed by something in UEFI PK/db/dbx and it can check signatures of the Linux kernel+initrd (boot images)
    We don’t currently use UEFI shim loader so no MOK functionality
    Kernel uses/can use CONFIG_MODULE_SIG kernel option
    There’s no ‘fastboot oem unlock’ functionality currently, but flashed images need to be appropriately signed towards SecureBoot configured keys in order to boot, but efilinux can be modified

This is an invitation to discuss how we should make a device security configuration that has appropriate balance between hackability and privacy/security. Nothing is set in stone but there might be hardware or technology imposed limitations

edit: just noticed I didn't copy the part that invitation is mostly to irc, then again pretty sure author is aware of this thread

osandor81 2015-12-13 15:57

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Hi there. Help revive the phone. The following is the situation: there is no picture on my phone, no logo, no nothing. each responds to all buttons, you can switch to the telnet connection can react, the screen is lit but no picture. So I thought back to the cart system. SHELL menu should think of something to do.Write it off, step by step installation process? What programs should I take it? Thanks.

pichlo 2015-12-13 17:33

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
https://jolla.zendesk.com/hc/en-us/articles/204709607


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

vBulletin® Version 3.8.8