yashsingh1/xdaforums huggingface dataset:
[Other TouchPad Development] jshafer817:
Alright.... will be releasing today...

Got the rotation better with... compass\accel.. not the camera...

Going to try a couple more things....
[Other TouchPad Development] blmvxer:
I'm ready!!!! :D
[Other TouchPad Development] kicker22004:
And I'm charging my tablet lol
[Other TouchPad Development] jshafer817:
Okay... I think we will need to recompile the camera app to change to portrait\landscape correctly...

So.. Rom Released!
[Other TouchPad Development] blmvxer:
I will be testing within an hour once I doctor my tablet and resize the partitions.

---------- Post added at 09:40 PM ---------- Previous post was at 09:34 PM ----------

When you compile your next kernel for your ROM, if you do, will you add fstrim?. As I read there is slow graphics. Trimming the partitions should speed up things.
[Other TouchPad Development] kicker22004:
I'm away from the house...dang!!
[Other TouchPad Development] jshafer817:
Camera App Info!

VideoOutput {

id: viewFinder

property bool shouldBeCentered: device.isLandscape

property real anchoredY: viewFinderGeometry.y * (device.isInverted ? +1 : -1)

property real anchoredX: viewFinderGeometry.x * (device.isInverted ? +1 : -1)

x: viewFinder.shouldBeCentered ? 0 : viewFinder.anchoredX

y: viewFinder.shouldBeCentered || device.naturalOrientation === "landscape" ?

0 : viewFinder.anchoredY

width: parent.width

height: parent.height

source: camera

/* This rotation need to be applied since the camera hardware in the

Galaxy Nexus phone is mounted at an angle inside the device, so the video

feed is rotated too.

FIXME: This should come from a system configuration option so that we

don't have to have a different codebase for each different device we want

to run on */

orientation: device.naturalOrientation === "portrait" ? -90 : 0

/* Convenience item tracking the real position and size of the real video feed.

Having this helps since these values depend on a lot of rules:

- the feed is automatically scaled to fit the viewfinder

- the viewfinder might apply a rotation to the feed, depending on device orientation

- the resolution and aspect ratio of the feed changes depending on the active camera

The item is also separated in a component so it can be unit tested.

*/

Ah HA!!!
[Other TouchPad Development] kicker22004:
Is a Doctor a must? all i'm getting is a black screen right after CID changes faces. I've let it sit for 10 minutes and still same results, Reformatted system,data,cache and re installed in order...same?
[Other TouchPad Development] Fr3nZy:
A few questions

Been using Ubuntu on my Laptop and liked it. I'm looking to try it out on my TouchPad now but I have a few questions.

Does this replace Android? Or does this create new partitions for Ubuntu and allows triple boot from moboot?

I've notice a few installation instructions saying this is 'based on CM10'. Is this Ubuntu on top of the Android core or a pure Ubuntu installation?

Thanks for clarifying this for me in advance.
[Other TouchPad Development] chris5s:
This replaces Android. Backup is your friend!

Thanks to the op for continued development of this rom.

---------- Post added at 08:49 AM ---------- Previous post was at 07:53 AM ----------

Same issue here ....

Edit: success! Booted up after a couple of minutes after a reboot.

However, some issues - rotation not working and keyboard is messed up. It comes up in the top left hand corner of the touchpad when in landscape mode, see attached pictures.

Thanks
[Other TouchPad Development] kicker22004:
Well tomorrow I'll give it another try
[Other TouchPad Development] jshafer817:
Oh! lol.. yeah... good idea... I will do that next time I update! :)
[Other TouchPad Development] jshafer817:
Hmmm... no... Try this....

http://web.archive.org/web/20130130...ntent/resources/develop/sdk_pdk_download.html

Maybe you can boot the mac computer off of a Ubuntu CD? Or.. Virtualbox.... Let us know! I have a macbook... I think it's on 10.7.4
[Other TouchPad Development] jshafer817:
Testing ts_srv with loftoff of 40000.. as that is what is in Ubuntu Desktop ts_srv that jcsullins wrote?

Edit.. Still buggy...

ts_srv for Ubuntu Desktop works with a touch.. but... X and Y must be off or something.
[Other TouchPad Development] The Jack of Clubs:
well, i got everything installed and working. but now android isnt mounting the sdcard partition. it says "damaged sd card. sdcard is damaged. try reformatting it." when trying to mount. cant even take a screenshot of it because it has to save to sdcard.

cwm and webos read the partition just fine.

tried to repair it with tailer in webos, didnt work, tried the fix from http://rootzwiki.com/topic/13277-fixes-for-sdcard-issues-for-all-versions-of-cyanogenmod/ but didnt work. any suggestions?
[Other TouchPad Development] jshafer817:
Hmmm... let me see.

sdcard is mounted okay in Ubuntu Touch, Android, and WebOS for me... ??? Someone else mentioned the "emulated sdcard fix" he may have installed.. Have you installed this? He thought that perhaps it was messing things up.. I have no idea about what he was referring to.

Can you mount /sdcard in.. WebOS? (doubftul you can since you cannot in android)

When running create_partition... did you get any errors about not being able to umount /media/internal? ( I have a feeling you might have?) It would say something about being busy and to hit 0 if it did... Remember that?

Can you run dosfsck on /dev/store/media?...

If all else fails.. you can reformat the sdcard.. but... I would see what happened first.

mkfs.vfat /dev/store/media should be the command to do that... !

Screenshot without /sdcard

http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html

the other option to create the lvm would be to use a kernel initramfs like the AcmeInstaller.. I could... try.. that...?
[Other TouchPad Development] The Jack of Clubs:
i dont know what the emulated sdcard fix is. i didnt get any errors about unable to unmount /media/internal when creating partitions. it does mount under webos (and in cwm too, just not android). it even remounts if i do something like connect it to usb. if i do a check in tailor in webos, it says the filesystem needs to be repaired but it fails to repair it. i tried using dosfsck on it but i dont know how to use it. this is all i got in novaterm:

root@HPTouchPad:/# dosfsck
usage: dosfsck [-aAflrtvVwy] [-d path -d ...] [-u path -u ...]
device
-a automatically repair the file system
-A toggle Atari file system format
-d path drop that file
-f salvage unused chains to files
-l list path names
-n no-op, check non-interactively without changing
-r interactively repair the file system
-t test for bad clusters
-u path try to undelete that (non-directory) file
-v verbose mode
-V perform a verification pass
-w write changes to disk immediately
-y same as -a, for compat with other *fsck

root@HPTouchPad:/# dosfsck -a /dev/store/media
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 23127391744:Invalid argument

root@HPTouchPad:/# dosfsck -r /dev/store/media
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 23127391744:Invalid argument

what am i supposed to be putting in? thanks for the info on adb screenshots. didnt know you could do that outside of ddms. i really dont want to have to resort to formatting this partition since it does still read elsewhere and should be able to be repaired..
[Other TouchPad Development] jshafer817:
as root

dosfsck -w -r -l -a -v /dev/store/media

try that.. strange.. so it works on webos but not android...
[Other TouchPad Development] jshafer817:
Try this.

lvresize -l +100%FREE /dev/mapper/store-media

resizefat /dev/mapper/store-media 10.66G

I would replace 10.66G with slightly more then your using. Maybe shrink then expand...
[Other TouchPad Development] The Jack of Clubs:
root@HPTouchPad:/# dosfsck -w -r -l -a -v /dev/store/media
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Checking we can access the last sector of the filesystem
Seek to 23127391744:Invalid argument

nope

yep

23127391744 bytes is 21.5391 gibibytes. thats about the size of the partition, a little bit bigger. is there a problem "seeking" there? huh?
[Other TouchPad Development] jshafer817:
You have a 32GB TP? I have one.. I have not tested it. I have tested the 16G. Hmmm... Shouldn't matter....try the resize free100% command from the last post yet?

post the output of mount in webos vs android?
[Other TouchPad Development] kyzerdroid:
Hey hey installed fine and working as described, however I also get SD card error in android like previous poster. Will see if it can be fixed. Other than that cool work. Keep it up with Ubuntu. How many % do yo think are working correctly? I am having issues sometimes closing the second program on top of another and going back to a previous screen....but its cool. When you update the Ubuntu rootfs, can we just install it over "old" ubunut saucy or do we need to perform an uninstall and install new?

Cheers don't drink too much coffee;)

---------- Post added at 01:18 PM ---------- Previous post was at 01:12 PM ----------

What happens if I just press format SD card in android?
[Other TouchPad Development] jshafer817:
What version of Android? Milaq's with the JCSullins Bluetooth Experiment?
[Other TouchPad Development] kyzerdroid:
Using cm version: 10-20130304 experimental tender lion for limited testing only can. No other ROM. Bluetooth working in android not tested Ubuntu. Figured out going back in double screen.
[Other TouchPad Development] jshafer817:
Wonder if its exfat, fat32 thing.
[Other TouchPad Development] jshafer817:
This is worth trying for the touchscreen!

https://github.com/milaq/android_de...mmit/c3ad909e0af80af20b3e3273428c00b022cfa69e

He updated!

At work.. mess with this stuff tonight. And try a different Android Rom and see if I can access sdcard.
[Other TouchPad Development] kyzerdroid:
ok thanks for the tip with milaq. thinking of starting over fresh:) you think i can use this guide for a complete reset: http://xdaforums.com/showthread.php?t=1426244 and then start over with milaq cm10.x nightlies...update to latest and then re-do partioning for ubuntu? or do i need to use your uninstall instructions to remove ubuntu first and then do a factory wipe?
[Other TouchPad Development] jshafer817:
Downloading this to try.

http://goo.im/devs/jcsullins/cmtouc...L-tenderloin-FOR_LIMITED_TESTING_ONLY_CAM.zip
[Other TouchPad Development] jshafer817:
Result!

I can still access my sdcard! wth
[Other TouchPad Development] jshafer817:
Are you on a 32GB or 16GB? The other guy has a 32GB... Just curious.

And yes.. that guide will work. I ran it before starting a couple of days ago.
[Other TouchPad Development] jshafer817:
What version of WebOS were you guys on? Have you ever ran WebOS Doctor.. ever???
[Other TouchPad Development] kyzerdroid:
Yepp 32gb here too. FYI when pressing the format option I get the message checking disk, nothing happens and android services stopped.

I will do a clean fresh install of everything tomorrow morning....PS I think I did major error when I installed the first file via novaterm, I didn't wait for the whole thing to finish(..didn't know it was not finished:) , then installed the other two via cwm and Ubuntu did not work, then I saw my mistake and re did everything, maybe the disk error happened like that....

Also FYI: in Ubuntu I installed xda app, took two or three tries, progress bar showed 200%. App opened, I went on this thread but could not jump pages, nor login. Clicking on video opens vimeo page or what its called but cannot play .mp4.

I was in clock settings, closed it and wanted to open the browser but clock settings kept coming up, camera looked pretty nice...keyboard does not always show up in typing options, customisation not possible (background screen, lock screen), you probably know all of this:)

---------- Post added at 09:38 PM ---------- Previous post was at 09:30 PM ----------

Last time I used webs was around install of cm10 some time ago....
[Other TouchPad Development] The Jack of Clubs:
yay! this command worked. thats all i had to do, then i ran a check with tailor and it passed! i didnt believe it at first so i booted to android and it mounted with no errors. thanks! youre the best. now i can boot all 3 os's. ^_^
[Other TouchPad Development] kyzerdroid:
well i'll be damned. IT WORKED!!!! well done JSHAFER :D

very quick and simple fix, again 32gb here

---------- Post added at 10:14 AM ---------- Previous post was at 10:00 AM ----------

also no data loss. all files i thought were lost are still there now. yeah:cool:
[Other TouchPad Development] remche:
hi,

didn't try new version now. Will it work if I install the zip without resinzing the lvm ?

thx again !
[Other TouchPad Development] jshafer817:
Wait a bit.. I am testing an older ts_srv.c and I plan on adding that to the create_partition.sh script.. though.. you could always add it yourself, or run the command yourself when it is finished running.. I haven't tested it and I am waiting for that other guy to confirm, though.. he may not come back...
[Other TouchPad Development] jshafer817:
Oh wait! He did! Sweet..

Added it to the script. Used notepad on google drive.. kind of neat.
[Other TouchPad Development] jshafer817:
#define MAX_DELTA_FILTER 1 // Set to 1 to use max delta filtering

// This value determines when a large distance change between one touch

// and another will be reported as 2 separate touches instead of a swipe.

// This distance is in pixels.

#define MAX_DELTA 130

// If we exceed MAX_DELTA, we'll check the previous touch point to see if

// it was moving fairly far. If the previous touch moved far enough and is

// within the same direction / angle, we'll allow it to be a swipe.

// This is the distance theshold that the previous touch must have traveled.

// This value is in pixels.

#define MIN_PREV_DELTA 40

// This is the angle, plus or minus that the previous direction must have

// been traveling. This angle is an arctangent. (atan2)

#define MAX_DELTA_ANGLE 0.25

#define MAX_DELTA_DEBUG 0 // Set to 1 to see debug logging for max delta

Trying with DELTA 20 for fun???
[Other TouchPad Development] jshafer817:
http://gdurl.com/

They went down again.. Remind self not to use that anymore.
[Other TouchPad Development] kyzerdroid:
hello again,

can you tell me how i can run commands in ubuntu as root? in order to change brightness and maybe have sidestorage apps in full view? thanks
[Other TouchPad Development] Flandro:
Little Help

Does anyone think they could do a youtube video going through the steps to install this? I'm on windows 8 64 bit. I've installed the webOS SDK and downloaded the files. I have CM10.1 installed as well as webOS and moboot. Anyone?
[Other TouchPad Development] kyzerdroid:
Very easy, just follow jshafer steps in first post. Download all three files, put them on your touchpad. Boot in webos, launch developer mode, plugin your to to the PC, run novaterm, and install the first file, copy/paste the command from first post, confirm in novaterm as necessary, take your time with this, and wait until completely finished:)

Reboot into moboot select cwm and install first the cm file (second file), when done install rootfs( third file), when done reboot, and select Ubuntu touch from moboot, wait about 3 minutes, you will have a black screen, after 3 ubunutu will have loaded and you can enjoy:)

Will try to make video by tonight, should be online around 9pm cet . Still have some normal stuff to do. Will post link when done...thanks to jshafer who made all this possible:)
[Other TouchPad Development] Flandro:
Well you sir are a stud muffin
[Other TouchPad Development] Flandro:
I need some help with getting novaterm to run. thanks
[Other TouchPad Development] Shiggity:
sh /tmp/create_partitions.sh
/tmp/create_partitions.sh: line 1: can't cd to /tmp
Thanks to crimsonredmk
Repartition to create ext3 volume for Ubuntu
: No such file or directory/internal
Did the previous message say something about not being about to umount /media/internal? If so, press 1, otherwise press 0. DO NOT PRESS 0 IF IT DID SAY SOMETHING; THIS CAN LEAD UP TO DATA LOSS! If it did say something, reboot and try again.
': not a valid identifier
/tmp/create_partitions.sh: line 85: syntax error: unexpected end of file (expecting "fi")

What's odd is that:

==> I can totally cd into /tmp just fine...

==> I'm of course root when attempting this

==> Restarting as it suggests doesn't help, unless it means restarting my PC?

Any help would be appreciated as I'd really like to see how far this has come.
[Other TouchPad Development] kyzerdroid:
sorry over ambitious with the video, just started a new project yesterday...

Floran: what help do you need? First download all three files and put them on your sdcard in adnroid, reboot into webos.

basic: go to c: drive-->go to program files--> go to Palm, Inc folder-->go to terminals double click novaterm windows batch file. connect your Hp touchpad in webos (before connecting type in webos in the search bar: webos20090606 to launch developre mode, prior to connecting to pc). Once connected to the PC click on File in the novaterm terminal and click connect...your touchpad should now be connected and a line should appear in novaterm terminal. Now: copy paste this with Control/c

cp /media/internal/create_partitions.sh /tmp

sh /tmp/create_partitions.sh

and paste into novaterm with control/v

answer all the questions carefully!!! and wait!!!! novaterm will tell you when finished, your HP touchpad will reboot, let it, but don't pull the usb plug until novaterm confirms everything is done and you end up with the line when you first opened novaterm.

Once this is done, reboot into moboot and select CWM with the volume buttons in order to install the other two files.. again thanks jshafer:)
[Other TouchPad Development] Flandro:
I'm stuck with this too. Any words of wisdom?
[Other TouchPad Development] kyzerdroid:
Did you type the whole command in one line? It should be two:

First line: cp /media/internal/create_partitions.sh /tmp then press enter

Second line: sh /tmp/create_partitions.sh then press enter ....
[Other TouchPad Development] Flandro:
Yes, the first command went through just fine. It's the second line when I and the other guy get that error.
[Other TouchPad Development] Flandro:
Touchpad is in Dev mode. I connect it to PC. I run novaterm. IT connects as root to Touchpad. I run cp /media/internal/create_partitions.sh /tmp. It runs just fine. I run sh /tmp/create_partitions.sh and get the following:

sh /tmp/create_partitions.sh

/tmp/create_partitions.sh: line 1: can't cd to /tmp

Thanks to crimsonredmk

Repartition to create ext3 volume for Ubuntu

: No such file or directory/internal

Did the previous message say something about not being about to umount /media/internal? If so, press 1, otherwise press 0. DO NOT PRESS 0 IF IT DID SAY SOMETHING; THIS CAN LEAD UP TO DATA LOSS! If it did say something, reboot and try again.

': not a valid identifier

/tmp/create_partitions.sh: line 85: syntax error: unexpected end of file (expecting "fi")

I then run the command cd /tmp and it changes directories just fine. I run an ls and the create_partitions.sh file is there. What gives?
[Other TouchPad Development] Shiggity:
I'm glad I'm not the only one having this issue. JSchafer817, what's going on? I have all setup properly. Dev mode etc.

Also, it's not a matter of my TP having too little space for the partitioning to take place, as it would complain of no space left on device, and I have around 12 GB free (I have some videos on there I'm watching as time allows).

Also also, I dunno if this would make this not work but I'm full time overclocked to 1.8 GHz (on both cores) using the F4 Phantom kernel using the On Demand CPU Frequency setting. Other than that yeah I meet all the requirements for this to work.

Another thing I'd like to suggest is could someone that's been successful with this post the proper individual manual command line arguments to get the partitioning done since the script seems borked? That's a solution I would think.
[Other TouchPad Development] chris5s:
How about going back to the original install procedure, where we just have UT instead of Android, no extra partitioning needed for dual, triple, quadruple (!) boot?

It would simplify things immensely, and after all, anyone considering this as an option would have the know how to make backups etc to restore past Android installations if things werent to their liking?

Just my thoughts...

Thanks again for the continued development of this rom.

Peace
[Other TouchPad Development] Shiggity:
I actually only have webOS on my TP at the moment. I like the idea of a native non HP Linux OS running on it, and I'd really like to see how far it's come, and see if I can make use of it as a semi-daily driver.
[Other TouchPad Development] jasonpeinko:
There is windows control characters at the end of each line in the file. Try this version: https://dl.dropboxusercontent.com/u/496801/xda/create_partitions.sh
[Other TouchPad Development] Shiggity:
ALL OF MY YES! Thanks!!!! It's working!
[Other TouchPad Development] Flandro:
Lucky. It didn't change anything for me.

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

Thanks, but it didn't help me. Any other ideas?

---------- Post added at 07:06 PM ---------- Previous post was at 06:58 PM ----------

So this may give some insight into what I'm doing wrong, it may not. But you said in your instructions to "ownload all three files and put them on your sdcard in adnroid, reboot into webos." Did you mean, just put them on the root of the sd card? That's what I did so when I ran the first command, it told me that /media/internal didn't exist. the "media" folder existed, but no "internal" directory. So I created an internal folder and put the .sh file in there. Now the first command works copying it to /tmp. In Novacom I can cd to /tmp, I can ls and see the .sh file in that directory, but the script errors out when I run it. I tried both .sh files provided in this thread. Shiggity, what did you do differently this time?
[Other TouchPad Development] Shiggity:
Nothing actually. I just ran the modded script and it worked a charm.
[Other TouchPad Development] Flandro:
Damn. Maybe explain to me how you got the modded script onto your touchpad. IE were you in webos? did you drop it into /media/internal? When you first started this whole thing, did you already have a /media/internal directory? I didn't. I only had /media and /media/audio. Any advice?
[Other TouchPad Development] Shiggity:
Yeah I had /media/internal already. I booted into webOS, put the TP into USB mode, and I copied the files over (the sh, the UT zip, and CM 10.1). If you're having issues I suggest booting to webOS recovery and webOS Doctoring to 3.0.0 and wait for it to boot up to the language select/setup screen, and then reboot it to recovery again and doctor to 3.0.5 so you're up to date. Refer to webos-internals.org for detail on how to do that, even Google it.

Then I did:

cp /media/internal/create_partitions.sh /tmp

sh /tmp/create_partitions.sh

and it magically allowed me to answer the proper questions needed to get the partitioning done.
[Other TouchPad Development] Flandro:
I'll give it a whirl. Thanks.
[Other TouchPad Development] Shiggity:
New issues though:

moboot shows webOS, CWM and UT boot choices, but I don't see a CM10. I just reinstalled CM10 to see if that makes a difference.

EDIT: I installed CM10.1 via ACMEInstaller3 and the option showed up finally.
[Other TouchPad Development] Flandro:
That's going to wipe out my android and moboot and cwm recovery, right?