[unofficial][linux3.4][native][tarchive][revised]ArchLinuxARM release for HP TouchPad

Search This thread

castrwilliam

Senior Member
Dec 15, 2011
212
340
Phoenix
ArchLinuxARM for the tenderloin (HP TouchPad) - Native Boot with moboot
This is only tested on the Wi-Fi version. With a kernel swap, it should work on the tenderloin3g (LTE) tablet, though mobile data is highly unlikely to work. I also don't know if there exists a 3.4 kernel for the tenderloin3g, and you'd have to cherrypick many, many commits.

THIS REQUIRES A DATAMEDIA ROM.

Working:
3D Acceleration (OpenGL ES 2.0, Mesa) - can be unstable, however.
Wi-Fi (with NetworkManager)
Bluetooth
Audio (requires manual intervention)

Installation
MultiROM must already be installed, and you must already have a hardboot-capable kernel installed as well.
You will need a Terminal Emulator or ADB Shell to install.

This assumes that arch_tenderloin_20141210_root.tar.gz and uImage.Arch are already in the root of your internal storage (/data/media/0).
Code:
su
mkdir /data/local/arch
tar -C /data/local/arch -xpzvf /data/media/0/arch_tenderloin_20141210_root.tar.gz
mount -o remount,rw /boot
cp /data/local/uImage.Arch /boot/
mount -o remount,ro /boot

Booting
Select "Arch" on the moboot menu.

Read Me
If you WIPE DATA, it will also WIPE OUT THIS PORT, any applications installed with it, and all data saved under /home/arch!

Logging in
  • The username is "arch" and the password is "archlinux". Change the password ASAP.
  • For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!
  • You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
  • Making audio work after boot requires you to open a terminal, run alsamixer, set speaker_stereo_rx up by one, and then set PCM Playback Sink Rear up by one. The headphones are controlled by the mixer channel named Headphone. The speakers are controlled by the mixer channel named Output.

Downloads
datamedia install tarchive: https://drive.google.com/file/d/0B4WUjKii92l2RFZ6T2ptSjZZVWM/view?usp=sharing
uImage kernel: https://drive.google.com/file/d/0B4WUjKii92l2ZFlOYlFETzZyeG8/view?usp=sharing

Kernel Source: https://github.com/willcast/kernel_tenderloin branch: desktop_3.4

Also available for:
HTC HD2: http://xdaforums.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483
Samsung Galaxy S III LTE: http://xdaforums.com/galaxy-note-2/devs-only/unofficial-port-archlinuxarm-release-t2969290
Nexus 7 2013: http://xdaforums.com/nexus-7-2013/general/unofficial-archlinuxarm-release-n7-2013-t2969301
Nexus 10: http://xdaforums.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450
 
Last edited:

Coffee Cactus

New member
Dec 30, 2013
2
0
Very nicely done!

I'm just wondering:
Why is the graphics so smooth in Android but not in X11?

Anyway, keep up the good work :good:
 

Shiggity

Senior Member
Jun 29, 2007
202
28
Frickin' SWEET! I was hoping someone would continue what the CrimsonRed dude started! I'm in process of trying this out! Will report back soon!
 

Shiggity

Senior Member
Jun 29, 2007
202
28
Okay so I want to try this out, but I need to clear out some space/partitions first. When running novacomd I get this:

shiggitay@VocaloidHaven ~ $ /usr/local/webos/usr/sbin/novacomd
[2014/12/30 7:56:47] nice(-4) returned an unexpected value: -1
[2014/12/30 7:56:47] failed to open gadgetfs ep0 node - retry
[2014/12/30 7:56:48] failed to open gadgetfs ep0 node - retry
[2014/12/30 7:56:49] failed to open gadgetfs ep0 node - retry
[2014/12/30 7:56:50] failed to open gadgetfs ep0 node - retry
[2014/12/30 7:56:51] failed to open gadgetfs 5 times - giving up on usb

Can anyone help me straighten that out? Also how hard would it be to get Funtoo Linux running in this fashion? The last time I tried I could only get it running under a chroot on a 15GB partition...
 

actzer

New member
Jan 19, 2015
1
0
hey, i exactly followed your steps, but it turned out to be emergency mode by default, i could do nothing without otg keyboard.
could you pls kindly help me out? bzw, i already have cm11 installed on my toouchpad.
MY BAD, the webos was uninstalled, now it's fixed, thanks a lot for this excellent work!!
 
Last edited:

blmvxer

Senior Member
Jan 13, 2012
1,480
607
I'm waiting for permission from the OP, but....

I'm working on setting up a weekly to bi montly rolling release with updated packages.
I won't be doing any kernel or driver work, but Just polishing up packages as well as including updates to my own themed Desktop Environment(Trying to make something more tablet friendly).
 
  • Like
Reactions: Shiggity

metal1f3

Senior Member
Dec 28, 2010
335
68
Arkansas
hey, i exactly followed your steps, but it turned out to be emergency mode by default, i could do nothing without otg keyboard.
could you pls kindly help me out? bzw, i already have cm11 installed on my toouchpad.
MY BAD, the webos was uninstalled, now it's fixed, thanks a lot for this excellent work!!

I'm having the same problem. So does webos need to be installed for this to work?
 

castrwilliam

Senior Member
Dec 15, 2011
212
340
Phoenix
Unfortunately, even though web OS isn't required for any functionality (back in the TP ubuntu days it was needed for audio), I stupidly left /dev/store/root (web OS root) in the /etc/fstab file for this build.

Next build will include optional portable VSXu player, several emulators, newer Mesa GL, and an audio patch. I'll archive it as soon as I can slim it down.

GNOME 3 even sorta works, but don't actually use it because there are unrendered black squares and it's quite slow on this device.
 

metal1f3

Senior Member
Dec 28, 2010
335
68
Arkansas
Unfortunately, even though web OS isn't required for any functionality (back in the TP ubuntu days it was needed for audio), I stupidly left /dev/store/root (web OS root) in the /etc/fstab file for this build.

Next build will include optional portable VSXu player, several emulators, newer Mesa GL, and an audio patch. I'll archive it as soon as I can slim it down.

GNOME 3 even sorta works, but don't actually use it because there are unrendered black squares and it's quite slow on this device.

Cant wait! My touchpad is awesome now. Arch ftw. :laugh:
 

preflex

Member
Apr 19, 2013
30
14
This is awesome! Thanks a lot, castrwilliam! Nearly everything is working well for me, even KDE!
Chromium has very good touch support. You can enable pinch-to-zoom in chrome://flags . Extemsions, such as uMatrix, work fine. Finally, a good web browser on HP touchpad!

However, I do have a couple small questions.

In KDE, when I enable compositing in kwin_gles using opengl, the colors are reversed (blue is displayed as orange). Is there any way to fix this? When using xrender, it's ok, but I have to disable lots of effects to get decent performance. HW acceleration would be nice.

In future images, could you please include touchegg-gce from AUR? It's really helpful, and I'd imagine that pretty much anyone using this without hw keyboard and mouse would find it useful.

Stupid newbie question (Sorry, I'm new to Arch Linux): Speaking of AUR, is there an easy way to automatically set arch to 'armv7l' in PKGBUILDs in yaourt? It's kind of a pain to edit them every time.
 
Last edited:

blmvxer

Senior Member
Jan 13, 2012
1,480
607
Unfortunately, even though web OS isn't required for any functionality (back in the TP ubuntu days it was needed for audio), I stupidly left /dev/store/root (web OS root) in the /etc/fstab file for this build.

Next build will include optional portable VSXu player, several emulators, newer Mesa GL, and an audio patch. I'll archive it as soon as I can slim it down.

GNOME 3 even sorta works, but don't actually use it because there are unrendered black squares and it's quite slow on this device.

Are you planning on reviving Ubuntu for the Touchpad?

Sent from my LG-ls990 using XDA Free mobile app
 

rebel1699

Senior Member
Feb 13, 2008
2,069
1,471
Oklahoma
Google Pixel 3a XL
Google Pixel 4 XL
Started running this last night. But, it takes a little extra work. I run evervolv 5.0.2 dulaboot with webos. I also use twrp. With all those, /boot is too small to add. About .5Mb too small. My solution was to cut uImage.TWRP from boot and store a copy elsewhere until needed. That gave me the nesecarry room I needed. When I need TWRP again, I will temp move uImage.Arch and put twrp back in.
 

Shiggity

Senior Member
Jun 29, 2007
202
28
Is anyone still working on this? I'm what I hope is charging my TouchPad and I want to try this again.
 

Shiggity

Senior Member
Jun 29, 2007
202
28
I started working on some stuff with it the other day.
Cool. Are you around right now to help me get it installed? How would we talk about it? iRC via PMs?

---------- Post added at 02:59 PM ---------- Previous post was at 02:15 PM ----------

BTW, for my current attempt I'm basically using this https://github.com/crimsonredmk/ArchLinuxARM-TouchPad/blob/master/Installation.md but when it talks about the uImage and rootfs I'm using castrwilliam's. I'd ultimately like to use the latest rolling release available for ALARM, but I want to see what happens with that's currently available.

---------- Post added at 03:39 PM ---------- Previous post was at 02:59 PM ----------

Aaaannnnd I can't seem to get my root partition on /dev/store/arch-root to mount under the requested by kernel /local/arch without it kernel panicking first... >_>
 

blmvxer

Senior Member
Jan 13, 2012
1,480
607
Cool. Are you around right now to help me get it installed? How would we talk about it? iRC via PMs?

---------- Post added at 02:59 PM ---------- Previous post was at 02:15 PM ----------

BTW, for my current attempt I'm basically using this https://github.com/crimsonredmk/ArchLinuxARM-TouchPad/blob/master/Installation.md but when it talks about the uImage and rootfs I'm using castrwilliam's. I'd ultimately like to use the latest rolling release available for ALARM, but I want to see what happens with that's currently available.

---------- Post added at 03:39 PM ---------- Previous post was at 02:59 PM ----------

Aaaannnnd I can't seem to get my root partition on /dev/store/arch-root to mount under the requested by kernel /local/arch without it kernel panicking first... >_>

I'm working on making it work currently.
 

blmvxer

Senior Member
Jan 13, 2012
1,480
607
Sweet. Let me know when you have it working and I'll try it on my 32 GB TP. :)

---------- Post added at 06:21 PM ---------- Previous post was at 06:21 PM ----------

I also messaged you on your FB a few hours ago. @blmvxer

I have to charge my tablet up so I can reinstall webos, but from what I can see it should work with the link you have me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    ArchLinuxARM for the tenderloin (HP TouchPad) - Native Boot with moboot
    This is only tested on the Wi-Fi version. With a kernel swap, it should work on the tenderloin3g (LTE) tablet, though mobile data is highly unlikely to work. I also don't know if there exists a 3.4 kernel for the tenderloin3g, and you'd have to cherrypick many, many commits.

    THIS REQUIRES A DATAMEDIA ROM.

    Working:
    3D Acceleration (OpenGL ES 2.0, Mesa) - can be unstable, however.
    Wi-Fi (with NetworkManager)
    Bluetooth
    Audio (requires manual intervention)

    Installation
    MultiROM must already be installed, and you must already have a hardboot-capable kernel installed as well.
    You will need a Terminal Emulator or ADB Shell to install.

    This assumes that arch_tenderloin_20141210_root.tar.gz and uImage.Arch are already in the root of your internal storage (/data/media/0).
    Code:
    su
    mkdir /data/local/arch
    tar -C /data/local/arch -xpzvf /data/media/0/arch_tenderloin_20141210_root.tar.gz
    mount -o remount,rw /boot
    cp /data/local/uImage.Arch /boot/
    mount -o remount,ro /boot

    Booting
    Select "Arch" on the moboot menu.

    Read Me
    If you WIPE DATA, it will also WIPE OUT THIS PORT, any applications installed with it, and all data saved under /home/arch!

    Logging in
    • The username is "arch" and the password is "archlinux". Change the password ASAP.
    • For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!
    • You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
    • Making audio work after boot requires you to open a terminal, run alsamixer, set speaker_stereo_rx up by one, and then set PCM Playback Sink Rear up by one. The headphones are controlled by the mixer channel named Headphone. The speakers are controlled by the mixer channel named Output.

    Downloads
    datamedia install tarchive: https://drive.google.com/file/d/0B4WUjKii92l2RFZ6T2ptSjZZVWM/view?usp=sharing
    uImage kernel: https://drive.google.com/file/d/0B4WUjKii92l2ZFlOYlFETzZyeG8/view?usp=sharing

    Kernel Source: https://github.com/willcast/kernel_tenderloin branch: desktop_3.4

    Also available for:
    HTC HD2: http://xdaforums.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483
    Samsung Galaxy S III LTE: http://xdaforums.com/galaxy-note-2/devs-only/unofficial-port-archlinuxarm-release-t2969290
    Nexus 7 2013: http://xdaforums.com/nexus-7-2013/general/unofficial-archlinuxarm-release-n7-2013-t2969301
    Nexus 10: http://xdaforums.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450
    4
    Unfortunately, even though web OS isn't required for any functionality (back in the TP ubuntu days it was needed for audio), I stupidly left /dev/store/root (web OS root) in the /etc/fstab file for this build.

    Next build will include optional portable VSXu player, several emulators, newer Mesa GL, and an audio patch. I'll archive it as soon as I can slim it down.

    GNOME 3 even sorta works, but don't actually use it because there are unrendered black squares and it's quite slow on this device.
    1
    I'm waiting for permission from the OP, but....

    I'm working on setting up a weekly to bi montly rolling release with updated packages.
    I won't be doing any kernel or driver work, but Just polishing up packages as well as including updates to my own themed Desktop Environment(Trying to make something more tablet friendly).
    1
    Is anyone still working on this? I'm what I hope is charging my TouchPad and I want to try this again.

    I started working on some stuff with it the other day.