Author Topic: Linux not booting after upgrade to lxc-android package  (Read 3937 times)

Geeber

  • Newbie
  • *
  • Posts: 22
    • View Profile
Linux not booting after upgrade to lxc-android package
« on: May 14, 2019, 08:23:25 am »
I am just posting this to let other people know.
The kali-gem repository by re4son kernel received an update to the lxc-android package.
After I upgraded to this new version. (I update and upgrade as often as possible.)

Linux just became unbootable I could not ssh in even over USB cable. So I have just given up and reflashed.

Luckily (due to the amount of times I have had to reflash) I have written a bash script that more or less restores my system to its default. With only a few settings here and there needing to be tweaked via a GUI.

Linux did seem to boot correctly, I know this because I set up a cron job to change the brightness to 5% on system boot. Which did in fact work.

I was planning on using the logcat tool to see if I could fix the problem over ssh.

I don't really know how this problem can be solved but for now I am just going to hold the package back.
« Last Edit: May 14, 2019, 08:26:06 am by Geeber »

Geeber

  • Newbie
  • *
  • Posts: 22
    • View Profile
Linux not booting after upgrade to lxc-android package
« Reply #1 on: May 14, 2019, 10:09:00 am »
The xserver-xorg-video-hwcomposer package also needs to be held back as it turns the screen sideways and messes up the mouse orientation.

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 451
    • View Profile
    • http://github.com/greguu
Linux not booting after upgrade to lxc-android package
« Reply #2 on: May 16, 2019, 01:58:27 am »
Are you multi booting or booting straight into Kali ?
What Kali firmware are you using ?
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

Geeber

  • Newbie
  • *
  • Posts: 22
    • View Profile
Linux not booting after upgrade to lxc-android package
« Reply #3 on: May 17, 2019, 07:41:08 pm »
I am using the android-kali image from the kali website.

so my kali is boot 2. (I hold the silver button down after vibrating to get into kali.)

I should mention I swapped the 3.18.41kali+ kernel for the one located in this blog post.

https://www.mygnu.de/2019/03/modular-linux-...h-cutpaste-fix/

so my kernel is 3.18.41+ which differs to the 3.18.41kali+ kernel.

I am using the modules from the same blog post as well.

I used the flashing tool to flash the kernel, as flashing manually using the dd command did not seem to work at all under kali. (After bootloader Linux crashes and then it just restarts and boots the default android instead.)

I also used the 5GB to android 50GB to Linux scatter file from here:

https://github.com/gemian/gemini-keyboard-apps/wiki/Flashing

I might be wrong in what I think you mean by firmware but I have the firmware-atheros, firmware-libertas, firmware-misc-nonfree, firmware-ralink and firmware-realtek packages installed.

Sorry if that is unhelpful.

my version of kali is of course 2019.1 as specified on the official kali website.

Geeber

  • Newbie
  • *
  • Posts: 22
    • View Profile
Linux not booting after upgrade to lxc-android package
« Reply #4 on: May 17, 2019, 07:54:32 pm »
I also don't use android on this device and haven't installed any updates for it.