rinigus | @b100dian: morning! I have full lineage building now, it just doesn't not boot. Something is wrong with kernel, dtbo, or some other aspect of boot images. It stops booting quite early (Sony logo disappears in way shorter interval than usual). It's stock kernel and copyleft dtbo. I wonder if there are some tools to compare dtbo between mine and stock. I can make dts from both, but maybe something can automatically compare it by | 05:04 |
---|---|---|
rinigus | assembling fragments into single logical tree. | 05:04 |
rinigus | Will continue with troubleshooting tonight | 05:04 |
ecrn | you can locate fdts in dtbo using binwalk and then extract using dd | 07:26 |
ecrn | then dtb -I dtb -O dts file.dtb -o file.dts | 07:26 |
ecrn | for each fdt extracted | 07:26 |
ecrn | and compare them between the dtbo.imgs | 07:26 |
ecrn | but there also is a header in the dtbo.img which contains revision numbers so that the bootloader knows which one to load | 07:27 |
ecrn | I compared it using hexdump because it is a simple C structure | 07:28 |
ecrn | https://source.android.com/docs/core/architecture/dto/partitions | 07:28 |
ecrn | binwalk also can extract by itself, when asked in arguments | 07:31 |
ecrn | "dtc -I dtb -O dts file.dtb -o file.dts" not "dtb -I dtb -O dts file.dtb -o file.dts" | 07:32 |
rinigus | ecrn: thanks! I used extract-dtb so far. but stock and my build have already different number of dtb/dts files, so comparison is bit trickier. will check also binwalk | 10:03 |
ecrn | ok | 10:07 |
ecrn | rinigus: https://pastebin.k4be.pl/view/raw/4942ca43 | 10:08 |
ecrn | I came up with this | 10:08 |
ecrn | it should extract the dtbs according to the headers | 10:09 |
ecrn | and also dump the headers | 10:09 |
ecrn | so that you can compare the fields for the bootloader | 10:09 |
ecrn | https://pastebin.k4be.pl/view/raw/d88e6163 | 10:10 |
ecrn | example output | 10:10 |
ecrn | https://pastebin.k4be.pl/view/raw/5ce75efa output during extraction | 10:11 |
ecrn | https://pastebin.k4be.pl/view/raw/ab6eb1a8 version with corrected typo | 10:12 |
ecrn | https://pastebin.k4be.pl/view/raw/af5e1825 corrected mode for new files | 10:17 |
rinigus | ecrn: thanks! will test tonight | 10:53 |
ecrn | as for merging the device trees with overlays | 12:09 |
ecrn | there is ovmerge and dtmerge util | 12:09 |
ecrn | https://github.com/raspberrypi/utils | 12:09 |
ecrn | haven't used that one | 12:10 |
*** phlixi is now known as Guest2535 | 12:46 | |
*** phlixi_ is now known as phlixi | 12:46 | |
T42 | <Umeaman> Anyone here up for helping out with turning the HADK into a program with a real GUI written in Rust? I've begun a little and the code IS broken, but it has potentials. | 15:35 |
T42 | <edp_17> Why do you think a program with real GUI would be beneficial instead of a PDF? | 16:07 |
*** phlixi is now known as Guest2554 | 16:46 | |
*** phlixi_ is now known as phlixi | 16:46 | |
ecrn | I don't know about gui, but for me helpful would be a wiki where common quirks and issues would be presented, maybe as a porting log cases | 17:01 |
ecrn | what was the issue, what behavior it caused and what fixed it | 17:01 |
mal | that is what the faq and hadk-hot are for | 17:17 |
ecrn | on the forums there was zenfone 8 porting that if someone would read, they would know exactly what was done on their device | 17:29 |
ecrn | zenfone porting log | 17:30 |
T42 | <elros34> @Umeaman there were few atempts to create uniwersal scripts helping porting and usually only authors use them so forget about gui. Personally I would never use it, I like that hadk explains some details, scripts so I know where to search and how to fix if something fails. | 18:37 |
T42 | <elros34> I remember when I have tried asteroidos, it was disaster, everything was automated and I didn't understand it well enough to fix issues fast | 18:38 |
T42 | <Umeaman> People who aren't tech savy (non programmers), but still can understand a graphical interface based program would be able to build Sailfish. Another great example is Ubports Installer. If we're supposed to use the terminal to build Ubuntu Touch then why did they make this installer in the first place? Why is Odin made into a graphical based program? Why is Heimdall made into a graphical program? I hope you get my point. I'm not trying to conv | 19:15 |
T42 | <TheVancedGamer> the installer installs a preported build of Ubuntu Touch (re @Umeaman: People who aren't te...) | 19:18 |
T42 | <TheVancedGamer> you're mistaking the wrong bits | 19:18 |
T42 | <elros34> I dont get your point because ubuntu installer/odin or similar is not related to hadk pdf | 19:18 |
T42 | <elros34> @Umeaman you seems to think that if somebody build sailfish image then it will be usable or even bootable but this is simple not true. I suggest you to read hhow porting can be difficult for some devices (of course is not always like that), try to support this in some gui application: https://forum.sailfishos.org/t/livecasting-porting-notes-for-zenfone-8/14727/21 | 19:23 |
T42 | <edp_17> @Umeaman : it is not about helping or not, it is about whether worth to put effort into that project. If you tried porting sfos to a device, should know that it is not that straight forward like executing a bunch of scripts that spits you an installable zip at the end. Even if the zip builds, not necessaraly boots, or even if it boots, it might crashes and needs lots of additional effort to fine tuning. I wonder how could you code that into a | 19:52 |
T42 | <edp_17> However, if you create a gui that dual-boots sailfishos and the underlying android base, I think that would be more useful. | 21:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!