Lamp on Ubuntu 10.4 - Android - Upgrading, Modifying and Unlocking

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

Related

openjdk / java in linuxonandroid using ubuntu 12.04

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)

[Q]Help needed to inatall aircrack-ng on ubuntu chroot

BEFORE you make assumptions that I'm crazy for installing something that shouldn't work correctly...
I have found a way to install aircrack-ng suite on Ubuntu (works) via my i9505 kernal galaxy s4 by this guide: http://forum.xda-developers.com/showthread.php?t=2338179
This is done by way of:
• An OTG Cable -- (Micro USB male to USB female)
• A wireless network Adapter
• aircrack-ng in Ubuntu chroot, getting your devices kernal (by doing so on a Linux PC), and including
So, I installed Ubuntu chroot correctly, I got on terminal and did:
Code:
sudo apt-get install build-essential libssl-dev nano
wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
tar -xzvf aircrack-ng-1.1.tar.gz
cd aircrack-ng-1.1
nano common.mak
Then find CFLAGS ?= -g -W -Wall -Werror -O3 and remove -Werror.
make
sudo make install
But I got error #2 in Ubuntu terminal, when doing
Code:
make
Sudo make install
Here's a screenshot... Help anyone?
I admire you for trying
But if all you want ubuntu for is aircrack then you should pause now (its not going to work) and read thru my comments in this thread
http://forum.xda-developers.com/showthread.php?t=2486616
Edit..just noticed ur the same guy. Its not going to work bro
You can run aircrack natively on android because it is unix..that's what the guys at that project are doing. But you'll need patched drivers from that project when it is released.
---------- Post added at 09:51 PM ---------- Previous post was at 09:36 PM ----------
Since you really really want to... i'm trying to think of other ideas for you.
If it's worth it you can buy old phone for $50-100 and use that for your testing...
Any of the phones listed on the broadcom project page are good. So GS1 or GS2..
Or, according to this site you can use a Nokia N900
http://aircrack-ng.blogspot.com/2012/02/aircrack-ng-on-phones-android-iphone.html
Or, possibly cheaper, buy a external wifi card for your phone and do it like this guy
http://www.youtube.com/watch?v=JYVLa6wdW4E
I know these all involve spending money, which might ruin it for u. And they require clunky additional gadgets which might not be suitable for ur job... but it's really the only way!
Yeah... But.. What about this?
Source:
http://forum.xda-developers.com/showthread.php?t=2338179
Even all of the comments say that it works, they've tried it too :0
androidiphonehacker said:
Yeah... But.. What about this?
Source:
http://forum.xda-developers.com/showthread.php?t=2338179
Even all of the comments say that it works, they've tried it too :0
Click to expand...
Click to collapse
Yeah that's similar to the youtube link i posted. Uses an external wifi adapter + usb otg cable. It is feasible because you will pick a wifi chip which has linux drivers that support monitor mode and packet injection. It's all about the drivers, running aircrack on android natively is comparatively ez-pz.
I with u on this one.. I wisht he bcmon project would support the gs4 wifi chip already. Then I might be into testing my networks.
Yeah, and in the tutorial I'm reading, its telling me how to decompile the ROM Kernal, place the driver for the adapter in it, and then recompile it. Hoping it works, it will take a while to set up everything... *Sigh* Porting aircrack-ng to the s4 is harder than I thought. I'll keep posted on my progress with the guide.
Sent from my GT-I9505G using Tapatalk
Anyone know how to edit the drivers in this touchWiz kernal?
https://docs.google.com/file/d/0B1rJR1viXH_BaUdaUGVUMEUzY1E/edit?usp=docslist_api
Sent from my GT-I9505G using Tapatalk
*Bump*
Sent from my GT-I9505G using Tapatalk

[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

[Q] Working & stable SSHD/sftpd for ZE55xML ?

Apologize for possible OT, but I can't find an always working (and stable) SSH daemon app for the Zenfone2's Lollipop
This is what I tried, any of them PAID apps:
QuickSSHd - too old, not even starts
SSHDroid Pro - sometime starts, only first time after reboot, but only without root and higher ports (>1024)
RRooted SSH/SFTP Daemon - always refusing connections
Ssh Server Pro (olive tree) - seems promising, but very poor of binaries
The Dropbear service hanging issue seems the root of this problem
Thanks for any hint
I can't even find a proper ssh binary. I just tried sshd from an x86 cyanogen port (RAZRi, I think). Got this after loading appropriate library in lib (same as client)
1|[email protected]:/ # sshd
CANNOT LINK EXECUTABLE: could not load library "libssh.so" needed by "sshd"; caused by cannot locate symbol "EVP_ripemd160" referenced by "libssh.so"...
Good luck sir
Blades said:
I can't even find a proper ssh binary. I just tried sshd from an x86 cyanogen port (RAZRi, I think). Got this after loading appropriate library in lib (same as client)
1|[email protected]:/ # sshd
CANNOT LINK EXECUTABLE: could not load library "libssh.so" needed by "sshd"; caused by cannot locate symbol "EVP_ripemd160" referenced by "libssh.so"...
Good luck sir
Click to expand...
Click to collapse
Hi,
I followed the following guide which you can get from googling "Compiling-Dropbear-for-a-Nexus-7-tablet". Sorry, I can't post any links yet as my post counts are still below 10
The difference with the info from the website above is that we don't need to cross compile if you're compiling in a Linux x86-64 system. Just need to make a static binary.
Let me know if you have any questions and I'll try to help out.
Cheers.
wolfdude said:
The difference with the info from the website above is that we don't need to cross compile if you're compiling in a Linux x86-64 system. Just need to make a static binary.
Let me know if you have any questions and I'll try to help out.
Click to expand...
Click to collapse
Thanks for your answer.
Sorry but I can't get the exact entry-point, bypassing all the NDK / X-compiling stuff, as we're on a x86_64 architecture
Referring to the "simplified" version of your link (here: https://nerdoftheherd.com/articles/cross-compiling-dropbear-rsync-android/ ),
how should I compile the Dropbear source ?
Something like this ?
Code:
./configure \
--disable-zlib --disable-largefile --disable-loginfunc --disable-shadow --disable-utmp --disable-utmpx --disable-wtmp \
--disable-wtmpx --disable-pututline --disable-pututxline --disable-lastlog \
CFLAGS='-Os -W -Wall -fPIE' LDFLAGS='[COLOR="Red"]-static[/COLOR] -fPIE -pie'
... right before make-ing ?
Thanks for any further hint in the right direction
Hi,
I didn't refer to that site you have posted BUT that site does have a link at the bottom to the site where I followed.
From that site, what I did was :-
1) Download dropbear v58 (dropbear-2013.58.tar.bz2). I know this is older but the patch available is based on this version.
2) Download patch (dropbear-patch2) from that site.
3) Apply patch to the original dropbear (v58) source.
4) Run configure :-
./configure --disable-zlib --disable-largefile --disable-loginfunc \
--disable-shadow --disable-utmp --disable-utmpx --disable-wtmp \
--disable-wtmpx --disable-pututline --disable-pututxline --disable-lastlog
5) Run make :-
STATIC=1 MULTI=1 SCPPROGRESS=0 PROGRAMS="dropbear dropbearkey scp dbclient" make strip
6) You should end up with "dropbearmulti" which is a static binary that you can then copy over the the phone & go on from there.
There are some issues with that version of the code (v58+patch). Namely the "scp" doesn't work (but I have found the offending code in scp.c and found a workaround).
Let me know if you need more details. If I have some time, I might look at getting the latest dropbear version & working out a patch for it to get it to work on android x86.
Cheers.
wolfdude said:
Hi,
I didn't refer to that site you have posted BUT that site does have a link at the bottom to the site where I followed.
[...]
There are some issues with that version of the code (v58+patch). Namely the "scp" doesn't work (but I have found the offending code in scp.c and found a workaround).
Let me know if you need more details. If I have some time, I might look at getting the latest dropbear version & working out a patch for it to get it to work on android x86.
Cheers.
Click to expand...
Click to collapse
Yes of course. The main link you weren't able to post is:
http://blog.xulforum.org/index.php?post/2013/12/19/Compiling-Dropbear-for-a-Nexus-7-tablet
Actually that procedure seemed too complex as mostly dealing with the cross-compiling issue, which didn't apply to x86 case.
So I named the derivative one
Thanks for pointing out the static compiling is done within MAKE and not CONFIGURE phase... I'm quite newbie in those flags so I do appreciate any of your words
About issues, what about using the latest v67 for Dropbear sources ? (see here)
If the patch doesn't work for such different version, I guessed commenting out the interactive password line would be enough
I'm trying to compile it this way and - for instance - replace the binaries in one of the SSHD packages I named in the OP...
Thank you again for your time
Val3r10 said:
About issues, what about using the latest v67 for Dropbear sources ? (see here)
If the patch doesn't work for such different version, I guessed commenting out the interactive password line would be enough
I'm trying to compile it this way and - for instance - replace the binaries in one of the SSHD packages I named in the OP...
Thank you again for your time
Click to expand...
Click to collapse
Hi,
Yes, the patch for v58 does not work for v67. I think one just have to go through the patch and "adjust" it slightly for the newer v67. Hopefully there isn't much changes from v58 to v67. There may be more than just commenting out the password prompt as there are certain functions that don't work in Android as in *NIX. When I have some time, I will attempt to patch v67 meanwhile, I'm running v58 fine on my ZE550ML so no complains there.
Cheers.
Hi,
I've created a guide on compiling the latest dropbear (2015.67) :-
http://forum.xda-developers.com/zenfone2/general/compiling-dropbear-2015-67-zenfone-2-t3142222
Hope it helps.
Cheers.
wolfdude said:
I've created a guide on compiling the latest dropbear (2015.67)
Click to expand...
Click to collapse
Thanks a lot.
Do you think the same process (STATIC build, of course, not patching) could be likely used for other small binaries too ?
Val3r10 said:
Thanks a lot.
Do you think the same process (STATIC build, of course, not patching) could be likely used for other small binaries too ?
Click to expand...
Click to collapse
Of course. I've managed to compile tcpdump, iperf, gdbserver, etc... successfully and working fine on the Zenfone 2.
Cheers.
I found that "Servers Ultimate" SSH/SFTP modules work on the Zenfone2 once properly configured. Its not working 100% but its already more then most solutions out there.

Android on Galaxy TabPro S

Hey not even sure if this is the right place to post this but I've been trying to find someone who would be willing to attempt to port Android to the Galaxy TabPro S, the caveat here is this isn't an ARM device, it's x86
I'm willing to pay, I've looked on Upwork but haven't had any success in finding anyone. My budget would be between $100 - $700 and I could pay with either PayPal or Bitcoin (we'd have to use an escrow service of course)
Also, I know I said Lineage 15.1 which I would prefer but I suppose I'd be fine with Lineage 14.1 as well
If anyone is interested just send me a PM!
Here's my job post:
I'm looking to make a LineageOS 15.1 port to the Samsung Galaxy TabPro S, Ideally you should already own this device yourself so you can test the drivers. (Unless there would be someway to remotely test the drivers on my device, if this is possible somehow)
Samsung provides the source to pretty much every driver on this device but I'm not sure how easily Windows drivers can be ported to Android
Please check out these links for further information
LineageOS running on a x86 Tablet Computer
http://youtube.com/watch?v=kX2vRBBjTKA
Project on GitHub to port TabPro S drivers to Linux
http://github.com/infernix/samsung_tabpro_s
All Windows Drivers for the tablet
http://downloadcenter.samsung.com/c...753425/GalaxyTabProS_DriverPackage_160513.zip
Hello everybody,
I merged our cm codebase with LineageOS. You can get the code as following:
git protocol
repo init -u git://git.osdn.jp/gitroot/android-x86/manifest -b nougat-x86 -m cm.xml
http protocol
repo init -u http://scm.osdn.jp/gitroot/android-x86/manifest -b nougat-x86 -m cm.xml
repo sync
At this moment you need to remove the cm kernel.mk and bt test_vendor_lib to get a complete build:
rm -rf system/bt/vendor_libs/test_vendor_lib vendor/cm/build/tasks/kernel.mk
Download LineageOS 14.1 x86_64 (for testing):
https://drive.google.com/open?id=0B9vJ9JSuyPijRzc1MzZ6emt2WDA
Click to expand...
Click to collapse
i can donate to this also 50 aND up
Galaxy tabpro s
I do have tabpro s and ive been looking for compatible android x86.. i dont mind testing this if your still on it.
subwoofer12 said:
Hey not even sure if this is the right place to post this but I've been trying to find someone who would be willing to attempt to port Android to the Galaxy TabPro S, the caveat here is this isn't an ARM device, it's x86
I'm willing to pay, I've looked on Upwork but haven't had any success in finding anyone. My budget would be between $100 - $700 and I could pay with either PayPal or Bitcoin (we'd have to use an escrow service of course)
Also, I know I said Lineage 15.1 which I would prefer but I suppose I'd be fine with Lineage 14.1 as well
If anyone is interested just send me a PM!
Here's my job post:
I'm looking to make a LineageOS 15.1 port to the Samsung Galaxy TabPro S, Ideally you should already own this device yourself so you can test the drivers. (Unless there would be someway to remotely test the drivers on my device, if this is possible somehow)
Samsung provides the source to pretty much every driver on this device but I'm not sure how easily Windows drivers can be ported to Android
Please check out these links for further information
LineageOS running on a x86 Tablet Computer
http://youtube.com/watch?v=kX2vRBBjTKA
Project on GitHub to port TabPro S drivers to Linux
http://github.com/infernix/samsung_tabpro_s
All Windows Drivers for the tablet
http://downloadcenter.samsung.com/c...753425/GalaxyTabProS_DriverPackage_160513.zip
Click to expand...
Click to collapse
Does anyone have success with Android on TabPro S? I can test too.

Categories

Resources