[GSM/CDMA]Backtrack5 -- ARM Backtrack5 on Webtop & Screen -- - Motorola Droid RAZR

What do we have here?
Backtrack 5. Arm + Gnome.
What do you need?
1. A brain
2. A RAZR (Or any rooted android phone really.)
3. Terminal Emulator
4. VNC
Downloads:
BT5.rar: HERE
Thanks to spryte for reuploading!
Instructions:
1. Unrar the archive
2. Copy the IMG file & mounts.sh to the root of your external sdcard
3. Follow scripts below.
4. Enjoy!
Code:
********* First time use - Not sure if this is needed.. *********
su
chmod 755 /sdcard-ext/mounts.sh
********* Startup script for BT5 on screen. *********
su
/usr/bin/sudo sh /sdcard-ext/mounts.sh
/usr/bin/sudo chroot /tmp/bt5 /bin/bash
Should get a backtrack bash shell that looks like:
[COLOR="Red"][email protected][/COLOR]:[COLOR="Blue"]/[/COLOR]#
startvnc
You should then be able to open your vnc app and connect to bt5.
Server: localhost
Port: 5901
password toortoor
Settings:
I'll update post 2 with any questions & answers.
Will update this post with instructions for replacing Webtop tonight.
---
Big thanks to kholk(WebTopMod & post formatting ), shady_lanem(Arctic) & the rest of EternityProject..
Without the hard work from these guys, this would never have been possible.

How do I install a package?
Load up BT and start vnc.
Open a terminal.
Code:
gedit /etc/apt/sources.list
uncomment lines 17 & 18
deb http://ports.ubuntu.com/ubuntu-ports lucid universe
deb-src http://archive.ubuntu.com/ubuntu lucid universe
uncomment lines 19, 20, 21 & 22 if required.
Save and close.
---
apt-get update
apt-get install *package name*
How do I update Backtrack?
Code:
apt-get update
apt-get upgrade
apt-get dist-upgrade
You may also want to do a msfupdate if you want to use metasploit.
Does this support monitor mode?
Yes, but only for USB wifi cards. You need a Motorola dock or a USB OTG cable with a powered hub & some slight hackery to make this work.
Is there internet from inside backtrack?
Yes
Wifi & 3G works.. I don't have the LTE version of the phone so cannot tell you if it works.

Here are the Screenshots in the zip file ...

the best place to upload the rom is at:
rapidshare.com
multiupload.com
megaupload.com.
Cheers from greece!!!waiting for tha rom...

I'm waiting upload
thanks

megaupload would be good to upload it. can still download it for free, as long as its below 1 gb.
btw, can this run directly on the phone, without the use of a webtop?

sreeman said:
megaupload would be good to upload it. can still download it for free, as long as its below 1 gb.
btw, can this run directly on the phone, without the use of a webtop?
Click to expand...
Click to collapse
Yep, runs on phone without webtop or can replace webtop.
Sent from my XT910 using xda premium

TunaFlyBattery said:
Hi Guys,
I still have a little more work to go before the .img file and scripts are ready for upload..
Here is some screenshots of bt5 running on the phone.. Will post some Webtop shots later and have an upload this weekend. Couldn't work out how to post them on here, so attached in a zip.
If someone can upload them and post links I'll include them here.
Question: Where's the best place to upload ~900mb zip?
---
Big thanks to kholk(WebTopMod), shady_lanem(Arctic) & the rest of EternityProject..
Without the hard work from these guys, this would never have been possible.
Click to expand...
Click to collapse
So... Why don't you spread it via bittorrent? It's fast (well, after some time passes), it's free. Creating a magnet link is simple. Publishing on TPB just a little more complex.

utorrent.com

Direct downloads are actually more faster! Dont need the existence of many seeders, and bandwidth is always there to be used.
How are things going TS?

benchmark
Have you tried a benchmark on aircrack or had any luck getting pyrit to work?

xpiramental said:
Have you tried a benchmark on aircrack or had any luck getting pyrit to work?
Click to expand...
Click to collapse
Aircrack isn't built into the armel BT5 image.. I've tried to leave it as stock as possible so that end users can customise as required.
I will be releasing a different version with the customisations that I'm using.
Upload will be happening tonight. I'll post scripts required and a guide on booting the image up.
When using BT5 on the handset(not webtop), VNC is required to connect to display. I don't have a way to have a full onscreen keyboard as yet. Screen works fine for mouse control but for any imput is a little annoying for screen alone.
I'm using a bluetooth keyboard and that works well. Webtop with dock or nebtop/hdmi hack works great. Quick and responsive OS.
EDIT: Screenshot of wireless apps/settings attached

Sweet. I would rather use a bt keyboard then on screen anyway. I am very interested to see this in action.

http://www.megaupload.com/?d=XITLDQ7K
Can someone confirm this upload worked properly?
will post instructions when I get to work.
Sent from my XT910 using xda premium

First post updated with download and instructions.

downloading now will advise

Can anyone upload it into other server such Fileserve?, megaupload is the first victim of SOPA.....

Re up
PLease re up to another site mega is no more

Will have to wait till Saturday.. wont be able to access my PC that has the rar on it till then. Unless someone else can upload their copy?
Sent from my XT910 using xda premium

any way to get Ubuntu on it instead.... wouldn't it be similar?
edit: is there working internet?..like the browser?

Related

[Guide] How to install Ubuntu Linux on your phone [1.0 Coming Soon]

Notice:
Click to expand...
Click to collapse
Sorry guys this no longer works...
Ubuntu removed alot of the files needed to run it on a phone off of their website which is why you are getting the errors on the script to try and install it.
Recapped:
Here's what I mean the website the script is going to to get the files no longer exists...
Heres an example to see for yourself: http://ports.ubuntu.com/ubuntu-ports/pool/universe/t/tightvnc/tightvncserver_1.3.9-4_armel.deb
I will try and find a new link to plug in but for now it DOES NOT WORK!
Thank you for your patience on the thread,
StrumerJohn
==== How to Install Ubuntu Linux on your HTC EVO 3D / Sensation 4G ====
Table of Contents
Post 1
1: Disclaimer
2: Pre Requirements
3: PC Guide to push to phone
4: MAC Guide to push to phone
5: Additional Scripts
6: Credits
Post 2
1: FAQs
2: Recognitions
Post 3
1: News and Updates
2: Additional Notices
Click to expand...
Click to collapse
-Disclaimer-
This has been tested on my phone and runs perfectly fine, I am not responsible for you breaking, bricking, or dropping your phone on the floor and causing the USB cable to fall out and blow up your device.
Pre Requirements:
A rooted HTC EVO 3D or Sensation 4G
A S-off'd HTC EVO 3D or Sensation 4G
netarchy's kernel (Silverneedle Test5)
Android SDK
The USB drivers for your phone. (x32) (x64)
A microSD Card
2.3 GB Free of space on your microSD card
Know how to read to directions
Click to expand...
Click to collapse
The intense Procedure:
1. Download this version of Ubuntu. [Download #1] [Download #2]
2. Unzip the Ubuntu folder to your desktop and if you want, delete the compressed one you downloaded.
3. On your phone go to Settings > Applications > Development and turn on USB debugging.
4. Plug in your USB cable (from your computer to your phone) and mount your (mirco)SD card.
5. Move or copy over the unzipped / normal Ubuntu folder. This will take a long time unless you have a class10 microSD card.
6. After moving / copying that file over, tell your phone to unmount the (micro)SD card / Set the phone to Charge Only mode.
7. Now on your computer, go to where you have Android SDK installed. (Example on my computer: E:\Program Files (X86)\Android\android-sdk )
8. When in the main SDK folder, hold shift and right click a blank area and then click on "open command window here". It should of opened the command line window with the directory of your SDK already put in. If not type cd "C:\Your directory or location of your SDK"
9. Now type "cd platform-tools"
9.5. (Optional) "type adb devices" and check if the computer recognizes your phone. If not you need to reinstall your drivers from the download link above in the requirements.
10. Type "adb shell"
11. Type "su" so we have superuser permissions
12. Type "cd /sdcard" so the directory is changed to the (micro)SD card
13. Type "cd ubuntu" so the directory is changed to the Ubuntu File
14. Type "sh ubuntu.sh" so we can install Ubuntu
15. Type "bootubuntu" to start up Ubuntu. Next time you enter Ubuntu, you just need to type "bootubuntu" from your /sdcard/ubuntu directory, there is no need to run ubuntu.sh again.
16. If you got "[email protected]" in the command line, you have sucessfully installed Ubuntu. If not make sure you installed netarchy's kernel. If it still does not install correctly please try a different ROM, I have only tested this on SteelROM 1.1. *AFTER INSTALLING ANY ROM, YOU NEED TO REINTALL THE KERNEL.*
17. Now type "apt-get update" to update Ubuntu to the latest version. Then "apt-get upgrade" to apply the update.
18. Type "apt-get install tightvncserver" to install the vncserver. (Your telling your phone to read off it self pretty much.)
19. Type "export USER=root" To make yourself a user / the user
20. Type "vncserver -geometry 1024×800" to set the screen resolution you want to display on your phone. Remember you can always zoom in by pinching, so you don't need to make this that much smaller. You should also get prompted to set a password, do so. You will need to remember this password to log in.
21. Download the AndroidVNC Viewer off the Market here.
22. Open the viewer, and put in a nickname, your PASSWORD FROM ABOVE, and for the IP Address put: 127.0.0.1 for the port put 5901. THEN SCROLL DOWN and make the COLOR FORMAT 24-bit colors (4bpp).
And finally, hit Connect to launch Ubuntu on your phone!
For Mac users:
Finder -> Applications -> Utilities (folder) -> Terminal
When you cd to where your adb is located, cd is lowercase as are most all unix commands.
If you're unsure where to go, get to adb in your Finder, right-click, get info, the pop-up will show you the path. Note in unix that the folders (subdirectories) are separated by / and not by \ like in Windows.
Once you're there, the only trick you need to know is to tell unix that adb is located where you are, so you change the adb shell command like this:
./adb shell
That's about it, all other instructions once you're inside the phone shell are the same.
OBTW - after the unzip of the initial file from the OP, just drag and drop the whole ubuntu folder to your NO NAME drive (normal sd card formatting doesn't get a name at the factory, so by now you know that your sd card mounts like that anyways I'd suppose - just put it here in case).
Click to expand...
Click to collapse
Additional Scripts
Danaff37's
danaff37 said:
That's the script catted out.
I posted a different script a few pages back that I think will help you guys. I modified it so we should have no trouble with apps in sd.. I finally got a bigger sdcard so I can test this stuff and this script works great. Please guys try this script. If you download it in phone it will change the name and add a bin on it I think, so rename it accordingly and make sure it gets into /system/bin with the right permissions (755 or rwxr-xr-x), then run it
http://db.tt/gin57Gd
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Credits:
Ubuntu Modded and Guide by: Me
Mac Guide Written by: EarlyMon
danaff37's Script by : danaff37 (of course)
Original dev of Ubuntu: Zedomax
If you have any problems beside the slow downloads because of the blown up servers, let me know below. Also I tried to type this fast, so if there is any typo's or broken links let me know too! Thanks!
Also feel free to hit the Thanks button or Donate for more Guides
FAQS
FAQS
Do I need to have everything in the android-sdk downloaded and installed?
No, you just need to have the base sdk.
When I tell the command prompt to adb devices, my phone does not show up!!
Make sure you have installed the proper drivers for your phone and for your correct operating system
I'm not getting "[email protected]" when I type / copy-&-paste "bootubuntu"
Well, this could be for a various amount of reasons, first make sure you have a rooted HTC EVO 3D/Sensation. And by root, I mean a full root, not just a temp root or S-off. If you still do not get "[email protected]", flash your device (or go though your data folder and delete all the ubuntu files, then delete the ubuntu file off of your sd card and clear your caches.), and retry the above steps. If the problem still persists, then please PM me with your exact problem.
I'm having issues within the VNC, and I get an error message when I hit "connect".
Make sure you typed your password correctly, the passwords are case sensitive. If you still cannot get in, make sure your IP Adress is set to "127.0.0.1" and your Port(s) are "5901".
The colors on my screen look all weird and disorientated, how do I fix this?
Close Ubuntu, and re-open the VNC application, then scroll down to "Color Format" and tap on "24-bit color (4 bpp)".
The on-screen keyboard does not work and I get a different letter or character for whatever character I type!
The on-screen keyboard will work now, if you install LXDE.
I'm not good with reading text! I need a video demonstration!
For a video head here: http://www.youtube.com/watch?v=YbunTRzEQCI
How do I close Ubuntu?
Two options here:
1.Logout of the server and go to your homescreen and push menu, then go to settings, then Applications, then Running Services and close any remaining open part of the server program. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.
2. Logout of the server and use your favorite task killer to close the server process. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.
FAQS should be in order chronologically (until the end of them).​
I would like to give a huge thanks to EarlyMon, for helping out lost members. This thread would not be as peaceful if it were not for him.
And it seems I have forgotten to list another VERY helpful person here, danaff37. I am really grateful to both of these two for all of the help and work they have done to aid others.
Am I missing a question that you are pretty sure is asked ALOT (lol)? Then PM me please and I'll get it up here ASAP!
Upcoming Change log for final release:
(StrumerJohn's Zedomax Ubuntu Mod)
Made a launchable .exe for easier updating and installing of Ubuntu
Default mode LXDE for fixed keyboard
Pushes Server application to your phone
Fixed a few problems that caused people to have an error in installing
Server application updated
Fixed port issues for log in errors
News update 11/13/11
Bad news and Good News:
Ubuntu was successfully updated
Update brakes keyboard
Update breaks Apps2SD
Update takes up less space (1GB instead of 2GB)
Update ONLY works on MIUI so far
Updated script to add work around for those facing issues
Computer .exe only working on x64 Windows 7 computers ;-;
Thank you for those of you testing! Might make this open Beta...!
Version as of 12/12/11
Alpha Build 1.0
What Doesn't Work so far:
Boots to latest version only to lock up phone (Unless you are running MIUI)
Keyboard borked
Doesn't work on ICS
Audio Broken
Apps Saved on SD
What works:
Everything else
Sweeeeet.
Appreciate my help? Thank me
Wow this is amazing! Never used linux before tho...
Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.
Sent from my PG86100 using XDA App
maazing will try tonight!!!!!!
danaff37 said:
Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.
Click to expand...
Click to collapse
Just moved partially like moving to the SD or Actually having them Downloaded and Installed to the SD?
Interesting. Nice write up
Sent from my PG86100 using XDA Premium App
Cool...
But, why.
Cause you can?
Sent from my 3vo via Tapatalk
Because Ubuntu has some computer applications you can't normally use on your phone. In the browser download Java and check out runescape runs like shizzle but once we get new quad phones out I'm sure it would run fine. lol
This is what I wanted. Million thanks....
Sent from my PG86100 using www.psvitahacks.co app
Added to my 'Complete LIST' thread: http://forum.xda-developers.com/showthread.php?p=16132451
StrumerJohn said:
Just moved partially like moving to the SD or Actually having them Downloaded and Installed to the SD?
Click to expand...
Click to collapse
Using the stock apps to sd like under manage applications (like the same as is available on a non rooted phone). The script for ch rooting can be made to work around it though. But most aren't.
Sent from my PG86100 using XDA App
danaff37 said:
Using the stock apps to sd like under manage applications (like the same as is available on a non rooted phone). The script for ch rooting can be made to work around it though. But most aren't.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
If there are any small minor problems like that and it's not working proper, let me know. I'll mess around with some things and release a patch.
Installed successfully and works great except I can't type cause of the keyboard glitch. Anyway around it?
Sent from my PG86100 using XDA Premium App
Working with shooter rewind
akiradavis said:
Installed successfully and works great except I can't type cause of the keyboard glitch. Anyway around it?
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
The only way to get around it atm (at the moment) is to use a bluetooth keyboard.
Very sweet! I will test this tomorrow when I get home. It should work on my ROM as well
Nice....can't wait for the keyboard fix.

Java on webtop confirmed!

This guide was taken and revamped with files included from here http://forum.xda-developers.com/showthread.php?t=1067662
I do not take any credit for anything besides revamping the codes to fit new filenames and making the guide a bit easier.
I finally managed to get java to work with firefox. I test out runescape and it works great on minimum graphics setting may be able set higher.
This is a guide to run Java on webtop on any firmware version and more than likely (but untested) any hdmi hacks/mods.
Prerequisites: Rooted phone and minor knowledge of how to run terminals
webtop2sd (http://forum.xda-developers.com/showthread.php?t=1119555) installed would be a major help simply because lxterminal is so much easier to use!
If you refuse to use webtop2sd, terminal emulator on the market will work just fine.
Download this http://www.megaupload.com/?d=PF56FTWD
Extract the ejre1.6.0_27 folder and move to phone
Copy the ejre1.6.0_27 folder to
/usr/lib/
Ingore this code if you are running from lxterminal
Code:
su
/usr/bin/sudo -u adas bash
Click to expand...
Click to collapse
In lxterminal or whatever terminal
Code:
sudo ln -s /usr/lib/ejre1.6.0_27/lib/arm/libnpjp2.so /usr/lib/firefox-addons/plugins/libnpjp2.so
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java_vm
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/javaws
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/keytool
Click to expand...
Click to collapse
If you get "link failed File exists" run this. then run the ln command
Code:
sudo rm /usr/lib/firefox-addons/plugins/libnpjp2.so
Click to expand...
Click to collapse
You can also use root explorer to set permission for the files
Set to this:
read write execute
X --- X----- X
X ---------- X
X ---------- X
I will try to make updates to this whenever possible.
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Someone test Runescape >.>
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
I have it running flawlessly. Autosetup actually asks for high but I use safemode.
I have no idea how to post screenshots of webtop but I know its possible.
Also I'd like to add that if you do his method and download the current version... Java runs very very slow. This version is much better.
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
jerrygooch said:
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
hell yeah!! im with you on this lol. i dont have a hd tv xd
Quite possible, I'm not a Minecrafter so I wouldnt know. But feel free to try, I dont see why it wouldn't work.
I'll try to get my hands on some screenshots later after doing some digging on how-to's and update this a little bit.
You could try imagemagick. Not sure if it's in the repos though. I'm about to head off to work or I'd try it.
If it's installable just type in a terminal window.
Code:
import -window root whatever.png
xfce4-screen-shooter
Stephen Who said:
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Click to expand...
Click to collapse
if you use xfce you can use xfce4-screen-shooter
dubyajaysmith said:
if you use xfce you can use xfce4-screen-shooter
Click to expand...
Click to collapse
Could you post a link to the exact download for this? I could include it in my post.
I dont own a laptop dock anymore by I thought there was a screenshot function built into webtop. (Printscreen key or ctrl+alt+c).
Also I dont think minecraft will work cause it has native libraries for x86.
Very correct, ctrl+alt+c works.
There is no printscreen key though.
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
REAVER117 said:
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
Click to expand...
Click to collapse
I'll see what I can come up with right now.
Edit: I get a blackscreen when trying to run the Minecraft Classic, so it seems thats a no go on Minecraft on this release.
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
Uploaded screens of Runescape and Minecraft(not working)
Yep, imagemagick works, once you install it.
Works
Thxs
No problem man.
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Mossys said:
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Click to expand...
Click to collapse
I dont quite know much about the modded versions of Firefox, but I would assume it acts and functions the same as Firefox itself? Ie, there is an addon folder?
That or get your firefox back working by backtracking your Iceweasel.

[Q] Anyone get Ubuntu working...?

hi guys, i have an optimus v just lying around, and today i decided to try and get ubuntu on it through chroot.
using this guide, i was able to get to the point where it would boot on the command line,
Code:
[email protected]:/#
instead of the normal "#"
but after that, i tried to get it to work in a GUI, but it doesn't work?
i tried
Code:
apt-get update
and it runs, but gives me a bunch of fails and errors...
so of course, without that installed, i can't get any of the servers or other stuff installed, meaning that i can't get the GUI working...
so did anyone get this to work?
(i'm starting to think that it's their problem...)
thanks guys
i'll try to get a photo to show...
OK... First picture shows it booting into Ubuntu
Second picture shows the fail when I try the apt-get update command
Sent from my HTC Glacier Sense 3.5 using xda premium
the error messages says all: you have a network problem, may be no wifi connection or working dns?
andy572 said:
the error messages says all: you have a network problem, may be no wifi connection or working dns?
Click to expand...
Click to collapse
hm that's weird... i have a wifi connection... i tried it on two devices and both could boot up linux, just not get the downloads?
hmmmmm...
what version of ubuntu? nvm, I see your screenshot says karmic, which should work.
more recent versions don't support armv6, so apt-get fails to download any unsupported package.
there's a thread in the optimus v dev section on installing debian.
squeeze and even sid run great on the OV for a 600MHz device with a tiny screen and no keyboard
try checking your /etc/apt/sources.list and make sure it's correct. It looks wrong to me, but I only use ubuntu for my DTV usb stick on my pc. I'm more a debian user myself.
edit again:
you can manually download .deb files and install them from the chroot command line with
dpkg -i filename.deb
just make sure they're for armel architecture; however, with ubuntu being too picky about the processor type, not all armel ubuntu packages will work. If you search google for ubuntu karmic armel whateverthehey.deb you should get stuff that will work. The main problem with manual installs is getting all the dependency .deb's, apt-get is really handy for that step.
---------- Post added at 01:59 PM ---------- Previous post was at 01:29 PM ----------
ok, that sources.list entry in the screenshot looks REALLY wrong.
there is a stock version of the sources.list contents posted here
try putting that in there and maybe apt-get will work.
bigsupersquid said:
what version of ubuntu? nvm, I see your screenshot says karmic, which should work.
more recent versions don't support armv6, so apt-get fails to download any unsupported package.
there's a thread in the optimus v dev section on installing debian.
squeeze and even sid run great on the OV for a 600MHz device with a tiny screen and no keyboard
try checking your /etc/apt/sources.list and make sure it's correct. It looks wrong to me, but I only use ubuntu for my DTV usb stick on my pc. I'm more a debian user myself.
edit again:
you can manually download .deb files and install them from the chroot command line with
dpkg -i filename.deb
just make sure they're for armel architecture; however, with ubuntu being too picky about the processor type, not all armel ubuntu packages will work. If you search google for ubuntu karmic armel whateverthehey.deb you should get stuff that will work. The main problem with manual installs is getting all the dependency .deb's, apt-get is really handy for that step.
---------- Post added at 01:59 PM ---------- Previous post was at 01:29 PM ----------
ok, that sources.list entry in the screenshot looks REALLY wrong.
there is a stock version of the sources.list contents posted here
try putting that in there and maybe apt-get will work.
Click to expand...
Click to collapse
alright thanks... not sure if i get you completely...
i tried it on my actual phone (Mytouch 4G) and on a dell streak 7, both ARM7 CPUs and no luck on neither. i even turned off wifi on my MT4G and tried to download the packages through my mobile data, still no work...
so how would i go about getting the sources list on there..?
and where can i find the .deb files to install then manually?
thankss
go to the link I posted that says "here" and copy/paste the contents of that post into a plain text file named "sources.list"
put it in your ubuntu image (or partition, whatever it is) in /etc/apt/
as far as where to get .debs, google for what program you want to install, make sure to include "ubuntu karmic armel" in the search.
since you're using armv7, you can upgrade the ubuntu release without problems for those devices, the OV will have to stay with karmic I think.
your issue right now is that apt is trying to download from somewhere other than the default repositories, and it can't find where it's looking for.
bigsupersquid said:
go to the link I posted that says "here" and copy/paste the contents of that post into a plain text file named "sources.list"
put it in your ubuntu image (or partition, whatever it is) in /etc/apt/
as far as where to get .debs, google for what program you want to install, make sure to include "ubuntu karmic armel" in the search.
since you're using armv7, you can upgrade the ubuntu release without problems for those devices, the OV will have to stay with karmic I think.
your issue right now is that apt is trying to download from somewhere other than the default repositories, and it can't find where it's looking for.
Click to expand...
Click to collapse
hm... ok... so here's the contents of the .zip i downloaded to get ubuntu running from here
where do i put it..?
you'll have to mount ubuntu.img as a loop device and put it in that directory's etc/apt/ folder.
probably can copy it in once running on-device, you'll have to figure out where in your filesysyem the img is mounted.
i'm not familiar with the method you're using so I can't be more specific, sorry.
alright guys FINALLY GOT IT!!
you have to replace the original server in
Code:
data/local/ubuntu/etc/apt/sources.list
with this:
Code:
http://old-releases.ubuntu.com/ubuntu/
and then it should work!
saranhai said:
alright guys FINALLY GOT IT!!
you have to replace the original server in
Code:
data/local/ubuntu/etc/apt/sources.list
with this:
Code:
http://old-releases.ubuntu.com/ubuntu/
and then it should work!
Click to expand...
Click to collapse
Here's proof
Sent from my HTC Glacier Sense 3.5 using xda premium

[GUIDE] N00bs Guide to Upgrading Webtop for Lapdocks

I am by no means an expert, i just dove into this project 4 days ago, and since then, I've had to reformat my SD card about 8 times before I figured out how to get it stable. But now I have it running pretty stable, there are some issues still, but it at least runs linux pretty well. I'm mainly posting this because this would have saved me a lot of digging 4 days ago, and I figured I would help out any n00bs that just got a lapdock and just started playing with webtop.
*Disclaimer* I am not an expert, if you have a problem with any of these steps, please do not post them here, but in their respective threads. I take no credit for developing any of this, im just posting a list of steps from multiple sources. Also, if you break something, its not my fault*
The Guide
By the end of this guide, you will have a more functional linux as your webtop, with the XFCE4 interface. This uses webtop2sd, so if you break anything, you should be able to start over.
You will need a rooted Atrix, a lapdock (or other external device for using webtop on), and a microSD card, I suggest 2GB or bigger. I have a 32GB PNY class 10 card, for example.
1. Lets format/partition the SD card. Sogarth explains here how to do that. I highly suggest NOT doing this on your phone,and use a PC instead.
http://forum.xda-developers.com/showpost.php?p=15109152&postcount=5
2. Here, he explains how to install it after you partition your SD card. The app you need is in the bottom of the first post.
http://forum.xda-developers.com/showpost.php?p=15109140&postcount=4
3. Now plug it in to your lapdock, and it should boot up into the new webtop. You should see 2 icons in the middle, the awn-dock config tool, and the webtop config tool. We just need to focus on the latter one. Open that up, click on Administration on the left,and click on Install by lxterminal. Try clicking on the terminal icon on the dock, if it comes up, you are gold. If it acts funky, like your screen goes black but doesn't open the terminal, open up the webtop config tool again, and the button to install it should be lit up again. You know its installed if you click install,close out the config tool, and reopen it to see Install grayed out.
4. If all goes well, you should be at a terminal. The first thing we want to do, is fix a really annoying and OS breaking bug, regarding the tzdata package. It seems to be corrupted, so we want to make sure it doesn't get in the way of installing other packages. This issue was the bane of my existence for 3 days.
following these steps, we will fix it
http://forum.xda-developers.com/showpost.php?p=18465066&postcount=3
type this into the terminal to bring up the said file so you can edit it
Code:
sudo leafpad /var/lib/dpkg/info/tzdata.postinst
then put exit 0 on the 3rd empty line
I would reboot your phone after doing this, just for good measure
5. When you get back into the webtop, lets run the Webtop Scripts, the files and instructions are here for that. This will fix many broken dependencies. Arvati did a great job with these fixes!
http://forum.xda-developers.com/showthread.php?t=1192488
just put that file in your downloads folder, then run the commands from that first code box, and I just said yes everytime it asked you what you wanted to do. I would reboot your phone again after this.
6. Now lets start installing stuff! Lets start with synaptic, which works a lot better if you install via command line instead of the webtop config tool.
So run this from the terminal:
Code:
sudo aptitude install synaptic
7. Open up synaptic by typing 'sudo synaptic' into the terminal. Lets install XFCE4 now, just search for that there,and install the XFCE4 package, it should install all of the other required packages to run the new interface.
8. Once it is installed,we need to disable the webtop interface,and enable xfce4. I referenced this thread to do that:
http://forum.xda-developers.com/showthread.php?t=1054213
Type this into the terminal to edit the right file
Code:
sudo leafpad /osh/usr/local/bin/start-oshwt-2.sh
put a # in front of
sfalv -i "awm-autostart"
sfalv -i "webtop-wallpaper"
so it looks like
#sfalv -i "awm-autostart"
#sfalv -i "webtop-wallpaper"
then add these 2 lines
sfalv -i "xfce4-session"
sfalv -i "xfce4-panel"
save it then reboot your phone. Hopefully you should be in XFCE4 now!
OPTIONAL:
*To fix an issue with mounting USB storage devices:
I had the same problem, got it to work by adding this to /etc/PolicyKit/PolicyKit.conf
Code:
<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="myaccountnamehere">
<return result="yes"/>
</match>
</match>
</config>
Click to expand...
Click to collapse
http://www.linuxquestions.org/quest...b-storages-debian-squeeze-723251/#post3537149
* To Fix mounting Windows network shares
Chimpdaddy has posted a way to get Samba file shares to work, this requires having a custom kernel though:
http://forum.xda-developers.com/showpost.php?p=22018703&postcount=67
Chimpdaddy said:
Firstly you need to have a kernal, like Faux's, that supports CIFS.
Then install Samba4, via synaptic package manager if you like.
Probably an idea to reboot.
Then create a folder (using terminal) where you want yr share, 'sudo mkdir /media/SHARE' for eg..
then run this;
sudo mount -t cifs -o username=guest //YOURSHAREIP/SHARE /media/SHARE
if you get no errors yr golden
If you want it to mount on startup edit /etc/fstab to include
//YOURSHAREIP/SHARE /media/SHARE cifs username=guest,_netdev 0 0
check this with 'mount -a'
That should do you.
Click to expand...
Click to collapse
OR
You could use an app like ESFileExplorer on your phone to drag and drop files, this is what I have been using,and it works pretty well for both direct windows shares and FTP. The Mobile View is great for having a window open for secondary tasks like this.
EXPERIMENTAL:
This can be buggy,so use at your own risk!
To install chromium browser, follow these steps. This is said to have better performance than the built in firefox, but for me, it crashed a lot, I went back to firefox
http://forum.xda-developers.com/showthread.php?t=1374567
ISSUES STILL PENDING:
*currently no major issues*
LIST OF SUGGESTED APPS:
OpenOffice.org
Qalculator
XChat IRC
This looks good. I just got my lapdock on Thursday and I have been putting togther all of the Docs to get it the way I want, but this is pretty much the results I wanted. I will try your instructions and get back with you.
Thanks.
Which ROM are you running on?
stock ROM.....
Thanks for the guide.
There is one link that appears to be broken though,
On step 5, the thread goes nowhere. That's where I'm stuck right now
my bad,fixed
i actually managed to do all this on my own, but just recently came into a unexpected problem. i'm kind of a linux noob, and it seems like the file manager button on xfce4-panel doesn't lead to the stock file manager i was using before (doesn't lead to anything), does anyone have any suggestions for a good file manager to replace it with?
Thanks for the fix, I've completed all steps and it was working for about an hour. Until I installed chromium.
I have a weird problem where the lapdock doesn't detect webtop and says no hdmi input detected. Not sure if you know anything about that, but just wanted to let you guys know (might be a defect on my lapdock). I'm trying to figure out a fix for that now.
I would suggest starting over if that happened,sounds like something broke
as for an XFCE4 file manager, it should install Thunar by default
teeth_03 said:
I would suggest starting over if that happened,sounds like something broke
as for an XFCE4 file manager, it should install Thunar by default
Click to expand...
Click to collapse
sudo apt-get thunar fixed the problem for me, thanks though
followed your steps and it works great ,i've been messing with this for over a week trying to get this to work ,that ztdata bug fix did the job.. THANK YOU.....
toe451 said:
followed your steps and it works great ,i've been messing with this for over a week trying to get this to work ,that ztdata bug fix did the job.. THANK YOU.....
Click to expand...
Click to collapse
dont thank me, thank the guy who figured out how to fix it
webtop2sd app crashes on first run...any ideas?
Here's the answer
http://forum.xda-developers.com/showpost.php?p=19993891&postcount=671
bigworm50 said:
webtop2sd app crashes on first run...any ideas?
Click to expand...
Click to collapse
To the point of installing XFCE4, and synaptic just sits on preparing packages forever... I let it sit for 30+ minutes last night and going on almost 60 minutes currently...is something wrong or does it take that long?
you might want to cancel that, reboot your phone and try again, it should not take that long
can you do one on how to install Chrome instead of Firefox for a noob like myself. Thank you.
there is already a link to the chromium browser thread in the OT
I would caution that its kind of experimental, I installed it and it kept on crashing for me, so when I re-did my webtop after that,I just decided to use firefox
For step 1, can we partition this as ext4 as faux kernels support it?
added info on fixing an issue with mounting USB drives, and a note about chrome

{Script} Moto Milestone X2 2.3.6 Root

I have noticed that many people have had issues rooting their phone, especially recently. And i have also gotten tired of typing or copying the root method over and over after flashng in RSD and loosing root.
In response to that i have taken it upon myself to write a script for automating a majority of the process for all of us, making the process swifter than before. However this is not a one click root there are many steps nessecary to root our device. All i have done is wiritten a script to automate a majority of the process.
I will only test one version of the script, the ubuntu 12.10 version, because thats the only operating system i run and its easiest to test this one. i will leave the other versions to other people and to post issues with them as they arise so i may fix them
there are several versions of the script
*Ubuntu - 12.10 and up
*Ubuntu generic - 10.04-12.04
*Linux generic - any version of linux
*Windows bat file - Must download Motorola drivers
*Android - NEW ALPHA!! can actually be run from another rooted phone or tablet!! Scripts for general use coming soon! Testers are welcome! Check out the second post for details.
each version has the nessecary files to root your phone and including the script
These are not flash able scripts these must be uncompressed and run on a computer
Oh and feed back is more than welcome im not an expert at writing scripts or any sort of write up but i will do my best to fix any flaws or add suggestions.
Post 2: Change Log & Unstable Versions
Post 3: Instructions
Motorola USB drivers
Motorola website
MyGoogle Drive
Change log and unstables
Change log:
Version 4 - for windoze only:
Cleaned up script and readme
tested script runs into an issue because of the way windoze command prompt works
will update the instructions to inclued a sepereate method meant for windoze
Version 3:
Changed initial reboot command to adb reboot
broke script into to parts to fix adb shell /preinstall/su issue
Version 2:
Not published
would not get past adb shell /preinstall/su
Version 1:
First version made
BETAS:not for the faint of heart
To use you agree to contact me via pm upon downloading to obtain the password. This is because I REQUIRE all who use unstable versions to provide details and information on what does and does not work and what I can do to improve the experience.
MX2-arm-root:
Version alpha 0.1
Initial creation
No scripts
Root must be applied manually
Will need USB otg cable or micro USB to micro USB cable for fastboot command use (required cannot be fixed to run any other way)
Otg cable can be purchased for a few dollars from Amazon or other electronic retailer
MX2_arm_root_alpha0.1.zip
broken beyond android 4.1.2
Instructions:
*Download the zip file for your computers operating system from post one
*decompress with your favorite arcive manager i prefer 7zip
*READ THE README!!!!
*run initial script aka MX2-2.3.6-something-root
*follow instructions in the script
*CONTINUE TO FOLLOW THE README!!!!
*while your still in the adb shell as root run the following
*cd /sdcard
*sh android-script.sh
*your phone will reboot it should now have root update the su binary in the superuser apk
Windoze Instructions:
*decompress the zip and place somewhere easilly accessable by both windows explorer and command prompt
*READ THE README!!!!
*make sure drivers are installed- if at any point while the first script is running that drivers need to be installed(aka first time windoze has seen fastboot ect) wait for the drivers to finish installing before continuing.
*double click the initial script MX2-2.3.6-windows-root.bat
*follow the instructions in the script
*CONTINUE TO FOLLOW THE README!!!!
*close the script command prompt when finished
*open a new command prompt and do the following
*cd(to the directory where you uncompressed the zip
*adb shell
*/preinstall/su
*cd /sdcard
*sh android-script.sh
*your phone will reboot it should now have root update the su binary in the superuser apk
Ah, wow. Thank you so much for this. I didn't root my Milestone X2 2.3.6 on ACS Wireless for 6 months because I was afraid of breaking it (again.) I wish this was around a few months ago
Hopefully this helps everyone root their phone in a much easier and safer way.
By the way.. Does anyone have any suggestions on a working MX2 2.3.6 ROM? I'm still using stock, and I hate it.
there aren't any roms based on 2.3.6, doubt we will see any soon
Sent from my Milestone X2 using xda app-developers app
PotentChili said:
Ah, wow. Thank you so much for this. I didn't root my Milestone X2 2.3.6 on ACS Wireless for 6 months because I was afraid of breaking it (again.) I wish this was around a few months ago
Hopefully this helps everyone root their phone in a much easier and safer way.
By the way.. Does anyone have any suggestions on a working MX2 2.3.6 ROM? I'm still using stock, and I hate it.
Click to expand...
Click to collapse
Try eclipse its not 2.3.6 based but it runs wonderfully on the mx2. As for the script its mostly an untested product. I've runt the Ubuntu 12.10 one once with little issue but the rest I haven't tried. Just remember its a two part script that requires the running of both pieces to work.
As to having a rom 2.3.6 based there really is no point we have fully functional roms that run beautiful with what we have not to mention that there's no real point in going back if we get a kexec or second boot working as further versions are going to be based off of a newer kernel and version of android.
Sent from my Nexus 7 using XDA Premium HD app
I'm now rooted thanks to this script by Lrs121! I strongly recommend those new to the process of root to use this script because it works!
Sent from my Milestone X2 using xda premium
Got my phone rooted after a couple hiccups due to not reading carefully. A great tutorial; just make sure you follow the steps to the letter.
DonInKansas said:
Got my phone rooted after a couple hiccups due to not reading carefully. A great tutorial; just make sure you follow the steps to the letter.
Click to expand...
Click to collapse
I'm glad it was able to help. I tried to make certain things more autonomous but unfortunately it does have to be specific, and handled as such. So there's not a lot of flexability in how the process is done by the user and by the script itself.
Sent from my Nexus 7
I've tested some superuser managing apps and so far the only one that works for our device is chainsdd's app. Clockworkmod's and chainfires supersu do not work well or at all. Please use the chainsdds app from the market or keep the one that the script installs as they work best.
Sent from my Milestone X2 using xda premium
A new script is coming soon. It will be an android to android script where you can root your phone using another phone or an android tablet. Thanks will go to the guys who have developed the p2p-abd tools. If the fast boot binarys are included
Sent from my Nexus 7 using XDA Premium HD app
Alpha for the arm aka android script is up. Testers are welcome to play with it. This is a very very basic build. Nothing is automatic, will be worked on as I go. The download, requirements and minor change log of what's included can be found on the second post. that post is now change log and unstable versions. Read what's included on the the log before trying. If you want to try but don't have and otg cable flash the preinstall img using a computer and play around with the arm adb binaries. Credit for the arm versions of the adb and fastboot binaries go to the original developers, they will be listed as I find the correct threads and sites I pulled them from are found.
Sent from my Nexus 7 using XDA Premium HD app
not working :|
hey guys. I know this is an old thread but I cannot get this script to work. I get to the last command and I get sh: can't open android-script.sh
This is the only problem I am having. Any thoughts?
zaq_37 said:
hey guys. I know this is an old thread but I cannot get this script to work. I get to the last command and I get sh: can't open android-script.sh
This is the only problem I am having. Any thoughts?
Click to expand...
Click to collapse
which pack did you use, each script is a little different
Lrs121 said:
which pack did you use, each script is a little different
Click to expand...
Click to collapse
Sorry I should have specified. It's the windows Pack.
Are you using it on windows 8?
Sent from my SCH-I535 using XDA Premium 4 mobile app
Lrs121 said:
Are you using it on windows 8?
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry. I meant to get back to you earlier, I've been busy. No. I'm running Windows 7. Used the Windows Pack and ran through the instructions/README and got hung on that last step when the script wouldn't run.
I have a bootable CD of a few Linux OS's should I try one of those instead of through Windows? Is there a specific OS that the Linux script doesn't work on. I am a fan of LinuxMint and CentOS but I also have an Ubuntu CD as well.
zaq_37 said:
Sorry. I meant to get back to you earlier, I've been busy. No. I'm running Windows 7. Used the Windows Pack and ran through the instructions/README and got hung on that last step when the script wouldn't run.
I have a bootable CD of a few Linux OS's should I try one of those instead of through Windows? Is there a specific OS that the Linux script doesn't work on. I am a fan of LinuxMint and CentOS but I also have an Ubuntu CD as well.
Click to expand...
Click to collapse
Hum I wonder what broke the windows script. Um really its up to you I can try to tear it apart and see if what's wrong but I'd need specific information from you in what's happening. But I'm a better Linux script writer so the Linux scripts are a bit more stable. Ubuntu 12.04 and up is best because the repositories have adb and fastboot included and can be installed. Both of which the script requires to run but any of the linux ones should work.
Sent from my SCH-I535 using XDA Premium 4 mobile app
On a side note I think I I figured out what's wrong. If I'm right correct me if I'm wrong, you tried to run the android-script.sh script from windows. If I'm wrong then I think the issue may be due to permissions
Sent from my SCH-I535 using XDA Premium 4 mobile app
Please help.
I recently received my Motorola Milestone X2 running 2.3.6. I have followed your method to a T. After the adb shell cmd, I receive no Superuser prompt. Then, after typing in the /preinstall/su cmd, it says: file not found, or file does not exist. I cannot remember. Can you help?
Thanks,
Jeremy

Categories

Resources