UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Getting rid of the warning at boot

    Scheduled Pinned Locked Moved Sony Xperia X (F5121 & F5122)
    8 Posts 5 Posters 1.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • lduboeufL Offline
        lduboeuf
        last edited by

        Hi,

        Is it possible to get rid of the initial message (just before the Sony logo) " your device has been unlocked...." ?

        W messayistoM 2 Replies Last reply Reply Quote 0
        • W Offline
          wilfridd @lduboeuf
          last edited by wilfridd

          @lduboeuf hi! You may get related info there

          1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack
            last edited by

            Normally not. Locking the device might lead to several issues, and also you cannot reinstall a failed update etc. when the bootloader is locked, as unlocking it will wipe all your data.

            A locked bootloader might also require a signed boot image to be present, and we cannot sign our stuff since we are not the original vendor.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            lduboeufL 1 Reply Last reply Reply Quote 0
            • lduboeufL Offline
              lduboeuf @flohack
              last edited by lduboeuf

              @flohack so no way to not have that message at boot ? ( note that it boots ok after that )

              stanwoodS flohackF 2 Replies Last reply Reply Quote 0
              • stanwoodS Offline
                stanwood @lduboeuf
                last edited by stanwood

                @lduboeuf I'm not sure.
                On Samsung devices (for example), when you install a custom ROM (LineageOS, /e/ OS, Ubuntu Touch, etc...) there's a yellow exclamation point warning that appears as splash screen a few seconds before the boot animation image from your os takes over.
                This warns you that you have an unlock bootloader / custom rom.

                Maybe it's possible to change this flash image. I could realize it on Xiaomi. Just find a .IMG file compatible for your device (ex: Xperia X), or compile it yourself (mind the resoution), put your device in fastboot mode and flash it from your PC:

                fastboot flash splash mynewsplashfile.img
                

                Don't know if this work on Sony-Ericsson as well...

                Redmi Note 9S Stable
                If God has a computer, it must be a GNU/Linux

                1 Reply Last reply Reply Quote 2
                • messayistoM Offline
                  messayisto @lduboeuf
                  last edited by

                  @lduboeuf maybe you try to ask this developer:
                  https://rubencarneiro.github.io/rubencarneiro.io//Ubuntu-Touch-Device-Bootlogos.markdown/

                  1 Reply Last reply Reply Quote 1
                  • lduboeufL Offline
                    lduboeuf
                    last edited by

                    well that is not a blocker for me, only a cosmetic thing :).
                    Thank you all for your answers

                    1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @lduboeuf
                      last edited by

                      @lduboeuf Normally not. The whole purpose of this message is that it cannot be supressed by a malign firmware or flash. @stanwood it would be counter-beneficial if that would be simply erasable by a flash command. Normally those images are embedded in the bootloader, and so one would need to hack the whole bootloader and replace it.
                      Thats a quite dangerous task, it might hardbrick your phone.
                      Maybe some day we find a way to re-lock boot loaders πŸ˜‰

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      1 Reply Last reply Reply Quote 3
                      • First post
                        Last post