Smooth debian linux with and without GUI.
I am not linked in any way to this App or its developer. But I have been searching for an out of the box linux that works on the SGS3. Out of the several I tried this was the only functioning one,
called Linux Deploy (playstore link here).
Its installs a variety of debian distros by loop method and then chrooting in VNC (or SSH). ( i use bVNC)
- may sound complicated but the app does it all . just select what you want to try and how big you want the image file and where you want to place it (internal or external SD). default settings are fine for most except if Gnome and KDE will need increase image to 1.5Gb otherwise fails)
It also gives a variety of GUI, I tried XFCE and KDE
It runs on top of Android so you can still call and receive messages etc.
The only thing I would suggest is that you unmount the loop before killing app or rebooting android. I think it will remain running in memory even if the app is killed.
Linux Deploy 1.2.7
The new Linux Deploy version, programs for automation of installation process and start of GNU/Linux of distribution kits on devices with the Android platform is available. Application creates an image of a disk on a flash card, mounts it and sets there the selected distribution kit of GNU/Linux. Also distribution kit installation directly on the card section is supported.
Applications from new Linux-system are launched in a chroot-surrounding parallely with standard operation of the Android platform. Installation of a distribution kit is carried out on a network from official mirrors on the Internet. For operation to application privileges of the superuser (ROOT) are required. Access to Linux-system is carried out through SSH, VNC or X Window System. The code of the utility is available under the license GPLv3, ready assemblies are placed in the directory Google Play.
Characteristics:
Supported OS: Debian, Ubuntu;
Assembly under architecture of armel and armhf;
Installation type: loop-file, SD card;
Supported file system: ext2, ext4;
Management interface: SSH, VNC, X;
Possibility of use of surroundings of a desktop: XTerm, LXDE, Xfce, GNOME, Unity, KDE;
Supported language: Russian, English.
Main changes in Linux Deploy 1.2.7:
X Window System support (GUI start via the X-server);
Automatic configuration of DNS;
Support of a surrounding of a desktop of Unity;
The error of start of session of GNOME in Ubuntu is corrected.
Is on GitHub, 4PDA, PlayMarket! (can't post links)
play . google . com/store/apps/details?id=ru.meefik.linuxdeploy
github . com/meefik/linuxdeploy
4pda . ru/forum/index.php?showtopic=378043
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
exge said:
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
Click to expand...
Click to collapse
not, it is ubuntu on your device
Sound
Is it possible to get the sound working this way?
linux deploy
hi can i use it on a note2
Very nicely done.
This app works really great!
At the moment I am using "Ubuntu precise" with KDE. Ist works quite well. What do you use ?
I just installed Fedora 18 with Gnome on my Nexus 10 using this app.
I am having trouble to mount the USB flash drive to it ( using an OTG usb adapter)
I don;t know enough about linux to mount the USB drive
when I plug in the drive in android the path is
/storage/sdcard0/usbStorage
This application is awesome. Everything works perfectly. Well, not everything, but I guess that is chroot's fault. Anyway, can I somehow make digitizer work? I am successfully controlling my phone through x2x, although it would be merrier if I could use my phone's digitizer for input. I'd be grateful for any kind of help.
P.S. superdave42, try custom mounting that path in Linux Deploy's settings.
linux deploy to samsung galaxy tab 2 P5100
I have the Samsung Galaxy Tab 2 P5100BUDLL1
Kernel 3.0.31-1121627
version Build jz054k.p5100BUDMD1
i have installed Linux Deploy by following the steps I was able to install Kali
I proceeded to install kali-full
but 'I still have problems with postgresql 9.1
and the wifi
wireshark with no problem only with airmon-ng does not recognize the wifi
and tells me to install 'iw-3.10.tar.bz2
I downloaded the 'iw-3.10.tar.bz2
I tried to install it in every way possible but nothing some advice
thanks to all
sorry I'm wrong the page post
It's okay. You are posting in the right thread as there's no official thread for this application in the Applications section, or at least I am not aware of it. Anyway, as far as my knowledge reaches, the reason why you can't mess with WiFi in a chrooted Linux installation is mainly because it is running in a chroot jail (feel free to correct me if I am wrong). In order to make Kali Linux (or any other Linux distribution installed through this application) able to manage WiFi state, I think you need to do some mounts that I'm not aware of at the moment, unfortunately.
EDIT: Try typing this command line (credit to Robertozzz for this post, check out the rest of it too) either from adb shell with superuser permissions or by connection to the SSH client run by Linux Deploy:
Code:
mount -o bind /dev /data/local/mnt/dev
Tapatalk seriously needs some text formatting, otherwise I need to type BBCode myself... and an option to preview.
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Android 4.3 Supported
Just an FYI for anyone using this app. It does work in Android 4.3 with Debian. Not sure if it XVNC or Framebuffer work (download of Gnome failed), but I was able to get a chroot and shell to Debian. Looks like the developer himself hosts the downloads for the supported distros (the "MIRROR" variable in prefs), and I'm not totally thrilled about that... Nothing personal, I just like to be careful.
But on that note, the code is Open Source, and available at:
https://github.com/meefik/linuxdeploy
You don't actually need the github download. All of the real work is done with a shell script(s). After installing the app, you can find the workhorse script linuxdeploy in "/data/local/linux/bin" and this handles almost everything. Some pretty nifty code in there, a couple of cool recursion tricks I might use later.
If you're handy with the command line, you can forego the UI after initial setup/distro download.
Code:
<android> % su -
<android> # export MNT_TARGET=/data/local/linux/mnt
<android> # cd /data/local/linux
...To see the settings file
<android> # cat etc/deply.conf
.... To start the distro you already downloaded (Debian)
<android> # bin/linuxdeploy start
... To get into the now-running distro (this can be done from multiple windows in Android Terminal!)
<android> # bin/linuxdeploy shell
.... If the prompt ain't enough, test it out (hostname isn't standard on Android)
debian # hostname
localhost
...
Now, I totally hate that it downloads everything piecemeal after selecting a distro, but it may be that I just have the settings wrong. Not all distros worked for me. I got failures on finding "apt-get" when installing Ubuntu -- probably easy to fix, but I didn't look into it because I was new to chroot. I notice that there are updates in the github from just 3 days ago, so it's actively supported.
I liked his competitor Complete Linux Installer better in Android 4.2, because it's super newb friendly and explains every single step very clearly, and it worked the first time I used it. Unfortunately it failed on my Nexus 7 (2013) / Android 4.3, so I moved to Linux Deploy. Not regretting the change because I've learned a lot, but I hope to see both options on Android 4.3 soon.
-Pie
I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?
Kali Linux working with "Linux Deploy" app on S4 i9505
I've found this interesting post about Kali Linux working with "Linux Deploy" app on S4 i9505
http://forum.xda-developers.com/showthread.php?t=2400638
Another suggestion I would like to make you is to consider some alternative remote session that would speed up the interface like for example:
- xrdp (much faster than vnc)
- teamviewer or Splashtop for easier access even from another computer/phone in another network. Splashtop video performance and real-time interface is really impressive
With Splashtop you can just have your own Linux PC and connect to it anytime. You could avoid to to install ARM Linux on your mobile...
[
QUOTE=delstam;44843172]I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?[/QUOTE]
First of all, awesome app! Takes a lot of the steps out of getting a desktop OS working on our portable computers....
I am asking this here because I dont know where else I can ask it. So if there is a support/discussion forum specifically for the app somewhere my apologies for posting here.
Is there any way to do an install from ISO image? Kali is giving me a "failed getting release" error at the moment no matter how I put the path in (cross checked it on the site, but welcome to suggestions if anyone elses is working).
Thanks in advance.
heavylildude said:
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Click to expand...
Click to collapse
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Move Linux Deploy to MicrSD
Hi guys,
i would like to move the linux deploy application to microSD card, i have a GT-i9505, With root privilege, and foldermount installed, but i don't find the installation path of this application.
Someone can help me please ?
Bye
Cristian
SonneKonig said:
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Click to expand...
Click to collapse
Hello have you tried using changeme as password?
Hi everyone. I'm a Computer Engineer student. This is my fist post; I've taken a general look to the forum to place this thread at the best place, but please correct me if I posted it wrong.
Objective:
I want to cross compile the linux driver of the following device for an android system:
UGREEN USB 3.0 Combo—USB 3.0 Giga Ethernet + 3 ports USB 3.0 Hub
It's drivers can be found here under the item 20265.
It's ready for compiling for Linux, as you can find. You have a header file, an object file and a Makefile... file
ax88179_178a.h, ax88179_178a.c
It is distributed "under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version." So we can play around with it.
Target machine:
HP SlateBook 14 p000nb
With an Android 4.4.2: a KitKat.
More specifically with a kernel 3.4.66-ga643ae6, and with a compilation number 4.4.2-17r25.1-11-11
Steps followed:
Tools used:
I've read much documentation in the last 3 weeks, and I'm still unable to understand what the Kernel needs to use the driver.
I'm using 93.5 GB to host this tools.
I've established a build environment and downloaded the nearest kernel from the official git repository, as described here:
source.android.com
Specifically, this branch:
KVT49L android-4.4.2_r2 KitKat Nexus 7 (deb Verizon)
Independently, I've downloaded and set up an android SDK, and an android NDK, with an Android-Studio.
Sources of the investigation:
As it's said in the Android Compatibility Definition Document, Android devices must have an ethernet connection accesible as: java.net.socket and java.net.UrlConnection
None of the Accesories examples is used for Net connectivity.
None of the storage directives seem's to refer to an adapter, or a bridge, but to the storage itself.
HAL (Hardware Abstraction Layer) structures are used to bridge android to it's linux kernel's drivers.
Camera must use a HAL.
Sensors have a specific HAL called STUBE.
adb shell seem to be a way to cross-compile the driver for my specific android.
Android.net classes seems to be one of my targets.
What I understand it must be done:
To cross-compile to this specific kernel (from which I don't have the source... just the most approximetely official one), the .c and .h driver.
To write a HAL interface to connect the driver as an specific ethernet module.
Here is a short explanation of the android architecture.
I'll be posting all my advances here, but I'm stock right now since
I don't know where to find an ethernet hal stube example
I still don't know where should be my .c and .h files in the android source code to compile it together with the official downloaded source.
Please help me to understand how to manage to cross compile my driver.
Note: As suggested at other forums (also this one), if deleted libwvdrmengine.so from my /system/vendor/lib/mediadrm/ folder to solve it's insomnia problem...
I stumbled upon a post from 2015 stating there is a vulnerability with swift keyboard app since its installed by default and can't be uninstalled and is ran with system privileges, but seeing as the date is 2015, i didnt want to waste the time trying until i found out if it's patched or not.
The device I'm using right now is a A505U but also would be wanting to try on a S20+ 5G and a Note 10
If anyone knows anything about this vulnerability or wants to learn more about it, the post I stumbled upon is: h t t p s : / / w w w . nowsecure . c o m /blog/2015/06/16/remote-code-execution-as-system-user-on-samsung-phones/
it states that all samsungs with Samsung IME keyboard which is a modified Swift keyboard built upon the Swift SDK are vulnerable if running as system user.
a PoC from that post is on github here: h t t p s : / / github . c o m /nowsecure/samsung-ime-rce-poc/
The vulnerability has been assigned the following CVEUs by CERT: CVE-2015-4640 and CVE-2015-4641.
If this hasn't been patched then this is a way to root the Qualcomm phones fersure, but setting up an automated root would seem difficult due to the need for MITM attacks required. But would be easy to make a noob friendly, but lengthy tutorial.
Also would it be against the rules to make this post in multiple phones forums? say the s20 and note 10 as well as this post here?
Thanks.
PS. can a moderator edit my post so the link is an actual link since I dont have 10 posts yet.
Hello All:
I'm new here, so please forgive me if I accidentally have bad etiquette or break any rules. Also, please forgive the length of the post - I'm trying to include as much useful info as possible.
I'm trying to install TWRP on my refurbished Samsung A5 2017 I'm following the LineageOS instructions at https://wiki.lineageos.org/devices/a5y17lte/install. The TWRP images I've tried to install can be found at https://dl.twrp.me/a5y17lte/.
When I try to install "twrp-3.5.2_9-0-a5y17lte.img", Heimdall ends with "Uploading RECOVERY 100% RECOVERY upload successful Ending session... Releasing device interface...". So everything looks good, but the progress bar on the phone never changes even after 6 hours. When I hold Volume Down and Power buttons the phone reboots into the OS that came with it.
When I try to install an older version, ("twrp-3.5.0_9-0-a5y17lte.img"), the behaviour is slightly different. Heimdall returns the same success messages, but the phone immediately reboots into the OS without me pressing any buttons.
I've done some searching on XDA and via Google and found problems that sound similar to mine, but the descriptions aren't close enough for me to be confident that they're the same problem. My searching so far makes me think that one of the software updates that occurred before I purchased the phone made it either more difficult, or impossible, to put LineageOS on the phone. I also got the impression that I might need to install an earlier official Samsung ROM before I proceed, but that safe and reliable ones are hard to find.
Here is (I hope) all the information needed for some of you wizards to figure out what I should try next:
Phone: Galaxy A5 2017
Model Number: SM-A520W
Android Version: 8.0.0
Samsung Experience version: 9.0
Branding: Telus
Baseband version: A520WVLSECTJ1
Kernel: 3.18.14-16556433-QB35318982
Android security patch level: Nov. 1 2020
Used for installing images: Linux Mint Ulyana and Heimdall via command line commands
Other possibly relevant info:
-"Secure Download : Enabled" shows on 'Downloading' screen
-Seems to be a Telus branded phone
-OEM Unlock is ON
-USB Debugging is ON
-All other switches under 'Developer Options' are OFF
-No SIM installed yet
-Phone has never been connected to WiFi or Cellular Data since I received it.
Thanks in advance for any help you can give!
jenningsthecat said:
Hello All:
I'm new here, so please forgive me if I accidentally have bad etiquette or break any rules. Also, please forgive the length of the post - I'm trying to include as much useful info as possible.
I'm trying to install TWRP on my refurbished Samsung A5 2017 I'm following the LineageOS instructions at https://wiki.lineageos.org/devices/a5y17lte/install. The TWRP images I've tried to install can be found at https://dl.twrp.me/a5y17lte/.
When I try to install "twrp-3.5.2_9-0-a5y17lte.img", Heimdall ends with "Uploading RECOVERY 100% RECOVERY upload successful Ending session... Releasing device interface...". So everything looks good, but the progress bar on the phone never changes even after 6 hours. When I hold Volume Down and Power buttons the phone reboots into the OS that came with it.
When I try to install an older version, ("twrp-3.5.0_9-0-a5y17lte.img"), the behaviour is slightly different. Heimdall returns the same success messages, but the phone immediately reboots into the OS without me pressing any buttons.
I've done some searching on XDA and via Google and found problems that sound similar to mine, but the descriptions aren't close enough for me to be confident that they're the same problem. My searching so far makes me think that one of the software updates that occurred before I purchased the phone made it either more difficult, or impossible, to put LineageOS on the phone. I also got the impression that I might need to install an earlier official Samsung ROM before I proceed, but that safe and reliable ones are hard to find.
Here is (I hope) all the information needed for some of you wizards to figure out what I should try next:
Phone: Galaxy A5 2017
Model Number: SM-A520W
Android Version: 8.0.0
Samsung Experience version: 9.0
Branding: Telus
Baseband version: A520WVLSECTJ1
Kernel: 3.18.14-16556433-QB35318982
Android security patch level: Nov. 1 2020
Used for installing images: Linux Mint Ulyana and Heimdall via command line commands
Other possibly relevant info:
-"Secure Download : Enabled" shows on 'Downloading' screen
-Seems to be a Telus branded phone
-OEM Unlock is ON
-USB Debugging is ON
-All other switches under 'Developer Options' are OFF
-No SIM installed yet
-Phone has never been connected to WiFi or Cellular Data since I received it.
Thanks in advance for any help you can give!
Click to expand...
Click to collapse
Doh! I solved the problem myself by watching a YouTube video. The LineageOS directions are correct but a bit confusing - the video clarified the procedure by showing someone doing it with phone in hand and computer connected. Case closed!
Hello Friend! I have the same problem! Could you provide the video that helped you? thankful!
Giropedal said:
Hello Friend! I have the same problem! Could you provide the video that helped you? thankful!
Click to expand...
Click to collapse
Sure! The video is here:
. There are no verbal instructions - the soundtrack is just music. As I watched the video I was pausing it and following the written instructions on the LineageOS site: https://wiki.lineageos.org/devices/a5y17lte/install. I forget what it was now that I had missed, but the combination of the video and the instructions got me sorted out. Good luck! And if you you find an earlier version of LineageOS for the A5 2017 please post it. My phone works great, but I find Oreo really annoying and I'd like to install a more sensible version.
My plan is to flash a GSI image (LineageOS) for android 9. Specifically the following
- https://github.com/LineageOS/android/tree/lineage-16.0
- https://github.com/AndyCGYan/lineage_build_unified/tree/lineage-16.0
Is there a chance of getting this to run on my device? Please see the attached file for the output of the Treble Info app.
I cannot find any information about the impact of VNDK version 27.0 so any help is much appreciated.
Device info:
- Processor: Rockchip 3399
jossdb said:
My plan is to flash a GSI image (LineageOS) for android 9. Specifically the following
- https://github.com/LineageOS/android/tree/lineage-16.0
- https://github.com/AndyCGYan/lineage_build_unified/tree/lineage-16.0
Is there a chance of getting this to run on my device? Please see the attached file for the output of the Treble Info app.
I cannot find any information about the impact of VNDK version 27.0 so any help is much appreciated.
Device info:
- Processor: Rockchip 3399
Click to expand...
Click to collapse
I have the same issue, only thing I could find out, some features not gonna work, (who know what), if you install a newer vndk you wont be able to return to an older one. Be honest, Project Treble is made for seamlessly update phones, but it is a mess, versions, vndks, legacy phones, A-B-A/B images, etc. it doesnt do what it meant to do.
The XDA forum was a good place to ask questions like this, it was, still remember to get answer about my 10 years old phone, however things really changed over the years. Members change their phones on montly basis, so dont expect any professional answer.
Hi, you ma find usefull information in:
Frequently Asked Questions (FAQ)
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com