[DEV] BACKTRACK 5 on Xperia X10 chroot - XPERIA X10 Android Development

==================== WIFI / WEP / WPA2 CRACKING Questions will not be answered ========
============== Already Stated many times monitor mode and packet injection is not working. ========
==================== POST 3 updated with some FAQ ===============================
==================== DETAILED INSTRUCTIONS UPDATED ===========================
==================== DOWNLOAD LINK UPDATED : Alternate Download Links ===============
========== PROJECT PAGE CREATE : http://hackomania.com/BT5/ ====================
Hi all,
Based on my work here DEVELOPMENT : Ubuntu Lucid CHROOT: updated script
I have been successful on Making Backtrack run on Xperia X10i.
Wanted to be the first one to report it so the thread here.
will start uploading the files once i get get all pieces together.
posting some screenshots for non believers.
Stay tuned for complete instructions on how to set up on X10i complete with custom scripts and all codes will be open sourced for your reference.
and this time it will be completely from gscript if you don't want to type commands.
Teaser screenshots for you.
Now will need support from the fellow developers in establishing what all tools are running fine and what not.
once i upload the image i will also post this on all social network so that we can gather as much support as possible.
File size : under 500 MB
======== FILE DOWNLOAD LINK================
DROPBOX links Bitlied for download count track
Alternate link from personal server.
Please do not create mirror : just want to keep a count on download's
PART 1 : Download Link : http://bit.ly/p1BT5
PART 2 : Download Link : http://bit.ly/BT5p2
PART 3 : Download Link : http://bit.ly/BT5p3
bt7z.001: http://www.mediafire.com/?x9cgxzdx84vc6uj
bt7z.002: http://www.mediafire.com/?xaoidipkg1o7vgo
bt7z.003: http://www.mediafire.com/?po3nznbxgvdipur
MD5 Sum : Thanks to DooMLorD
558ecb1f0e5feb1da86526df8761e6cc bt.7z.001
247842fd0d3ebb39454f76f4704d1537 bt.7z.002
f74d2f744434a7182b13287d9f8165e7 bt.7z.003
Bundle Link : http://bit.ly/iNHTS0 <- contains list of all 3 files in one bundle.
Note : uploading in one alternate location : mediafire will give its link soon.
======== Instructions =============
*********** ESSENTIALS ******************
Rooted Android. tested on 2.2 however should work on 2.1 and 1.6 also. (if you use custom rom's you meet the criteria)
Busybox configured (although it gets automatically configured @ rooting)
Android terminal application. (I use android terminal emulator)
Android VNC Viewer
********************************************
********** STEP's *************************
download all 3 parts of image and place them in single folder.
extract using first file and you will get following files
bt
bt.img
startbt
stopbt
installbt.sh
Copy these files on your phone under /sdcard/bt
using terminal emulator run following commands
Code:
su
cd /sdcard/bt
sh installbt.sh
Now your BT should be configured automatically.
to use your BackTrack you can use following commands.
startbt <- mounts and prepares the system for usage.
stopbt <- unmounts and free up all resources.
bt <- a command line version of BT chroot.
Inside bt shell.
ui <- will start vncserver (default password is 12345678, you can change it using vncpasswd command on bt shell)
killui <- stops the running vncserver.
Any Available VNC client can be used to connect to the BT GUI.
Nick : BackTrack (bt for short)
address : localhost
port : 5901
password : 12345678
inside vnc window select input mode (following works best for me)
Touch Mouse; D-Pad Pan
Mouse pointer control mode
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
*********** DO CHECK POST 3 after tonight ******************
Post 3 will be updated to be used as a catalogue of tips and tricks for all things related to this distro..
========= TIPS and TRICKS ==================
this section is for those who want to make simmilar image from base image on backtrack.
ohk so the basic challenge is
1) BacckTrack image is for Xoom and have following limitation w.r.t. Xperia X10.
a) File is 4.9 GB (vfat has limitation of 4 GB max)
b) vncserver resolution is 1280x800 per xoom.
2) installation script and setup script doesn't allow you to move in and out of BT.
3) it used loop2 for image mounting which conflicts with APP2SD.
so I have made following changes.
1) resized image to 3.3 GB (if space get filled we can extend image to upto 700 mb more.)
2) inserted my custom ui and killui code i use @ ubuntu.
3) provided startbt stopbt bt and installbt.sh scripts for all work.
4) changed loop no to 254 and hence this code is compatible with my ubuntu image effectively you can keep both in same sdcard...
I am attaching a log file for part 1 of the image work as this is very tricky.
The trick is if you create a new file of 3.3 GB you get limited set of inodes which get filled easily. so the command mke2fs must be supplied with inode numbers that you want to be build.
check attached txt for details.

============ SCREEN SHOTS =================
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

========= FAQ plus TIPS and TRICKS =====================
Q : Installbt.sh script not working properly i am recieving errors?
A: please cross check all steps if you have missed any.. otherwise post the output of error's in thread.
Q : sh installbt.sh works fine now i am getting errors in startbt or bt command.
A : please check following steps.
Try rebooting the device and see if startbt and then bt works. if still error post the error output on thread.
post output of following command
mount
echo $PATH
busybox
which busybox
Q: what is the use of all the files besides bt.img
A : Listed is the description of all files.
1) sh installbt.sh is to be only used once in liftime. till you flash a new rom.
2) startbt is to be used once after every reboot.
3) bt is command to be used everytime after first use of startbt to get command prompt.
4) stopbt is to be used when you want to stop the bt service which is running in the background.
4) and inside the [email protected] prompt you can use ui and killui command to start and stop the vncserver.

anantshri said:
Hi all,
Based on my work here DEVELOPMENT : Ubuntu Lucid CHROOT: updated script
I have been succefull on Making Backtrack run on Xperia X10i.
Wanted to be the first one to report it so the thread here.
will start uploading the files once i get get all pieces together.
posting some screenshots for non believers.
Stay tuned for complete instructions on how to set up on X10i complete with custom scripts and all codes will be open sourced for your reference.
and this time it will be completely from gscript if you don't want to type commands.
Teaser screenshots for you.
Now will need support from the fellow developers in establishing what all tools are running fine and what not.
once i upload the image i will also post this on all social network so that we can gather as much support as possible.
=========RESERVED for instructions =============
Click to expand...
Click to collapse
Nice work keep going.
Sent from my X10 TripNMiUI

Is it for real ?! Wow! Can't wait!!!

hoho it will be great

Brilliant work my friend!!!
Does it still require VNC server/client?
Does pen-testing work? What about arp poisoning and promiscus mode to gather data packets?
sent from FreeX10_beta4+CM6 settings

DooMLoRD said:
Brilliant work my friend!!!
Does it still require VNC server/client?
Does pen-testing work? What about arp poisoning and promiscus mode to gather data packets?
sent from FreeX10_beta4+CM6 settings
Click to expand...
Click to collapse
slow down buddy.... just got the image up and running tools still need to be tested.....
and ya it still needs vnc that's why still chroot.

OMG MAN! I remember asking backtrack in your thread long time back for WEP cracking!
You are the best man! I love your work!
Thank you for listening!

WOOOOOOOOOO.
Awesome work!

That is frigging awesome....
Sent from my X10project using XDA App

anantshri said:
============ SCREEN SHOTS =================
Click to expand...
Click to collapse
A true Hero to the open world!

Wow, nice work
Sent from my X10 TripNMiUI using XDA Premium App

What does that mean though. Like what will we need to do
Sent from my X10a using XDA Premium App

Sorry, but what is backtrack? Some sort of UI?

Mister J said:
Sorry, but what is backtrack? Some sort of UI?
Click to expand...
Click to collapse
"BackTrack is a GNU/Linux distribution distributed as a Live DVD aimed at digital forensics use and penetration testing."
Ref.: http://en.wikipedia.org/wiki/BackTrack
so its not a UI....
its a Debian based linux OS

Lion3494 said:
What does that mean though. Like what will we need to do
Sent from my X10a using XDA Premium App
Click to expand...
Click to collapse
I am just finished optimizing files and installation script ....
uploading soon...
file size : under shades on 700 MB....
P.S. : Backtrack has given a 1.1 GB file to download this is same with few simple tweaks.
tweaks and tips uploaded on first post...

How is the performance? Just two weeks left and then I'm done with my final exams, so after that I am going to learn more about all this chrooting and dualbooting stuff!
Well done mate!

Meikrekel said:
How is the performance? Just two weeks left and then I'm done with my final exams, so after that I am going to learn more about all this chrooting and dualbooting stuff!
Well done mate!
Click to expand...
Click to collapse
I need testers badly.... to my my baby will always run faster...
also one more tweak found that tmp folder contained framework.bz2 and msf3 decompressed folder deleted both freedup lots of inodes and now image size going down....
from 700mb of initial size i am down to < 500 MB

testing
ill test it for you what exactly is works /not?
wi-fi?

Related

How to use Android Emulator to test custom ROMs

** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.
not too sure... but... isnt heap size 32? and lcd density standard at 240? x
http://forum.xda-developers.com/showthread.php?t=769057
U can also grab a pre-made x10 avd from the se dev website
gavriel18 said:
U can also grab a pre-made x10 avd from the se dev website
Click to expand...
Click to collapse
Sweet. developer.sonyericsson.com
Thanks for info, I can correct this
@XperiaX10iUser : your thread link is for Windows, there was nothing for Linux ?
I knew there was an AVD, I didn't know where it was
deanwarez said:
not too sure... but... isnt heap size 32? and lcd density standard at 240? x
Click to expand...
Click to collapse
Where did you get the info ? I'd like to be sure before change it
Density is 160 as standard, at least in the last SDK. I don't know what's the correct for X10 (Still can't grab the pre-made AVD from SE, it has all info).
EDIT : lol, missed the AVD in add-on, I look at this !
Indeed, heap is 32 (http://forum.xda-developers.com/showthread.php?t=844256).
Hey,
thanks for this useful thread!
I have problems in this whole process of booting a custom rom ( in my case Miui) in the Emulator . I have compiled the whole rom on a Linux VM with this Guide http://forum.xda-developers.com/showthread.php?t=913606 and pushed it in a Windows system into android-9/images/system.img but it won't boot I don't know what I am doing wrong. My system.img is 2 GB big I think this is not normal. if i am replacing the system.img with the original out of the emulator, it is booting. I just want to boot the Miui rom to port some features to Cyanogenmod... Thanks in advance. I have a HTC Legend btw .
deanwarez said:
not too sure... but... isnt heap size 32? and lcd density standard at 240? x
Click to expand...
Click to collapse
Defaults: 240 density and 24mb dalvik in latesy build. The density is fine but increase 32mb dalvik heap and getting Jit v2 on via xRecovery 0.3.. You can always change values anyways
sent from heaven via x10a custom
@MrHassel > Thanks a lot for info, I'll correct this later then
@Westi01 > Sorry, but I don't know how it works for Legend -- but the generic booting process should be the same. Remember some roms use custom stuff (like kernel addresses) whose can make the emulator not to run. But as I know, it should be rare. You should check indeed your rom, as you say it's 2Gb, it looks very huge indeed. AOSP (compiled) is about 45Mb or 80Mb if I'm not wrong (can't remember lol). Give a try to kitchening method, or try to run emulator from Linux, gotta be easier
Westi01 said:
Hey,
thanks for this useful thread!
I have problems in this whole process of booting a custom rom ( in my case Miui) in the Emulator . I have compiled the whole rom on a Linux VM with this Guide http://forum.xda-developers.com/showthread.php?t=913606 and pushed it in a Windows system into android-9/images/system.img but it won't boot I don't know what I am doing wrong. My system.img is 2 GB big I think this is not normal. if i am replacing the system.img with the original out of the emulator, it is booting. I just want to boot the Miui rom to port some features to Cyanogenmod... Thanks in advance. I have a HTC Legend btw .
Click to expand...
Click to collapse
maybe u just need a simulator build instead of a device build.
i got confused after step 6. What terminal should i start? I am using windows xp and the terminal i am trying to use is cmd (correct me if needed pls ).Then what? i want to test some ICS roms but i cant get them to work Pls help!
Can you post a direct like to the SDK? i have no idea where it is.
Sent from my X10i using xda app-developers app
Hi, is this normal while running Android SDK Manager?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm using one x. Where can I find the SDK files.
Hello,
I am facing a problem while starting virtual device.
When i run "emulator -avd devicenaem" after few second this message popup: C:\Users\username\AppData\Local\Android\sdk\tools>ko:Invalid system partition im
age type: yaffs2 (expected ext4)
I also tried to use "-system path_to_system.img" but nothing fine.

[DEV] BACKTRACK 5 on SGS2 (chroot) [UPDATED: 12/July/2011]

\\----[ Announcement ]----//
[12/July/2011] Updated with new package (bt5_sgs2_shell_scripts_v2.zip) containing shell scripts & busybox
//----[ Announcement ]----\\
hi guys DooMLoRD & anantshri present to u:
BACKTRACK 5 on SGS2
all the work was done by anantshri, i mostly assisted by testing it on my SGS2 and modding it slightly so that it will work properly for SGS2... dont forget to thank him!
i will try n keep it short and simple...
for more details u can read the original thread at X10 sub-forums...
[DEV] BACKTRACK 5 on Xperia X10 chroot
[ Screenshots ]
on startup (shell):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in GUI:
phone + BT5 GUI:
[ Requirements ]
rooted device with busybox installed, if u are using CF-root kernel then u already have busybox installed
Some apps from Android Market:
Android Terminal Emulator
androidVNC
[optional] highly recomended keyboard: Hacker's Keyboard
7zip (for PC), for extracting the files
around 3.3 GB free on internal sdcard (/sdcard/)
[ How To : File Setup ]
u need to do this only once
download the files from the links provided in this thread
extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
connect ur SGS2 to PC and mount USB storage
create a folder named 'bt' (without quotes) in the root of ur sdcard and copy the bt.img in that folder
also place the file bt5_sgs2_shell_scripts_v2.zip in root of sdcard, this file has to be flashed via recovery
once u verify that the above is correct then un-mount usb storage
reboot into recovery and flash the file bt5_sgs2_shell_scripts_v2.zip stored in root of sdcard (or if u are using CWM app then just select the file for flashing and the app will do the rest )
once ur phone reboots into OS just check the /sdcard/bt folder
final directory structure should look like this:
/sdcard/bt/bt
/sdcard/bt/bt.img
/sdcard/bt/installbt.sh
/sdcard/bt/startbt
/sdcard/bt/stopbt
once u verify that the above is correct then u can proceed
[ How To : Launch BT ]
start Terminal Emulator app on ur SGS2 and enter the following commands step by step (accept/allow any SuperUser request/popup that u may receive)
su
cd /sdcard/bt
sh installbt.sh
startbt
bt
now u are in BackTrack5 shell
to launch GUI (vncserver) enter the following command
ui
now note the number N shown localhost:N
e.g. as u can see from the above image that "New 'X' desktop is localhost:1", so N=1
the vncserver is running at (5900 + N, N=1 ; so server port is 5901)
now launch androidVNC app on phone and fill in the detials as follows
Nick : bt
Address : 127.0.0.1
Port : 5901
Password : 12345678
Username : <leave it blank>
Color Format : 24-bit color (4 bpp)
inside vnc window select input mode (i personally recommend the following)
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
and then press connect... now u are in BackTrack GUI!
if u want to exit/close BT5 then u need to follow these steps:
close the androidVNC app (Menu -> Disconnect)
go back into Terminal Emulator app and enter the following commands
u should be at this shell [email protected]:~#
killui
exit
now u will get back to this shell> #
now enter the following commands to stop bt and exit
stopbt
exit
exit
u can now exit the Terminal Emulator app
i would also recommend that u reboot ur phone
[ Important Info ]
root password is 12345678
[ Download Links ]
update.zip package containing shell scripts, busybox (which gets installed to temporary location) [to be flashed via recovery]
this will not disturb/conflict with busybox of ur ROM/CF-Root kernel
bt5_sgs2_shell_scripts_v2.zip (~800KB)
main bt.img
these links are 7zip archives split into 50mb files, u will need to download the following:
total size: 486MB
bt.7z.001 (50 MB)
bt.7z.002 (50 MB)
bt.7z.003 (50 MB)
bt.7z.004 (50 MB)
bt.7z.005 (50 MB)
bt.7z.006 (50 MB)
bt.7z.007 (50 MB)
bt.7z.008 (50 MB)
bt.7z.009 (50 MB)
bt.7z.010 (36 MB)
also uploading to mediafire for mirroring...
Mediafire Folder: http://www.mediafire.com/?f9gk3p3t9wip5
md5 hashes:
Code:
bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
bt.7z.004 8ad487a01e4d149f0247ad9288201f32
bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
bt.7z.006 ba6a28de70a1115dc316f45cea508215
bt.7z.007 f59757e891631607e1a35abadb231b3b
bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
bt.7z.009 426d892f872679e3d53d0ebb0376e138
bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39
ENJOY!
[ Tips n Tricks! ]
if u have ur device (SGS2) connected over wifi u can connect to the BT5 vncserver running on ur phone!! u will just need to connect to
<ip_address_of_phone>:<portno>
most of the startup/launching commands can be executed even through adb shell
==== Reserved ===
few pointers as this has been asked many times
1) Monitor Mode will not work till someone tried to compile a custom wifi drivers with monitor mode enables, in that case also firmware should allow it.
2) Those using android-vnc-viewer and facing difficulty in navigation check various input modes.
These 3 works the best for me.
Touch Mouse; D-Pad Pan
Mouse pointer control mode
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
Excellent. I've been wanting to do this.
Back Track is running smoothly on my SGS2 with Lite'ning ROM.
files uploaded to personal direct download server!
links updated
also uploading to mediafire for mirroring...
http://www.mediafire.com/?f9gk3p3t9wip5
will post these links in few hours!
ENJOY BT5 on ur SGS2
Great!! Thank you. Will test and post soon.
i get an error:
here is a problem ith the configuration server (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)
any solution?
piffpaff said:
i get an error:
here is a problem ith the configuration server (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)
any solution?
Click to expand...
Click to collapse
which files did u try? i have changed anantshri's original images and uploaded working one for SGS2... please download the files from the first post!
if u are still getting that error do let me know...
Very nice
Thanks alot
ok i load the wrong files from other thread.
thx
piffpaff said:
ok i load the wrong files from other thread.
thx
Click to expand...
Click to collapse
please test these ones and post ur feedback!
thank u for testing!
Archive
When I extract the archive, I only end up with bt5.img, and none of the other files
I downloaded the files from the first post. Any insight as to what the problem might be?
034 said:
When I extract the archive, I only end up with bt5.img, and none of the other files
I downloaded the files from the first post. Any insight as to what the problem might be?
Click to expand...
Click to collapse
sorry had forgotten the shell scripts:
here they are:
bt5_sgs2_shell_scripts.zip (2 KB)
i have also updated the 1st post with details...
[ How To : File Setup ]
u need to do this only once
download the files from the links provided in this thread
extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
connect ur SGS2 to PC and mount USB storage
create a folder named 'bt' (without quotes) in the root of ur sdcard
final directory structure should look like this:
/sdcard/bt/bt
/sdcard/bt/bt.img
/sdcard/bt/installbt.sh
/sdcard/bt/startbt
/sdcard/bt/stopbt
once u verify that the above is correct then un-mount usb storage
blimey so how much of backtrack actually works? Struggling to see the wep/wpa stuff working..Anyone?
Bloody hindering awkward to use as well. Good job but hmm, little tough to use.
Bed...
mrdegriz said:
blimey so how much of backtrack actually works? Struggling to see the wep/wpa stuff working..Anyone?
Bloody hindering awkward to use as well. Good job but hmm, little tough to use.
Bed...
Click to expand...
Click to collapse
1) wep/wpa crack will not work till we get monitor mode in wifi drivers.
2) if it feels awkward do check the various input methods you have for vncviewer.
(following works best for me)
Touch Mouse; D-Pad Pan
Mouse pointer control mode
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
it works fine.
thx for your work
nice work man..... I've been looking to work on gs2.thanks man
Nice work once again Doom! Glad to see a familiar poster from the X10 days.
Willing to try this but not at the expense of normal roms. Hopefully one day we get to dual-boot this and a rom/fw of our choice.
admartian said:
Nice work once again Doom! Glad to see a familiar poster from the X10 days.
Willing to try this but not at the expense of normal roms. Hopefully one day we get to dual-boot this and a rom/fw of our choice.
Click to expand...
Click to collapse
well this doesnt change anything in ur rom...
it runs from within /sdcard/bt (actually it runs from the bt.img file)
so its completely safe to try...
dualbooting is really tempting... would be possible... will see wht can be done...
Any advice on setting screen resolution in such way so it doesn't scroll a bit to the left or right?
Swyped from my Galaxy S II using Tapatalk

[APP]Ubuntu Install Guide -Atrix Testers wanted

Hello guys,
Thank you all for the amount of support you have given this project! I have now decided to stop updating this thread. If people still have bugs or want to keep following this project please go to the Main project thread HERE.
I will stop updating this thread because I feel we now know what roms/kernels do and don't work so there is no need for me to keep updating this thread (And the other 5 threads I run for certain devices), but of cause if you do still have problems reply to the main thread or PM me!
Once again thank you all!!
I have released the first version of my app, which guides you through the installation of Ubuntu within android via chroot. It includes a ubuntu 10.10 image I have been working on which includes lots of program to allow users to develop program/scripts etc within Ubuntu on there phone/tablet.
However I have only been able to test the app on my HTC Desire S and Gen 8 Archos tablet and as such I need you guys to test this on your phone/tablet and post back how it works on your device!
Please post your device/kernel/rom along with what did and didn't work, so I can draw up what I need to change in the next release of the app/ubuntu build.
Website
http://zpwebsites.com/android-app/ubuntu-install-guide/devices/
Video
http://youtu.be/3WNeY9b5DIg
App Download
Free App
Paid App
Boot Script
ubuntu.sh(V5)
Full Images
These images are 1.5GB to download, once extracted 3.5GB, and include alot of programs like openoffice, thunderbird, firefox and over programs for 'developing'
Ubuntu 10.10 V4 - 800x480
Ubuntu 10.10 V4 - 854x480
Ubuntu 10.10 V4 - 960x540
Ubuntu 10.10 V4 - 1024x600
Ubuntu 10.10 V4 - 1280x800
Lightweight Images
These images are just under 500MB to download, once extracted 2.5GB, and include only programs needed (LXDE desktop, firefox, + other basic programs)
Ubuntu 10.10 V4 - 800x480
Ubuntu 10.10 V4 - 854x480
Ubuntu 10.10 V4 - 960x540
Ubuntu 10.10 V4 - 1024x600
Ubuntu 10.10 V4 - 1280x800
I also want to build up a small group of testers who I can email with new images and scripts, these will include all future distros that I do. If you are interested in joining this test group please PM me or send a email to [email protected]
The only requirement is that your willing to test and send feedback along with screen shoots etc where required, it would also be good if your willing to try different roms and kernels for your device!
Sig Banner
Show your love of ubuntu on android with my sig banner:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
image url is "http://dl.dropbox.com/u/11206993/ubuntuuser.png"
Other Guides
Like this guide? want to try something different? then check out my other guides for different distro's
Backtrack - This is a distro that is based around security testing, it also includes the Gnome desktop environment and a range of other programs.
Updates
06/01/12
*PAID app file downloads now use new fast FTP server and support direct downloading (click the button to download a image and it starts to download right away)
*New boot script which has fixed problems with it not booting on alot of devices, and fixed problem which some people getting a grey screen when loading UI
*Boot script now downloaded in zip file to fix problems with downloading script
*Both apps fixed to support low resolutions
*Both apps cleaned up
28/12/11
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easier updating
19/12/11
New 'lighter' ubuntu image options for all resolutions already supported
15/12/11
New ubuntu images with all updates up to 15/11/11
FREE app ubuntu image resized to fit 800x480 resolution
PAID app ubuntu images now includes 4 images for 800x480, 854x480, 1024x600 and 1280x800 resolutions
See how deep the rabbit-hole goes...
http://linuxonandroid.blogspot.com/
Hopefully tomorrow I will have time to upload images that fit the atrix qHD screen.
Sent from my HTC Desire S using XDA App
Downloading as I type, will let you know.
This is the image I get. Running darkside 4.2 lite, faux123 latest 1.3, fruitcake 2.3.5, debian mod. Used the lite app until it works then will purchase full version.
Included sh wouldn't connect but v3 connects just nothing to see.
Can move around just nothing to see. Let me know if you need any help or have anything you want me to try.
Sent from my awesome atrix thanks to all the devs here!
Does nothing when "sh ubuntu.sh" is typed.
Don't know if it's my rom (it's a foreign rom with no list of features) or the app.
Will this work with the lapdock? It has a rez of 1366X768, will it retain the lapdock functionality?
Try to download the ubuntuv3.sh and put it in the same extracted folder and run that in terminal. That is what I had to do. Then go to home and open and log in with vnc.
Sent from my awesome atrix thanks to all the devs here!
well it works with lapdock but they damn thing wont go into landscape on lapdock
Just curious for those running it, can you go back to normal android still from ubunto or do you have to wipe and reflash the ROM to get back to normal android? I want to test it but curious if I can revert back easier.
Sent from my Atrix XDA Premium App
Killer0Kevin said:
Does nothing when "sh ubuntu.sh" is typed.
Don't know if it's my rom (it's a foreign rom with no list of features) or the app.
Click to expand...
Click to collapse
odd make sure you have cd into the right folder and that the script isn't crupt
morepower71 said:
This is the image I get. Running darkside 4.2 lite, faux123 latest 1.3, fruitcake 2.3.5, debian mod. Used the lite app until it works then will purchase full version.
Included sh wouldn't connect but v3 connects just nothing to see.
Can move around just nothing to see. Let me know if you need any help or have anything you want me to try.
Sent from my awesome atrix thanks to all the devs here!
Click to expand...
Click to collapse
interesting so Ubuntu is running but the ui dosnt load, will look into this and get back to you.
cyris69 said:
well it works with lapdock but they damn thing wont go into landscape on lapdock
Click to expand...
Click to collapse
could I get some screen shoots to see what you meant
Voelker45 said:
Just curious for those running it, can you go back to normal android still from ubunto or do you have to wipe and reflash the ROM to get back to normal android? I want to test it but curious if I can revert back easier.
Sent from my Atrix XDA Premium App
Click to expand...
Click to collapse
you can go back to android just by hitting home. however the sdcard gets mounted for Ubuntu so to stop Ubuntu you have to restart the phone
Change log for new release (release will be in the next few days for paid end of next week for free) - all new images etc will be added to the first post as they are finished and uploaded!
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easy updating of the script
*+more likely before release
I can't run Ubuntu, cause I have a problem with VNC.
VNC connection failed!
localhost/127.0.0.1:5900 - Connection refused!
Stock 2.3.4
ovitz said:
I can't run Ubuntu, cause I have a problem with VNC.
VNC connection failed!
localhost/127.0.0.1:5900 - Connection refused!
Stock 2.3.4
Click to expand...
Click to collapse
When you run the ubuntu.sh what is output? i.e. does ubuntu run and you just cant connect to the GUI or does ubuntu not run at all
that's awesome!
Atrix (Gingerbread2) stock ..
download
I am a failure "init.sh" when I type sh .. ubuntu.sh
1 - missing first create a folder in / data / local / mnt / etc (I created), I had this error again.
2 - now past the terminal post is missing this file in / root
Can someone pass me this file for me to try?
leonardoaraujo said:
that's awesome!
Atrix (Gingerbread2) stock ..
download
I am a failure "init.sh" when I type sh .. ubuntu.sh
Click to expand...
Click to collapse
Could I get a screen shoot of the terminal output
Sent from my HTC Desire S using XDA App
#sh ubuntu.sh
mkdir failed for /data/local/mnt, file exists
loop device exists
losetup: /dev/block/loop7: device is busy
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: applet not found
mount: applet not found
sysctl: applet not found
Ubuntu is configurated with SSH and VNC servers that can de accessed from the IP:
eth0: no such device
chroot: cannot execute /root/init.sh: No such file or directory
shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
ioctl: LOOP_CLR_FD: No such device or address
#
leonardoaraujo said:
#sh ubuntu.sh
mkdir failed for /data/local/mnt, file exists
loop device exists
losetup: /dev/block/loop7: device is busy
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: applet not found
mount: applet not found
sysctl: applet not found
Ubuntu is configurated with SSH and VNC servers that can de accessed from the IP:
eth0: no such device
chroot: cannot execute /root/init.sh: No such file or directory
shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
ioctl: LOOP_CLR_FD: No such device or address
#
Click to expand...
Click to collapse
Thank you, yup it's the same problem a good few people are getting, I believe it's down to loop support, but I'm not completely sure and with no device getting this bug to test on I just have to keep trying
Sent from my HTC Desire S using XDA App
I will be your tester that man, I want to help you figure out how I warn you ...
I know a little linux ... lol
There is a file that is missing in this rom, (according to the terminal), init.sh the file in / root
I pass it (if you have), I do not care bootloops, I do not mind having to install the rom again if necessary ...
ps:strange ..... I "image corrupted" when trying to script the original (in the zip) ..
this is what I get
leonardoaraujo said:
I will be your tester that man, I want to help you figure out how I warn you ...
I know a little linux ... lol
There is a file that is missing in this rom, (according to the terminal), init.sh the file in / root
I pass it (if you have), I do not care bootloops, I do not mind having to install the rom again if necessary ...
ps:strange ..... I "image corrupted" when trying to script the original (in the zip) ..
Click to expand...
Click to collapse
Thanks dude,
The file missing error is because it's trying to run a script in the Ubuntu image that starts vnc etc.
But as Ubuntu isn't mounting it can't access it.
Sent from my HTC Desire S using XDA App

[DEV] BACKTRACK 5 on HTC Flyer (chroot) [Dt: 14/Jan/2012]

hi guys here is BACKTRACK 5 on HTC Flyer
most of the work was done by anantshri, i have only modified it slightly so that it will works properly on HTC Flyer... dont forget to thank him!
i will try n keep it short and simple... this is running in chroot environment and doesnt boot as a separate OS... it can be accessed through shell or via a VNC client..
for more details u can read the original thread at X10 sub-forums...
[DEV] BACKTRACK 5 on Xperia X10 chroot
if u dont know what Backtrack is read this: http://bit.ly/z23em2
[ Screenshots ]
on startup (shell):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in GUI:
BT5 on tablet:
[ Requirements ]
rooted device
Some apps from Android Market:
Android Terminal Emulator
androidVNC
[optional] highly recomended keyboard: Hacker's Keyboard
7zip (for PC), for extracting the files
around 3.3 GB free on external sdcard (/sdcard/ext_sd/)
[ How To : File Setup ]
u need to do this only once
download the files from the links provided in this thread
extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
connect ur device to PC and mount USB storage
create a folder named 'bt' (without quotes) in the root of ur external sdcard and copy the bt.img in that folder
also place the file bt5_flyer_shell_scripts_v1.zip in root of sdcard, this file has to be flashed via recovery
once u verify that the above is correct then un-mount usb storage
reboot into recovery and flash the file bt5_flyer_shell_scripts_v1.zip stored in root of sdcard
once ur phone reboots into OS just check the /sdcard/ext_sd/bt folder
final directory structure should look like this:
/sdcard/ext_sd/bt/bt
/sdcard/ext_sd/bt/bt.img
/sdcard/ext_sd/bt/installbt.sh
/sdcard/ext_sd/bt/startbt
/sdcard/ext_sd/bt/stopbt
once u verify that the above is correct then u can proceed
[ How To : Launch BT ]
start Terminal Emulator app on ur device and enter the following commands step by step (accept/allow any SuperUser request/popup that u may receive)
su
cd /sdcard/ext_sd/bt
sh installbt.sh
startbt
bt
now u are in BackTrack5 shell
to launch GUI (vncserver) enter the following command
ui
now note the number N shown localhost:N
e.g. as u can see from the above image that "New 'X' desktop is localhost:1", so N=1
the vncserver is running at (5900 + N, N=1 ; so server port is 5901)
now launch androidVNC app on phone and fill in the detials as follows
Nick : bt
Address : 127.0.0.1
Port : 5901
Password : 12345678
Username : <leave it blank>
Color Format : 24-bit color (4 bpp)
inside vnc window select input mode (i personally recommend the following)
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
and then press connect... now u are in BackTrack GUI!
if u want to exit/close BT5 then u need to follow these steps:
close the androidVNC app (Menu -> Disconnect)
go back into Terminal Emulator app and enter the following commands
u should be at this shell [email protected]:~#
killui
exit
now u will get back to this shell> #
now enter the following commands to stop bt and exit
stopbt
exit
exit
u can now exit the Terminal Emulator app
i would also recommend that u reboot ur phone
[ Important Info ]
root password is 12345678
[ Download Links ]
update.zip package containing shell scripts, busybox (which gets installed to temporary location) [to be flashed via recovery]
this will not disturb/conflict with busybox of ur ROM/CF-Root kernel
bt5_flyer_shell_scripts_v1.zip (~800KB)
main bt.img
there are two sets of files... for those who dont have a very stable connection i have provided small 50MB (x 10) packages while for others who have a stable connection i have provided 250MB (x 2) packages... both contain the same file bt.img but for the convenience of users i have created these two sets... if u have already downloaded one set u do not need the other set...
KINDLY DO NOT MIRROR OUR FILES
SET 1
these links are 7zip archives split into 50mb files, u will need to download the following:
total size: 486MB
bt.7z.001 (50 MB)
bt.7z.002 (50 MB)
bt.7z.003 (50 MB)
bt.7z.004 (50 MB)
bt.7z.005 (50 MB)
bt.7z.006 (50 MB)
bt.7z.007 (50 MB)
bt.7z.008 (50 MB)
bt.7z.009 (50 MB)
bt.7z.010 (36 MB)
md5 hashes:
Code:
bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
bt.7z.004 8ad487a01e4d149f0247ad9288201f32
bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
bt.7z.006 ba6a28de70a1115dc316f45cea508215
bt.7z.007 f59757e891631607e1a35abadb231b3b
bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
bt.7z.009 426d892f872679e3d53d0ebb0376e138
bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39
i am also uploading a different set where-in the files are split into 250MB parts... but that upload is taking time
OR
SET 2
these links are 7zip archives split into 250mb files, u will need to download the following:
total size: 486MB
part1
part2
md5 hashes:
Code:
bt.7z.001 fea6299bfa1677bd344d478108d458b2
bt.7z.002 b3897170d1f05dd0fb812fd092411203
ENJOY!
reserved for later
Nice job! Will this also work on GB?
AidenM said:
Nice job! Will this also work on GB?
Click to expand...
Click to collapse
yups should work irrespective of android OS version
DooMLoRD said:
yups should work irrespective of android OS version
Click to expand...
Click to collapse
Cool beans trying it out now
I was just wishing someone would port Linux to the flyer the other day, and here it is, like magic. I'm glad we have you as a dev, you always seem to think outside the box. I'm kinda sad it came at the end of my break, but I will definitely be giving this a try next time I have some spare time. Thanks!
Sent from my mobile typewriter with tapatalk
thx
Works fine on GB flyer
Very Nice........
First, I would like to show me appreciation for this nice piece of art!
Second, would it be ok if I copied the script files manually on me rooted device instead of flashing it ?
Thanks again.........
jaguaralani said:
Very Nice........
First, I would like to show me appreciation for this nice piece of art!
Second, would it be ok if I copied the script files manually on me rooted device instead of flashing it ?
Thanks again.........
Click to expand...
Click to collapse
I recommend that u should flash them via recovery...
Sent from my HTC Flyer P510e using XDA App
So, I can't open the second part of the two 250mg files. It tells me it can't be opened as an archive. The first part works.
devator22 said:
So, I can't open the second part of the two 250mg files. It tells me it can't be opened as an archive. The first part works.
Click to expand...
Click to collapse
Bump?
Sent from my mobile typewriter with tapatalk
devator22 said:
Bump?
Sent from my mobile typewriter with tapatalk
Click to expand...
Click to collapse
second part cant be seperately opened...
open the first file and it will open all further parts
DooMLoRD said:
second part cant be seperately opened...
open the first file and it will open all further parts
Click to expand...
Click to collapse
Oh, okay. Thanks for the answer, I was about ready to give up.
Sent from my mobile typewriter with tapatalk
Thanks a lot! I've edited the scripts a bit and managed to run this from internal sd card (my ext_sd is just 2GB). It's all working fine, when I'll get home from work I will try to find out how usefull this can be
PS: Never thrust a bit.ly link, it's almost always a lmgtfy link
Thanks for all the info I got everything setup and working. Can we put the wifi into monitor mode? Not really sure where to go from here. Thanks.
cmantis said:
Thanks for all the info I got everything setup and working. Can we put the wifi into monitor mode? Not really sure where to go from here. Thanks.
Click to expand...
Click to collapse
Nope, no driver support.
It's in the kernel
barry99705 said:
Nope, no driver support.
Click to expand...
Click to collapse
The AOSP kernel is currently dev'ing, and monitor mode is possible for the View/Flyer as they use a very common chip (Broadcomm 5823) The information for this chip is on xda, but I don't have time to search it, will edit later.
how i can use virtual/hacker keyboard with GB? i got an empty bar in GB when in HC is fixed. how i can keyboard appear? send text function is a bit annoying
Anything new about the monitor mode???
doctorlirio said:
Anything new about the monitor mode???
Click to expand...
Click to collapse
Does HDMI output not work wheil runing BT5?

[Ubuntu] T3buntu

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your shoice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile
LINK to bootscript
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
How about a link to get 3. Linux on Android.
I know I'm top lazy to Google.
Sent from my GT-P5210 using XDA Premium HD app
Awesome! Glad to see something! And having Ubuntu is a very cool os to have! Good work and thank you!
Sent from my SCH-I605 using xda app-developers app
Added links to Linux on Android and Busybox in first post.
Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
RubenStauttener;48606882]Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
Havnt noticed any problems here but i have added the space and updated the script since both versions works for me.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
Does it reboot during script execution ? It do sound like a mem issue. Do you have widgets and such running in android ?
You can try with enabling the swapfile in bootscript.sh .
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
I've got the terminal up and running fine. But I can't VNC into it. What settings are you using for you VNC viewer?
How about native graphic support using libhybris? Or since this device use PowerVR SGX 544, is native X11 possible? Reference: https://wiki.archlinux.org/index.php/Intel_GMA3600
EDIT: https://github.com/trevd/android_kernel_samsung_santos10/tree/cm-10.2/drivers/staging/mrst/pvr and https://github.com/thomas001/cedarview-drm/tree/master/staging/cdv/pvr looks similar
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Nonta72 said:
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Click to expand...
Click to collapse
Test password: ubuntu
When run script say mnt error =/
zorrigas said:
Test password: ubuntu
When run script say mnt error =/
Click to expand...
Click to collapse
Thanks, but I already solved it :good:
Sent from my GT-5210 powered by AmatROM HD
Hi, I posted a question in the Q&A forum (them 10 posts), but I guess it really belongs here.
Tried this on my TWRP rooted UANB4 stock rom P5210, stock kernel. And I get the following with your script and image:
Code:
[email protected]:/ $
[email protected]:/ $ cd /storage/extSdCard/Img
[email protected]:/storage/extSdCard/Img $ su
[email protected]:/storage/extSdCard/Img # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Img/t3buntuv1.2_20131216.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|[email protected]:/storage/extSdCard/Img #
Line : $bbox mount -t ext2 /dev/block/loop255 $mnt
Do I tell busybox to overwrite the mount command?
Otherwise, excellent work, cant wait till I have it running.
*EDIT*
Turns out I just had to copy the image again, I guess my first transfer got cut off.
Totally works, thx
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Homage said:
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Click to expand...
Click to collapse
I did not try this one. I bet itworks in VNC as it tell us. Instead i did
http://forum.xda-developers.com/showpost.php?p=58175673&postcount=54
I guess I can say it work aceptable in VNC mode, definitly work nice in comand mode. I been working in a native solution but it is a hard bone for my teeth. Look in the general area.
Download link is down
I would like to run Ubuntu on my Tab 3 but the link doesn't work. Could some upload a working link please?
Hi Guys,
Anyona has this .sh script and the t3buntuv1.2_20131216.img file? if you send me im hosting and distributing free as i live i want to use for my home automatization.
THX
G
jorgen_gustavsson said:
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your choice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile <===== this URL broken
LINK to bootscript <===== this URL broken
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
Click to expand...
Click to collapse

Categories

Resources