Linux On Android - Install Kali

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 63

  • @ruthake
    @ruthake  9 місяців тому +4

    In the future I will have videos that will cover these topics.
    To fix the time zone from a terminal:
    sudo dpkg-reconfigure tzdata
    Follow the prompts.
    Ctrl-L to clear the terminal or close the terminal.
    Reboot Linux.
    To fix no internet, check for the resolv.conf file in the terminal (it's spelled resolve without an e), If the file is not there, create it:
    cd /etc
    ls resolv.conf
    cat resolv.conf
    nano resolv.conf
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
    Reboot Linux.
    To access both UserLAnd's internal and external storage locations from UserLAnd (All of these may not work on all Android devices depending on the model and the version):
    /
    /storage/internal
    /storage/sdcard
    /host-rootfs/storage/emulated/0
    /host-rootfs/storage/426B-9A39
    /host-rootfs/storage/emulated/0/Download
    /sdcard
    /sdcard/Download
    /Downloads
    For internal storage:
    /host-rootfs/storage/emulated/0
    For external storage (ex. SD cards and USB storage):
    Get the id of the storage device from a terminal
    (Result should look like: .../mnt/media_rw/426B-9A39 so the storage id is 426B-9A39):
    gdu -d | grep vold
    File path to external storage example: /host-rootfs/storage/426B-9A39
    To read/write to internal or external storage, add /Android/data/Tech.ula/files to the end of the file path (Access will vary with model and version):
    /host-rootfs/storage/emulated/0/Android/data/Tech.ula/files
    /host-rootfs/storage/426B-9A39/Android/data/Tech.ula/files
    UPDATE - Firefox fix (I'll make a video on this in the future):
    Open Firefox and go to the URL about:config.
    Click Accept the Risk and Continue button.
    Enter sandbox into the search bar.
    For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
    Set any values with a number to 0
    Set any true/false values to false.
    May require a reboot.
    Questions are welcome and encouraged. Due to the design of UA-cam's comment section, posting questions under the pinned comment or under another user's comment makes it difficult for me to find and answer questions. Please do not post your questions under the pinned comment or under other user's questions. Please create a new comment.

  • @vitaminluke5597
    @vitaminluke5597 Місяць тому

    Best UserLAnd related tutorial on UA-cam by far, thank you!

  • @edward_grabczewski
    @edward_grabczewski 7 місяців тому

    Great job Ruth. And your dad's book is also very well written - although I enjoy going through the steps using these videos more. But the book has more info, so they complement one another. You make a great team!

  • @Tom-wm4gy
    @Tom-wm4gy 9 місяців тому +2

    Many, many thanks!
    I am gonna install and explore...
    Just one question: how much space does it take on your phone?
    Thanks & Greetings!

    • @ruthake
      @ruthake  8 місяців тому +1

      From about 6 GB to 15 GB depending on the amount of apps in the session.
      On the Android devices I have, the UserLAnd storage usage shows up in Settings > Storage > Internal Storage > Other apps > UserLAnd

    • @Tom-wm4gy
      @Tom-wm4gy 8 місяців тому

      Thanks for the superfast reply...
      Cool...

  • @AlbertSpeer-fh1th
    @AlbertSpeer-fh1th 4 місяці тому

    She was very helpful for me it's my first time I followed someone explained and get 100% success , I would like to thank u Ruth so much for making this videos. from now on I following u up

  • @thespiritualbridge
    @thespiritualbridge Місяць тому

    Suitably impressed, A very concise and professional delivery. I work a lot with Linux and enjoyed your video, thank you.

  • @CarlitoBrigante-w2z
    @CarlitoBrigante-w2z 9 місяців тому +2

    Thank you! Greatly appreciate it!

  • @bunsogamingV.11
    @bunsogamingV.11 4 місяці тому

    Pretty good...love you..keep it up.mwaaa❤❤❤

  • @hosamnoofal900
    @hosamnoofal900 8 місяців тому

    Really great job. Thank you

  • @reimueller
    @reimueller 9 місяців тому

    Thanks for another great video this is very helpful. I think there is a workaround for FF in about:config sandbox changes. I’ve installed Nethunter on a Samsung Tablet and FF is running fine. Merry Christmas to you 🎄

    • @ruthake
      @ruthake  8 місяців тому +1

      Thank you @reimueller !! Firefox is running flawlessly now. I will be updating my videos. Merry Christmas!🎄⛄

  • @ere_meow
    @ere_meow 2 місяці тому

    Hi Ruth! Firstly, I have to note that you're such a pretty girl and a clever one, too) Secondly, I'd like to know if I'm able to use utilities like arp/scapy/wireshark/metasploit when I install Kali with UserLAnd on my unrooted phone

    • @ruthake
      @ruthake  2 місяці тому

      UserLAnd is container-like which will limit access to system resources such as WiFi. My channel is not security focused, you may be interested in the SecurityFWD channel with Kody:
      "SecurityFWD shows the latest security tools, amazing projects, and keeps you on the edge of what's possible in security today."
      SecurityFWD Channel (Current):
      www.youtube.com/@SecurityFWD
      Original Channel:
      www.youtube.com/@NullByteWHT
      What happened to Nullbyte?
      ua-cam.com/video/5MsTm-v0ykQ/v-deo.html
      --------------------------------------
      Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future.
      www.androidauthority.com/chrome-os-running-on-pixel-3442496/

  • @MysterySoldier86
    @MysterySoldier86 2 місяці тому

    So did this step by step and I get a VNC error
    Connection to VNC server failed with reason: failed to connect to/

    • @ruthake
      @ruthake  2 місяці тому

      There is a known app killer issue starting with Android 12, also known as the Phantom Process Killer. As of Android 14, there is a new option in Android Settings for disabling the Phantom Process Killer (Android Settings > System > Developer options > in the Apps section enable the Disable child process restrictions option).
      Here's a video that explains the issue:
      ua-cam.com/video/N5Q5J36wIkc/v-deo.html
      ----------------------------
      Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future.
      www.androidauthority.com/chrome-os-running-on-pixel-3442496/

  • @Nightmares176
    @Nightmares176 8 місяців тому +1

    How much time would it take to start linux

    • @ruthake
      @ruthake  8 місяців тому

      The total time for the installs are about an hour and a half.
      The Kali XFCE desktop starts up in less than 60 seconds. Starting up larger applications may take a full minute to start up.

  • @tumu_g7929
    @tumu_g7929 3 місяці тому

    I completed the Kali installation through UserLAnd, but after a certain period of use, I receive a connection error.

    • @ruthake
      @ruthake  3 місяці тому +1

      There is a known app killer issue starting with Android 12, also known as the Phantom Process Killer. As of Android 14, there is a new option in Android Settings for disabling the Phantom Process Killer (Android Settings > System > Developer options > in the Apps section enable the Disable child process restrictions option).
      Here's a video that explains the issue:
      ua-cam.com/video/N5Q5J36wIkc/v-deo.html

  • @RichardReavess
    @RichardReavess 3 місяці тому

    The display option is showing error open xfce display setting unable to query version of RandR extension being used, I tried searching for possible solutions but nothing significant turned up, I checked it seems to be x11 error where RandR extension is missing, need help to solve it

    • @ruthake
      @ruthake  3 місяці тому +1

      XRandR will not work on Android, the XFCE desktop should automatically start after completing the install instructions.
      ----------------------------
      For your convenience, I've included the complete install instructions:
      From the UserLAnd Apps menu, install Kali.
      From the terminal:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install dialog -y
      sudo apt install kali-defaults -y
      sudo apt install kali-desktop-xfce -y
      sudo apt install synaptic -y
      sudo apt install nano -y
      sudo apt install chromium -y
      Disconnect from the session, Stop Session, and close UserLAnd. Restart UserLAnd, and click on Kali in the Sessions menu and wait a few moments for the XFCE desktop to start up on it's own.
      For any Plugin Restart windows that come up, click on the Remove button.
      For the Synaptic Package Manager, create the gosyn script from a terminal:
      sudo nano /usr/bin/gosyn
      xhost + &&
      sudo synaptic &&
      xhost -
      Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
      Change launch command for Synaptic Package Manager to:
      gosyn
      Firefox Fix (I'll make a video on this in the future):
      Open Firefox and go to the URL about:config.
      Click Accept the Risk and Continue button.
      Enter sandbox into the search bar.
      For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
      Set any values with a number to 0
      Set any true/false values to false.
      May require a reboot.
      To run Chromium, change it's launch command to:
      chromium --no-sandbox --test-type --password-store=basic

  • @indongab1320
    @indongab1320 2 місяці тому

    I have a question, does this linux can run like vs code or rpg game just like the debian linux you have try before?

    • @ruthake
      @ruthake  2 місяці тому

      Yes, those programs should be able to run in Kali with no problem. The Battle for Wesnoth should also run. There will be no sound because there is no sound for Linux on Android.
      For adventure games like Flight of The Amazon Queen:
      cd /usr/bin
      nano goaq
      pulseaudio --start &
      sleep 2
      scummvm -f -p /usr/share/scummvm/flight-of-the-amazon-queen queen &&
      pulseaudio -k
      Ctrl-O, Enter, Ctrl-X to save
      chmod +x /usr/bin/goaq
      goaq

  • @stephennobbee3994
    @stephennobbee3994 6 місяців тому +3

    My phone is not root can this still work

    • @ruthake
      @ruthake  6 місяців тому +1

      UserLAnd does not require rooting.

    • @stephennobbee3994
      @stephennobbee3994 6 місяців тому

      Thanks for your reply

  • @brauliovazquez1951
    @brauliovazquez1951 2 місяці тому

    Hey can you help me with open ssh it’s not starting

    • @ruthake
      @ruthake  2 місяці тому

      I have not experimented with external SSH connections. This may be what you're looking for:
      github.com/CypherpunkArmory/UserLAnd/issues/1222

  • @HasaniTempest
    @HasaniTempest 4 місяці тому

    Mine is stuck on starting services. Woke up this morning, and it still says it.

    • @ruthake
      @ruthake  4 місяці тому

      1. There are a few options you can try. First, I recommend closing the UserLAnd app, power the device off and on, put the device online, open the UserLAnd app, if the Linux session is not already trying to start, try starting it again and wait a few minutes (20 minutes max).
      2. If that fails, close UserLAnd, power the device off and on, put the device online, open UserLAnd, and click on the 3 dot menu in the top right corner from the UserLAnd main menu and select Clear All Support Files. After that, don't start the Kali session, start a different session from the Apps menu, such as Ubuntu. If Ubuntu successfully loads, disconnect and stop the Ubuntu session, and then try starting the Kali session (Try this process as many as 3 times).
      3. If that fails, close UserLAnd, power the device off and on, put the device online, open UserLAnd, and from the Apps screen, click on the Refresh button in the top bar. Then try the 2nd process again.
      Starting a session should never take more than 20 minutes. If it does, then try the above procedures.

  • @godymilitus1541
    @godymilitus1541 Місяць тому

    I have followed the installations correctly, but my Kali environment has not show up😢. It just stuck😮 what do I do please let

    • @ruthake
      @ruthake  Місяць тому

      For your convenience, I've included the complete install instructions. As the procedure does not include any configurations, this would be a question for the UserLAnd team (github.com/CypherpunkArmory/UserLAnd/issues ):
      From the UserLAnd Apps menu, install Kali.
      From the terminal:
      sudo apt update -y
      sudo apt dist-upgrade -y
      sudo apt install dialog -y
      sudo apt install kali-defaults -y
      sudo apt install kali-desktop-xfce -y
      sudo apt install synaptic -y
      sudo apt install nano -y
      sudo apt install chromium -y
      Disconnect from the session, Stop Session, and close UserLAnd. Restart UserLAnd, and click on Kali in the Sessions menu and wait a few moments for the XFCE desktop to start up on it's own.
      For any Plugin Restart windows that come up, click on the Remove button.
      For the Synaptic Package Manager, create the gosyn script from a terminal:
      sudo nano /usr/bin/gosyn
      xhost + &&
      sudo synaptic &&
      xhost -
      Ctrl-O, Enter, and Ctrl-X to save the file and exit nano.
      Change launch command for Synaptic Package Manager to:
      gosyn
      Firefox Fix (I'll make a video on this in the future):
      Open Firefox and go to the URL about:config.
      Click Accept the Risk and Continue button.
      Enter sandbox into the search bar.
      For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
      Set any values with a number to 0
      Set any true/false values to false.
      May require a reboot.
      To run Chromium, change it's launch command to:
      chromium --no-sandbox --test-type --password-store=basic

    • @godymilitus1541
      @godymilitus1541 Місяць тому

      @@ruthake thanks for your recommendation, but do you think it might also be from my phone? Maybe is not capable.

    • @godymilitus1541
      @godymilitus1541 Місяць тому

      @@ruthake Well sorry for asking you that, I was just been curious 🤗

  • @AlbertSpeer-fh1th
    @AlbertSpeer-fh1th 4 місяці тому

    I couldn't setup the chromium and every time after a few minutes the session error what I have to do with it ?

    • @ruthake
      @ruthake  4 місяці тому

      Is the UserLAnd session crashing, or is it just an issue with Chromium?
      ------------------------------
      If it's just the browser, you can try Firefox. To fix Firefox:
      Open Firefox and go to the URL about:config.
      Click Accept the Risk and Continue button.
      Enter sandbox into the search bar.
      For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
      Set any values with a number to 0
      Set any true/false values to false.
      May require a reboot.

  • @johnpaulclemente76
    @johnpaulclemente76 2 місяці тому

    How to Fix Connection Failed

    • @ruthake
      @ruthake  2 місяці тому

      There is a known app killer issue starting with Android 12, also known as the Phantom Process Killer. As of Android 14, there is a new option in Android Settings for disabling the Phantom Process Killer (Android Settings > System > Developer options > in the Apps section enable the Disable child process restrictions option).
      Here's a video that explains the issue:
      ua-cam.com/video/N5Q5J36wIkc/v-deo.html
      ------------------------------
      Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future.
      www.androidauthority.com/chrome-os-running-on-pixel-3442496/

  • @candra6521
    @candra6521 Місяць тому

    I browser no work 😢

    • @ruthake
      @ruthake  Місяць тому

      Firefox Fix (ua-cam.com/video/wUNLF1KkoLg/v-deo.html ):
      Open Firefox and go to the URL about:config.
      Click Accept the Risk and Continue button.
      Enter sandbox into the search bar.
      For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
      Set any values with a number to 0
      Set any true/false values to false.
      Reboot Firefox.
      Chromium Fix (5:53):
      Install chromium
      Menu > Search for chromium > right click Chromium Web Browser > select Edit Application...
      Change Command to:
      chromium --no-sandbox --test-type --password-store=basic

  • @zambrotaantoni6170
    @zambrotaantoni6170 5 місяців тому

    sdcard doesn't work and youtube sound from chroimun browser doesn't work. how to handle it? If there is a solution, please provide us with the next video tutorial. I subscribe to your channel

    • @ruthake
      @ruthake  5 місяців тому

      Due to current limitations of UserLAnd's VNC, sound and OpenGL graphics are not available: ua-cam.com/users/shortsdsQDYFv97F4
      The SD card can be accessed from PCManFM or from the command line:
      /storage/sdcard
      From the /storage file path, you should be able to see the internal folder and sdcard folder.

  • @yohanesgon9431
    @yohanesgon9431 5 місяців тому

    I'm an Android 12-13 user, does it work on Android 12-13?

    • @ruthake
      @ruthake  5 місяців тому

      There is a known app killer issue starting with Android 12, also known as the Phantom Process Killer. Here's a video that explains the issue:
      ua-cam.com/video/N5Q5J36wIkc/v-deo.html

  • @emmabreak5599
    @emmabreak5599 6 місяців тому

    My meny gone after 8:39 (i closed my tablet and reopen)

    • @ruthake
      @ruthake  6 місяців тому

      I recommend disconnecting from the session, stop the Kali session, close the UserLAnd app and then reopen the UserLAnd app, and start the Kali session again (4:32).

  • @Siyanda17
    @Siyanda17 6 місяців тому

    Can I install full files

    • @ruthake
      @ruthake  6 місяців тому

      The container like design of UserLAnd prohibits direct access to certain resources such as WiFi. I would recommend installing Kali tools one at a time.
      I believe this is what you are looking for:
      www.kali.org/get-kali/#kali-mobile
      www.kali.org/docs/nethunter/
      pine64.org/devices/pinephone_pro/

  • @Nightmares176
    @Nightmares176 8 місяців тому

    Will it reset my phone?

    • @ruthake
      @ruthake  8 місяців тому

      This will not reset your phone, UserLAnd has limited file and media access, and does not have the ability to modify the Android operating system. UserLAnd does not root the phone.

    • @Nightmares176
      @Nightmares176 8 місяців тому

      @@ruthake Will it just run as an app?

    • @ruthake
      @ruthake  8 місяців тому

      Yes, that is correct.

  • @stephennobbee3994
    @stephennobbee3994 6 місяців тому

    And it's android 13 infinix hot 30 play

    • @ruthake
      @ruthake  6 місяців тому +1

      I don't see any issues with the specs for that phone. The only potential issue is the Android app killer. I would recommend doing a search on Android app killer.
      This is one article about the issue:
      www.androidpolice.com/android-13-could-let-you-disable-android-12s-drastic-background-battery-saving-measures/

    • @stephennobbee3994
      @stephennobbee3994 6 місяців тому

      Am can you show me how to hack wifi password on it and would I loose all my module that I have on termux if I install the Kali Linux

    • @stephennobbee3994
      @stephennobbee3994 6 місяців тому

      @@ruthake thanks for your video also

    • @ruthake
      @ruthake  6 місяців тому

      It's not my area of expertise, but I think you may enjoy the SecurityFWD channel with Kody.
      "SecurityFWD shows the latest security tools, amazing projects, and keeps you on the edge of what's possible in security today."
      SecurityFWD Channel (Current):
      www.youtube.com/@SecurityFWD
      Original Channel:
      www.youtube.com/@NullByteWHT
      What happened to Nullbyte?
      ua-cam.com/video/5MsTm-v0ykQ/v-deo.html

  • @feedyoursoul5347
    @feedyoursoul5347 3 дні тому

    Can i run aircrack by any chance on my phone

    • @ruthake
      @ruthake  2 дні тому

      UserLAnd does not have direct access to WiFi.
      You may be interested in:
      www.kali.org/get-kali/#kali-mobile
      www.kali.org/docs/nethunter/
      pine64.org/devices/pinephone_pro/
      Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future.
      www.androidauthority.com/chrome-os-running-on-pixel-3442496/

  • @ANFWHGPIE23
    @ANFWHGPIE23 8 місяців тому

    Can you use the wifi audition tools on Android?

    • @ruthake
      @ruthake  8 місяців тому

      I believe you are looking for:
      www.kali.org/get-kali/#kali-mobile
      www.kali.org/docs/nethunter/
      UserLAnd does not have direct access to WiFi.