Linux, ubuntu,debian and backtrack 5 on android [mytouch 4g]

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
SO, I WAS READING ( as i always do) AND CAME ACROSS A GROUP OF DEVELOPERS WHO HAVE MANAGED TO GET UBUNTU,LINUX,BACKTRACK 5 AND OTHER OS's TO RUN ON ANDROID.

THE GOOD NEWS IS THAT U DONT HAVE TO FLASH IT AS A ROM OR ANYTHING. AND IT ALSO DOESNT MESS UP YOUR ANDROID SYSTEM. ITS WORKS LIKE A VIRTUAL MACHINE, TO BREAK IT DOWN IT RUNS ON TOP OF YOUR ANDROID OS JUST LIKE ANY APPLICATION WOULD DO. BUT IT NEEDS A KERNEL THAT SUPPORTS LOOP DEVICES.(Dont really know what that is)

I PERNSONALLY TRIED IT ON THE MYTOUCH 4G AND IT WORKS VERY WELL, ONLY FOR A LITTLE BIT OF SLOWNESS (that happens when u have lots of apps running in the background.) SO I SUGGEST YOU RUN IT AFTER A REBOOT.

I TESTED IT ON THESE ROMS AND KERNELS

ROM KERNEL
***DARK UNICORN RESURECTED**** ****COMB_KERNEL_WOB****** (dont know about the rest of thier kernels).

***PACman_GLACIER v22.0.1********* ************3.0.66_CODERZS_KERNEL_2************

*****CYANOGENMOD 7.2*************** ************ COMB_KERNEL_WOB*****


THERE MIGHT BE OTHER ROMS AND KERNELS THAT MIGHT WORK. SO YOU HAVE TO TEST THEM AND FIND OUT.


NOW HERE IS A LINK TO THE WEBSITE

[[ http://linuxonandroid.org/ ]]


FOR IT TO WORK YOU WOULD HAVE TO DOWNLOAD THE LUNCH APP (Its an APK file). THEN YOU DOWNLOAD THE IMAGE OF YOUR CHOICE BEING IT UBUNTU, LINUX,DEBIAN,BACKTRACK5 ETC....


FOR DOWNLOADS, YOU CAN VISIT THESE SITES:


FOR THE APK OR THE LUNCH APP VISIT

HERE: [[ http://sourceforge.net/projects/lin...omplete_Linux_Installer_08012013.apk/download ]]

OR

[[ https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid ]]


FOR THE IMAGES YOU CAN VISIT

HERE: [[ http://linuxonandroid.org/downloads/ ]]


OR FOR SPECIFIC IMAGES, YOU CAN VIST THESE SITES
NOTE: SOME OF THE OS's HAVE CORE,SMALL AND FULL IMAGES. THE CORE IMAGES, WELL CONTAIN THE CORE FILES WITH JUST A COUPLE OF APPS INSTALLED.(I wont post the link for the core images but if you want it visit the link posted above). THE SMALL IMAGE HAS LIMITED SOFTWARES PRE-INSTALLED WHILES THE FULL HAS MANY OR A WIDE RANGE OF SOFTWARES PRE-INSTALLED.

**********UBUNTU*******************
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...tu/12.04/full/ubuntu1204-v4-full.zip/download ]]

SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/lin.../12.04/small/ubuntu1204-v4-small.zip/download ]]


**********BACKTRACK*************
IMAGE
LINK: [[ http://sourceforge.net/projects/lin...ktrack/Image/backtrack-v10-image.zip/download ]]


**********FEDORA****************
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...ktrack/Image/backtrack-v10-image.zip/download ]]

SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Fedora/Small/fedora-BETA-small.zip/download ]]


********OPENSUSE*******
CORE IMAGE (its the only image available at the moment)

LINK: [[ http://sourceforge.net/projects/lin...nSUSE/Core/opensuse-ALPHA-core.zip/download]]


*********DEBIAN**********
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/Small/debian-v4-small.zip/download ]]

FULL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/Large/debian-v4-large.zip/download ]]


*******ARCHLINUX*********
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...Linux/Small/archlinux-BETA-small.zip/download ]]

FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...Linux/Large/archlinux-BETA-large.zip/download ]]

THATS ABOUT IT FOR THE IMAGES FOR NOW.

NOTE: FOR THIS TO WORK ROOT IS NEED AND A FULL INSTALLATION OF BUSYBOX AND TERMINAL EMULATOR AND ANDROID VNC VIEWER. AND ALSO, I TAKE NO CREDIT FOR THIS, I AM JUST HELPING OUT SO THAT PEOPLE CAN KNOW ABOUT IT.

HELP IS GIVEN IN THE APK. SO HOW HARD CAN IT BE :p

SO I THINK THATS ALL FOR NOW GUYS.

IF I HAVE HELP YOU, PLEASE USE THE THANKS BUTTON.
 
Last edited:

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
You have to open the terminal in Ubuntu. Then u type
"sudo -s" (it would ask for your password, enter it.)

Then type
"iwlist scan"
It would give you a whole number of interfaces. But WiFi should be on "p2p0".

Or u can type

"sudo -s"

"iwlist p2p0 scanning"



Sent from my myTouch 4g using xda app-developers app
 
Last edited:

hview

Senior Member
Dec 31, 2012
134
20
0
Karachi
I try backtrack working fine.

Tip: due to small screen size you can install vnc viewer on desktop and connect your android Linux.

Sent from my myTouch 4g using xda app-developers app
 

HÆÐÉS

Member
Aug 6, 2013
6
1
0
loading issues

I followed all the instructions but this is what i get

sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#

Sorry if the solution is obvious im new to this
 
  • Like
Reactions: GreenBlaze

N_otori0us_

Senior Member
Mar 30, 2013
1,639
494
0
█ ▆ ▄ ▂ ▁ ▂ ▄ ▆ █`
I followed all the instructions but this is what i get

sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#

Sorry if the solution is obvious im new to this
What did you try to run.

Sent from my myTouch 4g using xda app-developers app
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
I followed all the instructions but this is what i get

sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#

Sorry if the solution is obvious im new to this
Its because your current kernel doesn't support loop device. You have to flash a new kernel. If you are using a mytouch 4g, and you using a non sense ROM, you can flash coderz 3.66 kernel or try other kernels.

Sent from my myTouch 4g using xda app-developers app
 

HÆÐÉS

Member
Aug 6, 2013
6
1
0
What did you try to run.

Sent from my myTouch 4g using xda app-developers app
I tried to run backtrack

---------- Post added at 09:14 AM ---------- Previous post was at 09:03 AM ----------

Its because your current kernel doesn't support loop device. You have to flash a new kernel. If you are using a mytouch 4g, and you using a non sense ROM, you can flash coderz 3.66 kernel or try other kernels.

Sent from my myTouch 4g using xda app-developers app

Doesnt this mean im supposed to be able to support loop devices

sh-3.2$ fgrep loop /proc/devices
7 loop
sh-3.2$
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
I tried to run backtrack

---------- Post added at 09:14 AM ---------- Previous post was at 09:03 AM ----------




Doesnt this mean im supposed to be able to support loop devices

sh-3.2$ fgrep loop /proc/devices
7 loop
sh-3.2$
I guess its the scripts that comes with the app,these same scripts are the ones which launches the backtrack distro. I personally faced some problems with the new scripts but i have the old version which works fine on my device. I would try uploading it or you could search for an old version of the apk.

Edit
Do you have busybox installed??
Pls install it if u don't have it.

Sent from my myTouch 4g using xda app-developers app
 
Last edited:

HÆÐÉS

Member
Aug 6, 2013
6
1
0
After messing around with it i've got a new problem

sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
sh-3.2# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/bt5.img
sh: applet not found
sh-3.2#

What applet is it
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
After messing around with it i've got a new problem

sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
sh-3.2# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/bt5.img
sh: applet not found
sh-3.2#

What applet is it
I Dont really know but i guess it has something to do with busy box.
What ROM are u running and do u have busy box installed?

Sent from my myTouch 4g using xda app-developers app
 
  • Like
Reactions: ScottSNX
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone