I was wondering if anyone has got Ubuntu working on the Milestone X2 using the Ubuntu.sh script? I suppose the question would be does the MX2 even support loop devices? I have been looking over the file system, and have found the directories "Loop1 - Loop7", yet the file structure is different. I'M actually looking into altering the script, however, even with a custom script, would it even work? because of Motorola's locked down bootloader, and fort Knox phone design.
Sent from my Milestone X2 using XDA
[email protected]:/#
Nevermind.
AndroidVNC
I'm having trouble getting AndroidVNC to connect. I've setup VNC to connect to localhost with password ubuntu on port 5900, and it says it can't connect to 127.0.0.1:5900. How can I resolve this? Also, when I go into [email protected] and type apt-get update, it says some packages can't be installed, and its the same when I run apt-get install tightvncserver. If anyone is obliged to help it would be most appreciated.
Nevermind, I have AVNC working. I had the wrong ubuntu image..... LOL...now I feel like a fool.
Please insert smack here.
Sent from my Milestone X2 using XDA
Moderator please delete this post. Thanks.
Sent from my Milestone X2 using xda premium
Related
Ok so i wanted to know is someone could give me directions on how to make a script in the intd folder to make it so when i boot my phone is goes rite into 1.2 ghz thanks. One more thing has anyone been able to successfully use odin on a linux operating system. I'm currently using fedora and would like to not have to bring out the laptop every time I need to use odin. I have wine installed but ive heard bad things about it. Thanks
Sent from my SGH-T959 using XDA App
#!/system/bin/sh
echo 1200000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Save that text as a blank file and name it 02overclock.
Sent from my SGH-T959 using XDA App
Does anyone know how to add this support to the photon 4g kernel?
CONFIG_DEV_BLK_LOOP = y
I need that support in order to install Ubuntu on the photon 4g.
does motorola photon support loop device
I been looking all over for the answer to that same question, please let me know when you find out.
Running in loopback will break a number of things that are working in webtop. How much more Ubuntu are you looking for? I have webtop running what is pretty much Jaunty Xubuntu now.
I can add it if You want but it would be better to format a sdcard
Sent from my MB855 using XDA App
i dont got a dock or an hdmi cable so i dont think the ubuntop would be a option for me .i've never used ubuntu before but i want to try it out .ive tryed formatting my internal storage and following the instructions but it doesnt boot .ive tryed using my phone as usb storage and boot from usb to get it running on pc but i have failed
if you could do this in a separate kernel o something for those of us with no hdmi or dock i would be really grateful .if u do decide to take this endevour up good luck and ty in advance
Loop devices are already supported stock.
J35US said:
i dont got a dock or an hdmi cable so i dont think the ubuntop would be a option for me .i've never used ubuntu before but i want to try it out .ive tryed formatting my internal storage and following the instructions but it doesnt boot .ive tryed using my phone as usb storage and boot from usb to get it running on pc but i have failed
if you could do this in a separate kernel o something for those of us with no hdmi or dock i would be really grateful .if u do decide to take this endevour up good luck and ty in advance
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
I would of loved it on cm7 but beggers can't be choosers thanks for the heads up
That has it too
J35US said:
I would of loved it on cm7 but beggers can't be choosers thanks for the heads up
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
well i must have failed real hard ,was using the 1.4 oc kernel though . lmao
anyway to little to late i sbf'd back to 154 and finally got it to boot the ubuntu in terminal emulator
following instructions --like a boss--
apt-get update
apt-get upgrade
then problems , apt-get install tightvncserver -- gives me this
Err http://ports.ubuntu.com karmic/main xbase-clients 1:7.4+3ubuntu7
404 Not Found
Err http://ports.ubuntu.com karmic/universe tightvncserver 1.3.9-4
404 Not Found
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/x/xorg/xbase-clie
nts_7.4+3ubuntu7_all.deb 404 Not Found
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/universe/t/tightvnc/ti
ghtvncserver_1.3.9-4_armel.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis
sing?
so im on the brink of giving up but it was definately a interesting and informative try
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?
Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
yes, you have to instal bussybox installer form Google Play Store, then you need to change permissions of busybox in/system/bin/
Open permissions and uncheck "Set GID" permission, save changes.
Specifically, BusyBox by JRummy16, thats the one I used and it worked without modifying permissions . Just download it, and install BusyBox
When i attempt to install busy box, i lose super user permissions??? I have to reflash to get SU back?
What info do i need to grab to help me, help you, help me? Lol
Sent from my MB860 using xda premium
johng75 said:
Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I just set this up today and am a relative noob about such things. Rather than download busybox, I used the following advice from Milestonefail on Nottachtrix.com, and it worked fine.:
***Use Root Explorer. Go to /system/bin. Scroll down to busybox. Click "Mount R/W" in the top right corner. Long press busybox. Choose "Permissions." Uncheck "Set GID"
Then I followed the XDA guides to the letter, and it worked great, with the exception of a TZ error at the end that caused difficulty when installing a new desktop and openoffice package. Easily solvable with a search though.
Bottom line on Nottachtrix 1.3.1, webtop 2 SD works great.
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
johng75 said:
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
Click to expand...
Click to collapse
I've got the exact same problem, i followed the guide partitioned my sd card but the webtop2sd 1.1.0 never sees the card, the 2.0.1 also fail to load. Could someone please help us with that?
EDID:
I did what ovitz said and everything went fine, i am executing the script now.
I used 2.0.1, which FC'd until I set the permissions on the busybox file. I did not install the Jrummy version, but rather just tweaked the permissions as noted above. I am running Nottachtrix 1.3.1 and webtop 2.3.6. It seems that a lot of folks still get bound up at this point, and I am not well-versed enough to know why that would be, but this worked for me.
Thanks, I reinstalled busybox and now webtop2sd is working. I didn't use any busybox installer.
Sent from my MB860 using XDA
ok, i installed the JRummy16 busybox and changed the premissions, i was then able to run version 2.0.1 of webtop2sd it finished
ran into issues running webtop config from the webtop, busybox was missing from /system/etc/webtop2sd folder so i added it there too and it ran fine...
after installing LXterminal i ran the webtop scripts
(http://forum.xda-developers.com/showthread.php?t=1192488)
then i added XFCE interface to replace default webtop
(http://forum.xda-developers.com/showthread.php?t=1420376)
last change really needed to install programs was to lock the 'tzdata' version in Package Manager
then edit the file to get rid of errors during installs
(http://forum.xda-developers.com/showthread.php?t=1420376)
all i can say is WOW, what a difference... thanx everyone... hopefully someone else that was missing steps like me can benefit from this...
Does anyone know how do I get lentras with accents on the laptop program in Openoffice? I refer to these accents á â â à é è ê õ and, is mainly and Ç. I really need the openoffice and, as my language (en) have these accents, the keyboard would have to have English-International (en-US) accentuating like any other en-US.
My system is usually accentuating the letters out of Openoffice, only Ç who did not enter.
Please help me ...
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
el_venga said:
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
I am having the exact same issue, how is gentop?
Edit: Fixed it, in your webtop2sd busybox set permissions to allow write from groups and others, then re-flash from webtop2sd app, reboot and see if that works.
webtop config not opening
Can anyone please point me in the right direction to fix this?
I have unchecked Set GID permissions in busybox and still webtop config will not load on lapdock. I have the awn manager and LXTerminal icons as well but they also do not load.
Nottachtrix 1.3.1
Webtop2sd 2.0.1
Faux 123 1.3 Ghz
32 GB w/ 10GB ext3 partition
edit: I have also tried through terminal emulator:
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
and I get
[sudo] password for adas:
again I am new to this so if anyone has any pointers as to some positive direction I can go to figure this out it would be most helpful and I will pray to the gods of linux that you receive many blessings
I also have a problem with webtop configurator. Webtop2sd installed everything successfully, but after the reboot when I click on the webtop configurator it does not starts. Just flashing for some seconds and that's all. Is there anybody who knows how to fix it?
International Atrix
Nottachtrix 1.3.1
Faux 1.0 GHz kernel
Webtop version: WT-1.2.0-110_OLY-6
In the terminal after these commands
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
I get this message:
Traceback (most recent call last):
File "./webtop-configurator.py", line475, in <module>
File "./webtop-configurator.py", line337, in _init_
AttributeError: 'module' object has no attribute 'Builder'
EDIT:
For me it is working now. I decided to go back to 2.3.4 webtop instead of fixed 2.3.6 webtop (fastboot erase webtop, install zip from CWM, install webtop2sd again) and now everything seems to be ok
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