ATTENTION!
This guide is outdated and I can no longer support it as I no longer own an HP Touchpad.
Disclaimer
This guide is intended for users who already have a Cyanogenmod firmware dual-booting with WebOS via Moboot. I, in no way shape or form, take any credit for this. I am simply posting this as a simple, step-by-step guide on how to triple boot (as there aren't any that I have found in this section). All credits go to their respective developers. I am in no way, shape, or form anything beyond an amateur developer who happens to be an advanced Linux and Android user. Also, I cannot be held liable for any issues you may encounter while or after following this guide.
Original Arch Linux port post can be found here: http://forum.xda-developers.com/showthread.php?t=1364034
Obvious Bugs and Things That Don't Work
-Wifi signal is a bit weak
-Camera
-Sound
-Microphone
-Bluetooth (apparently there's a fix for this floating around one of the Ubuntu threads)
-Compositing
-Multi-touch (no right click :/)
Prerequisites
-Cyanogenmod (Touchpad)
-Moboot (Touchpad)
-Novacom Driver (computer)
-Novaterm (computer)
-WebOS SDK (computer)
On Your Touchpad...
-Boot into WebOS
-Connect to your computer via USB (do NOT select USB Drive mode)
-At the home screen in the "Just Type..." search bar, type the following:
Code:
webos20090606
-You will see "Developer Mode" in the search results, open it and turn the toggle in the right hand corner of the card on
-Now stop touching it and get onto your computer
On Your Computer...
-Open Novaterm (if you are running a Linux distribution, this can simply be done in a terminal by becoming root and executing the command "novaterm"
-Now let's make some terminal love!
Mount the boot directory as readable/writable:
Code:
mount -o rw,remount /boot
Change directories to the boot directory:
Code:
cd /boot
CURL!
Code:
curl -O http://archlinuxarm.org/mirror/touchpad/uImage.ArchLinuxARM
CURL AGAIN!
Code:
curl -O http://archlinuxarm.org/mirror/touchpad/moboot.splash.ArchLinuxARM.tga
Change directories to the temporary directory:
Code:
cd /tmp
Kill this process thing!
Code:
pkill -SIGUSR1 cryptofs
Unmount the internal media:
Code:
umount /media/internal
ECHO!
Code:
echo
Resize to make room for Arch (I suggest at least 3000M, but no more than 4000M)
Code:
resizefat /dev/store/media 3000M
Resize partition:
Code:
lvm.static lvresize -L -4096M /dev/store/media
Make a new partition:
Code:
lvm.static lvcreate -L 4096M -n arch-root store
EXT3!
Code:
mkfs.ext3 /dev/store/arch-root
Let's make a directory called "linux":
Code:
mkdir linux
Mount linux:
Code:
mount /dev/store/arch-root linux
Change directories to linux!
Code:
cd linux
CURL AGAIN!
Code:
curl -O http://archlinuxarm.org/mirror/touchpad/ArchLinuxARM-touchpad-2011.12-alpha2.tar.gz
Untar! (this will take a bit...)
Code:
tar xzf ArchLinuxARM-touchpad-2011.12-alpha2.tar.gz
Well... we don't need that tarball anymore, so...
Code:
rm ArchLinuxARM-touchpad-2011.12-alpha2.tar.gz
CHANGE DIRECTORY!!!!
Code:
cd ..
Unmount the linux directory:
Code:
umount linux
Reboot! (You may have to do this a few times, you may get errors... you may keep trying?!)
Code:
reboot
Love Thy Arch
That's it, you're done. I advise opening a terminal once you're booted and updating the system with the "pacman -Syu" command (it definitely improves touch screen a bunch).
???
Profit
nice, might try this real soon when I get a chance, thanks
worked like a CHARM took forever to download and untar but its PERFECT thanks bro
Might give this a shot this weekend.
Sent from my myTouch_4G_Slide using Tapatalk
i'm getting a curl error 6 that it cant resolve dns archlinuxarm.org
i can goto the site in a browser and nslookup works in another terminal...
does my tablet need to be on wifi for this?
edit: it sure does.
In what way would this guide change to install ubuntu instead.? Thsnks
Sent from my XT910 using XDA App
djgavb said:
In what way would this guide change to install ubuntu instead.? Thsnks
Sent from my XT910 using XDA App
Click to expand...
Click to collapse
I want to know too.
added archlinux to my previous dual booting touchpad yesterday and i can no longer write to my external storage now!
I boot into webos and connect via usb I can still see my files but can't write
and CM9 can't see the partition at all....please help!
If i have to delete them, it's okay, but i just want it to work again in android. thanks in advance
getting this error on the very first CURL curl: (23) Failed writing body (714 != 4880)
i encountered MANY MANY issues trying to install this with my previous install of CM9...
had CWM, WebOS, CM9. still failed on many attempts to install from nova.
its best practice to doctor, install cm9, THEN follow these steps, will install perfectly! using right now
only issue im having is pacman command wont run, even with sudo, continuing to troubleshoot
edit** hmmm...after first reboot, arch refuses to load, and my CM9 wont display "sd" card to check uImage.archlinuxarm for commands/paths, same djxstream. WebOS internalz wont install either to view on touchpad :/
got it to work. i didnt have some dependencies installed. How do you bring up the keyboard to type in the terminal?
edit: ok found it.
---------- Post added at 04:03 AM ---------- Previous post was at 03:50 AM ----------
Solidus_n313 said:
i encountered MANY MANY issues trying to install this with my previous install of CM9...
had CWM, WebOS, CM9. still failed on many attempts to install from nova.
its best practice to doctor, install cm9, THEN follow these steps, will install perfectly! using right now
only issue im having is pacman command wont run, even with sudo, continuing to troubleshoot
edit** hmmm...after first reboot, arch refuses to load, and my CM9 wont display "sd" card to check uImage.archlinuxarm for commands/paths, same djxstream. WebOS internalz wont install either to view on touchpad :/
Click to expand...
Click to collapse
did you make sure u were connected to the internet? it worked for me with sudo
zcrugby said:
got it to work. i didnt have some dependencies installed. How do you bring up the keyboard to type in the terminal?
edit: ok found it.
---------- Post added at 04:03 AM ---------- Previous post was at 03:50 AM ----------
did you make sure u were connected to the internet? it worked for me with sudo
Click to expand...
Click to collapse
yeah, got it running after setting up wifi, took like 2 min after posting that, but arch still isnt loading :/
zcrugby said:
got it to work. i didnt have some dependencies installed. How do you bring up the keyboard to type in the terminal?
edit: ok found it.
Click to expand...
Click to collapse
mate, it really helps others if instead you say:
"ok found it, and in case someone needs it, it was like this..."
agree? ;-)
thx
k, got it going, had to start from SCRATCH. wiped partitions, rebuild, doctor to 3.0.0, installed CM9 then arch-linux.
runs great! just working on getting BT running (post 254):
http://forum.xda-developers.com/showthread.php?t=1304475&page=26
I installed XServer and XTerm and Ubuntu Chroot, then got LXDE on there. It runs fine, but I used WebOS Doctor to make a 4GB EXT partition by editing a text file in Linux. I followed a tutorial to do this awhile back. Now I want to tri-boot the actual 0.0.4 Ubuntu, CM9, and WebOS. 1. Is this even possible? 2. Will the 4GB EXT interfere with anything and what do I have to do to that partition?
---
works just fine the instruction a perfect thanks
did try to install applications but no go anyone get firefox or chrome installed ?
unistall arch just in case arch sh
http://dl.dropbox.com/u/68908006/ArchUninstall.sh
anyone want to give it a go see if it works for you
anyone having problems with install can try this and then rerun the install instructions lol just saying hope this helps other people it worked for me but do it at your own risk
i just mod it from other distro unistall sh
run this from webos in terminal
cd /media/internal
cp ArchUninstall.sh /tmp
cd /tmp
sh ArchUninstall.sh
For anyone having issues with installing apparently, run "pacman -Syu". If it doesn't work, please post your output here.
Sent from my htc_shooter using XDA
Bluetooth/Wifi
Solidus_n313 said:
k, got it going, had to start from SCRATCH. wiped partitions, rebuild, doctor to 3.0.0, installed CM9 then arch-linux.
runs great! just working on getting BT running (post 254):
http://forum.xda-developers.com/showthread.php?t=1304475&page=26
Click to expand...
Click to collapse
Anyone tried this?:
sudo depmod -a
sudo gedit /etc/modules
sudo update-rc.d bcattach_srv defaults
sudo reboot
That is the fix for the UBU install, just checking to see if this works on a TP with Arch already installed. I just havent gotten around to installing this yet but want all my ducks in a row for when I do. Thanks.
This may even help the already working WIFI.
edit: After the second command, a text editor should open up. Add "ath6kl" without the quotes to the bottom of the file, push save, close the editor, and go on the the next commands. If the touchscreen stops responding, hold power and home until the device turns off and boot back into Ubuntu and try again. It's a known bug. The last command should reboot the device again. Boot back into Ubuntu and you should have working wifi and bluetooth.
ORIG post :http://code.google.com/p/hp-touchpad-ubuntu/wiki/Installation <===THANKS!!!
Hello Everyone, I am working on building my own ROM from the Cyanogen Mod Source code. First I Set up my environment in VMWare Workstation 9. I set up Linux Mint Mate AMD64, then I added the Java repository, and installed all the needed build tools following the guides I found here (Thanks)
once I had my environment I set up repo:
in a terminal as root user#
Code:
mkdir -p ~/bin
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~/bin/repo
chmod a+x ~/bin/repo
then added ~/bin to my path
Code:
export PATH=${PATH}:~/bin
next I added a directory for the source files
Code:
mkdir -p ~/A500-CM10.2-Source
Now I initialized repo.
Code:
repo init -u git://github.com/PlayOSS-Dev/android.git -b cm-10.2
then downloaded the source.
Code:
repo sync
Once the source tree was finished synchronizing I grabbed the prebuilt apps
Code:
cd vendor/cm
./get-prebuilts
cd ../..
then I tried to set up my device specific code:
Code:
. build/envsetup.sh
Now is where my questions and issues start. I expected something like android_device_acer_a500, or acer_a500/vendorsetup.sh
or something like that, I am not 100% sure, I am sort of a noobie to this, but I do have some know how with linux, and general coding, etc...
any how the reason I used the PlayOSS git source instead of CyanogenMod when I initialized repo was so I would get device specific files for my a500. I entered
Code:
repo init -u git://github.com/PlayOSS-Dev/android.git -b cm-10.2
instead of
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
However, when I ran
Code:
breakfast acer_a500
I get the error device not found in manifest..... I set everything up very carefully and followed the guides very closely, I did end up using LinuxMint 15 for amd64 instead of ubuntu 13.04, and found that to work very well, I tried out the ubuntu and it did not run as well in VMWare, but LinuxMint works great and I havent got any errors, all the build tools installed, and Java, etc...
Any way to get to the point, where am I going wrong? I think I have the right source, what should I do? I would truly appreciate any help you have fore me. I would really like to compile and build my own Unoficial CM10.2 ROM for my A500. If you need any of the information from me please let me know. I have currently suspended my VM so everything is exactly where I left off right when I got the error about not finding any reference to the A500 in the repo manifest.
And again thanks to all who have helped and contributed so much for us on this site. I have learned a lot here and I am really enjoying all the testing and development I am experiencing in android I am also working on trying to get a usb x86 android 4.3 os going, hehehe I have it up and running, but it is slow and buggy so far, I havent ran the root script yet, but I will prb do that later, Right now I need to figure out how to get my source to compile for the A500.
So I will do some more hunting and I look forward to hearing from someone that can help me on this project.
Thank you
- Kaiji
OK I think I see what I forgot, lol....
I just need to figure out the locations for the source repos of my device, and then I believe it goes something like this:
Code:
git clone git://github.com/PlayOSS/android_device_acer_a500.git -b cm10.2 device/acer/a500
git clone git://github.com/PlayOSS/vendor_acer_a500.git -b jellybean4.3 vendor/acer/a500
git clone git://github.com/PlayOSS/kernel_acer_a500.git -b jellybean4.3 kernel/acer/a500
And then I can run
Code:
. build/envsetup.sh
And after that I believe there is a shell script to extract device specific files from my tab, then breakfast, lunch, and brunch
Unoficial-A500_CM10.2-JB4.3 Development ROM to tweak, and of course I still have to work on building a custom tweaked Kernel too
But any how I think its bedtime for me for tonite, I think I am closer and I do think I got the answers I needed for now, and 2morow I will start compiling....
Happy testing, and I still would like to get some input from anyone who has some experience building ROMS, and especially if you have built one for my device
Thanks again, and good nite, see you tomorrow.
- Kaiji
hey guys,
trying to compile PA for jflteatt and running into the following errors: here's a pastebin of my entire terminal output.
if anyone knows what's going on with this ...
PLEASE give me a point in the right direction here..
i've tried replacing all device specific repos with CyanogenMod ones and Ayysir's ones, and i'm still running into build errors..
this build was started after doing a make clobber, sudo rm -rf out, and a repo sync.. i have not touched the manifest.xml or roomservice.xml (except to change the ParanoidAndroid/android_devices_samsung_jflteatt to Ayysir/android_devices_samsung_jflteatt) so it actually gets the device files.
Here's a pastebin of my entire terminal output after ./rom-build.sh jflteatt
http://pastebin.com/QKQtW06b
HI,
This is the first time I am building android from source. I have been following the cyanogen wiki guide and all appears to have gone well until I got to running extract-files.sh. It starts off ok but then gives me what is shown in the screen shot below. I have tried running it with sudo but it makes no difference.
Hi,
Im guessing your ran some initialisation of environment with root as permissions...
try doing a
Code:
sudo su
cd sourcedir/device/vendor/devicename/
./extract-files.sh
It should work. If you're extracting from a folder
Code:
./extract-files.sh path_to_folder
If it still doesnt work delete all the folders in the sourcedir except ".repo". then,
Code:
repo sync
or
repo sync -l #Syncs from local directory doesnt use internet