yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] bizcuite:
http://pastebin.com/7G3K072J

<4>I/InputReader( 1298): Device reconfigured: id=2, name='ADS784x Touchscreen', surface size is now 480x854, mode is 1

After modification:

http://pastebin.com/hthCm3Hf

<4>I/InputReader( 1298): Device reconfigured: id=2, name='ADS784x Touchscreen', surface size is now 480x854, mode is 3

There is a difference between 2 logs, but i don't know if the TS works well, can say me if it's ok?

Any change with TS?

Bizcuite
[Gen8 Android Development] astromid:
Yes, at first moment TS work as TS, but after changing and reboot TS worked as point-like cursor
[Gen8 Android Development] bizcuite:
Can you retry with this option please?

With a logcat after each reboot it will be great!!

adb shell
cd /system/usr/idc
cp ./ADS784x_Touchscreen.idc ./ADS784x_Touchscreen.idc_save
rm ./ADS784x_Touchscreen.idc
touch ./ADS784x_Touchscreen.idc
echo "touch.deviceType = [B]touchPad[/B]" >> /system/usr/idc/ADS784x_Touchscreen.idc

I want to try with Touchpad option

cat ./ADS784x_Touchscreen.idc => to verify.

Thanks again!! :D

EDIT: i have tried with the goodix touchscreen to have a touchPad, and i have a screen with a strange size:

name='goodix-gt801', surface size is now 7681x5121, mode is 2

1080p is really an old protocole :D....i need a calibration for your touchscreen i think. I will have the answer after your test ^^

EDIT 2: Another test:

adb shell
cd /system/usr/idc
cp ./ADS784x_Touchscreen.idc ./ADS784x_Touchscreen.idc_save
rm ./ADS784x_Touchscreen.idc
touch ./ADS784x_Touchscreen.idc
echo "touch.deviceType = touchScreen \ntouch.gesture = pointer" >> /system/usr/idc/ADS784x_Touchscreen.idc

adb shell
cd /system/usr/idc
cp ./ADS784x_Touchscreen.idc ./ADS784x_Touchscreen.idc_save
rm ./ADS784x_Touchscreen.idc
touch ./ADS784x_Touchscreen.idc
echo "touch.deviceType = touchPad \ntouch.gesture = pointer" >> /system/usr/idc/ADS784x_Touchscreen.idc

Bizcuite
[Gen8 Android Development] bizcuite:
Can you try this after please?

I have include a attachments with tools for calibrate your TS

How push the files

-copy the files directly in your adb folder

adb push ./init.rc /init.rc

adb push ./ADS784x_Touchscreen.idc /system/usr/idc/ADS784x_Touchscreen.idc

adb push ./apply_calibration.sh /system/xbin/apply_calibration.sh

adb push ./TSCalibrator.apk /system/app/TSCalibrator.apk

And reboot or adb shell reboot if you haven't theTS working.

All files comes from OPENAOSwebsite, thanks to them (Illifant and Divx118)

Many thanks to allA43 users!!

Bizcuite
[Gen8 Android Development] astromid:
First test: after reboot TS didn't work at all

Second test: TS work as TS with offset(wrong calibration)

Third test: TS didn't work at all

Logs attached

P.S. What is more comfortable for you: pastebin service or attaching txt's into post?
[Gen8 Android Development] bizcuite:
Pastebin or attachment is sameforme :)

First test like me, you have a strange size of screen:

Device reconfigured: id=2, name='ADS784x Touchscreen', surface size is now 4096x4096, mode is 2

Second test,ok not caliber:

Device reconfigured: id=2, name='ADS784x Touchscreen', surface size is now 480x854, mode is 1

Third test, like the first, touchpad is not known correctly:

<4>I/InputReader( 1299): Device reconfigured: id=2, name='ADS784x Touchscreen', surface size is now 4096x4096, mode is 2

TouchScreen is the option to select but i must find away to calibrate your TS.

Have you tried the 4th test?

Bizcuite
[Gen8 Android Development] astromid:
Yes, I have, but after reboot TSCalibrator.apk didn't start. I don't know how start it directly from adb so I've searhed but did't find any working method(
[Gen8 Android Development] bizcuite:
I have forgotten to say you that you must apply the good rights.

Try

adb shell

chmod 0777 /system/xbin/apply_calibration.sh

chmod 0755 /system/app/TSCalibrator.apk

And reboot.

Try to start an apk with 'am start' command

Bizcuite
[Gen8 Android Development] astromid:
Didn't work, nothing after reboot. Trying from adb:

mid@mid-Pavilion:~$ adb shell
root@android:/ # am start TSCalibrator.apk
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=TSCalibrator.apk }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=TSCalibrator.apk }

P.S. I've read at StackOverflow that I'm need MainActivity name: http://stackoverflow.com/questions/6109234/how-to-run-not-only-install-an-android-application-using-apk-file

EDIT:

I've unpacked AndroidManifest.xml from TSCalibrator.apk with apktool, so now I know activity name: .CalibrationTest

But when I use

adb shell am start -a android.intent.action.MAIN -n org.openaos.tscalibrator/.CalibrationTest

it starts and I get TouchScreen Calibration FC(force close). What I did wrong? Maybe this apk don't work in ICS?
[Gen8 Android Development] Mavasilisk:
Biz, the problem that 70S has with 128 dpi is not the apps in PlayStore. The problem is the image is pixelerated. We can live with it. ^^
[Gen8 Android Development] bizcuite:
You are the best ;)

Yes i think that calibration app is not compatible or useless.

i will try with you different idc files to calibrate the TS.

I have found a page on OPENAOS who speak about your TS and gives lots of informations about calibration (the idea to use this files comes from this website).

I have values, but i must compare its with values in the code and adapts its.

From OPENAOS

touch.5pointcalib.xscale = 0.207832898
touch.5pointcalib.xymix = 0
touch.5pointcalib.xoffset = -24.934986945
touch.5pointcalib.yxmix = 0
touch.5pointcalib.yscale = 0.132637076
touch.5pointcalib.yoffset = -30.497127937

Screen coordinates are calculated as

Xscreen = xscale * Xtouch + xymix * Ytouch + xoffset
Yscreen = yxmix * Xtouch + yscale * Ytouch + yoffset

I will see this tomorrow, have you got times for me tomorrow?!

Ok, i hope,because i will not the guy who will resize all the images of CM9 :silly:

It must have another way, but it's really not my priority ;) .

Bizcuite
[Gen8 Android Development] astromid:
Yes, I have time at the evening tomorrow) Thank you for your help
[Gen8 Android Development] mclama:
kernel problem

Hi, when i downloaded kernel, renamed it to zImage and then booted tablet into sde menu and chosen "flash kernel, initframz", window pop, i drag n drop zimage file there, then i press power (ok) button. It says me Kernel (zImage) not found.

Whats the problem?

PS : on my pc, i cant open zip archive with kernel. I tried it with ubuntu and win7.

PS 2 : I recently used urukdroid 1.6
[Gen8 Android Development] Bingoig11:
You have to copy initramfs also.

Sent from Asylumed Note
[Gen8 Android Development] mclama:
That happens when I try to copy kernel. Then I press "cancel" and my archos will say me, there is no kernel image
[Gen8 Android Development] bizcuite:
Please, read this!!!!

http://askabouttech.com/how-to-show-file-extension-in-windows-7/

And after read this, from Mava support thread, in Gen8 general section:

I have just read, and I know that there are file extensions in this f*cking world :crying: my bad...... ;)

I will update the first page for users who don't know where see file extensions.

And please, resize your screenshot before upload :)

Bizcuite
[Gen8 Android Development] bizcuite:
See this:

http://sourceforge.net/p/ipaq214android/android/ci/54a6fa53224ddd033728ab8423475e1f4108e3cb/tree/ipaq214/wm97xx-touchscreen.idc#l26

http://sourceforge.net/p/ipaq214android/android/ci/54a6fa53224ddd033728ab8423475e1f4108e3cb/tree/patches/frameworks-base.patch#l90

It's for CM7, but i have modified the code to adapt it to CM9. It's similar than Illifant code, but the code is activated by idc file not by an option when i compile.

I must recompile the ROM this evening with changes and upload a new version for A43.

It must work this evening, if i am right.

Bizcuite
[Gen8 Android Development] mclama:
Thanks bizcutie, it helped me and now I have all things (rom, gapps) installed and working, but i have another problem. I searched for some info and i found that when usb host (usb flash disk) is not working, its normal so its not the problem, but the problem is that i can mount storage on my PC (again, tried with w7 and latest ubuntu). When i turn tablet back to stock rom, I can mount it without problems.

Thnaks for help many times,

Mclama.
[Gen8 Android Development] bizcuite:
If you speak about internal storage it's normal. You cannot mount the partition who contains the image file.

If you have an hdd version. No way to share it atm.

Bizcuite
[Gen8 Android Development] astromid:
Ok, waiting) I've downloaded TSCalibrator sources from openAOS's Gitorious and tried to recompile it with 4.0.3 SDK, but it FC anyway(

Parallel with it I've done build.prop tests: with original prop file I have SystemUI FCs, but it work normaly with any other prop file(build_160, build_qemu, build_qemu_160). Plus I activate soft buttons(change to "qemu.hw.mainkeys = 0") and change density to 195 - now it look as stock Archos android(I meen interface size) - with 160 interface elements are too small.

Sorry for bad English -_-

EDIT: Hm, I have an idea: how I've seen in apply_calibration.sh, it takes patched *.idc file from calibrator data folder. So I can install final Degu(CM7) release, calibrate TS, take right idc file and put it in your rom, shall it work?)
[Gen8 Android Development] bizcuite:
Don't lose your time with build.prop, it was a test to have soft buttons without DPI dependence.

About the problem of calibration,i start from beginning .

The IDC file generate by the apply_calibration.sh is useless, because i use others parameters to have the same effect.

I have already make the idc file, and think finish this evening the ROM

becaaaaause :) i have a good result after have worked a little on the code:

<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>I/InputReader( 2078): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 2078): x_orig = 287.829193, y_orig = 211.364975
<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>I/InputReader( 2078): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 2078): x_orig = 286.362732, y_orig = 211.013474
<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>I/InputReader( 2078): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 2078): x_orig = 287.162628, y_orig = 210.076157
<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>I/InputReader( 2078): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 2078): x_orig = 287.162628, y_orig = 209.490341
<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>I/InputReader( 2078): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 2078): x_orig = 0.000000, y_orig = 0.000000
<4>I/InputReader( 2078): E_I am 5PT CALIBRATION_E
<4>D/ShutdownThread( 2078): Notifying thread to start shutdown longPressBehavior=1
<4>I/ALSAModule( 2059): open called for devices 00000002 in mode 0...

When i touch the screen, the calibration starts :)

B and E letters are the differents stepsin the code, E is "do nothing" :)

And now with Calibration activated,it works :D, i have an offset with my screen:

C and B letters are the parts of code who calibrates the TS :good:

<4>I/InputReader( 1530): C x_orig = 101.320145, y_orig = 584.299927
<4>I/InputReader( 1530): C x_temp = 760.000000, y_temp = 4987.000000
<4>I/InputReader( 1530): C_I am 5PT CALIBRATION_C
<4>I/InputReader( 1530): C x_calibrate = 133.018021, y_calibrate = 630.963928
<4>I/InputReader( 1530): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 1530): C x_orig = 100.653564, y_orig = 584.299927
<4>I/InputReader( 1530): C x_temp = 755.000000, y_temp = 4987.000000
<4>I/InputReader( 1530): C_I am 5PT CALIBRATION_C
<4>I/InputReader( 1530): C x_calibrate = 131.978867, y_calibrate = 630.963928
<4>I/InputReader( 1530): B_I am 5PT CALIBRATION_B
<4>I/InputReader( 1530): C x_orig = 101.720093, y_orig = 584.299927

I upload the ROM for A43, i must see if the calibration is correct ;)

TS for A43 is nearly fix!!

Bizcuite

PS my english is not better ;)
[Gen8 Android Development] bizcuite:
FOR A43 ONLY TO HAVE A CORRECT TOUCHSCREEN

http://www.mediafire.com/download.php?mjwdxqxaah1w3wr

I have a bug: i must reboot after the first boot to have access to my data image!

After the first boot, REBOOT please!

How configure the offset:

Go to /system/usr/idc/

open this file with a text editor ADS784x_Touchscreen.idc

And change values:

touch.touchPosition.xscale = 0.207832898

touch.touchPosition.xymix = 0

touch.touchPosition.xoffset = -24.934986945

touch.touchPosition.yxmix = 0

touch.touchPosition.yscale = 0.132637076

touch.touchPosition.yoffset = -30.497127937

But i have a doubt about x offset....y offset works well!

Bizcuite
[Gen8 Android Development] Ranomez:
Could someone please tell me if there is any way to mount and edit the image under windows or directly in android, cause i did some "tweaks" that made my tab bootloop and didn't backup the image before, or can if not at least tell me how to mount it under linux please, I was mainly trying to make it so that apps that try to mount system as rw no more give me the error and i failed badly......but i know what to delete if i can mount the image somehow, thank you for any help.

EDIT: Nvm that, I managed to remember the command, the only thing i was forgeting was the "-o loop" but now that i managed to edit my img file i still have no ideea how to make apps that try to mount system rw work, even superuser fails to update binary cause of that....

Also a new question: on stock android on the tab and cm7 and urukdroid i am using some methods to mount several folders from the external sdcard to the internal memory (I want to mount the gameloft folder and make gameloft games work even if the files are on the external sdcard and not the internal memory) and i have tryed to do that in this great rom but all methods i found just failed (perhaps an incomplete busybox or i have no ideea?) so my question is how can i mount folders from the external sd card to the internal storage while in ics?
[Gen8 Android Development] astromid:
Calibration app working, but at the first blush offset didn't change, I will do more tests tomorrow
[Gen8 Android Development] bizcuite:
Virtual machine for windows under linux.

mount -o loop /path of your cm9 image file /mnt

But maybe do you want only make a link by ln command? It cannot work with microsoft partitions (fat ntfs)

have you tried to change the values of x and y axes.

Does it work well? Really? :D

You are my only way to know if it works.

Edit: Also, can you make me a picture to see where is the offset without any calibration please, maybe i can help you to find the good values.

Bizcuite
[Gen8 Android Development] Bingoig11:
Just reinstalled my 101 as I destroyed it by performing several modifications that caused bootloops even after re-copying openaos-cm.img

I changed my wifi authentication to 802.1x EAP-TLS and after installing certificates on the device, it works like a charm.
[Gen8 Android Development] someone755:
I get a bootloop when installing the 2.3 BETA...

Installed everything, updated the menu.lst, new data img, new initramfs and zimage aswell...

Bootloop, and after waiting for 30 minutes, I shut the tab down. But now it won't even boot! D:

Had ~80% of battery left, any ideas?
[Gen8 Android Development] bizcuite:
Logcat please :D

EDIT: the most often you have a bootloop when you have your system image file full (data is not in data_ICS.img but in Cyanobiz image.). Try to reinstall your system image file with a new clean.

Bizcuite
[Gen8 Android Development] someone755:
Thanks, but it seems like plugging it in and rebooting fixed it...

Weird how the system now says that the battery was on 20%...
[Gen8 Android Development] astromid:
Yes, I've tried to change values, but it hadn't helped me( I've aslo tried to take numbers from /data/data/org.openaos.tscalibrator/files idc file.

Also, I need to say that offset is strange - in the center offset is small, but near borders of screen it being bigger and bigger. I will do pictures some time later.
[Gen8 Android Development] bizcuite:
Ok, i hope that it's an offset. because your screen size is good.

Can you share me a logcat, when you touch and drag your finger on the screen in the upper left corner to the downer right corner.

To see if there is a "logic" with the result.

My origin (0 value) for x and y is in the corner upper left.

The value is in pixel if i am right (max value for me 1024x600)

See my attachment

Bizcuite
[Gen8 Android Development] Ranomez:
I have been using this rom for a few days already and i can say the curent version works incredibly good, it is the only rom not based on stock for my tab that can really play all the gameloft games and also gta and the others that work in the stock rom and stock based roms , and it can even play some 3d games the stock rom can't play, and also the overal performance of the tab is even better than the one of some tabs that come with ics as stock, some lag here and there cause of the apps that keep starting themselves, but that is an ever lasting android problem, I even find myself out of ram on my phone so I have found the apps that can help me, but there is something that may be a problem only I have or everyone has so i want to ask first: for me the folder /sdcard is a folder in the system image and not an mount point for the internal memorry or external sdcard so I had to find a way to mount the external sdcard contents to it, and by searching nothing came out about that so I was wondering if it is just me or it is made that way, or it should mount the external sdcard to that point and it didn't do it for me?

As for other things I couldn't really see other problems except the fact that if the play store updates many apps are missing so I made it stop updateing, and also the latest play store is very laggy and the problem about mounting system as rw, this is a great rom allready and as I've seen it is geting better and better, so thank you for makeing this possible.
[Gen8 Android Development] bizcuite:
^^ GPU drivers update with last version, and the next will have libs from samsung i9003.

And my swapfile?? :)

You can used "seeder" application from XDA (make a search in my thread about this app)

Have you triedto makechange in fstab file?

just invert the name of the mount point ;) :

dev_mount emmc /mnt/storage 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0/mmc0:0001/block/mmcblk1

dev_mount sd_ext /mnt/sdcard auto SDCARD=/dev/block/mmcblk2

Which pb with playstore? Not laggy for me, and no problem with update, except when the tab pass in sleep mode, but this problem cannot be solved (no driver sources).

I don't understand the problem with system mount as rw?

No problem, just tick thanks button ;)

Can you share me the logcat with and without calibration activated please. (to deactivated just erase 5pt in idc file).

Bizcuite
[Gen8 Android Development] Ranomez:
Well for me when the play store gets updated to version 4.x it becomes laggy and I can't see many apps, also as I sayd allready when I try to mount system from terminal as rw or any app that tryes that gives me the error: "mount: can't find /system in /proc/mounts"

Also I made a swap file already of 512mb cause on lower apps would sometimes crash, now the tab is a bit laggy, but not too bad, I can live with it, and I am also using a ram booster script I also use on my phone (a script to stop apps from starting like crazy as they usually do), will try what you told me to do, but later cause my tab is charging now, thank you.

EDIT: Actually I am having lag cause the swap file is not mounted on boot, I did all the steps you sayd, but nvm, I'l just use SManager as I am already using it for some other scripts that I want to run at boot, lol, now I have really close to no lag, in the last 30 mins i had lag only once in a game and it was a 1-sec lag, sorry for that, but also it seems that at least for me the swap on the storage is not mounting at boot, or it shouldn't, cause i no more understand?
[Gen8 Android Development] Bingoig11:
Just to give an information.

Tried Nova launcher to replace Trebuchet on the tab since was really great on my Galaxy Note.

On the tab it's blazing fast and smooth I love it!!!

Sent from my Cyanobiz Archos 101
[Gen8 Android Development] astromid:
Biz, problem solved) Now TS working well! I don't know, why it didn't work at first attempt, but I've start calibration app and get numbers from /data/data/org.openaos.tscalibrator/files/ADS784x Touchscreen.idc file, then I paste that numbers in /system/usr/idc/ file, reboot, and now its working right, without any offset.

So one question: how I can remove TSCalibrator from autostart?

Thank you for helping with this problem)
[Gen8 Android Development] bizcuite:
I don't understand this point:

How do you mount the /system path (and why mount it)?

I haven't any error with apps....

To have swap file activated just copy and paste commands from first page to have swap, in a new file.

Save it in /system/xbin/

For exemple name it: swap_file.sh

Under Windows use notepad++ to create the file

And add a line at the end of init.rc:

exec /system/xbin/sh /system/xbin/swap_file.sh

save reboot and verify with cat /proc/swaps command if the swap is active.

But i have a doubt that is work,may be i must include a sleep function when the file is created.

Bizcuite
[Gen8 Android Development] Ranomez:
For me entering in terminal the command: "mount -o remount,rw /system" gives error: "mount: can't find system in /proc/mounts" and so do all the apps that try to mount system as rw so I can't install xposed framework and many other great things, also I don't know if this is a known issue but for me entering themes in settings crashes the settings app, I also tryed redownloading and reinstalling and even with other browsers and still same thing.
[Gen8 Android Development] bizcuite:
Ok I don't think that it's possible to use those softwares because I think it try to mount the real /system path like stock firmware, not the 'fake' used here. In stock it must exist system mount point in proc/mounts

Astromid have you tried to make logcats please?

Bizcuite
[Gen8 Android Development] bizcuite:
I haven't seen your post!! Cooooool it works!

Can you share me the values in idc files please?

I haven't add an auto start for tscalibrator.

Bizcuite
[Gen8 Android Development] astromid:
Hmm...TSCalibrator starts every boot after unlocking tablet..

Working idc attached( idc -> txt)
[Gen8 Android Development] xdroidify:
A101

Works like a charm on A101, toke me a long time to understand your explanation by the way. :good:
[Gen8 Android Development] bizcuite:
I have found a bug with touchscreen with the A43 test version. The calibration gives always the same values for x and y when you turn the tab (only landscape mode works).

But i know how solve it. :)

xdroidify, can you explain me this? HoneyComb?? WTF?? ;)

PS: i try to include into the code a part of Paranoidandroid.....I try :)

Bizcuite
[Gen8 Android Development] Mavasilisk:
Good idea. This way we can increase the size of the combined bar and per-app DPI without losing tablet mode on A70S.
[Gen8 Android Development] bizcuite:
Anyone has already try firefox os?

It based on android, and there is a pandaboard build exists... our ics is based on omap like pandaboard....

... :rolleyes: ....just an idea .... ;)

Bizcuite
[Gen8 Android Development] minidou-77:
I tried it about a year ago on my phone when it was still called Boot2gecko and it was really smooth but way too limited (don't know about today)
[Gen8 Android Development] bizcuite:
I had read that there is the android market on it... i have dreamed?

Compatibility inside??

Bizcuite
[Gen8 Android Development] minidou-77:
I'm afraid not

AFAIK firefox os is not based on cm (but Ubuntu touch is) and everything is made of html5 so maybe a dalvik vm is being made by a dev somewhere but it really doubt that a port of the play store is coming any soon
[Gen8 Android Development] someone755:
Wait, you're saying we can get a stable new OS?

I'll gladly beta test anything :D