[GUIDE][TETHERING] Clockworkmod Tether via USB - HTC One SV

CLOCKWORKMOD TETHER via USB for Linux Users​
-- This guide is in reference to Ubuntu 13.10 (May work for other versions)
-- These are NOT instructions for Windows users - So please stop here if you do not use Linux
The main reason I had trouble is that the included adb file with the linux Clockworkmod Tether app would not work. Period. Nothing I tried would execute it, ./adb devices for example would return adb: No such file or directory, even after changing it to executable with chmod or with the properties dialog...
-- I have gotten this to work with the help of several posts on various websites and will be reposting some code that helped.
-- This guide has been written while currently tethering from my device. Let's begin....
1. Download and install the Clockworkmod Tether app on to your phone.
2. Open a terminal in Ubuntu (I use Guake Terminal), and enter:
Code:
[B]sudo apt-get install android-tools-adb[/B]
-- This will install the proper adb files on to your system
-- If you have already done this previously in the past, then step 2 is not required.
3. Open a browser E.g. Firefox and search for Clockworkmod Tether. Go the the google play website for the app, scroll down and click to download for the Linux version.
-- Also, you can open up the app on your device and download it from there and then transfer the file over to your computer.
4. You should have a .tgz file now. Extract it to wherever you want. I personally have it kept in a folder called 'development' in my home directory. You should now have a folder named Tether.
5. Open the Tether folder and navigate to the linux sub-dir. Here you should have 2 files: adb and run.sh. Open run.sh with a text editor.
6. Replace the line that looks like:
Code:
[B]../linux/adb start-server[/B]
with
Code:
[B]adb start-server[/B]
7. Save and exit ./run.sh.
8. Now go back to the Tether dir and go to node-tuntap dir. Open adb.js in a text editor.
9. Replace the line that looks like:
Code:
[B]adbPath = '"' + path.join(process.cwd(), adbPath) + '"';[/B]
with
Code:
[B]adbPath = '/usr/bin/adb';[/B]
10. Save and exit adb.js
11. Go back to the terminal and enter:
Code:
[B]sudo gedit /etc/udev/rules.d/70-android.rules[/B]
then paste in this:
Code:
[B]SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"[/B]
12. Save and exit 70-android.rules.
13. You need to compile CLockwork Tether before running run.sh. To do so, make sure you have the proper dependencies installed like g++ then go to Tether/node dir in terminal and enter:
Code:
[B]./configure[/B]
then enter
Code:
[B]make[/B]
If everything went well, you should be able to run ./run.sh​
14. Plug in your phone to the computer via usb, make sure it's not set to mass storage (the disk drive shouldn't be mounted). Start the tether app on your phone.
15. Disconnect from all networks (ethernet, wifi, etc.) on Ubuntu.
16. Back in your Ubuntu terminal change directory to the Tether dir, then enter:
Code:
[B]sudo linux/run.sh[/B]
-- Only if necessary, in another terminal enter:
Code:
sudo ifup tun
Congratulations, if all went well, you should be able to load web pages in your browser, as well as do other things online so long as you have good cell reception.
--- Happy Hunting!!

well, kinda good, but what if? no Wi-Fi or internet connection? then sudo apt-get can not work lol
also, it was much easier when I did it this really seems like the long way around lol
#EDIT
I also got it working with downloading what I needed via phone, then transferring it to the Linux box, without available internet connection to the computer, until I got clockworkmod tether running, of course
---------- Post added at 07:12 PM ---------- Previous post was at 07:06 PM ----------
it is good to see this here though, I repo synced using my 4g lol(so fast)
---------- Post added at 07:17 PM ---------- Previous post was at 07:12 PM ----------
Modding.MyMind said:
Code:
sudo ifup tun
Click to expand...
Click to collapse
also, what's this? For
---------- Post added at 07:21 PM ---------- Previous post was at 07:17 PM ----------
I bought a usb-to-Ethernet coupler so when I plug it in to use clockworkmod tether it's recognised by the Ubuntu Software Center as a wired connection, without it just running it through usb port 3.0 or 2.0 I could never click the install button I had to Google the apt-get for installing additional add-ons and software
---------- Post added at 07:28 PM ---------- Previous post was at 07:21 PM ----------
ps
I'm running on no sleep the past 46 hours and lots of red bull and rockstar! Sorry if I'm coming off...heh, different..

Hahahahaha you need sleep bro
Sent from my C525c using Tapatalk

I used my cell phone also. I don't have WiFi so there was no choice but to use my device and then transfer everything over, but that should be relatively explanatory for those with no WiFi lol.
Sent from my C525c using Tapatalk

I'm working on it, gotta change my usual sleeping habits, my chick got a graveyard shift(second job)
I'm playing Mr mom watching the kiddo and working the watching the kiddo some more, he's git lots of energy

The steps I provided literally took me about ten minutes at most. The longest part was compiling using gcc and g++
Sent from my C525c using Tapatalk

russellvone said:
I'm working on it, gotta change my usual sleeping habits, my chick got a graveyard shift(second job)
I'm playing Mr mom watching the kiddo and working the watching the kiddo some more, he's git lots of energy
Click to expand...
Click to collapse
I know how that is. Prior military lol.
Sent from my C525c using Tapatalk

ditto, what branch?
regular Army here
88 Mike truck driver lol

russellvone said:
ditto, what branch?
regular Army here
88 Mike truck driver lol
Click to expand...
Click to collapse
Marines, 3531, Motor Transport Operator.
Sent from my C525c using Tapatalk

sweet, he's out....my turn
you learn in military service that 4 hours is ask you need per 24, hopefully I'll get 8 tonight
---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------
Modding.MyMind said:
Marines, 3531, Motor Transport Operator.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
hoo rah friend, I've got an extra usb to Ethernet if you want it.
got a multi pack from Amazon for small price, do you have the same issue I did with the software center in ubuntu?

russellvone said:
sweet, he's out....my turn
you learn in military service that 4 hours is ask you need per 24, hopefully I'll get 8 tonight
---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------
hoo rah friend, I've got an extra usb to Ethernet if you want it.
got a multi pack from Amazon for small price, do you have the same issue I did with the software center in ubuntu?
Click to expand...
Click to collapse
Not yet. Seems good so far.
Sent from my C525c using Tapatalk

I'll take it though lol.
Sent from my C525c using Tapatalk

you can click 'install' while using clockworkmod tether?
I never could

PM me a P.O. box or whatever your comfortable with, I'll send it your way soldier

russellvone said:
you can click 'install' while using clockworkmod tether?
I never could
Click to expand...
Click to collapse
Probably because I have certain stuff installed. When I first got Ubuntu up and going I was installing all kinds of stuff. Couldn't tell you off the top of my head lol.
Sent from my C525c using Tapatalk

Thanks for a superb guide.
I manage it to work on 2 different machines.
Now I am googling and cannot find how to add shortcut on desktop, so user do not need to run it from terminal.
I have a shorcut on desktop now, but after a while window dissapear and script is not running.
There is *internet.desktop file - which is a shortcut I believe. Inside it is:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
StartupNotify=true
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=internet
Exec=/home/marta/Templates/Tether/linux/run.sh
Comment[en_GB]=Run program as root
Name=internet
Comment=Run program as root
Icon=gnome-panel-launcher
GenericName[en_GB]=tethering from usb
I am on 12.04.
Any advice appreciated.
p.s.
just forgot to add that main user is not geek so I want to be simple as possible.

mazak23 said:
Thanks for a superb guide.
I manage it to work on 2 different machines.
Now I am googling and cannot find how to add shortcut on desktop, so user do not need to run it from terminal.
I have a shortcut on desktop now, but after a while window dissapear and script is not running.
There is *internet.desktop file - which is a shortcut I believe. Inside it is:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
StartupNotify=true
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=internet
Exec=/home/marta/Templates/Tether/linux/run.sh
Comment[en_GB]=Run program as root
Name=internet
Comment=Run program as root
Icon=gnome-panel-launcher
GenericName[en_GB]=tethering from usb
I am on 12.04.
Any advice appreciated.
Click to expand...
Click to collapse
I wish I could help, but I keep my desktop clear in all honesty. I run mostly everything in the terminal. A habit you could say lol. Though, when I get by my computer again I will take a look at what you mentioned. I haven't noticed it personally, but like I said; Using terminal is my preferred method.
Sent from my C525c using Tapatalk

You ROCK!
I know this thread is a bit aged but I had just installed Clockworkmod Tether on my Funtoo linux machine and had the same issues you mentioned.
I basically followed the guide with a few differences.
First off...anyone using Gentoo/Funtoo the best way to grab ADB is to emerge dev-util/android-tools (MUCH smaller install) or dev-util/android-sdk-update-manager (newer ADB but not sure it makes a huge difference)
If you have a problem with the compiling phase make sure to 'eselect python list' and then do 'eselect python set #' and substitute the # with the actual number that contains python 2.7. In my case I did 'eselect python set 1'. After that it should compile fine.
I have tested it and it is working great man! Thanks a lot!
If you read this then Merry Christmas and Happy New Year!

Thanks!
This guide worked perfectly on the latest version of Ubuntu 16 as of 2017-04-26
Thank you very much for taking the time to create it.

hello here, i have follow all the step but wen i trying to compile with ./configure and Make it show me this error:
Traceback (most recent call last):
File "./configure", line 463, in <module>
configure_node(output)
File "./configure", line 370, in configure_node
o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1]
how to solve it please???

Related

[WIP] Ubuntu on the Thrive!

Hey guys!
A friend of mine who is into phone roms and modding, showed me Ubuntu running on his Nexus Android Phone, and thought about how cool it would be to get Ubuntu Running on the Thrive! With a bit of Research I found that there is an ARM port of Ubuntu. The reason why that is an awesome thing is because Linux has this cool thing called chrooting. chrooting is the process of running another version of linux within another running linux OS instance. The downside of chroot is that you can chroot an os made for your phones architecture. In this case, the Terga 2 IS Arm based, so we're all set to go on that. With a few hours of toying around, I have successfully gotten Ubuntu running on my Thrive.
What you'll Need:
- Basic working knowledge of linux.
- The Arm Port of Ubuntu. ubuntu.zip
Original Dev's Site: Download File - ubuntu_zip - DownloadAndroidROMs.com
Mirror 1: MEGAUPLOAD - The leading online storage and file delivery service
Mirror 2: http://www.zettech.net/ubuntu.zip
Mirror 3: ubuntu.zip - download now for free. File sharing. Software file sharing. Free file hosting. File upload. FileFactory.com
- A *ROOTED* Thrive, with busybox installed and atleast 3gb of spare space in the *INTERNAL* storage... Not the SDCard Storage. You can find out how to do this all at this thread: http://www.thriveforums.org/forum/t...ment/1399-full-working-rooted-thrive-now.html
- A computer with adb setup and the correct working drivers for your thrive. If your Thrive is rooted, than you should have working drivers, unless you rooted it from another pc, in which case you can look at the root thread in this development forum for help. You can check to see if ADB is working by typing "adb devices" at the command promt. A few lines that look like this should pop up.
List of devices attached
286416746464667 device
^ The numbers will look different. Thats OK. If the list is empty, you have a driver issue or connection issue with adb.
How to do it:
1. Download and extract the ubuntu.zip file from one of the above links to your hard drive.
2. Connect your thrive to the PC and Connect your Thrive to a Wifi Access Point.
3. A new storage device should show up. This is your thrive. Now place the ubuntu folder you just extracted in the root of the thrives storage device. NOTE: This is *NOT* actually the sdcard your storing the files on. This is the devices internal memory. (don't put it in the /sdcard-disk0 folder.)
4. Open up an adb shell. Do this by typing "adb shell" at the command promt. A "#" should appear, indicatng you are at a root shell on your thrive.
5. Type "cd /sdcard/ubuntu"
6. Type "sh ubuntu.sh" This is the script that sets all of the permissions for the ubuntu image. You *WILL* see errors on this part. Ignore them.
7. Type "bootubuntu". You should now see a command line that looks like this:
# bootubuntu
bootubuntu
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
Setting localhost on /etc/hosts
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
* Congrats. You have Ubuntu running on your thrive now... Now for a better way to control it...
8. Update the OS:
Code:
apt-get update
9. Change the root password:
Code:
passwd root
^ Set this to a secure password. Wouldn't want anyone sploit'en ya eh?
10. Find your Thrives IP Address:
Code:
ifconfig
^ It should be listed as "inet addr" under the wlan0 interface. (See? Told ya you would need basic linux skills. ).
11. Install SSH:
Code:
apt-get install openssh-server
^ Once thats installed, you should be able to ssh to your thrive by either connecting to 127.0.0.1 from a terminal emulater on the thrive, or your thrives IP from a PC on the same network.
12. Install and start a VNC Server:
Code:
apt-get install tightvncserver
Code:
export USER=root
^Tell's what user to start VNC as.
Code:
vncserver -geometry 1280×720
^This starts the VNC server. It will ask you for a password. Remember this password. You may also try 1280x800 if 1280x720 gives you issues.
Now that VNC is installed and running. You should be able to connect to it from a VNC client on port *5901*. If connecting from the Thrive itself, you can connect to 127.0.0.1, or you can connect from a PC by using the thrives IP.
What the issues are:
Ok... So I literally *JUST* got VNC up and running as I am writing this post. I'm actually just on my way out the door to go home for the weekend hahah, so I'm sure alot of these issues can be fixed with minor tweaks. I'm also sure there are more issues out there. I just wanted to get this posted up though so that people can start playing with it.
- VNC Resolution and colors are set incorrectly. This I believe is just an issue with the default configuration file for VNC. I believe the color quality setting just needs to be raised and the resolution adjusted to the native resolution of the thrive.
- Has to be install to Main memory: This is because the script that sets all of the permissions is hard coded with /sdcard/ubuntu as the location for the installation. /sdcard/ isn't actually the sdcard on the thrive. It's internal memory. I'm certain that a quick edit of the sh script will fix this. Is it really a good idea to run ubuntu off a slow, and limited write capacity sdcard?
All of the above issues i'll look at tonight when I get home! Happy hacking guys!
I cant seem to get vnc working the client keeps failing
Sent from my AT100 using Tapatalk
can you use the onscreen keyboard or do you have to use an external?
What you mean like the keyboard in ubuntu or while im in the vnc client
Sent from my AT100 using Tapatalk
I mean, can I put ubuntu on the tablet and use the tablet as a Ubuntu tablet or do I need to hook up a keyboard or use VNC in order to use the tablet?
With Android, I have a keyboard built into the software. Does Ubuntu have one?
Im not sure I havent made it that far. But you need to use a vnc client
Sent from my AT100 using Tapatalk
wrek said:
I mean, can I put ubuntu on the tablet and use the tablet as a Ubuntu tablet or do I need to hook up a keyboard or use VNC in order to use the tablet?
With Android, I have a keyboard built into the software. Does Ubuntu have one?
Click to expand...
Click to collapse
You download a VNC Client for Android, and connect to your Ubuntu Instance via that. VNC should support whatever on screen keyboard you have installed.
Ok, so it's not really a "Ubuntu" I can walk around with... not yet anyway.
wrek said:
Ok, so it's not really a "Ubuntu" I can walk around with... not yet anyway.
Click to expand...
Click to collapse
Well to an extent it is. You can use VNC right from the Thrive to connect to Ubuntu. Ubuntu would still be running locally on the thrive as well. You can also use a terminal emulator to ssh to ubuntu as well.
In all Honesty, I only posted this to show that the thrive does indeed have the power to run Ubuntu. The version of Ubuntu it runs is the ARM version; which doesn't have many working applications for it yet.
hey i am stuck at [email protected]:/#
nothing happened on the tab, im not sure what to do..? help?
past that..
okay so i am past the [email protected] blah blah blah... now i got an error saying
"chroot: applet not found
Shutting down ubuntu
failed.
failed.
failed.
failed.
losesetup: applet not found
any ideas.?
Is anyone still working on this? I am getting errors when I try to install openssh and tightvncserver.
Sent from my SPH-D710 using xda premium
I already have ubuntu running on my thrive through vnc viewer. Its not optimized that well but I can download software and use the keyboard and everything.
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
I have a much easier method if you guys want it.
jayfrost10 said:
I already have ubuntu running on my thrive through vnc viewer. Its not optimized that well but I can download software and use the keyboard and everything.
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
I have a much easier method if you guys want it.
Click to expand...
Click to collapse
Easier is better. How did you do it?
Sent from my SPH-D710 using xda premium
Okay, I am just gonna start a new thread. I'll get it up in a little while.
jayfrost10 said:
Okay, I am just gonna start a new thread. I'll get it up in a little while.
Click to expand...
Click to collapse
That would be great. Thank you!
Sent from my SPH-D710 using xda premium
Okay, my easy ubuntu thread is up.
sh ubuntu.sh
modprobe: module 'ext2' not found
←[H←[Jrm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
mkdir failed for /data/local/mnt, File exists
←[H←[JUnable to chmod bootubuntu: Operation not permitted
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
i recive this failed when i type sh ubuntu.sh ... any sugestion ?

[Q] Rooting via Mac Terminal (Command not found)

So I'm trying to root my Atrix 2 via Mac & i keep getting command not found. Then if i add ./ before an adb command (Example: ./adb push zerg /data/local) "No such directory or file". What am I doing wrong?
The rooting guide for Atrix 2: http://forum.xda-developers.com/showthread.php?t=1327741
P.S. I have the exploit folder on my desktop and I changed the directory to the exploit folder. (cd /Users/tech2332/Desktop/Exploit) In case you were wondering.
Does it have anything to do with the adb file having the .exe extension? Or is it something else?
If I'm not mistaking this has to be modified to run with Mac....and I don't have a clue how to help you with that
I can't remember the specifics, but there is a hidden file (.bash_profile) that you have to modify in order to use adb from any directory on your mac. Without doing this, adb commands will only work when you are in the /platform-tools directory.
This page might help:
http://www.99bits.com/2010/12/how-to-setup-adb-on-mac/
---------- Post added at 02:44 PM ---------- Previous post was at 02:35 PM ----------
Your other option is just to copy the files from the exploit directory into the platform-tools directory and run the commands from there.
Thanks for the answers. I think I got it working. I used this link on XDA to edit the (.bash_profile). http://forum.xda-developers.com/showthread.php?t=1387527
Yep, I got root. Easy as pie! Thanks for the quick responses to both of you.
Good to know it worked ...I will get it added to the beginners thread
tech2332 said:
Thanks for the answers. I think I got it working. I used this link on XDA to edit the (.bash_profile). http://forum.xda-developers.com/showthread.php?t=1387527
Click to expand...
Click to collapse
Awesome! Us mac users are definitely in the minority here, but it can be done!
The only thing I've had to use a Windows machine for is using RSD Lite. Tried to use it with a Windows VM in VirtualBox but getting the USB to work properly is next to impossible. If you plan on doing any flashing with RSD Lite, you'll have to use Windows.

Ubuntu Touch port for Captivate

I went on and ported from scratch (not using work done for the i9000) Ubuntu Touch for our magic samsung captivate! The port itself is just the base of CyanogenMod to be able to support the binary blobs (drivers) of various devices without having to rewrite them (source code is usually not avaliable). Mine is the i897 ATT variant.
I wanted to post the link to the rom from my google drive, but since i just registered here to post this I cannot post external links. PM me and i will send the link to you ASAP!!
Installation instructions:
1- Copy the CM_BASE_UBUNTU_TOUCH zip file to the phone (internal or external sd doesn't matter)
2- Download the latest image of Ubuntu Touch from the ubuntu website. The current filename is quantal-preinstalled-phablet-armhf.zip (This will change once the builds are based on Raring - 13.04 - and not Quantal - 12.10): PM ME FOR LINK OR SEARCH GOOGLE FOR "UBUNTU TOUCH DAILY"
3- Copy the Ubuntu Touch image to the phone
4- Reboot into recovery
5- Install CM_BASE_UBUNTU_TOUCH.zip from sd
6- Wipe Cache
7- Wipe Data partition
8- Install Ubuntu Touch zip from sd card
9- Patiently wait
10- Reboot and Enjoy!
EDIT--> Now you have the system 90% ready, but for the resolution of our device and the size of our screen we will have to change some parameters to fix the dpi and scaling:
EDIT 2 --> All these steps are unneccessary if you flash http://goo.im/devs/pawitp/galaxysmtd...x-20130223.zip after everything else. Thanks go to Citrit who pointed out the post in the i9000 ubuntu touch thread http://forum.xda-developers.com/showthread.php?t=2162534
If you want to go through how it is done, or if you want to play with the settings, follow on. If not, jump past the F.
11- While the device is on, connect to your computer via usb
12- From a terminal, run the following commands
A- adb root (necessary to be able to enter directly into a root adb shell)
B- adb shell (we are based on cyanogen, so our lovely adb commands still work)
C- ubuntu_chroot shell (to enter a linux command prompt, since ubuntu is a layer on top of the android linux kernel)
D- vi /usr/bin/ubuntu-session (edit the session configuration. I used vi but feel free to do however you like)
E- Here near the beginning you will find a series of preconfigurations for some devices and a generic one at the end: this is the one we have to edit. The GRID_UNIT_PX parameter with 18 as a value has to be changes to 11 or 12 (test and see how you like it), and the QTWEBKIT_DPR parameter with 2.0 has to be changed to 1.1 or 1.2
F- you can reboot directly from the chroot session typing "reboot" (without the quotes)
Taken from the Ubuntu Touch porting guide:
you can use adb port forwarding to easily connect to the container via SSH over USB. To do so, run the following commands:
adb forward tcp:8888 tcp:22
ssh [email protected] -p 8888
Currently the power button does not work with recent kernels, so one of the following options must be run:
remove the battery and replace it
run "reboot -p" from the adb shell
adb root
adb shell reboot -p
If you appreciate my work, leave feedback! If you don't, leave feedback! All feedback is welcome! I'd like to know your thoughts, experiences and what bugs or annoyances you encounter!
P.S If the mods could give me permission to post ouside links (or if they could post it themselves if i pm it to them) we would all be very grateful
What works and what doesnt
Sent from my SGH-I897 using xda app-developers app
What works and what doesn't
No cellular connection (no calls, no sms, no data)
Basic wifi works (password free and wpa network tested, but wep should too)
Camera works
Gpu accelleration works
All the rest is untested
but after installing it will i be able to flash back to android 4.2.2????
Reflash to android
n205des said:
but after installing it will i be able to flash back to android 4.2.2????
Click to expand...
Click to collapse
Sure! All you have to do is reboot into recovery (sending an adb command or using the usual button combination) and reflash your favourite rom from there! I tested with the nightly CyanogenMod and with SlimBean, both 4.2.2, and all went well
krissetto said:
Sure! All you have to do is reboot into recovery (sending an adb command or using the usual button combination) and reflash your favourite rom from there! I tested with the nightly CyanogenMod and with SlimBean, both 4.2.2, and all went well
Click to expand...
Click to collapse
okkkayy!
will try and tell you soon
---------- Post added at 10:01 PM ---------- Previous post was at 09:01 PM ----------
i installed it but i couldnt understand how to change the dpi or the resolution to my phones size.
so can you explain me how to do it correctly?
Adjusting dpi scaling
n205des said:
okkkayy!
will try and tell you soon
---------- Post added at 10:01 PM ---------- Previous post was at 09:01 PM ----------
i installed it but i couldnt understand how to change the dpi or the resolution to my phones size.
so can you explain me how to do it correctly?
Click to expand...
Click to collapse
What we have to do is change a couple of lines in the ubuntu-session configuration file. It is located, in ubuntu, in /usr/bin/ubuntu-session. The way i chose to edit this file was via chroot from my pc.
With the phone powered on, connect it to a computer with ADB installed (install the android sdk if you haven't, i personally use linux but you can on windows and osx too). Then from a terminal run the following commands:
adb root
adb shell
ubuntu_chroot shell
After you have inserted these commands, you will find youself in a chroot session, basically any command you now write executes on the phone as if you ran it from there. So i used a terminal text editor (vi, to be precise, but i assume you can use whatever you prefer) and opened the file with this command:
vi /usr/bin/ubuntu-session
vi was designed decades ago, for keyboards without arrow keys, so to move around read a bit on the page i PM'd you.
What you now have to do is scroll down to where you see the following code:
export GRID_UNIT_PX=18
grep -q QTWEBKIT_DPR /home/phablet/.bashrc
[ $? -ne 0 ] && echo "export QTWEBKIT_DPR=2.0" >> /home/phablet/.bashrc
export QTWEBKIT_DPR=2.0
export FORM_FACTOR="phone"
What you have to change is the 18 and the 2.0, repectively in 11 and 1.1 (play around with slightly different settings to get the feel you prefer).
Save the file and type "reboot" in the terminal.
Your phone will now restart, and load up the UI with the settings you just changed
Let me know if you have problems, when I find some time I'll get back to you
anyone?
Has anybody tried this yet?
Looks good
Everything installed fine, had no issues with that. Only issue I'm having is I can't seem to change the resolution by following the above steps. Ubuntu touch looks good though . WORKS: Wifi, Camera. Will provide more feedback once I get into it more.
Resolution scaling
mitchelldavis said:
Everything installed fine, had no issues with that. Only issue I'm having is I can't seem to change the resolution by following the above steps. Ubuntu touch looks good though . WORKS: Wifi, Camera. Will provide more feedback once I get into it more.
Click to expand...
Click to collapse
What problems do you encounter? I noticed that trying to edit the file with nano wouldn't let me save it, as if the command just wouldn't go through, but maybe that was just me.
Everything worked great for me, and the latest build fixes the need for an open Wifi. It now prompts for a password. Here is a fix for the layout, it was taken from this thread:
http://forum.xda-developers.com/showthread.php?t=2162534
Grab the file http://goo.im/devs/pawitp/galaxysmtd_ubuntu/ubuntu-aries-layout-fix-20130223.zip and install this last.
citrit said:
Everything worked great for me, and the latest build fixes the need for an open Wifi. It now prompts for a password. Here is a fix for the layout, it was taken from this thread:
http://forum.xda-developers.com/showthread.php?t=2162534
Grab the file http://goo.im/devs/pawitp/galaxysmtd_ubuntu/ubuntu-aries-layout-fix-20130223.zip and install this last.
Click to expand...
Click to collapse
An easier way to fix it, thanks! I'll edit the orig post with these instructions
When I try to edit the settings using vi it doesnt let me input anything. I get all of the information but cannot edit it.
Editing with vi
mitchelldavis said:
When I try to edit the settings using vi it doesnt let me input anything. I get all of the information but cannot edit it.
Click to expand...
Click to collapse
Have you read the information on how to use vi? There are certain commands to use to edit text, it was built for computer from ages ago, that didn't have many things we're now used to. Excuse me if you are experienced enough to know how to use vi ^^
mitchelldavis said:
When I try to edit the settings using vi it doesnt let me input anything. I get all of the information but cannot edit it.
Click to expand...
Click to collapse
Follow the instruction in the OP about installing a third zip file, then you can safely ignore all the vi instructions.
Sorry if I'm being a dip**** by asking this, but where exactly do I obtain a copy of this "CM_BASE_UBUNTU_TOUCH zip"? I have a captivate begging me for ubuntu touch right now. lol :silly:
can you port to vibrant too
the vibrant is the tmobile version on the captivate can your port to that too. il help with testing:fingers-crossed:
Well from what in seeing I think all u do is flash the nightly of cm10.1 or whatever it is and u should be fine I think his cm_base_Ubuntu_touch thing is his rip from the rom and he's flashing it just as a kernel
Sent from my SGH-I897 using xda app-developers app
this really ought to be in the dev section where it can get the attention and support it deserves...
maybe post to github also...
Is it possible to dual boot my ics jb and ubuntu ? any tutorial ? thanks

[Root] RockMyMoto (Yes, even the first OTA)

This will void your warranty, like all root exploits. Use this at your own risk. Do not take OTAs on rooted devices unless you know what you are doing, as it may cause a bootloop or a soft brick.
RockMyMoto is designed for MotoXs that have recieved the Camera update, patching PwnMyMoto. If you are unsure of your firmware, try PwnMyMoto first.
First step is to install Cydia Impactor, by Saurik. http://www.cydiaimpactor.com/ This is required. You will also need adb installed and working, and be comfortable with the command line. Your phone must be on the same network as your PC.
Figure out the ip address of your phone:
adb shell getprop dhcp.wlan0.ipaddress
Click to expand...
Click to collapse
unzip RockMyMoto-{version}.zip and push the exploit and su to /sdcard/:
adb push su /sdcard/
adb push RockMyMoto.jar /sdcard/
Click to expand...
Click to collapse
Run Impactor and select "# start telnetd as system on port 2222", then hit start.
Once the process is complete, run telnet:
telnet {your phone's ipaddress} 2222
Click to expand...
Click to collapse
Run the exploit through telnet
dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Click to expand...
Click to collapse
The exploit will tell you to use adb to reboot:
adb reboot
Click to expand...
Click to collapse
Run the exploit through telnet for the second time, it will reboot on it's own:
dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Click to expand...
Click to collapse
Run the exploit through telnet for the third time, it will not reboot:
dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Click to expand...
Click to collapse
Wait 0-60 seconds, for su to install, then install SuperSu from the market.
Enjoy!
Known issues:
If you have AP isolation mode enabled in your AP (aka WiFi router) you won't be able to connect to your phone via telnet, disable isolation.
Windows users having trouble see here
Amazing! Trying now...
You are the man!!!!!!!!!!
Sent from my XT1060 using Tapatalk
Doing this now. Wonderful job jcase.
Edit: It works.
OMG It worked like a charm! Thank you jcase!!!
one thing though
adb push RockMyMoto-1.0.zip /sdcard/
Click to expand...
Click to collapse
should have been
adb push RockMyMoto.jar /sdcard/
which should have been extracted with su from the zip.
Okay. I have never rooted like this before. Adb = command prompt? Do I need the SDK? Or just the rockmymoto and the other program?
Sent from my XT1060 using Tapatalk
holyevilcow said:
OMG It worked like a charm! Thank you jcase!!!
one thing though
should have been
adb push RockMyMoto.jar /sdcard/
which should have been extracted with su from the zip.
Click to expand...
Click to collapse
Thanks, fixed
Quick question, does this method force us to reboot recovery for system r/w like pwnmymoto?
d4mi3n said:
Quick question, does this method force us to reboot recovery for system r/w like pwnmymoto?
Click to expand...
Click to collapse
yes it does
Works on windows perfectly. AWESOME WORK !
You never cease to amaze. Nice work bro,
Thanks a ton
Sent from my Nexus 7 using Tapatalk
Major Kudoos to Jcase and saurik. Up and running like a boss.
Thanks jcase! Followed your steps and worked like a charm.
Sent from my XT1058 using XDA Premium 4 mobile app
I haven't taken the update so could I just unfreeze apps, unroot, uninstall root apps, take the update, then run this? I don't want to RSD a third time today.
Sent from my Moto Ghost
Thanks bro, amazing work as usual!
Sent from my XT1058 using XDA Premium 4 mobile app
---------- Post added at 03:22 AM ---------- Previous post was at 03:13 AM ----------
Also if anyone is not by a PC you can just type getprop and whatever command to get the info you need using terminal emulator. Just don't type adb shell before getprop. And just typing getprop in terminal emulator will list your whole build.prop or you can just type getprop ro.secure & hit enter & that will tell you whether your s-off or not by listing a 0 or a 1. That was just a example if you just want to find out just 1 line like jcase first command to get your ipaddress. You would just type getprop dhcp.wlan0.ipaddress & hit enter & terminal emulator will list your sensitive data if your not by a PC
Sent from my XT1058 using XDA Premium 4 mobile app
thanks bro! worked beautifully
does anyone know of a way to get the native tethering working after rooting this way on a camera updated vz moto x? thanks
edit: this works: http://forum.xda-developers.com/showthread.php?t=2443562
Quote:
adb push su /sdcard/
adb push RockMyMoto.zip /sdcard/
When I do this step I get an error about no such directory. Please help
---------- Post added at 02:48 AM ---------- Previous post was at 02:38 AM ----------
Now says "read only file system"
---------- Post added at 03:09 AM ---------- Previous post was at 02:48 AM ----------
Okay got past that.
Know saying telnet is not reconized as command
---------- Post added at 03:50 AM ---------- Previous post was at 03:09 AM ----------
Okay I finally got it!! Yay Root!
When I try the telnet action, I get an error that the 'link failed File exists'. If I try to proceed to the next step, same error. My router is an Asus router and I made sure Isolation was unchecked, and there was a setting for telnet (never used this before) and I tried both on and off for that one.
Anybody have a clue how I can get through this?
Thanks!

Root vtab1008 honeycomb (masterkey)

!!!UPDATE!!!!
Sorry I lost my root files. I still have the base code i used to make them. I am trying to work with @saurik to get vtab1008 working with the cydia impactor so that this process will be eaiser. sorry about not keeping up here.
The linux root is still working.
!!!!!!!!!!!!!!!!!!!!!!!!!!!
I was able to get the VTAB1008 HONEYCOMB ROOTED. This device is no longer doomed to a rootless existence.
ROOT AT YOUR OWN RISK! I AM IN NO WAY RESPONSIBLE IF THIS BREAKS SOMETHING.
----WINDOWS ROOT (This worked for me)----
!!Some people have had problems with 64 bit systems.!!
https://dl.dropboxusercontent.com/u/...nys Root.zip (restored by grnsl2)
Download the latest java sdk http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
(if it installs anywhere but C:\Program Files\Java\jdk1.7.0_45\bin\jdb change the path in the runme.bat)
Setup ADB
Follow instructions at http://www.google.com/url?sa=t&rct=...5IAx2Xg-VjGm5pQ&bvm=bv.57155469,d.cGU&cad=rja
for the inf file use the one in the skinnys root,zip
!!!THIS STEP IS VERY IMPORTANT ^ IF YOU ARE HAVING ISSUES YOU MAY HAVE NOT COMPLETED THIS STEP!!!
Run Exploit
open command prompt (windows 7 type cmd in start menu and press enter)
CD to location you extracted the zip
example: cd "C:\Users\skinny\Downloads\Skinnys Root"
type "runme.bat"
You will see a ton of data on the screen after a minute your tablet will show android.app.Activity
Paste the following into the shell (the prompt should have changed to look like >)
Code:
stop in android.os.MessageQueue.next()
Touch your tablets screen (the prompt should change to <1> main [1]
Paste the following into the shell
Code:
print java.lang.Runtime.getRuntime().exec("/system/bin/sh /data/local/tmp/rootme.sh")
Wait until you see something like Java.lang.Runtime.getRuntime().exec("/system/bin/sh /data/local/tmp/rootme.sh") = "Process[id=1265]"
Code:
exit
Press enter to reboot
----LINUX ROOT----
Get Linux on a live usb stick to run exploit (skip if you have a linux system)
Download 32bit kubuntu from http://www.kubuntu.org/getkubuntu/download
Get a thumbdrive at least 2 gig
Launch unetbootin
Select bubble next to diskimage
Choose ISO
Click on ...
Browse to the kubntu iso downloaded at A.
Set drive to your usb drive letter.
The next step will erase your thumb drive!!!!!
Click OK
Process will complete and ask you to reboot (reboot)
Select the thumbdrive at startup (i don't know what type of computer you are using but most systems you can press f8, f11, f12 or f2 tp get the boot prompt)
(For more information read this guide http://sourceforge.net/apps/trac/unetbootin/wiki/guide)
Select Default at the kubuntu boot prompt
Select Try Ubuntu
Get kubuntu linux setup for the exploit (skip if you already have android tools on linux)
Press alt+f2
Type "konsole" and press enter
Paste the following commands in.
Code:
sudo chown kubuntu:kubuntu /opt
mkdir /opt/exploit/
cd /opt/
wget http://dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip -O adt.zip
unzip adt.zip
mv adt-bundle-linux-x86-20131030/ adt/
echo 'export PATH=$PATH:/opt/adt/sdk/build-tools/android-4.4:/opt/adt/sdk/platform-tools' >> ~/.bashrc
source ~/.bashrc
sudo su -c "echo 'deb http://ppa.launchpad.net/webupd8team/java/ubuntu saucy main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu saucy main' > /etc/apt/sources.list.d/oracle-java.list"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
sudo apt-get update
sudo apt-get -y install git
cd /opt/exploit/
sudo apt-get -y install oracle-java7-installer
Accept Java license agreement to install java 7
Run Exploit
Plug in your tablet
Enable debugging mode (Settings -> Applications -> Development -> USB debugging)
Paste the following commands in your linux console (if following steps use the konsole that you have been running commands in).
If you are not using /opt/adb/sdk for your android devlopemnt use your dir on the 3rd step
Code:
git clone [url]https://github.com/raymondhardy/mkbreak.git[/url]
wget 'http://goo.gl/Ox8qDx' -O Superuser-3.1.3-arm-signed.zip #thanks to @Munk0
unzip Superuser-3.1.3-arm-signed.zip
cp system/bin/su mkbreak/
cp system/app/Superuser.apk mkbreak/
cd mkbreak
./doit.sh /opt/adt/sdk
You will see a ton of data on the screen after a minute your tablet will show android.app.Activity
Paste the following into the shell (the prompt should have changed to look like >)
Code:
stop in android.os.MessageQueue.next()
Touch your tablets screen (the prompt should change to <1> main [1]
Paste the following into the shell
Code:
print java.lang.Runtime.getRuntime().exec("/system/bin/sh /data/local/tmp/rootme.sh")
Wait until you see something like Java.lang.Runtime.getRuntime().exec("/system/bin/sh /data/local/tmp/rootme.sh") = "Process[id=1265]"
Code:
exit
Press enter to reboot
If you get stuck at any part of this process please post a reply with information about the problem you are having.
PROOF OF ROOT
Thanks and credit goes out to.
robertmillan
Jay Freeman (saurik)
PoC by Pau Oliva
Vinogans for leading me to masterkey exploit
NICE!!! Any instruction changes for windows?
gnoober said:
NICE!!! Any instruction changes for windows?
Click to expand...
Click to collapse
Not yet i suspect someone will make a better root later on as of now this is linux only. This exploit uses of linux commands for injecting code into a system application to gain root.
I will be updating the first post later on with steps and screenshots on how to do this on a ubuntu live instance (I may even throw in a shell script so you run it and then wait forever while it does the setup and starts the root. I will see what i can do.)
skinnyquiver said:
I will be updating the first post later on with steps and screenshots on how to do this on a ubuntu live instance (I may even throw in a shell script so you run it and then wait forever while it does the setup and starts the root. I will see what i can do.)
Click to expand...
Click to collapse
Awesome! Nicely done! Guess I'm gonna have to dig out the VTab and give this a shot. Thinking it's gonna need a charge!
Sent from my LG Optimus G using Tapatalk
I updated the steps and re-rooted my tablet with them several times to verify that they worked. Let me know if they work for you
dandrumheller said:
Awesome! Nicely done! Guess I'm gonna have to dig out the VTab and give this a shot. Thinking it's gonna need a charge!
Sent from my LG Optimus G using Tapatalk
Click to expand...
Click to collapse
gnoober said:
NICE!!! Any instruction changes for windows?
Click to expand...
Click to collapse
Got this working on windows (does not look very pretty but it works.
Hey skinnyquiver, that is awesome... my vtab has already gained like 5mm of pure dust. However, i gonna digg it out these days, install stock recovery to update it to honeycomb finally and then reroot this thing...
Btw, the paragraph above windows instructions still says linux only...
_________________________
tapatalked from GalaxyS3
FadeFx said:
Hey skinnyquiver, that is awesome... my vtab has already gained like 5mm of pure dust. However, i gonna digg it out these days, install stock recovery to update it to honeycomb finally and then reroot this thing...
Btw, the paragraph above windows instructions still says linux only...
_________________________
tapatalked from GalaxyS3
Click to expand...
Click to collapse
try to root it with master key exploit I am talking about the the version .57 .. then before updating to honeycomb grab the update.zip the one that belong to honey comb ... try to do this
vinogans said:
try to root it with master key exploit I am talking about the the version .57 .. then before updating to honeycomb grab the update.zip the one that belong to honey comb ... try to do this
Click to expand...
Click to collapse
i am currently charging... my device is rooted with frozen updater, firmware is currently 1.9.56 so i am not sure what is the update path, will i get the honeycomb firmware immediately or do i have to update to .57 first?
_________________________
tapatalked from GalaxyS3
FadeFx said:
i am currently charging... my device is rooted with frozen updater, firmware is currently 1.9.56 so i am not sure what is the update path, will i get the honeycomb firmware immediately or do i have to update to .57 first?
_________________________
tapatalked from GalaxyS3
Click to expand...
Click to collapse
u will have to update to .57 then u will get honeycomb update ..
vinogans said:
u will have to update to .57 then u will get honeycomb update ..
Click to expand...
Click to collapse
Thats bad, but i will give that a try. However, i cant promise that i will succeede and it will take me some days as i am quite busy with my real life as well
_________________________
tapatalked from GalaxyS3
So it's certainly exciting to see root for this guy after owning it now for a couple of years.
I believe with root we'll be able to get rid of some bloat and stuff unneeded but I'm assuming we'll stay on Honeycomb.
I'd like to figure out what the real upside to this is.
Sent from my DROID RAZR HD using Tapatalk
grnsl2 said:
So it's certainly exciting to see root for this guy after owning it now for a couple of years.
I believe with root we'll be able to get rid of some bloat and stuff unneeded but I'm assuming we'll stay on Honeycomb.
I'd like to figure out what the real upside to this is.
Sent from my DROID RAZR HD using Tapatalk
Click to expand...
Click to collapse
You should be able to use this root with the 5.7 before going to honeycomb. This way you can have gingerbead rooted if your device came with the 5.7 update. I would like to get this running cm9 or cm10. The first problem with this is it will require a new kernal. I am going to be moving this weekend so it will be a while until I can get a build env to work on this. I plan on using this tablet to learn all about android rom making. Hope I don't brick it.
As Vizio has not released the kernel source I think we may want to look at using the xo-3 kernel.
Everything seems like it works, everything says 'success', but root checker is showing no root. I had force closes on the System UI before rebooting it a second time.
I tried it straight from a factory reset, just to be sure, same issue.I'm on 3.2.1 on this Vtab.
Not sure what is missing? Anything I should check?
unqualified said:
Everything seems like it works, everything says 'success', but root checker is showing no root. I had force closes on the System UI before rebooting it a second time.
I tried it straight from a factory reset, just to be sure, same issue.I'm on 3.2.1 on this Vtab.
Not sure what is missing? Anything I should check?
Click to expand...
Click to collapse
What os do u use? Check if adb is working
_________________________
tapatalked from GalaxyS3
unqualified said:
Everything seems like it works, everything says 'success', but root checker is showing no root. I had force closes on the System UI before rebooting it a second time.
I tried it straight from a factory reset, just to be sure, same issue.I'm on 3.2.1 on this Vtab.
Not sure what is missing? Anything I should check?
Click to expand...
Click to collapse
I had this problem also in the first time .. try to check if java is installed and working well .. try to check if ADB driver is identified on ur pc ..
I am thinking it is just a java problem .. did u type the commands in the shell " just wondering " this will not work if u didnt type the commands and follow the steps ..
vinogans said:
I had this problem also in the first time .. try to check if java is installed and working well .. try to check if ADB driver is identified on ur pc ..
I am thinking it is just a java problem .. did u type the commands in the shell " just wondering " this will not work if u didnt type the commands and follow the steps ..
Click to expand...
Click to collapse
Thanks for all the suggestions! I was surprised so many people responded on such a forgotten tablet.
I did enter the two commands in the shell (copied and pasted the exact commands) at the appropriate times, and they appeared to work.
I wasn't able to do the ADB setup exactly per the link on the OP, because my computer already recognizes the VTAB1008 under debugging mode, and runs ADB. If I try to uninstall and manually install the generic driver from the Skinny Root zip, it re-discovers and says the current driver is 'more current'. However, since 'adb devices' recognizes the vtab, and all the commands appear to be working, I should be good to go with ADB, right? Or is the generic driver from the Skinny Root zip file a critical component?
I also uninstalled Java SDK for x86 and re-installed for 64 just in case, but that didn't fix it.
Also tried disabling antivirus, no luck...
Is there a basic way to check whether java is working correctly? Or to read the java output as it is running the commands? Maybe something would show up there.
Thanks again
Do u see superuser app installed? If so, what does it output when you open it?
_________________________
tapatalked from GalaxyS3

Categories

Resources