Related
Am I the only one having issues with adb?
I managed to get it working once yesterday night. adb logcat output was very helpful to fix the FC 'parameters' issue with libcamera under Eclair but I couldn't get it working after that. Also, when it did work, I couldn't get /system to remount rw.
I had to manually start adbd on the vogue but after I rebooted to test the new libcamera libs, I couldn't get it to work anymore, even after restarting adbd. I can see a HTC Android device in /proc/bus/usb/devices on my linux dev computer but 'adb devices' doesn't show any devices.
This was under VaniljEclair RLS6.
I did a quick search in 'Touch CDMA Android Dev' and 'Tilt Android Dev' forums, also search in google but couldn't find any quick answer.
I don't have much time (as everybody I guess) to mess with Android Dev so I would much rather spend the little time I have on something productive instead of searching for answers that somebody else might already have.
I don't mind switching to another Eclair ROM/build if I have to but I would appreciate if anybody could give me a few pointers to get adb working under eclair.
Thanks.
dlepage said:
Am I the only one having issues with adb?
I managed to get it working once yesterday night. adb logcat output was very helpful to fix the FC 'parameters' issue with libcamera under Eclair but I couldn't get it working after that. Also, when it did work, I couldn't get /system to remount rw.
I had to manually start adbd on the vogue but after I rebooted to test the new libcamera libs, I couldn't get it to work anymore, even after restarting adbd. I can see a HTC Android device in /proc/bus/usb/devices on my linux dev computer but 'adb devices' doesn't show any devices.
This was under VaniljEclair RLS6.
I did a quick search in 'Touch CDMA Android Dev' and 'Tilt Android Dev' forums, also search in google but couldn't find any quick answer.
I don't have much time (as everybody I guess) to mess with Android Dev so I would much rather spend the little time I have on something productive instead of searching for answers that somebody else might already have.
I don't mind switching to another Eclair ROM/build if I have to but I would appreciate if anybody could give me a few pointers to get adb working under eclair.
Thanks.
Click to expand...
Click to collapse
Are you using the Latest Kernel? Adb is supposed to be fixed with eclair a kernel or 2 ago. If so, Im no sure what the probem is.
Are you running windows, ubuntu ect...?
The adb problem is in the build itelf. As soon as I installed my adb quit working I went back to incubus build but it just gets really quirky after a while. I use Vanilj eclair for speed but really miss adb. And yes I am using the latest kernel I also tried troubleshooting by flashing other nbh files to no avail
incubus26jc said:
Are you using the Latest Kernel? Adb is supposed to be fixed with eclair a kernel or 2 ago. If so, Im no sure what the probem is.
Are you running windows, ubuntu ect...?
Click to expand...
Click to collapse
Eum, I'll have to check for the kernel version. It is the one included with KK VaniljEclair RLS6. The date of zImage is 24/06/2010. What was the issue again, /dev major/minor conflict between adb and 3d hardware? Is there a way to check if this is the issue from within my phone (with terminal)?
I am running Fedora Core 13 as a VirtualBox guest hosted on Windows 7 x64. As I can see a HTC Android device in /proc/bus/usb/devices in linux, I would say that VirtualBox usb passthru is not the issue but then again, I could be wrong.
Before I setup VirtualBox usb passthru, I was also having issues under Windows: it installed a few drivers but I still couldn't see the phone as Mass Storage under Windows. Is there a way to install Android Windows driver without installing the Android SDK under Windows? Since Windows is not supported for AOSP dev, I'd prefer to keep my Windows 'Android free' as far as SDK,tools, etc goes except for 'Mass Storage' access.
Hope I am making sense... As I said, all this Android business is new to me, I am probably forgetting something trivial in my setup.
Yes it is a issue in /dev with 3d hardware. You can flash latest nbh without reinstalling all system so i think that you go faster in this way.
dlepage said:
Eum, I'll have to check for the kernel version. It is the one included with KK VaniljEclair RLS6. The date of zImage is 24/06/2010. What was the issue again, /dev major/minor conflict between adb and 3d hardware? Is there a way to check if this is the issue from within my phone (with terminal)?
I am running Fedora Core 13 as a VirtualBox guest hosted on Windows 7 x64. As I can see a HTC Android device in /proc/bus/usb/devices in linux, I would say that VirtualBox usb passthru is not the issue but then again, I could be wrong.
Before I setup VirtualBox usb passthru, I was also having issues under Windows: it installed a few drivers but I still couldn't see the phone as Mass Storage under Windows. Is there a way to install Android Windows driver without installing the Android SDK under Windows? Since Windows is not supported for AOSP dev, I'd prefer to keep my Windows 'Android free' as far as SDK,tools, etc goes except for 'Mass Storage' access.
Hope I am making sense... As I said, all this Android business is new to me, I am probably forgetting something trivial in my setup.
Click to expand...
Click to collapse
There is a makedev script in the initrd.gz that differs between the initrd.gz originally included with the haretinstall.zip and the one I use. I use the initrd.gz that dzo shared here: http://it029000.massey.ac.nz/vogue/files/?C=M;O=D
But first try the latest zImage from that site. If it still fails, try using the initrd.gz from this zip-file: http://sourceforge.net/projects/androidhtc/files/2010-02-20/haretinstall.zip/download
kallt_kaffe said:
There is a makedev script in the initrd.gz that differs between the initrd.gz originally included with the haretinstall.zip and the one I use. I use the initrd.gz that dzo shared here: http://it029000.massey.ac.nz/vogue/files/?C=M;O=D
But first try the latest zImage from that site. If it still fails, try using the initrd.gz from this zip-file: http://sourceforge.net/projects/androidhtc/files/2010-02-20/haretinstall.zip/download
Click to expand...
Click to collapse
Did some more test.
adbd is not running under Android (VaniljEclair RLS6). Using Terminal emulator, I manually start adbd on the phone. Then, I connect the USB cable. From this point adb works from linux. Is it normal that adbd is not running after a fresh boot of the phone?
This is using the zImage and initrd from your androidinstall.tar, as far as I can see by the dates and files size. I am running from the sdcard, in case it matters.
No sweat though, I now have a work around so it is no big deal.
dlepage said:
Did some more test.
adbd is not running under Android (VaniljEclair RLS6). Using Terminal emulator, I manually start adbd on the phone. Then, I connect the USB cable. From this point adb works from linux. Is it normal that adbd is not running after a fresh boot of the phone?
This is using the zImage and initrd from your androidinstall.tar, as far as I can see by the dates and files size. I am running from the sdcard, in case it matters.
No sweat though, I now have a work around so it is no big deal.
Click to expand...
Click to collapse
Strange, this should be controlled by this in sysinit.rc:
Code:
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
disabled
# adbd on at boot in emulator
on property:ro.kernel.qemu=1
start adbd
on property:persist.service.adb.enable=1
start adbd
on property:persist.service.adb.enable=0
stop adbd
And the persist.service.adb.enable property should be enabled by default.
After testing CM10 for a while (thx codeworx) I now ported my NanoBoot image to CM10.
Changes compared to original CM10 boot:
"insecure" (means: / and /system mounted read-write (easy 'adb push' into /system ...), ro.secure = 0)
support for /system/etc/init.d/ init scripts
(somewhat) easy UMS access
Changes in r10:
Use 179:24 instead of 179:25 as address for UMS (fixes UMS on Windows)
to enable UMS for external SD with this boot.img it is enough to do:
Code:
setprop sys.usb.config mass_storage,adb
to return to MTP:
Code:
setprop sys.usb.config mtp,adb
TIP:
If you use Linux you may use some function like:
Code:
ums () {
if [[ $1 == "+" ]]; then
adb root
sleep 2
adb -s c1607c00051963f shell 'setprop sys.usb.config mass_storage,adb'
else
adb root
sleep 2
adb -s c1607c00051963f shell 'setprop sys.usb.config mtp,adb'
fi
}
'ums +' will enable UMS, 'ums -' will disable UMS on your tablet (not to mention it needs to be connected (...))
replace '-s c1607c00051963f' with '-s <your adb id>' - you get the id via 'adb devices'.
If you only got one adb-enabled device, you could remove '-s c1607c00051963f' from the commands.
If there's more than one device connected adb needs to know which one should receive the commands.
I did not yet have the time to modify framework-res.apk to add UMS to the list of options...
Flash using img/pit with either Odin or Heimdall. Or use zip to flash using CWM.
Images for Odin/Heimdall
PIT:
p3100.pit http://downloads.nanolx.org/P3110/p3100.pit
p3110.pit http://downloads.nanolx.org/P3110/p3110.pit
Stock CM10 Kernel:
NanoBoot-r10-CM10.img http://downloads.nanolx.org/P3110/NanoBoot-r10-CM10.img
Johnsel's CM10OC Kernel:
-No WiFi-
Zips for CWM
Stock CM10 Kernel:
NanoBoot-r10-CM10.zip http://downloads.nanolx.org/P3110/NanoBoot-r10-CM10.zip
Johnsel's CM10OC Kernel:
-No WiFi-
Tried this on my P3113 and it broke my WiFi.
Macadamia Daze said:
Tried this on my P3113 and it broke my WiFi.
Click to expand...
Click to collapse
Here with 3110 it works... if you provide me the original 3113 boot.img, I can re-pack one, that should work.
And it only works with Cyanogen Mod 10. Not on 9 or stock rom.
Setialpha said:
Here with 3110 it works... if you provide me the original 3113 boot.img, I can re-pack one, that should work.
And it only works with Cyanogen Mod 10. Not on 9 or stock rom.
Click to expand...
Click to collapse
I am using CM10, so here's the original boot.img for CM10 on the P3113. You don't need the stock one, do you?
Macadamia Daze said:
I am using CM10, so here's the original boot.img for CM10 on the P3113. You don't need the stock one, do you?
Click to expand...
Click to collapse
try with attached CWM zip.
n00b here.....what does this do??
Sent from my GT-P3113 using Tapatalk 2
F3AR420 said:
n00b here.....what does this do??
Sent from my GT-P3113 using Tapatalk 2
Click to expand...
Click to collapse
Just as first post says. This is a modified boot image for cyanogen mod 10 (no other ROM supported!) for galaxy tab 2 7", which makes / and /system read-write, adds support for init-scripts and adds pretty easy way to access UMS (USB Mass Storage) for external SD-Card.
According to your signature you're using an incompatible rom anyway - so don't use this.
@Macadamia Daze: now also tested with a 3100 I got my hands on: WiFi works. Dunno why it doesn't work with 3113 (I got no clue whether 3113 has some special WiFi stuff or whatever). Either way, please tell me, whether the attached one for 3113 (two posts above) works with WiFi.
Setialpha said:
@Macadamia Daze: now also tested with a 3100 I got my hands on: WiFi works. Dunno why it doesn't work with 3113 (I got no clue whether 3113 has some special WiFi stuff or whatever). Either way, please tell me, whether the attached one for 3113 (two posts above) works with WiFi.
Click to expand...
Click to collapse
Silly me; the problem was an incompatible kernel (Johnsel's). I returned to the default CM10 kernel and reflashed this, so now WiFi works. Still, in Windows it doesn't work properly. While it does create a new removable disk in Computer, it gives the "Please insert a disk into drive" error when I try to open it. Haven't tested in Linux yet, but based on my earlier tests with your previous UMS solution, it probably works.
---------- Post added at 08:12 PM ---------- Previous post was at 07:22 PM ----------
Ooh, I have good news! I used Device Manager to examine the blank drive letter on the computer, and it was recognizing it basically like an SD card reader with no SD card. So, I decided to poke around some of the files referenced in your UMS script from before to check their values. When I tried to open /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file, I got an error. Thinking it may not be working properly, I created a file on my computer with the contents "/dev/block/vold/179:24" and ADB pushed it to overwrite the broken file. Instantly, my SD card mounted on the PC. I hope this is useful information for you!
Macadamia Daze said:
Silly me; the problem was an incompatible kernel (Johnsel's). I returned to the default CM10 kernel and reflashed this, so now WiFi works. Still, in Windows it doesn't work properly. While it does create a new removable disk in Computer, it gives the "Please insert a disk into drive" error when I try to open it. Haven't tested in Linux yet, but based on my earlier tests with your previous UMS solution, it probably works.
---------- Post added at 08:12 PM ---------- Previous post was at 07:22 PM ----------
Ooh, I have good news! I used Device Manager to examine the blank drive letter on the computer, and it was recognizing it basically like an SD card reader with no SD card. So, I decided to poke around some of the files referenced in your UMS script from before to check their values. When I tried to open /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file, I got an error. Thinking it may not be working properly, I created a file on my computer with the contents "/dev/block/vold/179:24" and ADB pushed it to overwrite the broken file. Instantly, my SD card mounted on the PC. I hope this is useful information for you!
Click to expand...
Click to collapse
I see... 179:24 is the sdcard itself, 179:25 (what I use) is the first partition on the sdcard... unixoid systems don't care about that, but windows seems too... I'm gonna test with 179:24 on Linux and if it works there (I'd say yes even without testing, I provide an update). Thanks for testing.
r10 is now online - fixes UMS issue on Windows.
I can't get WiFi to work with Johnsel's CM10OC Kernel - so I skiped uploading those image/zip...
You can find me in Freenode #cyanogenmod-dev if you care to sort out what's happening with the wifi on my kernel
Johnsel said:
You can find me in Freenode #cyanogenmod-dev if you care to sort out what's happening with the wifi on my kernel
Click to expand...
Click to collapse
It fails to load something and therefore can't be enabled, don't remember exact log-message right now.
I'll contact you, when I'm hacking around the next time.
This is pretty interesting.
Two things
1-Doesn't CM10 already support init.d scripts?
2-Would it be possible to swap the mountpoints for the "internal" sdcard space and the actual microSD card slot? My current method of re-mounting things right after boot is OK but not very elegant.
DivinityCycle said:
This is pretty interesting.
Two things
1-Doesn't CM10 already support init.d scripts?
2-Would it be possible to swap the mountpoints for the "internal" sdcard space and the actual microSD card slot? My current method of re-mounting things right after boot is OK but not very elegant.
Click to expand...
Click to collapse
1 - atleast not via boot.img - that's why I added it.
2 - I have an older tablet I used before (ARNOVA 7C G2) it worked with this one, so it should work with this one, too. But you should never enable UMS while some app is running... On that other tablet I had to use EXT2 or EXT4 on SD-Card else all that permission stuff didn't work (FAT only has very basic permission rules for files). Also I recommend using second partition of SD-Card for /data. (first gets used as external storage and is managed by vold - at least that is what I did on my other tablet).
I attached init.espresso.rc, so that you can play around with the mount points (re-send me the file after you're done and I can provide you a flashable zip).
Setialpha said:
1 - atleast not via boot.img - that's why I added it.
2 - I have an older tablet I used before (ARNOVA 7C G2) it worked with this one, so it should work with this one, too. But you should never enable UMS while some app is running... On that other tablet I had to use EXT2 or EXT4 on SD-Card else all that permission stuff didn't work (FAT only has very basic permission rules for files). Also I recommend using second partition of SD-Card for /data. (first gets used as external storage and is managed by vold - at least that is what I did on my other tablet).
I attached init.espresso.rc, so that you can play around with the mount points (re-send me the file after you're done and I can provide you a flashable zip).
Click to expand...
Click to collapse
That's the thing I have been wrestling with lately, what's "the best" way to manage this stuff?
It seems like the main thing that needs to be done for legacy purposes is linking the regular /storage/sdcard0/data directory over to /storage/sdcard1/data/.
One idea I had was to format the "internal" sdcard (/storage/sdcard0) with ext4, which would allow symlinks to exist there, then just remove the data directory and replace it with a symlink that points to /storage/sdcard1/data.
From what I've read, ext4 is supposed to be a better, higher performance solution, so I'm kinda curious to try it out.
It would make UMS pretty worthless to Windows guys like me, but I basically do everything via network anyways (SFTP mostly).
Is it possible to control the file systems used on the internal & external sdcards in the init? I didn't look too deeply at it cuz I don't know how to rebuild a boot.img (at least not yet)
Tested this with the current AOKP JB nightly, and it also breaks WiFi. I'm trying now to keep the rom and restore the CM10 NanoBoot backup. Fingers crossed it will be stable.
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.
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
This thread is to announce the release of, and provide information for,
Ubuntu 13.04 FINAL VERSION for the HP TouchPad.
Brought to you in LESS THAN 24 HOURS AFTER RELEASE by WillCast.
Screenshots of "new" E17 attached to this post!
FEATURES
Automatic login to Enlightenment 17 (E17)
All E17 packages (including Terminology) rebuilt from source from the enlightenment-svn PPA.
e17-gtk-theme installed and activated.
< 2 GB extracted size. For best results, use a 4GB or larger ubuntu-root. (Most are.)
GUI Config Programs (see next section)
Wi-Fi working
RNDIS over USB working (2.6 and 3.0)
Bluetooth working except for BTAudio
Normal Ubuntu boot sequence (no strange initramfs hacks, and working fstab)
(new and updated) KEXEC IS REQUIRED
2.2GHz max Overclock - Not even stable on my TP! (Max 1.78GHz on 3.0.8)
Working Audio (manual switch between Internal and External)
AUTOMATIC, TOGGLABLEScreen Rotation
Software Compositing Enabled
Desktop Style Interface with Seperate Windows
Settable Brightness
Settable Charger Current Limit
Settable LED Triggers
VLC Media Player, GStreamer (Rhythmbox/Pithos) pre-configured to work
PULSEAUDIO (Enslaved to alsa dmix to prevent issues) (yay)
GRAPHICAL TOUCHPAD CONFIG UTILITIES
All are available from the desktop.
setbrightness (fixed) - Set LCD brightness with a slider.
setImax (new) - Set the charger current limit from a list.
setfreq (new) - Configure CPU speed from a list, optionally, set to persist over reboot.
tsrotate (fixed) - Turn auto-rotation on or off.
audiocfg - Select the audio output - internal, external or both.
setLEDtrigger (New) - Select the LED triggers for the left and right sides of the home/center button. Examples provided in dialog.
PRE-INSTALLED SOFTWARE
Available from the EVERYTHING Starter in the Bottom-Left Corner
Mozilla Firefox
Gnash (Flash 7-8) plugin, Lightspark (Flash 9+) plugin, IcedTea 7 (Java) plugin
Pithos (Pandora radio client)
Rhythmbox (music player)
VLC media player
LibreOffice
GIMP 2.8
GNOME system monitor, Baobab disk usage tool, GCalcTool calculator, gedit text editor
RELEVANT INFORMATION
Root password: root
Normal Username: ubuntu, Password: ubuntu
Auto-login Enabled
To configure Bluetooth and date/time, go into System Settings (aka gnome-control-center).
Use the NetworkManger Applet in the panel to configure Wi-Fi.
TO PERFORM A NEW INSTALL (ONLY), AUTOMATICALLY WITH SMACKME2
SmackMe2 thread: http://forum.xda-developers.com/showthread.php?t=2132703
Copy the two provided files (uImage.kexec and TouchPadBuntuRootfs1304b2.tar.gz) to the sminstall folder under the root of your /media/internal. If "sminstall" does not exist, first create it.
Follow the instructions on how to install "native Linux' in the SmackMe2 thread.
TO PREPARE FOR MANUAL UPGRADE (NOVATERM)
Install NovaCom and NovaTerm on your "real" computer - please consult one of the many references on how to install it.
Boot the TouchPad into WebOS.
Connect the TouchPad to the PC with a microUSB cable.
Enter USB mode and copy the uImage.kexec and TouchPadBuntuRootfs1304b2.tar.gz files to the root of your TouchPad's internal storage.
PROPERLY "eject" the TP from your PC.
Enter Developer Mode. (In the Just Type box, type "upupdowndownleftrightleftrightbastart", and select Developer Mode.)
On your PC, open "novaterm".
You are now ready to type in the "Manual Installation" commands.
MANUAL UPGRADE (Commands to type into Novaterm)
This will erase any data and settings stored under Ubuntu. Stuff in the media storage (/media/internal or /mnt/sdcard) will be unaffected.
Code:
mkfs.ext3 /dev/store/ubuntu-root
mkdir /tmp/u
mount /dev/store/ubuntu-root /tmp/u
cd /tmp/u
tar -xzpvf /media/internal/TouchPadBuntuRootfs1304f.tar.gz
umount /tmp/u
cd /media/internal
mount -o remount,rw /boot
cp uImage.kexec /boot
sync
TO BOOT AFTER INSTALLATION
Reboot your TouchPad.
Select "kexec" in the MoBoot menu, and press Center to boot kexec.
Wait for the white screen.
Select "Ubuntu 13.04" in the kexecboot screen, and select (press POWER/SLEEP button on top, not CENTER button).
Wait for Enlightenment to start.
TROUBLESHOOTING / FAQ:
If you don't see Ubuntu in the moboot menu, that is normal - you have to boot Kexec and then boot Ubuntu 13.04 from kexec.
If your TouchPad doesn't have a "kexec" menu option after rebooting, make sure you copied uImage.kexec to the proper location, and retry.
If your kexec uImage doesn't boot or freezes before the white screen, check your free space on the boot partition (/dev/mmcblk0p13). Delete kexec, free up at least 3MB (by deleting extra uImages and/or themes) and recopy it manually.
If you can't select Ubuntu from the kexec menu, make sure you're pressing Power and not Center to select it.
If your kexec freezes instead of booting Ubuntu, make sure you have the latest kexec from this post. The old one doesn't support large initramfs files which are present in 13.04 beta2 (and the final version.)
If you experience problems with Kernel 3.0.8, remember that it is alpha quality!
To reboot your TouchPad if it stops responding, hold down Center and Power until you see "Please release key(s)."
DOWNLOAD LINKS - Google Drive hosted
NEW AND UPDATED KEXEC: (required to boot): https://docs.google.com/file/d/0B4WUjKii92l2RHJoNE93c2dVRlU/edit?usp=sharing
13.04 FINAL ROOTFS: https://docs.google.com/file/d/0B4WUjKii92l2bDRlQ0NTbTZBemM/edit?usp=sharing
KERNEL 3.0.8 ALPHA: https://docs.google.com/file/d/0B4WUjKii92l2TXd5RTJfQnJtS3c/edit?usp=sharing
PREVIOUS VERSIONS - UNSUPPORTED
13.04beta2: https://docs.google.com/file/d/0B4WUjKii92l2N0V2Q3ljTHI0WEU/edit?usp=sharing
12.10final: https://docs.google.com/file/d/0B4WUjKii92l2eDduajFwUGhVYlU/edit?usp=sharing
12.10beta1:https://docs.google.com/file/d/0B4WUjKii92l2OExhVDdXX3dGcjQ/edit?usp=sharing
nicee. was thinking to sell my touchpad. but now. thanks to u.
Sent from my LG-P769 using Tapatalk 2
How's battery life with this?
Battery life is something I haven't tested. It's okay, I think, about 3-4 hours. Remember, Ubuntu doesn't sleep on these, never has AFAIK.
i cant format the ubuntu-root to ext4. everytime i run mkfs.ext4 i get this error while mounting:
mount: mounting /dev/store/ubuntu-root /tmp/u failed:Invalid Argument
if i format to ext3 mounting works. Can i use ext3 instead of ext4??
I'm using Ubuntu 12.10, I don't mind to start from scratch.
But..... Would upgrading from 12.10 to this version via novaterm screw anything up?
Sent from my Nexus 7 using xda app-developers app
That (ext3) should work - I enabled the config option where you can mount ext2/ext3 as ext4 on my kernel. I forgot that webos uses slightly old filesystems
I'll update the instructions.
In the battery life quest, I just noticed that the dnsmasq process often eats up 100% CPU, so I just disabled it. I'll upload a revised image to the same link (love GDrive), but if any of you have already DLed one then I can tell you what to do to fix it:
in Terminal:
Code:
sudo gedit /etc/NetworkManager/NetworkManager.conf
delete or comment out ("#") the line reading "dns=dnsmasq" and save, quit, reboot (or sudo killall dnsmasq)
castrwilliam said:
That should work. If you were to encounter any trouble installing then there is an error with the commands I posted.
On the battery life quest, I just noticed that the dnsmasq process often eats up 100% CPU, so I just disabled it. I'll upload a revised image to the same link (love GDrive), but if any of you have already DLed one then I can tell you what to do to fix it:
in Terminal:
Code:
sudo gedit /etc/NetworkManager/NetworkManager.conf
delete or comment out ("#") the line reading "dns=dnsmasq" and save, quit, reboot (or sudo killall dnsmasq)
Click to expand...
Click to collapse
I remember there being sleep issues on old builds. On this, can I sleep the device, or does it have to be shut down when not in use?
- Thanks, always wanted an Ubuntu build
Sent from my ADR6425LVW using xda app-developers app
---------- Post added at 09:42 AM ---------- Previous post was at 09:39 AM ----------
Also, right clicking was really annoying before. Is it usable on your build?
Sent from my ADR6425LVW using xda app-developers app
eriscentro said:
I remember there being sleep issues on old builds. On this, can I sleep the device, or does it have to be shut down when not in use?
- Thanks, always wanted an Ubuntu build
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
You need to turn off the whole tablet, yes. I don't think it was ever made to work on ubuntu. It wasn't really a priority when we were missing stuff like headphone audio. I guess I can look into dmesg and try to diagnose.
To right click you need to click on the mouse cursor button on onboard, and then the flipped looking pointer button on the 2nd row down of the button group that appears - after tou do that, the very next click wll be seen as a right click.
I'll take a look once I do the install later today, waiting for my TP to finish charging up. Thanks!
Sent from my ADR6425LVW using xda app-developers app
there are a lot of dependencie errors and broken packages when u try to install software(i.e. eclipse). is there a way to fix it
??
imapjonny said:
there are a lot of dependencie errors and broken packages when u try to install software(i.e. eclipse). is there a way to fix it
??
Click to expand...
Click to collapse
I haven't tried this release yet, eclipse worked fine under 12.10.
May not be compiled properly or hasn't been updated to the 13.04 armhf port repositories.
Sent from my Nexus 7 using xda app-developers app
---------- Post added at 01:42 PM ---------- Previous post was at 01:41 PM ----------
blmvxer said:
I haven't tried this release yet, eclipse worked fine under 12.10.
May not be compiled properly or hasn't been updated to the 13.04 armhf port repositories.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
One thing I'd like to see in the armhf repository is spotify. That's honestly all I need on an Ubuntu tablet.
Sent from my Nexus 7 using xda app-developers app
Im struggling to get sound working, any ideas?
Sent from my GT-N7100 using xda app-developers app
imapjonny said:
there are a lot of dependencie errors and broken packages when u try to install software(i.e. eclipse). is there a way to fix it
??
Click to expand...
Click to collapse
Depends on what you're installing. Remember this is an ARM powered device and not your normal x86/x64 processor you'll find in a normal laptop or desktop.
castrwilliam said:
Ubuntu 13.04 beta 2 [FINAL BETA]
Click to expand...
Click to collapse
Thanks for this.
When you say final beta I assume you mean final build?
Or do you have plans for something that can be considered past the beta stage of development?
Thanks for this. Things seem to be running alot better than the previous 13.04 build.
A couple things i noticed -
The onscreen keyboard didn't easily come up. I have a bluetooth one so maybe i gave up too soon on trying to get it.
I also have a bluetooth mouse. After a minute or 2 of using it the cursor disappears from the screen. You can tell its still connected because as I move it, various things get hovered on.
Flash player is no longer available for firefox or chromium. I tried linking to the webos flashplayerlib but it still doesn't work. i installed the gnash stuff but that doesn'
t work everywhere.
Thanks again for this though. is working great post from it now.
Isn't there an Open-Source flash player somewhere?
Sent from my Nexus 7 using xda app-developers app
Im not a massive linux user so apologies if this sounds pretty basic, but can tou theme the bar with rhe wifi and clock? I really want the 'classic' ubuntu look...
Sent from my GT-N7100 using xda app-developers app
fach1708 said:
Im not a massive linux user so apologies if this sounds pretty basic, but can tou theme the bar with rhe wifi and clock? I really want the 'classic' ubuntu look...
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Sudo apt-get gnome-shell
Sent from my Nexus 7 using xda app-developers app
Thanks Castrwailliams Great work dude
:good:
Rock On Castrwilliams keep up the good work man
installed it using smackme2