openjdk / java in linuxonandroid using ubuntu 12.04 - Samsung Galaxy Nexus

Hi!
I tried installing "complete linux installer" from Android Play Store on my galaxy Nexus, was successful in running linux on it. I downloaded the pre-built images from here.
I installed openjdk-7-jre (also tried openjdk-6-jre), but couldn't get it to work. even the policy editor is not working. But typing
Code:
java -version
gives me the java version. Running a java application wouldn't do anything.
oh yeah, I checked /var/cache/apt/archives, and here is the openjdk it installed:
openjdk-7-jre_7-u3-2.1.1-pre1-1ubuntu2_arml.deb
Click to expand...
Click to collapse
Has anybody made java to work on their nexus (running on linux of course)? on which linux distro? (though I prefer ubuntu)

Related

Linux cross-compile or ready binaries

Hi, I would put some linux binaries (arm architecture ?) on my phone to support the ADB SHELL activity, to enlarge the busybox capabilities.
For instance, I mean stuff like a bash shell, a complete gtar for backups (the busybox one isn't adeguate), md5deep, and so on.
Could you please give any hint to do that ?
Thanks
Val3r10 said:
Hi, I would put some linux binaries (arm architecture ?) on my phone to support the ADB SHELL activity, to enlarge the busybox capabilities.
For instance, I mean stuff like a bash shell, a complete gtar for backups (the busybox one isn't adeguate), md5deep, and so on.
Could you please give any hint to do that ?
Thanks
Click to expand...
Click to collapse
The first post here: http://forum.xda-developers.com/showthread.php?t=777380 contains a link that actually contains a complete binary arm cross compiler. If you use linux (works with most 32 bit distros, needs multilib on 64 bit distros) you can use that to cross compile your code to arm.
Many thanks for your answer.
I'd static link libraries, I guess...
Btw could I also use normal binaries for 32bit arm architecture ? (i.e. debian distro...)
You can also use some of the binaries of the CyanogenMod for Desire (or any other phone) and use these (bash, nano) http://androidforums.com/evo-4g-all...shell-nano-tab-completion-color-over-ssh.html
Bash 4.1 : http://android.modaco.com/content/software/301932/bash-4-1-native-app-for-android/ (not sure its the one i got but you can give it a try)
Jb boin said:
Bash 4.1 : http://android.modaco.com/content/software/301932/bash-4-1-native-app-for-android/ (not sure its the one i got but you can give it a try)
Click to expand...
Click to collapse
Many thanks.
The bash 4.1 binary could also be found in the Better Terminal Emulator package from market...
Actually I'm looking for a way to get other working stuff for low level backups, as said gtar, zip, ...

Lamp on Ubuntu 10.4 - Android

Hi
I wonder if someone has managed to install Lamp (apache, php & mysql)
I installed ubuntu (from the markets ubuntu installer app) on a galaxy tab 10.1 but i can't get Apache to work.. (sudo apt-get install lamp-server^ seems to work but i can't access my webserver at localhost or 127.0.0.1)
??
Thank you
rp_ said:
Hi
I wonder if someone has managed to install Lamp (apache, php 6 mysql)
I installed ubuntu (from the markets ubuntu installer app) on a galaxy tab 10.1 but i can't get Apache to work.. (sudo apt-get install lamp-server^ seems to work but i can't access my webserver at localhost or 127.0.0.1)
??
Thank you
Click to expand...
Click to collapse
maybe you should consider to post on tablet forum

[Q] Linux on Nexus 7 (2013)?

Hello, everybody. Does our device has Linux distributions? Ubuntu Tuch not interested.
**Menos** said:
Hello, everybody. Does our device has Linux distributions? Ubuntu Tuch not interested.
Click to expand...
Click to collapse
I don't want to troll, but Android is already Linux based.
So i've seen Firefox OS ports, and maybe an Ubuntu desktop port, but i'm not remember where.
Sorry.
Edit : I've tested on my devices "Complete Linux Installer" In fact it will chroot any purposed distros. Maybe it will help you ?
VP.
linux loves the nexus 7!
Yes there are linux ports for Android, but specifically for the Nexus 7 well that is a different story...
There are linux ports like debian linux, ubuntu linux, fedora linux, and arch linux that you can install with a very nice app called "complete linux installer" which can be downloaded from the google play store.
Now those versions of linux run on top of android in a chroot environment.
However, if you want a security based linux operating system then there is a really cool project going on right now called "kali pwnpad" which is based off of "PwnPad" from the great guys over at pwnie express -> https://www.pwnieexpress.com/penetr...ity-assessment-products/sensors/pwn-pad-2014/
Now if you are like me and don't have/want to spend $1,000+ dollars for a PwnPad tablet (basically a modified nexus 7 2013) then you can head over to the XDA thread for Kali PwnPad here -> http://forum.xda-developers.com/showthread.php?t=2577356
That thread will show you how to install Kali PwnPad on your Nexus 7 2013 tablet and you can go directly into Kali Linux (aka Backtrack Linux) through any of the apps which will put you into a chroot linux environment. A big bonus is you can use usb wifi devices or multiple usb devices with Kali PwnPad so you can use linux programs like, aircrack-ng, wifite, kismet, metasploit, openvas. social-engineering toolkit, and others!
That project is a lot of fun, and Kali PwnPad has just added bluetooth to its latest kernel so you can now use bluetooth usb devices for all of your bluetooth hacking needs. Devices like -> ubertooth-one, and the Parani-UD100
Also...don't be so quick to dispose of Ubuntu Touch. There is a lot of work being done with Ubuntu Touch for the Nexus 7 2013 and it is a lot of fun to use!
I hope this has been helpful. and if you have any questions on Kali PwnPad drop by thread and ask us a question!
-droidshadow

I am looking for ubuntu or debian multirom native

Hi everyone. I looking for debian or ubuntu native boot with multiroom.
It is possible? i find this thread: http://forum.xda-developers.com/nexus-7-2013/general/unofficial-archlinuxarm-release-n7-2013-t2969301 the arch linux arm native. I can compile android kernel and i have basic knowledge about linux environment.
Can who tell me in basic steps how i can create zip package and run linux on my Nexus 7 2013 flo?
I waiting for replies.
http://forum.xda-developers.com/nexus-7-2013/general/debian-jessie-armhf-native-boot-t3362121

Calibre with Linux on DeX? (Does it work?)

I'm not a developer, so I couldn't think of a reason to install Linux on DeX. Until I noticed there was a Linux build for Calibre. I use Calibre on my pc to manage my ebook library. There is, of course, no Calibre build for Android.
Does anyone know if Caliber will run on Linux on DeX, and if so how well it works? Could it replace the Windows version? Would it be worth installing Linux on DeX just for Calibre?
Thanks,
Joe
drjoe1 said:
I'm not a developer, so I couldn't think of a reason to install Linux on DeX. Until I noticed there was a Linux build for Calibre. I use Calibre on my pc to manage my ebook library. There is, of course, no Calibre build for Android.
Does anyone know if Caliber will run on Linux on DeX, and if so how well it works? Could it replace the Windows version? Would it be worth installing Linux on DeX just for Calibre?
Thanks,
Joe
Click to expand...
Click to collapse
I'm not too familiar with Calibre for Linux. Does it offer an ARM branch?
I have tested it (latest available LoD and fully updated Ubuntu 16.04), and can confirm that while it's available in the arm repositories by default, it doesn't work on LoD. Instead, it simply hangs on startup.
Looking at the console output, this seems to be a shared memory issue with QT, so it's unlikely to be an easy fix.
Thanks for the update!
Joe

Categories

Resources