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

[Halium 9 Kernel Patching][GSI] Ubports fails to boot

Scheduled Pinned Locked Moved Porting
42 Posts 4 Posters 8.3k Views 2 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.
    • F Offline
      flohack
      last edited by 13 Jul 2020, 15:59

      Sorry out of ideas πŸ™‚

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

      N 1 Reply Last reply 13 Jul 2020, 16:21 Reply Quote 0
      • N Offline
        nitanmarcel @flohack
        last edited by 13 Jul 2020, 16:21

        @Flohack No problem, thanks for trying to help πŸ™‚ I've also tried to change my system from f2fs to ext4 and the phone didn't rebooted again, but I still can't ssh.

        1 Reply Last reply Reply Quote 0
        • N Offline
          nitanmarcel @flohack
          last edited by 13 Jul 2020, 17:37

          @Flohack I got an idea. Instead of using ssh can't we just make a script to run the command at boot and then store it to a file? like lxc-checkconfig >> /home/phablet/lxc-checkconfig

          F 1 Reply Last reply 14 Jul 2020, 15:52 Reply Quote 0
          • F Offline
            flohack @nitanmarcel
            last edited by 14 Jul 2020, 15:52

            @nitanmarcel Sure you can craft a one-time upstart job in /etc/init. Go for it πŸ˜‰

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

            N 3 Replies Last reply 14 Jul 2020, 18:32 Reply Quote 0
            • N Offline
              nitanmarcel @flohack
              last edited by 14 Jul 2020, 18:32

              @Flohack I've tried and with no success. Nothing got saved which is strange because I tried echoing to a file and same thing happened. Nothing

              1 Reply Last reply Reply Quote 0
              • N Offline
                nitanmarcel @flohack
                last edited by 15 Jul 2020, 10:58

                @Flohack I've tried modifying the ssh.override to create the log when the ssh starts but nothing happens:

                pre start script
                  lxc-checkconfig >> /home/phablet/lxcout.txt
                  exec /usr/sbin/sshd -D -o PasswordAuthentication=yes
                end script
                

                Am I doing something wrong?

                F 2 Replies Last reply 15 Jul 2020, 14:33 Reply Quote 0
                • F Offline
                  flohack @nitanmarcel
                  last edited by 15 Jul 2020, 14:33

                  @nitanmarcel DOes it crash too early maybe?

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

                  N 1 Reply Last reply 15 Jul 2020, 14:40 Reply Quote 0
                  • F Offline
                    flohack @nitanmarcel
                    last edited by 15 Jul 2020, 14:33

                    @nitanmarcel sshd has start conditions in the main upstart conf file, maybe its just not ready. I know what to do next, lemme get home πŸ˜ƒ

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

                    N 1 Reply Last reply 16 Jul 2020, 12:38 Reply Quote 0
                    • N Offline
                      nitanmarcel @flohack
                      last edited by nitanmarcel 15 Jul 2020, 14:40

                      @Flohack If it crashed to early should't ssh not enable at all?

                      Ok we'll see later when you get home πŸ™‚

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nitanmarcel
                        last edited by 15 Jul 2020, 14:50

                        Just to also mention: I've also tried editing the /etc/init.d/rc file and the same result. I can't get to get the command's output

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          nitanmarcel @flohack
                          last edited by 16 Jul 2020, 12:38

                          @Flohack Anything new? ^^

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nitanmarcel
                            last edited by 17 Jul 2020, 17:17

                            @Flohack https://del.dog/ghogimohun.txt I did a verbose log on sshing and I've noticed it hands at pledging the network.

                            Also using ssh -vvvv -p22 phablet@10.15.19.82 /bin/bash -i --noprofile --norc doesn't seem to freeze my terminal but it still hangs

                            I 1 Reply Last reply 11 Aug 2020, 03:34 Reply Quote 0
                            • N Offline
                              nitanmarcel @flohack
                              last edited by 17 Jul 2020, 18:38

                              @Flohack Finally I did it.
                              dmesg: https://paste.ubuntu.com/p/JBwm33jz6s/
                              lxc-checkconfig: https://paste.ubuntu.com/p/HVWmTjW9BP/

                              Finally. I edited every upstart config to get this :))

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                itweibo @nitanmarcel
                                last edited by 11 Aug 2020, 03:34

                                @nitanmarcel I encountered the same problem, how did you solve it?

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