![]() |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
I've successfully booted my own compiled kernel right now. But at the moment I've some problems with initrd but should figure it out sooner or later
|
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
Quote:
https://github.com/KonstaT/sailfisho...oot-img.sh#L17 Looks like there's only a dummy ramdisk inside boot.img. Have you btw dumped the original boot partition from the device? Or at least could someone upload the kernel config (/proc/config.gz) from an actual device? It should be quite close to boston_mer_defconfig but still not exactly. According to this, there's also a tool for flashing partitions in the system. https://github.com/KonstaT/sailfisho...bootimg-sbj.sh Edit. Oh wow, my posts are moderated before publishing for some reason. This message appearead here several days (~week?) later. Seriously, wtf?! If I've done something to deserve a post ban - then just issue one, but this is just ridiculous. |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
It is working now. I'm preparing an easy guide with an image.
As I'm typing this, I'm backing up my mmcblk0p* partitions. The best thing, you don't even have to modify your recovery partition :) I've written the guide here: https://wiki.merproject.org/wiki/Sai...prebuilt_image As you can see I'm really not good at this kind of stuff. If some one with some skill in mediawiki wants to improve feel free. For questions use this thread or write me a pm. Please be careful, I won't take any responsibility for your actions. This guide is for users who know what they are doing |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
Quote:
I am trying to contact you but do not have private message privileges on this forum for some reason. Can you please email me? allegation at gmail.com Thank you. |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
Thank you very much for the instructions. I was able to boot your image. I also added some missing details I discovered on the way to the Wiki.
For a real fastboot recovery image, I would appreciate support for ssh and also NFS. Then we could copy the files directly to the host instead of going through the SD card. |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
I was able to dualboot mine, too.
Actually I booted the stock kernel but with a different rootfs, you do not need to do any changes to the kernel configuration since you can override the command line when mkbootimg'ing. The stock kernel image, cmdline and initramfs are stored in /boot/boot.img (this is in mkbootimg format). There are several (Android) programs around to "unmkbootimg" this and get the raw kernel images et all. Also, the format is simple enough to decode manually. The stock kernel cmdline, stored in this file, is: Code:
init=/sbin/preinit root=/dev/mmcblk0p28 rootfstype=btrfs rootflags=recovery noinitrd androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 maxcpus=2 Some comments to the wiki page https://wiki.merproject.org/wiki/ind.../Backup_Device that may be interesting if creating your own bootimgs:
EDIT: I've now changed the above wiki page (section "Build your own image"). Waiting for feedback if you're trying to build your own images! |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
Hello,
I've tried building the bootimage with an extra ramdisk but so far only got instant reboot, so I decided to include it directly into the kernel. Did you actually had success including a ramdisk with mkbootimg? I think you need to specify an offset to the kernel, which declares the location of the image. Something like Code:
initrd=0x02200000 My first priority was to provide an fast solution to backup your device ;). Now I have some time and will look into it and include an ssh server for example. Edit: Ramdisk inclusion with boot.img worked. I've no idea why it did'nt last time I tried. Perhaps because it was already very late and I'm tired ;) So this is clearly the preferred method over init inclusion in kernel image. |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
I think it would be interesting to know whether these partitions are actually the same for all devices or if they contain anything specific for each phone. So here are SHA1 checksums of my backups.
Code:
$ sha1sum mmcblk0p{1..27}.img Please let me know if yours differ from mine above. |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
Yep, actually a lot differ:
Code:
fd13511082820e36c0cada61862457152bc8483c mmcblk0p1 |
Re: [HOWTO] Comprehensive Firmware Flashing Guide for Jolla
So dissapointed with the wireless support (no monitor mode/injection)
Does anyone have a clue to which card is in the device ? Code:
[nemo@localhost ~]$ sudo iw list |
All times are GMT. The time now is 14:59. |
vBulletin® Version 3.8.8