[GUIDE] How to get Ubuntu on the TouchPad - Other TouchPad Development

First off this is completely from Rennat over at PreCentral
-------------------------------------------------------------------------------------
TUTORIAL: How to get the UbuntuChroot up and running for your HP TouchPad
Intro:
UbuntuChroot is the raw Ubuntu terminal without the familiar GNOME graphical interface that all have come to think of Ubuntu. With this installed, you will be able to install ubuntu programs and launch them with in the terminal card.
To do this, the basic rundown will be making a new WebOS Doctor that has a separete partition of memory for Ubuntu to run with in. Then we will install it on your TouchPad and mount that partition so it will be able to be used after a reboot of the device. Lastly, we will install Xecutah, XServer, and UbuntuChroot from Preware and boot up Ubuntu on your TouchPad.
Both credit and Props go to WebOS Internals for making this possible and putting in all the hard work they have to make it as easy as it is.
Warnings:
I nor WebOS Internals take no responsibility over what may happen to your device. If you follow these instructions it 'should' work perfectly. If you do endup messing something up you 'should' be able to just doctor the device using the stock WebOS Doctor from HP.
Step Zero:
- I have provided 2 different ways to set your device up to install the UbuntuChroot onto your device; use the meta-doctor and create your own doctor (Step 1-A) or do as Step 1-B says and contact my army of monkeys for an easier alternitive that won't take forever.
##You my want to backup app data and the like using Save/Restore in Preware as you will lose all your data buy installing a WebOS Doctor. Please do so! And done hesitate to ask questions.
Step 1-A: Creating a WebOS Doctor
- We will be using the Meta Doctor to create a special WebOS Doctor that will create a 2GB (or more if you wish to do so) partition in /media/ext3fs/ were Ubuntu will be.
- Use the WebOS Internals Guide to installing and running the Meta Doctor. In Step 2 you will have to rename you downloaded webOS doctor to the name of the Bell Mobility doctor they have under Step 2'3 (webosdoctorp100ewwbellmo.jar) go ahead and add the webOS version after it like it advises.
- In Step 2'6, if you are using a Wifi Only TouchPad you will be using the last one which has touchpad for device and WiFi all for the carrier.
- Once the Meta Doctor is done, run the Web's Doctor it created under the 'builds' folder. And setup your device.
Step 1-B: Contacting My Army of Monkeys
- If you are having trouble with or are intimidated by Step 1-A go ahead and contact my army of monkeys at [email protected]. Simple.
Step 2: Mounting the new ext3fc partition on bootup
- Now before we continue we have to make sure we have the partition fully setup and mounted on bootup. To do this follow the below WebOS Internals instructions.
All of this is done on device either via novaterm or an SSH login. (simpler terms mean use WebOS Quick install by connecting you device, opening WebOSQuickInstall, and click Tools-Command Line.) If your device does NOT have a folder at /media/ext3fs then you will need to create it first. Use the following two commands:
Code:
mount -o remount,rw /
mkdir -p /media/ext3fs
it is important that you use /media/ext3fs as the location, otherwise some homebrew applications (such as Optware and the Ubuntu 11.04 Chroot) will not be able to find it and use it properly.
After you have created the mountpoint, we are going to edit the fstab file to set it up to mount at bootup.
Code:
mount -o remount,rw /
echo "/dev/mapper/store-ext3fs /media/ext3fs ext3 noatime,data=writeback 0 0" >> /etc/fstab
Now to get it mounted you have several options, the best one is the first command as it will use the data in /etc/fstab. If that works, then you have done this correctly and your ext3fs will mount at bootup.
Code:
mount -a
If you do not want it mounted at bootup, but you do need it mounted, you can use this command.
Code:
mount /dev/mapper/store-ext3fs /media/ext3fs
Click to expand...
Click to collapse
Step 3: Adding Testing Feeds
- Follow these WebOS Internals Instructions to add the Testing Feeds.
NOTE: These are edited slightly and will only work on a Wifi only TouchPad.
- Open Preware and wait for it to finish loading.
- Open the App Menu (tap "Preware" in the top left corner of the screen) and tap Manage feeds.
- Scroll to the bottom until you see the New Feed box.
- Type or paste a name (webos-testing-armv7) and URL (Right Click - Copy Address) sure the URL does *not* have a slash at the end.
- Make sure the IS COMPRESSED option is set to YES.
- Tap Add Feed and then tap Yes when the alert pops up.
- Gesture swipe back. Preware will alert you that you have added feeds and ask if you want to update them now. Choose YES.
Click to expand...
Click to collapse
Step 4: Installing UbuntuChroot, Xecutah, and XServer
- Open up Preware and tap List Of Everything.
- Search for and install the following: UbuntuChroot, Xecutah, and XServer
- Now opened Xecutah and tap XServer and a new card will come up.
- Go back to Xecutah and tap UbuntuChroot. Then swipe back to the new card that came up.
- Now you should have the Ubuntu terminal. Done. It should have a few 'mount' commands and then the @Touchpad:
Step 5: Installing Programs
- Now to have some fun after all that work you put in!
- Type the below and it will update the program lists.
Code:
apt-get update
- Now type the following to install what ever you wish!
Code:
/***type the below for AbiWord
apt-get install abiword
/***type the below for the Chromium Browser
apt-get install chromium-browser
/***type the below for GIMP
apt-get install gimp
/***type the below for Eclipse
apt-get install eclipse
/**type the below for LibreOffice
apt-get install LibreOffice
/***type the below for LXDE (a windows graphical interface) and then launch it by typing lxsession.
apt-get install lxde
---------------------------------------------------------------------------------------
agian from precentral enjoy guys
Mods please move to there thread i was in a rush (dead battery) and put it in the wrong forum

Does anything else besides chromium, abiword, eclipse, libreoffice, lxde and gimp work?

linkinpark4175 said:
Does anything else besides chromium, abiword, eclipse, libreoffice, lxde and gimp work?
Click to expand...
Click to collapse
anything you can compile for ARM or want to compile for ARM. there is a apt repository.

You could also find a complete guide to install Ubuntu Linux on HP TouchPad here

same thing
XDAnoobr said:
You could also find a complete guide to install Ubuntu Linux on HP TouchPad here
Click to expand...
Click to collapse
agian that is only for Chroot which is the exact same thing

Works great, now I have lxde on my touchpad.

able to get ubuntu chroot working properly, with libreoffice
now, hunting for a Bluetooth Keyboard
any one going to test if BT Mouses work? (yeah, i know theres a touchscreen)

Is multi-touch supported on this?

what version of libreoffice does it install the latest one? And if anyone has installed it the ubuntu laggy or is it normal.

harsh3090416 said:
what version of libreoffice does it install the latest one? And if anyone has installed it the ubuntu laggy or is it normal.
Click to expand...
Click to collapse
a little laggy sometimes, but still usable most of the time without any problems
libreoffice 3.3.2... you should probably check the ubuntu ARM 11.04 repository to see what is there
top says 1gb ram, 0.90gb used.... not sure why......
EDIT: Tried pairing a BT Mouse... able to find the device via "BT->Search other", but unable to pair properly. Mouse said paired successful, but touchpad couldnt continue, kept searching for devices
Tried "BT->Search Keyboard", but couldnt find the mouse this way

Now they have Debian chroot. Works great as well. Both can coexist at once. All it is is a folder at /media/extfs
Btw, has anyone gotten gnome working? I keep getting segmentation faults.

Is there a way to make that partition without meta doctor?

DJGonzo said:
Is there a way to make that partition without meta doctor?
Click to expand...
Click to collapse
metadoctor makes a partition
you could loop a filesystem ontop of the existing partition to avoid this issue, but the page below recommends against it
http://www.webos-internals.org/wiki/Chrooting

mount: mounting /dev/mapper/store-ext3fs on /media/ext3fs failed: No such file o
r directory
Why am i getting this error when trying to mount? It's really ticking me off as I haven't done anything different from the instructions.
I just spent an hour redoing the whole thing and guess what... i'm pissed off
same ****

samvillian said:
mount: mounting /dev/mapper/store-ext3fs on /media/ext3fs failed: No such file o
r directory
Why am i getting this error when trying to mount? It's really ticking me off as I haven't done anything different from the instructions.
I just spent an hour redoing the whole thing and guess what... i'm pissed off
same ****
Click to expand...
Click to collapse
looks like you didn't do metadoctor properly,
or you didn't make the /media/ext3fs directory,
or "mount -o remount,rw" didn't execute properly
1st problem: your touchpad should have around 10GB free(out of 16GB, or do the math if you have a 32/64gb)
2nd problem: go back to cmd prompt and check that /media/ext3fs exists
3rd problem: reinstall via webos doctor and do it again

kevina90 said:
Now they have Debian chroot. Works great as well. Both can coexist at once. All it is is a folder at /media/extfs
Btw, has anyone gotten gnome working? I keep getting segmentation faults.
Click to expand...
Click to collapse
Sorry, this is off topic. I'm sure Android will get here, but I really want to use my Touchpad (I haven't done much because I figured everything would get wiped anyway this weekend), so I think I'm going to give Linux a go. My understanding of Linux is rather crap. I thought Linux was the OS, and Ubuntu and other things were just GUIs to make it easier for people unfamiliar with command line. How could Debian simultaneously coexist?
I know I could go to wikipedia and look around and try to understand it, but by chance does anyone know any website that kinda describes Linux to beginners? I don't just want to follow the directions step by step on the guide (although its brilliant, looks very easy)without having the slightest effin idea what everything is, you know? Its weird, Linux confuses me, I don't know why. I've used ubuntu a number of times but it's just browsing firefox, not exactly rocket science!
Thanks if you can easily give link and press send then thanks but don't go out of your way, I can find something eventually, but I don't want someone else mucking around for my sake. Its no emergency.

Komodo Rogue said:
Sorry, this is off topic. I'm sure Android will get here, but I really want to use my Touchpad (I haven't done much because I figured everything would get wiped anyway this weekend), so I think I'm going to give Linux a go. My understanding of Linux is rather crap. I thought Linux was the OS, and Ubuntu and other things were just GUIs to make it easier for people unfamiliar with command line. How could Debian simultaneously coexist?
I know I could go to wikipedia and look around and try to understand it, but by chance does anyone know any website that kinda describes Linux to beginners? I don't just want to follow the directions step by step on the guide (although its brilliant, looks very easy)without having the slightest effin idea what everything is, you know? Its weird, Linux confuses me, I don't know why. I've used ubuntu a number of times but it's just browsing firefox, not exactly rocket science!
Thanks if you can easily give link and press send then thanks but don't go out of your way, I can find something eventually, but I don't want someone else mucking around for my sake. Its no emergency.
Click to expand...
Click to collapse
I would just find a book on amazon about linux with good reviews made in the past 1-2 years. I would look for one that is distribution neutral.
The reason you can have webos on there and another version of linux is because it's basically installed in another partition (not really, but that's the easiest way I can describe it to you). The actual details of how chroot works are different, but that should relate enough to you to get what it it is.

Linux is the Kernel. Debian, Ubuntu, Fedora and the rest are distributions of that kernel along with a GUI, and programs to make it a fully functional OS like Windows or OS X.
The Debian and Ubuntu on WebOS is minimal pared down distribution with no gui.

I just went thru all the steps , contacting the army of monkeys, and installed all the preware stuff.
I get Service Error Unable to run command : /sbin/initctl start org.webinternals.debian-squeeze etc etc
Unknown job org.webosinternals.debian-squeeze-chroot.
I got this with the Ubuntu chroot too. any ideas?

paperWastage said:
looks like you didn't do metadoctor properly,
or you didn't make the /media/ext3fs directory,
or "mount -o remount,rw" didn't execute properly
1st problem: your touchpad should have around 10GB free(out of 16GB, or do the math if you have a 32/64gb)
2nd problem: go back to cmd prompt and check that /media/ext3fs exists
3rd problem: reinstall via webos doctor and do it again
Click to expand...
Click to collapse
I've redone webos doctor like 4 times already.
How do I check if the directory exists? Plus i'm on a fresh 32gb, so its not that.
thanks
edit: i tested to see if the directories existed and i found a possible error.
i just cd to the folder to see if it exists, and media/ext3fs existed.
but the /dev/mapper/store-ext3fs doesn't exist apparently...
would that be the issue?

Related

Webtop2sd

http://forum.xda-developers.com/showthread.php?t=1119555
Logically speaking, this application should also work with the Bionic correct?
Just wondering, if its deemed safe in this thread to attempt using, I will try it and post back with results.
---------- Post added at 12:30 AM ---------- Previous post was at 12:08 AM ----------
Okay, so I just backed up everything and tried the app, which won't work due to the fact that it checks the phone model number, Theres a manual guide to get ubuntu running on the atrix, and I'm going to start from scratch there. Probably going to be a couple of days before I do anything since I need a new microhdmi...
I tried the app that comes with it to partition the sdcard but it does a device check then it stops with an error message that the device is not an Olympus (Atrix). Maybe we can get the dev to check on the differences, albeit small, for the Atrix and the Bionic.
Worth a shot. I've been playing around with /osh for a few days but had to reflash to stock due to the lapdock staying on the screensaver.
Hey guys, I am working on the same thing at the moment trying to port over Sogarth's method of unlocking the 10.10 maverick build of Ubuntu on our phones.
http://forum.xda-developers.com/showthread.php?t=1000316
The link here is for his old automated .bat script he made for the Atrix that I believe will work for our phones with a little modification to it to reflect Maverick packages instead of the Jaunty packages for their phones.
Please jump into the irc in my sig because I would like to get this going as well.
I would hop in IRC but I'm about to head out the door.
I'm currently approaching this situation from two directions:
1.) I'm dumping /osh/ (webtop partition) and uploading it to dropbox as soon as I can get a complete dump. (hopefully tonight) and providing it to the original Atrix dev to see if he can hook us up with an app to help do whats needed
2.) I'm also attempting the manual method as soon as I get a new microHDMI cable (I was using a cheap adapter).
You are 100% correct though, you should be able to get that install script working just by changing the packages to reflect the updated Ubuntu. MAKE SURE you backup ANY files before you change them (and preferably a complete backup of /osh/. Since we have SU on our phones we have free reign over the /osh partition, so be careful in there.
OT: I can't wait until we can get on-demand CPU overclocking for this thing... if it clocks as well as past mobile chips... Toggle 1.2-1.4ghz and plug it in the LapDock. You'd have a damned fine netbook...
(Not necessarily talking to any experienced users or noobs, the disclaimer about Linux & SU is for everyone reading this thread - I'm relatively experienced in the Linux world... and I need to be reminded of SU's power sometimes.)
I just realized that their phone's Ubuntu distribution is under the 9.x series versus the 10.x series. A lot of Major changes happened to Ubuntu between 9.x and 10.x that affected the way the operating system talked to devices and booted, they stopped using HAL and moved to a new boot method, I am uncertain whether or not the install script will work or not, though I'm somewhat confident it will, given the nature of webtop (Android does the hardware abstraction, and the booting, we just run a second set of executable's on a different X window session attached to a different display) This should mean that the portions that would normally prevent us from just duplicated the script are omitted from the Ubuntu distribution entirely. As long as we keep a backup we should still be fine.
No worries, just remember to keep FXZ and RSD handy. I've screwed up the /osh partition a couple times but that has saved me from complete disaster so far
Good call on bringing this up. Let me know if you need to test anything for this.
@xaero252
So I modified Sogarth's script to use Maverick build of all the tools it downloads and installs but the problem with the script is that it needs the phone to have the ro.secure=0 so that ADB always launches with root access without manually initiating su each line of code. I am not sure if there is a way around it or if we have to modify the script differently. Anywho, I've upload a copy of the work I've done to the script.
Is it just an sh script? If so and ut doesn't reboot the phone at all you could launch a SU terminal and do "su sh script.sh"
oh i see the issue now... we would have to be able to edit the boot loader for that method... if i'm correct though his android app doesnt use the pc for much... if you change that variable on boot do you think it woukd work?
Hmm, I have an idea, its not as polished as the pc based script, however it should still work presuming you can get a SU terminal to run on the phone ( I happen to have one running right now ) I'm going to see if I can't adapt that to a bash script. probably going to take a while.
Curiously we happen to have a 1.5gb partition for Ubuntu on built in memory, where as the atrix only had a 600 or so mb partition... This is great because we should likely be able to continue to install /, /boot and such to internal memory, and use the sd card (even left as ntfs) for /home...
Couple of things: reading through the script it looks like 100% of the commands he runs could be run on the phone via a bash script run as su. The idea is this: convert the entire script over to bash, copy the script, and the required files to the phone, and execute the script from the phone. The only other concern I can see is the wget package included with the script not being compatible with maverick, which doesn't seem likely.
I'm gonna start working on rewriting the script linux native. My idea is to use a terminal emulator (they are free on the market) and run su script.sh and pray. I need to get a new microHDMI before I do this though, so I can test my results reliably.
xaero252 said:
Is it just an sh script? If so and ut doesn't reboot the phone at all you could launch a SU terminal and do "su sh script.sh"
oh i see the issue now... we would have to be able to edit the boot loader for that method... if i'm correct though his android app doesnt use the pc for much... if you change that variable on boot do you think it woukd work?
Click to expand...
Click to collapse
As far as correcting that, no one has attempted doing custom kernels yet so to do the edit to get root access out of the gate is moot at this point.
Hmm, I have an idea, its not as polished as the pc based script, however it should still work presuming you can get a SU terminal to run on the phone ( I happen to have one running right now ) I'm going to see if I can't adapt that to a bash script. probably going to take a while.
Click to expand...
Click to collapse
Your linux skills are probably 10 folds better than mine but I believe if you convert my modified script, which has all the necessary links to the correct packages for our phone, then it might just work.
Curiously we happen to have a 1.5gb partition for Ubuntu on built in memory, where as the atrix only had a 600 or so mb partition... This is great because we should likely be able to continue to install /, /boot and such to internal memory, and use the sd card (even left as ntfs) for /home...
Couple of things: reading through the script it looks like 100% of the commands he runs could be run on the phone via a bash script run as su. The idea is this: convert the entire script over to bash, copy the script, and the required files to the phone, and execute the script from the phone. The only other concern I can see is the wget package included with the script not being compatible with maverick, which doesn't seem likely.
Click to expand...
Click to collapse
The WGET I packaged in the .zip is the correct for Maverick along with all the files in the \bin directory are corrected to match our phone. If you can convert all this to a bash script, that would be awesome instead having to do each command via ADB Shell. The only problem I had with this is every time I tried to run the DPKG command on the .deb I downloaded manually, it threw up an error saying it could not find the file or destination.
On a side note, you are correct that we have 1.5gb partition opposed to their 700mb so we could honestly forget the part about creating a ubuntu.disk on the /data partition and modify the /osh directly for now until the time we need more space. After that, we can see if Sogarth will incorporate your script into his Webtop2sd app or we could make a 3gb ubuntu.disk on the /data partition since we have plenty of space there.
I'm gonna start working on rewriting the script linux native. My idea is to use a terminal emulator (they are free on the market) and run su script.sh and pray. I need to get a new microHDMI before I do this though, so I can test my results reliably.
Click to expand...
Click to collapse
Make sure you get the adapter as well to trigger Webtop cause at the moment our phone wont do webtop directly over HDMI without the HD Dock, Webtop adapter or Laptop dock. If you want to test the script out for now, hit me with the script and I will test it for ya

[Q] Anybody up for porting Ubuntu?

Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.

How to switch from Ubuntu to Fedora 18

First of all, I need to acknowledge that I'm standing on the shoulders of giants, in composing this post. Mad props have to go to Rob Clark, for writing Freedreno and the Fedora installer I used. I also have to give credit to the people who made Ubuntu possible on the Touchpad (jshafer817, BodemM, castrwilliam, jcsullins, Calc1Programmer, Mystikal57, and lots of other people...I couldn't possibly post them all here, but that in no way diminishes my gratitude to them for all their hard work!)
Second of all, this is rough. Like "only shows kernel messages, good for nothing as it is" rough. I'm posting this to help spur on more work, so we can get things up and running faster.
Thirdly, you must have Ubuntu already installed to use this process, and it WILL destroy your Ubuntu install. I repeat, this WILL destroy your Ubuntu install. Only do this if you want to play with something that doesn't work right yet, and are willing to sacrifice something that does work to get it. You also need moboot 0.3.8 (which you already probably have if you have a working Ubuntu install).
Finally, no warranties. This will probably not work very well for you. I can't guarantee that bad things won't happen, and I will not be responsible if they do. I'm also LAUGHABLY FAR from being an expert, so look critically at these instructions before you go ahead, I can't guarantee I didn't miss anything. This is also probably not the most optimal method...the best method is probably what Rob posted in the readme, but that assumes you don't already have a Linux installed, which won't work so well for those of us with 16GB Touchpads.
Ok, having said all that, here's the good stuff.
Go to https://github.com/freedreno/touchpad-fedora and download the zip file.
Unzip it somewhere. There will be a bunch of scripts, a boot folder and a rootfs folder.
On your Touchpad, either in Android via a root terminal, or in WebOS with a root terminal, mount your /boot as read-write "sudo mount -o rw,remount /boot"
Go into the newly writable /boot, and delete uImage.Ubuntu (you'll need the free space...you can copy it to your computer or the SD Card if you want to reinstall it later). Copy uImage.Fedora to /boot. When you're done this, you should probably remount /boot as read-only "sudo mount -o ro,remount /boot"
Create a folder on your SD Card. Doesn't matter what you call it, but copy all the files from the rootfs folder there. There should be 11 of them, numbered 00 to 10.
Boot into WebOS, if you're not there already, and make sure you have WTerm installed and set up for root access.
Erase your Ubuntu partition, but don't destroy it. "mke2fs -F -T ext3 /dev/store/ubuntu-root" in WTerm. ***THIS IS DESTRUCTIVE***DANGER WILL ROBINSON***BE SURE BEFORE YOU DO THIS***
Make a temporary directory to mount your ubuntu partition on. "mkdir -p /tmp/linux"
Mount your newly formatted ubuntu partition. "mount /dev/store/ubuntu-root /tmp/linux"
CD into the folder you created that has the 00 through 10 files in it, and untar each one of them into /tmp/linux. The way I did this was to simply type "tar -C /tmp/linux -xvzf 00" and hit Tab. When it finished, I hit the up arrow, backspaced over the filename, then typed 01 and hit Tab, and so on for all eleven files.
When the files are all untarred, I typed "sync" (not sure why, it's in the script), and unmounted the temporary directory "umount /tmp/linux"
Last but not least, we have to rename the volume from ubuntu-root to fedora-root. "lvrename store ubuntu-root fedora-root"
That's it. You can close WTerm and reboot. When the moboot menu comes up, you'll see that Ubuntu is gone and Fedora is there, select it to boot. According to Rob's blog post, adb and rndis are working, so you can get access to a shell using adb, when it finishes booting.
Let me know how it works out for you, and please reply if you can improve my method (or if I screwed something up!).
I got rndis working...all I had to do was do it on my linux laptop, it didn't seem to work in Windows (surprise, surprise). With that running, I was able to get to yum via the adb shell. I yummed up gnome-shell, and it seemed to install OK, but I got an error when I tried to startx. It said there were no screens available, and it failed. I googled around a bit on that error, and it suggested I check into systemctl, where I noticed that "systemd-modules-load.service" had failed, and I saw module loading failure messages in dmesg, makes me think freedreno isn't loading right. I'll work on it some more after breakfast.
Turns out Rob forgot to add libdrm to the rootfs downloads. He added it last night to the git, and I've updated this guide to reflect that. Still doesn't boot to a GUI, but I'm closer than I was. startx throws an error about "no screens found", must need to be configured. I'll work on it later this evening and see what I can come up with.
Got it (sorta)! The libdrm version Rob supplied didn't quite match the Xorg version. A simple 'sudo yum update' and a reboot, and I have a GUI. Now to figure out how to add a user without a keyboard...
If this gets working I'm deff going to install. I'm dying for gnome 3 on a tablet.
Sent from my Nexus 7 using xda app-developers app
Head to your local Walmart (I think every town has one lol ) and buy the Bluetooth crapple keyboard....assuming it will work..but you might want to look it up...I just seen one there the other day.
Sent from my Galaxy Nexus using xda app-developers app
---------- Post added at 01:45 AM ---------- Previous post was at 01:41 AM ----------
OK quick search says yes it will pair...also if on the cheap..... http://dx.com/p/mini-bluetooth-keyboard-for-android-wince-nokia-symbian-s60-cellphones-black-37863 was successful under webos....so probably under android or Linux assuming your Bluetooth works.
Sent from my Galaxy Nexus using xda app-developers app
Great guide, can't wait to try this on my TP! It's been a while since I last messed around with it and this seems quite useful, as Gnome 3 is kinda optimized for touchscreens.
I was wondering though, does it matter which version of Ubuntu is installed or does it overwrite everything anyway?
https://github.com/freedreno/touchpad-fedora
Appears to have been a small update 4 days ago.
Sent from my Nexus 7 using xda app-developers app

[GUIDE]BackTrack 5 Chroot (Backtop2)

[Project dormant unless someone else picks it up]
NOTE: This is a chroot for the Webtop, not the Android+VNC chroot method.
Hi everyone, this is my first guide (I'm not sure I can call it that yet, or if this is in the right section) so bear with me.
I tried the Debian chroot guide (http://forum.xda-developers.com/showthread.php?t=1093790), and I really liked the idea, but I had too many apt-get issues and it often crashed my Webtop, so I tried building my own Ubuntu Lucid chroot using rootstock, but internet didn't work.
I later saw this: http://forum.xda-developers.com/showthread.php?t=1184161, but the links were dead and the scripts it referenced were out of date. I'll sort of combine the two guides here since Backtrack actually works surprisingly well.
Just on a side note though, I haven't fully tested the Backtrack tools, but the only thing I haven't found to work are the wireless tools.
Let's start!
Required:
-Rooted Atrix (with Blur based ROM)
-LXTerminal installed on Webtop
-Enough free space (around 4 GB just for room)
-7-Zip
-Some Linux/Unix distro native or in a VM
1. Install the easy-signed.zip from the Debian chroot guide:
http://forum.xda-developers.com/showthread.php?t=1093790
but the other files aren't needed.
Make a folder called WebTopMOD (case-sensitive) on either external or internal memory for later.
2. Look here for reference: http://forum.xda-developers.com/showthread.php?t=1184161, but the links are dead. Active links are here:
Part 1: http://www.mediafire.com/?x9cgxzdx84vc6uj
Part 2: http://www.mediafire.com/?xaoidipkg1o7vgo
Part 3: http://www.mediafire.com/?po3nznbxgvdipur
Use 7-Zip to uncompress the three files (called bt.7z.001,002,003) and you'll get a bt.img.
Full bt.img in a zip:
DL from Mega or from Google Drive
3. The image isn't usable in this state yet, since the image is formatted with ext2, and we need ext3.
Copy the image over to your Linux VM or computer on a easy-to-find directory, and open up a Terminal window (usually CTRL+ALT+T).
In Terminal, type this in:
Code:
cd <directory where you put bt.img>
mkdir tmp tmpbt
sudo mount -o loop bt.img tmpbt
dd if=/dev/zero of=linuxdisk count=0 bs=1MB seek=4096 (This is the size of the chroot image you want, in MB)
mkfs.ext3 linuxdisk (just type y when it asks)
sudo mount -o loop linuxdisk tmp
sudo cp -rf tmpbt/* tmp
sudo umount tmp
sudo umount tmpbt
[Sorry, made a mistake twice] Copy the newly made linuxdisk file to a directory named WebTopMOD on your internal memory or sdcard-ext (folder and file names are case-sensitive).
4. Start Webtop, then open LXTerminal, then start the chroot by typing in:
Code:
/usr/sbin/linux
and after it loads for a bit, you'll get an xterm window with the shell for Backtrack!
If you want to quit the Gnome session, closing xterm doesn't work, since by issuing the commands to kill the webtop processes, it also kills the webtop window manager, and if you do close it there's some kind of weird glitch with a small popup window constantly disappearing and reappearing. (It'll be a WIP for now I guess, the only full solution is to reboot your Atrix). It seems to have to do with the way the linux command mounts the chroot disk under loop50, I'll try and make something to fix this later.
-----------------Extras moved below-----------------------
Pictures:
Chromium Running
BT Desktop (Gnome)
BT Desktop with AIW
THANKS TO:
k.taylor89 for the original Backtop Method
SystemR89 for the Debian chroot and scripts to make this work
The original developers of the Backtop chroot image
And any others I may have forgotten!
Extras:
If you want a GUI (Gnome):
k.taylor89 said:
You first need to kill off all the webtop crap do this by typing the following in xterm.
"ps ax|grep awn|awk '{print $1}'|xargs kill"
"ps ax|grep panel|awk '{print $1}'|xargs kill"
Then start gnome by typing "gnome-session" in xterm.
Click to expand...
Click to collapse
If you want to take it step further and start Gnome after bootup, this isn't a full solution yet but you could edit your start-oshwt-1.sh and 2 scripts so that the chroot automatically starts on bootup without anything else in Webtop, and from there start gnome-session. I'm testing that now.
Installing Apps:
Since this is based off of Ubuntu Lucid, you can install anything from the Lucid repos, you just have to fix the sources list since the Backtrack sources don't seem to work.
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old (Backup just in case)
sudo nano -w /etc/apt/sources.list
Comment out (#) any line with the backtrack servers, and uncomment any line with the Ubuntu repos.
Press Control+X, Y, then Enter, then run apt-get update to update the repos.
Apps like Chromium install and run without a hassle (just run apt-get install chromium-browser), but I actually get the error "Bus error" for some reason when Chromium remains idle, it seems to be an unsolved bug in the version of Chromium for armel devices in the Lucid repos, if anyone else has a fix, please do tell.
First.
I think its only for lapdock ..........
3n3rg1c said:
First.
I think its only for lapdock ..........
Click to expand...
Click to collapse
Oh sorry yeah I forgot to mention that. I mean I guess if you have the mod that lets you use Webtop anywhere, that'll work too.
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
sintoo said:
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
Click to expand...
Click to collapse
Oh sorry I copied the link incorrectly, updated in OP.
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
etruj said:
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
Click to expand...
Click to collapse
I'm not sure if there is a way to start just gnome panel because of the way the chroot is implemented, since to run gnome-panel, an X session must already be running within the chroot and I need to figure that out.
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
etruj said:
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
The workaround I found worked so far was to modify the start-oshwt-2 script so that it would run a very slightly modified version of the script that automatically starts gnome-session (gnome-panel alone is really stubborn, still haven't figured that out) and doesn't start whatever window manager in WebTop to avoid flickering errors and panel only errors (but of course you don't have access to anything from the actual WebTop, but you could also have start-oshwt open a Terminal window from WebTop too).
Can you attach the script?
Sent from my MB860 using xda app-developers app
etruj said:
Can you attach the script?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
Just rename it to linux, and copy it to wherever you like on your Atrix. You can also copy it to a directory within your terminal path.
This isn't my script, it's from the Debian chroot, just modified to automatically start gnome-session (credit to SystemR89)
You might need to chmod +x the file.
Also, if you want to start it automatically from start-oshwt-2.sh, make sure you copy the file to a directory within the terminal path, and add the line
Code:
sfalv -i "linux"
and comment out any other line that starts a different X window manager.
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
etruj said:
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
Click to expand...
Click to collapse
Yes, in fact. It's a bus error, and I tried to fix it, but the fix doesn't work (and it only seems to affect Chromium).
Sorry for bumping such an old thread, but I was wondering if anyone wanted to take this project over, since I don't have an Atrix anymore and don't have anything to work with.
Thanks.

[Q&A] [TOOLS] Touchpad Toolbox

Q&A for [TOOLS] Touchpad Toolbox
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
I guess I am an idiot because I cannot seem to get 3 downloads that work.
the fat kid said:
i appreciate the quick response, so im throwing in the zip file that says " update-cwm-jcs>>>>>>>>>>>>" along with the "gapps-kk>>>>>>>"
and then unmounting media volume?
again, thank you,.
---------- Post added at 02:47 AM ---------- Previous post was at 02:41 AM ----------
edit: just tried all 3 of the recovery files in the op and it still says same error message. any ideas? should i be renaming this from update-cwm blah blah, to the format that it is saying is accepted such as,
It will recognize as a compatible KitKat/DataMedia ROM files that look like:
cm-11-*-tenderloin.zip or
ev_tenderloin-nightly-2014.??.??.zip or
aokp_tenderloin_kitkat_*.zip
again im throwing the gapps-kk-20140105.zip in the ttinstall folder along with the update-cwm-jcs-dm-tenderloin.zip file and then ejecting the tp selecgint unmount media volume and am still getting the error message.
---------- Post added at 03:22 AM ---------- Previous post was at 02:47 AM ----------
geez im a freakin moron.... i had incompatible zip files... sorry folks for the clutter
all other noobs like me WATCH THE VIDEO TWICE.
thanks again, all of you are awesome and hopefully this makes my touchpad relevant again.
Click to expand...
Click to collapse
Would you be so kind as to tell me the 3 downloads you used because I have tried and tried and no success.
Can the Touchpad Toolbox be updated to so that it will accept GAPPS named pa_gapps-*4.4.4-*.zip instead of pa_gapps-*-4.4.2-*.zip?
Either that or remove or allow to skip the requirement that GAPPS zip must be present to do the "Install Android" selection. I eventually worked around it rejecting by renaming the 4.4.4 to 4.4.2 but it will probably frusturate novice users.
tweak42 said:
Can the Touchpad Toolbox be updated to so that it will accept GAPPS named pa_gapps-*4.4.4-*.zip instead of pa_gapps-*-4.4.2-*.zip?
Either that or remove or allow to skip the requirement that GAPPS zip must be present to do the "Install Android" selection. I eventually worked around it rejecting by renaming the 4.4.4 to 4.4.2 but it will probably frusturate novice users.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=54986968&postcount=293
TPtoolbox boot menu volume rocker not work.
Hi, I ran the tptoolbox and boots in to menu, but the volume button up or down does work, neither does pressing home. But home and pwer button will reboot device. I tried many times no response from volume rocker in menu. Please help, thanks.
I have the 4G Hp Touchpad 1.5 ghz, dual core 32 gb.
Anyone know if the charging dock will still work following an android installation?
Also, I will search for compatible rom builds, but do themes work as well? (Not sure why they wouldn't, just checking)
sj
Sent from my gTab3 (SM-T210R) on NoleKat v1.4 using [email protected] HD Mobile Pro
sjsharksfan420 said:
Anyone know if the charging dock will still work following an android installation?
Also, I will search for compatible rom builds, but do themes work as well? (Not sure why they wouldn't, just checking)
sj
Sent from my gTab3 (SM-T210R) on NoleKat v1.4 using [email protected] HD Mobile Pro
Click to expand...
Click to collapse
Yes the Touchstone charging dock works on android...
TP Toolbox failed; I'm OS-less; please help
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
I still need help. HELP!
I still need help. Anybody? HELP!!!
vizspace said:
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
Click to expand...
Click to collapse
Have you tried to install it using jcsullins recommendation that you use the Linux way with Mac?
Kit Kat working
OK, like the chap above, I moved the wrong three files into the ttinstall folder. I figured that out. It's the way the thread was written, easy to get confused as they have links right below and say it's those, when in fact it is not (a gapps, recovery and rom need to be moved in there, not the data version of android as that link downloads). Anyway, I sorted it out. Just putting closure on that. Thanks JCSullins! Now we need a Mac version so I need not borrow a friends PC laptop.
vizspace said:
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
Click to expand...
Click to collapse
vizspace said:
--SNIP--
Now we need a Mac version so I need not borrow a friends PC laptop.
Click to expand...
Click to collapse
Have you tried running the script in terminal as jcsullins suggested?
C) Run the script provided with TPToolbox
Extract the contents of the TPToolbox zip file from above.
Navigate to the tptoolbox_v40 directory that was extracted from the zip.
On Windows, run the batch file named tptb_v40_win.bat
On Linux, run the script named tptb_v40_nix.sh
On Mac, try what I said for Linux and let me know what happens.
Click to expand...
Click to collapse
About the .sh file on a Mac; and, question about transferring files
shumash said:
Have you tried running the script in terminal as jcsullins suggested?
Click to expand...
Click to collapse
Hi Shumash, Thank you for writing and being interactive. Yes I did do as suggested and tried running the .sh (linux) file on my Mac. The file opened with TextWrangler and read:
#!/bin/sh
# This script is Copyright (c) 2014 James Sullins, All rights reserved.
# James (JC) Sullins, aka jcsullins
# No modifications or distribution without permission
TPTB=TPToolbox-2014-05-18-v40.bin
if [ \! -r ${TPTB} ];
then
echo "Cannot find Touchpad Toolbox binary file ${TPTB}"
exit 1
fi
echo "Checking novacom service ..."
novacom -l
rc=$?
if [ $rc -ne 0 ];
then
if [ $rc -eq 1 ];
then
echo "Cannot find novacomd service. Try rebooting or re-installing novacomd"
exit 2
elif [ $rc -eq 127 ];
then
echo "Unable to find novacom program. Try re-installing novacomd"
exit 4
else
echo "Unknown error rc=$rc checking for novacom service. (novacom -l)"
exit 3
fi
fi
echo "Loading TPToolbox ..."
novacom boot mem:// < ${TPTB}
rc=$?
if [ $rc -ne 0 ];
then
if [ $rc -eq 1 ];
then
echo "Cannot connect to Touchpad."
echo "Make sure Touchpad is connected with USB cable."
echo "Make sure Touchpad is in webOS Recovery (bootie) mode."
echo " (where big USB symbol shows on Touchpad screen)"
exit 5
else
echo "Unknown error rc=$rc loading TPToolbox (via novacom boot)."
exit 6
fi
fi
I did a quick search online and found that Macs don't handle the .sh command, rather the command is, believe it or not, .command.
More that that I'm a novice. So I can't say.
And that's when I went to borrow a friend's PC whereupon I double clicked the .win file, extracted it, then ran it in the ensuing window no problem.
--------------------
Now I'm glad someone is reading this thread. I have a question for you (or anyone). Now that I've TP Toolbox'd my HP Touchpad (and I did not select the option to install WebOS on it), how do I transfer files from my Mac (preferred method) to the HP Touchpad now?
I put it in recovery mode (the big USB sign) but it didn't show up on my Mac desktop. It was unrecognized in the Finder too.
So I went back to my friend on hands and knees and am now using TP Toolbox to put an updated file into the ttinstall folder. Is TP Toolbox now the only way to get files on and off my Touchpad? Say it ain't so (and walk me through the process if it ain't so).
There must be an easier way. What am I to do? Please help. Thanks.
vizspace said:
Hi Shumash, Thank you for writing and being interactive. Yes I did do as suggested and tried running the .sh (linux) file on my Mac. The file opened with TextWrangler and read:
--SNIP--
There must be an easier way. What am I to do? Please help. Thanks.
Click to expand...
Click to collapse
From a search on Google (I don't have a Mac):
First in terminal make the script executable by typing:
chmod a+x (yourscriptname)
Then in finder right-click your file and select "Open with" and then "Other...".
Here you select the application you want the file to execute into, in this case it would be Terminal. To be able to select terminal you need to switch from "Recommended Applications" to "All Applications".
NOTE that unless you don't want to associate all files with this extension to be run in terminal you should not have "Always Open With" checked.
After clicking OK you should be able to execute the script by simply double-clicking it.
Click to expand...
Click to collapse
file xfer and mac script
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
vizspace said:
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
Click to expand...
Click to collapse
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
vizspace said:
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
Click to expand...
Click to collapse
This link may be of use to you :
https://www.android.com/filetransfer/.
TP Toolbox on a Mac
This system will not allow me to post my questions. It claims I have a URL in my message (which I do not) and won't allow me to post.
Is there another way to contact you?
Another email? Forum? Etc.?
I saved my questions as I can not submit them here.
There's a problem with the XDA forum.
Mac TPToolbox and other juicy issues
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
Thanks. I followed your link (to google) and read many results. The easiest looking result, which almost worked was this:
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
it was the fourth result, entitled: "How to run a unix shell script from the Mac Finder"
I followed those instructions.
Terminal opened (launched from the Finder window using their noted technique) and here is what was displayed in Terminal: (please note: I exchanged my computer name from it's real name to ABC and XYZ (for this thread; not my real computer name).
Last login: Fri Oct 24 11:27:14 on ttys000
ABC:~ XYZ$ /Users/XYZ/Downloads/HP\ Touchpad\ Tools/tptoolbox_v40/tptb_v40_nix.command ; exit;
Cannot find Touchpad Toolbox binary file TPToolbox-2014-05-18-v40.bin
logout
[Process completed]
I do see the .bin file in the same folder, the TPToolbox folder, as tptb_v40_nix.sh (which, by the way, I duplicated and changed the extension from .sh to .command, prior to searching in Finder as outlined in above links' description).
So I don't know what to do.
I know a lot of things you likely do not know; but you clearly know more about computers than I. Please be patient and explain succinctly.
I tried your method, first replied from , with and without brackets, that didn't help.
--------------------------------------------------------------
Regarding Android File Transfer, and I thank the contributor below for chiming in with that advice, I've used that, but it only works sometimes. It is not reliable; and doesn't see ALL the files (as a WebOS USB connection to my Mac used to).
Is there some way to put the HP Touchpad into USB mode and connect it to my Mac (like I used to before on the HP WebOS side (when I had an HP WebOS side)? This may be argument enough to keep the WebOS side. (I can put it in USB mode on Android, but the Mac does not recognize the HP Touchpad at all doing it that way).
---------------------------------------------------------------
Another unrelated question: What ever happened to PreWare? I can't find it anywhere. I installed Jason Robitaille's WebOS QuickInstall 4.5.0 and ran it ok. But when one clicks on the globe, there's no Preware. When one clicks on the Search field , there are zero results (except themes). No Applications, Kernels, Patches, etc.. Nothing. So what ever happened to Preware?
Not having been able to find that, and with Palm no longer supporting WebOS at all after Jan 15, 2015, was the nail in the coffin for WebOS for me. If I can't find Preware and all the apps and tweaks that come along with it, the only reason I can see keeping any WebOS on this tablet at all is to be able to put it in to WebOS USB mode and easily connect it to my Mac.
-----------------------------------------------------------
Lastly, I'm running JCSullins build titled/dated: cm-11-20141002-SNAPSHOT-jcsullins-tenderloin.zip
How do I take a screenshot with this ROM? It used to be Power button and lower volume button, but that screenshot option is no longer available in this JCSullins build, nor in the previous build: cm-11-20140625-SNAPSHOT-jcsullins-tenderloin.zip
Any ideas how to take a screenshot?
---------- Post added at 02:59 PM ---------- Previous post was at 02:43 PM ----------
sstar said:
This link may be of use to you :
https://www.android.com/filetransfer/.
Click to expand...
Click to collapse
Regarding Android File Transfer, and I thank the contributor below for chiming in with that advice, I've used that, but it only works sometimes. It is not reliable; and doesn't see ALL the files (as a WebOS USB connection to my Mac used to).
Is there some way to put the HP Touchpad into USB mode and connect it to my Mac (like I used to before on the HP WebOS side (when I had an HP WebOS side)? This may be argument enough to keep the WebOS side. (I can put it in USB mode on Android, but the Mac does not recognize the HP Touchpad at all doing it that way).
---------------------------------------------------------------
Another unrelated question: What ever happened to PreWare? I can't find it anywhere. I installed Jason Robitaille's WebOS QuickInstall 4.5.0 and ran it ok. But when one clicks on the globe, there's no Preware. When one clicks on the Search field , there are zero results (except themes). No Applications, Kernels, Patches, etc.. Nothing. So what ever happened to Preware?
Not having been able to find that, and with Palm no longer supporting WebOS at all after Jan 15, 2015, was the nail in the coffin for WebOS for me. If I can't find Preware and all the apps and tweaks that come along with it, the only reason I can see keeping any WebOS on this tablet at all is to be able to put it in to WebOS USB mode and easily connect it to my Mac.
vizspace said:
--SNIP--
Last login: Fri Oct 24 11:27:14 on ttys000
ABC:~ XYZ$ /Users/XYZ/Downloads/HP\ Touchpad\ Tools/tptoolbox_v40/tptb_v40_nix.command ; exit;
Cannot find Touchpad Toolbox binary file TPToolbox-2014-05-18-v40.bin
logout
[Process completed]
I do see the .bin file in the same folder, the TPToolbox folder, as tptb_v40_nix.sh (which, by the way, I duplicated and changed the extension from .sh to .command, prior to searching in Finder as outlined in above links' description).
So I don't know what to do.
--SNIP--]
.
Click to expand...
Click to collapse
My guess is that executing the shell script by double-clicking starts it in the wrong directory. Open a terminal in the directory where you have the Toolbox files and execute it from the command line there.

Categories

Resources