med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

355
active users

#bootloader

1 post1 participant0 posts today

Ho comprato questo Huawei P30 lite nel 2020 e già non riceve più aggiornamenti, e come se non bastasse il SO #EMUI che sovrascrive Android non è sbloccabile perchè #Huawei non rende più disponibile il codice da usare per il #bootloader.
Ora, io vorrei continuare a usare questo telefono, è ancora veloce, ma senza possibilità di rooting come posso fare ad avere aggiornamenti che me lo mantengano stabile?

Qualcuno ha provato a sbloccarlo o conosce qualcuno in grado di farlo?

🙏🙏🙏

So im working again on rustboot and now have the "problem" that the bootsector of it dosn't contain an BiosParameterBlock, which should be only needed for DOS but welp aparently there are BIOS'es out there that just write inside it, causing it to screw up the code inside it. -.-

It needs ~51 bytes or so, but my current implementation has only ~20 bytes of wiggleroom, mainly bc rust/llvm use 32bit-in-16bit code, which has the "problem" that an mov of an u16 immediate to a register occupies 6 instead of 3 bytes (2 zero bytes to pad u16 to u32 + the sizeprefix 0x66 to "temporarily" switch to 32bit).

Sooooooo yeah yk what I did. You tought of the sensible way of writing it simply entirely in assembly? Naaaaah; I'm gonna patch LLVM ofc!! :blobcat_coolio: Which works quite okayish currently; I got it to correctly emit 16bit call and ret instructions (another thing that was eating space even before and I had to do some very creative workarounds...); now I only need to somehow compile an own rust toolchain that uses the patched LLVM, but it dosn't get's it right and the extra cpu target (i8086 instead of i386) dosn't get recognized as a valid target when rust tries to ask LLVM for it.... sigh

Maybe I should rather work on the implementation of an realmode interrupt routine that's callable from 32bit so I can implement a basic disk interface.

CodeArqrustbootA bootloader written in rust
Continued thread

@MsDropbear42 Weeeeeeeeell, now i've made time to investigate what ails poor lil ol' ONT, & it seems pretty terminal [boom, tish]. The failure to finish booting occurred after i did a system update after not doing so for several months. OS was #SparkyLinux Testing / semi-rolling. Afaict, whatever caused the damage did a pretty good job:

  • the #bootloader had vaporised
  • the #LUKS #encryption seems to have been damaged [even booting from a Live usb stick couldn't unlock the drive, my LUKS pswd being rejected despite absolutely certainly being correct]; it accepts my LUKS password during boot, then says "Slot 0 opened", then... just sits there, evermore. Sigh.

I considered trying to repair the bootloader via a #chroot, but even if that succeeded i frankly had little appetite to then do battle with a sulky LUKS. This pc is a very old clunker, spinning rust HDDs only, merely 8 GB RAM, i7 though old model, & i'd repurposed it to be my lounge-room media pc several months ago without bothering to change anything about its extant OS... & tbh Sparky had been wearing a bit thin on me anyway for a coupla months in this role.

So i decided not to bother attempting repairs, & instead make a clean break with an alternative distro that i feel should be just about ideal for this use as a media pc, whose only function is to run a browser, & my VPN app, for my nightly movies & shows streaming. As such, i really just don't wanna be arsed with running updates on it often, & generally mollycoddling it like i do with my real pooter [#ArchLinux #KDE #Plasma]... i just want it to live happily in the darkness of my timber cabinet, asking little of me re upkeep, & just purring away.

Thus, it now has #LinuxMint #LMDE 6. Gotta hand it to ol' Clem & Co; they've done a really nice job with it.

Ho sento, com que vaig fracassar en els meus diferents intents, estic buscant algú a Barcelona que pugui instal·lar un custom ROM al meu Alcatel Pixi 4 (telèfon Android).

Sorry, as I failed in my various attempts, I'm looking for someone in Barcelona who can install a custom ROM on my Alcatel Pixi 4 (Android phone).

Lo siento, como he fallado en mis varios intentos, estoy buscando a alguien en Barcelona que pueda instalar un custom ROM en mi Alcatel Pixi 4 (teléfono Android).

#Fairphone5 #CalyxOS #Frage

Heute kam mein Fairphone an. Es läd gerade noch, um bei den bald folgenden Änderungen hin zu CalyxOS vollen Akku zu haben.
Ich habe mit einer Anleitung für ein Umgehen der Aktivierung der Google Dienste schon mal die Einrichtung abgeschlossen und mir das mal angesehen. Wirklich ein tolles Handy, so vom Aussehen und von der Haptik her. Display ist auch ok (finde nicht, dass es zu schwach ist, habe das als Kritikpunkt immer wieder gelesen).
Aber: Abzüglich der paar wenigen essentiellen Apps zum Telefonieren usw ist wirklich alles voll mit Google Apps. Insgesamt 31 Apps, wenn man die wenigen essentiellen dann abzieht, sind es wohl bestimmt 25 Apps direkt von Google. Das ist echt mega viel und echt kacke.

!! Frage: Falls noch irgendwer wichtige Tipps hat, damit das Installieren von CalyxOS gut verläuft, bitte jetzt!
Spezielle Frage zum #Bootloader:
Habe gelesen, dass man am Ende den Bootloader nicht schließen muss, um später nochmal ein anderes OS aufspielen zu können. Stimmt das so? Oder ist das nicht so gut?

After scouring the internet, we realised that information on Rockchip MCUs is either scarce or hidden behind NDAs. So in our latest blog, David Lodge looks at the Rockchip boot process. He covers the boot order and how to force the MCU into low-level modes for direct USB access.
 
He also dives into essential tools like xrock and rkflashtool that let you read and write the MCU’s RAM and flash memory.

Read here: pentestpartners.com/security-b

Der etwas weniger bekannte alternative Bootloader Limine macht einen großen Versionssprung und wirft dabei direkt die komplette Unterstützung für Ext-Dateisysteme über Bord. Darüber hinaus haben die Entwickler das Limine Boot-Protokoll verbessert.#Bootloader #Limine
Bootloader Limine 9.0.0 entfernt Unterstützung für Ext-Dateisysteme - LinuxCommunity
LinuxCommunity · Bootloader Limine 9.0.0 entfernt Unterstützung für Ext-Dateisysteme - LinuxCommunityDer etwas weniger bekannte alternative Bootloader Limine macht einen großen Versionssprung und wirft dabei direkt die komplette Unterstützung für Ext-Dateisysteme über Bord. Darüber hinaus haben die Entwickler das Limine Boot-Protokoll verbessert. Da niemand den entsprechenden Code betreut, fliegt die Unterstützung der Ext2-, Ext3- und Ext4-Dateisysteme aus dem Bootload – zum wiederholten Male. Die Limine-Entwickler wollen mit der Entfernung vorbeugend verhindern, dass Angreifer irgendwann Sicherheitslücken in den nicht gewarteten Codeteilen ausnutzen. Unter dem Strich kennt Limine damit lediglich die verschiedenen FAT- und das auf optischen Medien genutzte ISO9660-Dateisystem. In der Praxis taugt der Bootloader damit eigentlich nur noch für den Einsatz auf entsprechenden Bootmedien. Die Entwickler haben aber noch an einigen weiteren Stellen die Schere angesetzt. So liest Limine 9.0.0 nur noch Konfigurationsdateien im neuen Format (aus der „limine.conf“). Nicht mehr dabei ist auch das „chainload_next“-Protokoll, das nach Angaben der Entwickler nur schlecht funktioniert und obendrein nur wenige Nutzer hatte. Die übrigen Neuerungen beziehen sich durchweg auf das Limine Boot Protocol. So bietet die Version 9.0.0 eine überarbeitete API, die jetzt in der Revision 3 vorliegt. Sie umfasst vor allem umbenannte Idenfier, die jetzt eindeutiger daher kommen sollen. Neu ist das „Executable Command Line“-Feature. Darüber hinaus nutzt Limine die Prozessorbefehle „monitor“ und „mwait“, was wiederum den Prozessor entlasten und die Performance erhöhen soll.

Worked the last couple of days on a #bootloader in #rust ; got the bootsector working and even managed to write an clunky elfloader that sucessfully loads ELF relocateables, relocates the symbol and then executes them! Next thing is to rewrite it in a proper rusty style and then integrate it into the bootloader so I can start bootstraping the module system, very exciting!

codearq.net/chalk-os/rustboot

Edit: link should work now

CodeArqrustbootA bootloader written in rust