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)

ggabriel 2013-12-25 18:30

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

Originally Posted by djselbeck (Post 1399294)

Thans for this, I've just backed up my Jolla just in case :-)

Question: is there any point in dd'ing (backig up) the beginning of the eMMC? I'm unsure as to whether there is anything useful there.

javispedro 2013-12-26 17:19

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

Originally Posted by ggabriel (Post 1400592)
Thans for this, I've just backed up my Jolla just in case :-)

Question: is there any point in dd'ing (backig up) the beginning of the eMMC? I'm unsure as to whether there is anything useful there.

Yes, the GPT . You may even just dd the entire mmc. I do not see any benefits on having backups on the individual partitions.

rainisto 2013-12-26 21:59

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

Originally Posted by javispedro (Post 1400784)
Yes, the GPT . You may even just dd the entire mmc. I do not see any benefits on having backups on the individual partitions.

Benefit for seperate partition backup is that atleast one partition is read-only, so you will get write errors if you try to restore entire mmc.

javispedro 2013-12-26 23:38

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

Originally Posted by rainisto (Post 1400858)
Benefit for seperate partition backup is that atleast one partition is read-only, so you will get write errors if you try to restore entire mmc.

So you can overwrite the GPT header, thereby bricking the device, but not one partition? :P

And in any case, it is trivial to skip write errors when restoring, as it is to extract individual partitions from a full eMMC image.

Less trivial (and possibly impossible) is to combine different partition images into a single image, because, among other things, you are now missing everything that wasn't within partition limits. Which I would say normally would not be a problem, as there should be no important data there, except when ...... manufacturers do weird things, like the above.

nieldk 2013-12-27 16:07

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
From the recent update to Sailfish, I think this package is intererresting:
flash-partition-0.2.9-10.12.1.jolla.armv7hl Tool for flashing platform images on device.

nieldk 2013-12-27 19:31

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

Interresting update to recovery mode

Code:

Recovery mode
If a factory reset cannot be performed or if the device has booting issues,

•Unplug USB cable and turn off device
•Press volume down and power on the device
•Plug in USB cable and using USB networking telnet to 192.168.2.15 or 10.42.66.66 and follow the instructions

From
https://together.jolla.com/question/...update-2-1025/

djselbeck 2013-12-27 19:48

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Tested it, seems to be very limited :)

Code:

-----------------------------
    Jolla Recovery v0.1   
-----------------------------
Welcome to the recovery tool!
The available options are:
1) Reset phone to factory settings
2) Reboot phone
3) Exit
Type the number of the desired action and press [ENTER]:


djselbeck 2013-12-27 20:02

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
GREAT, that update removed the ability to boot custom kernels directly from fastboot. I'm very angry, this was the best rescue possiblity from brick. :mad::mad::mad::mad:

Code:

fastboot -i 0x2931 boot boot.img
downloading 'boot.img'...
OKAY [  0.378s]
booting...
FAILED (remote: access denied. need privilege!)
finished. total time: 0.381s


tiempjuuh 2013-12-27 20:31

Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
 
Okay, so that's a reason to be angry indeed. Why did they do this for God's sake?! Maybe an employee can explain it? :)

nieldk 2013-12-27 20:31

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

Originally Posted by djselbeck (Post 1401182)
GREAT, that update removed the ability to boot custom kernels directly from fastboot. I'm very angry, this was the best rescue possiblity from brick. :mad::mad::mad::mad:

Code:

fastboot -i 0x2931 boot boot.img
downloading 'boot.img'...
OKAY [  0.378s]
booting...
FAILED (remote: access denied. need privilege!)
finished. total time: 0.381s


hmmm

a few suggestions (dangerous I guess)
fastboot erase recovery
fastboot oem unlock ( I already did that one, so I will try if I can fastboot boot boot.img) !

EDIT: No, fastboot oem unlock does not help. I also now am unable to boot recovery kernel boot-telnet-initrd.img :(


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

vBulletin® Version 3.8.8